Channel shielding module, reset device, reset method and reset control system
By designing a channel shielding module in the SoC system, detecting and blocking the unfinished AXI commands of the Master subsystem, the problem of the inability to reset the Master subsystem separately in the prior art is solved, and the stability and reliability of the system are improved.
Patent Information
- Application Number
- CN202411462983.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-20
- Publication Date
- 2025-02-11
AI Technical Summary
Existing SoC systems cannot be reset separately when the Master subsystem is abnormal, and generally require an overall chip reset, which affects the stability and reliability of the system.
A channel shielding module is designed, including an enable unit, a first shielding unit and a second shielding unit for detecting and blocking unfinished AXI read and write commands of the Master subsystem, thereby allowing a separate reset of the Master subsystem.
A separate reset of the abnormal Master subsystem is realized, which avoids the impact on other Master subsystems and Slave subsystems, and improves the stability and reliability of the SoC system.
Smart Images

Figure CN119414939A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of SoC (System on Chip), and in particular to a channel shielding module, a reset device, a reset method, a reset control system, and a SoC system. Background Art
[0002] like Figure 1 As shown, it is a schematic diagram of the distribution of a SoC subsystem. Figure 1 Multiple Master subsystems (devices that initiate data transmission requests) and Slave subsystems (devices that respond to data transmission requests) interact through the AXI bus. When an exception occurs in a Master subsystem, if you want to restore this Master subsystem, the common recovery method is to reset the Master subsystem alone, which often affects the Slave subsystem. For example, if the current Master subsystem behavior has not yet ended, resetting the Master subsystem will cause an incomplete AXI operation flow (referring to a data transmission process on the AXI bus) to flow to the Slave subsystem, causing the Slave subsystem to be abnormal. Therefore, in order to safely reset the Master subsystem, the Slave subsystem must be reset at the same time, but this will affect other Master subsystems and they will not be able to receive the complete AXI command return from the Slave subsystem, so the chip can only be reset as a whole.
[0003] Therefore, the current reset solution cannot reset the abnormal Master subsystem separately, but can only reset the entire chip, which affects the stability and reliability of the SoC system. Summary of the invention
[0004] The purpose of this application is to propose a channel shielding module, a reset device, a reset method, a reset control system, and a SoC system to solve the technical problem that the current reset solution cannot reset the abnormal Master subsystem alone, but can only reset the entire chip.
[0005] To achieve the above object, according to a first aspect of the present application, a channel shielding module is provided, comprising: An enabling unit, used to respond to a module enabling signal and enable a shielding function; A first shielding unit is used for responding to the shielding function being turned on, detecting whether the Master subsystem has an unfinished AXI read command, and if so, shielding the AR channel and the R channel of the Master subsystem after the Master subsystem completes processing the AXI read command; if not, directly shielding the AR channel and the R channel of the Master subsystem; The second shielding unit is used to respond to the shielding function being turned on and detect whether the Master subsystem has any currently unfinished AXI write command. If so, after the Master subsystem completes processing the AXI write command, the AW channel, W channel and B channel of the Master subsystem are shielded; if not, the AW channel, W channel and B channel of the Master subsystem are directly shielded.
[0006] The channel shielding module described in the first aspect can be used to shield the AR channel, R channel, AW channel, W channel and B channel of the abnormal Master subsystem. When all relevant channels are shielded, the Master subsystem can be reset individually without affecting the normal operation of other Master subsystems or Slave subsystems. This design improves the stability and reliability of the SoC, and also makes the system more flexible and easy to maintain.
[0007] According to a second aspect of the present application, a resetting device is provided, the device comprising: An enabling control unit, configured to send a module enabling signal to a channel shielding module when an abnormality occurs in the Master subsystem, so that the channel shielding module shields the AR channel, the R channel, the AW channel, the W channel, and the B channel of the Master subsystem; The reset operation unit is used to reset the Master subsystem after the channel shielding module completes shielding the AR channel, R channel, AW channel, W channel and B channel of the Master subsystem.
[0008] The reset device described in the second aspect can interact with the channel shielding module described in the first aspect, and control the channel shielding module to shield the AR channel, R channel, AW channel, W channel and B channel of the abnormal Master subsystem. When all relevant channels are shielded, the above-mentioned reset device can reset the Master subsystem alone without affecting the normal operation of other Master subsystems or Slave subsystems. Such a design improves the stability and reliability of the SoC, and also makes the system more flexible and easy to maintain.
[0009] According to a third aspect of the present application, a reset method is provided, the method comprising: When an abnormality occurs in the Master subsystem, the module enable signal is sent to the channel shielding module, so that the channel shielding module shields the AR channel, R channel, AW channel, W channel and B channel of the Master subsystem; After the channel shielding module completes shielding of the AR channel, the R channel, the AW channel, the W channel and the B channel of the Master subsystem, a reset operation is performed on the Master subsystem.
[0010] Among them, the resetting method described in the third aspect corresponds to the resetting device described in the second aspect.
[0011] According to a fourth aspect of the present application, a reset control system is provided, comprising the channel shielding module according to the first aspect, and the reset device according to the second aspect.
[0012] According to a fifth aspect of the present application, a SoC system is provided, comprising at least one Master subsystem and at least one Slave subsystem communicatively connected via an AXI bus, and a reset control system according to the fourth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 It is a schematic diagram of a SoC system disclosed in the background technology.
[0015] Figure 2 This is a schematic diagram of a channel shielding module in Example 1 of the present application.
[0016] Figure 3 This is a schematic diagram of the first shielding unit in the first embodiment of the present application.
[0017] Figure 4 This is a schematic diagram of the second shielding unit in the first embodiment of the present application.
[0018] Figure 5 This is a schematic diagram of a reset device in Embodiment 2 of the present application.
[0019] Figure 6 This is a flow chart of a reset method in Embodiment 1 of the present application. DETAILED DESCRIPTION
[0020] The detailed description of the drawings is intended as an illustration of the current embodiment of the present application, and is not intended to represent the only form in which the present application can be implemented. It should be understood that the same or equivalent functions can be accomplished by different embodiments intended to be included in the spirit and scope of the present application.
[0021] See also Figure 2, Embodiment 1 of the present application provides a channel shielding module (Pseudo_axi_mst), including an enabling unit, a first shielding unit and a second shielding unit; when applied, each Master subsystem will be configured with a corresponding channel shielding module to implement channel shielding of the Master subsystem, and the request sent by the Master subsystem will be passed to the AXI bus or the downstream Slave subsystem through the channel shielding module, and the response returned by the AXI bus or the downstream Slave subsystem will also be passed to the Master subsystem through the channel shielding module. It can be understood that the channel shielding module is a data path switch.
[0022] The enabling unit is used to respond to the module enabling signal and enable the shielding function; Specifically, when an exception occurs in the Master subsystem, the exception will be reported to the reset device, and the reset device will send a module enable signal to the channel shielding module. The module enable signal can be a high level to pull up the entry signal mask_en of the channel shielding module.
[0023] The first shielding unit is used for responding to the shielding function being turned on, detecting whether the Master subsystem has an unfinished AXI read command, and if so, shielding the AR channel and the R channel of the Master subsystem after the Master subsystem completes processing the AXI read command; if not, directly shielding the AR channel and the R channel of the Master subsystem; Specifically, in the AMBA AXI (Advanced eXtensible Interface) bus protocol, AR channel and R channel are two groups of channels used for read operations, which respectively represent the address read channel and the data read return channel; in the AXI bus read transaction, the Master subsystem sends a read request through the AR channel, including the address, ID and other control information. After receiving the request, the Slave subsystem returns the requested data through the R channel. The interaction between these two channels ensures the integrity and correctness of the data read operation.
[0024] It should be noted that the first shielding unit is designed to ensure that when the Master subsystem is abnormal and needs to be reset, an incomplete AXI read operation is not caused to flow to the Slave subsystem, causing the Slave subsystem to be abnormal. When the enabling unit is enabled, the first shielding unit starts to work. It first detects whether the Master subsystem is processing any AXI read command, that is, whether there is an unfinished read command on the AR channel.
[0025] If unfinished read commands are detected, the first shielding unit will wait for the processing of these read commands to be completed. After all unfinished read commands are processed, the first shielding unit will shield the AR channel and the R channel of the Master subsystem.
[0026] If it is detected that there is no outstanding read command, the shielding unit will directly shield the AR channel and the R channel without waiting. This is because there is no ongoing read transaction, so new read requests and data transmission can be directly blocked.
[0027] Specifically, shielding the AR channel means that the Master subsystem can no longer send new read requests through the channel, and shielding the R channel means that the Slave subsystem can no longer send read data to the Master subsystem through the channel.
[0028] The second shielding unit is used for responding to the shielding function being turned on, detecting whether the Master subsystem has an unfinished AXI write command, and if so, shielding the AW channel, W channel and B channel of the Master subsystem after the Master subsystem completes processing the AXI write command; if not, directly shielding the AW channel, W channel and B channel of the Master subsystem; Specifically, in the AMBA AXI (Advanced eXtensible Interface) bus protocol, the AW channel, W channel, and B channel are three different channels used for write operations, which respectively represent the address write channel (Address Write Channel), the write data channel (Write Data Channel), and the write response channel (Write Response Channel). In an AXI bus write transaction, the Master subsystem sends a write request through the AW channel, including the address, ID, and other control information; then, the Master subsystem sends the actual data through the W channel. After receiving the data and address, the Slave subsystem processes the write operation and returns a write response through the B channel to confirm whether the data has been successfully written; the interaction of these three channels ensures the integrity and correctness of the data write operation; It should be noted that the second shielding unit is designed to ensure that when the Master subsystem is abnormal and needs to be reset, an incomplete AXI write operation flow is not caused to flow to the Slave subsystem, causing the Slave subsystem to be abnormal. When the enabling unit is enabled, the second shielding unit starts to work. It first detects whether the Master subsystem is processing any AXI write command, that is, whether there is an unfinished write command on the AW channel.
[0029] If unfinished write commands are detected, the second shielding unit will wait for the write commands to be processed. After all unfinished write commands are processed, the second shielding unit will shield the AW channel, W channel and B channel of the Master subsystem.
[0030] If it is detected that there is no outstanding write command, the shielding unit will directly shield the AW channel, W channel and B channel without waiting. This is because there is no ongoing write transaction, so the transmission of new write requests, write data and write responses can be directly blocked.
[0031] Specifically, shielding the AW channel means that the Master subsystem can no longer send new write requests through the channel, shielding the W channel means that the Master subsystem can no longer send write data through the channel, and shielding the B channel means that the Slave subsystem can no longer send write responses to the Master subsystem through the channel.
[0032] In this way, the channel shielding module of this embodiment ensures that all read transactions can be completed correctly before the Master subsystem is reset, thereby avoiding system errors that may be caused by interruption of data transmission during the reset process. Such a mechanism improves the reliability and stability of the SoC system, and also provides support for resetting the Master subsystem alone without having to reset the entire chip system.
[0033] According to the channel shielding module of the first embodiment, optionally, referring to Figure 3 The first masking unit (Pseudo_axi_mst AR) may further include: an AR command edge detection module, an AR channel mask module, an R channel mask module and an AR ostding recording module.
[0034] The AR command edge detection module is used to output an AR channel mask enable signal when it detects the command edge of the AR channel request of the Master subsystem; specifically, the current AR channel request issued by the Master subsystem is likely to have flowed to the subsequent module (downstream Slave subsystem) through the channel shielding module, and it is necessary to detect the edge of the AR command to determine the boundary of the new AR command. The channel shielding module implements the boundary detection of the new AR command. Only when the new AR command is detected can the AR channel request be truly shielded.
[0035] The AR channel mask module is used to respond to the AR channel mask enable signal and mask the AR channel; specifically, it accepts the AR channel request of the Master subsystem and the AR channel mask enable signal sent by the AR command edge detection module. When the enable signal is pulled up, the AR channel will be masked, so that the downstream Slave subsystem cannot perceive subsequent AR requests.
[0036] The R channel mask module is used to shield the R channel; specifically, directly pull up the shield of the R channel, unconditionally accept and discard the R channel data returned by the Slave subsystem.
[0037] The AR ostding recording module is used to record the outstanding number of the AR channels; the outstanding number of the AR channels is recorded for query by the reset device to determine whether the Master subsystem can be reset at this time.
[0038] According to the channel shielding module of the first embodiment, optionally, referring to Figure 4 , the second shielding unit (Pseudo_axi_mst AW) may further include: The AW / W command edge detection module is used to output a first control signal when it detects the command edge of the AW channel request of the Master subsystem; and to output a second control signal when it detects the command edge of the W channel request of the Master subsystem; specifically, the current AW channel request issued by the Master subsystem is likely to have flowed to the subsequent module (the downstream Slave subsystem) through the channel shielding module, so it is necessary to detect the edge of the AW command to determine the boundary of the new command, and the AW / W command edge detection module implements the boundary detection of the new AW command, and only when the new AW command is detected can the shielding of the AW channel request be truly pulled up. Similarly, the current W channel request issued by the Master subsystem is likely to have flowed to the subsequent module (the downstream Slave subsystem) through this module, so it is necessary to detect the edge of the W command to determine the boundary of the new W command, and the AW / W command edge detection module implements the boundary detection of the new W command, and only when the new command is detected can the shielding of the W channel request be truly pulled up.
[0039] The AW / W command speed detection module is used to respond to the first control signal to detect whether the outstanding number of the AW channel is greater than or equal to the outstanding number of the W channel, and if so, output the AW channel mask enable signal; it is also used to respond to the second control signal to detect whether the outstanding number of the W channel is greater than or equal to the outstanding number of the AW channel, and if so, output the W channel mask enable signal; specifically, when the masken signal is pulled up, the AW / W command speed detection module detects whether the outstanding number of the AW channel is greater than or equal to the outstanding number of the W channel at the AW command edge moment, and if so, determines to shield the AW channel and outputs the AW channel mask enable signal. When the masken signal is pulled up, the AW / W command speed detection module detects whether the outstanding number of the W channel is greater than or equal to the outstanding number of the AW channel at the W command edge moment, and if so, determines to shield the W channel and outputs the W channel mask enable signal.
[0040] The AW channel mask module is used to respond to the AW channel mask enable signal and shield the AW channel; specifically, it accepts the AW channel request of the Master subsystem and the AW channel mask enable signal sent by the AW and W command speed detection module. When the AW channel mask enable signal is pulled up, the AW channel will be shielded, so that the downstream Slave subsystem cannot perceive subsequent AW requests.
[0041] The W channel mask module is used to respond to the W channel mask enable signal and shield the W channel; specifically, it accepts the W channel request of the Master subsystem and accepts the W channel mask enable signal sent by the AW and W command speed detection modules. When the W channel mask enable signal is pulled up, the W channel will be shielded, so that the downstream Slave subsystem cannot perceive subsequent W requests.
[0042] The B channel mask module is used to shield the B channel; specifically, directly pull up the shield of the B channel, unconditionally accept and discard the B channel data returned by the downstream Slave subsystem.
[0043] The AW ostding recording module is used to record the outstanding number of the AW channel; specifically, the outstanding number of the AW channel is recorded for use by the AW / W command speed detection module and for query by the reset device to determine whether the master subsystem can be reset at this time.
[0044] The W ostding recording module is used to record the outstanding number of the W channel. Specifically, the outstanding number of the W channel is recorded for use by the AW / W command speed detection module and for query by the reset device to determine whether the master subsystem can be reset at this time.
[0045] It should be noted that, due to the need to consider the independence of the AW channel and the W channel, that is, it is possible that the AW channel has sent multiple data, but the W channel has not sent data, then the AW channel can be shielded first, and the W channel can only be shielded after the corresponding number of data is sent to the slave side, or the W channel has sent multiple data through the module, but the AW has not sent data, then the W channel can be shielded first, and the data that the AW channel needs to send can be shielded only when it is consistent with the W channel.
[0046] It should also be noted that when the R channel, B channel, AR channel, AW channel and W channel of the AXI bus corresponding to the Master subsystem are truly shielded, and the outstanding numbers of the AR channel, AW channel and W channel are all returned to 0, the reset device can initiate a reset of the Master subsystem.
[0047] Based on the above description, it can be seen that the channel shielding module of this embodiment has the following advantages: (1) Improve system reliability; It can effectively solve the impact of the bus Master subsystem on the Slave subsystem when it is abnormal or reset. Through shielding design, even if the Master subsystem is abnormal or reset, the Slave subsystem can still operate normally without being affected by interruption or data loss, thereby improving the reliability of the SoC system.
[0048] (2) Simplify system design; The modification and adjustment of the Slave subsystem can be reduced, and only the corresponding shielding design of the Master subsystem is required. This can simplify the design and debugging process of the entire SoC system and reduce development time and cost.
[0049] (3) Improve system performance; It can ensure the normal operation of the Slave subsystem without any impact when the Master subsystem is abnormal or reset, so the overall performance of the SoC system will not be affected. This is very important for application scenarios with high requirements for SoC system performance.
[0050] (4) Strong scalability; It can flexibly adapt to different bus Master subsystem and Slave subsystem combinations and has strong scalability. Whether in a system with a single Master subsystem and multiple Slave subsystems or in a system where multiple Master subsystems and Slave subsystems coexist, it can effectively ensure the normal operation of the Slave subsystem.
[0051] See also Figure 5 , Embodiment 2 of the present application provides a reset device, the device comprising an enabling control unit, the channel shielding module in Embodiment 1, and a reset operation unit; An enabling control unit, configured to send the module enabling signal to the channel shielding module described in the first embodiment when an abnormality occurs in the Master subsystem, so that the channel shielding module shields the AR channel, the R channel, the AW channel, the W channel, and the B channel of the Master subsystem; Specifically, when an abnormality is detected in the Master subsystem, the enabling control unit will send an enabling signal to the channel shielding module. The function of this signal is to activate the channel shielding module, so that it starts working and shields the AR channel, R channel, AW channel, W channel and B channel of the Master subsystem. After receiving the enabling signal, the channel shielding module will perform a series of operations to ensure that all unfinished AXI commands in the Master subsystem are properly processed. For read operations, it will wait for all unfinished read commands to be processed, and then shield the AR channel and R channel. For write operations, it will wait for all unfinished write commands to be processed, and then shield the AW channel, W channel and B channel. During normal operation, the request sent by the Master subsystem will be passed to the AXI bus or the downstream Slave subsystem through the channel shielding module. At the same time, the response returned by the AXI bus or the Slave subsystem will also be passed to the Master subsystem through the channel shielding module. The channel shielding module plays the role of a data path switch here, and can open or close the data channel when needed. Please refer to the content of the first embodiment for details, which will not be repeated here.
[0052] A reset operation unit, configured to perform a reset operation on the Master subsystem after the channel shielding module completes shielding of the AR channel, the R channel, the AW channel, the W channel, and the B channel of the Master subsystem; Specifically, once the channel shielding module completes shielding of all relevant channels of the Master subsystem, the reset operation unit can perform a reset operation on the Master subsystem. The reset operation will reset the Master subsystem to its initial state, thereby eliminating the abnormal state and resuming normal operation.
[0053] When applied, each Master subsystem will be configured with a corresponding channel shielding module, which can provide independent control for each Master subsystem, ensuring that when a single Master subsystem has an abnormality, it can be handled separately without affecting the normal operation of other Master subsystems or Slave subsystems. This design improves the stability and reliability of the SoC system, and also makes the SoC system maintenance and troubleshooting more flexible and efficient.
[0054] According to the reset device of embodiment 2, optionally, the device may further include a reset operation unit; The enabling control unit is further configured to send the module disabling signal to the channel shielding module when the Master subsystem needs to be reset, so that the channel shielding module cancels shielding of the AR channel, the R channel, the AW channel, the W channel, and the B channel of the Master subsystem; The de-resetting operation unit is used to perform a de-resetting operation on the Master subsystem after the shielding function is turned off.
[0055] Specifically, the reset device in the second embodiment can be further optimized to include a de-reset operation unit, so that when the Master subsystem needs to be de-reset, the state of the Master subsystem can be controlled more flexibly to ensure that it can be safely restored from the reset state to the normal working state.
[0056] Before performing the de-reset operation, it is necessary to ensure that all channels of the Master subsystem have been unshielded. When the Master subsystem needs to be de-reset, the enabling control unit will send a module disable signal to the channel shielding module. The function of this module disable signal is to turn off the function of the channel shielding module and cancel the shielding of the AR channel, R channel, AW channel, W channel and B channel of the Master subsystem. After the shielding is canceled, the Master subsystem can resume normal data communication with the AXI bus or the downstream Slave subsystem. After the channel shielding module cancels the shielding of all channels, the de-reset operation unit will perform a de-reset operation on the Master subsystem. The de-reset operation releases the Master subsystem from the reset state, restoring its normal operating mode and function. According to the reset device described in Example 2, optionally, the reset operation unit is further used to obtain the outstanding number of the AR channel, the AW channel and the W channel, and determine whether to perform a reset operation on the Master subsystem according to the outstanding number of the AR channel, the AW channel and the W channel.
[0057] Specifically, the reset device of the second embodiment can be further optimized to include the function of monitoring the outstanding number of the AR channel, AW channel and W channel of the Master subsystem. The outstanding number refers to the number of data transmission requests that have not been completed (issued but no response has been received). This function allows the reset device to initiate the reset operation only when it determines that the Master subsystem has no unfinished data transmission, thereby ensuring data integrity and system stability. Specifically, the reset operation unit can obtain the outstanding number of AR channels, AW channels and W channels by querying the AW ostding record module, the W ostding record module and the AR ostding record module. If the outstanding numbers of these channels are all 0, that is, there are no unfinished data transmission requests, then the reset device can safely initiate the reset of the Master subsystem. At this time, the Master subsystem being reset will not affect the ongoing data transmission because all transmissions have been completed. In this way, the reset device can manage the reset process of the Master subsystem more intelligently, ensuring that the reset is performed only after the data transmission is completely completed, and improving the overall stability and reliability of the SoC system.
[0058] See also Figure 6 , Embodiment 3 of the present application provides a reset method, the method comprising the following steps: Step S10, when an abnormality occurs in the Master subsystem, the module enable signal is sent to the channel shielding module, so that the channel shielding module shields the AR channel, R channel, AW channel, W channel and B channel of the Master subsystem; Step S20: After the channel shielding module completes shielding of the AR channel, the R channel, the AW channel, the W channel and the B channel of the Master subsystem, a reset operation is performed on the Master subsystem.
[0059] According to the reset method described in the third embodiment, optionally, the method may further include: Step S30, when the Master subsystem needs to be reset, the module disable signal is sent to the channel shielding module, so that the channel shielding module cancels shielding of the AR channel, R channel, AW channel, W channel and B channel of the Master subsystem; Step S40: after the shielding function is turned off, the Master subsystem is reset.
[0060] According to the reset method described in the third embodiment, optionally, step S20 may further include: The outstanding numbers of the AR channels, the AW channels, and the W channels are obtained, and whether to perform a reset operation on the Master subsystem is determined according to the outstanding numbers of the AR channels, the AW channels, and the W channels.
[0061] It should be noted that the method of this embodiment corresponds to the device of the above embodiment. Therefore, the specific principle content of the method of this embodiment can be obtained by referring to the content of the device of the above embodiment, so it will not be repeated here.
[0062] A fourth embodiment of the present application provides a reset control system, including the channel shielding module according to the first embodiment, and the reset device according to the second embodiment.
[0063] Embodiment 5 of the present application provides a SoC system, including at least one Master subsystem and at least one Slave subsystem communicatively connected via an AXI bus, and a reset control system according to embodiment 4.
[0064] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A channel shielding module, characterized in that: include: An enabling unit, used to respond to a module enabling signal and enable a shielding function; A first shielding unit is used for responding to the shielding function being turned on, detecting whether the Master subsystem has an unfinished AXI read command, and if so, shielding the AR channel and the R channel of the Master subsystem after the Master subsystem completes processing the AXI read command; if not, directly shielding the AR channel and the R channel of the Master subsystem; The second shielding unit is used to respond to the shielding function being turned on and detect whether the Master subsystem has any currently unfinished AXI write command. If so, after the Master subsystem completes processing the AXI write command, the AW channel, W channel and B channel of the Master subsystem are shielded; if not, the AW channel, W channel and B channel of the Master subsystem are directly shielded.
2. The channel shielding module according to claim 1, characterized in that: The first shielding unit further comprises: An AR command edge detection module, configured to output an AR channel mask enable signal when it detects a command edge of an AR channel request of the Master subsystem; An AR channel mask module, configured to respond to the AR channel mask enable signal and mask the AR channel; R channel mask module, used to mask the R channel; The AR ostding recording module is used to record the outstanding number of the AR channel.
3. The channel shielding module according to claim 1, characterized in that: The second shielding unit further comprises: an AW / W command edge detection module, configured to output a first control signal when it detects a command edge requested by the AW channel of the Master subsystem; and to output a second control signal when it detects a command edge requested by the W channel of the Master subsystem; an AW / W command speed detection module, configured to respond to the first control signal, detect whether the outstanding number of the AW channel is greater than or equal to the outstanding number of the W channel, and if so, output an AW channel mask enable signal; and also configured to respond to the second control signal, detect whether the outstanding number of the W channel is greater than or equal to the outstanding number of the AW channel, and if so, output a W channel mask enable signal; An AW channel mask module, configured to respond to the AW channel mask enable signal to mask the AW channel; A W channel mask module, used for responding to the W channel mask enable signal to mask the W channel; A B channel mask module, used to mask the B channel; An AW outstanding recording module, used to record the outstanding number of the AW channel; The W ostding recording module is used to record the outstanding number of the W channels.
4. A reset device, characterized in that: The device comprises: an enabling control unit, a resetting operation unit and a channel shielding module according to any one of claims 1 to 3, wherein An enabling control unit, configured to send a module enabling signal to a channel shielding module when an abnormality occurs in the Master subsystem, so that the channel shielding module shields the AR channel, the R channel, the AW channel, the W channel, and the B channel of the Master subsystem; The reset operation unit is used to reset the Master subsystem after the channel shielding module completes shielding the AR channel, R channel, AW channel, W channel and B channel of the Master subsystem.
5. The reset device according to claim 4, characterized in that: The device further comprises a reset operation unit; The enabling control unit is further configured to send the module disabling signal to the channel shielding module when the Master subsystem needs to be reset, so that the channel shielding module cancels shielding of the AR channel, the R channel, the AW channel, the W channel, and the B channel of the Master subsystem; The de-resetting operation unit is used to perform a de-resetting operation on the Master subsystem after the shielding function is turned off.
6. The resetting device according to claim 5, characterized in that: The reset operation unit is further used to obtain the outstanding numbers of the AR channels, the AW channels and the W channels, and determine whether to perform a reset operation on the Master subsystem according to the outstanding numbers of the AR channels, the AW channels and the W channels.
7. A resetting method, characterized in that: The method comprises: When an abnormality occurs in the Master subsystem, the module enable signal is sent to the channel shielding module, so that the channel shielding module shields the AR channel, R channel, AW channel, W channel and B channel of the Master subsystem; After the channel shielding module completes shielding of the AR channel, the R channel, the AW channel, the W channel and the B channel of the Master subsystem, a reset operation is performed on the Master subsystem.
8. The resetting method according to claim 7, characterized in that: The method further comprises: When the Master subsystem needs to be reset, the module disable signal is sent to the channel shielding module, so that the channel shielding module cancels shielding of the AR channel, the R channel, the AW channel, the W channel, and the B channel of the Master subsystem; After the shielding function is turned off, the Master subsystem is reset.
9. The resetting method according to claim 8, characterized in that: The method further comprises: The outstanding numbers of the AR channels, the AW channels, and the W channels are obtained, and whether to perform a reset operation on the Master subsystem is determined according to the outstanding numbers of the AR channels, the AW channels, and the W channels.
10. A reset control system, characterized in that: It comprises a channel shielding module according to any one of claims 1 to 3, and a resetting device according to any one of claims 4 to 6.
11. A SoC system, characterized in that: The system comprises at least one Master subsystem and at least one Slave subsystem which are communicatively connected via an AXI bus, and a reset control system according to claim 10.
Citation Information
Cited By
Asynchronous AXI bus abnormal reset detection and automatic repair system and method
CN122547600A