This Verilog project showcases the design of a simple computer module, likely representing a basic processor. The module includes a Register File, Data Memory, Arithmetic Logic Unit (ALU), and PC (Program Counter) Logic. The project is structured to execute instructions based on the provided program instructions.
Register File:
regFile
) for data storage.Data Memory:
DMem
) for storing and retrieving data.ALU (Arithmetic Logic Unit):
aluResult
and evaluates a zero condition (Zero
).Program Counter Logic:
pc
) based on control signals.Controller:
cpuControl
structure to manage control signals for various components.The project supports a set of instructions, including additions, subtractions, branches, loads, and stores. Each instruction is associated with specific control signals that guide the processor’s behavior.
This project aims to demonstrate a basic processor design in Verilog, emphasizing the integration of critical components and effective control signal management for executing instructions.