mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Rename and cleanup some width() usages. No functional change.
This commit is contained in:
+1
-1
@@ -626,7 +626,7 @@ bool V3Number::isLt(const V3Number& rhs) const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int V3Number::minWidth() const {
|
||||
int V3Number::widthMin() const {
|
||||
for(int bit=width()-1; bit>0; bit--) {
|
||||
if (!bitIs0(bit)) return bit+1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user