read_verilog ../top.v
proc
fsm -encoding one-hot
tee -o result.log dump
synth -top top
write_verilog synth.v