Skip to content

nikerl/quadrisparse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuadriSparse

QuadriSparse is a sparse dense matrix mulitplication (SpMM) accelerator and RISC-V ISA extention based on the matrix multiplication co-processor Quadrilatero. It uses the CORE-V-X-IF interface to interface with OpenHW Group CPUs and the OBI protocol to interface with memories.

This project was developed as part of a master thesis at Chalmers Univeristy of Technology.

Dependencies

  • Verilator: SV simulator
  • Bender: dependency management tool available here
  • Make

Usage

Ensure the dependencies above are installed:

verilator -V
bender -V

Then compile and run:

make run

Directory Structure

  • /rtl contains the SystemVerilog files describing the co-processor
  • /sw contains example programs that can be used with the x-heep platform
  • /tb contains a standalone testbench which can be used to verify the functionality of the accelerator

Licence

Unless otherwise specified in their respective file headers all files in this repository are made available under Apache License v2.0 (Apache-2.0). Most RTL files are licenced under the Solderpad Hardware License v2.1 (SHL-2.1), see LICENCE.md.

About

Sparse Matrix-Coprocessor for RISC-V

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • C 66.6%
  • SystemVerilog 31.9%
  • Python 1.2%
  • Makefile 0.3%