English
Language : 

XC3S100E_06 Datasheet, PDF (57/231 Pages) Xilinx, Inc – Configurable Logic Block (CLB)
R
Functional Description
VARIABLE Phase Shift Mode
In VARIABLE phase shift mode, the FPGA application
dynamically adjusts the fine phase shift value using three
inputs to the PS unit (PSEN, PSCLK, and PSINCDEC), as
defined in Table 36 and shown in Figure 40.
Table 36: Signals for Variable Phase Mode
Signal
PSEN(1)
Direction
Input
Description
Enables the Phase Shift unit for variable phase adjustment.
PSCLK(1)
PSINCDEC(1)
Input
Input
Clock to synchronize phase shift adjustment.
When High, increments the current phase shift value. When Low, decrements the
current phase shift value. This signal is synchronized to the PSCLK signal.
PSDONE
Output
Goes High to indicate that the present phase adjustment is complete and PS unit is
ready for next phase adjustment request. This signal is synchronized to the PSCLK
signal.
Notes:
1. This input supports either a true or inverted polarity.
The FPGA application uses the three PS inputs on the
Phase Shift unit to dynamically and incrementally increase
or decrease the phase shift amount on all nine DCM clock
outputs.
To adjust the current phase shift value, the PSEN enable
signal must be High to enable the PS unit. Coincidently,
PSINCDEC must be High to increment the current phase
shift amount or Low to decrement the current amount. All
VARIABLE phase shift operations are controlled by the
PSCLK input, which can be the CLKIN signal or any other
clock signal.
DESIGN NOTE:
! The VARIABLE phase shift feature operates differently
from the Spartan-3 DCM but the DCM design primitive
is common to both Spartan-3 and Spartan-3E design
entry. Variable phase shift in Spartan-3E FPGAs
behaves as described herein. However, the DCM
design primitive and simulation model does not match
this behavior. Starting with ISE 8.1i, Service Pack 3,
using the VARIABLE attribute generates an error
message. Please read the following Answer Record to
re-enable the VARIABLE phase shift feature.
Answer Record #23004
www.xilinx.com/xlnx/xil_ans_display.jsp?getPagePath
=23004
DCM_ DELAY_STEP is the finest delay resolution available
in the PS unit. Its value is provided at the bottom of
Table 104 in Module 3. For each enabled PSCLK cycle that
PSINCDEC is High, the PS unit adds one DCM_
DELAY_STEP of phase shift to all nine DCM outputs. Simi-
larly, for each enabled PSCLK cycle that PSINCDEC is Low,
the PS unit subtracts one DCM_ DELAY_STEP of phase
shift from all nine DCM outputs.
example, CLKFX_MULTIPLY and CLKFX_DIVIDE). If not
Because each DCM_DELAY_STEP has a minimum and
maximum value, the actual phase shift delay for the present
phase increment/decrement value (VALUE) falls within the
minimum and maximum values according to Equation 4 and
Equation 5.
TPS(Max) = VALUE • DCM_DELAY_STEP_MAX Eq. 4
TPS(Min) = VALUE • DCM_DELAY_STEP_MIN
Eq. 5
The maximum variable phase shift steps, MAX_STEPS, is
described in Equation 6, for a given CLKIN input period,
TCLKIN, in nanoseconds. To convert this to a phase shift
range measured in time and not steps, use MAX_STEPS
derived in Equation 6 for VALUE in Equation 4 and
Equation 5.
MAX_STEPS = ±[INTEGER(20 • (TCLKIN – 3))]
Eq. 6
The phase adjustment might require as many as 100 CLKIN
cycles plus 3 PSCLK cycles to take effect, at which point the
DCM’s PSDONE output goes High for one PSCLK cycle.
This pulse indicates that the PS unit completed the previous
adjustment and is now ready for the next request.
Asserting the Reset (RST) input returns the phase shift to
zero.
Status Logic
The Status Logic indicates the present state of the DCM
and a means to reset the DCM to its initial known state. The
Status Logic signals are described in Table 37.
In general, the Reset (RST) input is only asserted upon con-
figuring the FPGA or when changing the CLKIN frequency.
The RST signal must be asserted for three or more CLKIN
cycles. A DCM reset does not affect attribute values (for
used, RST is tied to GND.
DS312-2 (v3.4) November 9, 2006
www.xilinx.com
57
Product Specification