If you do not have a license, request one from AMD through your FAE or Sales representative. Academic users can request a license donation through the Xilinx University Program (XUP).
If the Vivado Design Suite is licensed using a local licensing daemon, the AMD Vitis™ Networking P4 compiler license can be installed by appending the license file location to the XILINXD_LICENSE_FILE environment variable.
In the bash shell:
In the csh shell:
$ setenv XILINXD_LICENSE_FILE
There are two licenses for Vitis Networking P4. The basic license required is the sdnet_p4 license, but this does not support CAMs. To use any CAMs, including CDCAMs, the hcam_base license is also required.
See Vivado Design Suite User Guide: Release Notes, Installation, and Licensing (UG973) or contact your system administrator for the network license installation instructions.