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
e3cc82b9
Commit
e3cc82b9
authored
Aug 29, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bugfix-vcd' into develop_integration_w34
parents
17b9a9e9
309ca066
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
15 deletions
+11
-15
openair2/UTIL/LOG/vcd_signal_dumper.c
openair2/UTIL/LOG/vcd_signal_dumper.c
+9
-9
openair2/UTIL/LOG/vcd_signal_dumper.h
openair2/UTIL/LOG/vcd_signal_dumper.h
+2
-6
No files found.
openair2/UTIL/LOG/vcd_signal_dumper.c
View file @
e3cc82b9
...
...
@@ -175,16 +175,16 @@ const char* eurecomVariablesNames[] = {
"ue0_SFN5"
,
"ue0_SFN6"
,
"ue0_SFN7"
,
"send_if4_symbol"
,
"recv_if4_symbol"
,
"send_if5_pkt_id"
,
"recv_if5_pkt_id"
,
"ue_pdcp_flush_size"
,
"ue_pdcp_flush_err"
,
"ue0_trx_read_ns"
,
"ue0_trx_write_ns"
,
"ue0_trx_read_ns_missing"
,
"ue0_trx_write_ns_missing"
"send_if4_symbol"
,
"recv_if4_symbol"
,
"send_if5_pkt_id"
,
"recv_if5_pkt_id"
"ue0_trx_write_ns_missing"
,
};
const
char
*
eurecomFunctionsNames
[]
=
{
...
...
@@ -382,10 +382,10 @@ const char* eurecomFunctionsNames[] = {
"recv_if5"
,
"compress_if"
,
"decompress_if"
"decompress_if"
,
};
struct
vcd_module_s
vcd_modules
[
VCD_SIGNAL_DUMPER_MODULE_END
]
=
{
struct
vcd_module_s
vcd_modules
[]
=
{
{
"variables"
,
VCD_SIGNAL_DUMPER_VARIABLES_END
,
eurecomVariablesNames
,
VCD_WIRE
,
64
},
{
"functions"
,
VCD_SIGNAL_DUMPER_FUNCTIONS_END
,
eurecomFunctionsNames
,
VCD_WIRE
,
1
},
// { "ue_procedures_functions", VCD_SIGNAL_DUMPER_UE_PROCEDURES_FUNCTIONS_END, eurecomUEFunctionsNames, VCD_WIRE, 1 },
...
...
@@ -686,7 +686,7 @@ void vcd_signal_dumper_create_header(void)
fprintf
(
vcd_fd
,
"$timescale 1 ns $end
\n
"
);
/* Initialize each module definition */
for
(
i
=
0
;
i
<
VCD_SIGNAL_DUMPER_MODULE_END
;
i
++
)
{
for
(
i
=
0
;
i
<
sizeof
(
vcd_modules
)
/
sizeof
(
struct
vcd_module_s
)
;
i
++
)
{
struct
vcd_module_s
*
module
;
module
=
&
vcd_modules
[
i
];
fprintf
(
vcd_fd
,
"$scope module %s $end
\n
"
,
module
->
name
);
...
...
@@ -711,7 +711,7 @@ void vcd_signal_dumper_create_header(void)
/* Init variables and functions to 0 */
fprintf
(
vcd_fd
,
"$dumpvars
\n
"
);
for
(
i
=
0
;
i
<
VCD_SIGNAL_DUMPER_MODULE_END
;
i
++
)
{
for
(
i
=
0
;
i
<
sizeof
(
vcd_modules
)
/
sizeof
(
struct
vcd_module_s
)
;
i
++
)
{
struct
vcd_module_s
*
module
;
module
=
&
vcd_modules
[
i
];
...
...
openair2/UTIL/LOG/vcd_signal_dumper.h
View file @
e3cc82b9
...
...
@@ -157,8 +157,7 @@ typedef enum {
VCD_SIGNAL_DUMPER_VARIABLES_UE0_TRX_WRITE_NS
,
VCD_SIGNAL_DUMPER_VARIABLES_UE0_TRX_READ_NS_MISSING
,
VCD_SIGNAL_DUMPER_VARIABLES_UE0_TRX_WRITE_NS_MISSING
,
VCD_SIGNAL_DUMPER_VARIABLES_LAST
,
VCD_SIGNAL_DUMPER_VARIABLES_END
=
VCD_SIGNAL_DUMPER_VARIABLES_LAST
,
VCD_SIGNAL_DUMPER_VARIABLES_END
}
vcd_signal_dump_variables
;
typedef
enum
{
...
...
@@ -361,8 +360,7 @@ typedef enum {
VCD_SIGNAL_DUMPER_FUNCTIONS_TRX_COMPR_IF
,
VCD_SIGNAL_DUMPER_FUNCTIONS_TRX_DECOMPR_IF
,
VCD_SIGNAL_DUMPER_FUNCTIONS_LAST
,
VCD_SIGNAL_DUMPER_FUNCTIONS_END
=
VCD_SIGNAL_DUMPER_FUNCTIONS_LAST
,
VCD_SIGNAL_DUMPER_FUNCTIONS_END
}
vcd_signal_dump_functions
;
typedef
enum
{
...
...
@@ -371,8 +369,6 @@ typedef enum {
VCD_SIGNAL_DUMPER_MODULE_VARIABLES
,
VCD_SIGNAL_DUMPER_MODULE_FUNCTIONS
,
// VCD_SIGNAL_DUMPER_MODULE_UE_PROCEDURES_FUNCTIONS,
VCD_SIGNAL_DUMPER_MODULE_LAST
,
VCD_SIGNAL_DUMPER_MODULE_END
=
VCD_SIGNAL_DUMPER_MODULE_LAST
,
}
vcd_signal_dumper_modules
;
typedef
enum
{
...
...
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