read_verilog ../top.v
tee -o result.log synth -top top
write_verilog synth.v