Building a 6800 CPU on an FPGA with nMigen (part 1)

Channel:Robert Baruch · Length:24:45 · Published:2019-12-13 · Views:27302

Watch on YouTube

Summary

The first part of Robert Baruch's series on building a 6800 CPU on an FPGA with nMigen, a Python-based hardware description language. It introduces the HDL while implementing a simpler 6800 core.

Why HN recommends it

HN recommends the series as a practical introduction to nMigen and formal verification for CPU design.

I can only recommend these Youtube series, where nMigen is used to build a full 6800 CPU — HN, 2020

Computer architecture & CPUs · Semiconductors & chip manufacturing · Embedded systems & DIY electronics

Subtitles (excerpt)

greetings micro processing unit friends I'm back with another apparently pointless project well it's a learning opportunity I can't learn something unless I work on a project involving what I want to learn so here we are hopefully learning something together we're going to be learning about a new HDL that just means that it's a new hardware description language that isn't VHDL or Verilog a new HDL project typically starts when someone gets sick of having to remember how VHDL or Verilog works or how hard or ugly it is to work with and why can't it be like a modern language I already work with a lot like Python or Scala or Haskell and then they go and invent a new HDL anyway in my head that's how it happens now check this out this is my space invaders pinball machine it's the pinball machine that I grew up playing and I really enjoyed it this was back in high school so the machine was made by Bally in 1980 and you can see this sort of infinity mirror effect that they have going on there and you can see the alien and it kind of looks like an HR Giger alien and that is not a coincidence because the movie alien came out in 1979 just one year before this pinball machine came out the alien from alien was designed by H

On Hacker News

TinyFPGA BX ([1]) and nmigen/yosys as the fully open source toolchain for generating logic with Python and formally verifying it ([2], [3]). There is a good nMigen tutorial by Robert Baruch ([4]. [5]). Alternatively, if you really want to try Verilog first (not a bad idea), I enjoyed reading a book "Designing Video Game Hardware in Verilog" ([6]). 1. [LINK] 2. [LINK] 3. [LINK] 4. [LINK] 5. [VIDEO… — krasin, 2021-09
Robert Baruch on Youtube is building a RISC-V CPU core of comparable complexity to the one in the OP using nMigen which is an HDL based on Python and it looks like a very nice tool to work with relative to other HDLs I've seen (though I've never had to actually use an HDL myself before so I may not be the best judge). Here's a playlist of the video series, with the earlier videos basically being … — MrRadar, 2021-03
nMigen is pretty cool and capable. I can only recommend these Youtube series, where nMigen is used to build a full 6800 CPU: [VIDEO] — krasin, 2020-08
Semi-related, I've been enjoying Robert Baruch's videos[1] on creating a FPGA implementation of the 6800, using nMigen and formal verification. First videos are almost like live coding, then he skips to a more compact format. As a regular programmer, it's quite interesting to get into how the bits actually end up getting the work done. [1]: [VIDEO] — magicalhippo, 2020-01

Related videos