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

LOGIC DESIGN REVISTED


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.

LOGIC DESIGN REVISTED

Lessons from the Trenches

by George Martin

Start ý A Merger ý Make the Design Synchronous ý Toplevel ý Quadlogic ý Counters ý Catch That? ý Sources and PDF

QUADLOGIC

I implemented everything from the table except the error conditions. That implementation is found in the quadlogic schematic (see Figure 2). The inputs to this schematic are A and B and the previous A and B (A_OLD and B_OLD). The outputs are up and down. These are classic signals, which usually go to TTL type counters.

Figure 2ýThis quadlogic schematic shows everything I implemented from the truth table.

But as you will see in a schematic farther on, I needed to add logic to convert up and down into down (DN) and enable (EN). So, I should have started with a different truth table (see Table 3).

OldAB

NewAB

Result

00

10

EN

10

11

EN

11

01

EN

01

00

EN

00

01

EN Down

01

11

EN Down

11

10

EN Down

10

00

EN Down

00

00

No change

10

10

No change

11

11

No change

01

01

No change

Table 3ýThis is the truth table I should have started with.

But, I donýt think this design will suffer from that first choice. Also notice, that I registered the outputs in quadlogic. There is no telling how the logic will fit into the array. Take Up, for example. A good design program would realize that there are four inputs and minimize the logic to derive up. A lesser program would implement the AND gates, then take those four intermediate outputs and route them through the array again to implement the OR function. So, I registered for safety. After you fit the design, the simulation will tell you if these registers are needed.

PREVIOUSNEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

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