Design a CPU

Learn how to design and simulate a fully functioning 8 bit CPU.

Design a CPU

Learn how to design and simulate a fully functioning 8 bit CPU.
3.3K
views
18
Saved
Share the link to this page
Copied

About the Class

If you want to know what makes a computer work, then this video series is for you. I work through the design of a simple CPU (Central Processing Unit), which is the beating heart of a modern computer. I design and simulate each block of the CPU in an online tool called Logisim. You can download the tool and simulate the CPU on your computer or if you like you can take a copy of my simulation files and load them into the tool and simulate what you have learned in the videos or just listen along to the videos (it's up to you).

First, we download the free design tool called Logism, in which we design and simulate our CPU and take a look around the tool and show you how it works. Then the fun begins. We design and simulate the following blocks:

  • Simple logic gates
  • 1-bit memory cell
  • 8-bit memory cell
  • 8-bit register
  • Decoder
  • RAM (Random Access Memory)
  • ALU (Arithmetic Logic Unit)
  • Clock

We then design and simulate the most difficult section of the control unit. This is where it all comes together, and you will get that amazing eureka moment when you can say, I know what a computer is! In this section, we build up the instruction set within the control unit.

  • Add instruction
  • Fetch execute cycle
  • ALU instruction
  • Load and store instructions
  • Data instruction
  • Jump register instruction
  • Jump address instruction
  • Jump if instruction
  • Clear flag instruction

We then build up a little assembler which converts our machine code to our assembly language in Microsoft Excel (what's an assembler? Once you get to this point you will know, and you will be home and dry). Finally, we are in a position to load the CPU up without the first assembly language program. An algorithm that multiplies two numbers together (might not sound like much but you can then design your algorithms and simulate them in your CPU).

  • Top-level simulation

In the last two videos, we go into a bit of mathematics about what a computer is and what it can and cannot do for you. I introduce the idea of an algorithm and something called a Universal Turing Machine. I answer the question 'Can a computer work out the answer to everything?'

  • Algorithms
  • Universal Turing Machine

This course follows the CPU design in the book ButHowDoItKnow (The Basic Principles of Computers for Everyone). You do not need to buy the book to follow the course, but I would highly recommend the book. If you want to know how a computer works, then this is the course for you.

Author

Ross Mcgowan

School

Ross Mcgowan's School

Requirements

You should have a computer.

One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€85.57
List Price:  €119.80
You save:  €34.23
£75.27
List Price:  £105.38
You save:  £30.11
CA$137.50
List Price:  CA$192.50
You save:  CA$55
A$152.93
List Price:  A$214.11
You save:  A$61.18
S$128.38
List Price:  S$179.74
You save:  S$51.36
HK$779.69
List Price:  HK$1,091.60
You save:  HK$311.90
CHF 81.37
List Price:  CHF 113.93
You save:  CHF 32.55
NOK kr1,005.77
List Price:  NOK kr1,408.13
You save:  NOK kr402.35
DKK kr638.70
List Price:  DKK kr894.21
You save:  DKK kr255.50
NZ$169.71
List Price:  NZ$237.61
You save:  NZ$67.89
د.إ367.21
List Price:  د.إ514.11
You save:  د.إ146.90
৳12,139.10
List Price:  ৳16,995.23
You save:  ৳4,856.12
₹8,815.86
List Price:  ₹12,342.56
You save:  ₹3,526.69
RM422.45
List Price:  RM591.45
You save:  RM169
₦153,182.14
List Price:  ₦214,461.13
You save:  ₦61,278.98
₨28,320.71
List Price:  ₨39,650.13
You save:  ₨11,329.41
฿3,235.27
List Price:  ฿4,529.50
You save:  ฿1,294.23
₺4,109.58
List Price:  ₺5,753.58
You save:  ₺1,644
B$543.08
List Price:  B$760.34
You save:  B$217.25
R1,765.13
List Price:  R2,471.25
You save:  R706.12
Лв167.21
List Price:  Лв234.10
You save:  Лв66.89
₩138,883.11
List Price:  ₩194,441.91
You save:  ₩55,558.80
₪333.23
List Price:  ₪466.54
You save:  ₪133.30
₱5,708.22
List Price:  ₱7,991.74
You save:  ₱2,283.52
¥14,702.02
List Price:  ¥20,583.42
You save:  ¥5,881.40
MX$1,865.32
List Price:  MX$2,611.52
You save:  MX$746.20
QR363.84
List Price:  QR509.40
You save:  QR145.55
P1,343.95
List Price:  P1,881.58
You save:  P537.63
KSh12,897.10
List Price:  KSh18,056.46
You save:  KSh5,159.35
E£4,796.09
List Price:  E£6,714.72
You save:  E£1,918.63
ብር14,217.09
List Price:  ብር19,904.49
You save:  ብር5,687.40
Kz91,690.83
List Price:  Kz128,370.83
You save:  Kz36,680
CLP$96,608.09
List Price:  CLP$135,255.19
You save:  CLP$38,647.10
CN¥713
List Price:  CN¥998.24
You save:  CN¥285.23
RD$6,286.43
List Price:  RD$8,801.25
You save:  RD$2,514.82
DA12,972.90
List Price:  DA18,162.58
You save:  DA5,189.68
FJ$225.51
List Price:  FJ$315.73
You save:  FJ$90.21
Q765.18
List Price:  Q1,071.29
You save:  Q306.10
GY$20,876.62
List Price:  GY$29,228.11
You save:  GY$8,351.48
ISK kr12,234.07
List Price:  ISK kr17,128.18
You save:  ISK kr4,894.11
DH899.93
List Price:  DH1,259.95
You save:  DH360.01
L1,663.14
List Price:  L2,328.47
You save:  L665.32
ден5,264.49
List Price:  ден7,370.51
You save:  ден2,106.01
MOP$801.54
List Price:  MOP$1,122.19
You save:  MOP$320.65
N$1,772.03
List Price:  N$2,480.91
You save:  N$708.88
C$3,673.64
List Price:  C$5,143.24
You save:  C$1,469.60
रु14,078.16
List Price:  रु19,709.99
You save:  रु5,631.82
S/353.31
List Price:  S/494.65
You save:  S/141.34
K422.46
List Price:  K591.46
You save:  K169
SAR375.20
List Price:  SAR525.30
You save:  SAR150.09
ZK2,354.41
List Price:  ZK3,296.27
You save:  ZK941.86
L434.15
List Price:  L607.83
You save:  L173.68
Kč2,092.65
List Price:  Kč2,929.79
You save:  Kč837.14
Ft33,973.07
List Price:  Ft47,563.65
You save:  Ft13,590.58
SEK kr946.06
List Price:  SEK kr1,324.52
You save:  SEK kr378.46
ARS$133,170
List Price:  ARS$186,443.33
You save:  ARS$53,273.32
Bs689.81
List Price:  Bs965.76
You save:  Bs275.95
COP$402,107.38
List Price:  COP$562,966.41
You save:  COP$160,859.03
₡50,407.82
List Price:  ₡70,572.96
You save:  ₡20,165.14
L2,613.72
List Price:  L3,659.32
You save:  L1,045.59
₲721,727.32
List Price:  ₲1,010,447.13
You save:  ₲288,719.80
$U4,000.21
List Price:  $U5,600.46
You save:  $U1,600.24
zł364.85
List Price:  zł510.81
You save:  zł145.95

What's Included

Language: English
Level: All levels
Skills: Assembly Language, Design, CPU, Design CPU, Assembler
Age groups: All ages
Duration: 6 hours 56 minutes
34 Videos
15 Documents
18
Saves
3.3K
Views
This class has not been saved

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.