++makefile

This commit is contained in:
Nico Schottelius 2019-06-24 13:42:12 +02:00
parent a17832ebed
commit 086d076374

View file

@ -20,7 +20,7 @@ all: clean frontend compile_no_cpp_test run_scripts
# Compile to HDL with P4-SDNet # Compile to HDL with P4-SDNet
# Running vivado_sim.bash or questa.bash compares the HDL simulation output to the C++ simulation output # Running vivado_sim.bash or questa.bash compares the HDL simulation output to the C++ simulation output
cpp_test: clean frontend compile_cpp_test run_scripts cpp_test: clean frontend compile_cpp_test run_scripts
cp src/*.tbl ${SDNET_OUT_DIR}/${P4_SWITCH}/ cp src/*.tbl ${SDNET_OUT_DIR}/${P4_SWITCH}/
cp testdata/src.pcap ${SDNET_OUT_DIR}/${P4_SWITCH}/Packet.user cp testdata/src.pcap ${SDNET_OUT_DIR}/${P4_SWITCH}/Packet.user
cp testdata/Tuple_in.txt ${SDNET_OUT_DIR}/${P4_SWITCH}/Tuple.user cp testdata/Tuple_in.txt ${SDNET_OUT_DIR}/${P4_SWITCH}/Tuple.user
cp src/*.tbl ${SDNET_OUT_DIR}/${P4_SWITCH}/${P4_SWITCH}.TB/ cp src/*.tbl ${SDNET_OUT_DIR}/${P4_SWITCH}/${P4_SWITCH}.TB/