mirror of
https://github.com/alexforencich/verilog-ethernet.git
synced 2025-01-14 06:43:18 +08:00
Support both versions of ML605
This commit is contained in:
parent
bd27156f35
commit
3063a761e5
@ -1,6 +1,7 @@
|
|||||||
# User Constraints File for the Xilinx ML605 board, rev C
|
# User Constraints File for the Xilinx ML605 board, rev C
|
||||||
|
|
||||||
CONFIG PART = xc6vlx130t-1ff1156;
|
#CONFIG PART = xc6vlx130t-1ff1156;
|
||||||
|
#CONFIG PART = xc6vlx240t-1ff1156;
|
||||||
|
|
||||||
# 200MHz clock
|
# 200MHz clock
|
||||||
NET "sys_clk_p" LOC = "J9" | IOSTANDARD=LVDS_25; # Bank = 34, IO_L0P_GC_34 (GCLK)
|
NET "sys_clk_p" LOC = "J9" | IOSTANDARD=LVDS_25; # Bank = 34, IO_L0P_GC_34 (GCLK)
|
||||||
|
73
example/ML605/fpga_gmii/fpga_240t/Makefile
Normal file
73
example/ML605/fpga_gmii/fpga_240t/Makefile
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
|
||||||
|
# FPGA settings
|
||||||
|
FPGA_PART = xc6vlx240t-1ff1156
|
||||||
|
FPGA_TOP = fpga
|
||||||
|
FPGA_ARCH = spartan6
|
||||||
|
|
||||||
|
# PROM settings
|
||||||
|
#PROM = xc18v04
|
||||||
|
#SPI_PROM_SIZE = (in bytes)
|
||||||
|
|
||||||
|
# Files for synthesis
|
||||||
|
SYN_FILES = rtl/fpga.v
|
||||||
|
SYN_FILES += rtl/fpga_core.v
|
||||||
|
SYN_FILES += rtl/debounce_switch.v
|
||||||
|
SYN_FILES += rtl/sync_reset.v
|
||||||
|
SYN_FILES += rtl/sync_signal.v
|
||||||
|
SYN_FILES += lib/eth/rtl/iddr.v
|
||||||
|
SYN_FILES += lib/eth/rtl/oddr.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ssio_sdr_in.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ssio_sdr_out.v
|
||||||
|
SYN_FILES += lib/eth/rtl/gmii_phy_if.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mac_1g_gmii_fifo.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mac_1g_gmii.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mac_1g.v
|
||||||
|
SYN_FILES += lib/eth/rtl/axis_gmii_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/axis_gmii_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/lfsr.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_axis_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_axis_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_complete.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_checksum_gen.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_ip_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_ip_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_complete.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_eth_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_eth_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_arb_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp_cache.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp_eth_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp_eth_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_arb_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/arbiter.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/priority_encoder.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/axis_fifo.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/axis_async_frame_fifo.v
|
||||||
|
#SYN_FILES += coregen/dcm_i100_o125/dcm_i100_o125.v
|
||||||
|
|
||||||
|
# UCF files
|
||||||
|
UCF_FILES = fpga.ucf
|
||||||
|
UCF_FILES += clock.ucf
|
||||||
|
|
||||||
|
# NGC paths for ngdbuild
|
||||||
|
#NGC_PATHS = coregen/dcm_i100_o125
|
||||||
|
|
||||||
|
# Bitgen options
|
||||||
|
BITGEN_OPTIONS = -g StartupClk:Cclk -g ConfigRate:26
|
||||||
|
|
||||||
|
include ../common/xilinx.mk
|
||||||
|
|
||||||
|
program: $(FPGA_TOP).bit
|
||||||
|
echo "setmode -bscan" > program.cmd
|
||||||
|
echo "setcable -p auto" >> program.cmd
|
||||||
|
echo "identify" >> program.cmd
|
||||||
|
echo "assignfile -p 2 -file $(FPGA_TOP).bit" >> program.cmd
|
||||||
|
echo "program -p 2" >> program.cmd
|
||||||
|
echo "quit" >> program.cmd
|
||||||
|
impact -batch program.cmd
|
||||||
|
|
@ -1,6 +1,7 @@
|
|||||||
# User Constraints File for the Xilinx ML605 board, rev C
|
# User Constraints File for the Xilinx ML605 board, rev C
|
||||||
|
|
||||||
CONFIG PART = xc6vlx130t-1ff1156;
|
#CONFIG PART = xc6vlx130t-1ff1156;
|
||||||
|
#CONFIG PART = xc6vlx240t-1ff1156;
|
||||||
|
|
||||||
# 200MHz clock
|
# 200MHz clock
|
||||||
NET "sys_clk_p" LOC = "J9" | IOSTANDARD=LVDS_25; # Bank = 34, IO_L0P_GC_34 (GCLK)
|
NET "sys_clk_p" LOC = "J9" | IOSTANDARD=LVDS_25; # Bank = 34, IO_L0P_GC_34 (GCLK)
|
||||||
|
73
example/ML605/fpga_rgmii/fpga_240t/Makefile
Normal file
73
example/ML605/fpga_rgmii/fpga_240t/Makefile
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
|
||||||
|
# FPGA settings
|
||||||
|
FPGA_PART = xc6vlx240t-1ff1156
|
||||||
|
FPGA_TOP = fpga
|
||||||
|
FPGA_ARCH = spartan6
|
||||||
|
|
||||||
|
# PROM settings
|
||||||
|
#PROM = xc18v04
|
||||||
|
#SPI_PROM_SIZE = (in bytes)
|
||||||
|
|
||||||
|
# Files for synthesis
|
||||||
|
SYN_FILES = rtl/fpga.v
|
||||||
|
SYN_FILES += rtl/fpga_core.v
|
||||||
|
SYN_FILES += rtl/debounce_switch.v
|
||||||
|
SYN_FILES += rtl/sync_reset.v
|
||||||
|
SYN_FILES += rtl/sync_signal.v
|
||||||
|
SYN_FILES += lib/eth/rtl/iddr.v
|
||||||
|
SYN_FILES += lib/eth/rtl/oddr.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ssio_ddr_in.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ssio_ddr_out.v
|
||||||
|
SYN_FILES += lib/eth/rtl/rgmii_phy_if.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mac_1g_rgmii_fifo.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mac_1g_rgmii.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mac_1g.v
|
||||||
|
SYN_FILES += lib/eth/rtl/axis_gmii_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/axis_gmii_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/lfsr.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_axis_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_axis_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_complete.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_checksum_gen.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_ip_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_ip_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_complete.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_eth_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_eth_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_arb_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp_cache.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp_eth_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp_eth_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_arb_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/arbiter.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/priority_encoder.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/axis_fifo.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/axis_async_frame_fifo.v
|
||||||
|
#SYN_FILES += coregen/dcm_i100_o125/dcm_i100_o125.v
|
||||||
|
|
||||||
|
# UCF files
|
||||||
|
UCF_FILES = fpga.ucf
|
||||||
|
UCF_FILES += clock.ucf
|
||||||
|
|
||||||
|
# NGC paths for ngdbuild
|
||||||
|
#NGC_PATHS = coregen/dcm_i100_o125
|
||||||
|
|
||||||
|
# Bitgen options
|
||||||
|
BITGEN_OPTIONS = -g StartupClk:Cclk -g ConfigRate:26
|
||||||
|
|
||||||
|
include ../common/xilinx.mk
|
||||||
|
|
||||||
|
program: $(FPGA_TOP).bit
|
||||||
|
echo "setmode -bscan" > program.cmd
|
||||||
|
echo "setcable -p auto" >> program.cmd
|
||||||
|
echo "identify" >> program.cmd
|
||||||
|
echo "assignfile -p 2 -file $(FPGA_TOP).bit" >> program.cmd
|
||||||
|
echo "program -p 2" >> program.cmd
|
||||||
|
echo "quit" >> program.cmd
|
||||||
|
impact -batch program.cmd
|
||||||
|
|
@ -1,6 +1,7 @@
|
|||||||
# User Constraints File for the Xilinx ML605 board, rev C
|
# User Constraints File for the Xilinx ML605 board, rev C
|
||||||
|
|
||||||
CONFIG PART = xc6vlx130t-1ff1156;
|
#CONFIG PART = xc6vlx130t-1ff1156;
|
||||||
|
#CONFIG PART = xc6vlx240t-1ff1156;
|
||||||
|
|
||||||
# 200MHz clock
|
# 200MHz clock
|
||||||
NET "sys_clk_p" LOC = "J9" | IOSTANDARD=LVDS_25; # Bank = 34, IO_L0P_GC_34 (GCLK)
|
NET "sys_clk_p" LOC = "J9" | IOSTANDARD=LVDS_25; # Bank = 34, IO_L0P_GC_34 (GCLK)
|
||||||
|
81
example/ML605/fpga_sgmii/fpga_240t/Makefile
Normal file
81
example/ML605/fpga_sgmii/fpga_240t/Makefile
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
|
||||||
|
# FPGA settings
|
||||||
|
FPGA_PART = xc6vlx240t-1ff1156
|
||||||
|
FPGA_TOP = fpga
|
||||||
|
FPGA_ARCH = spartan6
|
||||||
|
|
||||||
|
# PROM settings
|
||||||
|
#PROM = xc18v04
|
||||||
|
#SPI_PROM_SIZE = (in bytes)
|
||||||
|
|
||||||
|
# Files for synthesis
|
||||||
|
SYN_FILES = rtl/fpga.v
|
||||||
|
SYN_FILES += rtl/fpga_core.v
|
||||||
|
SYN_FILES += rtl/debounce_switch.v
|
||||||
|
SYN_FILES += rtl/sync_reset.v
|
||||||
|
SYN_FILES += rtl/sync_signal.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mac_1g_fifo.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mac_1g.v
|
||||||
|
SYN_FILES += lib/eth/rtl/axis_gmii_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/axis_gmii_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/lfsr.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_axis_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_axis_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_complete.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_checksum_gen.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_ip_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/udp_ip_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_complete.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_eth_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_eth_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_arb_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/rtl/ip_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp_cache.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp_eth_rx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/arp_eth_tx.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_arb_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/rtl/eth_mux_2.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/arbiter.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/priority_encoder.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/axis_fifo.v
|
||||||
|
SYN_FILES += lib/eth/lib/axis/rtl/axis_async_frame_fifo.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/sgmii_adapt/gig_eth_pcs_pma_v11_5_clk_gen.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/sgmii_adapt/gig_eth_pcs_pma_v11_5_johnson_cntr.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/sgmii_adapt/gig_eth_pcs_pma_v11_5_rx_rate_adapt.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/sgmii_adapt/gig_eth_pcs_pma_v11_5_sgmii_adapt.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/sgmii_adapt/gig_eth_pcs_pma_v11_5_tx_rate_adapt.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/transceiver/gig_eth_pcs_pma_v11_5_double_reset.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/transceiver/gig_eth_pcs_pma_v11_5_gtwizard_gtrxreset_seq.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/transceiver/gig_eth_pcs_pma_v11_5_rx_elastic_buffer.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/transceiver/gig_eth_pcs_pma_v11_5_v6_gtxwizard.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/transceiver/gig_eth_pcs_pma_v11_5_v6_gtxwizard_gtx.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/transceiver/gig_eth_pcs_pma_v11_5_v6_gtxwizard_top.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/gig_eth_pcs_pma_v11_5_block.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/gig_eth_pcs_pma_v11_5_reset_sync.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5/example_design/gig_eth_pcs_pma_v11_5_sync_block.v
|
||||||
|
SYN_FILES += coregen/gig_eth_pcs_pma_v11_5/gig_eth_pcs_pma_v11_5.v
|
||||||
|
|
||||||
|
# UCF files
|
||||||
|
UCF_FILES = fpga.ucf
|
||||||
|
UCF_FILES += clock.ucf
|
||||||
|
|
||||||
|
# NGC paths for ngdbuild
|
||||||
|
NGC_PATHS = coregen/gig_eth_pcs_pma_v11_5
|
||||||
|
|
||||||
|
# Bitgen options
|
||||||
|
BITGEN_OPTIONS = -g StartupClk:Cclk -g ConfigRate:26
|
||||||
|
|
||||||
|
include ../common/xilinx.mk
|
||||||
|
|
||||||
|
program: $(FPGA_TOP).bit
|
||||||
|
echo "setmode -bscan" > program.cmd
|
||||||
|
echo "setcable -p auto" >> program.cmd
|
||||||
|
echo "identify" >> program.cmd
|
||||||
|
echo "assignfile -p 2 -file $(FPGA_TOP).bit" >> program.cmd
|
||||||
|
echo "program -p 2" >> program.cmd
|
||||||
|
echo "quit" >> program.cmd
|
||||||
|
impact -batch program.cmd
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user