/Building-a-Simple-Processor

Simple 8-bit single-cycle processor which includes an ALU, a register file and control logic, using Verilog HDL

Primary LanguageVerilog

Building-a-Simple-Processor

Pre requests

verilog compiler(Icarus Verilog) with GTKWave.

Compile & run the verilog file

iverilog -o fileName fileName.v

Then it will create a binary file

vvp fileName

This will run the binary file and give outputs

Run the GTKwaveData (if avalable)

gtkwave GTKwaveFileName.vcd

The GTKWave will open automatically Then you can select components that want to show from the left tab

Instruction file "instr_mem.mem" will be needed to run the CPU properly. It should be in the same directory with verilog file. If not, change the path in verilog file.

Overview of CPU

Capture