example_designs/targets: add Makefile to build cores

This commit is contained in:
Florent Kermarrec 2016-02-10 10:27:11 +01:00
parent 59bfdd3d7f
commit fef1be9c35
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
cores:
rm -rf cores
mkdir cores
python3 core.py --phy MII --core mac
cp liteeth/gateware/liteeth.v cores/liteeth_mac_wishbone_mii.v
python3 core.py --phy GMII --core mac
cp liteeth/gateware/liteeth.v cores/liteeth_mac_wishbone_gmii.v
python3 core.py --phy RGMII --core mac
cp liteeth/gateware/liteeth.v cores/liteeth_mac_wishbone_rgmii.v
python3 core.py --phy MII --core udp
cp liteeth/gateware/liteeth.v cores/liteeth_udpip_mii.v
python3 core.py --phy GMII --core udp
cp liteeth/gateware/liteeth.v cores/liteeth_udpip_gmii.v
python3 core.py --phy RGMII --core udp
cp liteeth/gateware/liteeth.v cores/liteeth_udpip_rgmii.v
.PHONY: cores