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.
2 parents 71a5895 + 67fc611 commit 26998c0Copy full SHA for 26998c0
flow/scripts/synth_preamble.tcl
@@ -1,5 +1,7 @@
1
yosys -import
2
3
+source $::env(SCRIPTS_DIR)/util.tcl
4
+
5
if {[info exist ::env(CACHED_NETLIST)]} {
6
exec cp $::env(CACHED_NETLIST) $::env(RESULTS_DIR)/1_1_yosys.v
7
if {[info exist ::env(CACHED_REPORTS)]} {
@@ -108,7 +110,7 @@ close $constr
108
110
109
111
proc synthesize_check {synth_args} {
112
# Generic synthesis
- synth -top $::env(DESIGN_NAME) -run :fine {*}$synth_args
113
+ log_cmd synth -top $::env(DESIGN_NAME) -run :fine {*}$synth_args
114
json -o $::env(RESULTS_DIR)/mem.json
115
# Run report and check here so as to fail early if this synthesis run is doomed
116
exec -- python3 $::env(SCRIPTS_DIR)/mem_dump.py --max-bits $::env(SYNTH_MEMORY_MAX_BITS) $::env(RESULTS_DIR)/mem.json
0 commit comments