C++ Modelling for Physical layer 5G SoCs