1 / 13

LOGIC CIRCUIT DESIGN (II)

LOGIC CIRCUIT DESIGN (II). The problem is to design a logic circuit for TRAFFIC LIGHTS with two inputs A, B and three outputs R, Y, G. TRAFFIC LIGHTS.

aimon
Download Presentation

LOGIC CIRCUIT DESIGN (II)

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. LOGIC CIRCUIT DESIGN (II) • The problem is to design a logic circuit for TRAFFIC LIGHTS with two inputs A, B and three outputs R, Y, G.

  2. TRAFFIC LIGHTS • R, Y and G feed red, yellow and green lights (e.g. LEDs), these would flash in the order of Hong Kong traffic signals when A and B are supplied continuously by a two bit binary code representing numbers 0 to 3.

  3. TRAFFIC LIGHTS

  4. 0 0 1 1 0 1 0 1 0 1 0 0 TRAFFIC LIGHTS

  5. R = A B + A B R = A (B + B) R = A TRAFFIC LIGHTS

  6. Y = A B + A B Y = B (A + A) Y = B TRAFFIC LIGHTS

  7. G = A B TRAFFIC LIGHTS

  8. TRAFFIC LIGHTS The Boolean expression of Traffic Lights R = A Y = B G = A.B

  9. TRAFFIC LIGHTS The Logic Circuit of Traffic Lights R = A Y = B G = A.B A R Y B G

  10. A R Y B G TRAFFIC LIGHTS Using NAND gates to implement the Boolean Expression. R = A Y = B G = A.B

  11. Question • The problem is to design a logic circuit for A COIN-OPERATED HOT DRINK MACHINE. • It will provide a cup of tea or coffee under the following conditions.

  12. Question • The conditions is …. • (1) The correct amount of coin is inserted (P),_____ • (2) The cup is in position (Q), _____ • (3) The selector is set at “TEA”(T) ___“COFFEE”(C) Please write down a Boolean expression for these conditions under which a drink (Z) can be provided and draw the logic circuit.

  13. Question • The conditions is …. • (1) The correct amount of coin is inserted (P),_____ • (2) The cup is in position (Q), _____ • (3) The selector is set at “TEA”(T) ___“COFFEE”(C) Please write down a Boolean expression for these conditions under which a drink (Z) can be provided and draw the logic circuit. AND AND OR

More Related