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:
parent
6d7d9ab077
commit
0565c642a0
2 changed files with 20 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue