read_verilog -mem2reg ../top.v synth -top top write_verilog synth.v