diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-03-15 10:25:46 -0700 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-03-15 18:49:12 +0000 |
commit | 351ca3b5eac472b4bd08b11a4aa6fb67e545eda3 (patch) | |
tree | 25817e9ea10d339bf4c127b0a082cc5ac9a51deb /common/exclusive_state_groups.h | |
parent | a8e35062c6a1a21838346dd7536bb2fcc7f820ed (diff) | |
download | nextpnr-351ca3b5eac472b4bd08b11a4aa6fb67e545eda3.tar.gz nextpnr-351ca3b5eac472b4bd08b11a4aa6fb67e545eda3.tar.bz2 nextpnr-351ca3b5eac472b4bd08b11a4aa6fb67e545eda3.zip |
Use NEXTPNR_NAMESPACE macro's now that headers are seperated.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'common/exclusive_state_groups.h')
-rw-r--r-- | common/exclusive_state_groups.h | 4 |
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. |