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

CJ4CE<br />

Macro: 4-Bit Johnson 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 a clearable Johnson/shift counter. The asynchronous clear (CLR) input, when High,<br />

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

The counter increments (shifts Q0 to Q1, Q1 to Q2,and so forth) when the clock enable input (CE) is High during<br />

the Low-to-High 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. .<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 />

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

Available Attributes<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 211

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

Saved successfully!

Ooh no, something went wrong!