System and method for improving bus access error based on RISC-V architecture

A RISC-V and bus technology, applied in the field of low-power kernel interrupt and exception handling, can solve problems such as uncontrollable programs and achieve the effect of increasing flexibility

Active Publication Date: 2019-08-02
芯来智融半导体科技(上海)有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because in most processor architectures, load / store access errors are regarded as imprecise asynchronous errors, and exceptions cannot be masked, so load / store access errors and reporting exceptions will cause the program to be uncontrollable
[0009] In general, since load / store access errors are usually regarded as an imprecise asynchronous error, in the RISC-V architecture, load / store access error reporting exceptions will cause the program to be uncontrollable

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
  • System and method for improving bus access error based on RISC-V architecture
  • System and method for improving bus access error based on RISC-V architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Such as figure 2 As shown, the present invention provides a system and method for improving bus access errors based on the RISC-V architecture, which is compared with the architecture defined by RISC-V (such as figure 1 ), change the bus access error (including load access error and store access error) from reporting exception to reporting interruption. The system includes: an abnormal priority control module, an interrupt control module, and a jump control module, wherein:

[0043] The exception priority control module is used to prioritize all exception types. The smaller the value of the corresponding exception code (Exception Code), the higher the priority. The exception type with the highest current priority is selected and output to the jump Control module

[0044] The interrupt control module is used for unified management of bus access error (BTE) and other interrupt sources, selects the interrupt source with the highest current priority and outputs it to the jump ...

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 system for improving a bus access error based on RISC-V architecture. The system comprises an abnormal priority control module, an interrupt control module and a skip controlmodule. The system distributes interrupt numbers for the bus access error, takes the bus access error as interrupt sources for processing, and the abnormal priority control module is used for carrying out priority ranking on all abnormal types, selecting an abnormal type with the highest current priority and outputting the selected abnormal type to the skip control module; the interrupt control module is used for carrying out unified management on the bus access error and other interrupt sources, selecting the interrupt source with the highest current priority and outputting the interrupt source to the skip control module; and the skip control module is used for analyzing and processing input abnormal types, interrupt sources and unshielded interrupts and outputting analyzed and processedsignals to the processor core. According to the invention, abnormity report is changed to interrupt report for the bus access error, so that software control can be facilitated.

Description

Technical field [0001] The present invention relates to the technical field of low power consumption kernel interrupt and exception handling, in particular to an improved system and method based on RISC-V architecture bus access error. Background technique [0002] Interrupt mechanism (Interrupt), that is, the processor core is suddenly interrupted by other requests in the process of sequential execution of the program instruction stream and suspends the execution of the current program, and then goes to deal with other things, wait for it to finish other things, and then Return to the point where the program was interrupted to continue executing the previous program instruction flow. Among them, the "other request" that interrupts the processor's execution of the program instruction flow is called Interrupt Request, and the source of the interrupt request is called Interrupt Source. Normally, the main interrupt source is From peripheral hardware devices. The transfer of the pr...

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 Applications(China)
IPC IPC(8): G06F11/07G06F13/24
CPCG06F11/0793G06F13/24
Inventor 梁智兵
Owner 芯来智融半导体科技(上海)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products