aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.h
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-07-12 20:24:00 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-07-12 20:24:00 +0100
commit681d82413191e5379bd5d0147d05a0879e005c49 (patch)
tree8c695352188dfa696ec9878816f06866f060ede2 /ice40/arch.h
parent284b4750ee6a3a5a4e33590cbbccaaccfd2c5899 (diff)
parentf9ef4cd4bdeaccef6fd1522441be8fd0f80249c1 (diff)
downloadnextpnr-681d82413191e5379bd5d0147d05a0879e005c49.tar.gz
nextpnr-681d82413191e5379bd5d0147d05a0879e005c49.tar.bz2
nextpnr-681d82413191e5379bd5d0147d05a0879e005c49.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/fix-zoom
Diffstat (limited to 'ice40/arch.h')
-rw-r--r--ice40/arch.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index 96d0d209..04de5178 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -70,6 +70,11 @@ NPNR_PACKED_STRUCT(struct PipInfoPOD {
int32_t switch_index;
});
+NPNR_PACKED_STRUCT(struct WireSegmentPOD {
+ int8_t x, y;
+ int16_t index;
+});
+
NPNR_PACKED_STRUCT(struct WireInfoPOD {
RelPtr<char> name;
int32_t num_uphill, num_downhill;
@@ -79,6 +84,9 @@ NPNR_PACKED_STRUCT(struct WireInfoPOD {
BelPortPOD bel_uphill;
RelPtr<BelPortPOD> bels_downhill;
+ int32_t num_segments;
+ RelPtr<WireSegmentPOD> segments;
+
int8_t x, y;
WireType type;
int8_t padding_0;