aboutsummaryrefslogtreecommitdiffstats
path: root/generic/viaduct/fabulous/validity_check.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2023-02-22 14:51:51 +0100
committermyrtle <gatecat@ds0.me>2023-02-23 10:05:55 +0100
commit14050f991bc2e4ce2c6e7f431fe2acd4f0cf2a70 (patch)
tree0848236a9eee9b1504ac4aa59289f964d2a11976 /generic/viaduct/fabulous/validity_check.h
parent1809e18c7bb23d88ddb716482d72b3ce195a1b35 (diff)
downloadnextpnr-14050f991bc2e4ce2c6e7f431fe2acd4f0cf2a70.tar.gz
nextpnr-14050f991bc2e4ce2c6e7f431fe2acd4f0cf2a70.tar.bz2
nextpnr-14050f991bc2e4ce2c6e7f431fe2acd4f0cf2a70.zip
fabulous: Global constant wires scheme
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'generic/viaduct/fabulous/validity_check.h')
-rw-r--r--generic/viaduct/fabulous/validity_check.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/generic/viaduct/fabulous/validity_check.h b/generic/viaduct/fabulous/validity_check.h
index 43291f6e..1f21e07b 100644
--- a/generic/viaduct/fabulous/validity_check.h
+++ b/generic/viaduct/fabulous/validity_check.h
@@ -122,6 +122,19 @@ struct BlockTracker
bool check_validity(BelId bel, const FabricConfig &cfg, const CellTagger &cell_data);
};
+struct PseudoPipTags
+{
+ BelId bel;
+ enum PPType : uint16_t
+ {
+ NONE,
+ LUT_CONST,
+ LUT_PERM,
+ } type;
+ uint16_t data;
+ PseudoPipTags(PPType type = NONE, BelId bel = BelId(), uint16_t data = 0x0) : bel(bel), type(type), data(data) {}
+};
+
NEXTPNR_NAMESPACE_END
#endif