
对我们所有人来说,日子都不好过。
当你通过我们网站上的链接购买时,我们可能会获得联盟佣金。运作方式如下。
戴夫·普卢默(Dave Plummer)——前微软工程师,Task Manager 与 Windows Pinball 的“高手”,如今又在做 TMOG——手上又有了一个有趣的项目。当他在一台老式 PDP-11 上看到每 1 MB 内存标价后面到底有多少个零之后,他决定亲自出手,鼓捣出一块新的 RAM 板卡。
PDP-11 诞生于 1970 年,后续型号最多可以装到 4 MB 内存。普卢默找来了 ChatGPT 和 EasyEDA 在线电路仿真器帮忙,不过他也表示自己以前没做过这种复杂项目。由于几款 PDP-11 型号使用 Q-Bus 板卡作为主系统组件,他把这块 RAM 设计成一块独立卡,然后在背板上与另一块搭载系统 M8190 CPU 的板卡一起测试。
在板卡上方,他放了一块 Lattice MachXO2 FPGA 充当内存控制器(如果你好奇的话,型号是 2000HC),并连接到四颗 ISSI 1 MB 内存芯片。随后又加入一颗 U2S I/O 芯片、一排 DIP 开关、通信端口,再撒上 handful 电容,就组成了完整电路。M8190 板卡采用 22 位总线设计,并将最高的 256 KB 预留给 I/O 与 ROM。
不过,这并不是一次“第一次就成功”的项目。普卢默经历了几次失败的开局,因为他之前从未对 FPGA 芯片进行过 flash 编程。他在几次尝试后解决了这个问题,但随后又掉进了一个看起来相当经典的 PDP-11“坑”。
这台机器的内存总线设计意味着它一次只能访问整个字(two bytes),并把内存地址中最低的一位当作“通道”选择位,用来在一个字中的低字节或高字节之间进行选择。
YouTuber 靠复刻自己 1996 年的 PC 逃离现代 AI 科技市场
电子爱好者把 $120 的 DDR5 SODIMM 套装改造成“$1000”桌面套装,以对抗内存危机
客户把双条 $16,000 的 DDR5 内存套装寄到维修店
在读取时,CPU 会自己选出正确的字节,但普卢默的“内存控制器”仍然需要返回两个。同样地,在写入时,必须先读取该位选择信号,然后选择正确的字节,使其成为唯一被更新的字节;否则总线线路仍会承载整个字,从而可能写入无效数据。
普卢默似乎此前并不知道这一点,有位评论者打趣说他“做了 4MB 内存结果变成 2MB”,他回复称这块内存“只返回每隔一个字”,与上述设计模式一致。虽然之后没有更多更新,但由于更多评论者指出这一点,我们猜测他在 FPGA 代码里做了个简单的修复。
获取 Tom's Hardware 的精选新闻与深度评测,直接发送到你的收件箱。
有人建议他绕开整个问题,改用软件来实现内存:通过 Raspberry Pi 直接接到 PDP 总线。普卢默回复说,他上周其实已经基本上这么做过了,用的是一块现代的 QBone DEC interface board,而这块板卡上面又搭载了一块 Beaglebone Black(类似 Raspberry Pi)。
在 Google News 上关注 Tom's Hardware,或把我们添加为首选来源,以便在你的信息流中获取我们最新的新闻、分析与评测。
布鲁诺·费雷拉(Bruno Ferreira)是 Tom's Hardware 的特约撰稿人。他在 PC 硬件及各类杂项上拥有数十年经验,同时也从事开发者工作。他痴迷细节,并且对自己热爱的话题容易滔滔不绝。不写稿的时候,他通常会玩游戏,或去现场音乐演出和音乐节。
alrighty_then 很棒的项目。降低知识门槛(这里通过 AI 实现)确实意义重大。回复
本文来源:https://www.tomshardware.com/pc-components/ram/veteran-microsoft-engineer-makes-his-own-ram-from-scratch-using-ai-attempts-to-build-4mb-of-1970s-pdp-11-ram-from-scratch
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。
When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works .
Dave Plummer, former Microsoft engineer and wizard of Task Manager, Windows Pinball, and now TMOG, has an interesting project in his hands once again. After seeing exactly how many zeros were in the price tag for a megabyte of memory for his vintage PDP-11, he decided to take matters into his own hands and conjure up a new RAM board.
The PDP-11 is from 1970, and later models could fit in as much as four megabytes of memory. Plummer enlisted the help of ChatGPT and the EasyEDA online circuit simulator , though he notes that he hadn't done complicated projects like this before. As several PDP-11 models used Q-Bus boards for main system components, he designed this RAM as a standalone card, then tested it on a backplane alongside another board containing the system's M8190 CPU.
Atop it, he placed a Lattice MachXO2 FPGA serving as a memory controller (model 2000HC, if you're wondering), connected to four ISSI 1 MB memory chips. After adding a U2S I/O chip, a bank of DIP switches, comm ports, and sprinkling a handful of capacitors, he had a complete circuit. The M8190 board design has a 22-bit bus and reserves the top 256 KB for I/O and ROM.
However, it wasn't a first-time-lucky project. Plummer encountered a few abortive starts, as he'd never flash-programmed an FPGA chip before. He fixed that after a few attempts, but then he fell into what appears to be a classic PDP-11 trap.
The machine's memory bus design means it can only access entire words (two bytes) at once, and treats the lowest bit in a memory address as a "lane" selector that picks between the low or high byte in the word.
YouTuber escapes the modern AI tech market by recreating his 1996 PC
Electronics hobbyist converts $120 DDR5 SODIMM kit into ‘$1000’ desktop kit to fight RAM crisis
Customer sends two-stick $16,000 DDR5 memory kit to repair shop

When reading, the CPU will pick out the right byte itself, but Plummer's "memory controller" still needs to return two. Similarly, on writes, the bit selector must be read and then the proper byte selected so that only that will be updated, as the bus lines will still carry an entire word that could otherwise write invalid data.
Plummer seemingly wasn't aware of this before, and one commenter joked that he'd "built 4MB of memory that turned out to be 2MB", to which he replied that the memory "only returns every second word," matching the aforementioned design pattern. Although there are no further updates, since more commenters pointed this out, we assume that he implemented an easy fix in his FPGA code.
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
One person suggested that he sidestep the entire problem and implement his memory in software via a Raspberry Pi instead, wired directly to the PDP bus. Plummer replied that he'd basically done that already last week with a modern QBone DEC interface board , which in turn contains a Beaglebone Black atop it (similar to a Raspberry Pi).
Follow Tom's Hardware on Google News , or add us as a preferred source , to get our latest news, analysis, & reviews in your feeds.
Bruno Ferreira is a contributing writer for Tom's Hardware. He has decades of experience with PC hardware and assorted sundries, alongside a career as a developer. He's obsessed with detail and has a tendency to ramble on the topics he loves. When not doing that, he's usually playing games, or at live music shows and festivals.
alrighty_then Neat project. Lowering the bar to knowledge (here via AI) really is a big deal. Reply