mirror of
https://github.com/olofk/serv.git
synced 2026-01-26 19:51:52 +00:00
Add SERV_CLEAR_RAM parameter
This commit is contained in:
@@ -164,6 +164,10 @@ module serv_mpram
|
||||
end
|
||||
|
||||
`ifdef RISCV_FORMAL
|
||||
`define SERV_CLEAR_RAM
|
||||
`endif
|
||||
|
||||
`ifdef SERV_CLEAR_RAM
|
||||
integer i;
|
||||
initial
|
||||
for (i=0;i<256;i=i+1)
|
||||
|
||||
@@ -74,6 +74,10 @@ module serv_regfile
|
||||
end
|
||||
|
||||
`ifdef RISCV_FORMAL
|
||||
`define SERV_CLEAR_RAM
|
||||
`endif
|
||||
|
||||
`ifdef SERV_CLEAR_RAM
|
||||
integer i;
|
||||
initial
|
||||
for (i=0;i<512;i=i+1)
|
||||
|
||||
Reference in New Issue
Block a user