主权项 |
1. A signal switching circuit connected between a first peripheral component interconnect express (PCIe) connector and a second PCIe connector, the signal switching circuit comprising:
a first multiplexer comprising an input terminal, a first output terminal, a second output terminal, and an enable terminal, wherein the input terminal is connected to a first group of pins of a chipset of a motherboard, to receive a first group of PCIe signals, the first output terminal is connected to a first group of pins of the first PCIe connector, the second output terminal is connected to a first group of pins of the second PCIe connector, the enable terminal is connected to a detection pin of the first PCIe connector; and a second multiplexer comprising an input terminal, a first output terminal, a second output terminal, and an enable terminal, wherein the input terminal of the second multiplexer is connected to a second group of pins of the chipset, to receive a second group of PCIe signals, the first output terminal of the second multiplexer is connected to a second group of pins of the second PCIe connector, the second output terminal of the second multiplexer is connected to a second group of pins of the first PCIe connector, the enable terminal of the second multiplexer is connected to a detection pin of the second PCIe connector; wherein the detection pin of each of the first and second PCIe connectors outputs a first detection signal when each of the first and second PCIe connectors receives a PCIe card, the detection pin of each of the first and second PCIe connectors outputs a second detection signal when each of the first and second PCIe connectors does not receive a PCIe card, the first multiplexer receives the first or second detection signal through the enable terminal and connects the input terminal to the first or the second output terminal of the first multiplexer, to transmit the received PCIe signals to the first or the second PCIe connector, the second multiplexer receives the first or second detection signal through the enable terminal and connects the input terminal to the first or the second output terminal of the second multiplexer, to transmit the received PCIe signals to the first or the second PCIe connectors. |