diff options
author | David Shah <davey1576@gmail.com> | 2018-08-01 15:23:27 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-08-01 15:23:27 +0200 |
commit | bcdcba66a69fbad707866299772a17a4ba0972ee (patch) | |
tree | 3bb609aaffdf8dcefa988d0261e59d5fa1fb74b6 /ecp5/arch.h | |
parent | 305145ffe455e307818bb44aaaf9cf0817367885 (diff) | |
download | nextpnr-bcdcba66a69fbad707866299772a17a4ba0972ee.tar.gz nextpnr-bcdcba66a69fbad707866299772a17a4ba0972ee.tar.bz2 nextpnr-bcdcba66a69fbad707866299772a17a4ba0972ee.zip |
ecp5: Add tilemap to chip database
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r-- | ecp5/arch.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h index 2e54276b..0685042c 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -117,6 +117,17 @@ NPNR_PACKED_STRUCT(struct PackageInfoPOD { RelPtr<PackagePinPOD> pin_data; }); +NPNR_PACKED_STRUCT(struct TileNamePOD { + RelPtr<char> name; + int16_t type_idx; + int16_t padding; +}); + +NPNR_PACKED_STRUCT(struct TileInfoPOD { + int32_t num_tiles; + RelPtr<TileNamePOD> tile_names; +}); + enum TapDirection : int8_t { TAP_DIR_LEFT = 0, @@ -148,6 +159,7 @@ NPNR_PACKED_STRUCT(struct ChipInfoPOD { RelPtr<RelPtr<char>> tiletype_names; RelPtr<PackageInfoPOD> package_info; RelPtr<PIOInfoPOD> pio_info; + RelPtr<TileInfoPOD> tile_info; }); #if defined(_MSC_VER) |