projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
187e1c4
)
Enforce non-existence
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 17 Dec 2019 01:06:30 +0000
(17:06 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 17 Dec 2019 01:06:30 +0000
(17:06 -0800)
passes/memory/memory_bram.cc
patch
|
blob
|
history
diff --git
a/passes/memory/memory_bram.cc
b/passes/memory/memory_bram.cc
index 7f551134a7fccfea47d4708e50b993c64b67261d..e0970d19214f19234eea3f16782162b554149686 100644
(file)
--- a/
passes/memory/memory_bram.cc
+++ b/
passes/memory/memory_bram.cc
@@
-841,6
+841,8
@@
grow_read_ports:;
found = true;
break;
}
+ else if (!exists)
+ continue;
if (it->second != value)
continue;
found = true;
@@
-1165,6
+1167,8
@@
void handle_cell(Cell *cell, const rules_t &rules)
found = true;
break;
}
+ else if (!exists)
+ continue;
if (it->second != value)
continue;
found = true;