liteeth/test/Makefile

23 lines
1.2 KiB
Makefile
Raw Normal View History

2015-09-07 07:28:02 -04:00
PYTHON = python3
CMD = $(PYTHON)
2015-09-07 07:28:02 -04:00
model_tb:
2017-09-25 07:12:30 -04:00
cd ../ && PYTHONPATH=./ $(CMD) test/model/mac.py
cd ../ && PYTHONPATH=./ $(CMD) test/model/arp.py
cd ../ && PYTHONPATH=./ $(CMD) test/model/ip.py
cd ../ && PYTHONPATH=./ $(CMD) test/model/udp.py
cd ../ && PYTHONPATH=./ $(CMD) test/model/icmp.py
cd ../ && PYTHONPATH=./ $(CMD) test/model/etherbone.py
2015-09-07 07:28:02 -04:00
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 example_designs