- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: CC-BY-4.0
|
|
|
|
VCD Plugin v0.1
|
|
|
|
The VCD plugin outputs signals to a .vcd file which is readable by gtkwave (http://en.wikipedia.org/wiki/GTKWave).
|
|
Signals may have two types:
|
|
- Variables to dump the state of a variable (range 0..2^64 - 1).
|
|
- Functions to log function usage (implies two call to VCD API: IN and OUT)
|
|
|
|
The VCD file generated is called openair_vcd_dump.vcd and is located in the execution folder.
|
|
|
|
Usage:
|
|
1) To dump function usage:
|
|
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(FUNCTION_NAME, VCD_FUNCTION_IN); at start of function
|
|
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(FUNCTION_NAME, VCD_FUNCTION_OUT); at end of function
|
|
FUNCTION_NAME should be defined in the enum in vcd_signal_dumper.h and the function name should be addded at the right place in the vcd_signal_dumper.c file.
|
|
|
|
2) To dump a variable:
|
|
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME(VARIABLE_NAME, value); where VARIABLE_NAME is defined as described above for functions and value is the state of the variable at log time.
|
|
|
|
TODO list:
|
|
- Add support for signed variables
|
|
- Create more than two module (for now: one for variable, one for functions)
|
|
- Integrate date in filename
|
|
- Use a more accurate clock (if necessary) or use a host specific clock (for other systems than Linux)
|
|
|
|
Useful link:
|
|
http://www.beyondttl.com/vcd.php
|