summaryrefslogtreecommitdiffstats
path: root/scripts/yosys/synth_sim.ys
blob: ded89d93f30448703b562dce09ba6b70e06745e6 (plain)
1
2
3
4
5
6
7
8
# yosys synthesis script for post-synthesis simulation (make test_synth)

read_verilog picorv32.v
chparam -set COMPRESSED_ISA 1 -set ENABLE_MUL 1 -set ENABLE_DIV 1 \
        -set ENABLE_IRQ 1 -set ENABLE_TRACE 1 picorv32_axi
hierarchy -top picorv32_axi
synth
write_verilog synth.v