Ignore $scopeinfo in write_spice

This commit is contained in:
Jannis Harder 2024-01-11 15:12:32 +01:00
parent 418bf61b8d
commit 5ee8bebde4
1 changed files with 3 additions and 0 deletions

View File

@ -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<RTLIL::SigSpec> port_sigs;