mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-17 23:49:29 +00:00
Update documentation and few more defines
This commit is contained in:
parent
25459bd8b9
commit
1ef6311e5b
6 changed files with 7 additions and 7 deletions
|
|
@ -21,7 +21,7 @@ def yosys(script):
|
|||
run([base_path / 'yosys', '-Q', '-p', script])
|
||||
|
||||
def compile_cpp(in_path, out_path, args):
|
||||
run(['g++', '-g', '-std=c++17'] + args + [str(in_path), '-o', str(out_path)])
|
||||
run(['g++', '-g', '-std=c++20'] + args + [str(in_path), '-o', str(out_path)])
|
||||
|
||||
def yosys_synth(verilog_file, rtlil_file):
|
||||
yosys(f"read_verilog {quote(verilog_file)} ; prep ; setundef -undriven -undef ; write_rtlil {quote(rtlil_file)}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue