2019-09-13 16:28:42 +00:00
|
|
|
|
|
|
|
source $ad_hdl_dir/projects/common/zcu102/zcu102_system_bd.tcl
|
|
|
|
|
|
|
|
# configuring one parameter at a time will end in a validation proces halt
|
|
|
|
set_property -dict [list \
|
|
|
|
CONFIG.PSU__ENET0__GRP_MDIO__ENABLE {1} \
|
|
|
|
CONFIG.PSU__ENET0__GRP_MDIO__IO {EMIO} \
|
|
|
|
CONFIG.PSU__ENET0__PERIPHERAL__ENABLE {1} \
|
|
|
|
CONFIG.PSU__ENET0__PERIPHERAL__IO {EMIO} \
|
|
|
|
CONFIG.PSU__ENET1__PERIPHERAL__ENABLE {1} \
|
|
|
|
CONFIG.PSU__ENET1__PERIPHERAL__IO {EMIO} \
|
|
|
|
CONFIG.PSU__ENET1__GRP_MDIO__ENABLE {1} \
|
|
|
|
CONFIG.PSU__ENET1__GRP_MDIO__IO {EMIO}] [get_bd_cells sys_ps8]
|
|
|
|
|
|
|
|
|
|
|
|
source ../common/cn0506_bd.tcl
|
|
|
|
|
|
|
|
ad_connect gmii_to_rgmii_0/GMII sys_ps8/GMII_ENET0
|
|
|
|
ad_connect gmii_to_rgmii_1/GMII sys_ps8/GMII_ENET1
|
|
|
|
ad_connect gmii_to_rgmii_0/MDIO_GEM sys_ps8/MDIO_ENET0
|
|
|
|
ad_connect gmii_to_rgmii_1/MDIO_GEM sys_ps8/MDIO_ENET1
|
|
|
|
|
|
|
|
# Remove the unused 250MHz and 500MHz reset generators added in the base design.
|
|
|
|
|
|
|
|
delete_bd_objs [get_bd_nets sys_500m_clk] \
|
|
|
|
[get_bd_nets sys_500m_reset] \
|
|
|
|
[get_bd_nets sys_500m_resetn] \
|
|
|
|
[get_bd_cells sys_500m_rstgen] \
|
|
|
|
[get_bd_nets sys_250m_resetn] \
|
|
|
|
[get_bd_nets sys_250m_reset] \
|
|
|
|
[get_bd_nets sys_250m_clk] \
|
|
|
|
[get_bd_cells sys_250m_rstgen]
|
|
|
|
|
2020-10-09 14:28:10 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
|
|
|
|
|
|
|
#system ID
|
|
|
|
ad_ip_parameter axi_sysid_0 CONFIG.ROM_ADDR_BITS 9
|
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.PATH_TO_FILE "[pwd]/mem_init_sys.txt"
|
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9
|
|
|
|
|
|
|
|
sysid_gen_sys_init_file
|