2015-09-12 14:53:14 -04:00
|
|
|
COREDIR = ../
|
2015-09-07 07:28:02 -04:00
|
|
|
PYTHON = python3
|
|
|
|
|
2015-09-12 14:53:14 -04:00
|
|
|
CMD = PYTHONPATH=$(COREDIR) $(PYTHON)
|
2015-09-07 07:28:02 -04:00
|
|
|
|
|
|
|
model_tb:
|
|
|
|
$(CMD) ./model/mac.py
|
|
|
|
$(CMD) ./model/arp.py
|
|
|
|
$(CMD) ./model/ip.py
|
|
|
|
$(CMD) ./model/udp.py
|
|
|
|
$(CMD) ./model/icmp.py
|
|
|
|
$(CMD) ./model/etherbone.py
|
|
|
|
|
|
|
|
mac_core_tb:
|
|
|
|
$(CMD) mac_core_tb.py
|
|
|
|
|
|
|
|
mac_wishbone_tb:
|
|
|
|
$(CMD) mac_wishbone_tb.py
|
|
|
|
|
|
|
|
arp_tb:
|
|
|
|
$(CMD) arp_tb.py
|
|
|
|
|
|
|
|
ip_tb:
|
|
|
|
$(CMD) ip_tb.py
|
|
|
|
|
|
|
|
udp_tb:
|
|
|
|
$(CMD) udp_tb.py
|
|
|
|
|
|
|
|
icmp_tb:
|
|
|
|
$(CMD) icmp_tb.py
|
|
|
|
|
|
|
|
etherbone_tb:
|
|
|
|
$(CMD) etherbone_tb.py
|
2015-09-12 10:28:09 -04:00
|
|
|
|
|
|
|
example_designs:
|
|
|
|
cd ../example_designs && $(PYTHON) make.py -t base -p kc705 -Ob run False build-bitstream
|
|
|
|
cd ../example_designs && $(PYTHON) make.py -t udp -p kc705 -Ob run False build-bitstream
|
|
|
|
cd ../example_designs && $(PYTHON) make.py -t etherbone -p kc705 -Ob run False build-bitstream
|
|
|
|
cd ../example_designs && $(PYTHON) make.py -t tty -p kc705 -Ob run False build-bitstream
|
2015-09-12 14:53:14 -04:00
|
|
|
|
|
|
|
all: model_tb mac_core_tb arp_tb ip_tb udp_tb icmp_tb etherbone_tb example_designs
|