behavioral-model
behavioral-model copied to clipboard
Where is the original p4 source code for recirc.json
Hi,
I can find a recirc. json file in the folder of targets/simple.switch/tests/testdata/. I guess the corresponding p4 source code file should be recirc.p4 which is located in the same folder, but when I tried to recompile this file with command " p4c --target bmv2 --arch v1model ./recirc.p4", I got the following error:
./recirc.p4(16):syntax error, unexpected {, expecting ( header_type intrinsic_metadata_t { ^ [--Werror=overlimit] error: 1 errors encountered, aborting compilation
So how can I recompile and get recirc. json, please help with this, thank you very much!