TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Big Hex Machine

126 点作者 100ideas超过 8 年前

9 条评论

susam超过 8 年前
During my engineering studies days, I studied the book &quot;Computer System Architecture (3rd ed.)&quot; written by M. Morris Mano. This book was phenomenal in my life because it taught me exactly where the hardware meets the software. This book helped me to understand exactly how the hardware fetches, decodes and executes the software on a physical electronic circuit. In fact, I liked this book so much that I implemented the theoretical machine described in the book (called Mano Machine by many) on a Xilinx XC9572 PC84 CPLD Trainer kit.<p>See <a href="https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;mano-cpu" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;mano-cpu</a> for the VHDL source code that implements the Mano Machine. The file report.pdf contains a description of the work which is mostly a gist of the portions of the book relevant to my implementation of the machine and some additional description of my implementation. I did not make any assembler or compiler for it, so I had to push DIP switches on the kit to load instructions on a RAM (implemented on another kit) to program the CPU and test it.<p>I recommend this book to anybody who wants to understand the basics of how a CPU is implemented in its hardware form.
评论 #12985197 未加载
ChuckMcM超过 8 年前
So giant computers are a thing again? :-) Of the three so far this year I like the giant 6502[1] for &quot;wow&quot;, the giant 80&#x2F;20 thing[2] for presentation, and this one gets honorable mention for an simplified construction.<p>[1] <a href="http:&#x2F;&#x2F;monster6502.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;monster6502.com&#x2F;</a><p>[2] <a href="http:&#x2F;&#x2F;www.megaprocessor.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.megaprocessor.com&#x2F;</a>
drakenot超过 8 年前
If this sort of thing interests you, there is a book along a similar vein titled &quot;The Elements of Computing Systems: NAND to Tetris&quot;.<p>It has you build a virtual computer from the logic gates up -- with each chapter moving up a layer of abstraction.
rossng超过 8 年前
Fun fact: the simplified ISA and language for this machine were designed by David May[1], who was the architect of the highly-parallel Transputer[2] in the 1980s.<p>The Hex machine inherits a few features from the Transputer, including the PFIX and NFIX instructions - a rather unique way of loading arbitrary-length registers using only instructions that have a fixed 4-bit operand.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;David_May_(computer_scientist)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;David_May_(computer_scientist)</a><p>[2] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Transputer" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Transputer</a>
pjc50超过 8 年前
Interesting level of modularity; it&#x27;s almost exactly the same granularity as FPGAs. The &quot;logic unit&quot; in <a href="https:&#x2F;&#x2F;bighexmachine.github.io&#x2F;hexModuleSpec&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bighexmachine.github.io&#x2F;hexModuleSpec&#x2F;</a> reminds me of a LUT element.<p>The two-phase clock looks interesting as well.
Tunabrain超过 8 年前
Are all of those ethernet cables? I can&#x27;t say I know much about wiring, but that seems like a bit overkill.
评论 #12983616 未加载
评论 #12984140 未加载
uobteachingtech超过 8 年前
Little known fact: the Big Hex Machine comes complete with Nyan Cat.<p><a href="https:&#x2F;&#x2F;bighexmachine.github.io&#x2F;nyan.html" rel="nofollow">https:&#x2F;&#x2F;bighexmachine.github.io&#x2F;nyan.html</a>
userbinator超过 8 年前
There is a noticeable lack of any logical operations - I suppose this doesn&#x27;t have an ALU, but an AU. It sounds like a possible exercise for the students to implement a compiler that can handle the other operators in C; it is Turing-complete after all. ;-)
评论 #12983803 未加载
评论 #12986061 未加载
niemyjski超过 8 年前
Pretty cool