projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a01671
)
pass jny: ensured the cell collection is cleared between modules
author
Aki Van Ness
<aki@yosyshq.com>
Thu, 10 Mar 2022 16:05:04 +0000
(11:05 -0500)
committer
N. Engelhardt
<nakengelhardt@gmail.com>
Fri, 8 Apr 2022 06:05:15 +0000
(08:05 +0200)
backends/jny/jny.cc
patch
|
blob
|
history
diff --git
a/backends/jny/jny.cc
b/backends/jny/jny.cc
index 1cbfaaddc098f79032a00c603b0809d38650208d..b89283a153f25d733c24ef340046b32b5c5cd50c 100644
(file)
--- a/
backends/jny/jny.cc
+++ b/
backends/jny/jny.cc
@@
-88,6
+88,7
@@
struct JnyWriter
// it'll have to do for now,
void coalesce_cells(Module* mod)
{
+ _cells.clear();
for (auto cell : mod->cells()) {
const auto cell_type = escape_string(RTLIL::unescape_id(cell->type));