Closed ghost closed 4 years ago
Thanks for bringing it up to our attention. I have updated the Verilog model.
Thanks for your quick response. Unfortunately, the new verilog model still doesn't work...
In the generated verilog model, the value of ack will be changed when one of the three "always" events occurs, but all the events are related to the edge of itself. Moreover, ack does not have an initial value. Verilog simulators, such as VCS or Questasim, will consider the initial value of ack as "X" and no "always" event will be executed, I think.
Could you give me a sample of testbench for the SRAM Verilog model for reference?
I have updated the Verilog model. Attached is a sample testbench for data_width = 16bit and addr_width=4bit
I am interested in the AMC, and tried it yesterday. However, it seemed that there are some errors in the verilog model file which is generated from compiler/base/verilog.py.