oneapi-src / oneAPI-samples

Samples for Intel® oneAPI Toolkits
https://oneapi-src.github.io/oneAPI-samples/
MIT License
899 stars 675 forks source link

FPGA: Fix incorrect assignment in the `db` sample #2329

Closed rho180 closed 2 months ago

rho180 commented 2 months ago

Existing Sample Changes

Description

The state variable updates in MergeJoin and DuplicateMergeJoin involve a comparison of values taken from non-blocking pipe reads. These values need to be validated as coming from successful pipe reads before the state is updated.

Fixes Issue# 14021110301

External Dependencies

none

Type of change

Please delete options that are not relevant. Add a 'X' to the one that is applicable.

How Has This Been Tested?

Validated by manual build of both emulator and simulator flows for db9 and db12.