AN 647: Single-Port Triple Speed Ethernet and On-Board PHY Chip Reference Design

ID 683344
Date 12/14/2015
Public

1.4.4.1. Configuration Script

The config.tcl configuration script contains the parameters to configure the MAC, PCS, and Marvell PHY registers in the reference designs.
You can configure the following settings in the Tcl script:
  • MAC configuration setting to configure the MAC registers.
  • PCS configuration setting to configure the PCS registers.
  • Marvell PHY configuration setting to configure the on-board PHY chip registers.
    Parameter Description
    PHY_ENABLE To enable or disable the on-board PHY chip.
    PHY_ETH_SPEED To select the PHY’s operating speed.
    PHY_ENABLE_AN To enable or disable auto-negotiation on the PHY.
    PHY_COPPER_DUPLEX To select the PHY’s operating mode.Statistic Counter Script
    PHY_LOOPBACK To enable or disable the on-board PHY serial loopback.

The tse_stat_read.tcl script reads the values of the MAC statistic counters after you execute the reference designs.