1 / 10

Microprocessors vs. Custom Digital Circuits

Microprocessors vs. Custom Digital Circuits. Designers that work with digital phenomena often buy an off-the-shelf microprocessor and program it. Microprocessors are readily available, inexpensive, easy to program, and easy to reprogram.

tejana
Download Presentation

Microprocessors vs. Custom Digital Circuits

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Microprocessors vs. Custom Digital Circuits Designers that work with digital phenomena often buy an off-the-shelf microprocessor and program it. Microprocessors are readily available, inexpensive, easy to program, and easy to reprogram Why would anyone ever need to design new digital circuits? • Microprocessors are sometimes: • Too slow; • Too big; • Consume too much power; • Too costly

  2. Combinational Logic Circuits A digital circuit whose output depends solely on the present combination of input values is called a combinational circuit Logic gates – building blocks of logic circuits AND OR NOT Boolean Algebra Boolean algebra is a branch of mathematics that uses variables whose values can only be 1 or 0 (“true” or “false”, respectively) and whose operators, like AND, OR, NOT, operate on such variables and return 1 or 0. We can build circuits by doing math

  3. 0 0 1 y y x x F x F F y y x x 0 1 1 Relating Boolean Algebra to Digital Design Logic Gates Truth Tables Transistor Circuits

  4. k BeltWarn p w s Example: Seat Belt Warning Light System • Design circuit for warning light • Sensors • s=1: seat belt fastened • k=1: key inserted • p=1: person in seat • Capture Boolean equation • person in seat, and seat belt not fastened, and key inserted • Convert equation to circuit • Notice • Boolean algebra enables easy capture as equation and conversion to circuit w = p AND NOT(s) AND k

  5. Boolean Algebra Notation • By defining logic gates based on Boolean algebra, we can use algebraic methods to manipulate circuits • So let’s learn some Boolean algebraic methods • Start with notation: Writing a AND b, a OR b, and NOT(a) is cumbersome • Use symbols: a * b, a + b, and a’ (in fact, a * b can be just ab). • Original: w = (p AND NOT(s) AND k) OR t • New: w = ps’k + t • Spoken as “w equals p and s prime and k, or t” • Or even just “w equals p s prime k, or t” • s’ known as “complement of s” • While symbols come from regular algebra, don’t say “times” or “plus” Boolean algebra precedence, highest precedence first. Symbol Name Description ( ) Parentheses Evaluate expressions nested in parentheses first ’ NOT Evaluate from left to right * AND Evaluate from left to right + OR Evaluate from left to right

  6. Boolean Algebra Properties • Commutative • a + b = b + a • a * b = b * a • Distributive • a * (b + c) = a * b + a * c • a + (b * c) = (a + b) * (a + c) • Associative • (a + b) + c = a + (b + c) • (a * b) * c = a * (b * c) • Identity • 0 + a = a + 0 = a • 1 * a = a * 1 = a • Complement • a + a’ = 1 • a * a’ = 0

  7. f = c’ (h + p) Boolean Algebra: Additional Properties • Null elements • a + 1 = 1 • a * 0 = 0 • Idempotent Law • a + a = a • a * a = a • Involution Law • (a’)’ = a • De Morgan’s Law • (a + b)’ = a’ b’ • (a b)’ = a’ + b’ Example: Simplification of an automatic sliding door system f = h c’ + h’ p c’

  8. Boolean Functions Boolean function is a mapping of each possible combination of input values to either 0 or 1. Boolean function can be represented as an equation, a circuit, and as a truth table. Converting a truth table to an equation F = a b + a’ F = a’ b’ + a’ b + a b For any function, there may be many equivalent equations, and many equivalent circuits, but there is only one truth table!

  9. a a b b F F c c G G ( b ) ( a ) Multiple-Output Circuits • Many circuits have more than one output • Can give each a separate circuit, or can share gates • Ex: F = ab + c’, G = ab + bc Option 2: Shared gates Option 1: Separate circuits

  10. Multiple-Output Example: BCD to 7-Segment Converter a = w’x’y’z’ + w’x’yz’ + w’x’yz + w’xy’z + w’xyz’ + w’xyz + wx’y’z’ + wx’y’z b = w’x’y’z’ + w’x’y’z + w’x’yz’ + w’x’yz + w’xy’z’ + w’xyz + wx’y’z’ + wx’y’z

More Related