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.

CJ4RE<br />

Macro: 4-Bit Johnson Counter with Clock Enable and Synchronous Reset<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 />

About Design Elements<br />

This design element is a resettable Johnson/shift counter. The synchronous reset (R) input, when High, overrides<br />

all other inputs and forces the data (Q) outputs to logic level zero during the Low-to-High clock (C) transition.<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 />

R CE C Q0 Q1 through Q3<br />

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

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

212 www.xilinx.com ISE 10.1

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

Saved successfully!

Ooh no, something went wrong!