ModelSim can be downloaded in different ways. It is included in Lattice-diamond, and in lattice radiant. On ubuntu with radiant is not working because I miss a library, so I use a docker to run modelsim with lattice diamond. Repository, the script run-vsim launch ModelSim Lattice version.
The steps are:
- Create the project with Lattice Diamond, and then create a document in ModelSim.
- Compile > Compile all
- The architectures and entities should be in minus
- At the input of an entity the not should be like:
"not"(i_rst)
- Then Run simulation and you can see the wave.
- Be aware that all the timings are expressed in ps.