M
Mark McDougall
Hi,
I'm wondering if there's any way of passing the value of a constant to a
VHDL file from the command-line/project file under Quartus?
I have a constant in a package body that is hard-coded.
eg. constant myConstant : std_logic_vector(7 downto 0) := X"01";
What I'd _like_ to be able to do is something that is often done in
software...
eg. constant myConstant : std_logic_vector(7 downto 0) := $magic$;
....and then build with...
quartus_sh build.bat magic=2
....or there-abouts.
Is this at all possible?
I've read that you can do similar in Quartus with Verilog macros...
Regards,
I'm wondering if there's any way of passing the value of a constant to a
VHDL file from the command-line/project file under Quartus?
I have a constant in a package body that is hard-coded.
eg. constant myConstant : std_logic_vector(7 downto 0) := X"01";
What I'd _like_ to be able to do is something that is often done in
software...
eg. constant myConstant : std_logic_vector(7 downto 0) := $magic$;
....and then build with...
quartus_sh build.bat magic=2
....or there-abouts.
Is this at all possible?
I've read that you can do similar in Quartus with Verilog macros...
Regards,