Forum Discussion
Abe
Frequent Contributor
7 years agoYou can turn off optimization using the -novopt switch like below:
vcom -novopt ....
then run the simulation using vsim command.
The other way is to disable optimizatio globally using the Modelsim.ini file in your work folder.
[vsim]
; vopt flow
; Set to turn on automatic optimization of a design.
; Default is on
VoptFlow = 1Change this VoptFlow = 1 to VoptFlow = 0. This will disable optimization for further compiles and simulations. This modelsim.ini file should be modified only for the project , ie, in your source/working directory