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
lizhongxiao
OpenXG-RAN
Commits
da8d3037
Commit
da8d3037
authored
Nov 19, 2021
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bugs in phy sims
parent
8f79ae0e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
cmake_targets/autotests/test_case_list.xml
cmake_targets/autotests/test_case_list.xml
+6
-6
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+1
-2
openair1/SIMULATION/NR_PHY/ulschsim.c
openair1/SIMULATION/NR_PHY/ulschsim.c
+3
-0
No files found.
cmake_targets/autotests/test_case_list.xml
View file @
da8d3037
...
@@ -1333,15 +1333,15 @@
...
@@ -1333,15 +1333,15 @@
-n100 -m28 -s20
-n100 -m28 -s20
-n100 -m9 -R217 -r217 -s5
-n100 -m9 -R217 -r217 -s5
-n100 -m9 -R273 -r273 -s5
-n100 -m9 -R273 -r273 -s5
-n100 -s5 -U
2 0
1
-n100 -s5 -U
3 0 1
1
-n100 -s5 -T 2 1 2 -U
2 0 2
-n100 -s5 -T 2 1 2 -U
3 0 2 1
-n100 -s5 -T 2 2 2 -U
2 1 2
-n100 -s5 -T 2 2 2 -U
3 1 2 1
-n100 -s5 -a4 -b8 -T 2 1 2 -U
2 1 3
-n100 -s5 -a4 -b8 -T 2 1 2 -U
3 1 3 1
-n100 -
Z -s5
-n100 -
s5 -Z
-n100 -s5 -Z -r75
-n100 -s5 -Z -r75
-n50 -s5 -Z -r216 -R217
-n50 -s5 -Z -r216 -R217
-n50 -s5 -Z -r270 -R273
-n50 -s5 -Z -r270 -R273
-n100 -s5 -Z -U
2 0 2
-n100 -s5 -Z -U
3 0 2 1
-n100 -m19 -s10 -S15 -z2
-n100 -m19 -s10 -S15 -z2
-n100 -m9 -r106 -s10 -W2 -y2 -z2
-n100 -m9 -r106 -s10 -W2 -y2 -z2
-n100 -m9 -r106 -s20 -W4 -y4 -z4
-n100 -m9 -r106 -s20 -W4 -y4 -z4
...
...
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
da8d3037
...
@@ -954,6 +954,7 @@ int main(int argc, char **argv)
...
@@ -954,6 +954,7 @@ int main(int argc, char **argv)
PHY_vars_UE_g
[
0
][
0
]
=
UE
;
PHY_vars_UE_g
[
0
][
0
]
=
UE
;
memcpy
(
&
UE
->
frame_parms
,
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
memcpy
(
&
UE
->
frame_parms
,
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
UE
->
frame_parms
.
nb_antennas_rx
=
n_rx
;
UE
->
frame_parms
.
nb_antennas_rx
=
n_rx
;
UE
->
max_ldpc_iterations
=
max_ldpc_iterations
;
if
(
run_initial_sync
==
1
)
UE
->
is_synchronized
=
0
;
if
(
run_initial_sync
==
1
)
UE
->
is_synchronized
=
0
;
else
{
UE
->
is_synchronized
=
1
;
UE
->
UE_mode
[
0
]
=
PUSCH
;}
else
{
UE
->
is_synchronized
=
1
;
UE
->
UE_mode
[
0
]
=
PUSCH
;}
...
@@ -989,8 +990,6 @@ int main(int argc, char **argv)
...
@@ -989,8 +990,6 @@ int main(int argc, char **argv)
UE
->
if_inst
->
dl_indication
=
nr_ue_dl_indication
;
UE
->
if_inst
->
dl_indication
=
nr_ue_dl_indication
;
UE
->
if_inst
->
ul_indication
=
dummy_nr_ue_ul_indication
;
UE
->
if_inst
->
ul_indication
=
dummy_nr_ue_ul_indication
;
UE
->
prb_interpolation
=
prb_inter
;
UE
->
prb_interpolation
=
prb_inter
;
UE
->
max_ldpc_iterations
=
max_ldpc_iterations
;
UE_mac
->
if_module
=
nr_ue_if_module_init
(
0
);
UE_mac
->
if_module
=
nr_ue_if_module_init
(
0
);
...
...
openair1/SIMULATION/NR_PHY/ulschsim.c
View file @
da8d3037
...
@@ -141,6 +141,7 @@ int main(int argc, char **argv)
...
@@ -141,6 +141,7 @@ int main(int argc, char **argv)
uint16_t
nb_rb
=
50
;
uint16_t
nb_rb
=
50
;
uint8_t
Imcs
=
9
;
uint8_t
Imcs
=
9
;
uint8_t
Nl
=
1
;
uint8_t
Nl
=
1
;
uint8_t
max_ldpc_iterations
=
5
;
double
DS_TDL
=
.
03
;
double
DS_TDL
=
.
03
;
...
@@ -395,6 +396,8 @@ int main(int argc, char **argv)
...
@@ -395,6 +396,8 @@ int main(int argc, char **argv)
frame_parms
->
N_RB_DL
=
N_RB_DL
;
frame_parms
->
N_RB_DL
=
N_RB_DL
;
frame_parms
->
N_RB_UL
=
N_RB_UL
;
frame_parms
->
N_RB_UL
=
N_RB_UL
;
frame_parms
->
Ncp
=
extended_prefix_flag
?
EXTENDED
:
NORMAL
;
frame_parms
->
Ncp
=
extended_prefix_flag
?
EXTENDED
:
NORMAL
;
gNB
->
max_ldpc_iterations
=
max_ldpc_iterations
;
crcTableInit
();
crcTableInit
();
memcpy
(
&
gNB
->
frame_parms
,
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
memcpy
(
&
gNB
->
frame_parms
,
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
...
...
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