Visible to Intel only — GUID: suc1412866464928
Ixiasoft
Visible to Intel only — GUID: suc1412866464928
Ixiasoft
18.6.1. System Level EMAC Configuration Registers
The following table gives a summary of the important System Manager clock register bits that control operation of the EMAC. These register bits are static signals that must be set while the corresponding EMAC is in reset.
Register.Field | Description |
---|---|
ctrl.ptpclksel_0 ctrl.ptpclksel_1 |
1588 PTP reference clock. This bit selects the source of the 1588 PTP reference clock.
|
ctrl.physel_0 ctrl.physel_1 |
PHY Interface Select. These two bits set the PHY mode.
Note: Selecting the 0x0 encoding routes the GMII/MII signals to the FPGA fabric only and selecting the 0x1 encoding routes the RGMII signals to the HPS only. 0x2 is not a valid encoding and depending on the interface selected, must be changed to 0x0 or 0x1 out of reset.
|
The following table summarizes the important System Manager configuration register bits. All of the fields, except the AXI cache settings, are assumed to be static and must be set before the EMAC is brought out of reset. If the FPGA interface is used, the FPGA must be in user mode and enabled with the appropriate clock signals active before the EMAC can be brought out of reset.
Register.Field | Description |
---|---|
module.emac_0 module.emac_1 |
FPGA interface to EMAC disable. This field is used to disable signals from the FPGA to the EMAC modules that could potentially interfere with their normal operation
|
l3master.awcache_1 l3master.awcache_0 l3master.arcache_1 l3master.arcache_0 |
EMAC AXI Master AxCACHE settings. It is recommended that these bits are set while the EMAC is idle or in reset. |
Various registers within the Clock Manager must also be configured in order for the EMAC controller to perform properly.
Register.Field | Description |
---|---|
emac0clk.cnt emac1clk.cnt |
EMAC clock control. The cnt value in this register is used to divide the PLL VCO frequency to generate emac0clk and emac1clk. |
en.emac0clk en.emac1clk |
emac0clk and emac1clk output enable. |