WO2024078089A1 - Chip and data transmission method therefor - Google Patents

Chip and data transmission method therefor Download PDF

Info

Publication number
WO2024078089A1
WO2024078089A1 PCT/CN2023/108911 CN2023108911W WO2024078089A1 WO 2024078089 A1 WO2024078089 A1 WO 2024078089A1 CN 2023108911 W CN2023108911 W CN 2023108911W WO 2024078089 A1 WO2024078089 A1 WO 2024078089A1
Authority
WO
WIPO (PCT)
Prior art keywords
blocks
bus
conversion module
interface protocol
spi interface
Prior art date
Application number
PCT/CN2023/108911
Other languages
French (fr)
Chinese (zh)
Inventor
刘明
石昊明
Original Assignee
声龙(新加坡)私人有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 声龙(新加坡)私人有限公司 filed Critical 声龙(新加坡)私人有限公司
Publication of WO2024078089A1 publication Critical patent/WO2024078089A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Definitions

  • the embodiments of the present disclosure relate to, but are not limited to, the field of data processing technology, and in particular, to a chip and a data transmission method thereof.
  • SPI Serial Peripheral Interface
  • the usual design will directly parse the parameters in the block where the SPI interface signal is located, and then distribute the parameters to each level of sub-blocks for use.
  • the number of computing units and storage units in the chip gradually increases, the number of blocks divided into chips also gradually increases. Transmitting from the block where the parameters are parsed to other blocks, especially blocks that are far away, needs to pass through multiple blocks. There are a large number of routing lines between blocks, which not only affects the cutting of the chip, but also brings huge pressure on the layout and wiring of each block.
  • the embodiment of the present disclosure provides a chip, which may include an SPI interface protocol conversion module and a plurality of blocks divided therefrom; the blocks directly connected to the SPI interface protocol conversion module among the plurality of blocks are used as primary blocks, and the blocks not directly connected to the SPI interface protocol conversion module are used as multi-level blocks; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and through the bus, through the The first-level blocks corresponding to the multi-level blocks are connected to the multi-level blocks level by level;
  • the SPI interface protocol conversion module is configured to communicate with the host computer through the SPI interface protocol to obtain communication information, convert the transmission protocol of the communication information into a bus protocol, and transmit the communication information to the corresponding block through the bus based on the bus protocol;
  • the block is configured to parse the communication information and the required configuration parameters within the block itself after receiving the communication information, and perform corresponding operations according to the parsing results.
  • a register is provided in each of the blocks; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and is connected to the multi-level blocks step by step through the primary blocks corresponding to the multi-level blocks through the bus, which may include:
  • the SPI interface protocol conversion module is connected to the registers in all the first-level blocks through a bus, and is connected to the registers in the multi-level blocks subsequent to the first-level block step by step through the bus.
  • the communication information and the required configuration parameters are parsed in the register of the block itself according to the preset configuration parameters and data address table, and the parsing results are distributed to the functional units, which perform corresponding operations.
  • the communication information includes write data information
  • the write data information may include: write enable, write address and write data
  • the register is a write register
  • the bus may be configured to transmit the write data information.
  • the function unit performing the corresponding operation may include:
  • the functional unit writes the write data into the write address according to the write enable.
  • the communication information includes read data information
  • the read data information may include: read enable and read address; the register is a read register;
  • the bus may be configured to transmit the read data information.
  • the functional unit performs the corresponding operation, which may To include:
  • the functional unit reads data from the read address according to the read enable to obtain read data
  • the read register may be configured to transmit the read data to the SPI interface protocol conversion module via a bus.
  • the functional unit may include any one or more of the following: a cache control unit, a calculation unit, and a test unit.
  • the SPI interface protocol conversion module can also be configured to convert the transmission protocol of the information to be transmitted to the host computer from the bus protocol to the SPI interface protocol, and transmit the information to be transmitted to the host computer to the host computer according to the SPI interface protocol.
  • the number of levels of the multi-level blocks is positively correlated with the number of blocks required to be passed through to connect to the SPI interface protocol conversion module.
  • the SPI interface protocol conversion module is provided in a primary block, or is provided separately.
  • the embodiment of the present disclosure further provides a data transmission method based on the chip; the method may include:
  • the communication information and the required configuration parameters are parsed within the block itself, and corresponding operations are performed according to the parsing results.
  • FIG1 is a schematic diagram of a chip connection structure according to an embodiment of the present disclosure.
  • FIG2 is a schematic diagram of a first chip connection in a related solution
  • FIG3 is a schematic diagram of a second chip connection in a related solution
  • FIG4 is a schematic diagram of an example of chip connection according to an embodiment of the present disclosure.
  • FIG5 is a flow chart of a data transmission method according to an embodiment of the present disclosure.
  • the present disclosure provides a chip 1, as shown in FIG1, which may include a SPI interface protocol conversion module 11 and a plurality of divided blocks 12; the blocks directly connected to the SPI interface protocol conversion module in the plurality of blocks 12 are taken as primary blocks 12-1, and the blocks not directly connected to the SPI interface protocol conversion module are taken as multi-level blocks 12-i (i is a positive integer greater than 1, for example, 2, 3, 4 ... N, N is a positive integer), and the number of levels i of the multi-level blocks is the same as the number of processes required for the multi-level blocks to be connected to the SPI interface protocol conversion module 11.
  • the number of blocks is positively correlated (i.e., the more blocks any block passes through when connected to the SPI interface protocol conversion module, the greater the level of the block); the levels of the primary block 12-1 and the multi-level block 12-i are continuous (i.e., when there are multiple blocks, the levels of the multiple blocks are continuous, such as: primary block, secondary block, tertiary block, ...); the SPI interface protocol conversion module 11 is connected to each of the primary blocks 12-1 through bus a, and is connected to the multi-level block 12-i level by level through bus a through the primary block 12-1 corresponding to the multi-level block 12-i;
  • the SPI interface protocol conversion module 11 is configured to communicate with the host computer through the SPI interface protocol to obtain communication information, convert the transmission protocol of the communication information into a bus protocol, and transmit the communication information to the corresponding block 12 (for example, any primary block and multi-level block) through the bus based on the bus protocol;
  • the block 12 is configured to parse the communication information and the required configuration parameters within the block itself after receiving the communication information, and perform corresponding operations according to the parsing results.
  • the chip of the embodiment of the present disclosure may include an SPI interface protocol conversion module and a plurality of blocks divided therefrom; the blocks directly connected to the SPI interface protocol conversion module among the plurality of blocks are used as primary blocks, and the blocks not directly connected to the SPI interface protocol conversion module are used as multi-level blocks; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and is connected to the multi-level blocks step by step through the primary blocks corresponding to the multi-level blocks through the bus; the SPI interface protocol conversion module is configured to communicate with the host computer through the SPI interface protocol to obtain communication information, and the The transmission protocol of the communication information is converted into a bus protocol, and the communication information is transmitted to the corresponding block through the bus; the block is configured to parse the communication information and the required configuration parameters within the block itself after receiving the communication information, and perform corresponding operations according to the parsing results.
  • the number of long lines is greatly reduced, and the wiring pressure is alleviated.
  • Spi Serial Peripheral Interface
  • PCB printed circuit board
  • spi parsing module A is connected to host computer B, and directly connected to other functional modules C (such as C1, C2, C3, ..., CM) in FPGA.
  • spi parsing module A parses the parameters of other functional modules and the data to be transmitted, and transmits them to the corresponding functional modules C respectively.
  • the M (M is a positive integer) functional modules in Figure 2 are all sub-modules of the same level.
  • the spi analysis module A is connected to the host computer B and is directly connected to the first-level block in each group of blocks (such as Block0, Block1, Block2, ..., BlockX-1, X is a positive integer).
  • the front-end design is based on the physical position relationship divided by the back-end design.
  • the parameters and data signals transmitted from the spi analysis module A to the second-level block need to be routed through the first-level block, and the parameters and data signals entering the third-level block need to be routed through the first-level block and the second-level block.
  • each level of the block in each group of blocks is connected to the first-level block step by step and then connected to the spi analysis module A.
  • the spi analysis module A parses all the configuration parameters and data of each block according to the address allocation table, parses out a large number of register signals, and distributes them to the corresponding functional modules.
  • Each level of the block in each group of blocks requires multiple routings to be connected to the spi analysis module A, and the wiring is complicated (not reflected in Figure 3).
  • the routing between the spi analysis module A and the blocks is more and more, and the wiring is more and more complicated.
  • multiple configuration parameters after SPI parsing need to go through a large number of routing lines to reach each level of block. In actual applications, there are as many as 50,000 routing lines. These configuration parameters intersect with the data read and write channels, which brings great trouble to the layout and wiring of the chip.
  • the present disclosure proposes a method for parsing SPI configuration parameters separately within the block.
  • the schematic diagram of the scheme structure is shown in Figure 1.
  • the host computer 2 transmits communication information to the chip 1 through the SPI protocol, and the SPI interface protocol conversion module 11 converts the SPI protocol, which can be converted into a bus protocol.
  • the converted transmission protocol can be a transmission protocol set according to the interface signal and timing relationship of the write SRAM (static random access memory).
  • the bus between the SPI interface protocol conversion module 11 and each block 12 can be used as a write configuration path bus, or can be set as a read configuration path bus, and the number of signal lines of this group of buses is limited.
  • the SPI interface protocol conversion module 11 is interconnected with the first-level block 12-1 in each group of blocks (such as Block0, Block1, Block2, ..., BlockK-1, K is a positive integer) through a bus, and the configuration bus passes through the first-level block 12-1 to reach the second-level block 12-2, and the configuration bus passes through the first-level block 12-1 and the second-level block 12-2 to reach the third-level block, or even more levels of blocks 12-N.
  • the configuration parameters and data required by this block are parsed in the K blocks of each level.
  • the number of levels of the multi-level blocks is positively correlated with the number of blocks required to be passed through to connect to the SPI interface protocol conversion module.
  • each of the blocks 12 is provided with a register; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and is connected to the multi-level blocks step by step through the primary blocks corresponding to the multi-level blocks through the bus, and may include:
  • the SPI interface protocol conversion module 11 is connected to the registers in all the first-level blocks 12-1 through bus a, and is connected to the registers in the multi-level blocks 12-i subsequent to the first-level block 12-1 step by step through the bus a.
  • the registers in FIG. 4 are illustrated by taking write registers (e.g., spi_wr_reg1, spi_wr_reg2, spi_wr_reg3, spi_wr_reg4, spi_wr_reg5, spi_wr_reg6, spi_wr_reg7, spi_wr_reg8, spi_wr_reg9, spi_wr_reg10, spi_wr_reg11) as an example.
  • write registers e.g., spi_wr_reg1, spi_wr_reg2, spi_wr_reg3, spi_wr_reg4, spi_wr_reg5, spi_wr_reg6, spi_wr_reg7, spi_wr_reg8, spi_wr_reg9, spi_wr_reg10, spi_wr_reg11
  • the block's own registers are parsed according to the preset configuration parameters and data address table.
  • the communication information and the configuration parameters are analyzed, and the analysis results are distributed to the functional units, which perform corresponding operations.
  • registers are distributed in each block, receive communication signals from the SPI interface protocol conversion module 11, and then parse the parameters of the block according to the designed configuration parameters and data address table, and distribute them to other functional units of the block.
  • the functional unit may include any one or more of the following: a cache control unit, a calculation unit, and a test unit.
  • the SPI interface protocol conversion module 11 is arranged in a primary block 12 - 1 , or is arranged independently of the multiple blocks 12 .
  • a chip may include a spi interface protocol conversion module 11 (spi_convert); the spi interface protocol conversion module 11 may be set in one of the multiple blocks 12; each block 12 in the chip may include but is not limited to: a spi write register spi_wr_reg, a cache control unit Mc, a calculation unit Alu (arithmetic and logic unit), and a test unit dft.
  • Alu is a combinational logic circuit that can realize multiple groups of arithmetic operations and logic operations.
  • the SPI interface protocol conversion module 11 converts the SPI protocol for communicating with the host computer 2 outside the chip 1 into a bus protocol, and then interconnects with the block where the SPI interface protocol conversion module 11 is located and the registers inside other blocks.
  • the registers in each block are connected to the functional units in the block. For the sake of clarity, this connection relationship is not shown in Figure 4.
  • the chip in FIG. 4 can be divided into 11 blocks, namely, block0, block1, block2, block3, block4, block5, block6, block7, block8, block9, and block10.
  • the SPI interface protocol conversion module 11 can be arranged in block0, wherein block0 can be used as a primary block 12-1, and the SPI interface protocol conversion module 11 is directly connected to the register in block0 through a bus; block1, block3, and block5 can be used as secondary blocks 12-2, and the SPI interface protocol conversion module 11 is connected to the registers in block1, block3, and block5 in the secondary block 12-2 through bus a respectively through block0; block2, block4, block6, and block8 can be used as tertiary blocks, and after passing through block0, the SPI interface protocol conversion module 11 is connected to the registers in block2 through block1 through bus a, is connected to the registers in block4 through block3 through bus a, is connected to the registers in block6 and the registers in block8 through block5 through bus a respectively; block7,
  • the SPI interface protocol conversion module 11 After passing through block0, the SPI interface protocol conversion module 11 is connected to the registers in block7 through block5 and block6 through bus a, and is connected to the registers in block9 through block5 and block8 through bus a; block10 can be used as a five-level block. After passing through block0, the SPI interface protocol conversion module 11 is connected to the registers in block10 through bus a through block5, block8, and block9.
  • registers are distributed in each block, receive communication signals from the SPI interface protocol conversion module 11, and then parse the parameters of the block according to the designed configuration parameters and data address table, and distribute them to other functional modules of the block, such as the cache control unit Mc, the computing unit Alu, the test unit DFT, etc.
  • the cache control unit Mc needs a large number of configuration parameters and refresh parameters of the read and write DRAM (dynamic random access memory) when writing data.
  • the configuration parameters and refresh parameters can be obtained by parsing the write register of the block where they are located.
  • Mc(64) means that the block where they are located contains 64 cache control units Mc
  • Mc(128) means that the block where they are located contains 128 cache control units Mc.
  • the computing unit Alu in the chip needs to configure many computing-related parameters and read the computing results and report them to the host computer when reading data. These parameters can be obtained by parsing the write register of the block. Alu (8) indicates that the block contains 8 computing units Alu.
  • the test unit DFT needs SPI to configure test parameters and read test results during testing.
  • the test parameters can be obtained by parsing the write register of the block where the test unit DFT is located.
  • the communication information may include write data information
  • the write data information may include: write enable (Wr_en), write address (Wr_addr) and write data (Wr_data);
  • the register is a write register;
  • the bus may be configured to transmit the write data information.
  • the host computer 2 transmits communication information to the chip 1 through the SPI protocol, and the SPI interface protocol conversion module 11 converts the SPI protocol to a bus protocol.
  • the bus between the SPI interface protocol conversion module 11 and each block 12 can be used as a write configuration path bus.
  • the SPI interface protocol conversion module 11 is interconnected with the write register in the primary block 12-1 in each group of blocks (such as Block0, Block1, Block2, ..., BlockN-1) through the write configuration path bus.
  • the write configuration path bus passes through the primary block 12-1 to reach the write register of the secondary block 12-2.
  • the write configuration path bus passes through a The first-level block 12-1 and the second-level block 12-2 reach the write register of the third-level block 12-3, or even the write registers of the blocks of more levels.
  • the configuration parameters and data required by the block are parsed in the write registers of the N blocks of each level.
  • the function unit performing the corresponding operation may include:
  • the functional unit writes the write data into the write address according to the write enable.
  • the write register distributes the configuration parameters and data, write enable, write address and write data required by the block to the corresponding functional modules, such as the cache control unit Mc, the computing unit Alu, etc., and the cache control unit Mc and the computing unit Alu complete the data write operation according to the configuration parameters and data, write enable, write address and write data.
  • the communication information is read data information
  • the read data information may include: read enable and read address; the register is a read register;
  • the bus may be configured to transmit the read data information.
  • the host computer 2 transmits communication information to the chip 1 through the SPI protocol, and the SPI interface protocol conversion module 11 converts the SPI protocol to a bus protocol.
  • the bus between the SPI interface protocol conversion module 11 and each block 12 can be used as a read configuration path bus.
  • the SPI interface protocol conversion module 11 is interconnected with the read register in the first-level block 12-1 in each group of blocks (such as Block0, Block1, Block2, ..., BlockN-1) through the read configuration path bus.
  • the read configuration path bus passes through the first-level block 12-1 to reach the read register of the second-level block 12-2.
  • the read configuration path bus passes through the first-level block 12-1 and the second-level block 12-2 to reach the read register of the third-level block 12-3, and even the read registers in more levels of blocks.
  • the configuration parameters and data required for this block are parsed in the read registers in the N blocks of each level.
  • the function unit performing the corresponding operation may include:
  • the functional unit reads data from the read address according to the read enable to obtain read data
  • the read register may be configured to transmit the read data to the SPI interface protocol conversion module 11 via a bus.
  • the read register distributes the configuration parameters and data, read enable, and read address required by the block to the corresponding functional modules, such as the cache control unit Mc, the computing unit Alu, etc.
  • the cache control unit Mc and the computing unit Alu complete the data reading operation according to the configuration parameters and data, read enable, and read address, and return the read data (i.e., read data) to the SPI interface protocol conversion module 11 through the read configuration path bus through the read register.
  • the SPI interface protocol conversion module 11 can also be configured to convert the transmission protocol of the information that needs to be transmitted to the host computer 2 from the bus protocol to the SPI interface protocol, and transmit the information that needs to be transmitted to the host computer 2 to the host computer 2 according to the SPI interface protocol.
  • the read data and/or test results of the corresponding block can be written into the read configuration path bus and uniformly transmitted to the SPI interface protocol conversion module 11. After the bus protocol is converted into the SPI interface protocol, it is transmitted to the host computer through the SPI interface protocol.
  • the present disclosure also provides a data transmission method based on the chip; as shown in FIG5 , the method may include steps S101-S102:
  • S101 communicating with a host computer through an SPI interface protocol to obtain communication information, converting a transmission protocol of the communication information into a bus protocol, and transmitting the communication information to a corresponding block in the chip through a bus based on the bus protocol;
  • any of the aforementioned chip embodiments are applicable to the method embodiments, and will not be described one by one here.
  • computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data).
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer.
  • communication media generally contain computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Bus Control (AREA)
  • Communication Control (AREA)

Abstract

The present text discloses a chip and a data transmission method therefor. The chip comprises an SPI protocol conversion module and a plurality of blocks. Blocks which are directly connected to the SPI protocol conversion module among the plurality of blocks are used as stage-1 blocks, blocks not directly connected to the SPI protocol conversion module are used as multi-stage blocks, and the SPI protocol conversion module is connected to each stage-1 block by means of a bus, and is connected to the multi-stage blocks stage by stage via the stage-1 blocks by means of the bus. The SPI protocol conversion module is configured to obtain communication information by means of communicating with an upper computer by means of an SPI protocol, convert a transmission protocol of the communication information into a bus protocol, and transmit the bus protocol to a corresponding block by means of the bus. The blocks are configured to parse the communication information and a required configuration parameter in the blocks after receiving the communication information, and perform a corresponding operation according to the parsing result.

Description

一种芯片及其数据传输方法Chip and data transmission method thereof
交叉引用cross reference
本公开要求于2022年10月09日提交中国专利局、申请号为202211223804.9、发明名称为“一种芯片及其数据传输方法”的中国专利申请的优先权,其内容应理解为通过引用的方式并入本公开中。This disclosure claims the priority of the Chinese patent application filed with the China Patent Office on October 9, 2022, with application number 202211223804.9 and invention name “A chip and its data transmission method”, the content of which should be understood as incorporated into this disclosure by reference.
技术领域Technical Field
本公开实施例涉及但不限于数据处理技术领域,尤其涉及一种芯片及其数据传输方法。The embodiments of the present disclosure relate to, but are not limited to, the field of data processing technology, and in particular, to a chip and a data transmission method thereof.
背景技术Background technique
随着半导体工艺的持续发展,以及大数据和计算需求日益增强,越来越多计算和存储功能需要专用的芯片来完成。对于计算功能相对单一,但是数据量计算并行度较高的高通量芯片,通常采用SPI(串行外设接口)与主控系统进行通信,用来传递一些配置参数、数据和反馈芯片状态信息等。With the continuous development of semiconductor technology and the increasing demand for big data and computing, more and more computing and storage functions require dedicated chips to complete. For high-throughput chips with relatively simple computing functions but high parallel computing of data volume, SPI (Serial Peripheral Interface) is usually used to communicate with the main control system to transmit some configuration parameters, data and feedback chip status information.
通常的设计会在SPI接口信号所在的块直接解析参数,然后将参数分发到各级子块使用。随着芯片的计算单元和存储单元逐渐增多,芯片划分的块也逐渐增多。从解析参数的块传输到其他块,特别是距离较远的块,需要穿过多个块,在块之间存在大量的走线,不仅影响芯片的切割,而且对每个块的布局布线也带来巨大压力。The usual design will directly parse the parameters in the block where the SPI interface signal is located, and then distribute the parameters to each level of sub-blocks for use. As the number of computing units and storage units in the chip gradually increases, the number of blocks divided into chips also gradually increases. Transmitting from the block where the parameters are parsed to other blocks, especially blocks that are far away, needs to pass through multiple blocks. There are a large number of routing lines between blocks, which not only affects the cutting of the chip, but also brings huge pressure on the layout and wiring of each block.
发明概述SUMMARY OF THE INVENTION
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
本公开实施例提供了一种芯片,可以包括spi接口协议转换模块和划分出的多个块;所述多个块中直接与所述spi接口协议转换模块相连的块作为一级块,未直接与所述spi接口协议转换模块相连的块作为多级块;所述spi接口协议转换模块通过总线与每个所述一级块相连,并且通过总线,经过所 述多级块对应的一级块逐级与所述多级块相连;The embodiment of the present disclosure provides a chip, which may include an SPI interface protocol conversion module and a plurality of blocks divided therefrom; the blocks directly connected to the SPI interface protocol conversion module among the plurality of blocks are used as primary blocks, and the blocks not directly connected to the SPI interface protocol conversion module are used as multi-level blocks; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and through the bus, through the The first-level blocks corresponding to the multi-level blocks are connected to the multi-level blocks level by level;
所述spi接口协议转换模块,设置为通过spi接口协议与上位机进行通信获取通信信息,将所述通信信息的传输协议转换为总线协议,基于所述总线协议将所述通信信息通过总线传输至相应的块;The SPI interface protocol conversion module is configured to communicate with the host computer through the SPI interface protocol to obtain communication information, convert the transmission protocol of the communication information into a bus protocol, and transmit the communication information to the corresponding block through the bus based on the bus protocol;
所述块,设置为在接收到所述通信信息后,在本块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作。The block is configured to parse the communication information and the required configuration parameters within the block itself after receiving the communication information, and perform corresponding operations according to the parsing results.
在本公开的示例性实施例中,每个所述块内设置有寄存器;所述spi接口协议转换模块通过总线与每个所述一级块相连,并且通过总线,经过所述多级块对应的一级块逐级与所述多级块相连,可以包括:In an exemplary embodiment of the present disclosure, a register is provided in each of the blocks; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and is connected to the multi-level blocks step by step through the primary blocks corresponding to the multi-level blocks through the bus, which may include:
所述spi接口协议转换模块通过总线与全部一级块中的寄存器相连,并通过所述总线逐级连接到所述一级块后续的多级块中的寄存器。The SPI interface protocol conversion module is connected to the registers in all the first-level blocks through a bus, and is connected to the registers in the multi-level blocks subsequent to the first-level block step by step through the bus.
在本公开的示例性实施例中,每个所述块包含一个或多个功能单元;所述在本块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作,可以包括:In an exemplary embodiment of the present disclosure, each of the blocks includes one or more functional units; parsing the communication information and the required configuration parameters within the block itself and performing corresponding operations according to the parsing results may include:
在本块自身的寄存器内根据预先设置的配置参数和数据地址表格解析所述通信信息和所需的配置参数,并将解析结果分发至所述功能单元,由所述功能单元执行相应的操作。The communication information and the required configuration parameters are parsed in the register of the block itself according to the preset configuration parameters and data address table, and the parsing results are distributed to the functional units, which perform corresponding operations.
在本公开的示例性实施例中,所述通信信息包括写数据信息,所述写数据信息可以包括:写使能、写地址和写数据;所述寄存器为写寄存器;In an exemplary embodiment of the present disclosure, the communication information includes write data information, and the write data information may include: write enable, write address and write data; the register is a write register;
所述总线,可以设置为传输所述写数据信息。The bus may be configured to transmit the write data information.
在本公开的示例性实施例中,所述由所述功能单元执行相应的操作,可以包括:In an exemplary embodiment of the present disclosure, the function unit performing the corresponding operation may include:
由所述功能单元根据所述写使能将所述写数据写入所述写地址内。The functional unit writes the write data into the write address according to the write enable.
在本公开的示例性实施例中,所述通信信息包括读数据信息,所述读数据信息可以包括:读使能和读地址;所述寄存器为读寄存器;In an exemplary embodiment of the present disclosure, the communication information includes read data information, and the read data information may include: read enable and read address; the register is a read register;
所述总线,可以设置为传输所述读数据信息。The bus may be configured to transmit the read data information.
在本公开的示例性实施例中,所述由所述功能单元执行相应的操作,可 以包括:In the exemplary embodiment of the present disclosure, the functional unit performs the corresponding operation, which may To include:
由所述功能单元根据所述读使能从所述读地址内读取数据,获取读数据;The functional unit reads data from the read address according to the read enable to obtain read data;
将所述读数据返回给所述读寄存器;Returning the read data to the read register;
所述读寄存器,可以设置为通过总线将所述读数据传输至所述spi接口协议转换模块。The read register may be configured to transmit the read data to the SPI interface protocol conversion module via a bus.
在本公开的示例性实施例中,所述功能单元可以包括以下任意一种或多种:缓存控制单元、计算单元和测试单元。In an exemplary embodiment of the present disclosure, the functional unit may include any one or more of the following: a cache control unit, a calculation unit, and a test unit.
在本公开的示例性实施例中,所述spi接口协议转换模块,还可以设置为将需要传输至所述上位机的信息的传输协议由所述总线协议转化为所述spi接口协议,并将所述需要传输至所述上位机的信息根据所述spi接口协议传输到所述上位机。In an exemplary embodiment of the present disclosure, the SPI interface protocol conversion module can also be configured to convert the transmission protocol of the information to be transmitted to the host computer from the bus protocol to the SPI interface protocol, and transmit the information to be transmitted to the host computer to the host computer according to the SPI interface protocol.
在本公开的示例性实施例中,所述多级块的级数与连接到所述spi接口协议转换模块所需经过的块的数量正相关。In an exemplary embodiment of the present disclosure, the number of levels of the multi-level blocks is positively correlated with the number of blocks required to be passed through to connect to the SPI interface protocol conversion module.
在本公开的示例性实施例中,所述spi接口协议转换模块设置于一个一级块中,或者单独设置。In an exemplary embodiment of the present disclosure, the SPI interface protocol conversion module is provided in a primary block, or is provided separately.
本公开实施例还提供了一种数据传输方法,基于所述的芯片;所述方法可以包括:The embodiment of the present disclosure further provides a data transmission method based on the chip; the method may include:
通过spi接口协议与上位机进行通信获取通信信息,将所述通信信息的传输协议转换为总线协议,基于所述总线协议将所述通信信息通过总线传输至所述芯片内相应的块;Communicate with the host computer through the SPI interface protocol to obtain communication information, convert the transmission protocol of the communication information into a bus protocol, and transmit the communication information to the corresponding block in the chip through the bus based on the bus protocol;
在所述块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作。The communication information and the required configuration parameters are parsed within the block itself, and corresponding operations are performed according to the parsing results.
本公开的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本公开而了解。本公开的其他优点可通过在说明书以及附图中所描述的方案来实现和获得。Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or be understood by implementing the present disclosure. Other advantages of the present disclosure can be realized and obtained by the schemes described in the description and the drawings.
在阅读并理解了附图和详细描述后,可以明白其他方面。 Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF DESCRIPTION OF THE DRAWINGS
附图用来提供对本公开技术方案的理解,并且构成说明书的一部分,与本公开的实施例一起用于解释本公开的技术方案,并不构成对本公开技术方案的限制。The accompanying drawings are used to provide an understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.
图1为本公开实施例的芯片连接结构示意图;FIG1 is a schematic diagram of a chip connection structure according to an embodiment of the present disclosure;
图2为相关方案中的第一种芯片连接示意图;FIG2 is a schematic diagram of a first chip connection in a related solution;
图3为相关方案中的第二种芯片连接示意图;FIG3 is a schematic diagram of a second chip connection in a related solution;
图4为本公开实施例的一种芯片连接示例示意图;FIG4 is a schematic diagram of an example of chip connection according to an embodiment of the present disclosure;
图5为本公开实施例的一种数据传输方法流程图。FIG5 is a flow chart of a data transmission method according to an embodiment of the present disclosure.
详述Details
本公开描述了多个实施例,但是该描述是示例性的,而不是限制性的,并且对于本领域的普通技术人员来说显而易见的是,在本公开所描述的实施例包含的范围内可以有更多的实施例和实现方案。尽管在附图中示出了许多可能的特征组合,并在具体实施方式中进行了讨论,但是所公开的特征的许多其它组合方式也是可能的。除非特意加以限制的情况以外,任何实施例的任何特征或元件可以与任何其它实施例中的任何其他特征或元件结合使用,或可以替代任何其它实施例中的任何其他特征或元件。The present disclosure describes multiple embodiments, but the description is exemplary rather than restrictive, and it is apparent to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present disclosure. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.
本公开包括并设想了与本领域普通技术人员已知的特征和元件的组合。本公开已经公开的实施例、特征和元件也可以与任何常规特征或元件组合,以形成由权利要求限定的独特的发明方案。任何实施例的任何特征或元件也可以与来自其它发明方案的特征或元件组合,以形成另一个由权利要求限定的独特的发明方案。因此,应当理解,在本公开中示出和/或讨论的任何特征可以单独地或以任何适当的组合来实现。因此,除了根据所附权利要求及其等同替换所做的限制以外,实施例不受其它限制。此外,可以在所附权利要求的保护范围内进行各种修改和改变。The present disclosure includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features, and elements disclosed in the present disclosure may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and/or discussed in the present disclosure may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other limitations. In addition, various modifications and changes may be made within the scope of protection of the attached claims.
此外,在描述具有代表性的实施例时,说明书可能已经将方法和/或过程呈现为特定的步骤序列。然而,在该方法或过程不依赖于本文所述步骤的特 定顺序的程度上,该方法或过程不应限于所述的特定顺序的步骤。如本领域普通技术人员将理解的,其它的步骤顺序也是可能的。因此,说明书中阐述的步骤的特定顺序不应被解释为对权利要求的限制。此外,针对该方法和/或过程的权利要求不应限于按照所写顺序执行它们的步骤,本领域技术人员可以容易地理解,这些顺序可以变化,并且不脱离本公开的范围。Furthermore, when describing representative embodiments, the specification may have presented a method and/or process as a particular sequence of steps. However, in the case where the method or process does not rely on the particular sequence of steps described herein, To the extent that the steps are described in a specific order, the method or process should not be limited to the steps in the specific order described. As will be appreciated by those of ordinary skill in the art, other orders of steps are also possible. Therefore, the specific order of the steps set forth in the specification should not be interpreted as a limitation on the claims. In addition, the claims to the method and/or process should not be limited to performing their steps in the order written, and those skilled in the art can readily appreciate that these orders can be changed without departing from the scope of the present disclosure.
本公开实施例提供了一种芯片1,如图1所示,可以包括spi接口协议转换模块11和划分出的多个块12;将所述多个块12中直接与所述spi接口协议转换模块相连的块作为一级块12-1,未直接与所述spi接口协议转换模块相连的块作为多级块12-i(i为大于1的正整数,例如,2、3、4…N,N为正整数),所述多级块的级数i与所述多级块连接到所述spi接口协议转换模块11所需经过的块的数量正相关(即任意一个块连接到spi接口协议转换模块所经过的块越多,则这个块的级数越大);一级块12-1和多级块12-i的级数连续(即当存在多个块时,多个块的级数是连续的,如:一级块、二级块、三级块、…);所述spi接口协议转换模块11通过总线a与每个所述一级块12-1相连,并且通过总线a,经过所述多级块12-i对应的一级块12-1逐级与所述多级块12-i相连;The present disclosure provides a chip 1, as shown in FIG1, which may include a SPI interface protocol conversion module 11 and a plurality of divided blocks 12; the blocks directly connected to the SPI interface protocol conversion module in the plurality of blocks 12 are taken as primary blocks 12-1, and the blocks not directly connected to the SPI interface protocol conversion module are taken as multi-level blocks 12-i (i is a positive integer greater than 1, for example, 2, 3, 4 ... N, N is a positive integer), and the number of levels i of the multi-level blocks is the same as the number of processes required for the multi-level blocks to be connected to the SPI interface protocol conversion module 11. The number of blocks is positively correlated (i.e., the more blocks any block passes through when connected to the SPI interface protocol conversion module, the greater the level of the block); the levels of the primary block 12-1 and the multi-level block 12-i are continuous (i.e., when there are multiple blocks, the levels of the multiple blocks are continuous, such as: primary block, secondary block, tertiary block, ...); the SPI interface protocol conversion module 11 is connected to each of the primary blocks 12-1 through bus a, and is connected to the multi-level block 12-i level by level through bus a through the primary block 12-1 corresponding to the multi-level block 12-i;
所述spi接口协议转换模块11,设置为通过spi接口协议与上位机进行通信获取通信信息,将所述通信信息的传输协议转换为总线协议,基于所述总线协议将所述通信信息通过总线传输至相应的块12(例如,可以为任意的一级块和多级块);The SPI interface protocol conversion module 11 is configured to communicate with the host computer through the SPI interface protocol to obtain communication information, convert the transmission protocol of the communication information into a bus protocol, and transmit the communication information to the corresponding block 12 (for example, any primary block and multi-level block) through the bus based on the bus protocol;
所述块12,设置为在接收到所述通信信息后,在本块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作。The block 12 is configured to parse the communication information and the required configuration parameters within the block itself after receiving the communication information, and perform corresponding operations according to the parsing results.
与相关技术相比,本公开实施例的芯片可以包括spi接口协议转换模块和划分出的多个块;所述多个块中直接与所述spi接口协议转换模块相连的块作为一级块,未直接与所述spi接口协议转换模块相连的块作为多级块;所述spi接口协议转换模块通过总线与每个所述一级块相连,并且通过总线,经过所述多级块对应的一级块逐级与所述多级块相连;所述spi接口协议转换模块,设置为通过spi接口协议与上位机进行通信获取通信信息,将所述 通信信息的传输协议转换为总线协议,将所述通信信息通过总线传输至相应的块;所述块,设置为在接收到所述通信信息后,在本块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作。通过该实施例方案,大大减少了长线数量,减轻了布线压力。Compared with the related art, the chip of the embodiment of the present disclosure may include an SPI interface protocol conversion module and a plurality of blocks divided therefrom; the blocks directly connected to the SPI interface protocol conversion module among the plurality of blocks are used as primary blocks, and the blocks not directly connected to the SPI interface protocol conversion module are used as multi-level blocks; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and is connected to the multi-level blocks step by step through the primary blocks corresponding to the multi-level blocks through the bus; the SPI interface protocol conversion module is configured to communicate with the host computer through the SPI interface protocol to obtain communication information, and the The transmission protocol of the communication information is converted into a bus protocol, and the communication information is transmitted to the corresponding block through the bus; the block is configured to parse the communication information and the required configuration parameters within the block itself after receiving the communication information, and perform corresponding operations according to the parsing results. Through this embodiment, the number of long lines is greatly reduced, and the wiring pressure is alleviated.
Spi(Serial Peripheral Interface,串行外设接口)是一种高速、全双工、同步的通信总线,只需要四根信号线即可,节约引脚,有利于PCB(印刷电路板)的布局。spi的通信原理比较简单,它以主从方式工作,通常有一个主设备和多个从设备。Spi (Serial Peripheral Interface) is a high-speed, full-duplex, synchronous communication bus that only requires four signal lines, saving pins and facilitating PCB (printed circuit board) layout. The communication principle of spi is relatively simple. It works in a master-slave mode, usually with one master device and multiple slave devices.
在一种传统的相关方案中,通常在FPGA(Field-Programmable Gate Array,即现场可编程门阵列)中,spi解析模块A与上位机B相连,并与FPGA内的其他功能模块C(例如C1、C2、C3、……、CM)直接相连。如图2所示,spi解析模块A解析其他功能模块的参数和需要传输的数据,分别传输到相应的功能模块C,一般情况下,图2中的M(M为正整数)个功能模块都是同级别的子模块。In a traditional related scheme, usually in FPGA (Field-Programmable Gate Array), spi parsing module A is connected to host computer B, and directly connected to other functional modules C (such as C1, C2, C3, ..., CM) in FPGA. As shown in Figure 2, spi parsing module A parses the parameters of other functional modules and the data to be transmitted, and transmits them to the corresponding functional modules C respectively. Generally, the M (M is a positive integer) functional modules in Figure 2 are all sub-modules of the same level.
在另一种传统的相关方案中,在芯片中,spi解析模块A与上位机B相连,并与每组块(如Block0、Block1、Block2、……、BlockX-1,X为正整数)中的一级块直接相连,前端设计根据后端设计划分的物理位置关系,从spi解析模块A传递到二级块的参数和数据信号,需要经过一级块走线,进入三级块的参数和数据信号需要经过一级块和二级块走线。如图3所示,其中,每组块中的每级块逐级连接到一级块后再与spi解析模块A相连,spi解析模块A将每个块的配置参数和数据全部按照地址分配表进行解析,解析出大量的寄存器信号,分发到相应的功能模块,每组块中的每级块均需要多条走线与spi解析模块A相连,且接线复杂(在图3中无法体现),当块的级数越多,组数越多时,导致spi解析模块A与块之间的走线越来越多,接线也越来越复杂。根据图3可知,spi解析后的多个配置参数要经过大量的走线才能达到每级块,在实际应用中走线多达5万根,这些配置参数与数据的读写通道相互交叉,给芯片的布局布线带来很大麻烦。In another traditional related scheme, in the chip, the spi analysis module A is connected to the host computer B and is directly connected to the first-level block in each group of blocks (such as Block0, Block1, Block2, ..., BlockX-1, X is a positive integer). The front-end design is based on the physical position relationship divided by the back-end design. The parameters and data signals transmitted from the spi analysis module A to the second-level block need to be routed through the first-level block, and the parameters and data signals entering the third-level block need to be routed through the first-level block and the second-level block. As shown in Figure 3, each level of the block in each group of blocks is connected to the first-level block step by step and then connected to the spi analysis module A. The spi analysis module A parses all the configuration parameters and data of each block according to the address allocation table, parses out a large number of register signals, and distributes them to the corresponding functional modules. Each level of the block in each group of blocks requires multiple routings to be connected to the spi analysis module A, and the wiring is complicated (not reflected in Figure 3). When the number of levels and groups of blocks is more, the routing between the spi analysis module A and the blocks is more and more, and the wiring is more and more complicated. As shown in Figure 3, multiple configuration parameters after SPI parsing need to go through a large number of routing lines to reach each level of block. In actual applications, there are as many as 50,000 routing lines. These configuration parameters intersect with the data read and write channels, which brings great trouble to the layout and wiring of the chip.
在本公开的示例性实施例中,为了解决芯片的大量交叉线和长线引起的问题,本公开实施例提出了一种在块内部分别解析spi配置参数的方法,方 案结构示意图如图1所示。In an exemplary embodiment of the present disclosure, in order to solve the problem caused by a large number of cross-wires and long wires of the chip, the present disclosure proposes a method for parsing SPI configuration parameters separately within the block. The schematic diagram of the scheme structure is shown in Figure 1.
在本公开的示例性实施例中,上位机2通过spi协议将通信信息传输到芯片1,spi接口协议转换模块11对spi协议进行转换,可以转换为总线协议,转换后的传输协议可以是根据写sram(静态随机存取存储器)的接口信号和时序关系设置的传输协议。spi接口协议转换模块11与各个块12之间的总线可以作为写配置通路总线,也可以设置为读配置通路总线,这组总线的信号线个数是有限的。In an exemplary embodiment of the present disclosure, the host computer 2 transmits communication information to the chip 1 through the SPI protocol, and the SPI interface protocol conversion module 11 converts the SPI protocol, which can be converted into a bus protocol. The converted transmission protocol can be a transmission protocol set according to the interface signal and timing relationship of the write SRAM (static random access memory). The bus between the SPI interface protocol conversion module 11 and each block 12 can be used as a write configuration path bus, or can be set as a read configuration path bus, and the number of signal lines of this group of buses is limited.
在本公开的示例性实施例中,如图1所示,spi接口协议转换模块11通过总线与每组块(如Block0、Block1、Block2、……、BlockK-1,K为正整数)中的一级块12-1互联,配置总线穿过一级块12-1到达二级块12-2,配置总线穿过一级块12-1和二级块12-2到达三级块,甚至更多级的块12-N。在每级的K个块内解析本块所需要的配置参数和数据。In an exemplary embodiment of the present disclosure, as shown in FIG1 , the SPI interface protocol conversion module 11 is interconnected with the first-level block 12-1 in each group of blocks (such as Block0, Block1, Block2, ..., BlockK-1, K is a positive integer) through a bus, and the configuration bus passes through the first-level block 12-1 to reach the second-level block 12-2, and the configuration bus passes through the first-level block 12-1 and the second-level block 12-2 to reach the third-level block, or even more levels of blocks 12-N. The configuration parameters and data required by this block are parsed in the K blocks of each level.
在本公开的示例性实施例中,所述多级块的级数与连接到所述spi接口协议转换模块所需经过的块的数量正相关。In an exemplary embodiment of the present disclosure, the number of levels of the multi-level blocks is positively correlated with the number of blocks required to be passed through to connect to the SPI interface protocol conversion module.
在本公开的示例性实施例中,如图4所示,每个所述块12内设置有寄存器;所述spi接口协议转换模块通过总线与每个所述一级块相连,并且通过总线,经过所述多级块对应的一级块逐级与所述多级块相连,可以包括:In an exemplary embodiment of the present disclosure, as shown in FIG4 , each of the blocks 12 is provided with a register; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and is connected to the multi-level blocks step by step through the primary blocks corresponding to the multi-level blocks through the bus, and may include:
所述spi接口协议转换模块11通过总线a与全部一级块12-1中的寄存器相连,并通过所述总线a逐级连接到所述一级块12-1后续的多级块12-i中的寄存器。The SPI interface protocol conversion module 11 is connected to the registers in all the first-level blocks 12-1 through bus a, and is connected to the registers in the multi-level blocks 12-i subsequent to the first-level block 12-1 step by step through the bus a.
在本公开的示例性实施例中,图4中的寄存器以写寄存器(例如spi_wr_reg1、spi_wr_reg2、spi_wr_reg3、spi_wr_reg4、spi_wr_reg5、spi_wr_reg6、spi_wr_reg7、spi_wr_reg8、spi_wr_reg9、spi_wr_reg10、spi_wr_reg11)为例示出。In an exemplary embodiment of the present disclosure, the registers in FIG. 4 are illustrated by taking write registers (e.g., spi_wr_reg1, spi_wr_reg2, spi_wr_reg3, spi_wr_reg4, spi_wr_reg5, spi_wr_reg6, spi_wr_reg7, spi_wr_reg8, spi_wr_reg9, spi_wr_reg10, spi_wr_reg11) as an example.
在本公开的示例性实施例中,每个所述块包含一个或多个功能单元;所述在本块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作,可以包括:In an exemplary embodiment of the present disclosure, each of the blocks includes one or more functional units; parsing the communication information and the required configuration parameters within the block itself and performing corresponding operations according to the parsing results may include:
在本块自身的寄存器内根据预先设置的配置参数和数据地址表格解析所 述通信信息和所述配置参数,并将解析结果分发至所述功能单元,由所述功能单元执行相应的操作。The block's own registers are parsed according to the preset configuration parameters and data address table. The communication information and the configuration parameters are analyzed, and the analysis results are distributed to the functional units, which perform corresponding operations.
在本公开的示例性实施例中,寄存器(例如写寄存器和读寄存器)分布于每个块内,接收来自于spi接口协议转换模块11的通信信号,然后根据设计好的配置参数和数据地址表格,解析出所在块的参数,分发到所在块的其他功能单元。In an exemplary embodiment of the present disclosure, registers (such as write registers and read registers) are distributed in each block, receive communication signals from the SPI interface protocol conversion module 11, and then parse the parameters of the block according to the designed configuration parameters and data address table, and distribute them to other functional units of the block.
在本公开的示例性实施例中,所述功能单元可以包括以下任意一种或多种:缓存控制单元、计算单元和测试单元。In an exemplary embodiment of the present disclosure, the functional unit may include any one or more of the following: a cache control unit, a calculation unit, and a test unit.
在本公开的示例性实施例中,所述spi接口协议转换模块11设置于一个一级块12-1中,或者独立于多个块12之外单独设置。In an exemplary embodiment of the present disclosure, the SPI interface protocol conversion module 11 is arranged in a primary block 12 - 1 , or is arranged independently of the multiple blocks 12 .
在本公开的示例性实施例中,芯片中可以包括spi接口协议转换模块11(spi_convert);所述spi接口协议转换模块11可以设置于所述多个块12中的一个块中;芯片中每个块12可以包括但不限于:spi写寄存器spi_wr_reg、缓存控制单元Mc、计算单元Alu(arithmetic and logic unit,算数逻辑单元)、测试单元dft。其中,Alu是能实现多组算术运算和逻辑运算的组合逻辑电路。In an exemplary embodiment of the present disclosure, a chip may include a spi interface protocol conversion module 11 (spi_convert); the spi interface protocol conversion module 11 may be set in one of the multiple blocks 12; each block 12 in the chip may include but is not limited to: a spi write register spi_wr_reg, a cache control unit Mc, a calculation unit Alu (arithmetic and logic unit), and a test unit dft. Among them, Alu is a combinational logic circuit that can realize multiple groups of arithmetic operations and logic operations.
在本公开的示例性实施例中,spi接口协议转换模块11将与芯片1外部的上位机2通信的spi协议转换成总线协议,然后与spi接口协议转换模块11所在块和其他块内部的寄存器互联,每个块内的寄存器与该块内的功能单元相连,为了画面清晰,在图4中未示出该连接关系。In an exemplary embodiment of the present disclosure, the SPI interface protocol conversion module 11 converts the SPI protocol for communicating with the host computer 2 outside the chip 1 into a bus protocol, and then interconnects with the block where the SPI interface protocol conversion module 11 is located and the registers inside other blocks. The registers in each block are connected to the functional units in the block. For the sake of clarity, this connection relationship is not shown in Figure 4.
在本公开的示例性实施例中,图4中的芯片可以划分为block0、block1、block2、block3、block4、block5、block6、block7、block8、block9、block10等11个块,所述spi接口协议转换模块11可以设置于block0内,其中,block0可以作为一个一级块12-1,spi接口协议转换模块11直接通过总线与block0中的寄存器相连;block1、block3、block5可以作为二级块12-2,spi接口协议转换模块11经过block0分别通过总线a与二级块12-2中的block1、block3、block5中的寄存器相连;block2、block4、block6、block8可以作为三级块,spi接口协议转换模块11经过block0后,分别通过总线a穿过block1与block2中的寄存器相连、通过总线a穿过block3与block4中的寄存器相连、通过总线a穿过block5与block6中的寄存器和block8中的寄存器相连;block7、 block9可以作为四级块,spi接口协议转换模块11经过block0后,依次通过总线a穿过block5和block6与block7中的寄存器相连,并依次通过总线a穿过block5和block8与block9中的寄存器相连;block10可以作为五级块,spi接口协议转换模块11经过block0后,依次通过总线a穿过block5、block8、block9与block10中的寄存器相连。In an exemplary embodiment of the present disclosure, the chip in FIG. 4 can be divided into 11 blocks, namely, block0, block1, block2, block3, block4, block5, block6, block7, block8, block9, and block10. The SPI interface protocol conversion module 11 can be arranged in block0, wherein block0 can be used as a primary block 12-1, and the SPI interface protocol conversion module 11 is directly connected to the register in block0 through a bus; block1, block3, and block5 can be used as secondary blocks 12-2, and the SPI interface protocol conversion module 11 is connected to the registers in block1, block3, and block5 in the secondary block 12-2 through bus a respectively through block0; block2, block4, block6, and block8 can be used as tertiary blocks, and after passing through block0, the SPI interface protocol conversion module 11 is connected to the registers in block2 through block1 through bus a, is connected to the registers in block4 through block3 through bus a, is connected to the registers in block6 and the registers in block8 through block5 through bus a respectively; block7, Block9 can be used as a four-level block. After passing through block0, the SPI interface protocol conversion module 11 is connected to the registers in block7 through block5 and block6 through bus a, and is connected to the registers in block9 through block5 and block8 through bus a; block10 can be used as a five-level block. After passing through block0, the SPI interface protocol conversion module 11 is connected to the registers in block10 through bus a through block5, block8, and block9.
在本公开的示例性实施例中,寄存器(例如写寄存器和读寄存器)分布于每个块内,接收来自于spi接口协议转换模块11的通信信号,然后根据设计好的配置参数和数据的地址表格,解析出所在块的参数,分发到所在块的其他功能模块,例如,缓存控制单元Mc、计算单元Alu、测试单元dft等。In an exemplary embodiment of the present disclosure, registers (such as write registers and read registers) are distributed in each block, receive communication signals from the SPI interface protocol conversion module 11, and then parse the parameters of the block according to the designed configuration parameters and data address table, and distribute them to other functional modules of the block, such as the cache control unit Mc, the computing unit Alu, the test unit DFT, etc.
在本公开的示例性实施例中,缓存控制单元Mc在写数据时需要大量的读写dram(动态随机存取内存)的配置参数和刷新参数,配置参数和刷新参数可以通过所在块的写寄存器解析获得。Mc(64)表示所在的块内含有64个缓存控制单元Mc,Mc(128)表示所在的块内含有128个缓存控制单元Mc。In an exemplary embodiment of the present disclosure, the cache control unit Mc needs a large number of configuration parameters and refresh parameters of the read and write DRAM (dynamic random access memory) when writing data. The configuration parameters and refresh parameters can be obtained by parsing the write register of the block where they are located. Mc(64) means that the block where they are located contains 64 cache control units Mc, and Mc(128) means that the block where they are located contains 128 cache control units Mc.
在本公开的示例性实施例中,芯片中的计算单元Alu在读数据时需要spi配置很多计算相关的参数和读取计算结果并上报上位机,这些参数可以通过所在块的写寄存器解析获得。Alu(8)表示所在的块内含有8个计算单元Alu。In the exemplary embodiment of the present disclosure, the computing unit Alu in the chip needs to configure many computing-related parameters and read the computing results and report them to the host computer when reading data. These parameters can be obtained by parsing the write register of the block. Alu (8) indicates that the block contains 8 computing units Alu.
在本公开的示例性实施例中,测试单元dft在测试时需要spi配置测试参数和读取测试结果,该测试参数可以通过所在块的写寄存器解析获得。In an exemplary embodiment of the present disclosure, the test unit DFT needs SPI to configure test parameters and read test results during testing. The test parameters can be obtained by parsing the write register of the block where the test unit DFT is located.
在本公开的示例性实施例中,所述通信信息可以包括写数据信息,所述写数据信息可以包括:写使能(Wr_en)、写地址(Wr_addr)和写数据(Wr_data);所述寄存器为写寄存器;In an exemplary embodiment of the present disclosure, the communication information may include write data information, and the write data information may include: write enable (Wr_en), write address (Wr_addr) and write data (Wr_data); the register is a write register;
所述总线,可以设置为传输所述写数据信息。The bus may be configured to transmit the write data information.
在本公开的示例性实施例中,上位机2通过spi协议将通信信息传输到芯片1,spi接口协议转换模块11对spi协议进行转换,可以转换为总线协议,spi接口协议转换模块11与每个块12之间的总线可以作为写配置通路总线,spi接口协议转换模块11通过写配置通路总线与每组块(如Block0、Block1、Block2、……、BlockN-1)中的一级块12-1中的写寄存器互联,写配置通路总线穿过一级块12-1到达二级块12-2的写寄存器,写配置通路总线穿过一 级块12-1和二级块12-2到达三级块12-3的写寄存器,甚至更多级的块中的写寄存器。在每级的N个块内的写寄存器内解析本块所需要的配置参数和数据。In an exemplary embodiment of the present disclosure, the host computer 2 transmits communication information to the chip 1 through the SPI protocol, and the SPI interface protocol conversion module 11 converts the SPI protocol to a bus protocol. The bus between the SPI interface protocol conversion module 11 and each block 12 can be used as a write configuration path bus. The SPI interface protocol conversion module 11 is interconnected with the write register in the primary block 12-1 in each group of blocks (such as Block0, Block1, Block2, ..., BlockN-1) through the write configuration path bus. The write configuration path bus passes through the primary block 12-1 to reach the write register of the secondary block 12-2. The write configuration path bus passes through a The first-level block 12-1 and the second-level block 12-2 reach the write register of the third-level block 12-3, or even the write registers of the blocks of more levels. The configuration parameters and data required by the block are parsed in the write registers of the N blocks of each level.
在本公开的示例性实施例中,所述由所述功能单元执行相应的操作,可以包括:In an exemplary embodiment of the present disclosure, the function unit performing the corresponding operation may include:
由所述功能单元根据所述写使能将所述写数据写入所述写地址内。The functional unit writes the write data into the write address according to the write enable.
在本公开的示例性实施例中,写寄存器将所在块所需要的配置参数和数据、写使能、写地址和写数据分发给相应的功能模块,如缓存控制单元Mc、计算单元Alu等,由缓存控制单元Mc、计算单元Alu根据该配置参数和数据、写使能、写地址和写数据完成数据写入操作。In an exemplary embodiment of the present disclosure, the write register distributes the configuration parameters and data, write enable, write address and write data required by the block to the corresponding functional modules, such as the cache control unit Mc, the computing unit Alu, etc., and the cache control unit Mc and the computing unit Alu complete the data write operation according to the configuration parameters and data, write enable, write address and write data.
在本公开的示例性实施例中,所述通信信息为读数据信息,所述读数据信息可以包括:读使能和读地址;所述寄存器为读寄存器;In an exemplary embodiment of the present disclosure, the communication information is read data information, and the read data information may include: read enable and read address; the register is a read register;
所述总线,可以设置为传输所述读数据信息。The bus may be configured to transmit the read data information.
在本公开的示例性实施例中,上位机2通过spi协议将通信信息传输到芯片1,spi接口协议转换模块11对spi协议进行转换,可以转换为总线协议,spi接口协议转换模块11与各个块12之间的总线可以作为读配置通路总线,spi接口协议转换模块11通过读配置通路总线与每组块(如Block0、Block1、Block2、……、BlockN-1)中的一级块12-1中的读寄存器互联,读配置通路总线穿过一级块12-1到达二级块12-2的读寄存器,读配置通路总线穿过一级块12-1和二级块12-2到达三级块12-3的读寄存器,甚至更多级的块中的读寄存器。在每级的N个块内的读寄存器内解析本块所需要的配置参数和数据。In an exemplary embodiment of the present disclosure, the host computer 2 transmits communication information to the chip 1 through the SPI protocol, and the SPI interface protocol conversion module 11 converts the SPI protocol to a bus protocol. The bus between the SPI interface protocol conversion module 11 and each block 12 can be used as a read configuration path bus. The SPI interface protocol conversion module 11 is interconnected with the read register in the first-level block 12-1 in each group of blocks (such as Block0, Block1, Block2, ..., BlockN-1) through the read configuration path bus. The read configuration path bus passes through the first-level block 12-1 to reach the read register of the second-level block 12-2. The read configuration path bus passes through the first-level block 12-1 and the second-level block 12-2 to reach the read register of the third-level block 12-3, and even the read registers in more levels of blocks. The configuration parameters and data required for this block are parsed in the read registers in the N blocks of each level.
在本公开的示例性实施例中,所述由所述功能单元执行相应的操作,可以包括:In an exemplary embodiment of the present disclosure, the function unit performing the corresponding operation may include:
由所述功能单元根据所述读使能从所述读地址内读取数据,获取读数据;The functional unit reads data from the read address according to the read enable to obtain read data;
将所述读数据返回给所述读寄存器;Returning the read data to the read register;
所述读寄存器,可以设置为通过总线将所述读数据传输至所述spi接口协议转换模块11。 The read register may be configured to transmit the read data to the SPI interface protocol conversion module 11 via a bus.
在本公开的示例性实施例中,读寄存器将所在块所需要的配置参数和数据、读使能、读地址分发给相应的功能模块,如缓存控制单元Mc、计算单元Alu等,由缓存控制单元Mc、计算单元Alu根据该配置参数和数据、读使能、读地址完成数据读取操作,并通过读寄存器将读取的数据(即读数据)通过读配置通路总线返回给spi接口协议转换模块11。In an exemplary embodiment of the present disclosure, the read register distributes the configuration parameters and data, read enable, and read address required by the block to the corresponding functional modules, such as the cache control unit Mc, the computing unit Alu, etc. The cache control unit Mc and the computing unit Alu complete the data reading operation according to the configuration parameters and data, read enable, and read address, and return the read data (i.e., read data) to the SPI interface protocol conversion module 11 through the read configuration path bus through the read register.
在本公开的示例性实施例中,所述spi接口协议转换模块11,还可以设置为将需要传输至所述上位机2的信息的传输协议由所述总线协议转化为所述spi接口协议,并将所述需要传输至所述上位机2的信息根据所述spi接口协议传输到所述上位机2。In an exemplary embodiment of the present disclosure, the SPI interface protocol conversion module 11 can also be configured to convert the transmission protocol of the information that needs to be transmitted to the host computer 2 from the bus protocol to the SPI interface protocol, and transmit the information that needs to be transmitted to the host computer 2 to the host computer 2 according to the SPI interface protocol.
在本公开的示例性实施例中,对于芯片1需要传输到上位机2的数据,可以将相应块的读数据和/或测试结果写入读配置通路总线,统一传输到spi接口协议转换模块11,经过将总线协议转换为spi接口协议以后,通过spi接口协议传输到上位机。In an exemplary embodiment of the present disclosure, for data that chip 1 needs to transmit to the host computer 2, the read data and/or test results of the corresponding block can be written into the read configuration path bus and uniformly transmitted to the SPI interface protocol conversion module 11. After the bus protocol is converted into the SPI interface protocol, it is transmitted to the host computer through the SPI interface protocol.
本公开实施例还提供了一种数据传输方法,基于所述的芯片;如图5所示,所述方法可以包括步骤S101-S102:The present disclosure also provides a data transmission method based on the chip; as shown in FIG5 , the method may include steps S101-S102:
S101、通过spi接口协议与上位机进行通信获取通信信息,将所述通信信息的传输协议转换为总线协议,基于所述总线协议将所述通信信息通过总线传输至所述芯片内相应的块;S101, communicating with a host computer through an SPI interface protocol to obtain communication information, converting a transmission protocol of the communication information into a bus protocol, and transmitting the communication information to a corresponding block in the chip through a bus based on the bus protocol;
S102、在所述块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作。S102: Parse the communication information and required configuration parameters in the block itself, and perform corresponding operations according to the parsing results.
在本公开的示例性实施例中,前述的芯片实施例中的任意实施例均适用于该方法实施例中,在此不再一一赘述。In the exemplary embodiments of the present disclosure, any of the aforementioned chip embodiments are applicable to the method embodiments, and will not be described one by one here.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能单元/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能单元/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬 件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。It will be understood by those skilled in the art that all or some of the steps, systems, and functional units/units in the above disclosed methods may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the divisions between the functional units/units mentioned in the above description do not necessarily correspond to the divisions of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or may be implemented as hardware. The software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. In addition, it is known to those of ordinary skill in the art that communication media generally contain computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.
应该注意,上述实施例或实施方式仅仅是示例性的,而不是限制性的。因此,本公开不限于在此具体示出和描述的内容。可以对实施的形式及细节进行多种修改、替换或省略,而不脱离本公开的范围。 It should be noted that the above embodiments or implementations are merely illustrative and not restrictive. Therefore, the present disclosure is not limited to what is specifically shown and described herein. Various modifications, substitutions or omissions may be made to the forms and details of implementation without departing from the scope of the present disclosure.

Claims (12)

  1. 一种芯片,包括串行外设接口spi接口协议转换模块和划分出的多个块;所述多个块中直接与所述spi接口协议转换模块相连的块作为一级块,未直接与所述spi接口协议转换模块相连的块作为多级块;所述spi接口协议转换模块通过总线与每个所述一级块相连,并且通过总线,经过所述多级块对应的一级块逐级与所述多级块相连;A chip comprises a serial peripheral interface (SPI) interface protocol conversion module and a plurality of divided blocks; the blocks directly connected to the SPI interface protocol conversion module among the plurality of blocks are used as primary blocks, and the blocks not directly connected to the SPI interface protocol conversion module are used as multi-level blocks; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and is connected to the multi-level blocks level by level through the bus via the primary blocks corresponding to the multi-level blocks;
    所述spi接口协议转换模块,设置为通过spi接口协议与上位机进行通信获取通信信息,将所述通信信息的传输协议转换为总线协议,基于所述总线协议将所述通信信息通过总线传输至相应的块;The SPI interface protocol conversion module is configured to communicate with the host computer through the SPI interface protocol to obtain communication information, convert the transmission protocol of the communication information into a bus protocol, and transmit the communication information to the corresponding block through the bus based on the bus protocol;
    所述块,设置为在接收到所述通信信息后,在本块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作。The block is configured to parse the communication information and the required configuration parameters within the block itself after receiving the communication information, and perform corresponding operations according to the parsing results.
  2. 根据权利要求1所述的芯片,其中,每个所述块内设置有寄存器;所述spi接口协议转换模块通过总线与每个所述一级块相连,并且通过总线,经过所述多级块对应的一级块逐级与所述多级块相连,包括:The chip according to claim 1, wherein each of the blocks is provided with a register; the SPI interface protocol conversion module is connected to each of the primary blocks through a bus, and is connected to the multi-level blocks step by step through the primary blocks corresponding to the multi-level blocks through the bus, comprising:
    所述spi接口协议转换模块通过总线与全部一级块中的寄存器相连,并通过所述总线逐级连接到所述一级块后续的多级块中的寄存器。The SPI interface protocol conversion module is connected to the registers in all the first-level blocks through a bus, and is connected to the registers in the multi-level blocks subsequent to the first-level block step by step through the bus.
  3. 根据权利要求2所述的芯片,其中,每个所述块包含一个或多个功能单元;所述在本块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作,包括:The chip according to claim 2, wherein each of the blocks comprises one or more functional units; and the parsing of the communication information and the required configuration parameters within the block itself and performing corresponding operations according to the parsing results comprises:
    在本块自身的寄存器内根据预先设置的配置参数和数据地址表格解析所述通信信息和所需的配置参数,并将解析结果分发至所述功能单元,由所述功能单元执行相应的操作。The communication information and the required configuration parameters are parsed in the register of the block itself according to the preset configuration parameters and data address table, and the parsing results are distributed to the functional units, which perform corresponding operations.
  4. 根据权利要求3所述的芯片,其中,所述通信信息包括写数据信息,所述写数据信息包括:写使能、写地址和写数据;所述寄存器为写寄存器;The chip according to claim 3, wherein the communication information includes write data information, and the write data information includes: write enable, write address and write data; the register is a write register;
    所述总线,设置为传输所述写数据信息。The bus is configured to transmit the write data information.
  5. 根据权利要求4所述的芯片,其中,所述由所述功能单元执行相应的操作,包括:The chip according to claim 4, wherein the corresponding operation performed by the functional unit comprises:
    由所述功能单元根据所述写使能将所述写数据写入所述写地址内。 The functional unit writes the write data into the write address according to the write enable.
  6. 根据权利要求3所述的芯片,其中,所述通信信息包括读数据信息,所述读数据信息包括:读使能和读地址;所述寄存器为读寄存器;The chip according to claim 3, wherein the communication information includes read data information, and the read data information includes: read enable and read address; the register is a read register;
    所述总线,设置为传输所述读数据信息。The bus is configured to transmit the read data information.
  7. 根据权利要求6所述的芯片,其中,所述由所述功能单元执行相应的操作,包括:The chip according to claim 6, wherein the corresponding operation performed by the functional unit comprises:
    由所述功能单元根据所述读使能从所述读地址内读取数据,获取读数据;The functional unit reads data from the read address according to the read enable to obtain read data;
    将所述读数据返回给所述读寄存器;Returning the read data to the read register;
    所述读寄存器,设置为通过总线将所述读数据传输至所述spi接口协议转换模块。The read register is configured to transmit the read data to the SPI interface protocol conversion module via a bus.
  8. 根据权利要求3所述的芯片,其中,所述功能单元包括以下任意一种或多种:缓存控制单元、计算单元和测试单元。The chip according to claim 3, wherein the functional unit includes any one or more of the following: a cache control unit, a computing unit, and a testing unit.
  9. 根据权利要求1所述的芯片,其中,所述spi接口协议转换模块,还设置为将需要传输至所述上位机的信息的传输协议由所述总线协议转化为所述spi接口协议,并将所述需要传输至所述上位机的信息根据所述spi接口协议传输到所述上位机。According to the chip according to claim 1, wherein the SPI interface protocol conversion module is also configured to convert the transmission protocol of the information to be transmitted to the host computer from the bus protocol to the SPI interface protocol, and transmit the information to be transmitted to the host computer to the host computer according to the SPI interface protocol.
  10. 根据权利要求1所述的芯片,其中:The chip according to claim 1, wherein:
    所述多级块的级数与连接到所述spi接口协议转换模块所需经过的块的数量正相关。The number of levels of the multi-level blocks is positively correlated with the number of blocks required to pass through to connect to the SPI interface protocol conversion module.
  11. 根据权利要求1所述的芯片,其中:The chip according to claim 1, wherein:
    所述spi接口协议转换模块设置于一个一级块中,或者单独设置。The SPI interface protocol conversion module is arranged in a primary block, or is arranged separately.
  12. 一种数据传输方法,基于权利要求1-11任意一项所述的芯片;所述方法包括:A data transmission method, based on the chip according to any one of claims 1 to 11; the method comprising:
    通过spi接口协议与上位机进行通信获取通信信息,将所述通信信息的传输协议转换为总线协议,基于所述总线协议将所述通信信息通过总线传输至所述芯片内相应的块;Communicate with the host computer through the SPI interface protocol to obtain communication information, convert the transmission protocol of the communication information into a bus protocol, and transmit the communication information to the corresponding block in the chip through the bus based on the bus protocol;
    在所述块自身内解析所述通信信息以及所需的配置参数,并根据解析结果执行相应的操作。 The communication information and the required configuration parameters are parsed within the block itself, and corresponding operations are performed according to the parsing results.
PCT/CN2023/108911 2022-10-09 2023-07-24 Chip and data transmission method therefor WO2024078089A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211223804.9 2022-10-09
CN202211223804.9A CN115292237B (en) 2022-10-09 2022-10-09 Chip and data transmission method thereof

Publications (1)

Publication Number Publication Date
WO2024078089A1 true WO2024078089A1 (en) 2024-04-18

Family

ID=83833571

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/108911 WO2024078089A1 (en) 2022-10-09 2023-07-24 Chip and data transmission method therefor

Country Status (2)

Country Link
CN (1) CN115292237B (en)
WO (1) WO2024078089A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115292237B (en) * 2022-10-09 2022-12-20 中科声龙科技发展(北京)有限公司 Chip and data transmission method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888331A (en) * 2014-02-24 2014-06-25 北京科东电力控制系统有限责任公司 General high speed bus device for distribution terminal and data interaction method
US20150242535A1 (en) * 2012-12-06 2015-08-27 Huawei Technologies Co., Ltd. Content Searching Chip and System Based on Peripheral Component Interconnect Bus
CN105786736A (en) * 2014-12-18 2016-07-20 深圳市中兴微电子技术有限公司 Method, chip and device for multi-chip cascading
CN110290187A (en) * 2019-06-12 2019-09-27 浙江大华技术股份有限公司 Transmission method and device, storage medium, the electronic device of data information
CN113032312A (en) * 2019-12-24 2021-06-25 中国电子科技集团公司第二十四研究所 Multi-chip circuit cascade communication system
CN115292237A (en) * 2022-10-09 2022-11-04 中科声龙科技发展(北京)有限公司 Chip and data transmission method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471786A (en) * 2007-12-27 2009-07-01 金展 Autonomous intelligent radio frequency control network
CN101370208B (en) * 2008-10-06 2012-05-09 南京邮电大学 Method for implementing ubiquitous intelligent human-machine interaction chip based on personal identification
TWI505811B (en) * 2009-03-09 2015-11-01 Council Scient Ind Res Ecg device with impulse and channel switching adc noise filter and error corrector for derived leads
CN111278227B (en) * 2020-03-27 2022-10-25 昆山航宇华电电子科技有限公司 Layout and wiring method for PCB Layout of SMT32 system mainboard

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150242535A1 (en) * 2012-12-06 2015-08-27 Huawei Technologies Co., Ltd. Content Searching Chip and System Based on Peripheral Component Interconnect Bus
CN103888331A (en) * 2014-02-24 2014-06-25 北京科东电力控制系统有限责任公司 General high speed bus device for distribution terminal and data interaction method
CN105786736A (en) * 2014-12-18 2016-07-20 深圳市中兴微电子技术有限公司 Method, chip and device for multi-chip cascading
CN110290187A (en) * 2019-06-12 2019-09-27 浙江大华技术股份有限公司 Transmission method and device, storage medium, the electronic device of data information
CN113032312A (en) * 2019-12-24 2021-06-25 中国电子科技集团公司第二十四研究所 Multi-chip circuit cascade communication system
CN115292237A (en) * 2022-10-09 2022-11-04 中科声龙科技发展(北京)有限公司 Chip and data transmission method thereof

Also Published As

Publication number Publication date
CN115292237A (en) 2022-11-04
CN115292237B (en) 2022-12-20

Similar Documents

Publication Publication Date Title
EP1914637A2 (en) Network on chip (noc) response signal control apparatus and noc response signal control method using the apparatus
RU2417412C2 (en) Standard analogue interface for multi-core processors
US9255968B2 (en) Integrated circuit with a high-speed debug access port
WO2024078089A1 (en) Chip and data transmission method therefor
US9448947B2 (en) Inter-chip memory interface structure
EP3223162B1 (en) Configurable on-chip interconnection system and method and apparatus for implementing same, and storage medium
WO2016095435A1 (en) Multi-chip cascading method, chip and device, and storage medium
KR20120038282A (en) Bus system having id converter and coverting method thereof
CN117148817A (en) Test system
US7995567B2 (en) Apparatus and method for network control
US9225665B2 (en) Network on a chip socket protocol
US9792230B2 (en) Data input circuit of semiconductor apparatus
EP4123468A1 (en) Network on a chip socket protocol
US20140086246A1 (en) Network on a chip socket protocol
US11169947B2 (en) Data transmission system capable of transmitting a great amount of data
CN210038775U (en) System on chip
CN111079922B (en) AXI-APB-based neural network interaction system, method, server and storage medium
EP3779706A1 (en) Method, apparatus, device and computer-readable storage medium for storage management
US20140047194A1 (en) Processor and control method thereof
US9805775B1 (en) Integrated circuits with improved memory controllers
CN117421164A (en) Data processing unit chip prototype verification method and device based on multi-board interconnection
CN117632820B (en) Request processing method, device, bus bridge, electronic equipment and readable storage medium
US20240220104A1 (en) Memory control system and memory control method
WO2022041232A1 (en) Chip test circuit and circuit test method
EP4258116A1 (en) Data transmission circuit and data transmission method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23876295

Country of ref document: EP

Kind code of ref document: A1