From 9765aea0ec9e91db228f0758fd1f091b5e3a2a16 Mon Sep 17 00:00:00 2001 From: Dave Steele Date: Fri, 16 Dec 2022 14:51:44 +0000 Subject: [PATCH] Add ability to avoid startup delay on 1st to 2nd PD issue --- verification/lib/tests/utils/fpm6Utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/verification/lib/tests/utils/fpm6Utils.h b/verification/lib/tests/utils/fpm6Utils.h index cc184e8..19d2c27 100644 --- a/verification/lib/tests/utils/fpm6Utils.h +++ b/verification/lib/tests/utils/fpm6Utils.h @@ -157,13 +157,13 @@ protected: // Generate a set of product detects // spaced at a given period // - void generatePDs(CCoreAuto* pCore, uint32_t numPDs, uint32_t periodNs) + void generatePDs(CCoreAuto* pCore, uint32_t numPDs, uint32_t periodNs, bool noStartupDelay = false) { for (int idx = 0; idx < numPDs; idx++) { issuePd(pCore->pEncPdEmul1); - if (idx == 0) + if ((idx == 0) && !noStartupDelay) { nsleepSim(periodNs - REG_WR_LATENCY_NS + STARTUP_LATENCY_NS); }