Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 637 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 637 Bytes

RISC Processor

Verilog implementation of a 16-bit RISC processor designed around a basic instruction set.

Running the Processor

Instructions for the processor should be included in the inst.dat file in hexadecimal format. Data memory can also be pre-loaded into the processor in hexadecimal format by modifying the mem.dat file.

Assuming the Verilog simulator Icarus is used, the processor can be compiled by moving to the directory of risc.v and running:

iverilog risc.v

Once compiled, the processor can now be executed by running the command:

vvp a.out