We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7181e1 commit ff8ab9aCopy full SHA for ff8ab9a
fpga/assembler.cc
@@ -110,7 +110,7 @@ static absl::Status ProcessFasmFeatures(
110
// Select only bit addresses with value bit set to 1.
111
for (int addr = 0; addr < tile_feature.width; ++addr) {
112
const unsigned feature_addr = (addr + tile_feature.start_bit);
113
- const bool value = bits & (1 << feature_addr);
+ const bool value = bits & (uint64_t(1) << addr);
114
if (value) {
115
db.ConfigBits(
116
tile_name, feature, feature_addr,
0 commit comments