aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/archdefs.h
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-07-13 19:10:20 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-07-13 19:10:27 +0100
commitb8ca1a55820d6429f5ad5207be1e125b8786e093 (patch)
tree6733f6ff9de556ccee6bf87b33dbe6b963cbc6db /ice40/archdefs.h
parent89809a8b810dd57f50f365d70a0ce547705f8dbb (diff)
parent07ff5ad8b8e4d0f87770b81b8478aa257567c504 (diff)
downloadnextpnr-b8ca1a55820d6429f5ad5207be1e125b8786e093.tar.gz
nextpnr-b8ca1a55820d6429f5ad5207be1e125b8786e093.tar.bz2
nextpnr-b8ca1a55820d6429f5ad5207be1e125b8786e093.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/lock-the-things
Diffstat (limited to 'ice40/archdefs.h')
-rw-r--r--ice40/archdefs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ice40/archdefs.h b/ice40/archdefs.h
index 3252dabf..75df678a 100644
--- a/ice40/archdefs.h
+++ b/ice40/archdefs.h
@@ -21,7 +21,7 @@
#error Include "archdefs.h" via "nextpnr.h" only.
#endif
-#include <boost/functional/hash_fwd.hpp>
+#include <boost/functional/hash.hpp>
NEXTPNR_NAMESPACE_BEGIN
@@ -144,6 +144,7 @@ struct DecalId
TYPE_GROUP
} type = TYPE_NONE;
int32_t index = -1;
+ bool active = false;
bool operator==(const DecalId &other) const { return (type == other.type) && (index == other.index); }
bool operator!=(const DecalId &other) const { return (type != other.type) || (index != other.index); }