read_verilog ../top.v
synth_ecp5 -run begin:json
write_verilog synth.v