8 The McCoy 8-bit Microprocessor

8 : The McCoy 8-bit Microprocessor

Select Project123456789ONSW2
  • Author: Aidan Good
  • Description: Custom RISC-V inspired microprocessor capable of simple arithmatic, branching, and jumps through a custom ISA.
  • GitHub repository
  • Clock: 0 Hz

How it works

This chip contains an opcode decoder, 8-bit ALU, 7 general purpose and 3 special purpose 6-bit registers, branch target selector, and other supporting structures all connected together to make a 1-stage microprocessor

How to test

To put the processor in a valid state, hold the reset pin high for one clock cycle. Instructions can begin to be fed into the processor at the beginning of the next cycle when reset is set low. When the clock signal is high, the PC will be output. When the clock signal is low, the x8 register will be output. There are example programs in the testbench folder and a more thourough explaination in the project readme.

External hardware

Any source that allows for 16 GPIO pins. 8 to set the input pins, 8 to read the output pins.

Picture

IO

#InputOutput
0clkout0
1resetout1
2in0out2
3in1out3
4in2out4
5in3out5
6in4out6
7in5out7