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
7957b466
Commit
7957b466
authored
Oct 09, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/pusch-llr-SIMDe' into integration_2023_w40
parents
2635cf48
f451f62c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1339 additions
and
2885 deletions
+1339
-2885
docker/Dockerfile.build.ubuntu20.cross-arm64
docker/Dockerfile.build.ubuntu20.cross-arm64
+3
-3
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+1
-1
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+4
-6
openair1/PHY/NR_TRANSPORT/nr_ulsch_llr_computation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_llr_computation.c
+1331
-2875
No files found.
docker/Dockerfile.build.ubuntu20.cross-arm64
View file @
7957b466
...
@@ -34,14 +34,14 @@ COPY . .
...
@@ -34,14 +34,14 @@ COPY . .
# build all targets so final targets can be created afterwards
# build all targets so final targets can be created afterwards
RUN /bin/sh oaienv && \
RUN /bin/sh oaienv && \
cd cmake_targets && \
cd cmake_targets && \
mkdir -p ran_build/build ran_build/build-cross && \
mkdir -p
log
ran_build/build ran_build/build-cross && \
cd ran_build/build && \
cd ran_build/build && \
cmake ../../.. -GNinja && \
cmake ../../.. -GNinja && \
echo "====== Start of log for host-tools ======" && \
echo "====== Start of log for host-tools ======" && \
ninja ldpc_generators generate_T && \
ninja ldpc_generators generate_T
> ../../log/host-tools.txt 2>&1
&& \
echo "====== End of log for host-tools ======" && \
echo "====== End of log for host-tools ======" && \
cd ../build-cross/ && \
cd ../build-cross/ && \
cmake ../../.. -GNinja -DCMAKE_TOOLCHAIN_FILE=../../../cmake_targets/cross-arm.cmake -DNATIVE_DIR=../build && \
cmake ../../.. -GNinja -DCMAKE_TOOLCHAIN_FILE=../../../cmake_targets/cross-arm.cmake -DNATIVE_DIR=../build && \
echo "====== Start of log for cross-build executables ======" && \
echo "====== Start of log for cross-build executables ======" && \
ninja dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim lte-softmodem nr-softmodem nr-cuup oairu lte-uesoftmodem nr-uesoftmodem params_libconfig coding rfsimulator && \
ninja dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim lte-softmodem nr-softmodem nr-cuup oairu lte-uesoftmodem nr-uesoftmodem params_libconfig coding rfsimulator
> ../../log/all.txt 2>&1
&& \
echo "====== End of log for cross-build executables ======"
echo "====== End of log for cross-build executables ======"
openair1/PHY/INIT/nr_init.c
View file @
7957b466
...
@@ -686,7 +686,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB)
...
@@ -686,7 +686,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB)
int
n_buf
=
Prx
*
max_ul_mimo_layers
;
int
n_buf
=
Prx
*
max_ul_mimo_layers
;
int
nb_re_pusch
=
N_RB_UL
*
NR_NB_SC_PER_RB
;
int
nb_re_pusch
=
N_RB_UL
*
NR_NB_SC_PER_RB
;
int
nb_re_pusch2
=
(
nb_re_pusch
+
7
)
&
~
7
;
int
nb_re_pusch2
=
(
nb_re_pusch
+
15
)
&
~
15
;
gNB
->
pusch_vars
=
(
NR_gNB_PUSCH
*
)
malloc16_clear
(
gNB
->
max_nb_pusch
*
sizeof
(
NR_gNB_PUSCH
));
gNB
->
pusch_vars
=
(
NR_gNB_PUSCH
*
)
malloc16_clear
(
gNB
->
max_nb_pusch
*
sizeof
(
NR_gNB_PUSCH
));
for
(
int
ULSCH_id
=
0
;
ULSCH_id
<
gNB
->
max_nb_pusch
;
ULSCH_id
++
)
{
for
(
int
ULSCH_id
=
0
;
ULSCH_id
<
gNB
->
max_nb_pusch
;
ULSCH_id
++
)
{
...
...
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
7957b466
...
@@ -1146,9 +1146,8 @@ static uint8_t nr_ulsch_mmse_2layers(NR_DL_FRAME_PARMS *frame_parms,
...
@@ -1146,9 +1146,8 @@ static uint8_t nr_ulsch_mmse_2layers(NR_DL_FRAME_PARMS *frame_parms,
simde__m128i
*
after_mf_c_128
=
(
simde__m128i
*
)
af_mf_10
;
simde__m128i
*
after_mf_c_128
=
(
simde__m128i
*
)
af_mf_10
;
simde__m128i
*
after_mf_d_128
=
(
simde__m128i
*
)
af_mf_11
;
simde__m128i
*
after_mf_d_128
=
(
simde__m128i
*
)
af_mf_11
;
int
rxComp_aligned
=
((
nb_rb
*
12
)
%
8
)
?
(
8
-
(
nb_rb
*
12
)
%
8
)
:
0
;
simde__m128i
*
rxdataF_comp128_0
=
(
simde__m128i
*
)
&
rxdataF_comp
[
0
][
symbol
*
buffer_length
];
simde__m128i
*
rxdataF_comp128_0
=
(
simde__m128i
*
)
&
rxdataF_comp
[
0
][
symbol
*
(
nb_rb
*
12
+
rxComp_aligned
)];
simde__m128i
*
rxdataF_comp128_1
=
(
simde__m128i
*
)
&
rxdataF_comp
[
n_rx
][
symbol
*
buffer_length
];
simde__m128i
*
rxdataF_comp128_1
=
(
simde__m128i
*
)
&
rxdataF_comp
[
n_rx
][
symbol
*
(
nb_rb
*
12
+
rxComp_aligned
)];
if
(
mod_order
>
2
)
{
if
(
mod_order
>
2
)
{
if
(
mod_order
==
4
)
{
if
(
mod_order
==
4
)
{
...
@@ -1277,7 +1276,7 @@ static void inner_rx (PHY_VARS_gNB *gNB,
...
@@ -1277,7 +1276,7 @@ static void inner_rx (PHY_VARS_gNB *gNB,
int
nb_layer
=
rel15_ul
->
nrOfLayers
;
int
nb_layer
=
rel15_ul
->
nrOfLayers
;
int
nb_rx_ant
=
frame_parms
->
nb_antennas_rx
;
int
nb_rx_ant
=
frame_parms
->
nb_antennas_rx
;
int
dmrs_symbol_flag
=
(
rel15_ul
->
ul_dmrs_symb_pos
>>
symbol
)
&
0x01
;
int
dmrs_symbol_flag
=
(
rel15_ul
->
ul_dmrs_symb_pos
>>
symbol
)
&
0x01
;
int
buffer_length
=
(
rel15_ul
->
rb_size
*
NR_NB_SC_PER_RB
+
7
)
&
~
7
;
int
buffer_length
=
(
rel15_ul
->
rb_size
*
NR_NB_SC_PER_RB
+
15
)
&
~
15
;
c16_t
rxFext
[
nb_rx_ant
][
buffer_length
]
__attribute__
((
aligned
(
32
)));
c16_t
rxFext
[
nb_rx_ant
][
buffer_length
]
__attribute__
((
aligned
(
32
)));
c16_t
chFext
[
nb_layer
][
nb_rx_ant
][
buffer_length
]
__attribute__
((
aligned
(
32
)));
c16_t
chFext
[
nb_layer
][
nb_rx_ant
][
buffer_length
]
__attribute__
((
aligned
(
32
)));
...
@@ -1578,8 +1577,7 @@ int nr_rx_pusch_tp(PHY_VARS_gNB *gNB,
...
@@ -1578,8 +1577,7 @@ int nr_rx_pusch_tp(PHY_VARS_gNB *gNB,
// extract the data in the OFDM frame, to the start of the array
// extract the data in the OFDM frame, to the start of the array
int
soffset
=
(
slot
&
3
)
*
frame_parms
->
symbols_per_slot
*
frame_parms
->
ofdm_symbol_size
;
int
soffset
=
(
slot
&
3
)
*
frame_parms
->
symbols_per_slot
*
frame_parms
->
ofdm_symbol_size
;
if
(
nb_re_pusch
&
7
)
nb_re_pusch
=
(
nb_re_pusch
+
15
)
&
~
15
;
nb_re_pusch
+=
8
-
(
nb_re_pusch
&
7
);
for
(
int
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
for
(
int
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
for
(
int
aatx
=
0
;
aatx
<
rel15_ul
->
nrOfLayers
;
aatx
++
)
for
(
int
aatx
=
0
;
aatx
<
rel15_ul
->
nrOfLayers
;
aatx
++
)
...
...
openair1/PHY/NR_TRANSPORT/nr_ulsch_llr_computation.c
View file @
7957b466
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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