Changing all BRAMs to use BRAM controller mode. In the BRAM controller mode, each BRAM is automatically configured to be 1Mbits big i.e., 128KB. So for a width of 256 bits, the BRAM has
a depth of 4096 words. This can comfortable fit a 128K x 128K block.