Source=<source file, Update_wysiwyg_parameters, Verilog_macro=<none – Altera Quartus II Scripting User Manual
Page 75
Chapter 2: Command-line Executables
2–49
quartus_map
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
--source=<source file>
Option to use the specified source file. Add only one source file per tag. For multiple source files, use
"--source=file1 --source=file2".
If you specify a relative path, the path must be relative to the project directory.
--state_machine_encoding=<auto|minimal_bits|one_hot|user_encoded>
Option to set the state machine processing style used to compile a state machine.
The following table displays available values:
--update_wysiwyg_parameters
Option to update, when possible, the parameters of a changed WYSIWYG PLL or CDR primitive in the
Compiler netlists. This option assumes that the previous compilation was successful.
When you use this option, the quartus_map executable gives a message stating the next executable you
need to run in order to complete a compilation, quartus_fit or quartus_asm. If it is not possible to update
the parameters, the quartus_map executable runs normally and gives a message that you need to run
quartus_fit.
When you use this option, all assignment changes you made since the last compilation are lost.
--verilog_macro=<NONE>
Option to set a Verilog macro. Use the following format:
--verilog_macro="my_macro=2"
--verilog_macro="SUM(a,b)=(a+b)"
--verilog_macro="my_str_macro=\"string2\""
Those are equivalent to the following `define statements:
`define my_macro 2
`define SUM(a,b) (a+b)
`define my_str_macro "string2"
Value
Description
auto
Allows Analysis & Synthesis to choose the best encoding for the state machine.
minimal_bits
Uses the minimal number of bits to encode the state machine.
one_hot
Encodes the state machine in the one-hot style.
user_encoded
Encodes the state machine in the manner specified by the user.