Forum Discussion
Altera_Forum
Honored Contributor
17 years agoThank you for remembering the Tcl option. Brad recently showed how this technique can be utilized to set Verilog `defines: http://www.alteraforum.com/forum/showthread.php?t=1996
However, there seems to be no similar option for VHDL designs. This means, to create VHDL conditional defines, CONSTANT values, that can be evaluated in GENERATE statements from a Tcl script, you have to produce a VHDL file, that must be included in the project. Not very smart, but straightforward. It's still a question to me, why the FAMILY global assignment (et al) isn't accessible somehow directly from HDL code.