Skip to content
0:00 / 0:00

#nmigen#6800#fpga

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

Robert Baruch

38K subscribers • 5 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

27K views6 years ago4 recommendations

HardwareSystems programmingFPGAs and digital designCPUs and computer architectureEmbedded systems

Robert Baruch demonstrates how to build a 6800 CPU core on an FPGA using nMigen, a Python-based Hardware Description Language.

6800 CPUs are getting rare. Let's build one on an FPGA with nMigen, a Python-based Hardware Description Language. nMigen tutorial: github.com/RobertBaruch/nmigen-tutorial Alltek Bally CPU replacement boards: allteksystems.com/

Why it's here

4 people recommend this

What people say. Recommended as an excellent introduction to FPGA design and hardware description languages using Python.

magicalhippoon Hacker News • Recommends

On “Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer”

Semi-related, I've been enjoying Robert Baruch's videos1 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: link to this video

krasinon Hacker News • Recommends

On “Glasgow: Scots Army Knife for Electronics”

nMigen is pretty cool and capable. I can only recommend these Youtube series, where nMigen is used to build a full 6800 CPU: link to this video

MrRadaron Hacker News • Recommends

On “Lion: A formally verified, 5-stage pipeline RISC-V core”

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 an introduction to nMigen: link He's got another series that's focused more on the HDL itself building a (relatively much simpler) 6800 CPU core: link to this video

krasinon Hacker News • Recommends

On “Awesome Lattice FPGA Boards”

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. link to this video 6. link

Hail_Spacecakeon Lobsters • Recommends

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

u/junwoo0914in r/FPGA • Mentions

…pretty fascinating **video series on creating a 6800 CPU from ground up, using FPGA & nMigen** (Python-based HDL). I thought that people interested in FPGA would probably love this series as well :) **\*Btw, I am NOT the original video creator(Robert Baruch)\*** For the reader's convenience, I'm writing a summary of each video below. Part 1 : [video \- What motivated the uploader to create this video series(Arcade game :P) \- How a 6800 Cpu's Clock logic and Data Read/Write functionalities are intertwined (timing diagram, etc.) Part 2 : [video \- Creating a simple Adder / Clock module logic with nMigen \- How to use features like 'Assert', to sort of unit-test the code / HDL.…