IPGen failed: ERROR: [HLS 207-2163] 'bitwidth' attribute requires integer constant between 1 and 8191 inclusive #1283
-
|
Hello, And in the vitis_hls.log I get: I've done some digging and I found this issue: #1060 that suggests that this could be the result of the stream interface being to wide. I am setting the maximum parallelization here, however the layer is relatively small. The whole "network" is just a single fully-connected layer with 16 inputs and 128 outputs. The network is quantized to 4-bits (input/output/weight), except for the bias which is 8-bits. I don't understand how this could possibly go above the limit of 8192. Here is the repository of my experiments: https://github.com/jurevreca12/c4ml_test_runs/tree/phd-experiments |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi, you seem to be using the |
Beta Was this translation helpful? Give feedback.
Hi,
you seem to be using the
internal_decoupledweight memory setting for the MVAU, which will instantiate a weight stream of width SIMD * PE * Bitwidth = 16 * 128 * 4 = 8192 in this case. For full parallelism you should really be usinginternal_embedded, so the weights are hardcoded into the MVAU, requiring no weight stream input port.