- - PDF document

https images na ssl images amazon com images i a1w4ip5ov
SMART_READER_LITE
LIVE PREVIEW

- - PDF document

https://images-na.ssl-images-amazon.com/images/I/A1w4iP5ov-L._SY879_.jpg Translate this table to a circuit input output fill me in! x y a b c d 0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 0 1 0 1 1 0 0 0 1 Full name Th. 9/20


slide-1
SLIDE 1

https://images-na.ssl-images-amazon.com/images/I/A1w4iP5ov-L._SY879_.jpg

slide-2
SLIDE 2

Translate this table to a circuit

Full name

  • Th. 9/20

input

  • utput

x y a b c d

1 1 1 1 1 1 1 1

fill me in!

slide-3
SLIDE 3

Translate this table to a circuit

Full name

  • Th. 9/20

input

  • utput

x y a b c d

1 1 1 1 1 1 1 1

2-bit 
 decoder

slide-4
SLIDE 4

Levels of abstraction

Stored-program computers Random-access memory (RAM) Registers 1-bit memory: latches Logic gates Transistors / switches today next week twoday (s ago)

slide-5
SLIDE 5

What kinds of problems can computers solve?

Decision problems on 
 finite, bitstring inputs.

What counts as a problem? What counts as a computer?

Can combinational logic solve 
 all the problems that a DFA
 can? How about a Turing Machine?

slide-6
SLIDE 6

Can we do this?

If we can’t, then boolean functions aren’t as powerful as DFAs.

𝚻 = {0}

slide-7
SLIDE 7

Use minterm expansion!

(1) Write down the truth table for this DFA. The output of the function should be a 1 if it accepts; 0 if it rejects. (2) Use minterm expansion to create the circuit from the table.

Impossible task!

we cannot build a circuit for this DFA

slide-8
SLIDE 8

Hint: 0 gates

Pass-through

input

  • utput

time t0 t1 t2 t3 t4 t5 t6 t7

I’m (not) pressing the button right now.

slide-9
SLIDE 9

Phase behavior: set

set

  • utput

time t0 t1 t2 t3 t4 t5 t6 t7

I (haven’t yet) pressed the button. (toggle on) Hint: 1 gate Hint: Either I’m pressing the button now. OR The output was 1 at some point.

slide-10
SLIDE 10

Phase behavior: set / reset

reset set

  • utput

time t0 t1 t2 t3 t4 t5 t6 t7

I can toggle the button on and off. Hint: 3 gates Hint: OR, AND, NOT S/R latch

slide-11
SLIDE 11

Pass-through via set / reset

data

  • utput

time t0 t1 t2 t3 t4 t5 t6 t7

I’m (not) pressing the button right now.

S/R latch

slide-12
SLIDE 12

input

  • utput

strobe data set reset

1 1 1 1 1 1

Hint:

Pass-through or set / reset

strobe data

  • utput

time t0 t1 t2 t3 t4 t5 t6 t7

I can toggle between pass-through and 
 remembering the state from a moment in time. D latch

S/R latch

slide-13
SLIDE 13

https://images-na.ssl-images-amazon.com/images/I/61wzOqnANGL._SX679_.jpg

slide-14
SLIDE 14

A 512K x 8 RAM (About 4.2 million bits)

Random-access memory (RAM)

slide-15
SLIDE 15

Interface: we can read or write one of four rows of memory, and each row stores three bits

A small piece of RAM

slide-16
SLIDE 16

Implementation

A small piece of RAM

slide-17
SLIDE 17

Addressing: select which “line”

A small piece of RAM

slide-18
SLIDE 18

Write mode

A small piece of RAM

slide-19
SLIDE 19

A small piece of RAM

slide-20
SLIDE 20

Wire data bits to corresponding memory bits

A small piece of RAM

slide-21
SLIDE 21

Wire data bits to corresponding memory bits

A small piece of RAM

slide-22
SLIDE 22

Wire data bits to corresponding memory bits

A small piece of RAM

slide-23
SLIDE 23

What kinds of problems can computers solve?

Decision problems on 
 finite, bitstring inputs.

What counts as a problem? What counts as a computer?

Can sequential logic solve 
 all the problems that a DFA
 can? How about a Turing Machine?