mirror of https://github.com/YosysHQ/yosys.git
Ignore $scopeinfo in write_spice
This commit is contained in:
parent
418bf61b8d
commit
5ee8bebde4
|
@ -72,6 +72,9 @@ static void print_spice_module(std::ostream &f, RTLIL::Module *module, RTLIL::De
|
||||||
|
|
||||||
for (auto cell : module->cells())
|
for (auto cell : module->cells())
|
||||||
{
|
{
|
||||||
|
if (cell->type == ID($scopeinfo))
|
||||||
|
continue;
|
||||||
|
|
||||||
f << stringf("X%d", cell_counter++);
|
f << stringf("X%d", cell_counter++);
|
||||||
|
|
||||||
std::vector<RTLIL::SigSpec> port_sigs;
|
std::vector<RTLIL::SigSpec> port_sigs;
|
||||||
|
|
Loading…
Reference in New Issue