Forum Discussion
Altera_Forum
Honored Contributor
8 years agoPassing parameter/generic to the top level in Quartus/tcl?
I'm trying to pass a git sha1 as a parameter to the top level in Quartus tcl I added a source probe: gits
u_gits
(.probe (160'habbaface000000000000000000000000acdcba...
Altera_Forum
Honored Contributor
8 years agoIt's not difficult to generate rtl code, but to me it's much simpler to put
set_parameter -name GIT_SHA1 160'h$sha1
into my build script. It's actually already there. It just doesn't work. I already have the same structure in my other scripts for simulation and build for other vendors.