WORD // 8-BIT · DATA // 3-BIT
ADDRESS // 5-BIT · 32 WORDS
← ProjectsP-04 · Silicon · Published

Toy Processor

A custom 8-bit RISC processor with its own instruction set and datapath, built and simulated in Xilinx Vivado — and published on Zenodo.

VERILOGXILINX VIVADOCUSTOM ISAZENODO DOI
SCROLL TO EXPLORE
SCROLL — 4 CHAPTERS
02
Under the hood

The details

8bit instruction
3bit data path
5bit address
32instruction words
3formats
11RTL modules

Published

The architecture, ISA and datapath are published and archived on Zenodo as Design of a Custom 8-bit Processor with Novel ISA and Data path Architecture.

DOI 10.5281/zenodo.17246207 ↗

Test program

The datapath is verified with a loop-accumulator routine:

    MOV REG1, 3      ; initialise register 1
    MOV REG2, 3      ; initialise register 2
_add:
    ADD REG1, REG2   ; REG1 = REG1 + REG2
    CMP REG1, REG6   ; compare against the limit
    JE  _halt        ; stop when equal
    JNE _add         ; otherwise loop
_halt:
    HLT
MOV simulation waveform
MOVVIVADO XSIM
ADD simulation waveform
ADDVIVADO XSIM
CMP simulation waveform
CMPVIVADO XSIM