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

CR8CE<br />

Macro: 8-Bit Negative-Edge Binary Ripple Counter with Clock Enable and Asynchronous 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 />

This design element is an 8-bit cascadable, clearable, binary, ripple counter with clock enable and asynchronous<br />

clear.<br />

The asynchronous clear (CLR), when High, overrides all other inputs and causes the Q outputs to go to logic<br />

level zero. The counter increments when the clock enable input (CE) is High during the High-to-Low clock (C)<br />

transition. The counter ignores clock transitions when CE is Low.<br />

Larger counters can be created by connecting the last Q output of the first stage to the clock input of the next<br />

stage. CLR and CE inputs are connected in parallel. The clock period is not affected by the overall length of a<br />

ripple counter. The overall clock-to-output propagation is n(tC - Q), where n is the number of stages and the time<br />

tC - Q is the C-to-Qz propagation delay of each stage.<br />

This counter is asynchronously cleared, outputs Low, when power is applied. .<br />

Logic Table<br />

Inputs Outputs<br />

CLR CE C Qz – Q0<br />

1 X X 0<br />

0 0 X No Change<br />

0 1 Ø Inc<br />

z = bit width - 1<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 297

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

Saved successfully!

Ooh no, something went wrong!