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
常顺宇
OpenXG-RAN
Commits
9470c019
Commit
9470c019
authored
May 25, 2021
by
cucengineer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test nr dlsim fft ok
parent
1bee1d28
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
cmake_targets/build_oai
cmake_targets/build_oai
+2
-1
openair1/PHY/MODULATION/slot_fep_nr.c
openair1/PHY/MODULATION/slot_fep_nr.c
+10
-0
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+4
-0
targets/PROJECTS/GENERIC-NR-5GC/CONF/cuFFT.so
targets/PROJECTS/GENERIC-NR-5GC/CONF/cuFFT.so
+0
-0
No files found.
cmake_targets/build_oai
View file @
9470c019
...
...
@@ -747,7 +747,8 @@ function main() {
if
[
"
$SIMUS_PHY
"
=
"1"
]
;
then
echo_info
"Compiling physical unitary tests simulators"
# TODO: fix: dlsim_tm4 pucchsim prachsim pdcchsim pbchsim mbmssim
simlist
=
"dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim"
simlist
=
"nr_dlsim"
# simlist="dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim"
# simlist="ldpctest"
for
f
in
$simlist
;
do
compilations
\
...
...
openair1/PHY/MODULATION/slot_fep_nr.c
View file @
9470c019
...
...
@@ -139,6 +139,16 @@ int nr_slot_fep(PHY_VARS_NR_UE *ue,
(
int16_t
*
)
&
common_vars
->
common_vars_rx_data_per_thread
[
proc
->
thread_id
].
rxdataF
[
aa
][
frame_parms
->
ofdm_symbol_size
*
symbol
],
1
);
static
int
cu_2048
=
1
;
if
(
cu_2048
==
1
)
{
LOG_M
(
"FFT0.m"
,
"input"
,
rxdata_ptr
,
2048
,
1
,
3
);
LOG_M
(
"FFT1.m"
,
"output"
,(
int16_t
*
)
&
common_vars
->
common_vars_rx_data_per_thread
[
proc
->
thread_id
].
rxdataF
[
aa
][
frame_parms
->
ofdm_symbol_size
*
symbol
],
2048
,
1
,
1
);
cudft2048
(
rxdata_ptr
,(
int16_t
*
)
&
common_vars
->
common_vars_rx_data_per_thread
[
proc
->
thread_id
].
rxdataF
[
aa
][
frame_parms
->
ofdm_symbol_size
*
symbol
],
1
);
LOG_M
(
"cuFFT0.m"
,
"input"
,
rxdata_ptr
,
2048
,
1
,
3
);
LOG_M
(
"cuFFT1.m"
,
"output"
,(
int16_t
*
)
&
common_vars
->
common_vars_rx_data_per_thread
[
proc
->
thread_id
].
rxdataF
[
aa
][
frame_parms
->
ofdm_symbol_size
*
symbol
],
2048
,
1
,
1
);
cu_2048
++
;
}
#if UE_TIMING_TRACE
stop_meas
(
&
ue
->
rx_dft_stats
);
#endif
...
...
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
9470c019
...
...
@@ -69,6 +69,9 @@
#include <openair2/LAYER2/MAC/mac_vars.h>
#include <openair2/RRC/LTE/rrc_vars.h>
#define LDPC_LOADER
#include "PHY/CODING/nrLDPC_extern.h"
#include <dlfcn.h>
LCHAN_DESC
DCCH_LCHAN_DESC
,
DTCH_DL_LCHAN_DESC
,
DTCH_UL_LCHAN_DESC
;
rlc_info_t
Rlc_info_um
,
Rlc_info_am_config
;
...
...
@@ -659,6 +662,7 @@ int main(int argc, char **argv)
}
logInit
();
load_cuFFT
();
set_glog
(
loglvl
);
T_stdout
=
1
;
/* initialize the sin table */
...
...
targets/PROJECTS/GENERIC-NR-5GC/CONF/cuFFT.so
View file @
9470c019
No preview for this file type
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