Computer mainboard based on SW platform
By connecting TCM with redundant GPIO and SPI bus on the Shenwei platform and using the NATO flip clock signal, the communication problem between the TCM chip and the CPU is solved, the normal operation of the TCM function is achieved, and the technical security requirements are met.
Patent Information
- Application Number
- CN202421922143.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2034-08-09
AI Technical Summary
The TCM chip cannot communicate normally with the CPU on the Shenwei platform, resulting in the inability to implement the TCM function.
The TCM is electrically connected to the redundant GPIO pin of the Shenwei platform CPU, transmits chip select signals, and connects TCM to transmit data through the SPI bus. At the same time, the NATO chip SN74LVC1G04DCKT is used to flip the clock signal output by the CPU and input it into TCM.
The normal communication between the TCM chip and the Shenwei platform CPU is realized, allowing the TCM function to be realized on the Shenwei platform, meeting the technical security requirements of domestic platforms.
Smart Images

Figure CN222965614U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic computers, in particular to a computer motherboard based on the Shenwei platform. Background Art
[0002] TPM (Trusted Platform Module), a trusted platform module, is a chip implanted inside a computer to provide a trusted root for the computer. The specifications of this chip are formulated by the Trusted Computing Group.
[0003] TCM (trusted cryptography module), a trusted cryptography module, is a hardware module of a trusted computing platform, providing cryptographic operation functions for the trusted computing platform and having a protected storage space. It is a domestic research in China and corresponds to TPM.
[0004] The Shenwei platform CPU is a major representative in the field of domestic CPU independent architectures. The Shenwei CPU is famous for its high-performance computing power and independently designed instruction set. Its outstanding feature is that the processor can process multiple threads simultaneously, enabling China to achieve a major breakthrough in high-performance computing. Moreover, the Shenwei CPU also plays an important role in fields such as artificial intelligence and big data, helping Chinese technology move towards the global stage.
[0005] With the increasing requirements for data security, the application of information security modules is becoming increasingly important. For example, TPM (trusted platform module) is more commonly used in the US standard, while TCM (trusted cryptography module) is used in the Chinese standard. Currently, domestic platforms in the market are successively introducing TCM designs. Based on this background, the inventor of this patent application adapted the TCM design for the Shenwei platform. However, if only practicing according to the design ideas of other domestic platforms in the past, the inventor found that the TCM chip could not communicate normally with the Shenwei platform CPU, resulting in the inability to implement this function.
[0006] Therefore, there is an urgent need to develop a computer motherboard based on the Shenwei platform to solve the problem of using TCM on the Shenwei platform. Summary of the Invention
[0007] Therefore, the purpose of the utility model is to provide a computer motherboard based on the Shenwei platform to solve the problem of using TCM on the Shenwei platform.
[0008] To achieve the above object, the utility model provides a computer motherboard based on the Shenwei platform, including: a Shenwei platform CPU, a TCM, and a NOT gate; the Shenwei platform CPU is electrically connected to the TCM via GPIO pins to transmit a chip select signal; the Shenwei platform CPU is electrically connected to the TCM via an SPI bus to transmit data; the NOT gate is electrically connected between the Shenwei platform CPU and the TCM, and the clock signal output by the Shenwei platform CPU is inverted by the NOT gate and then input into the TCM.
[0009] Among them, the NOT gate is the chip SN74LVC1G04DCKT.
[0010] Among them, the TCM is the chip Z32H330TC-SQN-755.
[0011] Among them, the reset pin of the TCM is electrically connected to the MOSFET to input a reset signal.
[0012] Among them, the MOSFET is LBSS139WT1G.
[0013] Among them, during operation, the chip select signal is kept at a low level to enable the Shenwei platform CPU to normally recognize the TCM.
[0014] In summary, the computer motherboard based on the Shenwei platform of the utility model enables the TCM to communicate with the Shenwei platform CPU normally and realizes the TCM design on the Shenwei platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The following will combine the drawings and describe the specific embodiments of the utility model in detail, and the technical solutions and other beneficial effects of the utility model will be obvious. In the drawings,
[0016] Figure 1 is the circuit block diagram of the computer motherboard based on the Shenwei platform of the utility model;
[0017] Figures 2 to 5 is the circuit diagram of the TCM and its surroundings in a preferred embodiment of the computer motherboard based on the Shenwei platform of the utility model. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] See Figure 1, which is the circuit block diagram of the computer motherboard based on the Shenwei platform of the present utility model. The computer motherboard based on the Shenwei platform of the present utility model mainly includes a Shenwei platform CPU, a TCM, and a NOT gate. Other general designs on the motherboard will not be elaborated here; the Shenwei platform CPU is electrically connected to the TCM via its redundant GPIO pins to transmit the chip CS selection signal, that is to say, different from the conventional design, the present utility model uses GPIO to simulate the CS chip selection signal; the Shenwei platform CPU is electrically connected to the TCM via the SPI bus to transmit data for data input (DI) / output (DO), and this part can be connected according to the general connection method; the NOT gate is electrically connected between the Shenwei platform CPU and the TCM. The CLK clock signal output by the Shenwei platform CPU is inverted by the NOT gate to become CLK and then input into the TCM. The clock signal output by the Shenwei platform CPU is also output via the SPI bus, that is, SPI_CLK, inverted by the NOT gate to become SPI_CLK and then input into the TCM via the SPI bus.
[0019] The present utility model uses the CPU redundant GPIO to generate the chip selection signal of the TCM, and at the same time adds a NOT gate to invert the SPI_CLK, so that the TCM chip can communicate with the Shenwei platform CPU normally, thereby meeting the requirements of the current domestic platform for technical security.
[0020] To solve the communication problem between the Shenwei platform and the TCM, the present utility model uses GPIO to simulate the CS mode in which the TCM communicates with other platform CPUs normally, keeps the CS signal low during communication, and enables the CPU to normally recognize the TCM chip. Then, the clock signal SPI_CLK output by the CPU is inverted by the NOT gate to meet the clock signal requirements of the TCM. Without this NOT gate inversion, the TCM communication will fail.
[0021] See Figures 2 to 5 , which is the circuit diagram of the TCM and its surrounding circuits in a preferred embodiment of the computer motherboard based on the Shenwei platform of the present utility model. Figure 2 For the TCM circuit diagram in this preferred embodiment, Figure 3 For the NOT gate circuit diagram connected to the TCM in this preferred embodiment, Figure 4 For the chip selection signal circuit diagram in this preferred embodiment, Figure 5For the TCM reset circuit diagram in this preferred embodiment. In this preferred embodiment, the chip Z32H330TC-SQN-755 is specifically used for TCM. The chip Z32H330TC-SQN-755 transmits chip select signals, clock signals, and data input / output signals with the CPU through SPI, where the chip select signal is simulated by the output signal of the GPIO pin of the CPU; the NOT gate specifically uses the chip SN74LVC1G04DCKT to invert the clock signal. The reset pin of the TCM is also electrically connected to the MOSFET to input the reset signal. In this preferred embodiment, the MOSFET specifically uses LBSS139WT1G, which converts the reset signal from the EC embedded controller and inputs it into the TCM to control the TCM reset.
[0022] The inventors of this application captured waveforms through an oscilloscope and a logic analyzer, and finally completed the TCM design based on the Shenwei platform. After completing the above configuration, it can be seen from the serial port tool that the CPU and the TCM communicate normally. After entering the operating system subsequently, the TCM can be used normally, thus achieving the effect of protecting data security.
[0023] In summary, the computer motherboard of the present utility model based on the Shenwei platform enables the TCM to communicate normally with the Shenwei platform CPU and realizes the TCM design on the Shenwei platform.
[0024] As described above, for those of ordinary skill in the art, various corresponding changes and deformations can be made according to the technical solutions and technical concepts of the present utility model, and all these changes and deformations should fall within the protection scope of the appended claims of the present utility model.
Claims
1. A computer motherboard based on the Shenwei platform, characterized in that: include: Shenwei platform CPU, TCM, and NOT gate; the Shenwei platform CPU is electrically connected to TCM via GPIO pin to transmit chip selection signal; The Shenwei platform CPU is electrically connected to the TCM via the SPI bus to transmit data; the NOT gate is electrically connected between the Shenwei platform CPU and the TCM, and the clock signal output by the Shenwei platform CPU is input into the TCM after being flipped by the NOT gate.
2. The computer motherboard based on the Shenwei platform as claimed in claim 1, characterized in that: The NOT gate is a chip SN74LVC1G04DCKT.
3. The computer motherboard based on the Shenwei platform as claimed in claim 1, characterized in that: The TCM is chip Z32H330TC-SQN-755.
4. The computer motherboard based on the Shenwei platform as claimed in claim 1, characterized in that: The reset pin of the TCM is electrically connected to the MOSFET to input a reset signal.
5. The computer motherboard based on the Shenwei platform as claimed in claim 4, characterized in that: The MOSFET is LBSS139WT1G.
6. The computer motherboard based on the Shenwei platform as claimed in claim 1, characterized in that: When working, the chip select signal is kept at a low level so that the Shenwei platform CPU can normally recognize the TCM.