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.
$buf
1 parent bcb209d commit b4daa38Copy full SHA for b4daa38
flow/scripts/synth.tcl
@@ -115,7 +115,14 @@ tee -o $::env(REPORTS_DIR)/synth_check.txt check
115
tee -o $::env(REPORTS_DIR)/synth_stat.txt stat {*}$stat_libs
116
117
# check the design is composed exclusively of target cells, and check for other problems
118
-check -assert -mapped
+if {![env_var_exists_and_non_empty NEW_OPERATOR_SYNTHESIS]} {
119
+ check -assert -mapped
120
+} else {
121
+ # Wrapped operator synthesis leaves around $buf cells which `check -mapped`
122
+ # gets confused by, once Yosys#4931 is merged we can remove this branch and
123
+ # always run `check -assert -mapped`
124
+ check -assert
125
+}
126
127
# Write synthesized design
128
write_verilog -nohex -nodec $::env(RESULTS_DIR)/1_1_yosys.v
0 commit comments