mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
Removed deprecated module->new_wire()
This commit is contained in:
parent
3cb61d03f8
commit
1d88f1cf9f
11 changed files with 47 additions and 56 deletions
|
@ -77,7 +77,7 @@ struct SpliceWorker
|
|||
cell->parameters["\\A_WIDTH"] = sig_a.width;
|
||||
cell->parameters["\\Y_WIDTH"] = sig.width;
|
||||
cell->connections["\\A"] = sig_a;
|
||||
cell->connections["\\Y"] = module->new_wire(sig.width, NEW_ID);
|
||||
cell->connections["\\Y"] = module->addWire(NEW_ID, sig.width);
|
||||
new_sig = cell->connections["\\Y"];
|
||||
module->add(cell);
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ struct SpliceWorker
|
|||
cell->parameters["\\B_WIDTH"] = sig2.width;
|
||||
cell->connections["\\A"] = new_sig;
|
||||
cell->connections["\\B"] = sig2;
|
||||
cell->connections["\\Y"] = module->new_wire(new_sig.width + sig2.width, NEW_ID);
|
||||
cell->connections["\\Y"] = module->addWire(NEW_ID, new_sig.width + sig2.width);
|
||||
new_sig = cell->connections["\\Y"];
|
||||
module->add(cell);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue