[go: up one dir, main page]

Skip to content

This is my hobby project, which contain my rsic-v core and my convolutional layer with AMBA bus

License

Notifications You must be signed in to change notification settings

BoChen-Ye/Tiny_SoC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny_SoC

This is my hobby project. After I study RSIC-V CPU and Tiny_LeViT accelerator, I wonder how to connect them with bus, so I make this Tiny_SoC project.

This is not a serious project, so it must be very simple and have many problems. I finish this project with ChatGPT which help me a lot.

Anyway, this project is only for study and understanding SoC.

File Structure

  • figure : the figure of project.
  • instruction : contain a python file which can translate RSIC-V instruction to binary code for core excution.
  • sim : the testbench for simulation.
  • src : the RTL file of design.

Architecture

This Tiny_project architecture is all finished by myself. The main part is a RSIC-V CPU and Tiny_LeViT accelerator that I made before. I use AHB-Lite bus connect core, memory and accelerator. ALL architecture you can see in figure below.

  • APB is not add until Now.
  • I2C is not add until Now.
  • The Wrapper is only for Conv4 core, I will extend to whole LeViT accelerator.

Tiny_SoC Architecture

RSIC-V instruction

  • This CPU can excute 13 instructions (sw,lw,add,sub,and,or,slt,addi,ori,slti,beq,jal,lui).
  • You can use instruction/Rsicv2bin.py to get .txt binary file and add it to simulation.

SoC Address

  • 32'd0100_0000: RAM, data meomry.
  • 32'd1000_0000: Tiny_LeViT Accelerator.

Future Plan

  • Finish whole accelerator warpper.
  • Add APB and I2C.
  • Add DMA.
  • Improve RSIC-V core.
  • Add Interrupt control module.
  • Add peripheral device: SPI, UART, GPIO, Timer.

SoC Study Resource

  • Book:

System on Chip (SOC) Architecture: A Practical Approach

A Practical Approach to VLSI System on Chip (SoC) Design: A Comprehensive Guide

  • Course:

一生一芯ysyx

SoC 101

About

This is my hobby project, which contain my rsic-v core and my convolutional layer with AMBA bus

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published