mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-02 14:16:28 -04:00
Change UDS address to three bits to match input port connection 'addr'
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
bbde62d3f5
commit
f364b523cf
2 changed files with 8 additions and 17 deletions
|
@ -115,7 +115,7 @@ module application_fpga(
|
|||
/* verilator lint_off UNOPTFLAT */
|
||||
reg uds_cs;
|
||||
/* verilator lint_on UNOPTFLAT */
|
||||
reg [7 : 0] uds_address;
|
||||
reg [2 : 0] uds_address;
|
||||
wire [31 : 0] uds_read_data;
|
||||
wire uds_ready;
|
||||
|
||||
|
@ -404,7 +404,7 @@ module application_fpga(
|
|||
timer_write_data = cpu_wdata;
|
||||
|
||||
uds_cs = 1'h0;
|
||||
uds_address = cpu_addr[9 : 2];
|
||||
uds_address = cpu_addr[4 : 2];
|
||||
|
||||
uart_cs = 1'h0;
|
||||
uart_we = |cpu_wstrb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue