mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor update
This commit is contained in:
parent
a62e651b02
commit
724cb40849
1 changed files with 3 additions and 1 deletions
|
@ -54,6 +54,8 @@ module VX_dp_ram #(
|
|||
`UNUSED_PARAM (RW_ASSERT)
|
||||
`UNUSED_VAR (read)
|
||||
|
||||
`RUNTIME_ASSERT(~write || (| wren), ("invalid write enable mask"));
|
||||
|
||||
`ifdef SYNTHESIS
|
||||
if (WRENW > 1) begin
|
||||
`ifdef QUARTUS
|
||||
|
@ -310,7 +312,7 @@ module VX_dp_ram #(
|
|||
end else begin
|
||||
assign rdata = (prev_write && (prev_waddr == raddr)) ? prev_data : ram[raddr];
|
||||
if (RW_ASSERT) begin
|
||||
`RUNTIME_ASSERT (~read || (rdata == ram[raddr]), ("read after write mismatch"));
|
||||
`RUNTIME_ASSERT(~read || (rdata == ram[raddr]), ("read after write mismatch"));
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue