mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Add proc_rom pass.
This commit is contained in:
parent
c862b1dbfb
commit
990c9b8e11
5 changed files with 283 additions and 1 deletions
|
@ -46,7 +46,7 @@ struct MemRd : RTLIL::AttrObject {
|
|||
std::vector<bool> collision_x_mask;
|
||||
SigSpec clk, en, arst, srst, addr, data;
|
||||
|
||||
MemRd() : removed(false), cell(nullptr) {}
|
||||
MemRd() : removed(false), cell(nullptr), wide_log2(0), clk_enable(false), clk_polarity(true), ce_over_srst(false), clk(State::Sx), en(State::S1), arst(State::S0), srst(State::S0) {}
|
||||
|
||||
// Returns the address of given subword index accessed by this port.
|
||||
SigSpec sub_addr(int sub) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue