ZT: How to build an 8-bit computer from scratch

来源: 令狐冲冲 2012-05-02 10:39:36 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (2051 bytes)
Not content with your new, 1.4-billion-transistor Ivy Bridge processor? Maybe it runs too hot, or lacks the polygon-pushing powers that you require? Well, I’ve got just the thing for you: How about you augment it with a DIY 8-bit CPU?

One Kyle Hovey has decided to build his own 8-bit CPU from scratch, out of breadboard, NVRAM chips (non-volatile RAM), surface-mount transistors, and lots and lots of wire. This in itself isn’t particularly spectacular — electronic engineering students have been doing it since the ’70s — but Hovey has also decided to chronicle the entire build, so that you can follow along.

Hovey’s 8-bit ALU (arithmetic logic unit) is constructed completely out of transistor-transistor logic (TTL), as are the registers. The microinstructions (the op code, the ISA) that actually control the ALU are stored in the NVRAM. A ring counter, which continuously loops through six different outputs, drives the fetch/decode/execute cycle.


Output-wise, Hovey cheats a little — he uses an Arduino to convert binary to BCD, a task that would be tricky with TTL — but considering he decided to use three awesome Soviet-era IV-9 Numitron tubes for the computer’s display (pictured below), we forgive him. An Arduino is also used to upload the microinstructions to the NVRAM (in the picture above, the NVRAM chips are just about visible on the right hand side of the breadboard).

Ultimately, though, if you choose to follow in Hovey’s footsteps, you’re going to have to be pretty savvy with TTL and the pinouts of ancient chips — Hovey doesn’t provide detailed wiring schematics, after all. For this project, Hovey’s bibles were Digital Computer Electronics (first published in 1977), which introduces the SAP1 instruction set architecture used by Hovey, and the TTL Cookbook (first published in 1972).

The last step, according to Hovey’s blog, is to design a steampunk-style case for his 8-bit computer. If it even comes close to rivaling Datamancer’s seminal steampunk laptop, it will be a job well done.



所有跟帖: 

8位才能数到255,太粗糙了,呵呵 -mc3361- 给 mc3361 发送悄悄话 (0 bytes) () 05/02/2012 postreply 12:10:18

挑剔啊~ -令狐冲冲- 给 令狐冲冲 发送悄悄话 (0 bytes) () 05/02/2012 postreply 13:25:08

这个象上学时装的单板机。只不过我的布线比这还乱,哈哈 -沙漠荒野- 给 沙漠荒野 发送悄悄话 沙漠荒野 的博客首页 (0 bytes) () 05/03/2012 postreply 11:33:48

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”