Skip to content

Commit

Permalink
host_exerciser: fix ASE simulation (#3121)
Browse files Browse the repository at this point in the history
Don't check EMIF calibration when running in ASE. The required access
token is not available.

Signed-off-by: Michael Adler <michael.adler@intel.com>
  • Loading branch information
michael-adler committed Apr 24, 2024
1 parent 0139f92 commit 129f669
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion samples/host_exerciser/host_exerciser_cmd.h
Expand Up @@ -741,7 +741,6 @@ class host_exerciser_cmd : public test_command

token_ = d_afu->get_token();

fpga_emif_status(afu);
// Read HW details
uint64_t he_info = host_exe_->read64(HE_INFO0);
he_lpbk_api_ver_ = (he_info >> 16);
Expand Down Expand Up @@ -784,6 +783,9 @@ class host_exerciser_cmd : public test_command
return ret;
}

if (!is_ase_sim_)
fpga_emif_status(afu);

// assert reset he-lpbk
he_lpbk_ctl_.value = 0;
d_afu->write32(HE_CTL, he_lpbk_ctl_.value);
Expand Down

0 comments on commit 129f669

Please sign in to comment.