Skip to content

Project repository in subject Design of integrated circuits at NTNU.

Notifications You must be signed in to change notification settings

AasmundN/mac-unit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design of integrated circuits - MAC Unit

This MAC-unit was designed as part of a student project. Here you can view its design, implementation, and simulation. The full project report can be read at: [PLACEHOLDER].

Repository structure

The primary directories are spice and verilog. Under Spice, you will find all circuit and model files used for transistor simulations. Verilog contains the design and verification of the hardware at the gate and system level.

  • verilog
    • simulations - simulation results.
    • src - circuits implemented at gate level.
    • testbench - testbenches for all circuits.
  • spice
    • plots - transistor simulation results at different process corners and temperatures.
    • simulations - raw data generated from the simulations.
    • src - Simulation code, transistor design of circuits, and model parameters used.

Running Verilog Code

The Verilog code can be run in Active-HDL or VS Code using Icarus Verilog. Begin with cloning the repository do your desired directory:

git clone https://github.com/AasmundN/mac-unit.git

To run in Active-HDL, import the Verilog code. To run in VS Code, first, install leafvmaple.verilog and mshr-h.veriloghdl extensions. Note that leafvmaple.verilog needs Icarus Verilog installed to work.

After requisites are installed, you can use leafvample.verilog's run command to compile code, and GTK Wave to open simulation files (.vcd). If you have added GTK Wave to path in environment variables, you can open it in VS Code by typing gtkwave in the terminal.

About

Project repository in subject Design of integrated circuits at NTNU.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published