projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a4cd7
)
memory_libmap: Fix wrprio handling.
author
Marcelina Kościelnicka
<mwk@0x04.net>
Thu, 16 Jun 2022 23:20:33 +0000
(
01:20
+0200)
committer
Marcelina Kościelnicka
<mwk@0x04.net>
Fri, 17 Jun 2022 00:09:37 +0000
(
02:09
+0200)
passes/memory/memory_libmap.cc
patch
|
blob
|
history
diff --git
a/passes/memory/memory_libmap.cc
b/passes/memory/memory_libmap.cc
index d77e4be3002f74b8f4bf2d7e4ecfd9796741a939..9e147b0bf06db1ee74438a290dfa526235914e90 100644
(file)
--- a/
passes/memory/memory_libmap.cc
+++ b/
passes/memory/memory_libmap.cc
@@
-837,7
+837,7
@@
void MemMapping::handle_priority() {
if (!port2.priority_mask[p1idx])
continue;
for (auto &cfg: cfgs) {
- auto &p1cfg = cfg.
rd
_ports[p1idx];
+ auto &p1cfg = cfg.
wr
_ports[p1idx];
auto &p2cfg = cfg.wr_ports[p2idx];
bool found = false;
for (auto &pgi: p2cfg.def->wrprio) {