Skip to content

Commit

Permalink
Fix id width
Browse files Browse the repository at this point in the history
  • Loading branch information
thommythomaso committed Oct 24, 2023
1 parent 2236807 commit a5285bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions jobs/jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"DataWidth" : 32,
"AddrWidth" : 32,
"UserWidth" : 1,
"AxiIdWidth" : 1,
"AxiIdWidth" : 12,
"NumAxInFlight" : 3,
"BufferDepth" : 3,
"TFLenWidth" : 32,
Expand Down Expand Up @@ -53,7 +53,7 @@
"DataWidth" : 32,
"AddrWidth" : 32,
"UserWidth" : 1,
"AxiIdWidth" : 1,
"AxiIdWidth" : 12,
"NumAxInFlight" : 3,
"BufferDepth" : 3,
"TFLenWidth" : 32,
Expand Down Expand Up @@ -88,7 +88,7 @@
"DataWidth" : 32,
"AddrWidth" : 32,
"UserWidth" : 1,
"AxiIdWidth" : 1,
"AxiIdWidth" : 12,
"NumAxInFlight" : 3,
"BufferDepth" : 3,
"TFLenWidth" : 32,
Expand All @@ -113,7 +113,7 @@
"DataWidth" : 32,
"AddrWidth" : 32,
"UserWidth" : 1,
"AxiIdWidth" : 1,
"AxiIdWidth" : 12,
"NumAxInFlight" : 3,
"BufferDepth" : 3,
"TFLenWidth" : 32,
Expand Down
1 change: 0 additions & 1 deletion test/idma_test.sv
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,6 @@ package idma_test;
idma.req.opt.src_protocol <= #TA src_protocol;
idma.req.opt.dst_protocol <= #TA dst_protocol;
idma.req.opt.axi_id <= #TA id;
idma.req.opt.dst.prot <= #TA id[2:0];
idma.req.opt.beo.decouple_aw <= #TA decouple_aw;
idma.req.opt.beo.decouple_rw <= #TA decouple_rw;
idma.req.opt.beo.src_max_llen <= #TA src_max_llen;
Expand Down
4 changes: 3 additions & 1 deletion test/tpl/tb_idma_backend.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ module tb_idma_backend_${name_uniqueifier} import idma_pkg::*; #(
%endif
parameter int unsigned AddrWidth = 32,
parameter int unsigned UserWidth = 1,
// ID is currently used to differentiate transfers in testbench. We need to fix this
// eventually.
parameter int unsigned AxiIdWidth = \
% if 'tilelink' in used_protocols:
12,
% else:
1,
12,
% endif
parameter int unsigned TFLenWidth = 32,
parameter int unsigned MemSysDepth = 0,
Expand Down

0 comments on commit a5285bf

Please sign in to comment.