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.
2.7K
views
14
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

Share the instructor profile
Copied

Requirements

You should have a computer.

One-time Purchase
$99.99
List Price:  $139.99
You save:  $40
€96.06
List Price:  €134.49
You save:  €38.42
£82.47
List Price:  £115.46
You save:  £32.99
CA$133.36
List Price:  CA$186.71
You save:  CA$53.34
A$147.78
List Price:  A$206.90
You save:  A$59.11
S$137.54
List Price:  S$192.57
You save:  S$55.02
HK$780.62
List Price:  HK$1,092.91
You save:  HK$312.28
CHF 94.31
List Price:  CHF 132.05
You save:  CHF 37.73
NOK kr991.14
List Price:  NOK kr1,387.64
You save:  NOK kr396.49
DKK kr714.37
List Price:  DKK kr1,000.15
You save:  DKK kr285.78
NZ$159.48
List Price:  NZ$223.28
You save:  NZ$63.80
د.إ367.26
List Price:  د.إ514.18
You save:  د.إ146.92
৳10,187.60
List Price:  ৳14,263.05
You save:  ৳4,075.45
₹8,169.06
List Price:  ₹11,437.02
You save:  ₹3,267.95
RM449.45
List Price:  RM629.25
You save:  RM179.80
₦44,340.56
List Price:  ₦62,078.56
You save:  ₦17,738
₨22,450.73
List Price:  ₨31,431.93
You save:  ₨8,981.19
฿3,573.64
List Price:  ฿5,003.24
You save:  ฿1,429.60
₺1,862.77
List Price:  ₺2,607.95
You save:  ₺745.18
B$532.04
List Price:  B$744.88
You save:  B$212.84
R1,702.39
List Price:  R2,383.41
You save:  R681.02
Лв187.74
List Price:  Лв262.84
You save:  Лв75.10
₩132,623.53
List Price:  ₩185,678.24
You save:  ₩53,054.71
₪341.95
List Price:  ₪478.74
You save:  ₪136.79
₱5,666.93
List Price:  ₱7,933.93
You save:  ₱2,266.99
¥13,839.66
List Price:  ¥19,376.08
You save:  ¥5,536.42
MX$1,938.40
List Price:  MX$2,713.84
You save:  MX$775.43
QR366.79
List Price:  QR513.52
You save:  QR146.73
P1,285.69
List Price:  P1,800.03
You save:  P514.33
KSh12,223.77
List Price:  KSh17,113.77
You save:  KSh4,890
E£2,456.62
List Price:  E£3,439.37
You save:  E£982.74
ብር5,343.91
List Price:  ብር7,481.70
You save:  ብር2,137.78
Kz51,135.30
List Price:  Kz71,591.47
You save:  Kz20,456.16
CLP$91,025.89
List Price:  CLP$127,439.89
You save:  CLP$36,414
CN¥715.10
List Price:  CN¥1,001.18
You save:  CN¥286.07
RD$5,462.39
List Price:  RD$7,647.56
You save:  RD$2,185.17
DA13,834.11
List Price:  DA19,368.31
You save:  DA5,534.19
FJ$221.07
List Price:  FJ$309.51
You save:  FJ$88.44
Q781.20
List Price:  Q1,093.71
You save:  Q312.51
GY$20,938.20
List Price:  GY$29,314.31
You save:  GY$8,376.11
ISK kr14,073.59
List Price:  ISK kr19,703.59
You save:  ISK kr5,630
DH1,068.42
List Price:  DH1,495.83
You save:  DH427.41
L1,919.57
List Price:  L2,687.47
You save:  L767.90
ден5,923.18
List Price:  ден8,292.69
You save:  ден2,369.51
MOP$804.42
List Price:  MOP$1,126.23
You save:  MOP$321.80
N$1,725.82
List Price:  N$2,416.22
You save:  N$690.40
C$3,600.44
List Price:  C$5,040.77
You save:  C$1,440.32
रु13,063.30
List Price:  रु18,289.14
You save:  रु5,225.84
S/386.12
List Price:  S/540.59
You save:  S/154.46
K352.45
List Price:  K493.44
You save:  K140.99
SAR375.74
List Price:  SAR526.05
You save:  SAR150.31
ZK1,663.21
List Price:  ZK2,328.56
You save:  ZK665.35
L472.69
List Price:  L661.78
You save:  L189.09
Kč2,345.03
List Price:  Kč3,283.14
You save:  Kč938.10
Ft39,705.02
List Price:  Ft55,588.61
You save:  Ft15,883.59
SEK kr1,039.90
List Price:  SEK kr1,455.90
You save:  SEK kr416
ARS$16,520.45
List Price:  ARS$23,129.30
You save:  ARS$6,608.84
Bs691.17
List Price:  Bs967.66
You save:  Bs276.49
COP$488,172.40
List Price:  COP$683,460.89
You save:  COP$195,288.49
₡60,719.88
List Price:  ₡85,010.26
You save:  ₡24,290.38
L2,471.43
List Price:  L3,460.11
You save:  L988.67
₲717,614.13
List Price:  ₲1,004,688.49
You save:  ₲287,074.35
$U3,930.47
List Price:  $U5,502.82
You save:  $U1,572.34

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
14
Saves
2.7K
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.