diff --git a/openfpga/src/fpga_bitstream/fabric_bitstream.h b/openfpga/src/fpga_bitstream/fabric_bitstream.h index 13e7071d4..bc0c8c6df 100644 --- a/openfpga/src/fpga_bitstream/fabric_bitstream.h +++ b/openfpga/src/fpga_bitstream/fabric_bitstream.h @@ -223,6 +223,11 @@ class FabricBitstream { * 101x1 -> 10101 -> 21 * - bit-x number: which encodes the 'x' bits into a number. For example, * 101x1 -> 00010 -> 2 + * + * TODO: There is a limitation here, when the length of address vector is more than 64, + * A size_t number overflows (cannot represent any binary number > 64 bit). + * Such thing can entirely happen even in a medium sized FPGA. + * A solution can be use multiple size_t to fit. But clearly, we should not use vector in vector, which causes large memory overhead! */ vtr::vector bit_address_1bits_; vtr::vector bit_address_xbits_;