3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-21 13:23:40 +00:00

extract_rdff: Add initvals parameter.

This is not used yet, but will be needed when read port reset/initial
value support lands.
This commit is contained in:
Marcelina Kościelnicka 2021-05-23 18:29:44 +02:00
parent 33513d923a
commit afd5366fc2
4 changed files with 18 additions and 11 deletions

View file

@ -445,7 +445,7 @@ std::vector<Mem> Mem::get_selected_memories(Module *module) {
return res;
}
Cell *Mem::extract_rdff(int idx) {
Cell *Mem::extract_rdff(int idx, FfInitVals *initvals) {
MemRd &port = rd_ports[idx];
if (!port.clk_enable)