Skip to content

Commit

Permalink
[sim_sram] Fix connections to TLUL adapter and SRAM
Browse files Browse the repository at this point in the history
Both modules have missing unused connections, add them

Signed-off-by: Robert Schilling <[email protected]>
  • Loading branch information
Razer6 authored and rswarbrick committed Jan 10, 2025
1 parent 3f4ce02 commit 8be56e7
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions hw/dv/sv/sim_sram/sim_sram.sv
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,16 @@ module sim_sram #(
.tl_i(tl_in_i),
.tl_o(tl_in_o),

.en_ifetch_i (prim_mubi_pkg::MuBi4False),
.req_o (sram_req),
.req_type_o (),
.gnt_i (1'b1),
.we_o (sram_we),
.addr_o (sram_addr),
.wdata_o (sram_wdata),
.wmask_o (sram_wmask),
.intg_error_o (),
.user_rsvd_o (),
.rdata_i (sram_rdata),
.rvalid_i (sram_rvalid),
.rerror_i (2'b00),
Expand All @@ -94,12 +98,14 @@ module sim_sram #(
) u_sram (
.clk_i,
.rst_ni,
.req_i (sram_req),
.write_i(sram_we),
.addr_i (sram_addr),
.wdata_i(sram_wdata),
.wmask_i(sram_wmask),
.rdata_o(sram_rdata)
.cfg_i ('0),
.cfg_rsp_o (),
.req_i (sram_req),
.write_i (sram_we),
.addr_i (sram_addr),
.wdata_i (sram_wdata),
.wmask_i (sram_wmask),
.rdata_o (sram_rdata)
);

// Valid data from the SRAM appears 1 cycle after the sram_req.
Expand Down

0 comments on commit 8be56e7

Please sign in to comment.