历史与人物e-basteln.de
100 MHz 的 6502 处理器
The 100 MHz 6502
2021 — 2024,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
作者用 FPGA 实现了一个超频版的 6502 CPU 软核(65f02),把这块 1970 年代的经典 8 位处理器跑到了 100 MHz。页面详细记录了设计思路、实现过程和在 Spartan-6 FPGA 上的验证结果。
为什么经久不衰:它展示了用现代 FPGA 技术重新演绎经典 CPU 的可能性,既是复古计算的乐趣,也是学习 CPU 微架构的绝佳实例,多年来反复引发讨论。
HN 评论精选
亲手在 FPGA 上实现 CPU 能彻底消除对计算机软硬件的畏惧感
在 FPGA 里实现 CPU 核并不新鲜。我本科的计算机工程课毕业项目就是用 Verilog 从零实现一个多流水线 RISC CPU(包括 ALU 和简单的 L1 缓存),烧录到 FPGA 上再用手工编译的 C 跑跳棋程序。那门课很残酷,但彻底揭开了计算机和整个行业的神秘面纱,让我觉得自己能理解“整个”技术栈,从此不再惧怕软硬件中的任何“魔法”。
ryanianian查看英文原文
> The idea of implementing a CPU core inside an FPGA is not new, of course. Indeed. I took a computer engineering class in undergrad. The capstone project was implementing from scratch a multi-pipeline RISC CPU (including the ALU and a very basic L1 cache) in Verilog that we flashed to FPGAs that we then programmed to play checkers using hand-compiled C. The FPGA was easier to flash and debug than the Spartan-6 mentioned in TFA but was significantly more expensive as well. It was a brutal class, but it totally demystified computers and the whole industry in a way that made me feel like I really could understand the "whole" stack. Nothing scares me any more, and I no longer fear "magic" in software or hardware.
真实 6502 硬件超频极限约 25 MHz,对比之下 100 MHz 软核很惊人
Leonard Tramiel 曾告诉我,量产 6502 的“世界纪录”大约是 25 MHz,之后芯片就冒烟了。这是在 Commodore 的实验室里发生的,当时可能喝了啤酒(啤酒或许还被用来给芯片降温)。
kabdib查看英文原文
Leonard Tramiel once told me that the "world's record" for a production 6502 was around 25Mhz before the smoke came out. This was in a lab at Commodore, and beer was probably involved (and may have been used to cool the chip).
6502 因高可靠性被用于起搏器等生命攸关设备
在上周的复古计算机节上,Bill Mensch 向观众提到,除非他亲口说,否则没人知道 65C02 和 65C816 曾被用于除颤器和心脏起搏器这类生命攸关的应用。有人知道有没有好的文章解释 6502 为什么如此可靠、它在医疗应用中战胜了哪些竞争者吗?
jazzyjackson查看英文原文
At the Vintage Computer Fest last week Bill Mensch mentioned to the audience that no one ever hears about the 65C02 and 65C816’s use in defibrillators and pacemakers - life critical applications - unless he tells them! Does anyone know of good write ups or explanations of what makes the 6502 so reliable and what competition it had in being chosen for medical applications?
Z80 也有类似的 FPGA 高性能软核项目
Z80 也有类似的项目:一个叫 nextz80 的 FPGA 软核,据称每时钟周期性能是普通 Z80 的 4 倍——在 Spartan XC3S700AN 上可跑 40 MHz,性能相当于或超过 160 MHz 的真实 Z80。
tyingq查看英文原文
Similar for the Z80... There's an FPGA soft core called nextz80 that's supposed to do 4x more per clock cycle than a normal z80. "Works at up to 40MHZ on Spartan XC3S700AN speed grade -4) - performances similar or better than a real Z80 running at 160Mhz." https://opencores.org/projects/nextz80
历次讨论
同类还值得读
开发者无薪坚持完成 Mac 图形计算器:一个秘密项目的故事
Dev stays without pay to finish Mac Graphing Calculator as skunkworks project
苹果 Mac 图形计算器(Graphing Calculator)开发者的亲述:在项目被砍后,几位工程师在没有报酬、没有正式授权的情况下,以“地下项目”方式偷偷留在公司把软件做完…
历史与人物上首页 6 次 · 2009–2022pacifict.com理查德·费曼与 Connection Machine
Richard Feynman and the Connection Machine
长文回忆费曼晚年参与 Connection Machine 并行计算机项目的经历:他分析路由器、用自创的并行 Basic 编写 QCD 程序,也涉足细胞自动机等主题。
历史与人物上首页 5 次 · 2010–2021longnow.org编辑精选负 2000 行代码
-2000 Lines of Code
folklore.org 上 Andy Hertzfeld 记录的一则苹果 Macintosh 开发轶事:Bill Atkinson 被问到写了多少行代码时,回答“-2000 行…
历史与人物上首页 4 次 · 2014–2022folklore.org编辑精选Dennis Ritchie 的第一版 C 编译器(约 1972 年)
Dennis Ritchie’s first C compiler (c. 1972)
这个 GitHub 仓库保存了 Dennis Ritchie 约 1972 年编写的最早 C 编译器源码,是 C 语言和 Unix 早期历史的一手材料。
历史与人物上首页 4 次 · 2013–2025github.com一位破解赛马密码的赌徒
A Gambler Who Cracked the Horse-Racing Code (2018)
彭博社 2018 年的长篇特写,讲述数学家 Bill Benter 如何用统计模型和算法在赛马博彩中持续盈利、累计赢得近十亿美元的故事。
历史与人物上首页 4 次 · 2018–2024bloomberg.com