We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 013c236 commit bbc11ffCopy full SHA for bbc11ff
projects/test_marble_family/marble.tcl
@@ -52,7 +52,7 @@ set_property verilog_define [list "CHIP_FAMILY_7SERIES"] [current_fileset]
52
53
# Get shorter git commit ID for verilog and bitfile filename
54
set gitid_for_filename [exec git describe --always --abbrev=8 --dirty]
55
-set gitid_for_verilog 32'h$[string range $gitid_for_filename 0 7]
+set gitid_for_verilog 32'h[exec git rev-parse --short=8 HEAD]
56
set new_defs [list "GIT_32BIT_ID=$gitid_for_verilog" "REVC_1W"]
57
58
launch_runs synth_1
0 commit comments