From 5ee8bebde4ec9893f57917f9580700ad50756190 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Thu, 11 Jan 2024 15:12:32 +0100 Subject: [PATCH] Ignore $scopeinfo in write_spice --- backends/spice/spice.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backends/spice/spice.cc b/backends/spice/spice.cc index f260276eb..1160a01a1 100644 --- a/backends/spice/spice.cc +++ b/backends/spice/spice.cc @@ -72,6 +72,9 @@ static void print_spice_module(std::ostream &f, RTLIL::Module *module, RTLIL::De for (auto cell : module->cells()) { + if (cell->type == ID($scopeinfo)) + continue; + f << stringf("X%d", cell_counter++); std::vector port_sigs;