TWI793548B - Circuit structure and method for automatically adjusting pcie channel configuration - Google Patents
Circuit structure and method for automatically adjusting pcie channel configuration Download PDFInfo
- Publication number
- TWI793548B TWI793548B TW110109334A TW110109334A TWI793548B TW I793548 B TWI793548 B TW I793548B TW 110109334 A TW110109334 A TW 110109334A TW 110109334 A TW110109334 A TW 110109334A TW I793548 B TWI793548 B TW I793548B
- Authority
- TW
- Taiwan
- Prior art keywords
- pcie
- configuration information
- channel
- riser
- cards
- Prior art date
Links
Images
Abstract
Description
本發明係關於一種自動調整配置設定之電路結構與方法,尤其是指一種自動調整PCIe通道配置之電路結構與方法。The present invention relates to a circuit structure and method for automatically adjusting configuration settings, in particular to a circuit structure and method for automatically adjusting PCIe channel configuration.
在現有的伺服器系統中,通常主機板上會提供多個PCIe槽位來讓使用者安裝PCIe裝置,且主機板上的EEPROM還會預先儲存有PCIe槽位的配置資訊,藉以供作業系統依據PCIe槽位的配置資訊來分配PCIe槽位與CPU的PCIe通道,藉此就不會有識別不到PCIe裝置的問題。然而,由於近年來網路產業蓬勃發展,因此對於伺服器的處理能力需求也越來越高,為了讓伺服器的性能更加提升,伺服器系統的廠商在新推出的作業系統中,使用了多個Slimline X8的連接器作為PCIe連接埠來取代原有的PCIe槽位,藉以透過移除PCIe槽位所節省的空間來設置更多的Slimline X8連接器或其他元件。In the existing server system, there are usually multiple PCIe slots on the motherboard to allow users to install PCIe devices, and the EEPROM on the motherboard will also pre-store the configuration information of the PCIe slots for the operating system to use. The configuration information of the PCIe slot is used to allocate the PCIe slot and the PCIe channel of the CPU, so that there will be no problem that the PCIe device cannot be recognized. However, due to the vigorous development of the network industry in recent years, the demand for processing power of the server is also increasing. In order to improve the performance of the server, the manufacturer of the server system uses multiple A Slimline X8 connector is used as a PCIe port to replace the original PCIe slot, so that more Slimline X8 connectors or other components can be set by removing the space saved by the PCIe slot.
如第一圖所示,第一圖係顯示先前技術之伺服器主機板透過PCIe連接埠連接轉接卡之系統方塊圖。如圖所示,一主機板PA100包含一CPLD模組PA1、一X4連接埠PA2、一X8連接埠PA3與一X16連接埠PA4。其中,X4連接埠PA2是用於插接PCIe傳輸線,進而電性連結於一具有一X4 PCIe插槽之轉接卡;X8連接埠PA3是用於插接PCIe傳輸線,進而電性連結於一具有一X8 PCIe插槽之轉接卡;X16連接埠PA4是用於插接PCIe傳輸線,進而電性連結於一具有一X16 PCIe插槽之轉接卡。As shown in the first figure, the first figure shows a system block diagram of a prior art server motherboard connected to an adapter card through a PCIe port. As shown in the figure, a motherboard PA100 includes a CPLD module PA1, an X4 connection port PA2, an X8 connection port PA3 and an X16 connection port PA4. Among them, the X4 connection port PA2 is used for inserting the PCIe transmission line, and then electrically connected to an adapter card with an X4 PCIe slot; the X8 connection port PA3 is used for inserting the PCIe transmission line, and then electrically connected to a riser card with an X4 PCIe slot; A riser card with an X8 PCIe slot; the X16 port PA4 is used for inserting a PCIe transmission line, and then electrically connected to a riser card with an X16 PCIe slot.
承上所述,X4連接埠PA2、X8連接埠PA3與X16連接埠PA4皆為Slimline X8連接器,藉此,X4連接埠PA2、X8連接埠PA3與X16連接埠PA4可以透過PCIe傳輸線分別對接至轉接卡PA200之X4 PCIe插槽PA201、轉接卡PA300之X8 PCIe插槽PA301與轉接卡PA400之X16 PCIe插槽PA401;其中,X16連接埠PA4例如是使用兩個Slimline X8連接器與兩個X8通道的PCIe傳輸線來連接至轉接卡上的兩個Slimline X8連接器,進而使X16 PCIe插槽可以X16通道電性連結至CPLD模組PA1。Based on the above, X4 port PA2, X8 port PA3, and X16 port PA4 are all Slimline X8 connectors, so that X4 port PA2, X8 port PA3, and X16 port PA4 can be respectively connected to The X4 PCIe slot PA201 of the riser card PA200, the X8 PCIe slot PA301 of the riser card PA300, and the X16 PCIe slot PA401 of the riser card PA400; among them, the X16 port PA4 uses two Slimline X8 connectors and two An X8-channel PCIe transmission cable is used to connect to the two Slimline X8 connectors on the riser card, so that the X16 PCIe slot can be electrically connected to the CPLD module PA1 through the X16 channel.
然而,由於在現有技術中,CPLD模組PA1仍是讀取EEPROM所預存的PCIe槽位配置資訊來決定X4連接埠PA2、X8連接埠PA3與X16連接埠PA4的通道數,因此X4連接埠PA2只能透過PCIe傳輸線連接至通道相符合的轉接卡,X8連接埠PA3只能透過PCIe傳輸線連接至通道相符合的轉接卡,而X16連接埠PA4也只能透過PCIe傳輸線連接至通道相符合的轉接卡。由此可知,當X4連接埠PA2、X8連接埠PA3與X16連接埠PA4其中任一者沒有連接到通道相符的轉接卡時,便會造成主機板PA100無法正常運行,這種情況在PCIe連接埠的數量較多時特別容易發生,使用者很容易因為連接PCIe連接埠的PCIe傳輸線都相同而插接錯轉接卡。However, in the prior art, the CPLD module PA1 still reads the PCIe slot configuration information pre-stored in the EEPROM to determine the number of channels of the X4 connection port PA2, the X8 connection port PA3 and the X16 connection port PA4, so the X4 connection port PA2 It can only be connected to the riser card with the corresponding channel through the PCIe transmission cable, the X8 port PA3 can only be connected to the riser card with the corresponding channel through the PCIe transmission cable, and the X16 port PA4 can only be connected to the corresponding channel through the PCIe transmission cable riser card. It can be seen that when any of the X4 port PA2, X8 port PA3, and X16 port PA4 is not connected to a riser card that matches the channel, it will cause the motherboard PA100 to fail to operate normally. It is especially easy to happen when the number of ports is large, and it is easy for users to plug in the wrong riser card because the PCIe transmission lines connecting the PCIe ports are all the same.
有鑒於在先前技術中,現有伺服器所採用的主機板為了減少PCIe槽位所佔用的空間,主要是利用Slimline X8連接器作為PCIe連接埠,並配合PCIe傳輸線來連接PCIe轉接卡,然而當PCIe連接埠的數量較多時,與其配合的PCIe傳輸線數量也較多,此時使用者便很容易因為PCIe傳輸線的規格皆相同而錯接至規格不符的轉接卡,進而導致伺服器主機無法正常運作;緣此,本發明的主要目的在於提供一種自動調整PCIe通道配置之電路結構,可以不用限制每個PCIe連接埠的通道規格,而是在PCIe傳輸線連接至PCIe轉接卡後再分配每個PCIe連接埠的通道。In view of the prior art, in order to reduce the space occupied by the PCIe slots, the motherboard used in the existing server mainly uses the Slimline X8 connector as the PCIe connection port, and cooperates with the PCIe transmission line to connect the PCIe riser card. When the number of PCIe ports is large, the number of PCIe transmission lines that are compatible with them is also large. At this time, it is easy for users to mistakenly connect to a riser card with inconsistent specifications because the specifications of the PCIe transmission lines are all the same, which will cause the server host to fail. normal operation; for this reason, the main purpose of the present invention is to provide a circuit structure for automatically adjusting PCIe channel configuration, without limiting the channel specification of each PCIe connection port, but after the PCIe transmission line is connected to the PCIe adapter card and then assigning each channel for each PCIe port.
本發明為解決先前技術之問題,所採用的必要技術手段是提供一種自動調整PCIe通道配置之電路結構,包含複數個PCIe轉接卡(Riser)以及一主機板。In order to solve the problems of the prior art, the necessary technical means adopted by the present invention is to provide a circuit structure for automatically adjusting the configuration of PCIe channels, including a plurality of PCIe riser cards (risers) and a motherboard.
複數個PCIe轉接卡至少包含兩種通道規格之PCIe轉接卡,每一種通道規格之PCIe轉接卡具有一PCIe規格識別碼。The plurality of PCIe riser cards include PCIe riser cards of at least two channel specifications, and each PCIe riser card of a channel specification has a PCIe specification identification code.
主機板包含複數個PCIe連接埠、一CPLD模組、一儲存單元、一BMC模組以及一BIOS單元。複數個PCIe連接埠係透過複數個PCIe傳輸線分別對應地電性連結於PCIe轉接卡,且每一PCIe連接埠具有一在位引腳。CPLD模組係電性連結於PCIe連接埠,用以讀取經由PCIe連接埠所傳遞之對應於PCIe轉接卡之PCIe規格識別碼,以及讀取經由PCIe連接埠之在位引腳所傳遞之複數個在位訊號(Present),並依據一PCIe規格對照表比對出一對應於PCIe轉接卡之當前配置資訊。The motherboard includes a plurality of PCIe ports, a CPLD module, a storage unit, a BMC module and a BIOS unit. A plurality of PCIe connection ports are respectively electrically connected to the PCIe riser card through a plurality of PCIe transmission lines, and each PCIe connection port has a positioning pin. The CPLD module is electrically connected to the PCIe port, and is used to read the PCIe specification identification code corresponding to the PCIe riser card transmitted through the PCIe port, and to read the PCIe specification identification code transmitted through the in-position pin of the PCIe port. A plurality of present signals (Present) are compared to a current configuration information corresponding to the PCIe riser card according to a PCIe specification comparison table.
儲存單元係儲存有一PCIe預設配置資訊。BMC模組係電性連結於CPLD模組與儲存單元,係用以比對當前配置資訊與PCIe預設配置資訊是否相符,並在當前配置資訊與PCIe預設配置資訊相符時,發送出一配對相符信號。BIOS單元係電性連結於BMC模組,用以在接收到配對相符信號時,依據當前配置資訊調整PCIe通道之配置而開機運作。The storage unit stores a piece of PCIe default configuration information. The BMC module is electrically connected to the CPLD module and the storage unit, and is used to compare whether the current configuration information matches the PCIe default configuration information, and sends a pairing when the current configuration information matches the PCIe default configuration information match signal. The BIOS unit is electrically connected to the BMC module, and is used to adjust the configuration of the PCIe channel according to the current configuration information to start the operation when receiving the matching signal.
在上述必要技術手段所衍生之一附屬技術手段中,BMC模組係從當前配置資訊中解析出一PCIe轉接卡總數與一PCIe通道總數,並在PCIe轉接卡總數與PCIe通道總數分別與預設之一支援轉接卡總數以及一支援通道總數相符時,發送出配對相符信號。In one of the auxiliary technical means derived from the above necessary technical means, the BMC module analyzes the total number of PCIe riser cards and the total number of PCIe channels from the current configuration information, and compares the total number of PCIe riser cards and the total number of PCIe channels with the total number of When the total number of a default supported riser card matches the total number of a supported channel, a match signal is sent.
在上述必要技術手段所衍生之一附屬技術手段中,PCIe傳輸線皆為Slimline SAS (SFF-8654) 8-Lane規格之傳輸線。In one of the auxiliary technical means derived from the above-mentioned necessary technical means, the PCIe transmission lines are all Slimline SAS (SFF-8654) 8-Lane transmission lines.
在上述必要技術手段所衍生之一附屬技術手段中,PCIe轉接卡係以三個在位引腳所傳送出之ID碼作為PCIe規格識別碼。In an auxiliary technical means derived from the above-mentioned necessary technical means, the PCIe riser card uses the ID codes transmitted by the three existing pins as the PCIe specification identification codes.
本發明所採用之另一必要技術手段是提供一種自動調整PCIe通道配置之方法,包含以下步驟( A)至步驟( E)。步驟(A)是利用複數個PCIe傳輸線將複數個PCIe轉接卡(Riser)電性連結於複數個PCIe連接埠。步驟( B)PCIe轉接卡透過PCIe傳輸線分別將一PCIe規格識別碼傳送至PCIe連接埠。步驟( C)是PCIe連接埠將PCIe轉接卡之PCIe規格識別碼與PCIe連接埠所提供之一在位訊號(Present)傳送至一CPLD模組。步驟( D)是CPLD模組依據一PCIe規格對照表比對PCIe轉接卡之PCIe規格識別碼與PCIe連接埠之在位訊號而產生一對應於PCIe轉接卡之當前配置資訊,並將當前配置資訊傳送至一BMC模組。步驟( E)是BMC模組比對當前配置資訊與一PCIe預設配置資訊是否相符,並在當前配置資訊與PCIe預設配置資訊相符時,發送出一配對相符信號至一BIOS單元,使BIOS單元依據當前配置資訊調整PCIe通道之配置而開機運作。 Another necessary technical means adopted by the present invention is to provide a method for automatically adjusting PCIe channel configuration, including the following steps ( A ) to ( E ). Step (A) is to use a plurality of PCIe transmission lines to electrically connect a plurality of PCIe riser cards (Risers) to a plurality of PCIe ports. Step ( B ) The PCIe riser card transmits a PCIe specification identification code to the PCIe connection port respectively through the PCIe transmission line. Step ( C ) is that the PCIe port transmits the PCIe specification identification code of the PCIe riser card and a present signal (Present) provided by the PCIe port to a CPLD module. Step ( D ) is that the CPLD module generates a current configuration information corresponding to the PCIe riser card by comparing the PCIe specification identification code of the PCIe riser card and the presence signal of the PCIe port according to a PCIe specification comparison table, and sends the current The configuration information is sent to a BMC module. Step ( E ) is that the BMC module compares whether the current configuration information is consistent with a PCIe default configuration information, and sends a matching signal to a BIOS unit when the current configuration information matches the PCIe default configuration information, so that the BIOS The unit adjusts the configuration of the PCIe channel according to the current configuration information and starts to operate.
在上述必要技術手段所衍生之一附屬技術手段中,PCIe轉接卡係在接收到PCIe裝置所傳送之在位信號後,以三個在位引腳傳送出ID碼。In an auxiliary technical means derived from the above-mentioned necessary technical means, the PCIe riser card transmits an ID code through three in-position pins after receiving the in-position signal transmitted by the PCIe device.
如上所述,由於本發明是利用CPLD模組讀取對應於PCIe轉接卡之PCIe規格識別碼與PCIe連接埠所傳遞之在位訊號,進而比對出一當前配置資訊,並進一步判斷當前配置資訊與PCIe預設配置資訊是否相符而驅使BIOS單元依據當前配置資訊調整PCIe通道之配置而開機運作。As mentioned above, because the present invention uses the CPLD module to read the PCIe specification identification code corresponding to the PCIe riser card and the in-position signal transmitted by the PCIe connection port, and then compares a current configuration information, and further judges the current configuration Whether the information is consistent with the PCIe default configuration information drives the BIOS unit to adjust the configuration of the PCIe channel according to the current configuration information to start operation.
本發明所採用的具體實施例,將藉由以下之實施例及圖式作進一步之說明。The specific embodiments adopted by the present invention will be further described by the following embodiments and drawings.
請參閱第二圖與第三圖,第二圖係顯示本發明較佳實施例所提供之自動調整PCIe通道配置之電路結構之系統方塊圖,第三圖係顯示本發明較佳實施例所提供之自動調整PCIe通道配置之電路結構之電路示意圖。如第二圖與第三圖所示,一種自動調整PCIe通道配置之電路結構100包含複數個PCIe轉接卡(Riser)1、2與3(本實施例中僅以三個舉例說明)以及一主機板4。其中,雖然在本實施例中,僅以三個PCIe轉接卡1、2與3舉例說明,但實際上則不限於此。此外,在本實施例中,PCIe轉接卡1、2與3分別對應於一種通道規格而分別具有一PCIe規格識別碼,PCIe規格識別碼是用來識別PCIe轉接卡1、2或3具有X4、X8或X16等PCIe通道。Please refer to the second figure and the third figure, the second figure shows the system block diagram of the circuit structure for automatically adjusting the PCIe channel configuration provided by the preferred embodiment of the present invention, and the third figure shows the system block diagram provided by the preferred embodiment of the present invention The circuit schematic diagram of the circuit structure for automatically adjusting the PCIe channel configuration. As shown in the second and third figures, a
主機板4包含複數個PCIe連接埠(第二圖中僅標示一個PCIe連接埠41示意)、一CPLD模組42(圖中僅標示CPLD示意)、一儲存單元43、一BMC模組44(圖中僅標示BMC示意)以及一PCH模組45(圖中僅標示PCH示意)。Motherboard 4 includes a plurality of PCIe ports (only one
如第二圖所示,複數個PCIe連接埠41係透過複數個PCIe傳輸線C1、C2與C3(圖中僅標示三個)分別對應地電性連結於PCIe轉接卡1、2與3,而PCIe轉接卡1、2與3是分別用以連接PCIe裝置200、300與400。在本實施例中PCIe傳輸線C1、C2與C3皆為Slimline SAS 8-Lane規格(符合SFF-8654標準)之傳輸線。As shown in the second figure, a plurality of
CPLD模組42是電性連結於多個PCIe連接埠41,用以讀取經由PCIe連接埠41所傳遞之對應於PCIe轉接卡1、2或3之PCIe規格識別碼,以及讀取經由PCIe連接埠41所傳遞之複數個在位訊號(Present),並依據一PCIe規格對照表比對出一對應於PCIe轉接卡1、2與3之當前配置資訊。The
承上所述,本實施例之PCIe規格對照表例如為以下表一:
儲存單元43係儲存有一PCIe預設配置資訊431。BMC模組44是電性連結於CPLD模組42與儲存單元43,用以從當前配置資訊中解析出一PCIe轉接卡總數與一PCIe通道總數,並在PCIe轉接卡總數與PCIe通道總數分別與PCIe預設配置資訊431所預設之一支援轉接卡總數以及一支援通道總數相符時,發送出一配對相符信號。PCH模組45是電性連結於BMC模組44,並內建有一BIOS單元451(圖中僅標示BIOS示意),BIOS單元451是用以在PCH模組45接收到配對相符信號時,依據當前配置資訊調整PCIe通道之配置而開機運作。The
請繼續參閱第四圖,第四圖係顯示本發明較佳實施例所提供之自動調整PCIe通道配置之電路結構之平面示意圖。如第二圖至第四圖所示,PCIe連接埠41在第三圖之電路示意圖中是以三個PCIe連接埠41a、41b與41c為例進行說明,且在本實施例中,PCIe轉接卡1具有一X8 PCIe插槽11,PCIe轉接卡2具有一X8 PCIe插槽21,PCIe轉接卡3具有一X4 PCIe插槽31與一X16 PCIe插槽32。Please continue to refer to the fourth figure. The fourth figure is a schematic plan view showing the circuit structure for automatically adjusting the PCIe channel configuration provided by the preferred embodiment of the present invention. As shown in the second figure to the fourth figure, the
如上所述,在實際運用上,由於PCIe轉接卡1具有一X8 PCIe插槽11,因此PCIe轉接卡1是內建有對應於X8 PCIe插槽11之PCIe規格識別碼。在本實施例中,PCIe轉接卡1之PCIe規格識別碼是透過ID0、ID1與ID2等三個ID碼來作為PCIe規格識別碼,而PCIe轉接卡1之三個ID碼是透過PCIe轉接卡1之X8 PCIe插槽11的在位引腳(X8 Present)接收PCIe裝置200所傳送的在位信號,進而以ID0、ID1與ID2三個在位引腳(Present)傳送出ID碼,且PCIe轉接卡1之三個ID碼在本實施例中為010,依據上述之PCIe規格對照表即可得知,PCIe轉接卡1之PCIe規格識別碼為010時是對應到X8通道之規格。As mentioned above, in practice, since the
同上,PCIe轉接卡2具有一X8 PCIe插槽21,因此PCIe轉接卡2也是內建有對應於X8 PCIe插槽21之PCIe規格識別碼。在本實施例中,PCIe轉接卡2之PCIe規格識別碼同樣是透過ID0、ID1與ID2等三個ID碼來作為PCIe規格識別碼,而PCIe轉接卡2之三個ID碼是透過PCIe轉接卡2之X8 PCIe插槽21的在位引腳(X8 Present)接收PCIe裝置300所傳送的在位信號,進而以ID0、ID1與ID2三個在位引腳傳送出ID碼,且PCIe轉接卡2之三個ID碼在本實施例中同樣為010,依據上述之PCIe規格對照表即可得知,PCIe轉接卡2之PCIe規格識別碼為010時是對應到X8通道之規格。As above, the
此外,PCIe轉接卡3具有一X4 PCIe插槽31與一X16 PCIe插槽32,因此PCIe轉接卡3內建有對應於X4 PCIe插槽31與X16 PCIe插槽32之PCIe規格識別碼。在本實施例中,PCIe轉接卡3之PCIe規格識別碼是透過ID0、ID1與ID2等三個ID碼來作為PCIe規格識別碼,而PCIe轉接卡3之三個ID碼是透過PCIe轉接卡3之X4 PCIe插槽31的在位引腳(X4 Present)與X16 PCIe插槽32的在位引腳(X16 Present)接收到PCIe裝置400所傳送的在位信號,進而以ID0、ID1與ID2三個在位引腳傳送出ID碼,且PCIe轉接卡3之三個ID碼在本實施例中為101,依據上述之PCIe規格對照表即可得知,PCIe轉接卡3之PCIe規格識別碼為101時是對應到X4通道+X16通道之規格。其中,由於PCIe轉接卡3具有X4 PCIe插槽31與X16 PCIe插槽32,因此PCIe裝置400實際上為一個X4通道規格之PCIe裝置(圖未示)與一個X16通道規格之PCIe裝置(圖未示)。實際上,由於PCIe轉接卡3與PCIe連接埠41c之間的連結是透過PCIe傳輸線C3進行信號的傳輸,而PCIe傳輸線C3在本實施例中為X8通道之傳輸規格,因此需要三條PCIe傳輸線C3來將PCIe轉接卡3分別連接至三個PCIe連接埠41c(一條PCIe傳輸線C3對應到X4通道規格之PCIe裝置,另外兩條PCIe傳輸線C3對應到X16通道規格之PCIe裝置)。In addition, the
承上所述,由於在本實施例中,主要是透過五個PCIe連接埠(一個PCIe連接埠41a、一個PCIe連接埠41b與三個PCIe連接埠41c)來連接三個PCIe轉接卡1、 2與3,因此PCIe連接埠41a、41b與41c之間可以透過PCIe傳輸線C1、C2與C3之在位訊號(Present)的電壓值差異作識別,例如PCIe傳輸線C1之在位訊號的電壓值為0.3v,PCIe傳輸線C2之在位訊號的電壓值為0.42v,PCIe傳輸線C3之在位訊號的電壓值為0.67v,然後再加上會有三個0.67v之在位訊號,即可判斷出有三組PCIe傳輸線C3。Based on the above, in this embodiment, the three
請繼續參閱第二圖至第四圖,如第二圖至第四圖所示,在CPLD模組42透過PCIe連接埠41(包含41a、41b與41c),接收到PCIe轉接卡1、2與3所傳送對應於PCIe規格識別碼之ID碼與PCIe傳輸線C1、C2與C3之在位訊號後,CPLD模組42依據PCIe規格對照表所比對出對應於PCIe轉接卡1、2與3之當前配置資訊為2組X8通道、一組X4通道與一組X16通道,此時CPLD模組42會將當前配置資訊傳送至BMC模組44,再由BMC模組44比對當前配置資訊(PCIe轉接卡總數與PCIe通道總數)與PCIe預設配置資訊431(支援轉接卡總數與支援通道總數)是否相同,並在比對相同時發出配對相符信號44s至PCH模組45,使BIOS單元451據以開機運作。Please continue to refer to the second figure to the fourth figure. As shown in the second figure to the fourth figure, the
整體來說,在上述之自動調整PCIe通道配置之電路結構100的基礎下,本發明之自動調整PCIe通道配置之方法主要是先利用複數個PCIe傳輸線C1、C2與C3將複數個PCIe轉接卡1、2與3分別電性連結於複數個PCIe連接埠41a、41b與41c;接著再使PCIe轉接卡1、2與3透過PCIe傳輸線C1、C2與C3分別將PCIe規格識別碼傳送至PCIe連接埠41a、41b與41c;然後,PCIe連接埠41a、41b與41c會再將PCIe轉接卡1、2與3之PCIe規格識別碼與PCIe連接埠41a、41b與41c所提供之在位訊號傳送至CPLD模組42;之後,CPLD模組42會依據PCIe規格對照表比對PCIe轉接卡1、2與3之PCIe規格識別碼與PCIe連接埠41a、41b與41c之在位訊號而產生對應於PCIe轉接卡1、2與3之當前配置資訊,並將當前配置資訊傳送至BMC模組44;最後,BMC模組44會比對當前配置資訊與PCIe預設配置資訊431是否相符,並在當前配置資訊與PCIe預設配置資訊431相符時,發送出配對相符信號44s至BIOS單元451,使BIOS單元451依據當前配置資訊調整PCIe通道之配置而開機運作。Generally speaking, on the basis of the above-mentioned circuit structure 100 for automatically adjusting PCIe channel configuration, the method for automatically adjusting PCIe channel configuration in the present invention is mainly to use a plurality of PCIe transmission lines C1, C2 and C3 to connect a plurality of PCIe adapter cards 1, 2, and 3 are respectively electrically connected to a plurality of PCIe ports 41a, 41b, and 41c; then, the PCIe riser cards 1, 2, and 3 transmit the PCIe specification identification code to PCIe respectively through PCIe transmission lines C1, C2, and C3 Connecting ports 41a, 41b and 41c; then, PCIe connecting ports 41a, 41b and 41c will then connect the PCIe specification identification codes of PCIe riser cards 1, 2 and 3 with the presence signals provided by PCIe connecting ports 41a, 41b and 41c Send it to the CPLD module 42; after that, the CPLD module 42 will compare the PCIe specification identification codes of the PCIe riser cards 1, 2 and 3 and the in-position signals of the PCIe connection ports 41a, 41b and 41c according to the PCIe specification comparison table to generate Corresponding to the current configuration information of the PCIe riser cards 1, 2 and 3, and sending the current configuration information to the BMC module 44; finally, the BMC module 44 will compare whether the current configuration information is consistent with the PCIe default configuration information 431, And when the current configuration information is consistent with the PCIe default configuration information 431, send a match signal 44s to the BIOS unit 451, so that the BIOS unit 451 adjusts the configuration of the PCIe channel according to the current configuration information and starts to operate.
綜上所述,相較於先前技術之伺服器主機板在利用Slimline X8連接器配合PCIe傳輸線來連接PCIe轉接卡時,容易因為PCIe傳輸線的規格皆相同而錯接至規格不符的轉接卡,導致伺服器主機無法正常運作;本發明利用CPLD模組讀取對應於PCIe轉接卡之PCIe規格識別碼與PCIe連接埠所傳遞之在位訊號後,可以透過PCIe規格對照表比對出一當前配置資訊,並進一步透過當前配置資訊與PCIe預設配置資訊之比對來判斷是否相符,進而在驅使BIOS單元依據當前配置資訊調整PCIe通道之配置而開機運作,藉此,本發明確實可以不需限制PCIe連接埠與PCIe轉接卡的對接關係,而是在整體的PCIe通道與轉接卡數量都符合PCIe預設配置資訊時,可以透過PCIe傳輸線任意的連結PCIe連接埠與PCIe轉接卡,有效的增進使用上的便利性。To sum up, compared with the prior art server motherboards, when using the Slimline X8 connector and the PCIe transmission cable to connect the PCIe riser card, it is easy to mistakenly connect to the riser card with different specifications because the specifications of the PCIe transmission cables are all the same. , causing the server host to fail to operate normally; the present invention uses the CPLD module to read the PCIe specification identification code corresponding to the PCIe riser card and the in-position signal transmitted by the PCIe connection port, and compares a PCIe specification comparison table to obtain a The current configuration information, and further judge whether it matches by comparing the current configuration information with the PCIe default configuration information, and then drive the BIOS unit to adjust the configuration of the PCIe channel according to the current configuration information and start the operation. It is necessary to limit the docking relationship between the PCIe port and the PCIe riser card, but when the overall number of PCIe channels and riser cards conform to the PCIe default configuration information, the PCIe port and the PCIe riser card can be connected arbitrarily through the PCIe transmission line , Effectively enhance the convenience of use.
藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。Through the above detailed description of the preferred embodiments, it is hoped that the characteristics and spirit of the present invention can be described more clearly, and the scope of the present invention is not limited by the preferred embodiments disclosed above. On the contrary, the intention is to cover various changes and equivalent arrangements within the scope of the patent application for the present invention.
PA100:主機板
PA1:CPLD模組
PA2:X4連接埠
PA3:X8連接埠
PA4:X16連接埠
PA200,PA300,PA400:轉接卡
PA201:X4 PCIe插槽
PA301:X8 PCIe插槽
PA401:X16 PCIe插槽
100:自動調整PCIe通道配置之電路結構
1,2,3:PCIe轉接卡
11:X8 PCIe插槽
21:X8 PCIe插槽
31:X4 PCIe插槽
32:X16 PCIe插槽
4:主機板
41,41a,41b,41c:PCIe連接埠
42:CPLD模組
43:儲存單元
431:PCIe預設配置資訊
44:BMC模組
45:PCH模組
451:BIOS單元
44s:配對相符信號
200,300,400:PCIe裝置
C1,C2,C3:PCIe傳輸線
PA100: Motherboard
PA1: CPLD module
PA2:X4 port
PA3:X8 port
PA4: X16 port
PA200, PA300, PA400: riser card
PA201:X4 PCIe slot
PA301:X8 PCIe slot
PA401:X16 PCIe slot
100: Circuit structure for automatic adjustment of
第一圖係顯示先前技術之伺服器主機板透過PCIe連接埠連接轉接卡之系統方塊圖; 第二圖係顯示本發明較佳實施例所提供之自動調整PCIe通道配置之電路結構之系統方塊圖; 第三圖係顯示本發明較佳實施例所提供之自動調整PCIe通道配置之電路結構之電路示意圖;以及 第四圖係顯示本發明較佳實施例所提供之自動調整PCIe通道配置之電路結構之平面示意圖。 The first figure is a system block diagram showing a prior art server motherboard connected to a riser card through a PCIe port; The second figure shows the system block diagram of the circuit structure for automatically adjusting the PCIe channel configuration provided by the preferred embodiment of the present invention; The third figure is a schematic circuit diagram showing the circuit structure of the automatic adjustment PCIe channel configuration provided by the preferred embodiment of the present invention; and The fourth figure is a schematic plan view showing the circuit structure for automatically adjusting PCIe channel configuration provided by a preferred embodiment of the present invention.
100:自動調整PCIe通道配置之電路結構 100: Circuit structure for automatic adjustment of PCIe channel configuration
1,2,3:PCIe轉接卡 1,2,3:PCIe riser card
4:主機板 4: Motherboard
41:PCIe連接埠 41:PCIe port
42:CPLD模組 42: CPLD module
43:儲存單元 43: storage unit
431:PCIe預設配置資訊 431: PCIe default configuration information
44:BMC模組 44: BMC module
45:PCH模組 45:PCH module
451:BIOS單元 451: BIOS unit
44s:配對相符信號 44s: Matching signal
200,300,400:PCIe裝置 200, 300, 400: PCIe devices
C1,C2,C3:PCIe傳輸線 C1, C2, C3: PCIe transmission lines
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110109334A TWI793548B (en) | 2021-03-16 | 2021-03-16 | Circuit structure and method for automatically adjusting pcie channel configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110109334A TWI793548B (en) | 2021-03-16 | 2021-03-16 | Circuit structure and method for automatically adjusting pcie channel configuration |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202238403A TW202238403A (en) | 2022-10-01 |
TWI793548B true TWI793548B (en) | 2023-02-21 |
Family
ID=85460279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110109334A TWI793548B (en) | 2021-03-16 | 2021-03-16 | Circuit structure and method for automatically adjusting pcie channel configuration |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI793548B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI631470B (en) * | 2016-05-06 | 2018-08-01 | 廣達電腦股份有限公司 | Method and system for dynamic reconfiguration of at least one peripheral bus switch of a system by a management controller |
CN108763124A (en) * | 2018-05-23 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of PCIE Riser cards |
TWI644217B (en) * | 2017-05-11 | 2018-12-11 | 宜鼎國際股份有限公司 | Expandable interface board |
CN111124505A (en) * | 2019-10-30 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Configuration method and device of mainboard hardware |
CN112131163A (en) * | 2020-09-18 | 2020-12-25 | 浪潮电子信息产业股份有限公司 | PCIE resource automatic splitting circuit and method |
-
2021
- 2021-03-16 TW TW110109334A patent/TWI793548B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI631470B (en) * | 2016-05-06 | 2018-08-01 | 廣達電腦股份有限公司 | Method and system for dynamic reconfiguration of at least one peripheral bus switch of a system by a management controller |
TWI644217B (en) * | 2017-05-11 | 2018-12-11 | 宜鼎國際股份有限公司 | Expandable interface board |
CN108763124A (en) * | 2018-05-23 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of PCIE Riser cards |
CN111124505A (en) * | 2019-10-30 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Configuration method and device of mainboard hardware |
CN112131163A (en) * | 2020-09-18 | 2020-12-25 | 浪潮电子信息产业股份有限公司 | PCIE resource automatic splitting circuit and method |
Also Published As
Publication number | Publication date |
---|---|
TW202238403A (en) | 2022-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10417167B2 (en) | Implementing sideband control structure for PCIE cable cards and IO expansion enclosures | |
US6895447B2 (en) | Method and system for configuring a set of wire lines to communicate with AC or DC coupled protocols | |
US9697156B2 (en) | Detecting and configuring of external IO enclosure | |
US6886057B2 (en) | Method and system for supporting multiple bus protocols on a set of wirelines | |
US5930496A (en) | Computer expansion slot and associated logic for automatically detecting compatibility with an expansion card | |
US10162723B2 (en) | Electronic card and detecting method thereof | |
CN112306952A (en) | Mainboard and server | |
CN114443531A (en) | System and method for automatically configuring PCIe port of server | |
CN111881074B (en) | Electronic system, host device and control method | |
CN113010462B (en) | Circuit structure and method for automatically adjusting PCIe channel configuration | |
TWI793548B (en) | Circuit structure and method for automatically adjusting pcie channel configuration | |
TWI765391B (en) | Usb device, usb cable and usb repeater thereof | |
US9158609B2 (en) | Universal serial bus testing device | |
CN114265731A (en) | PCIE interface verification board, test system and test method | |
CN115167629A (en) | Double-circuit server CPU mainboard | |
US7009380B2 (en) | Interface device for product testing | |
CN213365511U (en) | Mainboard and server | |
TWI735869B (en) | Storage control device and control method thereof | |
CN114385527A (en) | Hard disk compatible platform, mainboard and control method | |
CN111886585B (en) | Terminal device, debugging card and debugging method | |
CN110113869B (en) | Modular device and control method thereof | |
CN112534495A (en) | Plug-in assembly, display control card and display system | |
CN114138540B (en) | Distinguishing structure and method for sharing multiple same boards | |
US6805293B2 (en) | Data collection system | |
CN114721900B (en) | Connection relation establishing method, mainboard, device, equipment and storage medium |