e203_hbirdv2 icon indicating copy to clipboard operation
e203_hbirdv2 copied to clipboard

Problem with Modelsim simulation

Open liuguangxi opened this issue 3 years ago • 0 comments

I found there are some minor bugs when build simulation using Modelsim:

(1) In the file e203_soc_top.v `include "e203_defines.v" was omitted in the very begin, which caused definitions of macros missing in the codes.

(2) In the file tb_top.v line 270: $readmemh({testcase, ".verilog"}, itcm_mem); Seems #0 would be added in the beginning: #0 $readmemh({testcase, ".verilog"}, itcm_mem); or there may exists race hazard with $value$plusargs statement.

liuguangxi avatar Apr 06 '21 12:04 liuguangxi