mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Minor cleanup of case statement lowering
- Factor out match mask construction - Rename V3Number method to reflect behaviour
This commit is contained in:
+1
-1
@@ -1310,7 +1310,7 @@ uint32_t V3Number::mostSetBitP1() const {
|
||||
}
|
||||
//======================================================================
|
||||
|
||||
V3Number& V3Number::opBitsNonX(const V3Number& lhs) { // 0/1->1, X/Z->0
|
||||
V3Number& V3Number::opBitsNonXZ(const V3Number& lhs) { // 0/1->1, X/Z->0
|
||||
// Correct number of zero bits/width matters
|
||||
// op i, L(lhs) bit return
|
||||
NUM_ASSERT_OP_ARGS1(lhs);
|
||||
|
||||
Reference in New Issue
Block a user