A ring-shaped on-chip bus system and integrated chip
By adopting a ring-shaped on-chip bus system in integrated circuit chips, the problem of wiring congestion in logic-intensive areas in highly integrated chips is solved, the separation of request and response signals is achieved, the number of logic gates is reduced, and the data transmission efficiency is improved.
Patent Information
- Application Number
- CN202410910137.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-09
AI Technical Summary
In existing integrated circuit chips, as the level of integration increases, the wiring congestion problem in densely packed logic areas caused by tree or star bus topologies is difficult to solve. Especially in highly integrated on-chip systems, signal traces are too long and difficult to divert requests. and reply signals.
A ring-shaped on-chip bus system is used to form a ring structure through multiple bus sub-nodes. Each sub-node is mounted with a system sub-module, and a request bus timing logic unit and a response bus timing logic unit are set up. The request and response signals are separated, and the bus sub-nodes can Cut out unnecessary logic units, remove central nodes, and use timing beat nodes to divide signal paths.
It reduces wiring congestion, reduces resource consumption, improves data transmission efficiency between sub-modules, reduces the number of logic gates, optimizes timing analysis, and avoids signal delays.
Smart Images

Figure CN118468795B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated circuits and electrical data processing, and in particular to a ring-shaped on-chip bus system and an integrated chip, which are applied to high energy efficiency and high integration integrated circuit chips to realize the function of mutual communication between various independent subsystems. Background Art
[0002] In an integrated circuit chip, there are usually various sub-modules with different independent functions, which are connected through an on-chip bus. As the integration of integrated circuit chips continues to increase, there are more and more subsystem modules with different functions in a single chip, and it is necessary to make some improvements to the existing on-chip bus connection topology to solve the wiring congestion problem between sub-modules in a chip with a smaller required area. The existing on-chip bus topology is usually a tree topology or a star topology, which requires a dedicated root node to manage the communication content of all other nodes, convert their formats, and manage address routing.
[0003] For example, in the prior art, such as the ring bus structure and flash chip proposed by Sandick Co., Ltd., the scheme uses a ring-shaped bus to interconnect the nodes of individual components and transfer data and commands between them. Its exemplary system is a memory with one or more reprogrammable non-volatile memory cell arrays, wherein the reprogrammable non-volatile memories are connected to each other and to the system controller through a ring bus. In this prior art, a single main controller is used, and the remaining nodes are all controlled modules, and the request signal and the reply signal cannot be split. Moreover, this prior art is only applicable to flash memory systems to solve the problem of long signal routing, but in highly integrated on-chip systems, it cannot solve the bus layout congestion problem in the logic-intensive area. Summary of the invention
[0004] In view of this, in order to solve at least some of the problems existing in the above-mentioned prior art and to adapt to the existing high-integration chips, especially the logic-intensive area wiring requirements of the on-chip system, the present invention provides a ring-shaped on-chip bus system and an integrated chip. Specifically, the present invention provides the following technical solutions:
[0005] In one aspect, the present invention provides a ring-shaped on-chip bus system, the bus system comprising a plurality of system submodules and a plurality of bus subnodes;
[0006] Each of the bus sub-nodes carries one beat of data information;
[0007] The bus sub-nodes are interconnected to form a ring structure for data exchange; a single bus sub-node is connected to an upstream bus sub-node and a downstream bus sub-node;
[0008] The bus sub-node mounts one or more of the system sub-modules; the bus sub-node is provided with a request bus timing logic unit and a response bus timing logic unit;
[0009] The request bus timing logic unit receives and / or sends request information;
[0010] The response bus timing logic unit receives and / or sends response information.
[0011] Preferably, the request signal includes a bus enable signal, a target address, an operation type and a data content signal.
[0012] Preferably, when a system sub-module sends a request signal at its request interface, the request signal is input into the request bus timing logic unit of the bus sub-node connected to it, and the request bus timing logic unit determines whether the address of the target system sub-module is mounted under the current bus sub-node based on the request signal. If so, the request signal is sent to the target system sub-module; otherwise, the request signal is sent to the downstream bus sub-node.
[0013] Preferably, after receiving and processing the request signal, the target system submodule replies with a response signal at the target system submodule response interface;
[0014] The response signal is sent to a response bus timing logic unit in a bus sub-node connected to the target system sub-module.
[0015] Preferably, the response bus timing logic unit of the bus sub-node that receives the response signal determines, based on the response signal, whether the source address of the target request signal is a system sub-module mounted under the current bus sub-node; if so, the response signal is sent to the system sub-module corresponding to the source address; otherwise, the response signal is sent to the response bus timing logic unit of the downstream bus sub-node.
[0016] Preferably, the system submodule cuts the interface connected to the bus subnode based on specific needs to reduce the number of unnecessary logic gates.
[0017] Preferably, the bus sub-node can remove the request bus timing logic unit or the response bus timing logic unit to shield the corresponding input and close the corresponding output.
[0018] Preferably, when a bus sub-node removes the request bus timing logic unit and the response bus timing logic unit, it becomes a timing beat node.
[0019] Preferably, the timing beat node is used to split an excessively long signal routing path to adjust the signal timing.
[0020] Preferably, each interface of the system submodule has a corresponding bus enable signal, data content signal and handshake signal;
[0021] In each beat cycle, the bus sub-node determines the flow direction of the data content signal of the current node, and determines whether the data content signal of the current node is within the address range of the system sub-module mounted on the current node;
[0022] Between the upstream and downstream bus sub-nodes, and between the bus sub-nodes and the system sub-modules mounted thereon, handshake signals are used to determine whether data transmission is completed.
[0023] Preferably, the routing layout of the bus passes through the boundary positions of each system sub-module.
[0024] On the other hand, the present invention also provides an integrated chip, which includes multiple system sub-modules with different independent functions, and a ring bus system connected to the system sub-modules, and the ring bus system adopts the ring on-chip bus system as described above.
[0025] In another aspect, the present invention further provides an electronic device, which comprises a body and the integrated chip as described above arranged in the body.
[0026] Compared with the prior art, this solution connects each subsystem module through two ring buses with opposite flow directions, which has at least the following beneficial effects:
[0027] 1. The necessary central node (or root node) in the tree topology is removed, so that the buses between different sub-modules will not be seriously converged, reducing the degree of wiring congestion.
[0028] 2. The request bus is separated from the response bus, and each sub-module of the system has an optional interface to reduce resource consumption.
[0029] 3. The data flow directions of the request bus and the response bus are opposite, which reduces the transmission delay between sub-modules with similar bus connection relationships.
[0030] 4. On the bus path, you can easily add beat nodes to optimize the longer paths in timing analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1A schematic diagram of a ring bus topology structure according to an embodiment of the present invention;
[0033] Figure 2 A schematic diagram of the structure of a bus subnode including two bus interfaces according to an embodiment of the present invention;
[0034] Figure 3 A schematic diagram of the module area after the ring bus topology structure is integrated according to an embodiment of the present invention;
[0035] Figure 4 Schematic diagram for area layout using tree topology. DETAILED DESCRIPTION
[0036] The embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. It should be clear that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] Those skilled in the art should know that the following specific embodiments or specific implementations are a series of optimized settings listed by the present invention to further explain the specific content of the invention, and these settings can be combined or used in association with each other, unless the present invention clearly states that some or a specific embodiment or implementation cannot be associated or used together with other embodiments or implementations. At the same time, the following specific embodiments or implementations are only used as the most optimized settings, and are not to be understood as limiting the scope of protection of the present invention.
[0038] In the field of integrated circuits, the existing tree-like bus topology requires a central node in addition to the connection nodes on each subsystem. This central node is responsible for data exchange and address routing. Since all nodes on the entire bus topology need to be connected to the central node, a large number of dense signal routing will be generated at the central node.
[0039] The ring topology proposed in this solution eliminates the central node, and each sub-node performs routing and forwarding in a distributed manner, which disperses the routing logic and signal routing, and can avoid dense routing congestion. At the same time, the request is separated from the corresponding bus, and each subsystem connected to the bus can choose whether to connect the request interface and the corresponding interface. By arranging the positions of the sub-modules in the network, the modules with more data interactions can be arranged in close positions to reduce the access bus delay.
[0040] Figure 1This is an example structure diagram of the ring bus topology structure proposed by the present invention. After removing the bus central node, each bus sub-node performs distributed routing management. Each bus sub-node can carry one beat of data information.
[0041] The system submodule that needs to initiate a request sends a request signal at the request interface, including enable, target address, operation type and / or data load (i.e., data content). The request signal will be transmitted to the bus subnode connected to it. In this solution, multiple bus subnodes connected to each system submodule are set up, and the bus subnodes can be set as upstream and downstream relationships, and data can be exchanged with each other; one or more system submodules are mounted under the bus subnode, and data exchange is carried out through the request port and / or response interface set in the system submodule.
[0042] The bus subnode will determine whether the target submodule address of the request signal is the system submodule mounted under the current subnode. If it is a system submodule mounted under this node, the request data will be sent to the response interface mounted under this node, thereby completing the sending of the request signal; if the system submodule corresponding to the target address is not mounted under this bus subnode, the request will be passed to the connected downstream bus subnode until the corresponding system submodule is found. If the initiated request is not within the address range of any bus subnode, then this request is wrong, which will cause the data transmitted this time to be transmitted in the bus all the time, thereby blocking other data transmissions. This type of special error should be avoided during application design. The designer should ensure that no wrong requests are issued, and verify and test to ensure that there are no errors. This problem is generally avoided at the beginning of the design. This is a conventional design requirement in this field and will not be repeated.
[0043] After the bus sub-node transmits the request signal to the response interface of the target system sub-module and processes it, the system sub-module replies with a response signal on the response interface after processing. The response signal is transmitted to the bus sub-node and then transmitted downstream.
[0044] The bus subnode will determine whether the source address of the target request signal of the response message (i.e., the response signal) is the system submodule mounted under the current subnode. If it is the system submodule mounted under the node, the response signal will be sent to the request interface of the system submodule mounted under the node to complete the response of the request operation. If the target request source is not under the node, the request will be passed to the connected downstream bus subnode until the corresponding system submodule is found. The response message is not actively sent and will correspond to a request message source. In the theoretical design, all response messages should be able to find the system submodule mounted where the request is initiated. If the response message cannot find the system submodule where the request is from, it means that there is an error in the overall system design, and the design error should be redesigned and corrected.
[0045] In this solution, since the request bus is separated from the response bus, the system submodules connected to the bus can choose any connection method, cut out unnecessary interfaces, and reduce the number of logic gates. For example, if the on-chip storage module does not need to actively initiate a request operation, the request interface can be cut out and only the response interface can be connected, which greatly reduces the number of logic gates.
[0046] For example, Figure 2 It is a detailed structural diagram of a bus subnode containing two bus interfaces, wherein the light-colored wide arrow is the enable / data content signal of the request bus, the dark-colored wide arrow is the enable / data content signal of the response bus, and the black line segment arrow is the back pressure and handshake signal between the logics of each module. The back pressure and handshake signals are mainly used for handshake and data transmission between the data sender and the data receiver. In this embodiment, the following method can be adopted: the data sending party uses the valid signal, and the data receiving party uses the ready signal. When the data sending party declares valid to be valid, it means that the data will be sent, and when the data receiving party declares ready to be valid, it means that the data can be accepted. If and only if valid and ready are both 1 (i.e., valid at the same time) in the clock cycle, the handshake is considered to be successful and the data is transmitted. The data sender can be a system submodule or a bus subnode, and the data receiver can be a system submodule or a bus subnode.
[0047] like Figure 2 , the request bus timing logic unit or the response bus timing logic unit of each bus sub-node will be connected to at most two inputs and two outputs respectively. The interface logic of each bus sub-node is easy to cut.
[0048] For the request bus sequential logic unit, it has two bus inputs: the input of the upstream bus subnode data and the input of the request interface connected to this node; two bus outputs: the output sent to the downstream bus subnode or the output of the response interface connected to this node. For the response bus sequential logic unit, it has two bus inputs: the input from the upstream response bus subnode and the input of the response interface connected to this bus subnode; it has two bus outputs: the output sent to the downstream bus subnode and the output of the request interface connected to this node (that is, the output to the waiting reply interface in the request interface).
[0049] When a bus subnode does not need to use the request interface or the response interface, the corresponding request bus timing logic or response bus timing logic can be directly removed. After removing the corresponding interface connection, the corresponding input is shielded and the output is turned off. When a bus subnode removes both the request interface and the response interface, this bus subnode will be simplified to a timing beat node on the bus, that is, Figure 1Optional timing beat nodes in the bus. The timing beat nodes can be appropriately increased according to the length of the signal routing. After the timing beat nodes are introduced, the overly long signal routing paths can be segmented so that the timing beat of each node can meet the design beat requirements and make the overall timing easier to converge. The design of this solution can easily add beats to the bus, making it easier to design the signal beat.
[0050] Each interface on the system sub-module has a corresponding bus enable valid / data content signal and a corresponding handshake signal. In each beat cycle, the routing logic of the bus sub-node determines whether the data content of this packet is within the address window of this node (that is, determines whether it is a system sub-module mounted under this bus sub-node). If it is within the address window of this node, it initiates an enable to the corresponding interface. If the data packet does not match the address window, an enable is initiated to the downstream sub-node. After the enable is initiated, the handshake signal is used to determine whether the transmission is completed. Here, the handshake signal judgment method can be judged by the back pressure and handshake signal method provided above, which will not be repeated here.
[0051] like Figure 3 As shown in the figure, this figure is a schematic diagram of the module area after synthesis using the ring bus topology described in this solution. Each BLOCK represents a subsystem module, and the shaded circle represents the sub-node occupancy of the ring bus. The connection of the bus is simplified to a connecting line with arrows at both ends.
[0052] Figure 3 In the chip shown, the submodules A, B, D, F, and G of the system are all connected to the bus. Since there is no need for a root node, the bus interface-related logic can be evenly distributed to a position close to each module, and the signal routing layout can simply pass through the boundary between each subsystem BLOCK. This avoids the convergence of a large number of logic and signal lines at the central node. At the same time, in this example, if there is a lot of data interaction between subsystem A and subsystem D, and subsystem B and subsystem F, then connecting the above-mentioned system submodules adjacent to each other in the bus can reduce response delays and significantly improve bus efficiency.
[0053] like Figure 4 As shown in , if the commonly used tree topology is used, a root node responsible for routing and data forwarding is required. This node connects all child nodes, such as Figure 4 As shown, the switching logic and wiring are relatively concentrated. At this time, they need to be arranged in an area relatively close to the center of each subsystem on the bus, which will occupy the layout space of BLOCK E and BLOCK H. At the same time, the wiring cannot simply pass through the boundary area between the layouts of each sub-module BLOCK. It may need to pass through the middle BLOCK, which will also have a certain impact on the layout.
[0054] In another embodiment, the present invention further provides an integrated chip, which internally adopts the ring bus structure disclosed in the above embodiment. The integrated chip includes multiple system submodules with independent functions, and each submodule is connected to each bus subnode in the bus.
[0055] Each system sub-module inside the chip can trim the request interface or response interface on the system sub-module based on actual needs, or remove (or trim) the response bus timing logic unit or the request bus timing logic unit on each bus sub-node, thereby reducing the number of unnecessary logic gates and fully reducing the chip layout area.
[0056] In addition, the ring bus structure used by the chip is preferably laid out at the boundary of each system submodule during wiring.
[0057] In another implementation mode, the present solution can be implemented by a device, which may include one or more modules in the system modules in the above embodiments. The module may be one or more hardware modules specially configured to perform the corresponding steps, or implemented by a processor configured to perform the corresponding steps, or stored in a computer-readable medium for implementation by a processor, or implemented by some combination.
[0058] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A ring-shaped on-chip bus system, characterized in that: The bus system includes a plurality of system submodules and a plurality of bus subnodes; Each of the bus sub-nodes carries one beat of data information; The bus sub-nodes are interconnected to form a ring structure for data exchange; A single bus subnode is connected to an upstream bus subnode and a downstream bus subnode; The bus sub-node mounts one or more of the system sub-modules; the bus sub-node is provided with a request bus timing logic unit and a response bus timing logic unit; The request bus timing logic unit receives and / or sends request information; The response bus timing logic unit receives and / or sends response information; The request bus timing logic unit has two bus inputs: the input of the upstream bus subnode data and the input of the request interface connected to this node; two bus outputs: the output sent to the downstream bus subnode or the output of the response interface connected to this node; The response bus sequential logic unit has two bus inputs: an input from an upstream response bus sub-node and an input from a response interface connected to the bus sub-node; It has two bus outputs: the output sent to the downstream bus child node and the output of the request interface connected to this node; The bus sub-node can remove the request bus timing logic unit or the response bus timing logic unit to shield the corresponding input and close the corresponding output; when a bus sub-node removes the request bus timing logic unit and the response bus timing logic unit, it becomes a timing beat node; Each interface of the system submodule has a corresponding bus enable signal, data content signal and handshake signal; In each beat cycle, the bus sub-node determines the flow direction of the data content signal of this beat on the current node, and determines whether the data content signal of this beat is within the address range of the system sub-module mounted on the current node; Between the upstream and downstream bus sub-nodes, and between the bus sub-nodes and the system sub-modules mounted thereon, handshake signals are used to determine whether data transmission is completed.
2. The bus system according to claim 1, characterized in that: When a system sub-module sends a request signal at its request interface, the request signal is input into the request bus timing logic unit of the bus sub-node connected to it. The request bus timing logic unit determines whether the address of the target system sub-module is mounted under the current bus sub-node based on the request signal. If so, the request signal is sent to the target system sub-module; otherwise, the request signal is sent to the downstream bus sub-node.
3. The bus system according to claim 2, characterized in that: After the target system submodule receives and processes the request signal, it replies with a response signal at the target system submodule response interface; The response signal is sent to a response bus timing logic unit in a bus sub-node connected to the target system sub-module.
4. The bus system according to claim 1 or 3, characterized in that: The response bus timing logic unit of the bus sub-node that receives the response signal determines whether the source address of the target request signal is the system sub-module mounted under the current bus sub-node based on the response signal; If yes, the response signal is sent to the system submodule corresponding to the source address; otherwise, the response signal is sent to the response bus timing logic unit of the downstream bus subnode.
5. The bus system according to claim 1, characterized in that: The system submodule tailors the interface connected to the bus subnode based on specific needs.
6. The bus system according to claim 1, characterized in that: The routing layout of the bus passes through the boundary positions of each system sub-module.
7. An integrated chip, characterized in that: The integrated chip comprises a plurality of system submodules with different independent functions, and a ring bus system connected to the system submodules, wherein the ring bus system adopts the ring on-chip bus system according to any one of claims 1-6.
Citation Information
Patent Citations
Ring bus structure, method for preventing deadlock, AI chip and electronic equipment
CN116627873A
