Skip to content

About

I created a Central Processing Unit in VHDL on Vivado software to execute various operations via Single-Cycle Implementation. It receives 16-bit instruction vectors as inputs to then divide them into memory addresses, inputs and op-codes. The results will be written back to the register memory or main memory depending on the type of instruction.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Single-Cycle CPU Implementation

This project showcases the development of a single-cycle Central Processing Unit (CPU) using VHDL and synthesized with Xilinx Vivado 2016.3. The CPU processes 16-bit instructions with a design optimized to avoid data, structural, and timing hazards, ensuring smooth cycle execution. Behavioral simulations confirm that the fetch, decode, execute, and write-back phases operate correctly and sequentially without overflow errors.

The CPU’s hierarchical structure includes essential components like an ALU, Program Counter (PC), and memory blocks, enabling efficient instruction execution. Unlike multi-cycle or pipelined CPUs, this single-cycle CPU completes each instruction in one cycle, providing simplicity at the cost of potential performance trade-offs. PnR was employed for accurate opcode and register management.

What sets this CPU apart is its attention to hazard management . The project emphasizes robust testing through waveform analysis, ensuring register and memory cells update appropriately without errors or data conflicts.

This work highlights the effective synthesis and verification of a single-cycle CPU with proven stability and efficiency. Future steps could explore multi-cycle architectures for comparison and further optimization of power and space for embedded applications.

About

I created a Central Processing Unit in VHDL on Vivado software to execute various operations via Single-Cycle Implementation. It receives 16-bit instruction vectors as inputs to then divide them into memory addresses, inputs and op-codes. The results will be written back to the register memory or main memory depending on the type of instruction.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages