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.

About Design Elements<br />

CJD4CE<br />

Macro: 4-Bit Dual Edge Triggered Johnson Counter with Clock Enable and Asynchronous Clear<br />

Supported Architectures<br />

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

CoolRunner-II<br />

Introduction<br />

This element is a dual edge triggered clearable Johnson/shift counter. The asynchronous clear (CLR) input, when<br />

High, overrides all other inputs and causes the data (Q) outputs to go to logic level zero independent of clock (C)<br />

transitions. The counter increments (shifts Q0 to Q1, Q1 to Q2,etc.) when the clock enable input (CE) is High<br />

during the Low-to-High and High-to-Low clock transition. Clock transitions are ignored when CE is Low.<br />

The Q3 output is inverted and fed back to input Q0 to provide continuous counting operation.<br />

This counter is asynchronously cleared, outputs Low, when power is applied. .For <strong>CPLD</strong> devices, you can<br />

simulate power-on by applying a High-level pulse on the PRLD global net.<br />

Logic Table<br />

Inputs Outputs<br />

CLR CE C Q0 Q1 through Q3<br />

1 X X 0 0<br />

0 0 X No Change No Change<br />

0 1 › !q3 q0 through q2<br />

0 1 fl !q3 q0 through q2<br />

q = state of referenced output one setup time prior to active clock transition<br />

Design Entry Method<br />

This design element is only for use in schematics.<br />

For More Information<br />

• See the appropriate <strong>CPLD</strong> User <strong>Guide</strong>.<br />

• See the appropriate <strong>CPLD</strong> Data Sheets.<br />

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

ISE 10.1 www.xilinx.com 217

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

Saved successfully!

Ooh no, something went wrong!