The error was reported today when the client used Modelsim fully automated simulation of the DDR SDRAM controller. I began to wonder if lattice software is too garbage, and there are weird problems. Tossing a night, found that I wronged the lattice, in fact, is the problem of Modelsim. I use the modelsim10.2, the error is like. A long time ago, a certain version will not be error, will only prompt warming.
So how do we solve this problem? First you need to know that this is not a mistake, you avoid it, let the simulation run up on it. Modify the script to run.
The script compilation instructions before the modification are
Vlog-novopt +define+no_debug+sim \
The modified script compilation instructions are
Vlog-novopt -suppress 2902 +define+no_debug+sim \
The reader will ask how it came about and why did it have to be added? You see the error of the newspaper, it said vlog-2902, but in fact it is not wrong, so you are equivalent to the same command suppress 2902 to ignore him. So I changed him to Vlog-novopt-suppress 2902 +define+no_debug+sim.
If you have any questions, please contact qq:825972925
Modelsim full automation Simulation Diamond's DDR SDRAM controller error