3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-18 07:59:31 +00:00

Update documentation and few more defines

This commit is contained in:
Miodrag Milanovic 2026-05-13 11:24:45 +02:00
parent 25459bd8b9
commit 1ef6311e5b
6 changed files with 7 additions and 7 deletions

View file

@ -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)}")