Logic device for monitoring power supply signal and method thereof

By designing logic devices in the server system, using the power timing module and control module to output and group complex power signals, the problem of CPLD input/output pin masking is solved, and the direct acquisition of complex monitoring signals and timing chart inspection is realized. Simplifies the debugging process of hardware engineers.

CN118939499APending Publication Date: 2024-11-12HUANDA COMPUTER (SHANGHAI) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310531479.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-11
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In a server system, the input/output pins of complex programmable logic devices (CPLDs) are located on the backboard of the motherboard or are blocked by other devices, which makes it impossible for hardware engineers to directly measure power signals, and some servers are complex and cannot be disassembled, making it difficult to check Whether the power timing complies with the specifications of the Intel or AMD platform design guidelines.

Method used

Design a logic device, including a power supply timing module, a control module and a monitoring module, outputs a complex power trigger signal through the power supply timing module, and groups the complex power supply signals and trigger signals into complex monitoring signals, transmitting them to the monitoring device, through configuration and errors The control unit sets the transmission rate and packets to realize direct acquisition and transmission of complex monitoring signals.

Benefits of technology

The timing chart of complex monitoring signals can be obtained without directly measuring the input/output pins of the logic device, checking whether the power supply timing is correct, and simplifying the debugging work of hardware engineers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939499A_ABST
    Figure CN118939499A_ABST
Patent Text Reader

Abstract

The invention discloses logic equipment for monitoring a power signal and a method thereof. The logic device is suitable for being arranged on a mainboard comprising a power supply module and at least one circuit. The power module is used for generating a plurality of power signals. The logic device includes a power timing module and a control module. The power supply time sequence module is used for sequentially outputting a plurality of power supply trigger signals according to the change edge of each power supply signal and transmitting the plurality of power supply trigger signals to at least one circuit. The control module comprises a transmission interface, a group control unit, a configuration control unit and an error control unit. The group control unit is used for sequentially grouping a plurality of monitoring serial numbers including a plurality of power supply signals and power supply trigger signals into a plurality of groups, and sequentially transmitting values of the plurality of monitoring signals of each group to the transmission interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a power signal, and in particular to a logic device for monitoring the power signal and a method thereof. Background Art

[0002] Generally speaking, the complex programmable logic device (CPLD) on the motherboard of the server system is used to control the power timing of other devices (including chips, circuits or modules) on the motherboard. Therefore, when hardware engineers debug the server system, they need to measure the signal of the input / output pin (I / O pin) of the CPLD to check whether the timing of the power signal of each device on the motherboard of the server system complies with the Platform Design Guide (PDG) specifications of Intel or AMD.

[0003] However, some CPLD input / output pins are located on the backplane of the motherboard or are shielded by other devices on the motherboard and cannot be directly measured, making it difficult for hardware engineers to debug the server system. In addition, some server systems have complex structures and cannot be disassembled at will, making it impossible for engineers to disassemble the server system and directly measure the signals of the CPLD input / output pins on the motherboard. Summary of the invention

[0004] In order to solve the above problem, the present invention provides a logic device. The logic device is suitable for being arranged on a mainboard, the mainboard includes a power module and at least one circuit, and the power module is used to generate a plurality of power signals. The logic device includes: a power timing module, which is used to output multiple power trigger signals in sequence according to the change edge of each power signal, and transmit the multiple power trigger signals to at least one circuit; and a control module, which includes: a transmission interface, which is electrically connected to a monitoring device; a group control unit, which is electrically connected to the power timing module and the transmission interface, which is used to group multiple monitoring signals including multiple power signals and multiple trigger signals into multiple groups in sequence, and transmit the values ​​of the multiple monitoring signals of each group in sequence to the transmission interface; a configuration control unit, which is electrically connected to the group control unit and the transmission interface, which is used to set a transmission rate of the transmission interface; and an error control unit, which is electrically connected to the power timing module and the group control unit, which is used to detect whether errors occur in the multiple monitoring signals of each group; wherein the transmission interface is used to transmit the values ​​of the multiple monitoring signals of each group to the monitoring device in sequence according to the transmission rate.

[0005] In some embodiments, the error control unit is further configured to control the group control unit to transmit the values ​​of the plurality of monitoring signals of the group corresponding to the monitoring signal having an error to the transmission interface.

[0006] In some embodiments, the transmission interface is further used to transmit the values ​​of the plurality of monitoring signals of the group corresponding to the monitoring signal having errors to the monitoring device according to the transmission rate.

[0007] In some embodiments, the configuration control unit is further used to set a channel number of the group control unit, so that the group control unit groups the plurality of monitoring signals into a plurality of groups according to the channel number and the number of the plurality of monitoring signals.

[0008] In some embodiments, when the number of channels is 4, the transmission rate is not less than 115200 (bps).

[0009] The present invention further proposes a method for monitoring multiple power signals generated by a power module of a mainboard, comprising: setting a transmission rate of a transmission interface; outputting multiple power trigger signals in sequence according to the change edge of each power signal, and transmitting the multiple power trigger signals to at least one circuit of the mainboard; grouping multiple monitoring signals including multiple power signals and multiple power trigger signals into multiple groups in sequence; transmitting the values ​​of the multiple monitoring signals of each group to the transmission interface in sequence; and transmitting the values ​​of the multiple monitoring signals of each group to a monitoring device according to the transmission rate.

[0010] In summary, according to some embodiments, the logic device can directly obtain the values ​​of the plurality of monitoring signals through the control module, and transmit the values ​​of the plurality of monitoring signals to the monitoring device through the transmission interface. After obtaining the values ​​of the plurality of monitoring signals, the timing diagram of the plurality of monitoring signals can be further obtained through the monitoring device. Therefore, without directly measuring the signals of the input / output pins of the logic device, the timing diagram of the plurality of monitoring signals can still be obtained to check whether the timing of the plurality of monitoring signals is correct. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the accompanying drawings, in which: Figure 1 is a block diagram of a logic device according to some embodiments; Figure 2 is a schematic diagram of a plurality of power trigger signals according to some embodiments; Figure 3 yes Figure 1 A schematic diagram of a logic device electrically connected to a monitoring device in one embodiment; Figure 4 is a schematic diagram of a plurality of monitoring signals according to some embodiments; Figure 5 is an operation flow chart of a logic device according to a first embodiment; Figure 6 is a flow chart of the operation of a monitoring device according to some embodiments; Figure 7 is a timing diagram of a plurality of monitoring signals according to a first embodiment; Figure 8 is an operation flow chart of a logic device according to a second embodiment; and Fig. 9 is a timing diagram of a plurality of monitoring signals according to a second embodiment. DETAILED DESCRIPTION

[0012] Before the present invention is described in detail, it should be noted that similar elements are denoted by the same reference numerals in the following description.

[0013] Please refer to Figure 1 , Figure 1 1 is a block diagram of a logic device 100 according to some embodiments. The logic device 100 is suitable for being arranged on a motherboard 10, and the motherboard 10 includes a power module 21 and at least one circuit 22. The power module 21 is used to generate a plurality of power signals Sp1-SpN (N is a positive integer). It should be noted that in some embodiments, the circuit 22 includes one circuit or a plurality of circuits, but is not limited thereto.

[0014] The logic device 100 includes a power sequence module 110 and a control module 120, and the control module 120 includes a transmission interface 121, a group control unit 122, a configuration control unit 123, and an error control unit 124. The group control unit 122 is electrically connected to the power sequence module 110 and the transmission interface 121, the configuration control unit 123 is electrically connected to the group control unit 122 and the transmission interface 121, and the error control unit 124 is electrically connected to the power sequence module 110 and the group control unit 122. In some embodiments, the logic device 100 is, for example, a central processing unit (CPU), a system on a chip (SoC), a microprocessor (MCU), a field programmable gate array (FPGA), or a complex programmable logic device (CPLD), but is not limited thereto.

[0015] Please refer to Figure 2 , Figure 21 is a schematic diagram of a plurality of power trigger signals Sp11-Sp41 according to some embodiments. The power timing module 110 is used to output a plurality of power trigger signals Sp11-SpN1 according to the plurality of power signals Sp1-SpN, and transmit the plurality of power trigger signals Sp11-SpN1 to at least one circuit 22 of the motherboard 10. According to the specification of the Platform Design Guide (PDG) of Intel or AMD, the motherboard 10 needs to provide the power required for the operation of each level of power-related devices (corresponding to at least one circuit 22) on the motherboard 10 according to a power timing. Therefore, the motherboard 10 outputs a plurality of power trigger signals Sp11-SpN1 in sequence according to the change of the edge of the power signals Sp1-SpN and the specification of the power timing through the power timing module 110 of the logic device 100, so as to trigger the next level of power-related devices to be initialized. Taking the plurality of power trigger signals Sp11 - Sp41 as an example, the power trigger signal Sp11 is the earliest corresponding power trigger signal generated and output among the plurality of power signals Sp1 - Sp4 , and the power trigger signal Sp41 is the latest corresponding power trigger signal generated and output.

[0016] Please refer to Figure 3 , Figure 3 yes Figure 1 A schematic diagram of a logic device 100 electrically connected to a monitoring device 30 in one embodiment. In some embodiments, the logic device 100 is electrically connected to a transmission interface adapter 31 through a transmission interface 121, and the transmission interface adapter 31 is electrically connected to the monitoring device 30. The transmission interface 121 is, for example, a universal asynchronous receiver-transmitter (UART) interface, but is not limited thereto. The UART interface includes a transmitting end TX, a receiving end RX, and a grounding end GND. The transmitting end TX is used to send signals, the receiving end RX is used to receive signals, and the grounding end GND is used for grounding. In other words, the transmitting end TX of the transmission interface 121 is used to send data to the monitoring device 30, and the receiving end RX of the transmission interface 121 is used to receive instructions sent by the monitoring device 30.

[0017] In some embodiments, the transmission interface adapter 31 is a device that converts a universal asynchronous receiver / transmitter (UART) to a universal serial bus (USB) interface. The transmission interface adapter 31 may be an independent adapter card or an adapter module disposed in the monitoring device 30, but is not limited thereto. In some embodiments, the monitoring device 30 is, for example, a desktop computer, a laptop computer, a tablet computer, or a smart phone, but is not limited thereto. The detailed operation process of the monitoring device 30 will be described later.

[0018] The following will take N=5 as an example to illustrate the functions of each device in the logic device 100. Figure 4 , Figure 4 Schematic diagram of a plurality of monitoring signals Sps1-SpsM according to some embodiments. In the present embodiment, the plurality of monitoring signals Sps1-SpsM include a plurality of power signals Sp1-SpN and a plurality of power trigger signals Sp11-SpN1. In some embodiments, the plurality of power signals Sp1-SpN and the plurality of power trigger signals Sp11-SpN1 are sorted according to the default occurrence order corresponding to their change edges, and are sequentially used as the plurality of monitoring signals Sps1-SpsM. In some embodiments, M can be a positive integer greater than 1 such as 10, 16 or 40, but is not limited thereto (the present embodiment takes M=10 as an example).

[0019] The group control unit 122 is used to group the plurality of monitoring signals Sps1-Sps10 into a plurality of groups G1-G3 in sequence, and to transmit the value groups of the plurality of monitoring signals Sps1-Sps10 of each group G1, G2, G3 in sequence to the transmission interface 121. The plurality of monitoring signals Sps1-Sps10 include a plurality of power signals Sp1-Sp5 and a plurality of power trigger signals Sp11-Sp51.

[0020] In some embodiments, the monitoring signal Sps1 corresponds to the power signal Sp1, and the monitoring signal Sps2 corresponds to the power trigger signal Sp11. The monitoring signal Sps3 corresponds to the power signal Sp2, and the monitoring signal Sps4 corresponds to the power trigger signal Sp21. The monitoring signal Sps5 corresponds to the power signal Sp3, and the monitoring signal Sps6 corresponds to the power trigger signal Sp31. The monitoring signal Sps7 corresponds to the power signal Sp4, and the monitoring signal Sps8 corresponds to the power trigger signal Sp41. The monitoring signal Sps9 corresponds to the power signal Sp5, and the monitoring signal Sps10 corresponds to the power trigger signal Sp51.

[0021] In some embodiments, the value of the monitoring signal SpsM represents the logic potential state of the monitoring signal SpsM. Wherein, M is any one of 1 to 10. For example, when the value of the logic potential of the monitoring signal SpsM is 0, it means that the monitoring signal SpsM is in a low potential state. When the value of the logic potential of the monitoring signal SpsM is 1, it means that the monitoring signal SpsM is in a high potential state.

[0022] The configuration control unit 123 is used to set a transmission rate of the transmission interface 121, so that the transmission interface 121 and the monitoring device 30 and the transmission interface adapter 31 communicating therewith all use the same transmission rate for communication. In addition, the transmission interface 121 transmits the values ​​of the plurality of monitoring signals of each group G1, G2, and G3 to the monitoring device 30 in groups in sequence according to the transmission rate. In some embodiments, the transmission rate corresponds to a baud rate (Baud) of the UART interface. The transmission rate is, for example, 115200, 230400, 460800, or 921600 (bps), but is not limited thereto. In some embodiments, the monitoring device 30 is used to control the configuration control unit 123 to set the transmission rate. The monitoring device 30 selects the value of the transmission rate through the software program, and then controls the configuration control unit 123 to adjust the transmission rate. In some embodiments, the software program is, for example, PuTTY or Tera Term, but is not limited thereto.

[0023] In some embodiments, the configuration control unit 123 is further used to set a channel number of the group control unit 122, so that the group control unit 122 divides the plurality of monitoring signals Sps1-Sps10 into a plurality of groups according to the channel number and the number of the plurality of monitoring signals Sps1-Sps10. The channel number is, for example, 2, 4, 8, 16, 32 or 64, but is not limited thereto. Figure 4 For example, in this embodiment, the number of channels is 4 and the number of the plurality of monitoring signals Sps1-Sps10 is 10. Therefore, the group control unit 122 can divide the plurality of monitoring signals Sps1-Sps10 into at least 3 groups. In some embodiments, the monitoring device 30 is used to control the configuration control unit 123 to set the number of channels. The monitoring device 30 selects the value of the number of channels through the software program, and then controls the configuration control unit 123 to adjust the number of channels.

[0024] In some embodiments, each group G1, G2, and G3 has the same number of multiple monitoring signals, but the present invention is not limited thereto. Each group may also have the same number of multiple monitoring signals, or some groups may have the same number of multiple monitoring signals but some groups may have different numbers of multiple monitoring signals. Figure 4For example, each group G1, G2, and G3 has 4 monitoring signals. Group G1 includes a plurality of monitoring signals Sps1-Sps4, group G2 includes a plurality of monitoring signals Sps4-Sps7, and group G3 includes a plurality of monitoring signals Sps7-Sps10. In some embodiments, each group includes at least one identical monitoring signal. For example, both group G1 and group G2 include monitoring signal Sps4, and both group G2 and group G3 include monitoring signal Sps7. The at least one identical monitoring signal is used to check whether the group control unit 122 has successfully switched each group to ensure that the values ​​of the plurality of monitoring signals of each group G1, G2, and G3 are accurately transmitted to the transmission interface 121.

[0025] The error control unit 124 is used to detect whether an error occurs in a plurality of power supply signals Sps1-SpsM. Wherein, M is any one of 1 to 10. In some embodiments, before the monitoring signal SpsM switches the potential state and has a change edge, the monitoring signal Sps(M-1) has already switched the potential state for the first time and has a change edge. Wherein, when the monitoring signal Sps(M-1) changes from a low potential state to a high potential state and maintains at a high potential state, it represents that the monitoring signal Sps(M-1) is normal and has no error. Wherein, if the monitoring signal Sps(M-1) does not change from a low potential state to a high potential state or does not maintain at a high potential state, it represents that an error occurs in the monitoring signal Sps(M-1). In other embodiments, before the monitoring signal SpsM switches the potential state and has a change edge, when the monitoring signal Sps(M-1) changes from a high potential state to a low potential state and maintains at a low potential state, it represents that the monitoring signal Sps(M-1) is normal and has no error. If the monitoring signal Sps(M-1) does not change from a high potential state to a low potential state or does not maintain a low potential state, it means that an error occurs in the monitoring signal Sps(M-1).

[0026] Please refer to Figure 1 and Figures 3 to 5 , Figure 5 This is an operation flow chart of the logic device 100 according to a first embodiment. In this embodiment, N=5 is used as an example for explanation, but the present invention is not limited thereto. After the mainboard 10 is powered on, and the logic device 100 does not need to record the monitoring signal and transmit it to the monitoring device 30, the configuration control unit 123 of the control module 120 of the logic device 100 can be controlled by the software of the monitoring device 30 to set the transmission rate of the transmission interface 121 of the control module 120 (step S100). In some embodiments, the transmission rate of the transmission interface 121 can be automatically set to a default value. The default value is, for example, 115200 (bps), but the present invention is not limited thereto.

[0027] When the motherboard 10 is powered on and the initialization process of each power supply and the motherboard is carried out in sequence, the power module 21 of the motherboard 10 generates a plurality of power signals Sp1-Sp5. At this time, the power timing module 110 of the logic device 100 outputs a plurality of power trigger signals Sp11-Sp51 in sequence according to the change edge of each power signal and the specification of the power timing, and transmits the plurality of power trigger signals Sp11-Sp51 to at least one circuit 22 of the motherboard 10 (step S110). Then, the group control unit 122 of the control module 120 groups the plurality of monitoring signals Sps1-Sps10 including the plurality of power signals Sp1-Sp5 and the plurality of power trigger signals Sp11-Sp51 into a plurality of groups G1-G3 according to the default occurrence order corresponding to their change edges (step S120), and transmits the values ​​of the plurality of monitoring signals of each group G1, G2, G3 to the transmission interface 121 in sequence (step S130). Then, the transmission interface 121 sequentially transmits the values ​​of the plurality of monitoring signals of each group G1 , G2 , G3 to the monitoring device 30 according to the transmission rate (step S140 ).

[0028] In some embodiments, step S100 further includes: configuring the control unit 123 to set the number of channels of the group control unit 122, and step S120 further includes: the group control unit 122 divides the plurality of monitoring signals Sps1-Sps10 into a plurality of groups G1-G3 according to the number of channels and the number of the plurality of monitoring signals Sps1-Sps10. That is, in some embodiments, the transmission rate of the transmission interface 121 and the number of channels of the group control unit 122 can be set at the same time. In some embodiments, the number of channels of the group control unit 122 can be automatically set to another default value. The other default value is, for example, 4, but is not limited thereto.

[0029] Please refer to further Figure 6 , Figure 6 1 is an operation flow chart of the monitoring device 30 according to some embodiments. Following step S140, in some embodiments, the monitoring device 30 creates a log file (Log file, step S150), and receives the values ​​of the plurality of monitoring signals of each group G1, G2, G3 through the transmission interface adapter 31 (step S160). Subsequently, the monitoring device 30 stores the values ​​of the plurality of monitoring signals of each group G1, G2, G3 in the log file (step S170). Finally, the monitoring device 30 generates a timing diagram of the plurality of monitoring signals Sps1-Sps10 according to the log file (step S180).

[0030] Please refer to Figure 7 , Figure 7 is a timing diagram of a plurality of monitoring signals Sps1-Sps10 according to a first embodiment. In some embodiments, Figure 7 The numbers on the vertical axis represent the potential state of each monitoring signal. Among them, even numbers (such as 0, 2, 4, 6) represent that the monitoring signal is in a low potential state, and odd numbers (such as 1, 3, 5, 7) represent that the monitoring signal is in a high potential state.

[0031] As mentioned above, in step S130, the group control unit 122 sequentially transmits the values ​​of the plurality of monitoring signals of each group G1, G2, and G3 to the transmission interface 121. The timing diagram of the plurality of monitoring signals Sps1-Sps4 of the group G1 is shown in FIG. Figure 7 As shown in the time period T1, the timing diagram of the plurality of monitoring signals Sps4-Sps7 of group G2 is as follows Figure 7 As shown in the time period T2, the timing diagram of the plurality of monitoring signals Sps7-Sps10 of group G3 is as follows Figure 7 As shown in time period T3.

[0032] That is, in time period T1, the signal corresponding to channel Ch1 is monitoring signal Sps1, the signal corresponding to channel Ch2 is monitoring signal Sps2, the signal corresponding to channel Ch3 is monitoring signal Sps3, and the signal corresponding to channel Ch4 is monitoring signal Sps4. In time period T2, the signal corresponding to channel Ch1 is monitoring signal Sps4, the signal corresponding to channel Ch2 is monitoring signal Sps5, the signal corresponding to channel Ch3 is monitoring signal Sps6, and the signal corresponding to channel Ch4 is monitoring signal Sps7. In time period T3, the signal corresponding to channel Ch1 is monitoring signal Sps7, the signal corresponding to channel Ch2 is monitoring signal Sps8, the signal corresponding to channel Ch3 is monitoring signal Sps9, and the signal corresponding to channel Ch4 is monitoring signal Sps10.

[0033] In some embodiments, the group control unit 122 includes a change edge to determine whether to perform group switching based on whether the latest monitoring signal in each group G1, G2, and G3 has performed the initial switching logic potential state, that is, to switch the group transmitted to the transmission interface 121 to then transmit the value of the monitoring signal of the next group. Among them, the change edges of all monitoring signals in each group G1, G2, and G3 are monitored by the power timing module 110. Therefore, in some embodiments, the power timing module 110 is further used to notify the group control unit 122 of the timing of switching groups. Figure 7As shown in the time period T1, the monitoring signal with the latest default occurrence order (timing) of the change edge in group G1 is monitoring signal Sps4. In other words, among the plurality of monitoring signals Sps1-Sps4 included in group G1, the default occurrence order of the change edge of monitoring signal Sps4 is later than the default occurrence order of the change edge of any of monitoring signals Sps1-Sps3. Therefore, the default occurrence order of the change edge of monitoring signal Sps4 is the latest (i.e., the timing of monitoring signal Sps4 is the latest in group G1).

[0034] When the monitoring signal Sps4 switches its logic potential (e.g., from a low potential state to a high potential state) and has a change edge, and after a switching time Ts, the group control unit 122 switches the group transmitted to the transmission interface 121 from group G1 to group G2, and then transmits each monitoring signal of group G2 to the transmission interface 121. Similarly, Figure 7 As shown in the time period T2, the latest monitoring signal in group G2 is monitoring signal Sps7. Therefore, when the monitoring signal Sps7 switches its logic potential and after a switching time Ts, the group control unit 122 switches the group transmitted to the transmission interface 121 from group G2 to group G3, and then transmits each monitoring signal of group G3.

[0035] Please refer to Figure 4 and Figure 7 In some embodiments, the group control unit 122 transmits the values ​​of the plurality of monitoring signals of each group G1, G2, G3 to the transmission interface 121 in sequence, and finally transmits them to the monitoring device 30 for the monitoring device 30 to integrate and store the values ​​of the plurality of monitoring signals of each group G1, G2, G3 in the record file. At this time, the group control unit 122 can make each group G1, G2, G3 received by the monitoring device 30 include at least one monitoring signal identical to the previous group (if there is a previous group) through the repeated transmission of the same monitoring signal between the groups. Thus, when the monitoring device 30 or the user of the monitoring device 30 examines the monitoring signals of the timing diagrams corresponding to the groups G1, G2, and G3 respectively, they can directly compare the change edges of the monitoring signals that are the same as those of the previous group in a single timing diagram with the change edges of other monitoring signals in the group, so as to avoid any monitoring signal that is not available for comparison, and further determine whether the actual occurrence order of the corresponding change edges is consistent with the default occurrence order to determine whether the corresponding monitoring signal is the correct comparison object.

[0036] by Figure 4 For example, in this embodiment, both group G1 and group G2 include monitoring signal Sps4, and both group G2 and group G3 include monitoring signal Sps7. Figure 7The timing diagram shown in the time period T1 is a timing diagram corresponding to the group G1 transmitted before the group control unit 122 switches the group transmitted to the transmission interface 121 from the group G1 to the group G2, and Figure 7 The timing diagram shown in the time period T2 is a timing diagram corresponding to the group G2 transmitted after the group of the transmission interface 121 is switched from the group G1 to the group G2. At this time, the user of the monitoring device 30 can check whether the actual occurrence sequence of the edge change of the monitoring signal Sps4 is later than the monitoring signal Sps3 in the group G1, and check whether the actual occurrence sequence of the edge change of the monitoring signal Sps4 is earlier than the actual occurrence sequence of the edge change of the monitoring signal Sps5 in the group G2, so as to determine whether the actual occurrence sequence of the monitoring signal Sps4 is normal.

[0037] Similar, Figure 7 The timing diagram shown in the time period T2 is a timing diagram corresponding to the group G2 transmitted before the group control unit 122 switches the group transmitted to the transmission interface 121 from the group G2 to the group G3, and Figure 7 The time period T3 is the timing diagram corresponding to the group G3 transmitted after the group of the transmission interface 121 switches from group G2 to group G3. At this time, the user of the monitoring device 30 can check whether the actual occurrence sequence of the edge change of the monitoring signal Sps7 is later than the monitoring signal Sps6 in group G2, and check whether the actual occurrence sequence of the edge change of the monitoring signal Sps7 is earlier than the actual occurrence sequence of the edge change of the monitoring signal Sps8 in group G3, so as to determine whether the actual occurrence sequence of the monitoring signal Sps7 is normal. In some embodiments, the monitoring device 30 can also use the actual occurrence time of the edge change of the same monitoring signal included in each group G1, G2, G3 as a reference time to integrate the timing diagrams corresponding to each group G1, G2, G3.

[0038] In some embodiments, the error control unit 124 is further used to control the group control unit 122 to transmit the values ​​of the plurality of monitoring signals of the group corresponding to the monitoring signal with an error, that is, the group with the monitoring signal with an error, to the transmission interface 121, without transmitting the monitoring signals of the group corresponding to the monitoring signal with no error, so that the monitoring device 30 can obtain the values ​​of the monitoring signals of the group corresponding to the monitoring signal with an error in the shortest time for the user of the monitoring device 30 to perform debugging analysis. Among them, the plurality of monitoring signals Sps1-SpsM will all flow through the power timing module 110, and the power timing module 110 has a default occurrence order of the change edges corresponding to each monitoring signal. Therefore, the power timing module 110 is the first to know which power signal (monitoring signal) has an error, and the power timing module 110 compares the actual occurrence order of the change edges of the multiple monitoring signals Sps1-SpsM according to the default occurrence order of the change edges of the multiple monitoring signals Sps1-SpsM to determine whether an error has occurred in each monitoring signal Sps1-SpsM.

[0039] In some embodiments, when the number of channels is 4, the transmission rate is not less than 115200 (bps), but is not limited thereto. The upper limit of the transmission rate may vary depending on the maximum total transmission rate that the currently used network can provide, and the transmission interface 121 also has physical limitations on bandwidth when transmitting packets. When the transmission rate is 115200 (bps), it means that the transmission time for each bit is approximately 0.01 milliseconds (ms). The UART interface requires 10 bits of space to transmit one character (Byte). Therefore, the transmission time for each character is approximately 0.1 milliseconds. The number of channels is 4, which means that one group contains four monitoring signals. Therefore, when the transmission interface 121 transmits the values ​​of four monitoring signals of one group to the monitoring device 30, eight characters of data need to be transmitted each time. The eight characters include the values ​​of four monitoring signals, three commas, and one line feed character. That is, when transmitting the values ​​of 4 monitoring signals of a group to the monitoring device 30, the transmission interface 121 needs to spend about 1 millisecond to completely transmit the values ​​of 4 monitoring signals of a group to the monitoring device 30, and then sequentially transmit the values ​​of the monitoring signals included in the next group.

[0040] Therefore, when the number of channels is 4 and the transmission rate is 115200 (bps), the logic device 100 transmits the value of the plurality of monitoring signals in one group to the monitoring device 30 once every 1 millisecond through the transmission interface 121. In other words, when the number of channels is 4 and the transmission rate is 115200 (bps), the data update period of the transmission interface 121 of the logic device 100 is 1 millisecond. In some embodiments, the data update period of the transmission interface 121 is at most 1 millisecond to avoid generating a timing diagram with lower resolution. Therefore, when the number of channels is 4, the transmission rate needs to be not less than 115200 (bps) so that the data update period of the transmission interface 121 can be at most 1 millisecond.

[0041] In other embodiments, when the monitoring device 30 is to monitor 64 monitoring signals and the transmission rate is set to 115200 (bps), the monitoring device 30 collects all 64 monitoring signals in one test cycle and the sampling period evenly allocated to the channel corresponding to each monitoring signal is 16ms. When only 16 monitoring signals out of the 64 monitoring signals are transmitted in one test cycle, the sampling period evenly allocated to the channel corresponding to each monitoring signal is 4ms. When only 8 monitoring signals are transmitted in one test cycle, the sampling period evenly allocated to the channel corresponding to each monitoring signal is 4ms, and so on.

[0042] Similarly, in other embodiments, assuming that the monitoring device 30 is to monitor 64 monitoring signals and the transmission rate is set to 921600 (bps), the monitoring device collects all 64 monitoring signals in one test cycle and the sampling period evenly allocated to the channel corresponding to each monitoring signal is 2ms. When only 4 monitoring signals are transmitted in one test cycle, the sampling period evenly allocated to the channel corresponding to each monitoring signal is 0.125ms, and so on.

[0043] In other words, when the transmission interface 121 transmits the error monitoring signal, the transmission interface 121 only needs to transmit the value of the group corresponding to the error monitoring signal to the monitoring device 30 without transmitting all the monitoring signals. Therefore, even if the sampling period of each error monitoring signal is short, the monitoring device 30 can still generate a high-resolution timing diagram of the error monitoring signal.

[0044] In some embodiments, the power timing module 110 is further used to notify the error control unit 124 of which group the error monitoring signal belongs to. Figure 8 , Figure 8is an operation flow chart of the logic device 100 according to a second embodiment. Continuing with step S180, in some embodiments, the error control unit 124 of the control module 120 detects whether an error occurs in the plurality of monitoring signals Sps1-Sps10 (step S190). If not, it means that no error occurs in the plurality of monitoring signals Sps1-Sps10. At this time, the logic device 100 and the monitoring device 30 repeat steps S100 to S180 until the motherboard 10 turns off the power and stops operating (step S200). In some embodiments, the logic device 100 and the monitoring device 30 may also repeat steps S100 to S180 according to a repetition number until the repetition number is reached. The repetition number is stored in the internal memory of the logic device 100, but is not limited thereto. In some embodiments, the logic device 100 and the monitoring device 30 may also start from the start of step S1c00 and repeat steps S100 to S180 according to a repetition time setting until the repetition time is reached. The repetition times are stored in the internal memory of the logic device 100 .

[0045] If so, it means that at least one of the multiple monitoring signals Sps1-Sps10 has an error. Therefore, after detecting whether the multiple monitoring signals Sps1-Sps10 have an error, the error control unit 124 controls the group control unit 122 to transmit the values ​​of the multiple monitoring signals of the corresponding group of the monitoring signals with errors to the transmission interface 121 (step S210). Then, the transmission interface 121 transmits the values ​​of the multiple monitoring signals of the group of monitoring signals with errors to the monitoring device 30 according to the transmission rate (step S220). Subsequently, the monitoring device 30 stores the values ​​of the multiple monitoring signals of the group of monitoring signals with errors in the record file (step S230). Finally, the monitoring device 30 generates a timing diagram of the multiple monitoring signals of the group of monitoring signals with errors according to the record file (step S240).

[0046] Please refer to Fig. 9 , Fig. 9 is a timing diagram of the plurality of monitoring signals Sps4-Sps7 according to a second embodiment. Fig. 9Take the process from step S210 to step S240 as an example. In the present embodiment, an error occurs in the monitoring signal Sps5. Therefore, the error control unit 124 controls the group control unit 122 to transmit the values ​​of the multiple monitoring signals Sps4-Sps7 of the group G2 of the monitoring signal Sps5 that has an error to the transmission interface 121 (corresponding to step S210). Then, the transmission interface 121 transmits the values ​​of the multiple monitoring signals Sps4-Sps7 of the group G2 of the monitoring signal Sps5 that has an error to the monitoring device 30 according to the transmission rate (corresponding to step S220). Subsequently, the monitoring device 30 stores the values ​​of the multiple monitoring signals Sps4-Sps7 of the group G2 of the monitoring signal Sps5 that has an error in the record file (corresponding to step S230). Finally, the monitoring device 30 generates a timing diagram of the multiple monitoring signals Sps4-Sps7 of the group G2 of the monitoring signal Sps5 that has an error according to the record file (such as Fig. 9 As shown, corresponding to step S240).

[0047] In summary, according to some embodiments, the logic device can directly obtain the values ​​of the plurality of monitoring signals through the control module, and transmit the values ​​of the plurality of monitoring signals to the monitoring device through the transmission interface. After obtaining the values ​​of the plurality of monitoring signals, the timing diagram of the plurality of monitoring signals can be further obtained through the monitoring device. Therefore, without directly measuring the signals of the input / output pins of the logic device, the timing diagram of the plurality of monitoring signals can still be obtained to check whether the timing of the plurality of monitoring signals is correct.

[0048] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A logic device, suitable for being arranged on a mainboard, the mainboard comprising a power module and at least one circuit, the power module is used to generate a plurality of power signals, characterized in that: The logic device contains: A power timing module, for sequentially outputting a plurality of power trigger signals according to the change edge of each of the power signals, and transmitting the power trigger signals to the at least one circuit; as well as A control module, comprising: a transmission interface electrically connected to a monitoring device; A group control unit, electrically connected to the power timing module and the transmission interface, for sequentially grouping the plurality of monitoring signals including the power signals and the power trigger signals into a plurality of groups, and sequentially transmitting the values ​​of the monitoring signals of each group to the transmission interface; a configuration control unit, electrically connected to the group control unit and the transmission interface, for setting a transmission rate of the transmission interface; and An error control unit, electrically connected to the power timing module and the group control unit, for detecting whether errors occur in the monitoring signals of each group; The transmission interface is used to sequentially transmit the values ​​of the monitoring signals of each group to the monitoring device according to the transmission rate.

2. The logic device according to claim 1, characterized in that The error control unit is further used for controlling the group control unit to transmit the values ​​of the monitoring signals of the group corresponding to the monitoring signal having an error to the transmission interface.

3. The logic device according to claim 2, characterized in that The transmission interface is further used for transmitting the values ​​of the monitoring signals of the group corresponding to the monitoring signal having an error to the monitoring device.

4. The logic device according to claim 1, characterized in that The configuration control unit is further used for setting a channel quantity of the group control unit, so that the group control unit groups the monitoring signals into the groups according to the channel quantity and the quantity of the monitoring signals.

5. The logic device according to claim 4, characterized in that When the number of channels is 4, the transmission rate is not less than 115200 (bps).

6. A method for monitoring a plurality of power signals generated by a power module of a mainboard, characterized in that: Include: Setting a transmission rate of a transmission interface; Outputting a plurality of power trigger signals in sequence according to the change edge of each power signal, and transmitting the power trigger signals to at least one circuit of the mainboard; Sequentially grouping a plurality of monitoring signals including the power signals and the power trigger signals into a plurality of groups; transmitting the values ​​of the monitoring signals of each of the groups to the transmission interface in sequence; and The values ​​of the monitoring signals of each of the groups are sequentially transmitted to a monitoring device according to the transmission rate.

7. The method according to claim 6, characterized in that Also includes: The values ​​of the monitoring signals of the group of the monitoring signals in which errors occur are transmitted to the transmission interface.

8. The method according to claim 7, characterized in that Also includes: The values ​​of the monitoring signals of the group of the monitoring signals in which errors occur are transmitted to the monitoring device according to the transmission rate.

9. The method according to claim 6, characterized in that Also includes: Setting a channel quantity of a group control unit; and The monitoring signals are divided into the groups according to the number of the channels and the number of the monitoring signals.

10. The method according to claim 9, characterized in that When the number of channels is 4, the transmission rate is not less than 115200 (bps).