English
Language : 

XP2 Datasheet, PDF (31/92 Pages) Lattice Semiconductor – LatticeXP2 Family Data Sheet
Lattice Semiconductor
Architecture
LatticeXP2 Family Data Sheet
The signal DDRCLKPOL controls the polarity of the clock used in the synchronization registers. It ensures ade-
quate timing when data is transferred from the DQS to system clock domain. For further discussion on this topic,
see the DDR Memory section of this data sheet.
Figure 2-26. Input Register Block
DI
(From sysIO
Buffer)
DEL [3:0]
From
Routing
Delayed
DQS
Fixed Delay
0
Dynamic Delay 1
DDR Registers
DQ
D-Type
SDR & Sync
Registers
0
D0
DQ
1
D-Type
/LATCH
D
Q D1
DQ
D2
DQ
D-Type
0
D-Type
D-Type
/LATCH
1
Clock Transfer Registers
DQ
D-Type1
INCK2
To DQS Delay Block2
INDD
IPOS0A
QPOS0A
DQ
D-Type1
IPOS1A
QPOS1A
To
Routing
CLK0 (of PIO A)
DDRCLKPOL
CLKA
True PIO (A) in LVDS I/O Pair
Comp PIO (B) in LVDS I/O Pair
DI
(From sysIO
Buffer)
DEL [3:0]
Fixed Delay
0
Dynamic Delay 1
DDR Registers
D
Q
D-Type
DDRSRC
0 D0
1
INCK2
To DQS Delay Block2
INDD
SDR & Sync
Registers
Clock Transfer Registers
IPOS0B
0
DQ
1
D-Type
/LATCH
DQ
D-Type1
QPOS0B
From
Routing
Delayed
0
DQS
1
CLK0 (of PIO B)
DDRCLKPOL
CLKB
1. Shared with output register
2. Selected PIO.
D1
D
Q
D-Type
DQ
D-Type
0
D2 1
DQ
D-Type
/LATCH
Gearbox Configuration Bit
DQ
D-Type1
IPOS1B
QPOS1B
To
Routing
Note: Simplified version does not
show CE and SET/RESET details
Output Register Block
The output register block provides the ability to register signals from the core of the device before they are passed
to the sysIO buffers. The blocks on the PIOs on the left, right and bottom contain registers for SDR operation that
are combined with an additional latch for DDR operation. Figure 2-27 shows the diagram of the Output Register
Block for PIOs.
In SDR mode, ONEG0 feeds one of the flip-flops that then feeds the output. The flip-flop can be configured as a D-
type or latch. In DDR mode, ONEG0 and OPOS0 are fed into registers on the positive edge of the clock. At the next
clock cycle the registered OPOS0 is latched. A multiplexer running off the same clock cycle selects the correct reg-
ister to feed the output (D0).
By combining output blocks of the complementary PIOs and sharing some registers from input blocks, a gearbox
function can be implemented, to take four data streams ONEG0A, ONEG1A, ONEG1B and ONEG1B. Figure 2-27
2-28