pctechguide.com

  • Home
  • Guides
  • Tutorials
  • Articles
  • Reviews
  • Glossary
  • Contact

Principles of CPU architecture – logic gates, MOSFETS and voltage

The underlying principles of all computer processors are the same. Fundamentally, they all take signals in the form of 0s and 1s (thus binary signals), manipulate them according to a set of instructions, and produce output in the form of 0s and 1s. The voltage on the line at the time a signal is sent determines whether the signal is a 0 or a 1. On a 3.3-volt system, an application of 3.3 volts means that it’s a 1, while an application of 0 volts means it’s a 0.

Processors work by reacting to an input of 0s and 1s in specific ways and then returning an output based on the decision. The decision itself happens in a circuit called a logic gate, each of which requires at least one transistor, with the inputs and outputs arranged differently by different operations. The fact that today’s processors contain millions of transistors offers a clue as to how complex the logic system is. The processor’s logic gates work together to make decisions using Boolean logic, which is based on the algebraic system established by mathematician George Boole.

The main Boolean operators are AND, OR, NOT, and NAND (not AND); many combinations of these are possible as well. An AND gate outputs a 1 only if both its inputs were 1s. An OR gate outputs a 1 if at least one of the inputs was a 1. And a NOT gate takes a single input and reverses it, outputting 1 if the input was 0 and vice versa. NAND gates are very popular, because they use only two transistors instead of the three in an AND gate yet provide just as much functionality. In addition, the processor uses gates in combination to perform arithmetic functions; it can also use them to trigger the storage of data in memory.

Logic gates operate via hardware known as a switch – in particular, a digital switch. In the days of room-size computers, the switches were actually physical switches, but today nothing moves except the current itself. The most common type of switch in today’s computers is a transistor known as a MOSFET (metal-oxide semiconductor field-effect transistor). This kind of transistor performs a simple but crucial function: When voltage is applied to it, it reacts by turning the circuit either on or off. In a CPU, the voltage at which the MOSFETs react determines the voltage requirements of the processor. So, in a 2V processor, logical circuits are built with MOSFETS that react at 2V, hence an incoming current at or near the high end of the voltage range, 2V, switches the circuit on, while an incoming current at or near 0V switches the circuit off.

Millions of MOSFETs act together, according to the instructions from a program, to control the flow of electricity through the logic gates to produce the required result. Again, each logic gate contains one or more transistors, and each transistor must control the current so that the circuit itself will switch from off to on, switch from on to off, or stay in its current state.

A quick look at the simple AND and OR logic-gate circuits shows how the circuitry works. Each of these gates acts on two incoming signals to produce one outgoing signal. Logical AND means that both inputs must be 1 in order for the output to be 1; logical OR means that either input can be 1 to get a result of 1. In the AND gate, both incoming signals must be high-voltage (or a logical 1) for the gate to pass current through itself.

Logic

The flow of electricity through each gate is controlled by that gate’s transistor. However, these transistors aren’t individual and discrete units. Instead, large numbers of them are manufactured from a single piece of silicon (or other semiconductor material) and linked together without wires or other external materials. These units are called integrated circuits (ICs), and their development basically made the complexity of the microprocessor possible. The integration of circuits didn’t stop with the first ICs. Just as the first ICs connected multiple transistors, multiple ICs became similarly linked, in a process known as large-scale integration (LSI); eventually such sets of ICs were connected, in a process called very large-scale integration (VLSI).

Modern day microprocessors contain tens of millions of microscopic transistors. Used in combination with resistors, capacitors and diodes, these make up logic gates. Logic gates make up integrated circuits, and ICs make up electronic systems. Intel’s first claim to fame lay in its high-level integration of all the processor’s logic gates into a single complex processor chip – the Intel 4004 – released in late 1971. This was 4-bit microprocessor, intended for use in a calculator. It processed data in 4 bits, but its instructions were 8 bits long. Program and data memory were separate, 1KB and 4KB respectively. There were also sixteen 4-bit (or eight 8-bit) general purpose registers. The 4004 had 46 instructions, using only 2,300 transistors in a 16-pin DIP and ran at a clock rate of 740kHz (eight clock cycles per CPU cycle of 10.8 microseconds).

  • Principles of CPU architecture – logic gates, MOSFETS and voltage
  • Basic structure of a Pentium microprocessor
  • Microprocessor Evolution
  • IA-32 (Intel Architecture 32 ) – base instruction set for 32 bit processors
  • Pentium P5 microarchitecture – superscalar and 64 bit data
  • Pentium Pro (P6) 6th generation x86 microarchitecture
  • Dual Independent Bus (DIB) – frontside and backside data bus CPU architecture
  • NetBurst – Pentium 4 7th generation x86 CPU microarchitecture
  • Intel Core – 8th generation CPU architecture
  • Moore’s Law in IT Architecture
  • Architecture Manufacturing Process
  • Copper Interconnect Architecture
  • TeraHertz Technology
  • Software Compatibility
  • IA-64 Architecture
  • Illustrated guide to high-k dielectrics and metal gate electrodes

Filed Under: CPU Architecture Tagged With: "processor logic, cpu architecture, cpu binary logic, microprocessor logic

Latest Articles

Removal of Google Chrome Extension: Unwanted Programs

  If you experience a Google Chrome extension, you’re not alone on this. There are reports of increase infections on PUP (potentially unwanted programs. This installs on your computer which mask as legitimate internet browser extension. Generally, this unwanted applications are bundled with … [Read More...]

Troubleshooting Windows Defender Startup Problems

Windows Defender is a malware protection tool that was first introduced in windows XP back in 2003. It offered minimal protection during earlier versions of Windows, but has since evolved into a much more sophisticated antivirus application. Unfortunately, despite the versatility of more recent … [Read More...]

Creative Commons Images for Your Web Projects

Do you know which images from the Internet you can reuse and which you can't? Do you know Creative Commons? There is a misconception that all the images you find on the net, just because they are on the Internet, are free and can be used as you want and when you want. But it is not so because not … [Read More...]

Gaming Laptop Security Guide: Protecting Your High-End Hardware Investment in 2025

Since Jacob took over PC Tech Guide, we’ve looked at how tech intersects with personal well-being and digital safety. Gaming laptops are now … [Read More...]

20 Cool Creative Commons Photographs About the Future of AI

AI technology is starting to have a huge impact on our lives. The market value for AI is estimated to have been worth $279.22 billion in 2024 and it … [Read More...]

13 Impressive Stats on the Future of AI

AI technology is starting to become much more important in our everyday lives. Many businesses are using it as well. While he has created a lot of … [Read More...]

Graphic Designers on Reddit Share their Views of AI

There are clearly a lot of positive things about AI. However, it is not a good thing for everyone. One of the things that many people are worried … [Read More...]

Redditors Talk About the Impact of AI on Freelance Writers

AI technology has had a huge impact on our lives. A 2023 survey by Pew Research found that 56% of people use AI at least once a day or once a week. … [Read More...]

11 Most Popular Books on Perl Programming

Perl is not the most popular programming language. It has only one million users, compared to 12 million that use Python. However, it has a lot of … [Read More...]

Guides

  • Computer Communications
  • Mobile Computing
  • PC Components
  • PC Data Storage
  • PC Input-Output
  • PC Multimedia
  • Processors (CPUs)

Recent Posts

The Evolution of Software for Digital Gaming Sites

The digital gaming industry is undergoing a major change in 2019. A number of the key players are starting to use more sophisticated software to … [Read More...]

Best DNS Providers of 2021 – Part 3

Here is the last installment of the best DNS providers of 2021. We hope it helps! DNS.Watch Okay, all that stuff about adding layers of … [Read More...]

Number Systems 3

The basic unit of computer storage is the eight bit byte, which can store values in the decimal range 0 to 255. The problem when dealing with … [Read More...]

[footer_backtotop]

Copyright © 2025 About | Privacy | Contact Information | Wrtie For Us | Disclaimer | Copyright License | Authors