Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
ec9518d1
Commit
ec9518d1
authored
Sep 13, 2018
by
Hongzhi Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nr minor fix ldpc interleaving
parent
839b6b86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
openair1/PHY/CODING/nr_rate_matching.c
openair1/PHY/CODING/nr_rate_matching.c
+1
-3
No files found.
openair1/PHY/CODING/nr_rate_matching.c
View file @
ec9518d1
...
@@ -54,7 +54,7 @@ void nr_deinterleaving_ldpc(uint32_t E, uint8_t Qm, uint8_t *e,uint8_t *f)
...
@@ -54,7 +54,7 @@ void nr_deinterleaving_ldpc(uint32_t E, uint8_t Qm, uint8_t *e,uint8_t *f)
uint32_t
EQm
;
uint32_t
EQm
;
EQm
=
E
/
Qm
;
EQm
=
E
/
Qm
;
memset
(
f
,
0
,
E
*
sizeof
(
uint8_t
));
memset
(
e
,
0
,
E
*
sizeof
(
uint8_t
));
for
(
int
j
=
0
;
j
<
EQm
;
j
++
){
for
(
int
j
=
0
;
j
<
EQm
;
j
++
){
for
(
int
i
=
0
;
i
<
Qm
;
i
++
){
for
(
int
i
=
0
;
i
<
Qm
;
i
++
){
...
@@ -100,8 +100,6 @@ uint32_t nr_rate_matching_ldpc(uint8_t Ilbrm,
...
@@ -100,8 +100,6 @@ uint32_t nr_rate_matching_ldpc(uint8_t Ilbrm,
Cprime
=
C
;
//assume CBGTI not present
Cprime
=
C
;
//assume CBGTI not present
printf
(
"comp r %d
\n
"
,
Cprime
-
((
G
/
(
Nl
*
Qm
))
%
Cprime
)
-
1
);
if
(
r
<=
Cprime
-
((
G
/
(
Nl
*
Qm
))
%
Cprime
)
-
1
)
if
(
r
<=
Cprime
-
((
G
/
(
Nl
*
Qm
))
%
Cprime
)
-
1
)
E
=
Nl
*
Qm
*
(
G
/
(
Nl
*
Qm
*
Cprime
));
E
=
Nl
*
Qm
*
(
G
/
(
Nl
*
Qm
*
Cprime
));
else
else
...
...
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