3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-19 20:33:39 +00:00

Changed NEW_WIRE API to return the wire, not the signal

This commit is contained in:
Clifford Wolf 2013-10-18 14:19:45 +02:00
parent bfa1a65fa9
commit 8e8f1994b8
2 changed files with 2 additions and 2 deletions

View file

@ -382,7 +382,7 @@ RTLIL::Module *RTLIL::Module::clone() const
return new_mod;
}
RTLIL::SigSpec RTLIL::Module::new_wire(int width, RTLIL::IdString name)
RTLIL::Wire *RTLIL::Module::new_wire(int width, RTLIL::IdString name)
{
RTLIL::Wire *wire = new RTLIL::Wire;
wire->width = width;