We have created our own P4 project, and wrote the corresponding gen_testdata.py and also modified the header file appropriately. But we keep getting the error:
Error: Single Control Port option is invalid, if there are no access ports within the design.
We are unable to find any info regarding this error and hence can't proceed. What could be the issue? Find below relevant code from files (P4 file attached as .txt):
Please make sure that your P4 program has at least one table. The tools will try to connect a control interface to the HDL module generated from your P4 program.
We have created our own P4 project, and wrote the corresponding gen_testdata.py and also modified the header file appropriately. But we keep getting the error:
Error: Single Control Port option is invalid, if there are no access ports within the design.
We are unable to find any info regarding this error and hence can't proceed. What could be the issue? Find below relevant code from files (P4 file attached as .txt):
_gentestdata.py:
header file:
Error on console:
smartho_cu.p4.txt