memory_bram: Reset make_outreg when growing read ports
authorDavid Shah <dave@ds0.me>
Fri, 19 Oct 2018 13:45:45 +0000 (14:45 +0100)
committerDavid Shah <dave@ds0.me>
Fri, 19 Oct 2018 13:46:31 +0000 (14:46 +0100)
Signed-off-by: David Shah <dave@ds0.me>
passes/memory/memory_bram.cc

index e8552bbcf530a24d15d3b72e892b14d30b9e689b..8740042c4ee75ab0c819d147d65795b4cae79543 100644 (file)
@@ -623,6 +623,7 @@ grow_read_ports:;
                                pi.sig_addr = SigSpec();
                                pi.sig_data = SigSpec();
                                pi.sig_en = SigSpec();
+                               pi.make_outreg = false;
                        }
                        new_portinfos.push_back(pi);
                        if (pi.dupidx == dup_count-1) {