Added SigMap::allbits()
This commit is contained in:
parent
92dce21f6e
commit
ee8f6f31f4
1 changed files with 8 additions and 0 deletions
|
@ -421,6 +421,14 @@ struct SigMap
|
|||
apply(sig);
|
||||
return sig;
|
||||
}
|
||||
|
||||
RTLIL::SigSpec allbits() const
|
||||
{
|
||||
RTLIL::SigSpec sig;
|
||||
for (auto &it : bits)
|
||||
sig.append(SigBit(it.first.first, it.first.second));
|
||||
return sig;
|
||||
}
|
||||
};
|
||||
|
||||
YOSYS_NAMESPACE_END
|
||||
|
|
Loading…
Add table
Reference in a new issue