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

Cambridge Brit to wire up 14,000 gates, 3,500 LEDs


Pics 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. He's just finished putting together the general purpose registers, and in May completed the arithmetic and logic unit.

Each transistor acts like a digital switch, and can be chained together to form huge decision-making circuits that execute software, instruction by instruction.

Transistor ... this, times 14 thousand

The finished circuitry, when mounted on a wall of boards, will measure 14 metres long and 2 metres high (46ft by 6.6ft), will weigh about a half-ton, and will consume 500W. he now fears he won't be able to fit it all in his home.

Newman, whose background is in software development and FPGA programming, told The Register he has spent about £20k on the project to date. He started planning the processor in 2012, and began building the beast a year later.

"There was a conversation at work about that time when we were talking about debugging something and someone remarked it would be easier if we had an LED on a signal," he explained.

"Things got out of hand at that point."

Mega Processor layout

A basic mock-up of how Mega Processor will stand
(click to enlarge)

After researching the blueprints of early microprocessors, such as the Zilog Z80 and the Motorola 68000, Newman opted to craft a 16-bit processor that can perform 20,000 instructions per second from a 20kHz clock. That's 0.02 MIPS (millions of instructions per second). It will have seven registers – four general purpose registers plus a program counter, stack pointer and a CPU status flag word – 256 bytes of RAM, and 256 bytes of programmable ROM.

Here's how the Mega Processor compares to other cores, depending on their clock speed and model:

Processor MIPS Transistor gates Clock speed Year launched
Mega Processor 0.02 14,000 20kHz 2016?
Intel 8080 0.29 4,500 2MHz 1974
MOS 6502 0.43 3,510 1MHz 1975
Zilog Z80 0.58 8,500 4MHz 1976
Motorola 68000 1.4 68,000 8MHz 1979
Intel 286 1.28 134,000 12MHz 1982
Intel i386DX 2.15 275,000 16MHz 1985
Acorn ARM2 4 25,000 8MHz 1986
Intel i486DX 8.7 1,180,000 25MHz 1989
Toshiba MIPS R4000 50 1,300,000 50MHz 1991

When completed, the Mega Processor will have more than 100,000 connections. Soldering in and hooking up the circuitry has not been easy, and Newman acknowledges that finding and replacing dying components will be a major headache.

Mega processor cables

Some of the 100,000 connections required
(click to enlarge)

"The potential for unreliability is deeply scary. There is no built in defence for broken circuitry. My main strategy is to design a test method which allows me to isolate the various subsystems and check their operation matches expectations," he said.

"I'm expecting some disappointment and a lot of frustration."

The register section of the Mega Processor
(click to enlarge)

Newman plans to feed instructions into the Mega Processor via an RS232 serial interface connected to his PC. He is also hoping to add a 32KB RAM module and a video display. He wants to port Conway's Game of Life, Tic-Tac-Toe and possibly a form of Tetris to his hardware.

The system will hardly be a burner ("faster than Babbage’s machine but slower than a Z80" is the performance estimate), but Newman hopes it will provide a novel demonstration of how processors operate at a basic level.

The project is far from a guaranteed success: "things got out of hand" is a common refrain. Originally slated for completion in late 2014, Mega Processor is still a work-in-progress, and Newman concedes that failure remains a strong possibility. Even if he does pull off the massive engineering feat, Mega Processor will need a room large enough to accommodate its size.

"It needs to go somewhere; my house isn’t big enough for the two of us," he said. "I’d be interested in hearing from someone who could give it a good home." ®

Bootnote

The MIPS figures for the chip comparison table are dependent on the listed clock speed and the particular model. For example, the Intel 80486 can hit 40 MIPS if you run it at 50MHz. The ARM2's transistor count is so low due to its slimline RISC design and lack of a cache.

All images taken by James Newman. Used with permission.

Similar topics

Broader topics

Narrower topics


Other stories you might like

  • Lonestar plans to put datacenters in the Moon's lava tubes
    How? Founder tells The Register 'Robots… lots of robots'

    Imagine a future where racks of computer servers hum quietly in darkness below the surface of the Moon.

    Here is where some of the most important data is stored, to be left untouched for as long as can be. The idea sounds like something from science-fiction, but one startup that recently emerged from stealth is trying to turn it into a reality. Lonestar Data Holdings has a unique mission unlike any other cloud provider: to build datacenters on the Moon backing up the world's data.

    "It's inconceivable to me that we are keeping our most precious assets, our knowledge and our data, on Earth, where we're setting off bombs and burning things," Christopher Stott, founder and CEO of Lonestar, told The Register. "We need to put our assets in place off our planet, where we can keep it safe."

    Continue reading
  • Conti: Russian-backed rulers of Costa Rican hacktocracy?
    Also, Chinese IT admin jailed for deleting database, and the NSA promises no more backdoors

    In brief The notorious Russian-aligned Conti ransomware gang has upped the ante in its attack against Costa Rica, threatening to overthrow the government if it doesn't pay a $20 million ransom. 

    Costa Rican president Rodrigo Chaves said that the country is effectively at war with the gang, who in April infiltrated the government's computer systems, gaining a foothold in 27 agencies at various government levels. The US State Department has offered a $15 million reward leading to the capture of Conti's leaders, who it said have made more than $150 million from 1,000+ victims.

    Conti claimed this week that it has insiders in the Costa Rican government, the AP reported, warning that "We are determined to overthrow the government by means of a cyber attack, we have already shown you all the strength and power, you have introduced an emergency." 

    Continue reading
  • China-linked Twisted Panda caught spying on Russian defense R&D
    Because Beijing isn't above covert ops to accomplish its five-year goals

    Chinese cyberspies targeted two Russian defense institutes and possibly another research facility in Belarus, according to Check Point Research.

    The new campaign, dubbed Twisted Panda, is part of a larger, state-sponsored espionage operation that has been ongoing for several months, if not nearly a year, according to the security shop.

    In a technical analysis, the researchers detail the various malicious stages and payloads of the campaign that used sanctions-related phishing emails to attack Russian entities, which are part of the state-owned defense conglomerate Rostec Corporation.

    Continue reading
  • FTC signals crackdown on ed-tech harvesting kid's data
    Trade watchdog, and President, reminds that COPPA can ban ya

    The US Federal Trade Commission on Thursday said it intends to take action against educational technology companies that unlawfully collect data from children using online educational services.

    In a policy statement, the agency said, "Children should not have to needlessly hand over their data and forfeit their privacy in order to do their schoolwork or participate in remote learning, especially given the wide and increasing adoption of ed tech tools."

    The agency says it will scrutinize educational service providers to ensure that they are meeting their legal obligations under COPPA, the Children's Online Privacy Protection Act.

    Continue reading
  • Mysterious firm seeks to buy majority stake in Arm China
    Chinese joint venture's ousted CEO tries to hang on - who will get control?

    The saga surrounding Arm's joint venture in China just took another intriguing turn: a mysterious firm named Lotcap Group claims it has signed a letter of intent to buy a 51 percent stake in Arm China from existing investors in the country.

    In a Chinese-language press release posted Wednesday, Lotcap said it has formed a subsidiary, Lotcap Fund, to buy a majority stake in the joint venture. However, reporting by one newspaper suggested that the investment firm still needs the approval of one significant investor to gain 51 percent control of Arm China.

    The development comes a couple of weeks after Arm China said that its former CEO, Allen Wu, was refusing once again to step down from his position, despite the company's board voting in late April to replace Wu with two co-chief executives. SoftBank Group, which owns 49 percent of the Chinese venture, has been trying to unentangle Arm China from Wu as the Japanese tech investment giant plans for an initial public offering of the British parent company.

    Continue reading
  • SmartNICs power the cloud, are enterprise datacenters next?
    High pricing, lack of software make smartNICs a tough sell, despite offload potential

    SmartNICs have the potential to accelerate enterprise workloads, but don't expect to see them bring hyperscale-class efficiency to most datacenters anytime soon, ZK Research's Zeus Kerravala told The Register.

    SmartNICs are widely deployed in cloud and hyperscale datacenters as a means to offload input/output (I/O) intensive network, security, and storage operations from the CPU, freeing it up to run revenue generating tenant workloads. Some more advanced chips even offload the hypervisor to further separate the infrastructure management layer from the rest of the server.

    Despite relative success in the cloud and a flurry of innovation from the still-limited vendor SmartNIC ecosystem, including Mellanox (Nvidia), Intel, Marvell, and Xilinx (AMD), Kerravala argues that the use cases for enterprise datacenters are unlikely to resemble those of the major hyperscalers, at least in the near term.

    Continue reading

Biting the hand that feeds IT © 1998–2022