logic design cs221 1 st term 2009-2010 storage (memory) cairo university faculty of computers and...

13
Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

Upload: polly-bridges

Post on 18-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

Logic DesignCS221

1st Term 2009-2010

Storage (memory)Storage (memory)

Cairo University

Faculty of Computers and Information

Page 2: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 2

Administrivia homework #3 due Dec. 8th in lecture Project design due Dec. 8th in lecture course web site:

http://www.fci-cu.edu.eg/~skhattab/cs221/

Page 3: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 3

multiplexers with 3-state gates 3-state gates

logic 0 logic 1 high-impedance (open)

3-state buffer gate

Page 4: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 4

multiplexers with 3-state gates

Page 5: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 5

multiplexers with 3-state gates

Page 6: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 6

storage elements

storage (memory) elements store bits while power is on until input signals cause them to switch the stored bits

storedn bits

input signals

Page 7: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 7

storage elements latches:

storage elements that operate on the levels of input signals (0 or 1)

level-sensitive flip-flops:

storage elements that operate on the transitions in input signals (0->1 or 1->0)

edge-sensitive flip-flops are more common. flip-flops are constructed from latches.

Page 8: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 8

SR-latch 2 inputs: S (Set) and R (Reset) 2 outputs: Q and Q'

Function Table

Page 9: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 9

SR-latch with enable

Page 10: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 10

D latch

Page 11: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 11

graphic symbols for latches

Page 12: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 12

D flip-flop

edge-triggered

Page 13: Logic Design CS221 1 st Term 2009-2010 Storage (memory) Cairo University Faculty of Computers and Information

24/10/2009 cs221 – sherif khattab 13

D flip-flop