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 authored and maicolciani committed Jul 31, 2024
1 parent de1f4fe commit 41da12d
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 @@ -774,11 +774,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 @@ -3545,6 +3545,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 41da12d

Please sign in to comment.