Quick summary
The HLS Thresholding with runtime writable weights is not working as expected. When the AXI Lite interface is used to write the weight values and then execute the operation, the output values are incorrect. However, when I read back the weights from the AXI Lite interface, the weight values are set correctly. It seems that the output does not match the expected behavior despite the weights being correctly configured. All this is observed in simulation
This error seems to have been introduced with the introduction of the SETS parameter, even though for these use cases, SETS is set to 1 by default.
Steps to Reproduce
For example:
- Clone the FINN repository
- Checkout the
dev branch
- Start the docker container with the command:
./run-docker.sh
- Run
pytest -k test_runtime_thresholds_write[False-False-cfg0-idt_act_cfg0-hls] --pdb