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

A device and method for preventing bus deadlock

A bus and deadlock technology, which is applied in the direction of instrumentation, electrical digital data processing, etc., can solve problems such as bus deadlock, and achieve the effect of preventing bus deadlock

Active Publication Date: 2019-03-12
SANECHIPS TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention expects to provide a device and method for preventing bus deadlock, which can at least solve the technical problem of existing bus deadlock

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 device and method for preventing bus deadlock
  • A device and method for preventing bus deadlock
  • A device and method for preventing bus deadlock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] In order to solve the technical problem of bus deadlock, this embodiment provides a device for preventing bus deadlock, which is applied to a system that performs data interaction with the processor and peripherals through the bus, such as figure 1 As shown, the device in this embodiment includes: a peripheral delay unit 101, a processor delay unit 102, and a state monitoring unit 103; wherein, the peripheral delay unit 101 is arranged between the bus and the peripherals, and the processor delay unit 102 is set between the processor and the bus;

[0044] The peripheral hardware delay unit 101 is used to monitor the bus status between the bus and the peripheral hardware, obtain the first bus status signal and send it to the status monitoring unit 103, and adjust the first bus status between the bus and the peripheral hardware according to the reset control command received. A handshake signal for reset operation;

[0045]Usually, the bus includes common on-chip buses, s...

Embodiment 2

[0074] This embodiment is based on the method for preventing chip bus deadlock implemented by the device described in Embodiment 1, such as image 3 As shown, the method for preventing chip bus deadlock described in this embodiment includes:

[0075] S201: Monitor the bus state between the bus and the peripheral, and obtain a first bus state signal;

[0076] This step can be completed by the peripheral delay unit 101 arranged between the bus and the peripheral; the first bus status signal includes the transmission status of all signals in the bus.

[0077] S202: Monitor the bus state between the bus and the processor to obtain a second bus state signal;

[0078] This step can be completed by the processor delay unit 102 arranged between the bus and the processor; the second bus status signal includes the transmission status of all signals in the bus.

[0079] In practical applications, the execution order of step S201 and step S202 is not limited.

[0080] S203: Timing the ...

Embodiment 3

[0101] This embodiment describes the present invention in detail through an actual scene. The processing of this embodiment includes:

[0102] S301: Monitor the bus state between the bus and the peripheral, and obtain a first bus state signal;

[0103] The first bus state monitoring module of the peripheral delay unit monitors the first bus state signal between the bus and the peripheral, and sends the first bus state signal to the state monitoring unit.

[0104] This step can be completed by the peripheral delay unit 101 arranged between the bus and the peripheral; the first bus status signal includes the transmission status of all signals in the bus.

[0105] Wherein, the peripheral device delay unit 101 is used to control the first handshake signal of the bus connected to the peripheral device. The number of peripheral delay units 101 is set according to the number of peripherals. Generally, each peripheral chip needs to be provided with a peripheral delay unit, or a peri...

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

A device and method for preventing a bus from deadlocking, and a computer storage medium. The device comprises: a peripheral time delay unit (101) configured to monitor a bus state between a bus and a peripheral, so as to obtain a first bus state signal and send same to a state monitoring unit (103), and conduct a reset operation on a first handshake signal between the bus and the peripheral according to a received reset control instruction; a processor time delay unit (102) configured to monitor a bus state between the bus and a processor, so as to obtain a second bus state signal and send same to the state monitoring unit (103), and conduct a reset operation on a second handshake signal between the bus and the processor according to the received reset control instruction; and the state monitoring unit (103) configured to time the first bus state signal and / or the second bus state signal, and send the reset control instruction when the timed time duration exceeds a corresponding set time duration, so that the peripheral time delay unit (101) and the processor time delay unit (102) reset the handshake signals.

Description

technical field [0001] The invention relates to the technical field of bus control, in particular to a device and method for preventing bus deadlock. Background technique [0002] Electronic equipment is ubiquitous in all areas of social production and life, greatly improving social productivity and living standards. With the advancement of technology, the chip design scale of electronic devices is increasing day by day, and the chip design, the bus design connecting various devices in the chip, and the interaction between the bus and the processor or the bus and peripherals are becoming more and more complex. Here, a peripheral refers to a functional unit connected to a bus. [0003] Generally, when a processor of an electronic device interacts with a peripheral device through a bus, the processor issues an operation command, and the peripheral device responds to the operation command. During this operation, the processor and peripherals are connected by a bus. When the ...

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): G06F13/36
CPCG06F13/36
Inventor 蒋建平
Owner SANECHIPS TECH CO LTD