mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Replaced depricated NEW_WIRE macro with module->addWire() calls
This commit is contained in:
parent
1d88f1cf9f
commit
361e0d62ff
4 changed files with 22 additions and 25 deletions
|
@ -141,9 +141,6 @@ namespace RTLIL
|
|||
#define NEW_ID \
|
||||
RTLIL::new_id(__FILE__, __LINE__, __FUNCTION__)
|
||||
|
||||
#define NEW_WIRE(_mod, _width) \
|
||||
(_mod)->addWire(NEW_ID, _width)
|
||||
|
||||
template <typename T> struct sort_by_name {
|
||||
bool operator()(T *a, T *b) const {
|
||||
return a->name < b->name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue