Closed nayiri-k closed 3 years ago
Which simulator?
Bugs should be reported on the OpenRAM github: https://github.com/VLSIDA/OpenRAM
Simulating with Synopsys VCS. But the issue is referencing a variable before declaring it, which should just never be done. I'll move this issue to the OpenRAM github, thanks!
Thanks. It's interesting that the open source simulators don't complain about this...
I'm trying to use the verilog files, but I encounter an error during RTL simulation. It seems the
mem
variable is used before it is declared (via this declaration:reg [DATA_WIDTH-1:0] mem [0:RAM_DEPTH-1];
). Moving this declaration beforemem
is referenced resolved the error in my simulation.