liteeth/test/Makefile

41 lines
922 B
Makefile

COREDIR = ../
PYTHON = python3
CMD = PYTHONPATH=$(COREDIR) $(PYTHON)
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
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
all: model_tb mac_core_tb arp_tb ip_tb udp_tb icmp_tb etherbone_tb example_designs