3 1. l2/build/ : contains files required to compile the code
4 a. common : contains individual module's makefile
5 b. config : contains SSI memory configuration
6 c. odu : contains main makefile to generate an executable binary
8 2. l2/src/ : contains layer specific source code
9 a. 5gnrmac : MAC source code
10 b. 5gnrrlc : RLC source code
11 c. cm : common, environment and interface files
12 d. cu_stub : Stub code for CU
13 e. du_app : DU application and F1 code
14 f. mt : wrapper functions over OS
15 g. phy_stub : Stub code for Physical layer
16 h. rlog : logging module
19 Pre-requisite for Compilation :
20 -------------------------------
21 1. Linux 32-bit/64-bit machine
22 2. GCC version 4.6.3 and above
25 How to Clean and Build:
26 -----------------------
27 1. Building ODU binary:
30 b. Building ODU binary
31 make odu MACHINE=BIT64 MODE=FDD
32 c. Cleaning ODU binary
33 make clean_odu MACHINE=BIT64 MODE=FDD
35 2. Building CU Stub binary:
38 b. Building CU Stub binary
39 make cu_stub MACHINE=BIT64 MODE=FDD
40 c. Cleaning CU Stub binary
41 make clean_cu MACHINE=BIT64 MODE=FDD
43 3. Cleaning ODU and CU Stub
44 make clean_all MACHINE=BIT64 MODE=FDD
48 1. Assign virtual IP addresses as follows:
49 ifconfig <interface name>:ODU "10.0.2.20"
50 ifconfig <interface name>:CU_STUB "10.0.2.25"
52 2. CU execution folder:
55 3. Run CU Stub binary:
56 ./cu_stub -f ../config/ssi_mem
58 4. DU execution folder:
62 ./odu -f ../config/ssi_mem
64 PS: CU stub must be run first