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
ZhouShuya
OpenXG-RAN
Commits
e3ac0404
Commit
e3ac0404
authored
Jan 15, 2021
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix printf() formats for unsigned integers in nr_ulsim
parent
7e93eef4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+4
-4
No files found.
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
e3ac0404
...
...
@@ -757,10 +757,10 @@ int main(int argc, char **argv)
unsigned
int
TBS
=
nr_compute_tbs
(
mod_order
,
code_rate
,
nb_rb
,
nb_symb_sch
,
nb_re_dmrs
*
number_dmrs_symbols
,
0
,
0
,
precod_nbr_layers
);
printf
(
"[ULSIM]: length_dmrs: %
d, l_prime_mask: %d number_dmrs_symbols: %d, mapping_type: %d add_pos: %d
\n
"
,
length_dmrs
,
l_prime_mask
,
number_dmrs_symbols
,
mapping_type
,
add_pos
);
printf
(
"[ULSIM]: CDM groups: %
d, dmrs_config_type: %d, num_rbs: %d, nb_symb_sch: %d
\n
"
,
num_dmrs_cdm_grps_no_data
,
dmrs_config_type
,
nb_rb
,
nb_symb_sch
);
printf
(
"[ULSIM]: MCS: %d, mod order: %
d, code_rate: %d
\n
"
,
Imcs
,
mod_order
,
code_rate
);
printf
(
"[ULSIM]: VALUE OF G: %
d, TBS: %d
\n
"
,
available_bits
,
TBS
);
printf
(
"[ULSIM]: length_dmrs: %
u, l_prime_mask: %u number_dmrs_symbols: %u, mapping_type: %u add_pos: %d
\n
"
,
length_dmrs
,
l_prime_mask
,
number_dmrs_symbols
,
mapping_type
,
add_pos
);
printf
(
"[ULSIM]: CDM groups: %
u, dmrs_config_type: %d, num_rbs: %u, nb_symb_sch: %u
\n
"
,
num_dmrs_cdm_grps_no_data
,
dmrs_config_type
,
nb_rb
,
nb_symb_sch
);
printf
(
"[ULSIM]: MCS: %d, mod order: %
u, code_rate: %u
\n
"
,
Imcs
,
mod_order
,
code_rate
);
printf
(
"[ULSIM]: VALUE OF G: %
u, TBS: %u
\n
"
,
available_bits
,
TBS
);
...
...
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