From: Eddie Hung Date: Tue, 17 Dec 2019 01:06:30 +0000 (-0800) Subject: Enforce non-existence X-Git-Tag: working-ls180~922^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33e6d0558500d14e6711f7fc4ded1ebdb296bcaa;p=yosys.git Enforce non-existence --- diff --git a/passes/memory/memory_bram.cc b/passes/memory/memory_bram.cc index 7f551134a..e0970d192 100644 --- 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;