Intel: How do I get the SystemVerilog 'define constants to be recognized correctly throughout my ModelSim® project?

simulation

Category: Simulation
Tools: ModelSim®
device:-


To make ModelSim® recognize 'define constants, do the following:

If you are creating a ModelSim project

  1. Select the source file you want to specify 'define from the Project window, right click and open the property
  2. Select the Verilog & SystemVerilog tab and click Macro... in Other Verilog Options
  3. Register individually in the Define Macro window

 
If you are using Quartus® Prime NativeLink

  1. From the Tool bar of ModelSim, select Compile ⇒ Compile Options...
  2. Select the Verilog & SystemVerilog tab and click Macro... in Other Verilog Options
  3. Register individually in the Define Macro window

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.