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

A method and system for multi-device cooperative access to SRAM

A multi-device collaboration and device technology, applied in the field of integrated circuits, can solve the problems of increasing circuit area and cost, reducing product market competitiveness, and not being able to guarantee the real-time performance of reading and writing SRAM, achieving good versatility, high real-time performance, and energy saving cost effect

Active Publication Date: 2021-06-22
TIANJIN JINHANG INST OF TECH PHYSICS
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Most of the existing software time-sharing access methods cannot guarantee the real-time performance of reading and writing SRAM; while the hardware time-sharing access method is usually a design selection circuit, which increases the area and cost of the circuit and reduces the market competitiveness of the product.

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 method and system for multi-device cooperative access to SRAM
  • A method and system for multi-device cooperative access to SRAM
  • A method and system for multi-device cooperative access to SRAM

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Embodiment 1: A multi-device cooperative access SRAM system of the present invention specifically includes: MCU, FPGA, and SRAM. Both the MCU and the FPGA need to access the SRAM, and in this embodiment, the priority of the MCU to access the SRAM is higher than that of the FPGA. The FPGA is directly connected to the SRAM, the MCU is connected to the FPGA, and the operation of the MCU to the SRAM is realized by FPGA. The specific steps for MCU and FPGA to access SRAM cooperatively are as follows:

[0041] (3) The FPGA is responsible for managing two registers, one is the SRAM current state register, and the other is the read / write flag register. The SRAM current status register defaults to the idle state. When a device reads / writes the SRAM, the FPGA needs to set the SRAM current status register to the read or write state. After the read / write operation is completed, the SRAM current status register is restored to the idle state. The read / write flag register is in the ...

Embodiment 2

[0044] Embodiment 2: A multi-device cooperative access SRAM system of the present invention specifically includes: MCU, FPGA, and SRAM. The FPGA is the master device, and the MCU is the slave device; both the MCU and the FPGA need to access the SRAM, and in this embodiment, the priority of the FPGA to access the SRAM is higher than that of the MCU. The FPGA is directly connected to the SRAM, the MCU is connected to the FPGA, and the operation of the MCU to the SRAM is realized by FPGA. The specific steps for MCU and FPGA to access SRAM cooperatively are as follows:

[0045] (3) The FPGA controls two flags: one is the current state of the SRAM, and the other is the SRAM read / write flag; the current state of the SRAM is idle by default. When a device reads or writes the SRAM, the FPGA needs to set the current state of the SRAM to the read state or Write state, after the read or write operation is completed, restore the current state of the SRAM to the idle state; the read-write...

Embodiment 3

[0049] Embodiment three: as figure 1 As shown, a system of reliable multi-device cooperative access to SRAM of the present invention consists of: a SRAM read-write device composed of MCU, FPGA, SRAM, RS422 interface circuit, data transmission interface circuit, a data acquisition device installed The upper computer of the device. In the SRAM reading and writing device, both the MCU and the FPGA need to access the SRAM, the FPGA is directly connected to the SRAM, the MCU is connected to the FPGA, and the operation of the MCU to the SRAM is realized through FPGA switching. The MCU needs to write data into the SRAM. In this embodiment, the priority of the FPGA to access the SRAM is higher than that of the MCU. After receiving the read SRAM command, the FPGA needs to read the data in the SRAM without waiting.

[0050] In the described SRAM read-write device, MCU is realized by TM4C1294 of TI Company, and this processor has peripheral interface (EPI), can realize 8 / 16 / 32 parallel ...

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 provides a method and system for multi-device cooperative access to SRAM, belonging to the technical field of integrated circuits. The method and system do not increase hardware overhead, and reliably realize multi-device cooperative access to SRAM. When multiple devices involved in the method and system need to access SRAM, one of them is the master device, and the others are slave devices. The slave device obtains the current SRAM state through the interaction information with the master device, and the SRAM read and write signals sent by the slave device Controlled by the master device, the master device determines which device reads or writes the SRAM according to the current SRAM state and the priority of each device. It provides a practical and effective method for a system with high real-time multi-device access to SRAM. The two-way handshake mechanism is simple to implement, which can ensure reliable and effective operation of reading and writing SRAM, and this method has a great impact on the reading and writing time and cycle of SRAM. No special requirements, etc., strong versatility.

Description

technical field [0001] The invention belongs to the technical field of integrated circuits, and in particular relates to a reliable method for multi-device cooperative access to SRAM. Background technique [0002] As a key part of digital circuit system, data storage plays an important role of data cache. SRAM, which is commonly used in data storage, has become the mainstream memory and is widely used in embedded systems due to its advantages of no need to refresh the circuit and simple timing of the read and write interface. In a digital circuit system, it often happens that multiple devices need to access the same SRAM. Since the SRAM can only be accessed by one device at a time, a method for alternately accessing the SRAM by multiple devices is needed. The traditional method is usually realized through software time-sharing access or hardware time-sharing access. Most of the existing software time-sharing access methods cannot guarantee the real-time performance of read...

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): G06F3/06G11C7/10
CPCG06F3/0614G11C7/10
Inventor 宋晓波张梦莹
Owner TIANJIN JINHANG INST OF TECH PHYSICS