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
6c889242
Commit
6c889242
authored
Oct 31, 2023
by
Valentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ldpc-offload-xdma): remove debuging prints from the driver
parent
65fea7a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
openair1/PHY/CODING/nrLDPC_decoder_offload_xdma/nrLDPC_decoder_offload_xdma.c
...nrLDPC_decoder_offload_xdma/nrLDPC_decoder_offload_xdma.c
+0
-10
No files found.
openair1/PHY/CODING/nrLDPC_decoder_offload_xdma/nrLDPC_decoder_offload_xdma.c
View file @
6c889242
...
@@ -133,7 +133,6 @@ ssize_t read_to_buffer(char* fname, int fd, char* buffer, uint64_t size, uint64_
...
@@ -133,7 +133,6 @@ ssize_t read_to_buffer(char* fname, int fd, char* buffer, uint64_t size, uint64_
while
(
count
<
size
)
{
while
(
count
<
size
)
{
uint64_t
bytes
=
size
-
count
;
uint64_t
bytes
=
size
-
count
;
printf
(
"[read_buf]size = %d, count = %d, bytes = %d
\n
"
,
size
,
count
,
bytes
);
if
(
bytes
>
RW_MAX_SIZE
)
if
(
bytes
>
RW_MAX_SIZE
)
bytes
=
RW_MAX_SIZE
;
bytes
=
RW_MAX_SIZE
;
...
@@ -176,8 +175,6 @@ ssize_t write_from_buffer(char* fname, int fd, char* buffer, uint64_t size, uint
...
@@ -176,8 +175,6 @@ ssize_t write_from_buffer(char* fname, int fd, char* buffer, uint64_t size, uint
while
(
count
<
size
)
{
while
(
count
<
size
)
{
uint64_t
bytes
=
size
-
count
;
uint64_t
bytes
=
size
-
count
;
printf
(
"[write_buf]size = %d, count = %d, bytes = %d
\n
"
,
size
,
count
,
bytes
);
if
(
bytes
>
RW_MAX_SIZE
)
if
(
bytes
>
RW_MAX_SIZE
)
bytes
=
RW_MAX_SIZE
;
bytes
=
RW_MAX_SIZE
;
...
@@ -193,7 +190,6 @@ ssize_t write_from_buffer(char* fname, int fd, char* buffer, uint64_t size, uint
...
@@ -193,7 +190,6 @@ ssize_t write_from_buffer(char* fname, int fd, char* buffer, uint64_t size, uint
/* write data to file from memory buffer */
/* write data to file from memory buffer */
rc
=
write
(
fd
,
buf
,
bytes
);
rc
=
write
(
fd
,
buf
,
bytes
);
printf
(
"bytes = %d
\n
"
,
bytes
);
if
(
rc
!=
bytes
)
{
if
(
rc
!=
bytes
)
{
fprintf
(
stderr
,
"%s, W off 0x%lx, 0x%lx != 0x%lx.
\n
"
,
fname
,
offset
,
rc
,
bytes
);
fprintf
(
stderr
,
"%s, W off 0x%lx, 0x%lx != 0x%lx.
\n
"
,
fname
,
offset
,
rc
,
bytes
);
perror
(
"write file"
);
perror
(
"write file"
);
...
@@ -693,11 +689,6 @@ void test_dma_init()
...
@@ -693,11 +689,6 @@ void test_dma_init()
fd_enc_read
=
open
(
DEVICE_NAME_DEFAULT_ENC_READ
,
O_RDWR
);
fd_enc_read
=
open
(
DEVICE_NAME_DEFAULT_ENC_READ
,
O_RDWR
);
fd_dec_write
=
open
(
DEVICE_NAME_DEFAULT_DEC_WRITE
,
O_RDWR
);
fd_dec_write
=
open
(
DEVICE_NAME_DEFAULT_DEC_WRITE
,
O_RDWR
);
fd_dec_read
=
open
(
DEVICE_NAME_DEFAULT_DEC_READ
,
O_RDWR
);
fd_dec_read
=
open
(
DEVICE_NAME_DEFAULT_DEC_READ
,
O_RDWR
);
printf
(
"----------
\n
test_dma_init
\n
----------
\n
"
);
printf
(
"fd_enc_write = %d
\n
"
,
fd_enc_write
);
printf
(
"fd_enc_read = %d
\n
"
,
fd_enc_read
);
printf
(
"fd_dec_write = %d
\n
"
,
fd_dec_write
);
printf
(
"fd_dec_read = %d
\n
"
,
fd_dec_read
);
fflush
(
stdout
);
fflush
(
stdout
);
...
@@ -802,7 +793,6 @@ int nrLDPC_decoder_FPGA_PYM(int8_t* buf_in, int8_t* buf_out, DecIFConf dec_conf)
...
@@ -802,7 +793,6 @@ int nrLDPC_decoder_FPGA_PYM(int8_t* buf_in, int8_t* buf_out, DecIFConf dec_conf)
nRows
=
dec_conf
.
nRows
;
// number of Rows
nRows
=
dec_conf
.
nRows
;
// number of Rows
baseGraph
=
dec_conf
.
BG
;
// base graph
baseGraph
=
dec_conf
.
BG
;
// base graph
CB_num
=
dec_conf
.
numCB
;
// 31 number of code block
CB_num
=
dec_conf
.
numCB
;
// 31 number of code block
printf
(
"CB_num = %d
\n
"
,
CB_num
);
numChannelLlrs
=
dec_conf
.
numChannelLls
;
// input soft bits length, Zc x 66 - length of filler bits
numChannelLlrs
=
dec_conf
.
numChannelLls
;
// input soft bits length, Zc x 66 - length of filler bits
numFillerBits
=
dec_conf
.
numFillerBits
;
// filler bits length
numFillerBits
=
dec_conf
.
numFillerBits
;
// filler bits length
...
...
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