From 0ec32ca99ac08e50163a62e3cab27072d6ce2eb5 Mon Sep 17 00:00:00 2001 From: Michael Adler Date: Wed, 24 Apr 2024 09:24:07 -0400 Subject: [PATCH] host_exerciser: fix ASE simulation Don't check EMIF calibration when running in ASE. The required access token is not available. Signed-off-by: Michael Adler --- samples/host_exerciser/host_exerciser_cmd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samples/host_exerciser/host_exerciser_cmd.h b/samples/host_exerciser/host_exerciser_cmd.h index 3add59aa3147..9e21e1816e3a 100644 --- a/samples/host_exerciser/host_exerciser_cmd.h +++ b/samples/host_exerciser/host_exerciser_cmd.h @@ -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); @@ -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);