NetFPGA / P4-NetFPGA-public

P4-NetFPGA wiki
103 stars 31 forks source link

Doubt in Makefile of int/src directory #29

Closed harshgondaliya closed 5 years ago

harshgondaliya commented 5 years ago
all:
        p4c-sdnet -o ${P4_PROJECT_NAME}.sdnet --sdnet_info .sdnet_switch_info.d\
at ${P4_PROJECT_NAME}_solution.p4
        ${SUME_SDNET}/bin/p4_px_tables.py commands.txt .sdnet_switch_info.dat

Above lines of code are a part of Makefile in the int/src directory, i.e. directory of INT tutorial assignment. In the tutorial steps we are trying to compile and test our own p4 code and not the solution code. In that case, shouldn't ${P4_PROJECT_NAME}_solution.p4 be replaced by ${P4_PROJECT_NAME}.p4 ?

harshgondaliya commented 5 years ago

Just came to know that the fpga2019-tutorial branch has the necessary changes. Also, this issue should have been posted to p4-NetFPGA-live repo.