liteeth/test/Makefile

45 lines
1.4 KiB
Makefile
Raw Normal View History

COREDIR = ../
2015-09-07 07:28:02 -04:00
PYTHON = python3
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
example_designs:
cd ../example_designs && $(PYTHON) make.py -t base -s BaseSoC -p kc705 -Ob run False build-bitstream
cd ../example_designs && $(PYTHON) make.py -t base -s BaseSoCDevel -p kc705 -Ob run False build-bitstream
cd ../example_designs && $(PYTHON) make.py -t udp -s UDPSoC -p kc705 -Ob run False build-bitstream
cd ../example_designs && $(PYTHON) make.py -t udp -s UDPSoCDevel -p kc705 -Ob run False build-bitstream
cd ../example_designs && $(PYTHON) make.py -t etherbone -s EtherboneSoC -p kc705 -Ob run False build-bitstream
cd ../example_designs && $(PYTHON) make.py -t etherbone -s EtherboneSoCDevel -p kc705 -Ob run False build-bitstream
cd ../example_designs && $(PYTHON) make.py -t tty -s TTYSoC -p kc705 -Ob run False build-bitstream
cd ../example_designs && $(PYTHON) make.py -t tty -s TTYSoCDevel -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