mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
kernel/mem: Add priority_mask to model.
This is going to be used to store arbitrary priority masks in the future. Right now, it is not supported by our cell library, so the priority_mask is computed from port order on helper construction, and discarded when emitted. However, this allows us to already convert helper-using passes to the new model.
This commit is contained in:
parent
835688bf80
commit
95a39d3425
2 changed files with 47 additions and 1 deletions
|
@ -40,6 +40,7 @@ struct MemWr {
|
|||
dict<IdString, Const> attributes;
|
||||
Cell *cell;
|
||||
bool clk_enable, clk_polarity;
|
||||
std::vector<bool> priority_mask;
|
||||
SigSpec clk, en, addr, data;
|
||||
MemWr() : removed(false), cell(nullptr) {}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue