Intel® MAX® 10 Clocking and PLL User Guide

ID 683047
Date 12/26/2023
Public
Document Table of Contents

6.2. ALTPLL IP Core Ports and Signals

Table 22.   ALTPLL Input Ports for Intel® MAX® 10 Devices
Port Name10 Condition Description
areset

Optional

Resets all counters to initial values, including the GATE_LOCK_COUNTER parameter.

clkswitch

Optional

The control input port to dynamically toggle between clock input ports (inclk0 and inclk1 ports), or to manually override the automatic clock switchover.

You should create the clkswitch port if only the inclk1 port is created.

configupdate

Optional

Dynamic full PLL reconfiguration.

inclk[]

Required

The clock inputs that drive the clock network.

If more than one inclk[] port is created, you must use the clkselect port to specify which clock is used. The inclk0 port must always be connected; connect other clock inputs if switching is necessary.

A dedicated clock pin or PLL output clock can drive this port.

pfdena

Optional

Enables the phase frequency detector (PFD).

When the PFD is disabled, the PLL continues to operate regardless of the input clock. Because the PLL output clock frequency does not change for some time, you can use the pfdena port as a shutdown or cleanup function when a reliable input clock is no longer available.

phasecounterselect[]

Optional

Specifies counter select. You can use the phasecounterselect[2..0] bits to select either the M or one of the C counters for phase adjustment. One address map to select all C counters. This signal is registered in the PLL on the rising edge of SCANCLK.

phasestep

Optional

Specifies dynamic phase shifting. Logic high enables dynamic phase shifting.

phaseupdown

Optional

Specifies dynamic phase shift direction. 1= UP, 0 = DOWN. Signal is registered in the PLL on the rising edge of SCANCLK.

scanclk

Optional

Input clock port for the serial scan chain.

Free-running clock from core used in combination with PHASESTEP to enable or disable dynamic phase shifting. Shared with SCANCLK for dynamic reconfiguration.

scanclkena

Optional

Clock enable port for the serial scan chain.

scandata

Optional

Contains the data for the serial scan chain.

Table 23.   ALTPLL Output Ports for Intel® MAX® 10 Devices
Port Name11 Condition Description
activeclock

Optional

Specifies which clock is 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.

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 Intel® MAX® 10 FPGA Device Datasheet.

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) as follows:

  • 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.

When phasedone signal is asserted, it indicates to core logic that the phase adjustment is complete and PLL is ready to act on a possible second adjustment pulse. This signal asserts based on internal PLL timing and deasserts on rising edge of SCANCLK.

scandataout

Optional

The data output for the serial scan chain.

You can use the scandataout port to determine when PLL reconfiguration completes. The last output is cleared when reconfiguration completes.

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.

10 Replace brackets, [], in the port name with integer to get the exact name. For example, inclk0 and inclk1.
11 Replace the brackets, [], in the port name with an integer to get the exact name (for example, c0 and c1).