mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
refactor: migrate from yosys to yowasp-yosys
yowasp-yosys can be installed from pip, so we no longer require the user to install yosys separately. also freeze requirements.txt versions for reproducible builds
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ class Project():
|
||||
source_list = " ".join(sources)
|
||||
|
||||
json_file = 'ports.json'
|
||||
yosys_cmd = f"yosys -qp 'read_verilog -lib -sv {source_list}; hierarchy -top {top} ; proc; write_json {json_file}'"
|
||||
yosys_cmd = f"yowasp-yosys -qp 'read_verilog -lib -sv {source_list}; hierarchy -top {top} ; proc; write_json {json_file}'"
|
||||
p = subprocess.run(yosys_cmd, shell=True)
|
||||
if p.returncode != 0:
|
||||
logging.error(f"yosys port read failed for {self}")
|
||||
|
||||
Reference in New Issue
Block a user