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