A kind of spinlock hardware circuit and electronic equipment

A technology of hardware circuit and judging unit, which is applied in the direction of multi-channel program device, concurrent instruction execution, resource allocation, etc., can solve problems such as insufficient spinlock security and complex software control, and achieve fast speed, simple software control, and advanced security protection Effect

Active Publication Date: 2020-11-20
FUZHOU ROCKCHIP SEMICON
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For this reason, it is necessary to provide a spinlock hardware circuit and electronic equipment to solve the problems of insufficient security and complicated software control of existing spinlocks

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
  • A kind of spinlock hardware circuit and electronic equipment
  • A kind of spinlock hardware circuit and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in conjunction with specific embodiments and accompanying drawings.

[0034] see Figures 1 to 2 , the present embodiment provides a spinlock hardware circuit, including a security protection unit 101, an address judgment unit 102, a write data judgment unit 103, a write judgment unit 104, a read control unit 105, and a spinlock status register unit 106, wherein: the security protection unit It is used to monitor whether the read and write access sent by the bus is a safe access sent by the CPU, and if it is a safe access, it will respond, otherwise the access request of the bus is rejected; the address judgment unit is used to query the write address of the bus and convert the write address of the bus It is the selection information corresponding to the spinlock register unit to be accessed, and the co...

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 pinlock hardware circuit and electronic equipment. The hardware circuit comprises a safety protection unit, an address judgment unit, a write data judgment unit, a write-in judgment unit, a read control unit and a spinlock state register unit. wherein the safety protection unit is used for monitoring whether read-write access sent by a bus is safe access sent by a CPU (Central Processing Unit) or not, if the read-write access sent by the bus is safe access, response is given, and if the read-write access sent by the bus is not safe access, an access request of the busis refused; And the address judgment unit is used for inquiring a bus write address, converting the bus write address into selection information corresponding to the to-be-accessed sink register unit, and sending a conversion result to the write data judgment unit and the write judgment unit. According to the technical scheme, a pinlock control algorithm is realized through hardware, and softwarecontrol is simple. And higher-level security protection is realized through security access control at a hardware level. Compared with software control, the speed of hardware control is higher.

Description

technical field [0001] The invention relates to the field of hardware circuits, in particular to a spinlock hardware circuit and electronic equipment. Background technique [0002] With the rapid development of multi-core processors, the processing mechanism for concurrent processing of multi-core processors is becoming more and more important. The spinlock is an important and effective mechanism to avoid errors in multi-core parallel processing. But the current spinlock processing still has obvious problems. First of all, the software control is complicated. spinlock needs to designate a storage area as the lock state storage area, and the method of using software to designate the area in the memory is complicated and not safe enough, and it is easy to be broken by hackers. And the software processing operation speed is relatively slow. Contents of the invention [0003] Therefore, it is necessary to provide a spinlock hardware circuit and electronic equipment to solve...

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/38G06F9/50
Inventor 廖裕民陈云鹰
Owner FUZHOU ROCKCHIP SEMICON
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