Low Latency 40G Ethernet IP User Guide: Agilex™ 5 FPGAs and SoCs
5.2. Reset Requirements
- soft_tx_rst,tx_rst_n: Resets the IP core in the transmitter direction. Resets the transmitter PCS and transmitter MAC. This reset leads to deassertion of the tx_lanes_stable output signal.
- soft_rx_rst, rx_rst_n: Resets the IP core in the receiver direction. Resets the receiver PCS and receiver MAC. This reset leads to deassertion of the rx_pcs_readyoutput signal.
- sys_rst, csr_rst_n: Resets the IP core. Resets the transmitter and receiver MACs, PCS, and transceivers.
In addition, the synchronous reconfig_reset signal resets the IP core transceiver reconfiguration interface, an Avalon® memory-mapped interface. Associated clock is the reconfig_clk, which clocks the transceiver reconfiguration interface.
| Reset/Module | Transmitter MAC | Receiver MAC | Transmitter Packet Stats | Receiver Packet Stats | Transmitter PCS | Receiver PCS | Transmitter PMA | Receiver PMA |
|---|---|---|---|---|---|---|---|---|
| csr_rst_n/sys_rst | √ | √ | √ | √ | √ | √ | √ | √ |
| tx_rst_n/soft_tx_rst | √ | √ | ||||||
| rx_rst_n/soft_rx_rst | √ | √ | ||||||
| reconfig_reset |
Reset Sequence or Initialization
The reset sequencing is handled by the core’s reset controller. Asserting a reset on the csr_rst_n signal triggers the reset sequence. When the csr_rst_n reset is asserted, the rx_pcs_ready and tx_lanes_stable signals go low and can only go back high after deasserting the reset.
The CSR register read/write must wait at least 2 clock cycles after the csr_rst_n release or assertion. Altera recommends waiting for 10 clock cycles. You can also reset the transmitter and receiver datapaths independently by toggling tx_rst_n and rx_rst_n respectively.