14.08.2013 Views

Xilinx CPLD Libraries Guide

Xilinx CPLD Libraries Guide

Xilinx CPLD Libraries Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

About Design Elements<br />

CJ5CE<br />

Macro: 5-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 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. .<br />

Logic Table<br />

Inputs Outputs<br />

CLR CE C Q0 Q1 through Q4<br />

1 X X 0 0<br />

0 0 X No change No change<br />

0 1 › !q4 q0 through 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 />

ISE 10.1 www.xilinx.com 213

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

Saved successfully!

Ooh no, something went wrong!