[Script] Bug fix in yosys script to synthesis BRAM
@@ -30,7 +30,18 @@ opt
#########################
# Run coarse synthesis
#########################
-synth -run coarse
+opt_expr
+opt_clean
+check
+opt
+wreduce -keepdc
+peepopt
+pmuxtree
+opt_clean
+# Extract arithmetic functions
+alumacc
+opt
+fsm
# Run a quick follow-up optimization to sweep out unused nets/signals
opt -fast
# Optimize any memory cells by merging share-able ports and collecting all the ports belonging to memorcy cells
