Quartus® Prime Pro Edition User Guide: Design Compilation
Visible to Intel only — GUID: mwh1409959859364
Ixiasoft
Visible to Intel only — GUID: mwh1409959859364
Ixiasoft
1.18.1.5. Verilog HDL Macros
To set Verilog HDL macros at the command line for the Quartus® Prime Pro Edition synthesis (quartus_syn) executable, use the following format:
quartus_syn <PROJECT_NAME> --set=VERILOG_MACRO=a=2
This command adds the following new line to the project .qsf file:
set_global_assignment -name VERILOG_MACRO "a=2"
To avoid adding this line to the project .qsf, add this option to the quartus_syn command:
--write_settings_files=off