Msiddalingaiah's HDL Simulation - Nakazoto/CenturionComputer GitHub Wiki

Msiddalingaiah's HDL Simulation

Msiddalingaiah has been working on a verilog simulation of the CPU6 and they are getting very close indeed! So far, they have managed to get the simulation to load registers, execute basic math functions as well as some basic control function like NOP and DLY.

Click this link for more information.

To quote: The Verilog implementation has been tested with Icarus Verilog, specifically, Icarus Verilog for Windows.Project IceStorm open source tools were used for synthesis. Below is the very first program running on an Alchitry Cu board with a Lattice iCE40 HX8K FPGA:

ff02 80 00    // LDAL #00
ff04 01       // NOP
ff05 a1 5c 00 // STAL #5c00 (LEDPanel)
ff08 20 00    // INR AL, 1
ff0a 0e       // DLY 4.55 ms
ff0b 0e       // DLY 4.55 ms
ff0c 0e       // DLY 4.55 ms
ff0d 0e       // DLY 4.55 ms
ff0e 71 ff 05 // JMP #ff05

This is known to work on WSL Ubuntu running on Windows 11. USB support requires usbipd for device programming in WSL. To connect a USB device to WSL Ubuntu, the following commands must be executed from an administrator command prompt on Windows:

usbipd wsl list
usbipd wsl attach --busid <busid>

Where busid is appropriate USB bus ID from the wsl list command above. The device should appear in WSL Ubuntu using lsusb.

⚠️ **GitHub.com Fallback** ⚠️