Skip to content

Link test FSM runner script: Add ability to compare captured outputs & inputs

Kate Whalen requested to merge kw-16-link-compare into master

This update adds the ability to compare the captured Rx and Tx data. The link mapping is taken into account (excluding masked links and those going to/from externally-controlled processors).

The comparison can be performed using the --check-io-data flag. This flag is set to False by default since it will break the CI (which runs on the dummy framework).

Additional options may be specified:

  • --latency takes a value or range of values (number of clock cycles to ignore at the start of the observed data)
  • --max-frames specifies the maximum number of frames to compare
  • --capture-path specifies the directory where the captured Tx/Rx and expected Rx data files will be stored (defaults to the current working directory)

Fixes #16 (closed) .

Edited by Kate Whalen

Merge request reports