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
bf56ff81
Commit
bf56ff81
authored
Mar 29, 2023
by
Laurent THOMAS
Committed by
laurent
Apr 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
char
parent
92597149
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair1/PHY/CODING/TESTBENCH/ldpctest.c
openair1/PHY/CODING/TESTBENCH/ldpctest.c
+2
-2
No files found.
openair1/PHY/CODING/TESTBENCH/ldpctest.c
View file @
bf56ff81
...
@@ -428,13 +428,13 @@ int test_ldpc(short max_iterations,
...
@@ -428,13 +428,13 @@ int test_ldpc(short max_iterations,
return
*
errors
;
return
*
errors
;
}
}
int
main
(
int
argc
,
int8_t
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
unsigned
int
errors
,
errors_bit
,
crc_misses
;
unsigned
int
errors
,
errors_bit
,
crc_misses
;
double
errors_bit_uncoded
;
double
errors_bit_uncoded
;
short
block_length
=
8448
;
// decoder supports length: 1201 -> 1280, 2401 -> 2560
short
block_length
=
8448
;
// decoder supports length: 1201 -> 1280, 2401 -> 2560
int8_t
*
ldpc_version
=
NULL
;
/* version of the ldpc decoder library to use (XXX suffix to use when loading libldpc_XXX.so */
char
*
ldpc_version
=
NULL
;
/* version of the ldpc decoder library to use (XXX suffix to use when loading libldpc_XXX.so */
short
max_iterations
=
5
;
short
max_iterations
=
5
;
int
n_segments
=
1
;
int
n_segments
=
1
;
//double rate=0.333;
//double rate=0.333;
...
...
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