CPU's in general - what are they?

  • Thread starter Thread starter elegysix
  • Start date Start date
  • Tags Tags
    General
Click For Summary
SUMMARY

The discussion centers on the physical structure and functionality of CPUs, detailing that they are primarily composed of digital logic circuits implemented through transistors, specifically using MOSFET technology and CMOS inverters. The construction involves layering semiconductor materials like silicon, utilizing techniques such as photolithography for patterning. Additionally, the conversation touches on the historical development of operating systems, explaining the bootstrapping process that allowed early computers to load programs using toggle switches and how this evolved into modern BIOS systems.

PREREQUISITES
  • Understanding of digital logic circuits and Boolean algebra
  • Familiarity with semiconductor materials and transistor technology
  • Knowledge of photolithography and deposition techniques in electronics
  • Basic concepts of operating systems and bootstrapping processes
NEXT STEPS
  • Research CMOS technology and its applications in modern CPUs
  • Explore the principles of photolithography in semiconductor manufacturing
  • Learn about the evolution of operating systems from early bootstrapping to modern BIOS
  • Investigate the role of transistors in digital circuit design and their impact on CPU performance
USEFUL FOR

Electronics engineers, computer scientists, and anyone interested in understanding CPU architecture and the historical context of operating system development.

elegysix
Messages
404
Reaction score
15
Hello, I've done different types of programming and worked with basic electronics, but I've been curious about CPU's. I know some about how they work, but I really have no knowledge about what they are physically. I have a lot of other related questions too, so any comments are welcome.

the basic question - what is a CPU physically? what is actually in that ~1"x1" square?

How was windows DOS (or the first OS if not DOS) created? assuming there was no prior "structure" for commands/operations?
It had to be 'hard wired' in the circuits, right? how do you 'hard wire' something like that?

Any comments, advice, or related links are much appreciated!
thanks
 
Engineering news on Phys.org
Inside a cpu is the physical implementation of digital logic circuits. Digital logic circuits perform boolean logic with different circuits, and also memory functions with flip-flops or some other solid-state physical method. The basic building block of logic circuits is called an inverter, which takes an input and outputs the opposite meaning of its input. So in terms of voltage, it takes a 1 and a 0 is at the output. You can wire inverters together to make nand gates and other logic. This inverter can be implemented very simply with transistors: MOSFET is the common technology now, and the topology used is CMOS inverters. You can read about those on wikipedia.

There are different physical ways to implement these circuits, but in a cpu most of it is done with transistors which are made with semiconductor material like silicon and doped silicon, and also with metal deposited and other material layers to make the connections.

Usually these transistors are made in 2-D layers on top of a silicon substrate, and the different layers are piled onto each other. The patterns of the layers are made with photolitography or electron beam etching or other methods, but photolithography is the most common method where a polymer photoresist has the pattern and light causes the polymer molecules to either chain or break up depending if the photoresist will be positive or a negative (like the negative of a photograph). The actual layers are applied with deposition techniques or sputtering. All of this level is very physics/chemistry focused rather than electrical engineering. This is speaking in nanometer scales, so we are talking about atoms and molecules here.

So to sum it up, transistors are made in layers on a silicon crystal, and they are put on it in patterns that connect the transistors as circuits. The circuits are designed to implement inverters or into more complex digital boolean logic functions. The boolean logic is what a computer's different functions are made out of.
 
Last edited:
Here is a bad diagram but it is better than nothing, i just don't have time to make it clear and filtered with the proper information. just random thoughts for each level.
 

Attachments

  • cpuhierarchyexplode.png
    cpuhierarchyexplode.png
    12.4 KB · Views: 507
elegysix said:
How was windows DOS (or the first OS if not DOS) created? assuming there was no prior "structure" for commands/operations?
It had to be 'hard wired' in the circuits, right? how do you 'hard wire' something like that?
thanks

Back in the digital stone age the first machines had a set of toggle switches on their front panels that one could use to force bit patterns into the memory manually (set up an address in binary, set up a bit pattern in binary, press a "load" button, repeat). After the memory was loaded another switch forced the CPU to start running the code just entered at a memory address specified by the switches. One could also single-step instruction by instruction from the front panel.

Usually the first program to be entered was one that would cause additional programs to be loaded automatically from some device such as a paper tape reader or card reader or magnetic tape reader. Those programs could be more complex and handle devices like disks, know something about filesystems, etc. The whole process was called 'bootstrapping', a reference to 'pulling oneself up by one's own bootstraps'. We still talk about 'booting' a computer today.

With a primitive operating system in place, the computer itself could be used as a tool for creating more complex programs, including assemblers and compilers. These could be written to external devices for later retrieval. Thus the process builds upon itself.

With standardization of machine architectures and instruction sets, eventually the primitive programs required to 'boot' the computer were cast into read-only memory chips. Thus the "BIOS" (Basic Input Output Subroutines) were born. The front panel switches went away.

These days you buy a computer that has a BIOS built in, and with an operating system pre-installed on its hard disk. With suitable intervention at "boot time", the machines are still capable of loading an operating system from an alternate device such as a floppy disk or CD-ROM drive.
 
thanks fellas! much appreciated
very interesting stuff
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 15 ·
Replies
15
Views
4K
Replies
2
Views
956
  • · Replies 37 ·
2
Replies
37
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 28 ·
Replies
28
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 37 ·
2
Replies
37
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K