Clone
6
Simulators
Gabriele Perrone edited this page 2020-04-08 15:48:50 +02:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

🚧 WORK IN PROGRESS

PLEASE IGNORE THE FOLLOWING PAGE

  • Basic simulator

  • RF simulator

gNB and UE can be run on the same machine (?) (FK/GP)

~/openairinterface5g/cmake_targets$ ./build_oai --gNB --nrUE -w SIMU

~/openairinterface5g/cmake_targets/ran_build/build$ ln s librfsimulator.so liboai_device.so

On one tab:

sudo RFSIMULATOR=eNB ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf --parallel-config PARALLEL_SINGLE_THREAD --noS1 --nokrnmod 1

On another tab:

sudo RFSIMULATOR=127.0.0.1 ./nr-uesoftmodem --numerology 1 -r 106 -C 3510000000 -d --noS1 --nokrnmod 1

in ifconfig you should now see two new network interfaces. Try to send traffic from the gNB to the UE (using for example ping -I oaitun_enb1 10.0.0.2). Keep in mind that only downlink traffic is working.


  • Phy simulator: this is mainly a run of L1 unitary tests; DL (dlsim) and UL (ulsim) are tested separately

  • L1 simulator

  • L2 simulator