aboutsummaryrefslogtreecommitdiffstats
path: root/common/exclusive_state_groups.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/exclusive_state_groups.h')
-rw-r--r--common/exclusive_state_groups.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/exclusive_state_groups.h b/common/exclusive_state_groups.h
index cd3f0bfa..68ce7c4e 100644
--- a/common/exclusive_state_groups.h
+++ b/common/exclusive_state_groups.h
@@ -111,10 +111,10 @@ template <size_t StateCount, typename StateType = int8_t, typename CountType = u
// Check whether the state group is now unselected or satified.
auto value = selected_states.to_ulong();
- auto number_selected = nextpnr::Bits::popcount(value);
+ auto number_selected = Bits::popcount(value);
if (number_selected == 1) {
// Group is no longer overconstrained.
- state = nextpnr::Bits::ctz(value);
+ state = Bits::ctz(value);
NPNR_ASSERT(selected_states[state]);
} else if (number_selected == 0) {
// Group is unselected.