The plan is…

  • light switch
  • logic gates
  • flip-flops
  • RAM

The plan is…

  • light switch
  • logic gates
  • flip-flops
  • RAM

The plan

  • light switch πŸ‘ˆ
  • logic gates
  • flip-flops
  • RAM

The plan

  • light switch
  • logic gates πŸ‘ˆ
  • flip-flops
  • RAM

AND gate

AND gate

AND gate

AND gate

AND gate

AND gate

A B OUT
0 0 0
1 0 0
0 1 0
1 1 1

AND gate

A B OUT
0 0 0
1 0 0
0 1 0
1 1 1

Our first building block

πŸŽ‰

OR gate

OR gate

OR gate

OR gate

OR gate

OR gate

A B Out
0 0 0
1 0 1
0 1 1
1 1 1

NOT gate

(inverter)

NOT gate

IN Out
0 1
1 0

NOR gate

NOR gate

NOR gate

A B Out
0 0 1
1 0 0
0 1 0
1 1 0

OR gate

A B Out
0 0 0
1 0 1
0 1 1
1 1 1

NOR gate

A B Out
0 0 1
1 0 0
0 1 0
1 1 0

The plan

  • light switch
  • logic gates
  • flip-flops πŸ‘ˆ
  • RAM

Flip-flop

Flip-flop

Flip-flop

Flip-flop

Flip-flop

Flip-flop

Second building block!

πŸŽ‰

Edge-triggered D type latch

The plan

  • light switch
  • logic gates
  • flip-flops
  • RAM πŸ‘ˆ

We've build a RAM!

πŸŽ‰

Recap

πŸ‘‰ logic gates

πŸ‘‰ flip-flops and latches

πŸ‘‰ RAM

next time!

Questions?

See the circuits

Sources

  • Code: The Hidden Language of Computer Hardware and Software
    Charles Petzold
  • https://www.falstad.com/circuit/
  • But How Do It Know? The Basic Principles of Computers for Everyone
    J. Clark Scott
  • https://slideplayer.com/slide/14604328/
  • https://www.geeksforgeeks.org/computer-organization-von-neumann-architecture/
  • http://www.vias.org/albert_ecomm/aec09_telegraph_systems_004.html
  • https://hackaday.com/2018/06/04/a-100th-birthday-celebration-for-the-flip-flop/
  • https://www.autodesk.com/products/eagle/blog/series-vs-parallel-circuits/
visual6502.org
visual6502.org