mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
parent
f599c148c5
commit
f84c9d8e17
2 changed files with 37 additions and 1 deletions
|
@ -416,7 +416,9 @@ struct MemoryShareWorker
|
|||
else
|
||||
this_addr.extend_u0(GetSize(last_addr));
|
||||
|
||||
port1.addr = module->Mux(NEW_ID, last_addr, this_addr, this_en_active);
|
||||
SigSpec new_addr = module->Mux(NEW_ID, last_addr.extract_end(port1.wide_log2), this_addr.extract_end(port1.wide_log2), this_en_active);
|
||||
|
||||
port1.addr = SigSpec({new_addr, port1.addr.extract(0, port1.wide_log2)});
|
||||
port1.data = module->Mux(NEW_ID, last_data, this_data, this_en_active);
|
||||
|
||||
std::map<std::pair<RTLIL::SigBit, RTLIL::SigBit>, int> groups_en;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue