ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

Answer1


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

Archive

WHAT'S YOUR ENGINEERING QUOTIENT?

Test Your EQ

Problem 1What is the output of the following digital circuit? A" is the negation of A, the flip-flops are D-type, and assume the outputs are 0 initially.


Answer:

Initially A=0, B=0. The inputs to the D-flip flops are:

Da = A" = 1
Db = A XOR B = 0
After the next clock edge, the D flip flop transfers its inputs to the output (this is the definition of a D flip-flop). The output becomes A = 1, B = 0.

Now, the inputs are

Da = A" = 0
Db = A XOR B = 1
After the next clock edge the output becomes A = 0, B = 1.

The inputs are now:

Da = A" = 1
Db = A XOR B = 1
After the next clock edge, the output becomes A = 1, B = 1.

The inputs are now Da = 0, Db = 0; after the next clock edge, the output becomes A = 0 and B = 0, which is what we started with initially. So, we can conclude that this cycle repeats and the output sequences as follows with each clock edge:

A B

0 0
1 0
0 1
1 1

This is a 2-bit binary counter.

Contributor: Naveen P N

4-01 — NEXT Q&A


For questions or comments about
Test Your EQ, e-mail eq@circuitcellar.com
.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ