diff --git a/niar/cxxrtl.py b/niar/cxxrtl.py index d9b5a3f..2763180 100644 --- a/niar/cxxrtl.py +++ b/niar/cxxrtl.py @@ -226,10 +226,12 @@ def _cxxrtl_convert_with_header( raise AssertionError( "cc_out must be relative to cwd for builtin-yosys to write to it" ) + rtlil_out = f"{cc_out}.il" rtlil_text = rtlil.convert(design, name=name, platform=platform) script = [] for box_source in black_boxes.values(): script.append(f"read_rtlil <