back.verilog: refactor Yosys script generation. NFCI.
authorwhitequark <whitequark@whitequark.org>
Sun, 14 Jun 2020 09:38:32 +0000 (09:38 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 14 Jun 2020 09:38:32 +0000 (09:38 +0000)
commit868d49eccdd6582e4ee992f5f28a3e65ca5ebaa5
treed78cebff40bbf44c2709481f246c308208f1d9cc
parent5f30bcbb14113c48e39b8277ab46e49ec9223b90
back.verilog: refactor Yosys script generation. NFCI.

In commit 5f30bcbb, back.cxxsim gained a nicer way to generate
a script; this commit brings it to back.verilog too.
nmigen/back/verilog.py