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
zzha zzha
OpenXG-RAN
Commits
3995b59b
Commit
3995b59b
authored
Oct 28, 2019
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated phy simulators
parent
5a0b2fc0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
cmake_targets/autotests/test_case_list.xml
cmake_targets/autotests/test_case_list.xml
+1
-5
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+3
-3
openair1/SIMULATION/NR_PHY/ulschsim.c
openair1/SIMULATION/NR_PHY/ulschsim.c
+1
-0
No files found.
cmake_targets/autotests/test_case_list.xml
View file @
3995b59b
...
@@ -1089,8 +1089,6 @@
...
@@ -1089,8 +1089,6 @@
(Test8: 217 PRB 100 PDSCH-PRBs),
(Test8: 217 PRB 100 PDSCH-PRBs),
(Test9: 217 PRB 80 PDSCH-Offset),
(Test9: 217 PRB 80 PDSCH-Offset),
(Test10: 217 PRB 100 PDSCH-PRBs 80 PDSCH-Offset),-->
(Test10: 217 PRB 100 PDSCH-PRBs 80 PDSCH-Offset),-->
(Test11: 106 PRB 4 PDSCH-Start-Symbols),
(Test12: 217 PRB 5 PDSCH-Symbols),
(Test13: 106 PRB 0 MCS),
(Test13: 106 PRB 0 MCS),
(Test14: 273 PRB 28 MCS)
</desc>
(Test14: 273 PRB 28 MCS)
</desc>
<pre_compile_prog></pre_compile_prog>
<pre_compile_prog></pre_compile_prog>
...
@@ -1109,11 +1107,9 @@
...
@@ -1109,11 +1107,9 @@
-n100 -R217 -b100
-n100 -R217 -b100
-n100 -R217 -a80
-n100 -R217 -a80
-n100 -R217 -a80 -b100-->
-n100 -R217 -a80 -b100-->
-n100 -R106 -c4
-n100 -R217 -j5
-n100 -R106 -e0
-n100 -R106 -e0
-n100 -R273 -e28
</main_exec_args>
-n100 -R273 -e28
</main_exec_args>
<tags>
nr_dlsim.test1 nr_dlsim.test2 nr_dlsim.test3 nr_dlsim.test4 nr_dlsim.test5
<!--nr_dlsim.test6 nr_dlsim.test7 nr_dlsim.test8 nr_dlsim.test9 nr_dlsim.test10-->
nr_dlsim.test1
1 nr_dlsim.test12 nr_dlsim.test1
3 nr_dlsim.test14
</tags>
<tags>
nr_dlsim.test1 nr_dlsim.test2 nr_dlsim.test3 nr_dlsim.test4 nr_dlsim.test5
<!--nr_dlsim.test6 nr_dlsim.test7 nr_dlsim.test8 nr_dlsim.test9 nr_dlsim.test10-->
nr_dlsim.test13 nr_dlsim.test14
</tags>
<search_expr_true>
"PDCCH test OK" "PDSCH test OK"
</search_expr_true>
<search_expr_true>
"PDCCH test OK" "PDSCH test OK"
</search_expr_true>
<search_expr_false>
segmentation fault|assertion|exiting|fatal
</search_expr_false>
<search_expr_false>
segmentation fault|assertion|exiting|fatal
</search_expr_false>
<nruns>
3
</nruns>
<nruns>
3
</nruns>
...
...
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
3995b59b
...
@@ -424,8 +424,8 @@ int main(int argc, char **argv)
...
@@ -424,8 +424,8 @@ int main(int argc, char **argv)
printf
(
"-o CORESET offset
\n
"
);
printf
(
"-o CORESET offset
\n
"
);
printf
(
"-a Start PRB for PDSCH
\n
"
);
printf
(
"-a Start PRB for PDSCH
\n
"
);
printf
(
"-b Number of PRB for PDSCH
\n
"
);
printf
(
"-b Number of PRB for PDSCH
\n
"
);
printf
(
"-c Start symbol for PDSCH
\n
"
);
printf
(
"-c Start symbol for PDSCH
(fixed for now)
\n
"
);
printf
(
"-j Number of symbols for PDSCH
\n
"
);
printf
(
"-j Number of symbols for PDSCH
(fixed for now)
\n
"
);
printf
(
"-e MSC index
\n
"
);
printf
(
"-e MSC index
\n
"
);
exit
(
-
1
);
exit
(
-
1
);
break
;
break
;
...
@@ -519,7 +519,7 @@ int main(int argc, char **argv)
...
@@ -519,7 +519,7 @@ int main(int argc, char **argv)
printf
(
"Allocating %d samples for txdata
\n
"
,
frame_length_complex_samples
);
printf
(
"Allocating %d samples for txdata
\n
"
,
frame_length_complex_samples
);
txdata
[
i
]
=
malloc
(
frame_length_complex_samples
*
sizeof
(
int
));
txdata
[
i
]
=
malloc
(
frame_length_complex_samples
*
sizeof
(
int
));
bzero
(
r_re
[
i
],
frame_length_complex_samples
*
sizeof
(
int
));
bzero
(
txdata
[
i
],
frame_length_complex_samples
*
sizeof
(
int
));
}
}
...
...
openair1/SIMULATION/NR_PHY/ulschsim.c
View file @
3995b59b
...
@@ -402,6 +402,7 @@ int main(int argc, char **argv)
...
@@ -402,6 +402,7 @@ int main(int argc, char **argv)
rel15_ul
->
n_layers
=
Nl
;
rel15_ul
->
n_layers
=
Nl
;
rel15_ul
->
nb_re_dmrs
=
nb_re_dmrs
;
rel15_ul
->
nb_re_dmrs
=
nb_re_dmrs
;
rel15_ul
->
length_dmrs
=
length_dmrs
;
rel15_ul
->
length_dmrs
=
length_dmrs
;
rel15_ul
->
R
=
code_rate
;
///////////////////////////////////////////////////
///////////////////////////////////////////////////
double
*
modulated_input
=
malloc16
(
sizeof
(
double
)
*
16
*
68
*
384
);
// [hna] 16 segments, 68*Zc
double
*
modulated_input
=
malloc16
(
sizeof
(
double
)
*
16
*
68
*
384
);
// [hna] 16 segments, 68*Zc
...
...
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