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 advance the packet cursor by 8 bits using the code: b.advance((bit<32>) 8).
This line of code is actually extracting the bits from the packet header and then
does not emit it back on the packet. I got to know this from the vivado.bash results.
Note: I am using a lookahead() method just before the advance().
The text was updated successfully, but these errors were encountered:
I have created a sample P4 code to test the working of advance() method.
I have attached gen_testdata.py, commands.txt, and test-advance.p4 files as .txt file.
This is the ERROR output of ./vivado.bash
I think the cursor is not working properly.
I am trying to advance the packet cursor by 8 bits using the code:
b.advance((bit<32>) 8).
This line of code is actually extracting the bits from the packet header and then
does not emit it back on the packet. I got to know this from the
vivado.bash
results.Note: I am using a lookahead() method just before the advance().
The text was updated successfully, but these errors were encountered: