Digital Circuit: Build a Computer from Scratch Tutorial

At this time,

some people worry about where to go for fun,

some worry about not being able to buy tickets,

some worry about not being able to book rooms,

some worry about not having money to go out,

and some are even worse… they don’t get a holiday at all.

Last night I had a nightmare:

HR sent a company-wide notice in the group,

with the title [No Holiday Notification for Labor Day]…

Followed by six words: Salute to the workers!

I was furious, opened the group to prepare to curse,

just sent a sentence of national essence (net censorship),

accidentally sent it to the entire company group,

and right below the no-holiday notice.

Seeing my career about to end,

Meng Ge replied below:

“Are you crazy? Cursing me here.”

I immediately went to Meng Ge and bowed to him.

Then, I crazily shouted slogans in the group:

“The earth won’t explode, I won’t take a holiday!”

“The universe won’t restart, I won’t rest!”

“I love overtime, overtime makes my boss happy!”

Before:Don’t worry, be happy.

Now:Don’t work, be happy.

The holiday is coming!

This feeling of being released from prison is too intoxicating.

Every time a short holiday approaches,

in the days before the holiday, I become very restless,

fantasizing about the wonderful life after the holiday.

I asked Meng Ge: Where do you plan to go for fun on May Day?

Is it barbecue in Zibo, or the Water Splashing Festival in Yunnan?

Go to Luoyang to see peonies, or go to Guangxi for mountain songs?

Or… catch river fish, and egg-laying hens,

the toads of Changbai Mountain are the best, shall we go?

Meng Ge wrote the two words “serious” on his face:

“I asked my friend who does tourism,

“What preparations are needed for traveling on May Day?”

He said, in summary, just four words: Bring more money.

“With your income, a true Jiangnan,

will spend all the money in your pocket!”

Why can’t you find a yacht in Sanya or a five-star hotel?

Think about it, think carefully!

Ah, my goodness, precisely pinpointed…Digital Circuit: Build a Computer from Scratch Tutorial

Going out to play is not as interesting as watching videos at home!

May Day is five days of fun, leveling up is the happiest:

Digital Circuit: Build a Computer from Scratch Tutorial

Direct link to Bilibili:

Digital Circuit: Build a Computer from Scratch Tutorial

https://www.bilibili.com/video/BV1tF4m1A7xH

The Shanguigu Embedded Series Tutorial on Digital Circuit: Build a Computer from Scratch does not require learners to have any basic circuit knowledge. Even if you have never heard of digital circuits, following this tutorial step by step will allow you to eventually complete the entire practical project and build a computer from scratch!

The tutorial is divided into four main parts: The first part covers basic principles of digital circuits and gate circuits to help everyone solidify their foundation and familiarize themselves with operations; the second part introduces the Von Neumann computer model, which is the model used by most computers today; understanding the target model is key to better realizing it; the third part involves creating computing units, i.e., building the core computer hardware, which is the most crucial step in handcrafting a CPU; the fourth part involves packaging and merging the computer for practical demonstration.

Tutorial Introduction

Get the full set of tutorials for free, send the following in the WeChat public account chat window:Digital Circuit! For video download navigation and learning routes from Shanguigu, please visit:

http://www.atguigu.com/download.shtml

Follow the official Shanguigu account on Bilibili,

to be the first to see the latest video tutorials!

Digital Circuit: Build a Computer from Scratch Tutorial

Portal: https://space.bilibili.com/302417610

Tutorial Directory

01_Digital Circuit_Building a Computer Introduction

02_Introduction to Building a Computer from Scratch

03_Digital Basics_Binary Representation of Everything

04_Digital Basics_Using Morse Code to Represent Information

05_Digital Basics_Binary Representation of Text

06_Digital Basics_Binary Representation of Images

07_Digital Basics_Binary Representation of Sound and Video

08_Circuit Basics_Using Simulation Software to Implement Digital Circuits

09_Circuit Basics_The First Basic Logic Gate Circuit – NOT Gate

10_Circuit Basics_The Second Basic Logic Gate Circuit – AND Gate

11_Circuit Basics_The Third Basic Logic Gate Circuit – OR Gate

12_Circuit Basics_Variations of Different Gate Circuits from Basic Logic Gates

13_Extended Circuits_Full Adder Composed of Half Adders

14_Extended Circuits_Connecting One-bit Adders to Form Multi-bit Adders

15_Extended Circuits_One-bit Subtractor Implemented by Half Subtractor

16_Extended Circuits_Connecting One-bit Subtractors to Form Multi-bit Subtractors

17_Extended Circuits_Implementing SR Latch with NAND and NOR Gates

18_Extended Circuits_Analysis of SR Latch Principles

19_Extended Circuits_SR Latch with Enable Switch

20_Extended Circuits_D Latch with Enable Switch

21_Extended Circuits_Circuit Design and Principle Introduction of D Flip-Flop

22_Extended Circuits_Connecting One-bit D Flip-Flops to Form Multi-bit Registers

23_Extended Circuits Practical_Adder with Registers

24_Computer Principles_What is Von Neumann Model Computer

25_Computer Principles_CPU Composition Introduction

26_Computer Principles_Memory Composition Introduction

27_Computer Principles_Input and Output System Introduction

28_Computer Principles_Program Execution Logic and the Final Computer Logic to be Achieved

29_Building ALU_One-bit Multiplexer Implementation Circuit

30_Building ALU_Multi-bit Multiplexer Implementation for Function Selection

31_Building ALU_Comparator Construction

32_Building ALU_Initial Computing Unit

33_Building Simple Memory_Using 38 Decoder to Represent Address Values

34_Building Simple Memory_Simple Implementation of Address Corresponding Data Storage

35_Building Simple Memory_Simple Circuit Implementation of EEPROM

36_Combining CPU_Adding Memory for Data Entry to Computing Unit

37_Combining CPU_Adding Counter to Computing Unit

38_Combining CPU_Adding Halt Information to Stop Computation

39_Combining CPU_Fully Automated Computing Unit

40_Combining CPU_Writing Control Instructions for Halt Signal

41_Combining CPU_Writing str Input Enable Signal to Store Computation Results

42_Combining CPU_Writing ld Output Signal and selB to Resolve High Impedance State

43_Combining CPU_Writing ldA Control Signal for Reloading Multiple Computations

44_Combining CPU_Writing Jump Instruction and Adding Data Writing Function

45_Combining CPU_Writing Jump Instruction to Complete Jump Operation

46_Combining CPU_Adding Enable Switch en_a

47_Combining CPU_Adding Conditional Jump je Instruction and Modifying Unconditional Jump Instruction Name

48_Combining CPU_Writing je Conditional Jump Operation

49_Combining CPU_Adding Controller Using Control Codes Corresponding to Instructions

50_Combining CPU_How to Use the Controller

51_Merging Memory_Overall Review of Memory Merging Principles

52_Merging Memory_Operations Required to Merge Memory into One Block

53_Merging Memory_Replacing Instruction Storage and Data Storage with Instruction Register and Memory

54_Merging Memory_Modifying Counter and Memory Address Bit Length to 11 Bits

55_Merging Memory_Modifying Controller to Reconstruct Instruction Fetch

56_Merging Memory_Correspondence of Executing Instructions

57_Merging Memory_Complete Reconstruction of Merging Memory Circuit

58_Merging Memory_Complete Display of Merged Computing Unit

59_Reconstructing CPU_Adding Immediate Value Function Circuit Modification

60_Reconstructing CPU_Practical Operation of Immediate Value

61_Reconstructing CPU_Adding B Register

62_Reconstructing CPU_Writing Instruction Set for Two Registers (Part 1)

63_Reconstructing CPU_Writing Instruction Set for Two Registers (Part 2)

64_Reconstructing CPU_Demonstration of Instruction Execution Operation

65_Reconstructing CPU_Process of Corresponding Assembly Statements and Machine Codes

66_Computer Simulation_Simulation Effect Display

67_Computer Simulation_CPU Bus Connection Design

68_Computer Simulation_Completed CPU Packaging

69_Computer Simulation_Designing Computer Memory

70_Computer Simulation_Designing Computer Hard Drive and Terminal

71_Computer Simulation_Boot Program After Computer Starts

72_Computer Practice_Final Program Display After Computer Starts

73_Computer Practice_Display of Computer Expansion Function Flow Light

74_Summary of Building a Computer from Scratch Tutorial

More choices, more laughter!

Videos released by Shanguigu in 2024:

SpringBoot3 Reactive Programming Tutorial

Java Introductory Tutorial (2024 Version)

Linux Video Tutorial (2024 Version)

Hongmeng Application Development Tutorial

Fast Food Offline Data Warehouse Project

SpringSecurity+OAuth2.0 Practical Lecture

Flink Real-time Data Warehouse Project 4.0

WeChat Mini Program New Version Tutorial

SpringCloud New Version Tutorial

Computer Composition Principles Tutorial (Postgraduate Entrance Exam 408)

Python Quick Start Tutorial

Kafka New Version Video Tutorial

Git and GitLab Enterprise Practical Tutorial

JDBC New Version Video Tutorial

FlinkCDC 3.0 Video Tutorial

Ubuntu Quick Start Tutorial

……

Keep following Shanguigu,

more heavyweight videos are coming soon!

Very yellow and violent, the essence of e-commerce data warehouse is here,

the first sale after the holiday live broadcast, stay tuned!

Digital Circuit: Build a Computer from Scratch Tutorial

Long holidays, reading to recharge?

Shanguigu Douyin and Bilibili official account showcase,

all books, limited-time 50% off.

New books on MySQL Advanced, Hive, etc. are on the way.

Follow Meng Ge to understand computer composition, let’s get into digital circuits!

Scan or hit the bottom left corner “Read the original text”:

Digital Circuit: Build a Computer from Scratch Tutorial

Do not be intimidated by the enemy’s fierce momentum,

do not be discouraged by the difficulties that can still be endured,

do not lose heart because of temporary setbacks,

the road is winding, the future is bright,

the darkness is about to pass, the dawn is right ahead!

I stole Li Bai’s wine, wanting to drink with Du Fu,

Su Shi sent Dongpo meat, drunk in front of Wang Wei’s door.

Once I got drunk, and said to Meng Ge:

I want to go back home and open a milk tea franchise,

being PUAed by the boss every day makes me emo.

Meng Ge suddenly said seriously:

If anyone tells you, I have a good project,

low investment, high profit, and low risk,

remember, however far your thoughts go, run however far.

Trust him? Better to trust I am Qin Shi Huang!

Why would such a good thing find you?

Be careful, you might lose your pants.

Your entrepreneurial income,

is far higher than being a screw;

but the risk of entrepreneurship,

will also be far higher than being a screw.

Especially businesses that look clean and fresh,

milk tea shops, coffee shops, cake shops, flower shops,

look beautiful, but actually –

low threshold, serious internal competition, and fierce competition.

Don’t be fooled by marketing!

What’s the first cup of milk tea in autumn…

soft and hard to swallow = sticky,

hard and dry = the more you chew, the more fragrant,

bad-tasting internet celebrity shops = the shop is super photogenic.

Clearly added a bunch of things but still tastes bad,

must talk about how rich the flavor is.

Directly eating bad food can only be a mess,

but still insists it’s the divine method I finally found.

Can’t open in big cities, go to third or fourth tier cities,

pay attention to this little hint:

“xx queue king, finally came to my big xx!”

I xx took a bite and opened a shop on the spot.”

When you confidently open a shop,

you will know what a societal beating is.

Truly listening to your words, I want to be cremated on the spot.Digital Circuit: Build a Computer from Scratch Tutorial

Entrepreneurship has risks, investment requires caution…

If there are no particularly suitable opportunities,

let’s learn some technology from Meng Ge.

Hit the bottom left corner “Read the original text”,

the old driver will drift through the bend together!

Keep following Shanguigu,

a wave of embedded videos is coming soon!

For detailed inquiries about Shanguigu embedded courses:

Digital Circuit: Build a Computer from Scratch Tutorial

Digital Circuit: Build a Computer from Scratch Tutorial
Hit the bottom “Read the original text”, let’s go!

Leave a Comment