aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/archdefs.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-07-13 14:29:03 +0200
committerClifford Wolf <clifford@clifford.at>2018-07-13 14:29:03 +0200
commit45462ef3a714c0d98fe570d96e6761e2b298c7d0 (patch)
tree544b422ac9421eef370aeb650d86e52c48386e10 /ice40/archdefs.h
parente9668ed618b054d323fe848fce2bf1e78840316e (diff)
downloadnextpnr-45462ef3a714c0d98fe570d96e6761e2b298c7d0.tar.gz
nextpnr-45462ef3a714c0d98fe570d96e6761e2b298c7d0.tar.bz2
nextpnr-45462ef3a714c0d98fe570d96e6761e2b298c7d0.zip
Fix Ui/Decal handling of active/inactive arch objects
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/archdefs.h')
-rw-r--r--ice40/archdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ice40/archdefs.h b/ice40/archdefs.h
index 2bb718f1..75df678a 100644
--- a/ice40/archdefs.h
+++ b/ice40/archdefs.h
@@ -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); }