3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00

kernel/mem: Use delayed removal for inits as well.

This commit is contained in:
Marcelina Kościelnicka 2021-07-12 17:10:40 +02:00
parent 6d7d9ab077
commit 0565c642a0
2 changed files with 20 additions and 4 deletions

View file

@ -65,10 +65,11 @@ struct MemWr : RTLIL::AttrObject {
};
struct MemInit : RTLIL::AttrObject {
bool removed;
Cell *cell;
Const addr;
Const data;
MemInit() : cell(nullptr) {}
MemInit() : removed(false), cell(nullptr) {}
};
struct Mem : RTLIL::AttrObject {