3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +00:00

clock for ram trough gbuf

This commit is contained in:
Miodrag Milanovic 2019-08-04 12:17:55 +02:00
parent cf96f41c6d
commit 8a3329871b

View file

@ -38,6 +38,12 @@ static void handle_gbufs(Module *module)
for (auto bit : sigmap(cell->getPort("\\CLK")))
clk_bits.insert(bit);
}
if (cell->type == "\\EFX_RAM_5K") {
for (auto bit : sigmap(cell->getPort("\\RCLK")))
clk_bits.insert(bit);
for (auto bit : sigmap(cell->getPort("\\WCLK")))
clk_bits.insert(bit);
}
}
for (auto wire : vector<Wire*>(module->wires()))