14.08.2013 Views

Xilinx CPLD Libraries Guide

Xilinx CPLD Libraries Guide

Xilinx CPLD Libraries Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FDCPE<br />

Primitive: D Flip-Flop with Clock Enable and Asynchronous Preset and Clear<br />

Supported Architectures<br />

This design element is supported in the following architectures only:<br />

• XC9500XL<br />

• CoolRunner XPLA3<br />

• CoolRunner-II<br />

Introduction<br />

About Design Elements<br />

This design element is a single D-type flip-flop with data (D), clock enable (CE), asynchronous preset (PRE),<br />

and asynchronous clear (CLR) inputs. The asynchronous active high PRE sets the Q output High; that active<br />

high CLR resets the output Low and has precedence over the PRE input. Data on the D input is loaded into the<br />

flip-flop when PRE and CLR are Low and CE is High on the Low-to-High clock (C) transition. When CE is Low,<br />

the clock transitions are ignored and the previous value is retained. The FDCPE is generally implemented as a<br />

slice or IOB register within the device.<br />

For <strong>CPLD</strong> devices, you can simulate power-on by applying a High-level pulse on the PRLD global net. For FPGA<br />

devices, upon power-up, the initial value of this component is specified by the INIT attribute. If a subsequent<br />

GSR (Global Set/Reset) is asserted, the flop is asynchronously set to the INIT value.<br />

Note While this device supports the use of asynchronous set and reset, it is not generally recommended to<br />

be used for in most cases. Use of asynchronous signals pose timing issues within the design that are difficult<br />

to detect and control and also have an adverse affect on logic optimization causing a larger design that can<br />

consume more power than if a synchronous set or reset is used.<br />

Logic Table<br />

Inputs Outputs<br />

CLR PRE CE D C Q<br />

1 X X X X 0<br />

0 1 X X X 1<br />

0 0 0 X X No Change<br />

0 0 1 D › D<br />

<strong>CPLD</strong> <strong>Libraries</strong> <strong>Guide</strong><br />

320 www.xilinx.com ISE 10.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!