aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/config.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-10-05 14:36:16 +0100
committerDavid Shah <dave@ds0.me>2018-10-05 14:36:16 +0100
commit56ab547aeb00f55337d1eaf914fa51e6b6c5076c (patch)
treebbd352ae9fcb6cebf6db3ef43e33ee6ee4f86cf5 /ecp5/config.h
parent19f828c91c836a6d8e04676ca76ec2c6d0004b8a (diff)
downloadnextpnr-56ab547aeb00f55337d1eaf914fa51e6b6c5076c.tar.gz
nextpnr-56ab547aeb00f55337d1eaf914fa51e6b6c5076c.tar.bz2
nextpnr-56ab547aeb00f55337d1eaf914fa51e6b6c5076c.zip
ecp5: Infrastructure for BRAM bitstream gen
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ecp5/config.h')
-rw-r--r--ecp5/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ecp5/config.h b/ecp5/config.h
index 3d2ef971..c7e2c3d9 100644
--- a/ecp5/config.h
+++ b/ecp5/config.h
@@ -98,6 +98,14 @@ std::ostream &operator<<(std::ostream &out, const TileConfig &tc);
std::istream &operator>>(std::istream &in, TileConfig &ce);
+// A group of tiles to configure at once for a particular feature that is split across tiles
+// TileGroups are currently for non-routing configuration only
+struct TileGroup
+{
+ std::vector<std::string> tiles;
+ TileConfig config;
+};
+
// This represents the configuration of a chip at a high level
class ChipConfig
{
@@ -105,6 +113,7 @@ class ChipConfig
std::string chip_name;
std::vector<std::string> metadata;
std::map<std::string, TileConfig> tiles;
+ std::vector<TileGroup> tilegroups;
};
std::ostream &operator<<(std::ostream &out, const ChipConfig &cc);