create datestamp on the fly during compilation

This commit is contained in:
Markus Fröschle
2021-07-11 19:37:07 +02:00
parent fab65c7718
commit 523a5f0287
21 changed files with 7772 additions and 7750 deletions

13
FPGA_by_Fredi/precmd.tcl Normal file
View File

@@ -0,0 +1,13 @@
#
# execute each of a list of tcl scripts
#
# meant to be used with the PRE_FLOW_SCRIPT_FILE quartus assignment
# that allows to evaluate a tcl script before analysis starts
set precmd_list { "make_datetime.tcl" }
set script [info script]
foreach item $precmd_list {
post_message "$script: execute $item"
exec quartus_sh -t $item
}