added time for firmware to measrue actual value after frequency change
Build on RHEL9 docker image / build (push) Successful in 3m41s
Build on RHEL8 docker image / build (push) Successful in 4m48s
Run Simulator Tests on local RHEL9 / build (push) Successful in 15m15s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m36s

This commit is contained in:
2026-03-12 15:13:52 +01:00
parent f9b3c4f9ce
commit 778b497eb1
2 changed files with 7 additions and 2 deletions
@@ -327,6 +327,11 @@ int ALTERA_PLL_SetOutputFrequency(int clkIndex, int pllVCOFreqMhz, int value) {
}
return (int)temp;
*/
#if defined(CHIPTESTBOARDD)
// wait for firmware to measure the actual frequency
usleep(2 * 1000 * 1000);
#endif
return value;
}
@@ -5882,8 +5882,8 @@ int set_clock_frequency(int file_des) {
("retval %s: %d %s\n", modeName, retval,
myDetectorType == XILINX_CHIPTESTBOARD ? "kHz"
: "MHz"));
#if !defined(XILINX_CHIPTESTBOARDD)
// XCTB will give the actual frequency, which is not
#if !defined(XILINX_CHIPTESTBOARDD) && !defined(CHIPTESTBOARDD)
// both CTB's will give the actual frequency, which is not
// 100% identical to the set frequency
validate(&ret, mess, val, retval, modeName, DEC);
#endif