Skip to content

This repository is used to create the Chisel of the RISC-V DSP.

License

Notifications You must be signed in to change notification settings

starbrilliance/RISCV-XJTU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RISCV-XJTU

This repository is used to create the Chisel of the RISC-V DSP.

// 2019/4/8 目前AXI4版本已经跑通一个5层的小网络。 实现的功能有卷积、ReLU、最大池化、饱和运算、偏置叠加。待实现的功能有route、尺寸裁剪和系数缩放。 第一层的输入图像的尺寸固定是224×224,但通道数任意,并且每一层的输入通道数和输出通道数相乘必须是偶数。 卷积核尺寸可以是3×3或1×1的,滑动步长固定是1,并且外圈固定填一圈零。 计算核数量目前为1,预计将来扩展到7个,甚至进行通道并行扩展。 1个计算核计算DarkNet-19大约需要2.5s,7个计算核可以减少到0.5s。 网络配置通过指令方式。目前每次只配置一层,将来可能做成一次性完全配置。 每次运算新的图像前,最好用全局复位指令进行复位。上电第一次运行时,还需要一次偏置复位指令。

About

This repository is used to create the Chisel of the RISC-V DSP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published