Fixed bug in collecting of RD_TRANSPARENT parameter in memory_collect
authorClifford Wolf <clifford@clifford.at>
Sat, 8 Feb 2014 18:13:19 +0000 (19:13 +0100)
committerClifford Wolf <clifford@clifford.at>
Sat, 8 Feb 2014 18:13:19 +0000 (19:13 +0100)
passes/memory/memory_collect.cc

index 40504d7814e6a878e17ee5b2000cbc8d8941be3d..6fe5e162c3e8b3d00a9cb697678b6a1fef5ef81c 100644 (file)
@@ -160,6 +160,7 @@ static void handle_memory(RTLIL::Module *module, RTLIL::Memory *memory)
 
        sig_rd_clk_enable.optimize();
        sig_rd_clk_polarity.optimize();
+       sig_rd_transparent.optimize();
 
        assert(sig_rd_clk.width == rd_ports);
        assert(sig_rd_clk_enable.width == rd_ports && sig_rd_clk_enable.is_fully_const());