testing
This commit is contained in:
@@ -1151,7 +1151,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 0
|
#if 1
|
||||||
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,
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ void nr_polar_init(t_nrPolar_paramsPtr *polarParams,
|
|||||||
else currentPtr = currentPtr->nextPtr;
|
else currentPtr = currentPtr->nextPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("currentPtr %p (polarParams %p)\n",currentPtr,polarParams);
|
// printf("currentPtr %p (polarParams %p)\n",currentPtr,polarParams);
|
||||||
//Else, initialize and add node to the end of the linked list.
|
//Else, initialize and add node to the end of the linked list.
|
||||||
t_nrPolar_paramsPtr newPolarInitNode = malloc(sizeof(t_nrPolar_params));
|
t_nrPolar_paramsPtr newPolarInitNode = malloc(sizeof(t_nrPolar_params));
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
#include "PHY/sse_intrin.h"
|
#include "PHY/sse_intrin.h"
|
||||||
|
|
||||||
//#define DEBUG_PBCH
|
//#define DEBUG_PBCH
|
||||||
//#define DEBUG_PBCH_ENCODING
|
#define DEBUG_PBCH_ENCODING
|
||||||
//#define DEBUG_PBCH_DMRS
|
//#define DEBUG_PBCH_DMRS
|
||||||
|
|
||||||
#include "PHY/NR_REFSIG/nr_mod_table.h"
|
#include "PHY/NR_REFSIG/nr_mod_table.h"
|
||||||
|
|||||||
@@ -675,7 +675,7 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
|
|||||||
|
|
||||||
if(decoderState > 0) return(decoderState);
|
if(decoderState > 0) return(decoderState);
|
||||||
|
|
||||||
//printf("polar decoder output 0x%08x\n",nr_ue_pbch_vars->pbch_a_prime);
|
printf("polar decoder output 0x%08x\n",nr_ue_pbch_vars->pbch_a_prime);
|
||||||
|
|
||||||
//payload un-scrambling
|
//payload un-scrambling
|
||||||
memset(&nr_ue_pbch_vars->pbch_a_interleaved, 0, sizeof(uint32_t) );
|
memset(&nr_ue_pbch_vars->pbch_a_interleaved, 0, sizeof(uint32_t) );
|
||||||
|
|||||||
Reference in New Issue
Block a user