[aes, pre_syn] Don't optimize FSMs
This optimization completely removes the sparse encoding of the FSM
states.
Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>
diff --git a/hw/ip/aes/pre_syn/tcl/yosys_run_synth.tcl b/hw/ip/aes/pre_syn/tcl/yosys_run_synth.tcl
index 5a5e3c0..7526d95 100644
--- a/hw/ip/aes/pre_syn/tcl/yosys_run_synth.tcl
+++ b/hw/ip/aes/pre_syn/tcl/yosys_run_synth.tcl
@@ -31,7 +31,7 @@
yosys "attrmap -tocase keep -imap keep=\"true\" keep=1 -imap keep=\"false\" keep=0 -remove keep=0"
# Synthesize.
-yosys "synth $flatten_opt -top $lr_synth_top_module"
+yosys "synth -nofsm $flatten_opt -top $lr_synth_top_module"
yosys "opt -purge"
yosys "write_verilog $lr_synth_pre_map_out"