diff options
Diffstat (limited to 'common/constraints.h')
-rw-r--r-- | common/constraints.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/constraints.h b/common/constraints.h index 9ec8372d..65abf12c 100644 --- a/common/constraints.h +++ b/common/constraints.h @@ -21,11 +21,11 @@ #define CONSTRAINTS_H #include <cstdint> -#include <unordered_map> #include <vector> #include "archdefs.h" #include "exclusive_state_groups.h" +#include "hashlib.h" #include "idstring.h" #include "nextpnr_namespaces.h" @@ -53,7 +53,7 @@ template <std::size_t StateCount, typename StateType = int8_t, typename CountTyp }; typedef ExclusiveStateGroup<StateCount, StateType, CountType> TagState; - std::unordered_map<uint32_t, std::vector<typename TagState::Definition>> definitions; + dict<uint32_t, std::vector<typename TagState::Definition>> definitions; template <typename ConstraintRange> void bindBel(TagState *tags, const ConstraintRange constraints); |