Forum Discussion
Altera_Forum
Honored Contributor
14 years agoIf you have generics on your top-level entity, they can be set in Quartus using Tcl commands. For example, a design with a timestamp and version register can have the contents defined via
# Build timestamp# - Tcl returns the same as
set timestamp
puts " - Build timestamp ($timestamp 0x)"
# Version (integer format)
set version
# Generics
set_parameter -name VERSION $version
set_parameter -name TIMESTAMP $timestamp
Cheers, Dave