Linux Format

Design your own microprocessor

Most likely, the processor in your PC has upwards of a billion transistors. Trying to get your head around the workings of such a complicated electronic circuit might, therefore, seems a daunting task. Yet helping you to understand what goes on inside a CPU is the task we’ve set ourselves here.

The latest chips are complicated by many bells and whistles doing way more than straight “processing”, so we should think of a very basic chip and take it on trust that the principles here can indeed be scaled up.

Turning the clock back to 1971, the very first microprocessor – the 4-bit Intel 4004 – still had 2,250 transistors on-board. While that might be a whole lot more manageable than a couple of billion, it might still seem to be no mean feat to understand how that worked from an electronics viewpoint.

But let us reassure you that this isn’t nearly as difficult to understand as you might fear. The fact is that logic circuitry is created in a so-called bottom-up approach. Transistors – the fundamental electronic building block – are used to create logic gates, which are the fundamental logic building blocks. From this point onwards, we can forget about transistors and see how logic gates can, in turn, be used to create more complicated logic building blocks such as decoders and multiplexers. In the next stage, these are used to create even more complicated logic elements, and this continues until we finally end up with a complete CPU. Nowhere in this process will we ever see more than a handful of transistors or a similar number of logic gates – what could be easier?

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
FlyOS Offers Linux Subsystem On Android
DigitalPlat, FlyOS developer, proudly announces on its main page: “Imagine coding on your phone, connecting a keyboard and mouse, and effortlessly accessing your favourite tools like LibreOffice, VSCode, GIMP, Jupyter and more. It’s a complete Linux
Linux Format1 min read
Redis Licence Drama
On 20th March 2024, Redis announced that as of version 7.4, the software will be dual-licensed under the Redis Source Available Licence (RSALv2) and Server Side Public Licence (SSPLv1). The Open Source Initiative characterises the Server Side Publi
Linux Format2 min read
Specialist Tool Organisation
K ali works differently from the others as it has the security tools in the root of the app launcher. If you know what you’re looking for, the whole thing is searchable from the launcher. The ‘normal’ apps are located in the Usual Applications folder

Related