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 Format9 min read
The Epochalypse
On 2nd November 2000, a man calling himself John Titor began posting on Art Bell’s BSS forums, claiming to be from the O future year of 2036. Titor painted a grim version of the 21st century, a cross between Pat Frank’s 1959 post-apocalyptic epic Ala
Linux Format1 min read
Ultimate Desktop Upgrade!
LXF316 will be on sale Tuesday 28th May 2024 Word processors that can help craft that novel you’ve always been talking about and organise large projects. Revive the old roleplaying system for a digital age as we recreate our own play-by-mail gaming
Linux Format3 min read
Kernel Watch
Linus Torvalds announced the fourth RC (Release Candidate) for what will become Linux 6.9 in another few weeks. In his announcement, he noted that there was “Nothing particularly unusual going on this week – some new hardware mitigations may stand o

Related