1 / 20

Circuits 101

Circuits 101. Integrated Circuits (or ICs) basic packages for circuits pins determine input/output interface Categories in size SSI: 1-10 gates MSI: 10-100 gates LSI: 100-100,000 gates VLSI: over 100,000 gates. An SSI Chip. Notes on Two-Input SSI Chips.

rae
Download Presentation

Circuits 101

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. Circuits 101 • Integrated Circuits (or ICs) • basic packages for circuits • pins determine input/output interface • Categories in size • SSI: 1-10 gates • MSI: 10-100 gates • LSI: 100-100,000 gates • VLSI: over 100,000 gates

  2. An SSI Chip

  3. Notes on Two-Input SSI Chips • Pin 14 is where power source hooks up • Pin 7 is ground • This pin diagram is same for all two-input gate chips (AND, OR, NOR, XOR, NAND)

  4. Circuits 102 • Combinational circuits • totally controlled by inputs • Sequential circuits • keeps a history (i.e. has a memory) • typically has a clock • controlled by inputs and what’s in memory • output at time t2 determined by inputs and memory at time t1 (memory at t1,t2 may differ)

  5. Combinational Circuit is a Function A W B Combinational Circuit as Functional Mapping between Inputs and Outputs Z C Inputs Outputs

  6. Sequential = Combinational + Memory + Clock Combinational Circuit as Functional Mapping between Inputs and Outputs A W B Z C Inputs Outputs Memory Clock

  7. Typical Combinational Circuits • Multiplexers and demultiplexers • used as a selector • Encoders and decoders • used as a translator • Comparators • Shifters • Adders (half and full)

  8. A MUX

  9. Notes on MUX • Like a traffic cop • Inputs A, B, and C indicate which output is enabled • Of the eight inputs (D0, D1, …), only one will be enabled at any given time • Thus F is set to the value of the enabled D

  10. A Decoder

  11. Notes on Decoder • Consider inputs A, B, and C a (binary) code • The outputs (could be more than one) come from a functional translation of the inputs • In this case, only one of the output lines is enabled (and it is set to 1)

  12. A Comparator

  13. Notes on Comparator • XOR determines whether or not two bits are equal • XOR produces 1 if they are different • The NOR will be 1 only if all its inputs are 0 (that is, only if all bit pairs are equal)

  14. A Shifter

  15. Notes on Shifter • An input bit is shifted left or right depending on the value of C • C = 1 means “shift right” • C = 0 means “shift left” • So, take D3 for example • if C = 1, then D3 goes to S4 and S0 = 0 • if C = 0, then D3 goes to S2 and S7 = 0

  16. A Full Adder

  17. Notes on Adder • Three inputs: A and B (to be added) and Carry in from the “previous digit” • Two outputs: Sum and Carry out • Previous picture is a one-bit adder • Typically, we have an n-bit adder • many one-bit adders strung together • connected via carry bit lines

  18. A 1-bit ALU

  19. Notes on ALU • Input data: A, B, Carry in • Output data: Output bit, Carry out • Control signals • INVA, ENA, ENB, F0, F1 • collectively, these act as an ALU instruction

  20. ALU Instructions • Gimme an A! • Gimme B • Gimme the complement of A • Gimme the complement of B • Gimme A and B • Gimme A or B • Gimme A plus B • Gimme -A plus B

More Related