Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangwenhui
OpenXG-RAN
Commits
40bd00aa
Commit
40bd00aa
authored
Apr 06, 2020
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nr_prachsim to CI
parent
bfaa037e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
9 deletions
+36
-9
ci-scripts/oai-ci-vm-tool
ci-scripts/oai-ci-vm-tool
+1
-1
cmake_targets/autotests/README.txt
cmake_targets/autotests/README.txt
+8
-4
cmake_targets/autotests/test_case_list.xml
cmake_targets/autotests/test_case_list.xml
+20
-0
openair1/SIMULATION/NR_PHY/prachsim.c
openair1/SIMULATION/NR_PHY/prachsim.c
+7
-4
No files found.
ci-scripts/oai-ci-vm-tool
View file @
40bd00aa
...
@@ -186,7 +186,7 @@ function variant__v3__phy_sim {
...
@@ -186,7 +186,7 @@ function variant__v3__phy_sim {
BUILD_OPTIONS
=
"--phy_simulators"
BUILD_OPTIONS
=
"--phy_simulators"
VM_MEMORY
=
8192
VM_MEMORY
=
8192
VM_DISK
=
20
VM_DISK
=
20
RUN_OPTIONS
=
"./run_exec_autotests.bash -g
\"
01510* 015111
\"
-q -np -b"
RUN_OPTIONS
=
"./run_exec_autotests.bash -g
\"
01510* 015111
015112
\"
-q -np -b"
}
}
function
variant__v4__cppcheck
{
function
variant__v4__cppcheck
{
...
...
cmake_targets/autotests/README.txt
View file @
40bd00aa
...
@@ -142,10 +142,14 @@ Obj.# Case# Test# Description
...
@@ -142,10 +142,14 @@ Obj.# Case# Test# Description
(Test 11: 10 MHz, R7.FDD (MCS 25), EVA5, 17.7dB (70%))
(Test 11: 10 MHz, R7.FDD (MCS 25), EVA5, 17.7dB (70%))
(TM2 Test 1 10 MHz, R.11 FDD (MCS 14), EVA5, 6.8 dB (70%)),
(TM2 Test 1 10 MHz, R.11 FDD (MCS 14), EVA5, 6.8 dB (70%)),
(TM2 Test 1b 20 MHz, R.11-2 FDD (MCS 13), EVA5, 5.9 dB (70%)),
(TM2 Test 1b 20 MHz, R.11-2 FDD (MCS 13), EVA5, 5.9 dB (70%)),
01 51 11 nr_ulsim Test cases. (Test1: MCS 9),
01 51 11 nr_ulsim Test cases. (Test1: MCS 9 106 PRBs),
(Test2: MCS 16),
(Test2: MCS 16 50 PRBs),
(Test3: MCS 28)
(Test3: MCS 28 50 PRBs),
(Test4: MCS 9 217 PRBs),
(Test5: MCS 9 273 PRBs)
01 51 12 nr_prachsim Test cases.(Test1: 106 PRBs),
(Test2: 217 PRBs),
(Test3: 273 PRBs)
...
...
cmake_targets/autotests/test_case_list.xml
View file @
40bd00aa
...
@@ -1259,6 +1259,26 @@
...
@@ -1259,6 +1259,26 @@
<nruns>
3
</nruns>
<nruns>
3
</nruns>
</testCase>
</testCase>
<testCase
id=
"015112"
>
<class>
execution
</class>
<desc>
nr_prachsim Test cases. (Test1: 106 PRBs),
(Test2: 217 PRBs),
(Test3: 273 PRBs)
</desc>
<pre_compile_prog></pre_compile_prog>
<compile_prog>
$OPENAIR_DIR/cmake_targets/build_oai
</compile_prog>
<compile_prog_args>
--phy_simulators -c
</compile_prog_args>
<pre_exec>
$OPENAIR_DIR/cmake_targets/autotests/tools/free_mem.bash
</pre_exec>
<pre_exec_args></pre_exec_args>
<main_exec>
$OPENAIR_DIR/targets/bin/nr_prachsim.Rel15
</main_exec>
<main_exec_args>
-a -s -30 -n 100 -p 16 -R 106
-a -s -30 -n 100 -p 16 -R 217
-a -s -30 -n 100 -p 16 -R 273
</main_exec_args>
<tags>
nr_prachsim.test1 nr_prachsim.test2 nr_prachsim.test3
</tags>
<search_expr_true>
PRACH test OK
</search_expr_true>
<search_expr_false>
segmentation fault|assertion|exiting|fatal
</search_expr_false>
<nruns>
3
</nruns>
</testCase>
<testCase
id=
"015500"
>
<testCase
id=
"015500"
>
<class>
lte-softmodem
</class>
<class>
lte-softmodem
</class>
<desc></desc>
<desc></desc>
...
...
openair1/SIMULATION/NR_PHY/prachsim.c
View file @
40bd00aa
...
@@ -617,7 +617,7 @@ int main(int argc, char **argv){
...
@@ -617,7 +617,7 @@ int main(int argc, char **argv){
rx_prach_start
=
subframe
*
frame_parms
->
get_samples_per_slot
(
subframe
,
frame_parms
);
rx_prach_start
=
subframe
*
frame_parms
->
get_samples_per_slot
(
subframe
,
frame_parms
);
for
(
SNR
=
snr0
;
SNR
<
snr1
;
SNR
+=
.
2
)
{
for
(
SNR
=
snr0
;
SNR
<
snr1
;
SNR
+=
.
1
)
{
for
(
ue_speed
=
ue_speed0
;
ue_speed
<
ue_speed1
;
ue_speed
+=
10
)
{
for
(
ue_speed
=
ue_speed0
;
ue_speed
<
ue_speed1
;
ue_speed
+=
10
)
{
delay_avg
=
0
.
0
;
delay_avg
=
0
.
0
;
// max Doppler shift
// max Doppler shift
...
@@ -684,10 +684,13 @@ int main(int argc, char **argv){
...
@@ -684,10 +684,13 @@ int main(int argc, char **argv){
}
}
}
}
printf
(
"SNR %f dB, UE Speed %f km/h: errors %d/%d (delay %f)
\n
"
,
SNR
,
ue_speed
,
prach_errors
,
n_frames
,
delay_avg
/
(
double
)(
n_frames
-
prach_errors
));
printf
(
"SNR %f dB, UE Speed %f km/h: errors %d/%d (delay %f)
\n
"
,
SNR
,
ue_speed
,
prach_errors
,
n_frames
,
delay_avg
/
(
double
)(
n_frames
-
prach_errors
));
//printf("(%f,%f)\n",ue_speed,(double)prach_errors/(double)n_frames);
if
(
prach_errors
)
break
;
}
// UE Speed loop
}
// UE Speed loop
//printf("SNR %f dB, UE Speed %f km/h: errors %d/%d (delay %f)\n",SNR,ue_speed,prach_errors,n_frames,delay_avg/(double)(n_frames-prach_errors));
if
(
!
prach_errors
)
{
// printf("(%f,%f)\n",SNR,(double)prach_errors/(double)n_frames);
printf
(
"PRACH test OK
\n
"
);
break
;
}
}
//SNR loop
}
//SNR loop
for
(
i
=
0
;
i
<
2
;
i
++
)
{
for
(
i
=
0
;
i
<
2
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment