You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a project without lookup tables. I've read in the Workflow Overview that all P4 designs must have at least one table or extern function with a control interface.
My design has some register externs that have control interfaces and I assumed this would have been enough.
At first, I've tried just to use an empty command.txt file and no table instantiation in the p4 code. What happens is that, when I try to compile it, I get:
cp src/.tbl nf_sume_sdnet_ip/SimpleSumeSwitch/
cp: cannot stat 'src/.tbl': No such file or directory
make: *** [Makefile:45: all] Error 1
I then tried to comment out line 45 in ${P4_PROG_DIR}/Makefile, that is cp src/*.tbl ${SDNET_OUT_DIR}/${P4_SWITCH}/.
At this point, the compiling goes through, but then SDNet simulation hangs at:
Hello.
I am trying to create a project without lookup tables. I've read in the Workflow Overview that all P4 designs must have at least one table or extern function with a control interface.
My design has some register externs that have control interfaces and I assumed this would have been enough.
At first, I've tried just to use an empty command.txt file and no table instantiation in the p4 code. What happens is that, when I try to compile it, I get:
I then tried to comment out line 45 in
${P4_PROG_DIR}/Makefile
, that iscp src/*.tbl ${SDNET_OUT_DIR}/${P4_SWITCH}/
.At this point, the compiling goes through, but then SDNet simulation hangs at:
I've then tried commenting out other lines in the Makefile, but nothing changes.
Is there a way to avoid instantiating tables or must I use a dummy one?
Thank you for your time!
The text was updated successfully, but these errors were encountered: