1. Technical Field
The present disclosure relates to a low pin count (LPC) bus detecting system and method.
2. Description of Related Art
A typical server includes a south bridge chip, an I/O chip connected to the south bridge chip via a LPC bus, and a programmable logic device (PLD) connected to the LPC bus. The PLD detects and decodes signals transmitted by the LPC bus. The decoded data is stored in a plurality of distributed memories of the server. However, the plurality of distributed memories sometimes does not have enough storage capacity to store the decoded data.
Therefore, there is room for improvement within the art.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation. In the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
The north bridge chip 20 is connected to the CPU 10 via a front side bus (FSB). The video card 30 is connected to the north bridge chip 20 via a PCI bus. The south bridge chip 40 is connected to the north bridge chip 20 via a direct media interface (DMI). The I/O chip 40 is connected to the south bridge chip 40 via a LPC bus. The I/O chip 50 is used for connecting input/output devices, such as a keyboard, a mouse, and microphone.
The PLD 60 includes a detecting module 62 connected to the LPC bus and an Embedded Block RAM (EBR) 64 connected to the detecting module 62. The detecting module 62 includes a detecting unit 621, a decoding unit 623, and a comparing unit 625. The detecting unit 621 is used for detecting signals transmitted by the LPC bus. The decoding unit 623 is used for decoding the signals detected by the detecting unit 621 and stores decoded data in the EBR 64. The comparing unit 625 compares the decoded data with predetermined parameters. If the decoded data conforms to the predetermined parameters, there is no error data detected by the detecting module 62. If the decoded data does not conform to the predetermined parameters, there is error data detected by the detecting module 62. In one embodiment, the PLD 60 is a Complex Programmable Logic Device (CPLD) chip or a Field-Programmable Gate Array (FPGA) chip.
In block S1, the detecting unit 621 detects signals transmitted by the LPC bus.
In block S2, the detecting unit 621 determines whether the LPC bus is in a write state or in a read state.
In block S3, if the LPC bus is in the write state, the decoding unit 623 decodes signals detected by the detecting unit 621 and writes decoded data into the EBR 64.
In block S4, if the LPC bus is in the read state, the detecting module 62 reads signals from the EBR 64 and sends the signals read from the EBR 64 to the LPC bus.
In block S5, the comparing unit 625 compares the decoded data with predetermined parameters. If the decoded data conforms to the predetermined parameters, there is no error data detected by the detecting module 62. If the decoded data does not conform to the predetermined parameters, there is error data detected by the detecting module 62.
While the present disclosure has been illustrated by the description of preferred embodiments thereof, and while the preferred embodiments have been described in considerable detail, it is not intended to restrict or in any way limit the scope of the appended claims to such details. Additional advantages and modifications within the spirit and scope of the present disclosure will readily appear to those skilled in the art. Therefore, the present disclosure is not limited to the specific details and illustrative examples shown and described.
Depending on the embodiment, certain of the steps of methods described may be removed, others may be added, and the sequence of steps may be altered. It is also to be understood that the description and the claims drawn to a method may include some indication in reference to certain steps. However, any indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
2013101421446 | Apr 2013 | CN | national |