read_verilog ../top.v
synth -top top
write_smt2 smt2.smt2
write_verilog synth.v