• No results found

Digital Circuit Design

N/A
N/A
Protected

Academic year: 2021

Share "Digital Circuit Design"

Copied!
21
0
0

Loading.... (view fulltext now)

Full text

(1)

18-240: Fundamentals of Computer Engineering 18-340: Digital Computation

18-441: Verification of Computer Hardware Systems 18-765: Digital Systems Testing and Testable Design

Test and Diagnosis of ICs Test and Diagnosis of ICs

Professor

Department of ECE

Center for Silicon System Implementation CMU Laboratory for Integrated Systems Test http://www.ece.cmu.edu/~blanton

Shawn Blanton

Shawn Blanton Courses:Courses:

• Defect modeling

• Test methodology development

• CAD tool development

• Defect diagnosis

MEMS Test MEMS Test

• Defect modeling

• Built-in self test (BIST) design

• Test methodology development

µmechanical structure

µmechanical structure affected

by a defect

65 70 75 80 85 90 95 100

Fault coverage (%)

97.92

SSL40,246

94.78

28,564Gate delay

79.01

44,798TSO

99.46 99.93 99.54 99.49

74,005 74,005 74,005 74,005

Bridging

Test grading with FAult Tuple SIMulator

(2)

Digital Circuit Design

Emerging Trends in Electrical and Computer Engineering

Shawn Blanton Fall 2004

[email protected]

(3)

Components of Digital Design

Digital design

Power Correctness

Function

Cost

Speed

(4)

Function

• When we design a circuit to do a particular

function, we assume we have primitive gates like AND, OR, etc.

• So we build bigger things from smaller things.

• And we have systematic methods (i.e., CAD tools) for building bigger things.

K-maps

Quine-McCluskey Boolean Algebra

Synplicity etc.

y1 0 0 1 1

y2 0 1 1 0

y2 A B C D

x = 0 A,0 B,0 C,0 D,1

x = 1 B,0 C,0 D,1 A,0

(5)

Function cont…

• But what if you wanted to build a fast, 64-bit adder?

• What about using a ripple-carry adder?

• Systematic techniques cannot handle some things we want to build.

0000000000000000000...000000000000000000000000000000000000000000000 0 0000000000000000000...000000000000000000000000000000000000000000001 1 0000000000000000000...000000000000000000000000000000000000000000010 1 0000000000000000000...000000000000000000000000000000000000000000011 0 0000000000000000000...000000000000000000000000000000000000000000100 1 0000000000000000000...000000000000000000000000000000000000000000101 1 0000000000000000000...000000000000000000000000000000000000000000110 0

: : : : :

: : : : :

1111111111111111111...111111111111111111111111111111111111111111111 1

How many rows are in the truth table for a 64-bit adder?

(6)

Function cont…

• There are many known adder architectures.

• To learn how to design an adder for your given application, you must “see” these adders and understand how they work.

4 FAs 4 FAs 4 FAs 4 FAs 4 FAs 4 FAs 4 FAs 4 FAs

32-bit carry-skip adder

• The same is true for other data-processing circuits: multipliers, dividers, filters, etc.

(7)

Customized Floating Point Unit

64-bit floating point 13-bit custom floating

Courtesy of Prof. Rob Rutebnar

(8)

• Many ideas you may have are likely possible.

• But as engineers, it must be possible at a reasonable cost.

• One type of cost has to do with design size.

• Ideally, you want a circuit implementation to take very little

“area” for a number of reasons:

– Small circuits means more can fit onto a “wafer”.

– Small circuits have a higher “yield”.

Cost $$$

Yield = good chips Total chips

wafer

(9)

Cost $$$ cont…

• The number of gates available in the same area is doubling every 18 months (“Moore’s Law”).

• Designer productivity is not increasing at the same rate. This leads to the “design gap”.

• Solution: Better CAD tools for design and analysis!

Log scale

(10)

Speed

• Your new adder design may “add”, but does it add fast enough?

• Digital design requires you to understand how to accurately predict the speed of your circuit.

• Lots of factors affect speed:

– Design structure

– Fabrication technology – Environment

• Actually, you cannot really predict speed that accurately.

4GHz 3.66GHz 3.1GHz 2.6GHz

(11)

Power

• Power is now the number one challenge for digital circuit designers!

• Why? Many electronic systems are portable.

• Low power means longer battery life.

• High power generates lots of heat so designs must be cooled.

(12)

Correctness

• Designers make mistakes.

• How do you find errors in a design?

• In 18-240, your method for finding mistakes is either ad hoc or impractical.

• You need systematic approaches that utilize CAD tools that include simulators,

equivalence checkers, model checkers, etc.

• Big companies still make mistakes. Intel

made an error designing a divider circuit. It

cost Intel $470M.

(13)

Correctness cont…

• Manufacturing is not perfect.

• How do you find imperfections in the fabricated design?

• You must test each and every chip to

ensure it works.

(14)

Test and Diagnosis

• Test is a binary endeavor

– Chip doesn’t work – trash it!

– Chip works – ship it!

• Diagnosis

– Why doesn’t the chip work???

– Required for silicon debug, process tuning, etc.

(15)

What do you test for?

• Test the chip function?

– Portions of the chip are tested this way.

– Too costly however for the entire chip.

• It is more cost-effective to test for the

things that can go wrong.

(16)

What can go wrong?

One or more defects can occur!

• A defect can be extra or missing material or changes in material properties

– Defects can affect wires and vias – Defects can affect transistors

• Defect-based test is impractical

– Too many possible locations (billions) – Too many different types (N × billions)

• To keep test manageable, abstraction is necessary

(17)

Defect Abstraction

• Abstraction involves

– Moving from physical level to higher level – Reducing number of defects

– Simplifying defect behavior

• Defect abstraction ≡ fault model

(18)

SSL Fault Model

• The most widely-use abstraction is single stuck-line (SSL) fault model.

• First published use was for vacuum tube test in 1957 by R. Eldred.

• SSL fault model properties:

– a gate-level model

– assumes gates are unaffected

– only a single logic line can be faulty

– faulty line is permanently stuck-at 0 or 1

(19)

Stuck-at Testing

• The circuit above has 9 logical lines.

• Each line is susceptible to either a stuck-at-0 or stuck-at-1 fault, for a total of 18 faults.

• Must find tests that distinguish the 18 faulty circuits from the “good” circuit.

(20)

Stuck-at Testing cont’d

1 1 1 0 0 0 1 0 9

1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0 1 0 0 0 1 0 0 0 1 2 3

1 1 1 1 1 1 1 1 9/1

1 1 1 1 1 1 1 1 7/1

1 1 1 1 0 0 0 0 2/1

0 0 0 0 0 0 0 0 9/0

0 0 1 0 0 0 1 0 7/0

1 1 1 1 0 0 1 0 5/1

Test set 1. 001 2. 011 3. 100 4. 111

1 1 0 0 0 0 0 0 8/0

1 1 1 0 1 1 1 0 1/1

1 0 1 0 1 0 1 0 2/0

1 1 1 1 0 0 1 1 3/1

1 1 1 0 1 0 1 0 6/1

(21)

Digital Design Courses

Learn more by taking various courses in digital design.

18-240

18-340 18-360

18-447

18-760

Fundamentals

Advanced digital design

Computer architecture

Computer-aided design tools and

correctness

Advanced computer-aided

design tools

18-765 Testing

18-441

Correctness

References

Related documents

Should the last available market price for a given transferable security money market instruments and/or financial derivative instruments not truly reflect its fair market value,

Digital circuit and layout design can be automated with computer-aided design (CAD) tools. Analog Design Process Digital Design Process?. System Design Circuit Design Component

The Electrical Engineering faculty presenting this digital circuit design material in camp, who had almost no experience interacting with middle school students, also learned

[r]

lijeka“ U slu č aju da i unato č stru č nom mišljenju pripadaju ć ih specijalista postoje nejasno ć e, povjerenstvo za lijekove „može zatražiti dodatno mišljenje stru č

Bildquelle: www.spectronet.de > Nachrichten > OMRON Xpectia Pressekonferenz Günzburg > 081001_04_hotzel_ruhlamat.pps.. 5.6 Example for SaaS Applications in ruhlamat

Aim: Evaluation of serum levels of 17 cytokines and 5 adhesion molecules in patients with newly diagnosed acute myeloid leukemia.. (AML) using biochip

In this study, the bed overdeepenings for 28000 glaciers (40775km²) of the Himalaya–Karakoram region are modelled using GlabTop2 (Glacier Bed Topography model version 2), in which