Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Device and method for reading and writing internal register file through i2c interface

A register file, I2C technology, applied in the field of electrical communication, can solve problems affecting power consumption, area performance indicators, consumption of I2C register resources, etc., to achieve the effect of increasing testability and observability

Active Publication Date: 2020-10-16
INST OF MICROELECTRONICS CHINESE ACAD OF SCI
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the internal register file, due to the large number of registers, storing the values ​​stored in each register into the I2C registers to achieve testability and observability will consume a large amount of I2C register resources, which will affect power consumption. Area and other performance indicators

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
  • Device and method for reading and writing internal register file through i2c interface
  • Device and method for reading and writing internal register file through i2c interface
  • Device and method for reading and writing internal register file through i2c interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] Such as figure 1 As shown, the structure diagram of the device for reading and writing the internal register file through the I2C interface proposed in Embodiment 1. This device includes an I2C master, an I2C slave including three I2C registers, a read and write enable control module, and a read and write operation module , The following describes the specific functions of each part.

[0074] The I2C master is used to send signals to the I2C slave and the read / write enable control module, and read the data in the I2C slave;

[0075] Three I2C registers, including:

[0076] The first I2C read-write register is used to store the ID value of the internal register that needs to be rewritten and the rewritten data, referred to as write ID and write data. Its value is the basis of the read-write operation unit during the write operation. The I2C host can Perform read and write control on the first I2C read and write register;

[0077] The second I2C read-write register is used to st...

Embodiment 2

[0090] Such as Figure 4 As shown, the signal relationship diagram of the method for rewriting the internal register file through the I2C interface proposed in this embodiment, the specific steps of the rewriting are described as follows:

[0091] Step 11. The transmission process judgment module in the read and write enable control module judges the start mark of I2C transmission according to the changes in the state of the SCL and SDA lines. The falling edge of the SDA signal when the SCL signal is high indicates I2C When the transmission starts, the transmission process judgment module sets the transmission process indication signal to 1 when it detects this change;

[0092] Step 12. The slave address and transmission direction judging module in the read and write enable control module will judge according to the slave address value of the first seven bits and the transmission direction value of the eighth bit after the transmission process indication signal is valid, and When d...

Embodiment 3

[0097] Such as Figure 5 As shown, the signal relationship diagram of the method for reading the internal register file through the I2C interface proposed in this embodiment, the specific steps of the reading are described as follows:

[0098] Step 21. The transmission process judgment module in the read and write enable control module judges the start flag of I2C transmission according to the changes in the state of the SCL and SDA lines. The falling edge of the SDA signal when the SCL signal is high indicates I2C When the transmission starts, the transmission process judgment module sets the transmission process indicator signal to 1 when it detects this change;

[0099] Step 22. The slave address and transmission direction judging module in the read and write enable control module make judgments based on the first seven bits of the slave address value and the eighth bit of the transmission direction value after the transmission process indication signal is valid, and When detec...

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 present invention relates to an apparatus and a method of reading and writing an internal register file through an I2C interface. The apparatus comprises an I2C host, an I2C slave, a read and write operation unit, and a read and write enabling control unit. The I2C host sends a signal to the I2C slave and the read and write enabling control unit and reads data in the I2C slave. The I2C slave comprises a first I2C read and write register, a second I2C read and write register and an I2C read-only register that are respectively used for storing write ID and write data and read ID and read data. The read and write operation unit is used for performing read and write operations on the internal register file. The read and write enabling control unit is used for generating a read and write enabling signal according to the signal sent by the I2C host and setting 1 for controlling the read and write operation unit. When a write enabling signal is 1, the write operation is performed, and when a read enabling signal is 1, the read operation is performed and read data is fed back to the I2C read-only register. According to the apparatus and method, extra external interface overhead and internal stored circuit consumption are not increased, further, read and write are performed on the internal register file of the chip, so that the apparatus and method are significant for testable designs.

Description

Technical field [0001] The invention belongs to the technical field of electrical communication, and more specifically relates to a device and method for reading and writing an internal register file through an I2C interface. Background technique [0002] MIPI interface is an emerging high-speed interface with low power consumption, high transmission rate and other characteristics, and has a wide range of applications in mobile devices. MPHY IP is the most critical part of MIPI design. MPHY has significant advantages over other serial PHYs due to its flexible configuration of multiple optional modes and attributes. This flexibility is achieved through the configuration area of ​​MPHY. The configuration area of ​​MPHY is composed of register files, each of which has a specific ID number. Enhancing the testability and observability of the configuration area is critical to the design and verification of MPHY. [0003] However, in the chip design process, constraints such as area, po...

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/16G06F13/42
CPCG06F9/30043G06F9/30134G06F13/1668G06F13/4282G06F2213/0016
Inventor 任雪倩赵建中周玉梅辛卫华
Owner INST OF MICROELECTRONICS CHINESE ACAD OF SCI
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
Eureka Blog
Learn More
PatSnap group products