From a233762a815fc180b371f699e865a7d7aed77bca Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 22 Jul 2014 19:56:17 +0200 Subject: SigSpec refactoring: renamed chunks and width to __chunks and __width --- kernel/rtlil.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'kernel/rtlil.h') diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 9b3e44179..0919b3926 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -496,8 +496,11 @@ struct RTLIL::SigBit { }; struct RTLIL::SigSpec { - std::vector chunks; // LSB at index 0 - int width; +public: + std::vector __chunks; // LSB at index 0 + int __width; + +public: SigSpec(); SigSpec(const RTLIL::Const &data); SigSpec(const RTLIL::SigChunk &chunk); @@ -551,8 +554,8 @@ struct RTLIL::SigSpec { }; inline RTLIL::SigBit::SigBit(const RTLIL::SigSpec &sig) { - assert(sig.width == 1 && sig.chunks.size() == 1); - *this = SigBit(sig.chunks[0]); + assert(sig.__width == 1 && sig.__chunks.size() == 1); + *this = SigBit(sig.__chunks[0]); } struct RTLIL::CaseRule { -- cgit v1.2.3