5G UE and RAN (gNodeB) simulator

Hey All.

Is there any open-source gnb-and-ue simulator?

I am using Matlab 5G toolbox but I want to explore open-source options that are more or less as good as what Matlab offers.

I want to have CU and DU functions including MAC and scheduling functionalities.

Best is Amarisoft, but it is not free.

You can see DCI, per TTI and many other things.

Try ns3 simulator, have lots of MAC functionality.