1. Technical field
The disclosure generally relates to switch systems, and particularly to a switch system for dual central processing units (CPUs) of an electronic device.
2. Description of the Related Art
To improve operation efficiency and stability, electronic devices such as servers often employ dual central processing units (CPUs). The dual CPUs are electrically interconnected through a quick path interconnect (QPI) bus. The main CPU of the two CPUs is usually used as a bootstrap processor (BSP), and is electrically connected to a platform controller hub (PCH) through a direct media interface (DMI) bus.
However, with such connections, the dual CPUs are only able to execute bootstrap programs normally when the BSP is installed on a motherboard of the electronic device. When the BSP is not installed on the motherboard, even if the other CPU works properly, the dual CPUs are unable to execute the bootstrap programs normally.
Therefore, there is room for improvement within the art.
Many aspects of an exemplary switch system for dual central processing units can be better understood with reference to the drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure.
The switch system 100 includes a first CPU 10, a second CPU 20, a first switch unit 30, a microcontroller 40, and a second switch unit 50. Both the first CPU 10 and the second CPU 20 are electronically connected to the first switch unit 30 and the second switch unit 50 via a direct media interface (DMI) bus; and the first switch unit 30 and the second switch unit 50 are both electronically connected to the microcontroller 40. Thus, the first CPU 10 and the second CPU 20 can communicate with the microcontroller 40.
Referring to
The second CPU 20 is electronically connected to the first CPU 10 via a quick path interconnect (QPI) bus. The second CPU 20 includes signal transmission pins CPU2-TX-DP0, CPU2-TX-DP1, CPU2-TX-DP2, CPU2-TX-DP3, CPU2-TX-DN0, CPU2-TX-DN1, CPU2-TX-DN2, CPU2-TX-DN3, and signal receiving pins CPU2-RX-DP0, CPU2-RX-DP1, CPU2-RX-DP2, CPU2-RX-DP3, CPU2-RX-DN0, CPU2-RX-DN1, CPU2-RX-DN2, CPU2-RX-DN3. The signal transmission pins CPU2-TX-DP0, CPU2-TX-DP1, CPU2-TX-DP2, CPU2-TX-DP3, CPU2-TX-DN0, CPU2-TX-DN1, CPU2-TX-DN2, CPU2-TX-DN3 are electronically connected to the first switch unit 30, to output the first data signals to the first switch unit 30. The signal receiving pins CPU2-RX-DP0, CPU2-RX-DP1, CPU2-RX-DP2, CPU2-RX-DP3, CPU2-RX-DN0, CPU2-RX-DN1, CPU2-RX-DN2, CPU2-RX-DN3 are electronically connected to the second switch unit 50, to receive the second data signals fed back from the microcontroller 40.
In one exemplary embodiment, the first switch unit 30 is a multiplexer. The first switch unit 30 transmits the first data signals output from the first CPU 10 or the second CPU 20 to the microcontroller 40 according to the identification signal CPU1-skt.
The first switch unit 30 includes signal input pins C0-P, C0-N, C1-P, C1-N, C2-P, C2-N, C3-P, C3-N, B0-P, B0-N, B1-P, B1-N, B2-P, B2-N, B3-P, B3-N, and signal output pins A0-P, A0-N, A1-P, A1-N, A2-P, A2-N, A3-P, A3-N. The signal input pins C0-P, C0-N, C1-P, C1-N, C2-P, C2-N, C3-P, C3-N are respectively electronically connected to the signal transmission pins CPU1-TX-DP0, CPU1-TX-DP1, CPU1-TX-DP2, CPU1-TX-DP3, CPU1-TX-DN0, CPU1-TX-DN1, CPU1-TX-DN2, CPU1-TX-DN3 of the first CPU 10, to receive the first data signals. The signal input pins B0-P, B0-N, B1-P, B1-N, B2-P, B2-N, B3-P, B3-N are respectively electronically connected to the signal transmission pins CPU2-TX-DP0, CPU2-TX-DP1, CPU2-TX-DP2, CPU2-TX-DP3, CPU2-TX-DN0, CPU2-TX-DN1, CPU2-TX-DN2, and CPU2-TX-DN3 of the second CPU 20, to receive the first data signals.
The first switch unit 30 further includes a selection pin SEL that is electronically connected to the identification pin SKT of the first CPU 10. When the selection pin SEL receives the identification signal CPU1-skt output from the identification pin SKT, the first switch unit 30 controls the signal input pins C0-P, C0-N, C1-P, C1-N, C2-P, C2-N, C3-P, C3-N to electronically connect to the signal output pins A0-P, A0-N, A1-P, A1-N, A2-P, A2-N, A3-P, A3-N, respectively. Thus, the first switch unit 30 outputs the first data signals output from the first CPU 10 via the signal output pins A0-P, A0-N, A1-P, A1-N, A2-P, A2-N, A3-P, A3-N. In contrast, when the selection pin SEL does not receive the identification signal CPU1-skt output from the identification pin SKT, the first switch unit 30 controls the signal input pins B0-P, B0-N, B1-P, B1-N, B2-P, B2-N, B3-P, B3-N to electronically connect to the signal output pins A0-P, A0-N, A1-P, A1-N, A2-P, A2-N, A3-P, A3-N, respectively. Thus, the first switch unit 30 outputs the first data signals output from the second CPU 20 via the signal output pins A0-P, A0-N, A1-P, A1 -N, A2-P, A2-N, A3-P, A3-N.
In one exemplary embodiment, the microcontroller 40 is a platform controller hub (PCH). The microcontroller 40 receives the first data signals transmitted by the first switch unit 30, and feeds back the second data signals to the first CPU 10 or the second CPU 20 via the second switch unit 50. Thus, the microcontroller 40 can communicate with the first CPU 10 or/and the second CPU 20.
The microcontroller 40 includes signal collection pins RXP0, RXN0, RXP1, RXN1, RXP2, RXN2, RXP3, RXN3, and signal feedback pins TXP0, TXN0, TXP1, TXN1, TXP2, TXN2, TXP3, TXN3. The signal collection pins RXP0, RXN0, RXP1, RXN1, RXP2, RXN2, RXP3, RXN3 are respectively electronically connected to the signal output pins A0-P, A0-N, A1-P, A1-N, A2-P, A2-N, A3-P, A3-N, to receive the first data signals. The signal feedback pins TXP0, TXN0, TXP1, TXN1, TXP2, TXN2, TXP3, TXN3 are electronically connected to the second switch unit 50, to feed back the second data signals.
In one exemplary embodiment, the second switch unit 50 is a multiplexer. The second switch unit 50 transmits the second data signals output from the microcontroller 40 to the first CPU 10 or the second CPU 20 according to the identification signal CPU1-skt.
The second switch unit 50 includes signal input pins D0-P, D0-N, D1-P, D1-N, D2-P, D2-N, D3-P, D3-N, and signal output pins E0-P, E0-N, E1-P, E1-N, E2-P, E2-N, E3-P, E3-N, F0-P, F0-N, F1-P, F1-N, F2-P, F2-N, F3-P, F3-N. The signal input pins D0-P, D0-N, D1-P, D1-N, D2-P, D2-N, D3-P, D3-N are respectively electronically connected to the signal feedback pins TXP0, TXN0, TXP1, TXN1, TXP2, TXN2, TXP3, TXN3 of the microcontroller 40, to receive the second data signals. The signal output pins E0-P, E0-N, E1-P, E1-N, E2-P, E2-N, E3-P, E3-N are respectively electronically connected to the signal receiving pins CPU1-RX-DP0, CPU1-RX-DP1, CPU1-RX-DP2, CPU1-RX-DP3, CPU1-RX-DN0, CPU1-RX-DN1, CPU1-RX-DN2, CPU1-RX-DN3 of the CPU 10. The signal output pins F0-P, F0-N, F1-P, F1-N, F2-P, F2-N, F3-P, F3-N are respectively electronically connected to the signal receiving pins CPU2-RX-DP0, CPU2-RX-DP1, CPU2-RX-DP2, CPU2-RX-DP3, CPU2-RX-DN0, CPU2-RX-DN1, CPU2-RX-DN2, CPU2-RX-DN3 of the second CPU 20.
The second switch unit 50 further includes a selection pin SEL that is electronically connected to the identification pin SKT of the first CPU 10. When the selection pin SEL receives the identification signal CPU1-skt output from the identification pin SKT, the second switch unit 50 controls the signal input pins D0-P, D0-N, D1-P, D1-N, D2-P, D2-N, D3-P, D3-N to electronically connect to the signal output pins E0-P, E0-N, E1-P, E1-N, E2-P, E2-N, E3-P, E3-N, respectively. Thus, the second switch unit 50 outputs the second data signals output to the first CPU 10. In contrast, when the selection pin SEL does not receive the identification signal CPU1-skt output from the identification pin SKT, the second switch unit 50 controls the signal input pins D0-P, D0-N, D1-P, D1-N, D2-P, D2-N, D3-P, D3-N to electronically connect to the signal output pins F0-P, F0-N, F1-P, F1-N, F2-P, F2-N, F3-P, F3-N, respectively. Thus, the second switch unit 50 outputs the second data signals to the second CPU 20.
In use of the switch system 100, when only the first CPU 10 is installed on the motherboard 220 or both the first CPU 10 and the second CPU 20 are installed on the motherboard 220, the identification pin SKT outputs the identification signal CPU1-skt. The first switch unit 30 and the second switch unit 50 automatically switch in response to receiving the identification signal CPU1-skt. The first CPU 10 outputs the first data signals to the microcontroller 40 via the first switch unit 30, and the microcontroller 40 feeds back the second data signals to the first CPU 10 via the second switch unit 50.
Thus, effective communication between the microcontroller 40 and the first CPU 10 is enabled. Then, the first CPU 10 executes bootstrap programs normally, or the first CPU 10 and the second CPU 20 execute bootstrap programs normally, to facilitate startup of the electronic device 200.
When only the second CPU 20 is installed on the motherboard 220, the first switch unit 30 and the second switch unit 50 automatically switch in response to not receiving the identification signal CPU1-skt. The second CPU 20 outputs the first data signals to the microcontroller 40 via the first switch unit 30, and the microcontroller 40 feeds back the second data signals to the second CPU 20 via the second switch unit 50. Thus, direct communication between the microcontroller 40 and the second CPU 20 is enabled, and then the second CPU 20 executes bootstrap programs normally to facilitate startup of the electronic device 200.
The first switch unit 30 and the second switch unit 50 can determine whether the first CPU 10 used as the BSP is installed on the motherboard 220, and provide different transmission routes for the first data signals and the second data signals according to the determination of the relationship of the first CPU 10 to the motherboard 220. Then, both the first CPU 10 and the second CPU 20 can communicate with the microcontroller 40 via the first switch unit 30 and the second switch unit 50. Thus, even if the first CPU 10 used as the BSP is not installed on the motherboard 220, the switch system 100 can still allow the bootstrap programs to be executed normally through the second CPU 20. Therefore, the switch system 100 is not only automatic, but also efficient and convenient.
It is to be understood, however, that even though numerous characteristics and advantages of the exemplary embodiments have been set forth in the foregoing description, together with details of the structures and functions of the exemplary embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in the matters of arrangement of parts within the principles of the disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
201110414544.9 | Dec 2011 | CN | national |