From f880c95ec546ef7b63cf32f61dbc0d50349ed015 Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Sun, 16 Jun 2024 11:58:15 +0300 Subject: [PATCH] emit debug IL, it's helpful. --- niar/cxxrtl.py | 2 ++ 1 file changed, 2 insertions(+) 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 <