From b9a8213ac62d4f3fa5fb1ec321c796730f86ee37 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 22 Jul 2019 22:27:21 +0200 Subject: [PATCH] import makefile from step 8 --- .../test/sim_switch_default/Makefile | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 netpfga/minip4/simple_sume_switch/test/sim_switch_default/Makefile diff --git a/netpfga/minip4/simple_sume_switch/test/sim_switch_default/Makefile b/netpfga/minip4/simple_sume_switch/test/sim_switch_default/Makefile new file mode 100644 index 0000000..c44db66 --- /dev/null +++ b/netpfga/minip4/simple_sume_switch/test/sim_switch_default/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (c) 2017 Stephen Ibanez +# All rights reserved. +# +# This software was developed by Stanford University and the University of Cambridge Computer Laboratory +# under National Science Foundation under Grant No. CNS-0855268, +# the University of Cambridge Computer Laboratory under EPSRC INTERNET Project EP/H040536/1 and +# by the University of Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-11-C-0249 ("MRC2"), +# as part of the DARPA MRC research programme. +# +# @NETFPGA_LICENSE_HEADER_START@ +# +# Licensed to NetFPGA C.I.C. (NetFPGA) under one or more contributor +# license agreements. See the NOTICE file distributed with this work for +# additional information regarding copyright ownership. NetFPGA licenses this +# file to you under the NetFPGA Hardware-Software License, Version 1.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at: +# +# http://www.netfpga-cic.org +# +# Unless required by applicable law or agreed to in writing, Work distributed +# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +# CONDITIONS OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# +# @NETFPGA_LICENSE_HEADER_END@ +# + + +# Makefile to set up the simulation environment with the test data + +SDNET_BASE_ADDR=0x44020000 + +all: clean + cp ${P4_PROJECT_DIR}/testdata/config_writes.py ./ + +clean: + rm -f config_writes.py* + rm -f *.pyc