mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-02 20:31:22 +00:00
pass jny: ensured the cell collection is cleared between modules
This commit is contained in:
parent
5a016713cc
commit
6053856f91
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ struct JnyWriter
|
||||||
// it'll have to do for now,
|
// it'll have to do for now,
|
||||||
void coalesce_cells(Module* mod)
|
void coalesce_cells(Module* mod)
|
||||||
{
|
{
|
||||||
|
_cells.clear();
|
||||||
for (auto cell : mod->cells()) {
|
for (auto cell : mod->cells()) {
|
||||||
const auto cell_type = escape_string(RTLIL::unescape_id(cell->type));
|
const auto cell_type = escape_string(RTLIL::unescape_id(cell->type));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue