mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 22:03:40 +00:00
Address SigBit
/SigSpec
confusion issues under c++20
This commit is contained in:
parent
0cdd4273b4
commit
af1a5cfeb9
9 changed files with 19 additions and 14 deletions
|
@ -281,7 +281,7 @@ struct ExtractFaWorker
|
|||
void assign_new_driver(SigBit bit, SigBit new_driver)
|
||||
{
|
||||
Cell *cell = driver.at(bit);
|
||||
if (sigmap(cell->getPort(ID::Y)) == bit) {
|
||||
if (sigmap(cell->getPort(ID::Y)) == SigSpec(bit)) {
|
||||
cell->setPort(ID::Y, module->addWire(NEW_ID));
|
||||
module->connect(bit, new_driver);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue