fixed m3 bug, binaries
Build on RHEL9 docker image / build (push) Failing after 4m0s
Build on RHEL8 docker image / build (push) Failing after 5m11s
Run Simulator Tests on local RHEL9 / build (push) Failing after 17m13s
Run Simulator Tests on local RHEL8 / build (push) Failing after 19m39s

This commit is contained in:
2026-04-30 14:48:50 +02:00
parent 90aa409282
commit ff8ea58dee
5 changed files with 5 additions and 5 deletions
@@ -11,7 +11,7 @@
#ifdef MYTHEN3D
extern enum TLogLevel trimmingPrint;
extern uint32_t clkDivider[];
extern int getFrequency(enum CLKINDEX ind);
#endif
#if defined(CHIPTESTBOARDD) || defined(XILINX_CHIPTESTBOARDD)
extern uint32_t clkFrequency[];
@@ -309,7 +309,7 @@ uint64_t getPatternWaitInterval(int level) {
#if defined(CHIPTESTBOARDD) || defined(XILINX_CHIPTESTBOARDD)
runclk = clkFrequency[RUN_CLK];
#elif MYTHEN3D
runclk = clkDivider[SYSTEM_C0];
runclk = getFrequency(SYSTEM_C0);
#endif
if (runclk == 0) {
LOG(logERROR, ("runclk is 0. Cannot divide by 0. Returning -1.\n"));
@@ -356,7 +356,7 @@ int validate_setPatternWaitClocksAndInterval(char *message, int level,
#if defined(CHIPTESTBOARDD) || defined(XILINX_CHIPTESTBOARDD)
runclk = clkFrequency[RUN_CLK];
#elif MYTHEN3D
runclk = clkDivider[SYSTEM_C0];
runclk = getFrequency(SYSTEM_C0);
#endif
if (retval == (uint64_t)-1) {
sprintf(message, "runclk is 0. Cannot divide by 0 for patttern "
@@ -403,7 +403,7 @@ void setPatternWaitInterval(int level, uint64_t t) {
#if defined(CHIPTESTBOARDD) || defined(XILINX_CHIPTESTBOARDD)
runclk = clkFrequency[RUN_CLK];
#elif MYTHEN3D
runclk = clkDivider[SYSTEM_C0];
runclk = getFrequency(SYSTEM_C0);
#endif
uint64_t numClocks = ns_to_clocks(t, runclk);
setPatternWaitClocks(level, numClocks);
@@ -817,7 +817,7 @@ int setPeriod(int64_t val, char *mess) {
}
int getPeriod(int64_t *retval, char *mess) {
if (clkFrequency[SYNC_CLK] == 0) {
if (clkFrequency[RUN_CLK] == 0) {
sprintf(mess, "Cannot get period. Run clock frequency is 0.\n");
LOG(logERROR, (mess));
return FAIL;