diff options
author | gatecat <gatecat@ds0.me> | 2021-12-13 15:02:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 15:02:38 +0000 |
commit | 8720d79f21ac052138426b3268981ccd1926342a (patch) | |
tree | e953c4a31ce28c32dd4e5e202952a2504e73953a /ecp5/arch.h | |
parent | a933f82845e489af7f5e209d2d43ff79b4c521ca (diff) | |
parent | 90b0e90bbe2fb923154096a8be3660b5e3f4cbb0 (diff) | |
download | nextpnr-8720d79f21ac052138426b3268981ccd1926342a.tar.gz nextpnr-8720d79f21ac052138426b3268981ccd1926342a.tar.bz2 nextpnr-8720d79f21ac052138426b3268981ccd1926342a.zip |
Merge pull request #868 from mkj/mkj/chipdb-16bit
ecp5: Reduce some chipdb fields from 32 to 16 bit
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r-- | ecp5/arch.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h index a5706379..e7bf64fe 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -54,11 +54,10 @@ NPNR_PACKED_STRUCT(struct BelPortPOD { NPNR_PACKED_STRUCT(struct PipInfoPOD { LocationPOD rel_src_loc, rel_dst_loc; - int32_t src_idx, dst_idx; - int32_t timing_class; - int16_t tile_type; + int16_t src_idx, dst_idx; + int16_t timing_class; + int8_t tile_type; int8_t pip_type; - int8_t padding_0; }); NPNR_PACKED_STRUCT(struct PipLocatorPOD { @@ -68,8 +67,8 @@ NPNR_PACKED_STRUCT(struct PipLocatorPOD { NPNR_PACKED_STRUCT(struct WireInfoPOD { RelPtr<char> name; - int32_t type; - int32_t tile_wire; + int16_t type; + int16_t tile_wire; RelSlice<PipLocatorPOD> pips_uphill, pips_downhill; RelSlice<BelPortPOD> bel_pins; }); |