This book is written for electronic hobbyists. I am going to challenge you to do a "Mission Impossible". The goal in this book is to help you with this "Mission Impossible" - you can follow my journey to design, build, and program a CPU. In the end, I hope you have learned enough to design and build a CPU of your own!
To physically build our CPU, we are going to employ a FPGA (field programmable gate array). FPGAs are integrated circuits which can be configured into digital logic using a hardware description programming language.
We will take some time to explore digital logic and then CPUs in general. We will then define what we want our own CPU to look like, and start designing it. Because we can't do anything with just a CPU, our design
will, out of necessity, need to be more than just the CPU. We will need to create a complete, although simple, computer in order to communicate with our CPU and program it. So, for example, we will need to add RAM memory, ROM memory, and serial communication to our CPU. In essence, we are going to design and build a microcontroller, not just its CPU!
We are going to develop all this is a series of projects, starting with some simple logic circuits, and gradually working up to building our CPU. You will design and build a CPU and its associated peripherals. You will learn assembly language and how to program your CPU.
Sprache
Dateigröße
ISBN-13
978-1-300-29876-2 (9781300298762)
Schweitzer Klassifikation
Contents
Equipment Required for this Book
Access to Code Files for this Book
Forward
Section I - Your Mission
1. Introduction
2. Introduction to Digital Logic
3. Understanding a CPU
4. Designing our CPU
Section II - Logic Design with FPGAs
5. Introduction to FPGAs
6. The Alchitry Au FPGA System
7. Your First Project - The Full Adder
8. An 8-bit Full-Adder
9.Read Only Memory
10. Arithmetic Logic Unit
11. Sequential Logic
12. More Sequential Logic
Section III - Building a CPU
13.Overview of CPU Build
14. The CPU Module
15.The Instruction ROM
16. First Program on Our CPU
17. Serial Communication
18. Completing Our Build
Section IV - Innovate and Enhance
19. Critique of Our Current Design
20. Improving the Instruction ROM
21. Improving the Text ROM
22. Adding a Timed Interrupt
23. Driving a Liquid Crystal Display
24. Adding an Analog Input
25. Improving the Instruction Set
26. The Tic Tac Toe Game
Section V - Final Thoughts
27. Mission Complete
About the Author