Skip to content

merchantzain/ESP_Systolic_Array_Accelerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A HLS based Systolic Array Accelerator

  • 8-bit integer weight stationary systolic array
  • Designed with Catapult HLS flow and SystemC coding
  • Reconfigurable array size N = 8, 16, or 32 (/ESP_Systolic_Array_Accelerator/cmod/Systolic/include/SysSpec.h)

Folder Structure

  • cmod: SystemC coding

    • Top Module (/ESP_Systolic_Array_Accelerator/cmod/Systolic/SysTop)
  • hls: HLS folders with HLS scripts, directories to process files need to be added

  • matchlib: SystemC Matchlib library (older version) from Nvidia (https://github.com/NVlabs/matchlib)

SystemC and RTL Simulation Tools

  • SystemC 2.3.1
  • Catapult 10.5b
  • Verdi O-2018.09-SP2-7
  • VCS O-2018.09-SP2-11

AXI Configuration

  • 0--0x00: dummy
  • 1--0x04: start signal (write only), fire interrupt upon completion
  • ----data=1 -> master weight read
  • ----data=2 -> master input read
  • ----data=3 -> master input write
  • ----data=4 -> start systolic array
  • 2--0x08: computation config
  • ----data[00-07]= "M-1" (8-bit, M: 1~256)
  • ----data[08-15]= use relu (1 bit)
  • ----data[16-19]= Bias left shift (4 bit)
  • ----data[20-23]= Accum right shift (4-bit), quantization
  • ----data[24-31]= Accum multiplier (8-bit), quantization
  • 3--0x0C: weight_read_base address
  • 4--0x10: input_read_base address
  • 5--0x14: input_write_base address
  • 6--0x18: flip memory buffer (no IRQ, write only)
  • 7--0x1C: dummy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.5%
  • Makefile 3.7%
  • Tcl 3.3%
  • C 2.4%
  • Other 1.1%