aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/bitstream.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-10 11:57:58 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-11 10:42:09 +0200
commit98cdb6082d1f916bd47676c3e7f1feab6b585216 (patch)
tree66ef13ad9dfcf311c584ba1760acc752ec8189ad /ecp5/bitstream.cc
parent29d65bd368fa32f7ea13515902df752d30ec4f39 (diff)
downloadnextpnr-98cdb6082d1f916bd47676c3e7f1feab6b585216.tar.gz
nextpnr-98cdb6082d1f916bd47676c3e7f1feab6b585216.tar.bz2
nextpnr-98cdb6082d1f916bd47676c3e7f1feab6b585216.zip
ecp5: Bitstream progress
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/bitstream.cc')
-rw-r--r--ecp5/bitstream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc
index 04bbc24f..f4f175bb 100644
--- a/ecp5/bitstream.cc
+++ b/ecp5/bitstream.cc
@@ -187,7 +187,7 @@ void write_bitstream(Context *ctx, std::string base_config_file, std::string tex
for (const auto &tile : empty_chip.tiles) {
std::string type = tile.second->info.type;
if (type.find("BANKREF") != std::string::npos && type != "BANKREF8") {
- cc.tiles[type].add_enum("BANK.VCCIO", "3V3");
+ cc.tiles[tile.first].add_enum("BANK.VCCIO", "3V3");
}
}