Altera_Forum
Honored Contributor
7 years agoGetting the PRE_FLOW_SCRIPT_FILE thing to work
Folks,
I have been trying to get a tcl script to run before compile to no avail. I have a tcl script to create a vhd file with the build date and time in it, gleaned from the examples on the net. I can run this script from the tcl cmd line in qts (15.1). The tcl file runs and creates the correct vhd file contents. I put this in the projects qsf file: set_global_assignment -name PRE_FLOW_SCRIPT_FILE "quartus_sh:build_date.tcl" build_date.tcl resides in the projects root dir, ext to the .qsf file When I initiate a build, I dont see it running I tried entering this command manually at the tcl command line in qts as well - still does not get run. Questions: Where is the build_date.tcl file supposed to be placed? when does the .qsf file get read? How do I debug this? Thanks, Ed