Commit 5014b84c authored by Cedric Roux's avatar Cedric Roux

integration fix: let ulsim compile again + minor modification in dlsim_tm4

parent f2e9e3f2
...@@ -297,8 +297,6 @@ int main(int argc, char **argv) ...@@ -297,8 +297,6 @@ int main(int argc, char **argv)
int threequarter_fs=0; int threequarter_fs=0;
cpuf = get_cpu_freq_GHz();
opp_enabled=1; // to enable the time meas opp_enabled=1; // to enable the time meas
#if defined(__arm__) #if defined(__arm__)
...@@ -317,6 +315,8 @@ int main(int argc, char **argv) ...@@ -317,6 +315,8 @@ int main(int argc, char **argv)
#else #else
cpu_freq_GHz = get_cpu_freq_GHz(); cpu_freq_GHz = get_cpu_freq_GHz();
#endif #endif
cpuf = cpu_freq_GHz;
printf("Detected cpu_freq %f GHz\n",cpu_freq_GHz); printf("Detected cpu_freq %f GHz\n",cpu_freq_GHz);
//signal(SIGSEGV, handler); //signal(SIGSEGV, handler);
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
PHY_VARS_eNB *eNB; PHY_VARS_eNB *eNB;
PHY_VARS_UE *UE; PHY_VARS_UE *UE;
double cpuf;
...@@ -280,6 +281,7 @@ int main(int argc, char **argv) ...@@ -280,6 +281,7 @@ int main(int argc, char **argv)
opp_enabled=1; // to enable the time meas opp_enabled=1; // to enable the time meas
cpu_freq_GHz = (double)get_cpu_freq_GHz(); cpu_freq_GHz = (double)get_cpu_freq_GHz();
cpuf = cpu_freq_GHz;
printf("Detected cpu_freq %f GHz\n",cpu_freq_GHz); printf("Detected cpu_freq %f GHz\n",cpu_freq_GHz);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment