Efinix-Inc / tinyml

This repo is for Efinix TinyML platform, which offers end-to-end flow that facilitates TinyML solution deployment on Efinix FPGAs.
MIT License
49 stars 14 forks source link

Custom Instruction #2

Closed smtalds closed 2 years ago

smtalds commented 2 years ago

Hi, I am working on Ti60F225_person_detect_demo_lite. While trying to understand the working accelerator of the tinyml , I need to research custom instructions. I researched Sapphire RISC-V User Guide and customInstructionDemo . RISC-V includes a custom instruction interface with 1,024 IDs to perform different functions. However, these functions are not specified. Can you publish a file about what these functions are and how do they work?

yhlee-efx commented 2 years ago

The RTL of the custom instruction demo module i.e., _custom_instructiontea, is provided in the _designmodules.v file. You may refer to the source code for more details.