Altera_Forum
Honored Contributor
14 years agoGenerics on the command line
Does anyone know of a way to pass a generic value in to my top-level VHDL design from a command-line build flow? For instance, if my top level file has
Generic (
STAMP : integer
); I'd like some way to pass STAMP = $(date +%s) to quartus_map. Right now I'm calling quartus_sh --tcl_eval to make some set_parameter calls before calling quartus_map, but that seems really really kludgey.