From 98cdb6082d1f916bd47676c3e7f1feab6b585216 Mon Sep 17 00:00:00 2001 From: David Shah Date: Tue, 10 Jul 2018 11:57:58 +0200 Subject: ecp5: Bitstream progress Signed-off-by: David Shah --- ecp5/bitstream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecp5/bitstream.cc') 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"); } } -- cgit v1.2.3