ALTPLL (Phase-Locked Loop) IP Core User Guide

ID 683732
Date 6/16/2017
Public
Document Table of Contents

ALTPLL Output Ports

Table 16.  ALTPLL Output Ports

Port Name 7

Condition

Description

activelock

Optional

Specifies which clock is used as the primary reference clock when the clock switchover circuit initiates. If the inclk0 is in use, the activeclock port goes low. If the inclk1 is in use, the activeclock port goes high.

You can set the PLL to automatically initiate the clock switchover when the primary reference clock is not toggling correctly, or you can manually initiate the clock switchover using the clkswitch input port.

c[]

Required

The clock output of the PLL.

clkbad[]

Optional

clkbad1 and clkbad0 ports check for input clock toggling. If the inclk0 port stops toggling, the clkbad0 port goes high. If the inclk1 port stops toggling, the clkbad1 port goes high.

clkloss

Optional

This output port acts as an indicator when the clock switchover circuit initiates. Only available for Arria GX, HardCopy II, Stratix, Stratix GX, Stratix II, and Stratix II GX devices.

enable[]

Optional

Enable pulse output port. This port is available only when the PLL is in LVDS mode. Only available for Arria GX, HardCopy II, Stratix II, and Stratix II GX devices.

e[]

Optional

The clock output of the PLL that feeds the dedicated clock pins on the device. Only available for Cyclone, Stratix, and Stratix GX devices.

fbout

Optional

The port that feeds the fbin port through the mimic circuitry. If a feedback path is not connected, the compiler automatically connects the fbout port directly to the fbin port. Additionally, a clkbuf primitive is added to specify the resource type used, similarly to other clock networks.

The fbout port is available only if the PLL is in external feedback mode.

For Stratix III and Stratix IV device families, if the PLL operates in zero-delay buffer mode, and the fbmimicbidir port is not used, you must perform the following steps:

  1. Replace the brackets, [], in the port name with an integer to get the exact name (for example, c0, c1, c3, e0, e1, e2, enable1 and sclkout0).
  2. Instantiate an ALT_IOBUF IP core.
  3. Connect the fbout and fbin ports to the o and i ports of the ALT_IOBUF instantiation, respectively.
  4. Connect the bidirectional port of the ALT_IOBUF instantiation to a bidirectional pin, and set the oe port of the ALT_IOBUF instantiation to 1.
locked

Optional

This output port acts as an indicator when the PLL has reached phase-locked. The locked port stays high as long as the PLL is locked, and stays low when the PLL is out-of-lock.

The number of cycles needed to gate the locked signal is based on the PLL input clock. The gated-lock circuitry is clocked by the PLL input clock. The maximum lock time for the PLL is provided in the DC and Switching Characteristics chapter of the device handbook.

Take the maximum lock time of the PLL and divide it by the period of the PLL input clock. The result is the number of clock cycles needed to gate the locked signal.

The lock signal is an asynchronous output of the PLL. The PLL lock signal is derived from the reference clock and feedback clock feeding the Phase Frequency Detector (PFD).

Reference clock = Input Clock/N Feedback clock = VCO/M

The PLL asserts the locked port when the phases and frequencies of the reference clock and feedback clock are the same or within the lock circuit tolerance. When the difference between the two clock signals goes beyond the lock circuit tolerance, the PLL loses lock.

phasedone

Optional

This output port indicates that dynamic phase reconfiguration is completed. Only available for Arria II GX, Cyclone III, HardCopy III onwards, and Stratix III onwards.

scandataout

Optional

The data output for the serial scan chain. You can use the scandataout port to determine when PLL reconfiguration is completed. The last output is cleared when reconfiguration completes. Not available for Cyclone and Cyclone II devices.

scandone

Optional

This output port indicates that the scan chain write operation is initiated. The scandone port goes high when the scan chain write operation initiates, and goes low when the scan chain write operation completes. Not available for Cyclone, Cyclone II, Stratix, and Stratix GX devices.

sclkout[]

Optional

Serial clock output port.

This port is available only when the PLL is in LVDS mode. Only available for Arria GX, HardCopy II, Stratix II, and Stratix II GX devices.

vcounverrange

Optional

This output port indicates that the VCO frequency has exceeded the legal VCO range.

vcounderrange

Optional

This output port indicates that the VCO frequency has not met the legal VCO range.

7 Replace the brackets, [], in the port name with an integer to get the exact name (for example, c0, c1, c3, e0, e1, e2, enable1 and sclkout0).