mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
tools/litex_read_verilog: Add proc step before exporting to .json since now seems to be required for some verilog designs.
This commit is contained in:
parent
89670e5938
commit
da8d3d10aa
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ def main():
|
|||
# use yosys to convert verilog to json
|
||||
yosys_v2j = "\n".join([
|
||||
"read_verilog -sv {}".format(verilog_file),
|
||||
"proc",
|
||||
"write_json {}.json".format(verilog_file)
|
||||
])
|
||||
tools.write_to_file("yosys_v2j.ys", yosys_v2j)
|
||||
|
|
Loading…
Reference in a new issue