mirror of
https://github.com/enjoy-digital/liteeth.git
synced 2025-01-03 03:43:37 -05:00
example_designs/targets: add Makefile to build cores
This commit is contained in:
parent
59bfdd3d7f
commit
fef1be9c35
1 changed files with 19 additions and 0 deletions
19
example_designs/targets/Makefile
Normal file
19
example_designs/targets/Makefile
Normal 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
|
Loading…
Reference in a new issue