Skip to content

HLS Thresholding with runtime writeable weights not working properly when PE set to max #1459

@auphelia

Description

@auphelia

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:

  1. Clone the FINN repository
  2. Checkout the dev branch
  3. Start the docker container with the command: ./run-docker.sh
  4. Run pytest -k test_runtime_thresholds_write[False-False-cfg0-idt_act_cfg0-hls] --pdb

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions