diff --git a/niar/cxxrtl.py b/niar/cxxrtl.py index ca8fdf6..8cd0bf2 100644 --- a/niar/cxxrtl.py +++ b/niar/cxxrtl.py @@ -130,26 +130,29 @@ def main(np: Project, args): f.write(rtlil_text) cxxrtl_cc_path = np.path.build(subdir, f"{np.name}.cc") - yosys_script_path = _make_absolute(np.path.build(subdir, f"{np.name}.ys")) + yosys_script_path = _make_yosys_relative(np.path.build(subdir, f"{np.name}.ys")) black_boxes = {} + externals_paths = [] with open(yosys_script_path, "w") as f: for box_source in black_boxes.values(): f.write(f"read_rtlil <