mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
SigSpec refactoring: using the accessor functions everywhere
This commit is contained in:
parent
16e5ae0b92
commit
4b4048bc5f
62 changed files with 800 additions and 800 deletions
|
@ -560,8 +560,8 @@ public:
|
|||
};
|
||||
|
||||
inline RTLIL::SigBit::SigBit(const RTLIL::SigSpec &sig) {
|
||||
assert(sig.__width == 1 && sig.__chunks.size() == 1);
|
||||
*this = SigBit(sig.__chunks[0]);
|
||||
assert(sig.size() == 1 && sig.chunks().size() == 1);
|
||||
*this = SigBit(sig.chunks()[0]);
|
||||
}
|
||||
|
||||
struct RTLIL::CaseRule {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue