Skip to content

Commit

Permalink
Reintroduce the Assert calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 23, 2024
1 parent c9c50f4 commit 26ae5a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions rtl/riscv_iommu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -773,11 +773,10 @@ module riscv_iommu #(
.ar_chan_t ( ar_chan_t ),
.r_chan_t ( r_chan_t ),
// AXI request/response
.req_t ( axi_req_t ),
.resp_t ( axi_rsp_t ),
.axi_req_t ( axi_req_t ),
.axi_resp_t ( axi_rsp_t ),
.NoMstPorts ( 2 ), // MRIF supports adds ignoring mechanism
.AxiLookBits ( ID_WIDTH ), // Assuming same value as AXI ID width
.FallThrough ( 1'b0 ),
.SpillAw ( 1'b0 ),
.SpillW ( 1'b0 ),
.SpillB ( 1'b0 ),
Expand Down
2 changes: 1 addition & 1 deletion rtl/software_interface/regmap/rv_iommu_regmap.sv
Original file line number Diff line number Diff line change
Expand Up @@ -3440,6 +3440,6 @@ module rv_iommu_regmap #(
assign unused_be = ^reg_be;

// Assertions for Register Interface
// `ASSERT(en2addrHit, (reg_we || reg_re) |-> $onehot0(addr_hit))
`ASSERT(en2addrHit, (reg_we || reg_re) |-> $onehot0(addr_hit))

endmodule

0 comments on commit 26ae5a8

Please sign in to comment.