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.

CJD5RE<br />

About Design Elements<br />

Macro: 5-Bit Dual Edge Triggered Johnson Counter with Clock Enable and Synchronous Reset<br />

Supported Architectures<br />

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

CoolRunner-II<br />

Introduction<br />

This design element is a resettable dual edge triggered Johnson/shift counter. The synchronous reset (R) input,<br />

when High, overrides all other inputs and causes the data (Q) outputs to go to logic level zero during the<br />

Low-to-High and High-to-Low clock (C) transitions. The counter increments (shifts Q0 to Q1, Q1 to Q2, etc.)<br />

when the clock enable input (CE) is High during the Low-to-High and High-to-Low clock transition. Clock<br />

transitions are ignored when CE is Low.<br />

The Q4 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 />

R CE C Q0 Q1 – Q4<br />

1 X › 0 0<br />

1 X fl 0 0<br />

0 0 X No Change No Change<br />

0 1 › !q4 q0 – q3<br />

0 1 fl !q4 q0 – q3<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 />

220 www.xilinx.com ISE 10.1

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

Saved successfully!

Ooh no, something went wrong!