Unlock instant, AI-driven research and patent intelligence for your innovation.

rocc coprocessor interface model and its automatic generation tools and implementation methods

A coprocessor and interface technology, applied in the field of accelerator cores, can solve problems such as difficulty and increase time overhead, and achieve the effect of reducing time overhead and improving test efficiency.

Active Publication Date: 2022-04-26
PEKING UNIV
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although these projects have been successfully integrated into the Chipyard open source framework and connected to the RISC-V core with the ROCC coprocessor interface, there are great differences in the interfaces of each project
If a developer designs a custom accelerator, in order to test the performance of the accelerator, and wants to connect to the RISC-V core Rocket with the ROCC coprocessor interface, it is necessary to design an interface suitable for the custom accelerator. The developer must understand the ROCC I have a detailed understanding of the characteristics of the interface, but this process is difficult for developers who are not familiar with RISC-V instructions, and designing a hardware interface suitable for their own accelerator from scratch also greatly increases the time overhead

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • rocc coprocessor interface model and its automatic generation tools and implementation methods
  • rocc coprocessor interface model and its automatic generation tools and implementation methods
  • rocc coprocessor interface model and its automatic generation tools and implementation methods

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0102] Using the ROCC coprocessor interface model automatic generation tool realized by the present invention, the accelerator (as the ROCC coprocessor) whose function is matrix multiplication and addition operation is integrated into the RISC-V system framework, including the following steps:

[0103] When generating the coprocessor interface file and instruction header file, perform the following operations:

[0104] 1) Confirm that there are a total of 2 input data instructions to realize the matrix multiply and add operation (mA+B), that is, num=2. It includes: the data address and length of matrix A (data1_addr, data1_len), the data address and length of matrix B (data2_addr, data2_len). In addition, there is the value (direct_value) of the coefficient m of matrix multiplication and the address of the output result (output_addr);

[0105] 2) According to the size of the data to be processed by the user-defined coprocessor and the size of the processed result data, confir...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a ROCC coprocessor interface model and its automatic generation tool and implementation method, including: an instruction analysis module, an instruction storage unit, an input data storage, a calculation result storage, a read-in data state machine module, and an interface behavior state machine module; the instruction analysis module is connected to the ROCC coprocessor; the input data memory and the calculation result memory are both connected to the memory L1 cache. Automatic generation tools include: interface generation function implementation and interface generation main function; first generate ROCC coprocessor interface files and instruction header files for user testing, and then integrate ROCC coprocessors into RISC‑V systems to realize ROCC coprocessors Generation of processor interface models. By adopting the technical scheme of the present invention, the specific implementation details of RISC-V instructions and ROCC interfaces can be simplified and shielded, and a hardware interface adapted to the coprocessor can be quickly generated.

Description

technical field [0001] The present invention relates to the RTL interface technology of the RISC-V architecture extension accelerator kernel, in particular to a Rocket Custom Coprocessor (Rocket Custom Coprocessor, ROCC) interface model, an interface model automatic generation method and tool, including hardware control of the ROCC extended instruction protocol An interface automatic generation tool and an implementation method of a device, a software emulator, and a RISC-V code generation project with an accelerator. Background technique [0002] Chipyard is an open source framework for agile development of Chisel generator-based System-on-Chip (SoC). Chipyard was developed by Berkeley Architecture Research (UCB-BAR) at the University of California, Berkeley (UCB). It allows the generation of RISC-V SoCs with everything from MMIO-mapped peripherals to custom accelerators utilizing the Chisel Hardware Construction Language, Rocket Chip SoC Generator, and other UCB-BAR proje...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/38G06F13/12G06F15/17
CPCG06F9/3877G06F13/126G06F15/17
Inventor 付晓霞严伟罗国杰郭一江时广轶石弼钊
Owner PEKING UNIV