read_verilog ../top.v
proc
flatten
alumacc
share -limit 1
synth -top top
write_verilog synth.v