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
canghaiwuhen
OpenXG-RAN
Commits
f1774b6c
Commit
f1774b6c
authored
Nov 28, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed some logging and warnings
parent
1c686956
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
openair1/PHY/CODING/nrPolar_tools/nr_polar_decoder.c
openair1/PHY/CODING/nrPolar_tools/nr_polar_decoder.c
+2
-2
openair1/PHY/CODING/nrPolar_tools/nr_polar_encoder.c
openair1/PHY/CODING/nrPolar_tools/nr_polar_encoder.c
+2
-2
No files found.
openair1/PHY/CODING/nrPolar_tools/nr_polar_decoder.c
View file @
f1774b6c
...
...
@@ -1056,7 +1056,7 @@ void init_polar_deinterleaver_table(t_nrPolar_params *polarParams) {
for
(
int
i
=
0
;
i
<
numbits
;
i
++
)
{
// flip bit endian for B
ip
=
polarParams
->
K
-
1
-
polarParams
->
interleaving_pattern
[(
8
*
byte
)
+
i
];
#if
1
#if
0
printf("byte %d, i %d => ip %d\n",byte,i,ip);
#endif
ipmod64
=
ip
&
63
;
...
...
@@ -1149,7 +1149,7 @@ uint32_t polar_decoder_int16(int16_t *input,
crc
=
(
uint64_t
)(
crc24c
(
A64_flip
,
len
)
>>
8
);
}
#if
1
#if
0
printf("A %llx B %llx|%llx Cprime %llx|%llx (crc %x,rxcrc %llx %d)\n",
Ar,
B[1],B[0],Cprime[1],Cprime[0],crc,
...
...
openair1/PHY/CODING/nrPolar_tools/nr_polar_encoder.c
View file @
f1774b6c
...
...
@@ -30,7 +30,7 @@
* \warning
*/
#define DEBUG_POLAR_ENCODER
//
#define DEBUG_POLAR_ENCODER
//#define DEBUG_POLAR_ENCODER_DCI
//#define DEBUG_POLAR_ENCODER_TIMING
...
...
@@ -419,7 +419,7 @@ void polar_encoder_fast(uint64_t *A,
tcrc
=
(
uint64_t
)((
crcmask
^
(
crc24c
(
A32_flip
,
bitlen
)
>>
8
)));
}
else
if
(
bitlen
<=
64
)
{
uint8_t
A64_flip
[
4
];
uint8_t
A64_flip
[
8
];
uint64_t
Aprime
=
(
uint32_t
)(((
uint64_t
)
*
A
)
<<
(
64
-
bitlen
));
A64_flip
[
0
]
=
((
uint8_t
*
)
&
Aprime
)[
7
];
A64_flip
[
1
]
=
((
uint8_t
*
)
&
Aprime
)[
6
];
...
...
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