diff --git a/fpga/assembler.cc b/fpga/assembler.cc index 8614605..02a2178 100644 --- a/fpga/assembler.cc +++ b/fpga/assembler.cc @@ -108,10 +108,9 @@ static absl::Status ProcessFasmFeatures( absl::flat_hash_set used_config_buses; // Select only bit addresses with value bit set to 1. for (int addr = 0; addr < tile_feature.width; ++addr) { - const unsigned bit_addr = (addr + tile_feature.start_bit); - const bool value = bits & (1 << bit_addr); + const unsigned feature_addr = (addr + tile_feature.start_bit); + const bool value = bits & (1 << feature_addr); if (value) { - const int feature_addr = addr + tile_feature.start_bit; db.ConfigBits( tile_name, feature, feature_addr, [&frames, &used_config_buses](