aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/bitstream.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-08-27 14:36:20 +0100
committerDavid Shah <dave@ds0.me>2019-08-27 14:36:20 +0100
commit9f9920f92b1cc580627250c7d3b09cd3079a73ad (patch)
tree600f96a4f203db56a30c5d70b6639a3b95b84f38 /ecp5/bitstream.cc
parentc06d7390b61adebb6a6c368edf0cc92a9432374a (diff)
downloadnextpnr-9f9920f92b1cc580627250c7d3b09cd3079a73ad.tar.gz
nextpnr-9f9920f92b1cc580627250c7d3b09cd3079a73ad.tar.bz2
nextpnr-9f9920f92b1cc580627250c7d3b09cd3079a73ad.zip
ecp5: Add full part name to bitstream header
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ecp5/bitstream.cc')
-rw-r--r--ecp5/bitstream.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc
index cac11867..c5a04a8d 100644
--- a/ecp5/bitstream.cc
+++ b/ecp5/bitstream.cc
@@ -600,6 +600,8 @@ void write_bitstream(Context *ctx, std::string base_config_file, std::string tex
}
}
+ cc.metadata.push_back("Part: " + ctx->getFullChipName());
+
// Clear out DCU tieoffs in base config if DCU used
for (auto &cell : ctx->cells) {
CellInfo *ci = cell.second.get();