This project is a Verilog RTL model of a pipelined 8 bit Simple RISC processor.
An instruction set for the RISC pipeline has been designed that is compact yet comprehensive so that it can execute general purpose instructions. The types of instructions chosen are arithmetic, logical, branch, shift, load and store instructions.
The instruction set is:
- NOP
- Add
- Subtract
- Logical AND
- Logical OR
- Logical NOT
- Left Shift
- Jump
- Load
- Store
- Bitwise AND
- Bitwise OR
- Bitwise NOT
- Compare
- Jump on greater than
- Jump on less than
- Jump on equal
- Jump on carry
The architecture diagram for the processor is:
Three sample programs are contained in the files program1.txt, program2.txt and program3.txt. The corresponding data for these programs are contained in the files data1.txt, data2.txt and data3.txt. The programs and data are written in hexadecimal.