back to article This whopping 16-bit computer processor is being built by hand, transistor by transistor

A bloke in Cambridge, UK, is building a computer processor using 14,000 individual transistors and 3,500 LEDs – all by hand, piece by piece. James Newman said his Mega Processor relies almost entirely on the hand-soldered components, and will ultimately demonstrate how data travels through and is processed in a simple CPU core …

Page:

    1. Simon Harris Silver badge

      Re: 3,500 LEDs

      The memory appears to be an array of bistable flip-flops with a density of approximately 1 bit per square inch.

      1. Matt Langley

        Re: 3,500 LEDs

        In Minecraft, people dream of such density!

  1. Tom 64
    Pint

    Can he do me a Radeon Fury?

    They only weigh in at 8.9 billion transistors, he'll be done by lunchtime, right?

    1. Anonymous Coward
      Anonymous Coward

      Re: Can he do me a Radeon Fury?

      "They only weigh in at 8.9 billion transistors, he'll be done by lunchtime, right?"

      You sound like my manager.

      AC for obvious reasons.

  2. JimmyPage Silver badge
    Thumb Up

    Reminds me at Uni ...

    I programmed a bit-slice CPU ...

    And hand soldered my final year project.

    1. wabbit347

      Re: Reminds me at Uni ...

      A very cool project.

      Reminds me a bit of "The Elements of Computing Systems" , although the book used software emulators so you don't need so much physical space. Enough to get started on the principles of CPU design though.

      (not associated in any way with this, just an interested reader that bought the book)

    2. TonyJ Silver badge

      Re: Reminds me at Uni ...

      "Reminds me at Uni ...

      I programmed a bit-slice CPU ...

      And hand soldered my final year project."

      Mine were much less fun.

      Had to design and build a bar code reader. It did the utterly pointless thing of reading the bar code, and recreating it on a plotter - also built by me.

      Had to build a memory expansion for the "D5E evaluation kit" to hold the necessary lookup tables and "driver" for the plotter.

      I learned far more about bar codes than anyone would ever really wish to know. :)

    3. Anonymous Coward
      Anonymous Coward

      Re: Reminds me at Uni ...

      Same here. Nat Semi IMP16P circa 1974/75

      around the time when the real JPage was at his best.

      http://www.bbc.co.uk/news/entertainment-arts-29550639

      Used a 2901 4bit slice (for a 16bit CPU) for a Real Time interface some years later.

  3. a well wisher

    Just call him Von !

  4. Winkypop Silver badge
    Coat

    That's quite a bit of work

    I hope he solders on....

    1. Spiracle
      Coat

      Re: That's quite a bit of work

      He should do. He sounds fairly down to earth...

      1. Crisp Silver badge

        Re: That's quite a bit of work

        He seems to know watt he's doing.

  5. chris swain

    Mucho kudos to Mr (von)Newman

    Totally agree with the commenters who suggest housing this in a public institution as an educational exhibit. NMoC was my first thought but Cambridge makes more sense geographically (damn you both - put it in my local science museum so that I can go and ogle it!).

    El Reg is being a tad lazy by comparing its performance to integrated circuits of yore. It would be nice to see how it stacks up on the whole continuum of computing, at least as far back as the first valve-based systems.

    All hail the man in a shed (or spare bedroom) with too much time on his hands!

    (And before anyone points it out I know it's von Neumann)

  6. cantankerous swineherd Silver badge

    a grateful nation should give that man a shed!

    1. Anonymous Custard Silver badge

      And a pipe...

  7. This post has been deleted by its author

    1. Simon Harris Silver badge

      Re: For fuck's sake.

      Maybe his oscillator is off by 2.4%

    2. DropBear Silver badge
      Trollface

      Re: For fuck's sake.

      "It's kHz, not KHz."

      Yeah, yeah, sure, but which one is 1.000 kilocycles and which one is 1.024...?

  8. Anonymous Coward
    Joke

    This is brilliant...

    ...but when is he going to start on the GPU?

    1. John Tserkezis

      Re: This is brilliant...

      "...but when is he going to start on the GPU?"

      Soon. If you can't log into facebook with it, the kids lose interest.

  9. Tom Wood

    I must be the only software guy here

    because I think it's a ridiculous project :-)

    Just because you can, doesn't mean you should. This is the opposite of progress - deliberately doing thousands of small repetitive tasks that a machine can do much better (for almost every definition of better - smaller, faster, cheaper, more reliably, using less resources)...

    1. James Cane

      Re: I must be the only software guy here

      I'm a software guy too and this is high art.

      Software doesn't really exist. Everything is hardware. Software guys should remember that more often.

      1. James Hughes 1

        Re: I must be the only software guy here

        I'm also a software guy. I think this is an awesome project!

    2. Mark 85 Silver badge

      Re: I must be the only software guy here

      Did you forget the troll icon, maybe?

    3. sysconfig

      Re: I must be the only software guy here

      "This is the opposite of progress [...] a machine can do much better "

      Yes, it is, and a step back in time. It goes back to the roots and *wonderfully* demonstrates how computers work. I can see that being a fantastic educational tool for those who want to learn about it, before they go off and build machines which produce the next generation of Raspberry Pi.

      You didn't think that this 14x2m project was going to go into mass production for you to buy and use, did you?

    4. chris swain

      Re: I must be the only software guy here

      And I suppose you exist on a diet of soylent rather than waste your time on inefficient cooked food?

    5. 404 Silver badge

      Reading suggestion

      The Foundation series by Issac Asimov.

      Specifically the decline of the Empire and the Engineer Priest class.

  10. Anonymous Coward
    Anonymous Coward

    Would be better using discrete logic surely?

    Wiring up big boards of TTL isn't uncommon, that's what the original Amiga chipset was done with.

    http://www.amigahistory.plus.com/prototypes/cbm-lorraine-daphne-agnus.jpg

    1. Dr_N Silver badge

      How about 7400 ICs and wire-wrap ?

      1. TonyJ Silver badge

        "How about 7400 ICs and wire-wrap ?"

        Oh god I loathed wire wrapping.

        But...the end results looked enchanting. Almost beautiful if done properly.

        It's worth noting, not much (if any) of mine did! :)

      2. kventin

        something like this?

        http://www.homebrewcpu.com/

    2. Simon Harris Silver badge

      "Would be better using discrete logic surely?"

      Nothing wrong with doing it with discrete logic, or valves for that matter, if that's your own preference - the challenge of building it with discrete transistors is his.

  11. harmjschoonhoven
    Go

    Transistors?

    No, no, no. A real vintage computer uses (hand-wired) relays like the ARRA I

    1. Kubla Cant Silver badge

      Re: Transistors?

      No. Gears.

  12. Anonymous Coward
    Anonymous Coward

    500W at what voltage?

    I shudder to think he'd be running it at 5V… that's a 100A busbar that'd be needed to power the thing!

    I've seen what power leads carrying 400A look like, feeding a 20kW 3-phase BLDC motor. We'd lock the rotor to measure torque, in doing so, we'd watch two wires get attracted to each other, and two repel each other according to magnetism (F = (µ₀I₁I₂l)/(2πr)).

  13. Simon Harris Silver badge

    Drum storage...

    Will he be 'repurposing' the washing machine?

  14. This post has been deleted by its author

  15. This post has been deleted by its author

    1. Simon Harris Silver badge

      I'm waiting for the FORTRAN compiler.

  16. MacroRodent Silver badge

    Quite a challenge

    ...building a 16-bit system. Doing a 8-bit design would have been less than half the work. If he had chosen to clone the 6502 or some other early 8-bit CPU, there would also have been lots of existing software to run. But maybe he considered it too easy.

    1. the spectacularly refined chap

      Re: Quite a challenge

      Doing a 8-bit design would have been less than half the work.

      That is something of a mixed bag. It reduces complexity in terms of components and wiring but significantly increases design effort. Large parts of a 16 bitter are simply the equivalent 8 bit circuit replicated but going in the other direction introduces some significant extra issues. Presumably you would want to address more than 256 bytes memory so that makes an address (at least) two words long. Similarly it's somewhere between difficult and impossible to encode a complete, useful instruction set in eight bits so you have multi-word instructions too. That gives you a large amount of hassle co-ordinating those half quantities and you need multiple cycles to send those values around. That in turn adds complications as you co-ordinate timing in multiple-cycle instructions.

      I mentioned somewhere above that 12-bitter I set about designing a few years ago. 12 bits was chosen very deliberately as the simplest option - it's the narrowest width where you can sensibly have arithmetic, addresses and instructions all the same length. All instructions were single cycle so keeping everything in sync was also made a lot simpler, even if multiple cycles would have allowed you to crank up the clock rate a little. It did limit you to a 4096 word address space but I considered that adequate for a demonstration system.

      1. MacroRodent Silver badge

        Re: Quite a challenge

        The 6502 does everything in 8-bits width, except addresses. An opcode byte is optionally followed by an 1 byte immediate value, or a 1 or 2 byte address. I'm guessing that it has 2-bit field in the instruction byte that causes it to load 0, 1 or 2 following bytes to a register determined by rest of the opcode (and increment the PC). If performance is no big concern, shouldn't this operand loading sequence be implementable with a simple state machine? Though I must admit my knowledge about CPU design comes from one mostly-forgotten university course a quarter-century ago... (the final exercise was creating a paper design, which was not even simulated, never mind built.)

        1. Simon Harris Silver badge

          Re: Quite a challenge

          Here is an interesting piece on how the 6502 decodes instructions:

          http://www.pagetable.com/?p=39

          It explains how the instruction decode causes undefined opcodes to do the strange things that they do.

  17. Anonymous Coward
    Anonymous Coward

    We tried making a RAM register with air pistons.

    We managed to make one single register, but we used all of post-grad air pistons kit in our pneumatics lab. Just for the heck of it. Ours could retain the ram memory even without power, obviously. It would have become even bigger if we tried to do anything larger.

    But hey, kudos, that was mighty impressive. I guess that's what would have happened if we didn't have single-die processors, or in a post-apocalyptic steampunk future.

  18. Bob H

    Is there any reason for the slow clock speed?

    Any reason not to use SMD instead of through hole?

    1. Simon Harris Silver badge

      You might want to read the creator's web pages, particularly this one...

      http://megaprocessor.com/progress.html

      where he explains the limitation.

  19. Jagged

    Can we change the photographers name from Newman to Neumann?

  20. gerdesj Silver badge
    Linux

    WINE

    To do list:

    * Run up the assembler and simulator in WINE.

    * Learn just enough assembler to try and understand what on earth is going on.

    Sounds like a project for tonight.

  21. Tom 7 Silver badge

    Mips???

    You'll find most instructions take at least 3 cycles or more so 0.02 Mips is a bit of a sales figure.

  22. Matt Langley

    That's cheating - he should do it in Minecraft.

    That's nothing, when he can do it in Minecraft, I'll be impressed.

    (And before I get spammed, yes I know there are Minecraft computers, but the limitations of the 'platform' do quickly make large scale computer exponentially more difficult than actual computer construction, so they tend to be rubbish.)

Page:

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019