A CPLD chip GPIO resource pooling method
By dividing and classifying the GPIO resources of CPLD chips, using Power Mux chips to power, and managing the power domain and time domains, the problems of low GPIO utilization and difficulty in wiring of CPLD chips are solved, and resource utilization and system stability are improved.
Patent Information
- Application Number
- CN202411168377.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-23
AI Technical Summary
The GPIO utilization rate of CPLD chips is low and the layout and wiring is difficult, so the existing technology cannot effectively solve these problems.
By dividing the GPIO of the CPLD chip, using Power Mux chip for power supply, and importing the BMC based on the divided GPIO configuration table, performing power domain classification and time domain allocation, adjusting GPI and GPO pins, switching power domain control GPIO signal sampling and Output, restore the initial state.
It improves the GPIO resource pooling of CPLD chips, avoids the problem of cross-bank use of GPIO due to different VCCIOs, solves resource waste and wiring difficulties, and enhances the stability and flexibility of the system.
Smart Images

Figure CN118689826B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of GPIO resource pooling, in particular to a CPLD chip GPIO resource pooling method. Background Art
[0002] With the rapid development of the Internet of Things, big data and AI technologies, servers are playing an increasingly important role and their functions are becoming more and more powerful. As the main chip on the server motherboard, the design of BMC / PCH / CPLD is becoming more and more complex in order to achieve more and more powerful functions.
[0003] Especially CPLD, as a complex programmable logic device, has the advantage that all pins can be used as GPIOs instead of having to be defined as dedicated functions. Therefore, CPLD can be connected to BMC / PCH / CPU / memory, as well as many other chips or devices to achieve the desired functions.
[0004] First, the GPIO of each Bank of the existing CPLD is fixed and cannot be changed with the design of the CPLD peripheral circuit, which will affect the GPIO utilization of the CPLD. Secondly, in the current motherboard design, the pins of BMC / PCH / CPU have specific functions, so the routing around these chips is basically fixed. Based on this, the random allocation and replacement of CPLD pins has greatly alleviated the difficulty of Layout. Summary of the invention
[0005] In view of the problems existing in the above-mentioned existing CPLD chip GPIO resource pooling method, the present invention is proposed.
[0006] Therefore, the problem to be solved by the present invention is that the GPIO utilization rate of the CPLD chip is low and the layout and wiring are difficult.
[0007] In order to solve the above technical problems, the present invention provides the following technical solutions: a CPLD chip GPIO resource pooling method, which includes dividing the GPIO of the CPLD chip and using a Power Mux chip for power supply;
[0008] Import the GPIO configuration table into BMC based on the division, and transfer the GPIO configuration table to the CPLD chip; store the GPIO configuration table in UFM, and classify the GPIO signals based on the power domain types in the configuration table; perform real-time evaluation based on the classified GPIO signals, and allocate time domains for each type of GPIO signal; adjust the GPI pins and GPO pins, switch the power domain to control the GPIO to sample and output the signal; and restore the GPIO pins to their initial state.
[0009] As a preferred solution of the CPLD chip GPIO resource pooling method of the present invention, wherein: the GPIO of the CPLD chip is divided and the power is supplied by the Power Mux chip, including:
[0010] Divide the GOIP on the CPLD chip into two parts. The first part is Bank8, which connects the I2C communication pin and the Power Mux chip switching pin and uses 3.3V voltage for power supply.
[0011] Use Power Mux chip to accept power inputs of different voltages and output VCCIO power in a unified manner;
[0012] The second part is Bank1-7, which is powered by the unified VCCIO power supply and is compatible with 1.0V, 1.1V, 1.8V, 2.5V and 3.3V power domains.
[0013] As a preferred solution of the CPLD chip GPIO resource pooling method of the present invention, wherein: the GPIO sorting configuration table based on the division is imported into the BMC, and the configuration table is transmitted to the CPLD chip, including:
[0014] Arrange the GPIO configuration table according to the hardware layout diagram and actual connection relationship;
[0015] Convert the GPIO configuration table into a format classified according to VCCIO, and use the I2C interface to transfer the converted GPIO configuration table from the BMC to the CPLD chip;
[0016] The CPLD chip receives the GPIO configuration table and parses the GPIO configuration table.
[0017] As a preferred solution of the CPLD chip GPIO resource pooling method of the present invention, wherein: the storing of the GPIO configuration table in the UFM includes:
[0018] During the factory configuration of the CPLD chip, the BMC transmits the GPIO configuration table to the CPLD chip through the I2C interface and stores it in the UFM on the CPLD chip;
[0019] When the CPLD chip is powered on, the GPIO configuration table in the UFM is automatically loaded, and the GPIO resources are configured based on the GPIO configuration table.
[0020] As a preferred solution of the CPLD chip GPIO resource pooling method of the present invention, wherein: the classification of GPIO based on the power domain type in the GPIO configuration table includes:
[0021] BMC reads the unorganized GPIO configuration table, including the bank number, pin number, pin name and corresponding VCCIO voltage of each GPIO;
[0022] According to different VCCIO voltages, the configuration table data is divided into five categories: "3.3V / 1.0V / 1.1V / 1.8V / 2.5V", and a new configuration table is generated.
[0023] As a preferred solution of the CPLD chip GPIO resource pooling method of the present invention, wherein: the real-time evaluation based on the classified GPIO signal includes:
[0024] Consult the hardware specification and system design documentation to obtain the functional description of each GPIO signal;
[0025] Based on the function and purpose of each GPIO signal, the priority matrix method is used to divide the GPIO signals into high real-time signals and low real-time signals according to the real-time requirements;
[0026] The high real-time signal refers to a signal that requires a quick response, including a 3.3V signal and a 2.5V signal;
[0027] The low real-time signal refers to a signal that requires a faster response, including a 1.0V signal, a 1.1V signal, and a 1.8V signal;
[0028] The 3.3V, 1.0V, 1.1V, 1.8V and 2.5V signals in the GPIO signals are key control signals, CPU control signals, memory control signals, peripheral device communication signals and data transmission signals respectively.
[0029] As a preferred solution of the CPLD chip GPIO resource pooling method of the present invention, wherein: the time domain of allocating each type of GPIO signal includes:
[0030] Set the total time period to 5ms and divide the total time period into multiple time periods;
[0031] According to the results of functional analysis and real-time evaluation, a time scheduling algorithm is used to allocate time periods to different types of signals, including 3.3V signals occupying 2ms, 1.0V signals occupying 0.5ms, 1.1V signals occupying 0.5ms, 1.8V signals occupying 1ms and 2.5V signals occupying 1ms.
[0032] As a preferred solution of the CPLD chip GPIO resource pooling method of the present invention, wherein: the adjustment of the GPI pin and the GPO pin includes:
[0033] Before switching the power domain VCCIO, use the CPDL chip to adjust the GPI pins that do not belong to the current power domain VCCIO to a high impedance state;
[0034] Use the CPLD chip to lock the output state of the GPO pin that does not belong to the current power domain VCCIO.
[0035] As a preferred solution of the CPLD chip GPIO resource pooling method of the present invention, wherein: the switching power domain controls the GPIO to sample and output the signal, including:
[0036] Using time-division multiplexing technology, based on the time periods corresponding to different signals, at the beginning of each GPIO signal time period, the CPLD chip sends a control signal to the Power Mux chip and switches to the VCCIO corresponding to the GPIO signal;
[0037] During the time period of the current power domain, the CPLD chip is used to sample the GPI signal of the current power domain, read the voltage value of the corresponding pin, and lock the GPO signal of the current power domain to set the voltage value of the corresponding pin.
[0038] As a preferred solution of the CPLD chip GPIO resource pooling method of the present invention, wherein: the restoration of the GPIO pin initial state includes:
[0039] Before switching to the next power domain, release the high impedance setting of the GPI pin of the current power domain and the output lock state of the GPO pin;
[0040] Repeat the operations of "adjusting the GPI pin and the GPO pin, switching the power domain to control the GPIO to sample and output the signal, and restoring the initial state of the GPIO pin".
[0041] The beneficial effects of the present invention are as follows: the present invention proposes a CPLD chip GPIO resource pooling method, which pools all GPIO resources of the CPLD chip by dynamically adjusting the VCCIO power supply conditions of each Bank of the CPLD chip, and can be arbitrarily connected to chips in different power domains from a hardware link, thereby avoiding the situation where GPIO cannot be used across Banks due to different VCCIOs, thereby solving the problem of resource waste and the problem of being unable to arbitrarily change Pins during Layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0043] Figure 1 The figure is a flow chart of a CPLD chip GPIO resource pooling method. DETAILED DESCRIPTION
[0044] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.
[0045] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0046] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments. Example
[0047] Reference Figure 1 , is the first embodiment of the present invention, which provides a CPLD chip GPIO resource pooling method, the CPLD chip GPIO resource pooling method includes,
[0048] S1, divide the GPIO of the CPLD chip and use the Power Mux chip for power supply;
[0049] Furthermore, based on the divided GPIO, the configuration table is sorted and imported into the BMC, and the configuration table is transmitted to the CPLD chip, including:
[0050] Arrange the GPIO configuration table according to the hardware layout diagram and actual connection relationship;
[0051] Convert the GPIO configuration table into a format classified according to VCCIO, and use the I2C interface to transfer the converted GPIO configuration table from the BMC to the CPLD chip;
[0052] The CPLD chip receives the GPIO configuration table and parses the GPIO configuration table.
[0053] By dividing the GPIO resources of the CPLD chip and using the Power Mux chip to power different power domains, it is ensured that the GPIO signals of different power domains can work independently, avoiding mutual interference, reducing the analysis of system interruptions and faults, improving the stability of the system and the utilization efficiency of the power supply, and reducing unnecessary energy consumption.
[0054] S2, based on the divided GPIO, the configuration table is imported into the BMC, and the GPIO configuration table is transmitted to the CPLD chip;
[0055] Furthermore, based on the divided GPIO, the configuration table is sorted and imported into the BMC, and the configuration table is transmitted to the CPLD chip, including:
[0056] Arrange the GPIO configuration table according to the hardware layout diagram and actual connection relationship;
[0057] Convert the GPIO configuration table into a format classified according to VCCIO, and use the I2C interface to transfer the converted GPIO configuration table from the BMC to the CPLD chip;
[0058] The CPLD chip receives the GPIO configuration table and parses the GPIO configuration table.
[0059] By organizing the GPIO configuration table, importing the organized GPIO configuration table into the BMC, and transmitting the GPIO configuration table to the CPLD chip through the BMC, manual intervention is reduced, thereby reducing the possibility of human errors, improving the automation level of the system, enhancing the reliability and efficiency of the GPIO resource configuration process, improving the accuracy of the system configuration, avoiding system failures caused by GPIO resource configuration errors, and supporting the system to dynamically adjust and update the configuration according to actual needs during operation, thereby enhancing the flexibility and adaptability of the system, being able to respond to changing needs in a timely manner, and improving the dynamic response capability of the system.
[0060] S3, storing the GPIO configuration table in the UFM, and classifying the GPIO signals based on the power domain types in the configuration table;
[0061] Furthermore, the GPIO configuration table is stored in UFM including,
[0062] During the factory configuration of the CPLD chip, the BMC transmits the GPIO configuration table to the CPLD chip through the I2C interface and stores it in the UFM on the CPLD chip;
[0063] When the CPLD chip is powered on, the GPIO configuration table in the UFM is automatically loaded, and the GPIO resources are configured based on the GPIO configuration table.
[0064] By storing the GPIO configuration table in the UFM on the CPLD chip, data is preserved persistently. The GPIO configuration table does not need to be reconfigured after the system is restarted, saving system initialization time, avoiding errors and inconsistencies caused by multiple configurations, improving system startup efficiency, ensuring the consistency and accuracy of system configuration, reducing configuration time caused by system restart, and improving system reliability. UFM can provide fast data access capabilities and can quickly read and write data. When the system needs to configure data, it can quickly access and apply data, improving the system's response speed and overall performance, and ensuring that the system can quickly adapt to changing needs.
[0065] Furthermore, GPIOs are classified into the following categories based on the power domain types in the GPIO configuration table:
[0066] BMC reads the unorganized GPIO configuration table, including the bank number, pin number, pin name and corresponding VCCIO voltage of each GPIO;
[0067] According to different VCCIO voltages, the configuration table data is divided into five categories: "3.3V / 1.0V / 1.1V / 1.8V / 2.5V", and a new configuration table is generated.
[0068] By classifying the GPIO signals by power domain according to the GPIO configuration table stored in UFM, GPIO signal interference between different power domains is avoided. The classified signals can work independently in their respective power domains, reducing the mutual influence between power domains, thereby enhancing the stability of the system. GPIO signals in different power domains have different characteristics and requirements. Classification management can optimize GPIO resource allocation according to specific needs to ensure that the GPIO signals in each power domain can be properly processed. After the GPIO signals in different power domains are classified, they can be flexibly adjusted according to the specific application scenarios to meet different needs, thereby improving the adaptability and flexibility of the system.
[0069] S4, performing real-time evaluation based on the classified GPIO signals and allocating a time domain for each type of GPIO signal;
[0070] Furthermore, the real-time evaluation based on the classified GPIO signals includes:
[0071] Consult the hardware specification and system design documentation to obtain the functional description of each GPIO signal;
[0072] Based on the function and purpose of each GPIO signal, the priority matrix method is used to divide the GPIO signals into high real-time signals and low real-time signals according to the real-time requirements;
[0073] The high real-time signal refers to a signal that requires a quick response, including a 3.3V signal and a 2.5V signal;
[0074] The low real-time signal refers to a signal that requires a faster response, including a 1.0V signal, a 1.1V signal, and a 1.8V signal;
[0075] The 3.3V, 1.0V, 1.1V, 1.8V and 2.5V signals in the GPIO signals are key control signals, CPU control signals, memory control signals, peripheral device communication signals and data transmission signals respectively.
[0076] By consulting materials to understand the functions of GPIO signals, real-time evaluation can be performed to identify which GPIO signals require faster response times and prioritize these signals, allowing the system to respond to key signals in a shorter time, improving the system's response speed and efficiency. Real-time evaluation can also enable the system to dynamically adjust the GPIO signal processing strategy according to different needs, improve the system's adaptability, and better meet the needs of various complex applications. Prioritizing GPIO signals with high real-time requirements can reduce delays and jitter in GPIO signal processing, thereby improving the system's time signal processing quality.
[0077] Furthermore, the time domain for allocating each type of GPIO signal includes,
[0078] Set the total time period to 5ms and divide the total time period into multiple time periods;
[0079] According to the results of functional analysis and real-time evaluation, a time scheduling algorithm is used to allocate time periods to different types of signals, including 2ms for 3.3V signals, 0.5ms for 1.0V signals, 0.5ms for 1.1V signals, 1ms for 1.8V signals and 1ms for 2.5V signals, to ensure that high real-time signals get sufficient response time, while low real-time signals are allocated within the range allowed by the system.
[0080] By allocating time domains for each type of GPIO signal based on the evaluation results, it is ensured that high real-time signals are processed first, so that the system can process key signals in a timely manner, reduce data delays and data loss in the signal processing process, improve the stability and consistency of signal processing, and improve the overall response speed and performance of the system. Without affecting high real-time signals, a lower time priority is allocated to low real-time signals, which can prevent resource contention between high real-time signals and low real-time signals, making resource utilization more efficient, reducing unnecessary waiting time and resource conflicts, and improving the overall efficiency of the system.
[0081] S5, adjust the GPI pin and GPO pin, switch the power domain to control GPIO to sample and output the signal;
[0082] Furthermore, adjusting the GPI pin and the GPO pin includes,
[0083] Before switching the power domain VCCIO, use the CPDL chip to adjust the GPI pins that do not belong to the current power domain VCCIO to a high impedance state to prevent these pins from being sampled in an incorrect voltage domain and avoid misoperation;
[0084] Use the CPLD chip to lock the output status of the GPO pins that do not belong to the current power domain VCCIO, ensuring that the logic status of these pins remains unchanged and is not affected during the power domain switching process.
[0085] By dynamically adjusting the GPI pins and GPO pins and reasonably allocating GPIO pins, the system can quickly respond to different application requirements, improve resource utilization efficiency, and avoid resource waste. The system can dynamically adjust resource allocation according to actual needs to ensure efficient utilization of each GPIO pin, reduce competition and conflict between different tasks during multi-tasking, and improve the overall performance of the system. In the face of sudden demands, the system can quickly reconfigure pins, improving the adaptability and flexibility of the overall system.
[0086] Furthermore, switching the power domain controls the GPIO to sample and output signals including,
[0087] Using time-division multiplexing technology, based on the time periods corresponding to different signals, at the beginning of each GPIO signal time period, the CPLD chip sends a control signal to the Power Mux chip and switches to the VCCIO corresponding to the GPIO signal;
[0088] During the time period of the current power domain, the CPLD chip is used to sample the GPI signal of the current power domain, read the voltage value of the corresponding pin, and lock the GPO signal of the current power domain to set the voltage value of the corresponding pin.
[0089] By switching the power domain and controlling the GPIO pins to sample the GPIO signals, the power environment consistency of the sampled signals is ensured, interference between different power domains is avoided, the accuracy and consistency of signal sampling is improved, the sampling error caused by power domain switching is reduced, and the reliability of the sampled data is ensured.
[0090] It provides the most suitable power supply for different types of GPIO signals, avoids power shortage and overload, improves the stability of GPIO signal output, ensures that GPIO signals can be output under the best power supply conditions, reduces GPIO signal distortion and noise, and improves GPIO signal quality. In addition, dynamic switching of power domains can also reduce unnecessary power consumption, extend the service life of the equipment, and improve the energy efficiency of the system.
[0091] S6, restore the GPIO pin to its initial state;
[0092] Furthermore, restoring the initial state of the GPIO pin includes:
[0093] Before switching to the next power domain, release the high impedance setting of the GPI pin of the current power domain and the output lock state of the GPO pin;
[0094] Repeat the operations of "adjusting the GPI pin and the GPO pin, switching the power domain to control the GPIO to sample and output the signal, and restoring the initial state of the GPIO pin".
[0095] By restoring the initial state of the GPIO pin, releasing the high resistance setting and the output lock state, it is ensured that when switching the power domain, the GPIO pin of the current power domain will not affect the signal, thereby reducing unnecessary current flow and signal interference, avoiding hardware damage caused by current flow, and improving the safety and durability of the system. The operations of "adjusting the GPI pin and the GPO pin, switching the power domain to control the GPIO to sample and output the signal, and restoring the initial state of the GPIO pin" are repeated. Through standardized and repetitive operating steps, it is ensured that each power domain and GPIO signal can be processed according to the predetermined logic, ensuring the consistency and accuracy of GPIO signal processing, making system maintenance and upgrades easier, and reducing potential errors caused by operational complexity.
[0096] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0097] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0098] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0099] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit with a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit with a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0100] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A CPLD chip GPIO resource pooling method, characterized in that: include, Divide the GPIO of the CPLD chip and use the Power Mux chip for power supply; Based on the divided GPIO, the configuration table is imported into BMC, and the GPIO configuration table is transferred to the CPLD chip; The GPIO configuration table is stored in UFM, and the GPIO signals are classified based on the power domain types in the configuration table; Perform real-time evaluation based on the classified GPIO signals and allocate time domains for each type of GPIO signal; Adjust the GPI pin and GPO pin, switch the power domain to control GPIO to sample and output the signal; Restore the GPIO pin to its initial state; The adjustment of GPI pin and GPO pin includes, Before switching the power domain VCCIO, use the CPDL chip to adjust the GPI pins that do not belong to the current power domain VCCIO to a high impedance state; Use CPLD chip to lock the output status of GPO pins that do not belong to the current power domain VCCIO; The switching power domain controls the GPIO to sample and output the signal, including: Using time-division multiplexing technology, based on the time periods corresponding to different signals, at the beginning of each GPIO signal time period, the CPLD chip sends a control signal to the Power Mux chip and switches to the VCCIO corresponding to the GPIO signal; During the time period of the current power domain, the CPLD chip is used to sample the GPI signal of the current power domain, read the voltage value of the corresponding pin, and lock the GPO signal of the current power domain to set the voltage value of the corresponding pin.
2. The CPLD chip GPIO resource pooling method as claimed in claim 1, characterized in that: The GPIO of the CPLD chip is divided and the power is supplied by the Power Mux chip, including: Divide the GOIP on the CPLD chip into two parts. The first part is Bank8, which connects the I2C communication pin and the PowerMux chip switching pin and uses a 3.3V voltage for power supply. Use Power Mux chip to accept power inputs of different voltages and output VCCIO power in a unified manner; The second part is Bank1-7, which is powered by the unified VCCIO power supply and is compatible with 1.0V, 1.1V, 1.8V, 2.5V and 3.3V power domains.
3. The CPLD chip GPIO resource pooling method as claimed in claim 2, characterized in that: The method of arranging the configuration table based on the divided GPIO and importing it into the BMC, and transmitting the configuration table to the CPLD chip includes: Arrange the GPIO configuration table according to the hardware layout diagram and actual connection relationship; Convert the GPIO configuration table into a format classified according to VCCIO, and use the I2C interface to transfer the converted GPIO configuration table from the BMC to the CPLD chip; The CPLD chip receives the GPIO configuration table and parses the GPIO configuration table.
4. The CPLD chip GPIO resource pooling method as claimed in claim 3, characterized in that: The storing of the GPIO configuration table in the UFM includes: During the factory configuration of the CPLD chip, the BMC transmits the GPIO configuration table to the CPLD chip through the I2C interface and stores it in the UFM on the CPLD chip; When the CPLD chip is powered on, the GPIO configuration table in the UFM is automatically loaded, and the GPIO resources are configured based on the GPIO configuration table.
5. The CPLD chip GPIO resource pooling method as claimed in claim 4, characterized in that: The GPIO classification based on the power domain type in the GPIO configuration table includes: BMC reads the unorganized GPIO configuration table, including the bank number, pin number, pin name and corresponding VCCIO voltage of each GPIO; According to different VCCIO voltages, the configuration table data is divided into five categories: 3.3V, 1.0V, 1.1V, 1.8V, and 2.5V, and a new configuration table is generated.
6. The CPLD chip GPIO resource pooling method as claimed in claim 5, characterized in that: The real-time evaluation based on the classified GPIO signal includes: Consult the hardware specification and system design documentation to obtain the functional description of each GPIO signal; Based on the function and purpose of each GPIO signal, the priority matrix method is used to divide the GPIO signals into high real-time signals and low real-time signals according to the real-time requirements; The high real-time signal refers to a signal that requires a quick response, including a 3.3V signal and a 2.5V signal; The low real-time signal refers to a signal that requires a faster response, including a 1.0V signal, a 1.1V signal, and a 1.8V signal; The 3.3V, 1.0V, 1.1V, 1.8V and 2.5V signals in the GPIO signals are key control signals, CPU control signals, memory control signals, peripheral device communication signals and data transmission signals respectively.
7. The CPLD chip GPIO resource pooling method as claimed in claim 6, characterized in that: The time domain allocation for each type of GPIO signal includes: Set the total time period to 5ms and divide the total time period into multiple time periods; According to the results of functional analysis and real-time evaluation, a time scheduling algorithm is used to allocate time periods to different types of signals, including 3.3V signals occupying 2ms, 1.0V signals occupying 0.5ms, 1.1V signals occupying 0.5ms, 1.8V signals occupying 1ms and 2.5V signals occupying 1ms.
8. The CPLD chip GPIO resource pooling method as claimed in claim 7, characterized in that: The restoring the GPIO pin to its initial state comprises: Before switching to the next power domain, release the high impedance setting of the GPI pin of the current power domain and the output lock state of the GPO pin; Repeat the operations of "adjusting the GPI pin and GPO pin, switching the power domain to control the GPIO to sample and output the signal, and restoring the GPIO pin to the initial state".
