[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

TWI601014B - Computer system capable of controlling conflict during accessing memory - Google Patents

Computer system capable of controlling conflict during accessing memory Download PDF

Info

Publication number
TWI601014B
TWI601014B TW105137330A TW105137330A TWI601014B TW I601014 B TWI601014 B TW I601014B TW 105137330 A TW105137330 A TW 105137330A TW 105137330 A TW105137330 A TW 105137330A TW I601014 B TWI601014 B TW I601014B
Authority
TW
Taiwan
Prior art keywords
controller
smbus
main controller
smbus main
memory
Prior art date
Application number
TW105137330A
Other languages
Chinese (zh)
Other versions
TW201820154A (en
Inventor
韓應賢
Original Assignee
英業達股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW105137330A priority Critical patent/TWI601014B/en
Application granted granted Critical
Publication of TWI601014B publication Critical patent/TWI601014B/en
Publication of TW201820154A publication Critical patent/TW201820154A/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Description

記憶體訪問衝突控制的電腦系統Computer system for memory access conflict control

本發明係關於一種電腦系統,特別是一種具有記憶體訪問衝突控制的電腦系統。The present invention relates to a computer system, and more particularly to a computer system having memory access conflict control.

在一個電腦系統中,基板管理控制器(Baseboard Management Controller,BMC)管理整個伺服器系統的工作狀態,例如溫度、電壓、電扇、電源供應以及機箱入侵等。基板管理控制器提供伺服器系統自主監視、事件記錄和錯誤恢復等功能,屬於伺服器系統中相當重要的一個管理元件。In a computer system, the Baseboard Management Controller (BMC) manages the operational status of the entire server system, such as temperature, voltage, fans, power supplies, and chassis intrusions. The baseboard management controller provides functions such as server system autonomous monitoring, event recording, and error recovery, and is a very important management component in the server system.

基於成本控制和性能最優化的設計理念,現在新發展的工作站平臺(platform)逐漸地不再採納使用基板管理控制器來作為控制信號通訊,而是使用平臺路徑控制器(Platform Controller Hub)逐漸地代替基板管理控制器控制信號通訊的功能。然而,為了讓平臺路徑控制器數量有限的傳輸埠或傳輸路徑,可以有效率地提供給中央處理器進行與其他元件之間的傳輸通訊,時常會有多個元件共用一個傳輸部或傳輸路徑的設置,進而讓平台路徑控制器容易有訪問衝突的問題發生。Based on the cost control and performance optimization design concept, the newly developed workstation platform is gradually no longer adopting the substrate management controller as the control signal communication, but gradually using the Platform Controller Hub. Instead of the baseboard management controller, it controls the function of signal communication. However, in order to allow a limited number of transmission path or transmission path of the platform path controller, it can be efficiently provided to the central processing unit for transmission communication with other components, and often there are multiple components sharing one transmission part or transmission path. Settings, which in turn make the platform path controller vulnerable to access violations.

本發明在於提供一種具有記憶體訪問衝突控制的電腦系統,藉以平台路徑控制器發生訪問衝突的問題。The present invention provides a computer system with memory access conflict control whereby a platform path controller has an access violation problem.

本發明所揭露的具有記憶體訪問衝突控制的電腦系統,具有第一系統控制匯流排主控制器(第一SMBUS主控制器)、第二系統控制匯流排主控制器(第二SMBUS主控制器)、控制器及選擇器。第一SMBUS主控制器用於輸入輸出匯流排之間的通訊。第二SMBUS主控制器用於系統硬體程式的監控。控制器耦接第一SMBUS主控制器,於第一SMBUS主控制器及第二SMBUS主控制器皆要求讀寫記憶體時,控制器輸出控制信號。選擇器耦接控制器、第一SMBUS主控制器及第二SMBUS主控制器。選擇器接收控制信號,並依據控制信號選擇性地切換第一SMBUS主控制器或第二SMBUS主控制器經由傳輸介面讀寫記憶體。當控制信號指示選擇器選擇由第一SMBUS主控制器讀寫記憶體,並於第一SMBUS主控制器讀寫完記憶體時,控制器接收第一SMBUS主控制器輸出的結束信號,且至少依據結束信號,輸出控制信號,以指示選擇器切換第二SMBUS主控制器經由傳輸介面讀寫記憶體。The computer system with memory access conflict control disclosed in the present invention has a first system control bus main controller (first SMBUS main controller) and a second system control bus main controller (second SMBUS main controller) ), controller and selector. The first SMBUS master controller is used for communication between the input and output busses. The second SMBUS host controller is used to monitor the system hardware program. The controller is coupled to the first SMBUS main controller, and when the first SMBUS main controller and the second SMBUS main controller both require reading and writing of the memory, the controller outputs a control signal. The selector is coupled to the controller, the first SMBUS master controller, and the second SMBUS master controller. The selector receives the control signal and selectively switches the first SMBUS main controller or the second SMBUS main controller to read and write the memory via the transmission interface according to the control signal. When the control signal indicates that the selector selects to read and write the memory by the first SMBUS main controller, and the first SMBUS main controller reads and writes the memory, the controller receives the end signal output by the first SMBUS main controller, and at least According to the end signal, a control signal is output to instruct the selector to switch the second SMBUS main controller to read and write the memory via the transmission interface.

根據上述本發明所揭露的具有記憶體訪問衝突控制的電腦系統,藉由控制器在第一SMBUS主控制器與第二SMBUS主控制器發生訪問衝突時,產生控制信號至選擇器,使選擇器依據控制信號來控制讓第一SMBUS主控制器導通至傳輸介面,或讓第二SMBUS主控制器導通至傳輸介面,藉以解決第一SMBUS主控制器與第二SMBUS主控制器發生訪問衝突的問題。According to the computer system with memory access conflict control disclosed in the above, the controller generates a control signal to the selector when the first SMBUS main controller and the second SMBUS main controller have an access conflict, so that the selector According to the control signal, the first SMBUS main controller is turned on to the transmission interface, or the second SMBUS main controller is turned on to the transmission interface, thereby solving the problem of the access conflict between the first SMBUS main controller and the second SMBUS main controller. .

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參照圖1,圖1係根據本發明一實施例所繪示之電腦系統的功能方塊圖。如圖1所示,電腦系統10具有第一系統控制匯流排(System Management Bus,SMBUS)主控制器11、第二系統控制匯流排(System Management Bus,SMBUS)主控制器12、控制器13、選擇器14、傳輸介面15及記憶體16。Please refer to FIG. 1. FIG. 1 is a functional block diagram of a computer system according to an embodiment of the invention. As shown in FIG. 1 , the computer system 10 has a first system control bus (SMBUS) main controller 11 , a second system control bus (SMBUS) main controller 12 , and a controller 13 . The selector 14, the transmission interface 15, and the memory 16.

第一系統控制匯流排主控制器11,以下稱第一SMBUS主控制器11,例如是平台路徑控制器(Platform Controller Hub)、南橋晶片、北橋晶片或電腦系統10內其他合適的元件。第一SMBUS主控制器11用於輸入輸出匯流排之間的通訊,換言之,第一SMBUS主控制器11電性連接至電腦系統10上的中央處理器(Central Processing Unit,CPU),用以控制中央處理器對其他元件的信號通訊。The first system controls the bus master controller 11, hereinafter referred to as the first SMBUS master controller 11, such as a Platform Controller Hub, a Southbridge wafer, a Northbridge wafer, or other suitable components within the computer system 10. The first SMBUS main controller 11 is used for communication between the input and output bus bars. In other words, the first SMBUS main controller 11 is electrically connected to a central processing unit (CPU) on the computer system 10 for controlling The central processor communicates signals to other components.

第二系統控制匯流排主控制器12,以下稱第二SMBUS主控制器12,例如是硬體監控器(Hardware Monitor)或其他合適的元件。第二SMBUS主控制器12用於系統硬體程式的監控,如監控風扇、顯示卡、硬碟的溫度、時脈、電量或其他電腦系統10內硬體的資訊。The second system controls the bus master controller 12, hereinafter referred to as the second SMBUS master controller 12, such as a hardware monitor or other suitable component. The second SMBUS main controller 12 is used for monitoring the system hardware program, such as monitoring the temperature of the fan, the display card, the temperature of the hard disk, the clock, the power or other hardware in the computer system 10.

控制器13例如是一種複雜可程式邏輯裝置(Complex Programmable Logic Device,CPLD)。控制器13耦接第一SMBUS主控制器11、選擇器14及傳輸介面15。於一個實施例中,第一SMBUS主控制器11具有通用型輸入輸出(General Purpose I/O)端,控制器13耦接於第一SMBUS主控制器11的通用型輸入輸出端。The controller 13 is, for example, a Complex Programmable Logic Device (CPLD). The controller 13 is coupled to the first SMBUS main controller 11, the selector 14, and the transmission interface 15. In one embodiment, the first SMBUS main controller 11 has a general purpose input/output (General Purpose I/O) terminal, and the controller 13 is coupled to the general purpose input and output of the first SMBUS main controller 11.

選擇器14例如具有第一輸入端、第二輸入端、控制端及輸出端。選擇器14的第一輸入端電性連接第一SMBUS主控制器11,選擇器14的第二輸入端電性連接第二SMBUS主控制器12。第一SMBUS主控制器11及第二SMBUS主控制器12經由選擇器14與傳輸介面15導通。於一個實施例中,第一SMBUS主控制器11及第二SMBUS主控制器12具有以系統控制匯流排(System Management Bus,SMBUS)作為傳輸規格的端子,選擇器14和第一SMBUS主控制器11以系統控制匯流排電性連接,選擇器14和第二SMBUS主控制器12同樣地以系統控制匯流排電性連接。選擇器14的控制端電性連接控制器13,輸出端電性連接傳輸介面15。於一個實施例中,傳輸介面15係指選擇器14的輸出端的傳輸介面,選擇器14藉由傳輸介面15電性連接至記憶器16。The selector 14 has, for example, a first input, a second input, a control and an output. The first input end of the selector 14 is electrically connected to the first SMBUS main controller 11, and the second input end of the selector 14 is electrically connected to the second SMBUS main controller 12. The first SMBUS main controller 11 and the second SMBUS main controller 12 are electrically connected to the transmission interface 15 via the selector 14. In one embodiment, the first SMBUS main controller 11 and the second SMBUS main controller 12 have terminals with a system control bus (SMBUS) as a transmission specification, a selector 14 and a first SMBUS main controller. 11 is controlled by the system to control the busbar electrical connection, and the selector 14 and the second SMBUS main controller 12 are similarly connected by the system control bus. The control terminal of the selector 14 is electrically connected to the controller 13, and the output terminal is electrically connected to the transmission interface 15. In one embodiment, the transmission interface 15 is the transmission interface of the output of the selector 14, and the selector 14 is electrically coupled to the memory 16 via the transmission interface 15.

在一個電腦系統10運作的狀況中,當第一SMBUS主控制器11及第二SMBUS主控制器12皆要求透過傳輸介面15讀寫記憶體16時,控制器13輸出控制信號至選擇器14。於一個實施例中,控制器13偵測第一SMBUS主控制器11及第二SMBUS主控制器12與選擇器14連接的SMBUS來判斷第一SMBUS主控制器11及第二SMBUS主控制器12是否要求讀寫記憶體16。於另一個實施例中,控制器13亦可以經由被選擇器14通知,而得知第一SMBUS主控制器11及第二SMBUS主控制器12皆要求讀寫記憶體16的狀況。換言之,控制器13在第一SMBUS主控制器11及第二SMBUS主控制器12發生訪問衝突時,產生控制信號。In a state in which the computer system 10 is in operation, when both the first SMBUS main controller 11 and the second SMBUS main controller 12 require reading and writing of the memory 16 through the transmission interface 15, the controller 13 outputs a control signal to the selector 14. In one embodiment, the controller 13 detects the SMBUS connected to the first SMBUS main controller 11 and the second SMBUS main controller 12 and the selector 14 to determine the first SMBUS main controller 11 and the second SMBUS main controller 12 Whether to read and write memory 16 is required. In another embodiment, the controller 13 can also notify the selector 14 that the first SMBUS main controller 11 and the second SMBUS main controller 12 are required to read and write the memory 16 . In other words, the controller 13 generates a control signal when an access violation occurs in the first SMBUS main controller 11 and the second SMBUS main controller 12.

選擇器14接收控制器13輸出的控制信號,並依據控制信號選擇性地切換第一SMBUS主控制器11和第二SMBUS主控制器12其中之一可以經由傳輸介面15來讀寫記憶體16。也就是說,選擇器14依據控制器13輸出的控制信號來決定讓第一SMBUS主控制器11讀寫記憶體16或讓第二SMBUS主控制器12讀寫記憶體16。The selector 14 receives the control signal output by the controller 13 and selectively switches one of the first SMBUS main controller 11 and the second SMBUS main controller 12 according to the control signal to read and write the memory 16 via the transmission interface 15. That is, the selector 14 determines whether the first SMBUS main controller 11 reads and writes the memory 16 or the second SMBUS main controller 12 reads and writes the memory 16 according to the control signal output from the controller 13.

當控制信號指示選擇器14選擇由第一SMBUS主控制器11讀寫記憶體16時,第一SMBUS主控制器11透過傳輸介面15與記憶體16導通以讀寫記憶體16。當第一SMBUS主控制器11讀寫完記憶體16時,第一SMBUS主控制器11以通用型輸入輸出端(General Purpose I/O)輸出結束信號至控制器13,以告知控制器13讀寫完成的訊息。控制器13依據第一SMBUS主控制器11輸出的結束信號,輸出控制信號,以指示選擇器14切換讓第二SMBUS主控制器12經由傳輸介面15讀寫記憶體16。When the control signal indicates that the selector 14 selects to read and write the memory 16 by the first SMBUS main controller 11, the first SMBUS main controller 11 is turned on to the memory 16 through the transmission interface 15 to read and write the memory 16. When the first SMBUS main controller 11 reads and writes the memory 16, the first SMBUS main controller 11 outputs an end signal to the controller 13 with a general-purpose input/output terminal (General Purpose I/O) to inform the controller 13 to read. Write the completed message. The controller 13 outputs a control signal according to the end signal output by the first SMBUS main controller 11 to instruct the selector 14 to switch the second SMBUS main controller 12 to read and write the memory 16 via the transmission interface 15.

於一個實施例中,當控制器13接收到第一SMBUS主控制器輸出的結束信號時,控制器13會去讀取傳輸介面15上的訊號,偵測傳輸介面15是否閒置(idle)。當控制器13判斷傳輸介面15閒置時,才輸出控制信號,並輸出控制信號,讓選擇器14切換給第二SMBUS主控制器12讀寫記憶體16。換言之,控制器13除了依據第一SMBUS主控制器11輸出的結束信號,亦依據傳輸介面15是否閒置來輸出控制訊號。In one embodiment, when the controller 13 receives the end signal output by the first SMBUS main controller, the controller 13 reads the signal on the transmission interface 15 to detect whether the transmission interface 15 is idle. When the controller 13 judges that the transmission interface 15 is idle, the control signal is output, and the control signal is output, so that the selector 14 switches to the second SMBUS main controller 12 to read and write the memory 16. In other words, the controller 13 outputs a control signal according to whether the transmission interface 15 is idle or not, according to the end signal output by the first SMBUS main controller 11.

在一個實際的例子中,傳輸介面15至少具有資料傳輸線及時脈信號線。資料傳輸線用以傳送資料信號,例如傳送記憶體16的資料至第一SMBUS主控制器11。時脈信號線用以傳送時脈信號,讓資料傳輸線依據時脈訊號來傳輸資料。於本實施例中,控制器13可以依據資料信號和時脈信號的電壓位準,判斷傳輸介面15是否閒置。In a practical example, the transmission interface 15 has at least a data transmission line and a clock signal line. The data transmission line is used to transmit a data signal, such as the data of the memory 16 to the first SMBUS main controller 11. The clock signal line is used to transmit the clock signal, so that the data transmission line transmits the data according to the clock signal. In this embodiment, the controller 13 can determine whether the transmission interface 15 is idle according to the voltage level of the data signal and the clock signal.

接下來,請參照圖2,圖2係根據本發明另一實施例所繪示之電腦系統的功能方塊圖。如圖2所示,電腦系統20具有第一SMBUS主控制器21、第二SMBUS主控制器22、控制器23、選擇器24、傳輸介面25及記憶體26。第一SMBUS主控制器21例如是平台路徑控制器(Platform Controller Hub)、南橋晶片、北橋晶片或電腦系統20內其他合適的元件,用以控制中央處理器的輸入輸出匯流排之間的通訊。第二SMBUS主控制器22例如是硬體監控器(Hardware Monitor)或其他合適的元件,用以監控電腦系統20內的硬體程式或硬體資訊。Next, please refer to FIG. 2. FIG. 2 is a functional block diagram of a computer system according to another embodiment of the present invention. As shown in FIG. 2, the computer system 20 has a first SMBUS main controller 21, a second SMBUS main controller 22, a controller 23, a selector 24, a transmission interface 25, and a memory 26. The first SMBUS host controller 21 is, for example, a Platform Controller Hub, a South Bridge chip, a North Bridge chip, or other suitable component within the computer system 20 for controlling communication between the input and output busses of the central processing unit. The second SMBUS host controller 22 is, for example, a hardware monitor or other suitable component for monitoring hardware or hardware information within the computer system 20.

控制器23例如是複雜可程式邏輯裝置,電性連接於第一SMBUS主控制器21、選擇器24及傳輸介面25。選擇器24具有第一開關241及第二開關242。第一開關241設置於第一SMBUS主控制器21與記憶體26的傳輸路徑上,第二開關242設置於第二SMBUS主控制器22與記憶體26的傳輸路徑上。第一開關241和第二開關242依據控制器23的控制導通,而使第一SMBUS主控制器21透過傳輸介面25與記憶體26導通,或使第二SMBUS主控制器22透過傳輸介面25與記憶體26導通,以讀寫記憶體26。The controller 23 is, for example, a complex programmable logic device electrically connected to the first SMBUS main controller 21, the selector 24, and the transmission interface 25. The selector 24 has a first switch 241 and a second switch 242. The first switch 241 is disposed on the transmission path of the first SMBUS main controller 21 and the memory 26, and the second switch 242 is disposed on the transmission path of the second SMBUS main controller 22 and the memory 26. The first switch 241 and the second switch 242 are turned on according to the control of the controller 23, so that the first SMBUS main controller 21 is electrically connected to the memory 26 through the transmission interface 25, or the second SMBUS main controller 22 is transmitted through the transmission interface 25. The memory 26 is turned on to read and write the memory 26.

於一個實施例中,第一SMBUS主控制器21及第二SMBUS主控制器22具有以系統控制匯流排(System Management Bus,SMBUS)作為傳輸規格的端子,第一開關241和第一SMBUS主控制器21以系統控制匯流排電性連接,第二開關242和第二SMBUS主控制器22同樣地以系統控制匯流排電性連接。於一個實施例中,傳輸介面25係指選擇器24的輸出端的傳輸介面,選擇器24藉由傳輸介面25電性連接至記憶器26。In one embodiment, the first SMBUS main controller 21 and the second SMBUS main controller 22 have terminals with a system control bus (SMBUS) as a transmission specification, a first switch 241 and a first SMBUS main control. The controller 21 is electrically connected by a system control bus, and the second switch 242 and the second SMBUS main controller 22 are similarly connected by a system control bus. In one embodiment, the transmission interface 25 is the transmission interface of the output of the selector 24, and the selector 24 is electrically coupled to the memory 26 via the transmission interface 25.

在一個實施例中,第一開關241被預設為導通,而第二開關242被預設為不導通。換言之,在電腦系統20運作中,當第二SMBUS主控制器22未要求讀寫記憶體26時,第一SMBUS主控制器21可以隨時透過傳輸介面25讀寫記憶體26。當第二SMBUS主控制器22要求讀寫記憶體26時,第一SMBUS主控制器21同樣要求讀寫記憶體26。此時,第一SMBUS主控制器21及第二SMBUS主控制器22發生訪問衝突。控制器23輸出控制信號至第一開關241和第二開關242,以控制第一開關241和第二開關242導通或不導通,來排解第一SMBUS主控制器21及第二SMBUS主控制器22讀寫記憶體26的要求。In one embodiment, the first switch 241 is preset to be conductive and the second switch 242 is preset to be non-conductive. In other words, in the operation of the computer system 20, when the second SMBUS main controller 22 does not require the read/write memory 26, the first SMBUS main controller 21 can read and write the memory 26 through the transmission interface 25 at any time. When the second SMBUS main controller 22 requests to read and write the memory 26, the first SMBUS main controller 21 also requests the read/write memory 26. At this time, the first SMBUS main controller 21 and the second SMBUS main controller 22 have an access violation. The controller 23 outputs a control signal to the first switch 241 and the second switch 242 to control whether the first switch 241 and the second switch 242 are turned on or off to disassemble the first SMBUS main controller 21 and the second SMBUS main controller 22 The requirement to read and write memory 26.

於本實施例中,控制器23會輸出控制信號指示第一開關241切換至導通,並控制第二開關242切換至不導通,而使第一SMBUS主控制器21透過傳輸介面讀寫記憶體26。當第一SMBUS主控制器21讀寫完記憶體26時,控制器23會自以通用型輸入輸出端接收到第一SMBUS主控制器21告知讀寫完成的結束信號。控制器23依據第一SMBUS主控制器21輸出的結束信號,讀取傳輸介面25上的資料傳輸線及時脈信號線,依據資料信號和時脈信號的電壓位準,判斷傳輸介面25是否閒置。In this embodiment, the controller 23 outputs a control signal to indicate that the first switch 241 is switched to be on, and controls the second switch 242 to switch to non-conduction, so that the first SMBUS main controller 21 reads and writes the memory through the transmission interface. . When the first SMBUS main controller 21 reads and writes the memory 26, the controller 23 receives the end signal from the general-purpose input/output terminal that the first SMBUS main controller 21 notifies the completion of reading and writing. The controller 23 reads the data transmission line and the pulse signal line on the transmission interface 25 according to the end signal output by the first SMBUS main controller 21, and determines whether the transmission interface 25 is idle according to the voltage level of the data signal and the clock signal.

當控制器23判斷傳輸介面25閒置時,控制器23輸出控制信號,以控制第一開關241切換至不導通,並控制第二開關242切換至導通。當第二開關242導通時,第二SMBUS主控制器22可以透過傳輸介面25讀寫記憶體26。When the controller 23 judges that the transmission interface 25 is idle, the controller 23 outputs a control signal to control the first switch 241 to switch to non-conduction, and to control the second switch 242 to switch to conduction. When the second switch 242 is turned on, the second SMBUS main controller 22 can read and write the memory 26 through the transmission interface 25.

綜合以上所述,本發明實施例提供一種具有記憶體訪問衝突控制的電腦系統,藉由控制器在第一SMBUS主控制器與第二SMBUS主控制器發生訪問衝突時,以控制信號來控制選擇器,使得第一SMBUS主控制器和第二SMBUS主控制器其中之一可以透過選擇器和傳輸介面導通至記憶體來進行資料讀寫,藉以解決第一SMBUS主控制器與第二SMBUS主控制器發生訪問衝突的問題。In summary, the embodiment of the present invention provides a computer system with memory access conflict control. The controller controls the selection by using a control signal when an access conflict occurs between the first SMBUS main controller and the second SMBUS main controller. The first SMBUS main controller and the second SMBUS main controller can be read and written to the memory through the selector and the transmission interface to read and write data, thereby solving the first SMBUS main controller and the second SMBUS main control. An issue with an access violation.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

10、20‧‧‧電腦系統
11、21‧‧‧第一SMBUS主控制器
12、22‧‧‧第二SMBUS主控制器
13、23‧‧‧控制器
14、24‧‧‧選擇器
15、25‧‧‧傳輸介面
16、26‧‧‧記憶體
241‧‧‧第一開關
242‧‧‧第二開關
10, 20‧‧‧ computer system
11, 21‧‧‧ First SMBUS main controller
12, 22‧‧‧Second SMBUS master controller
13, 23‧‧ ‧ controller
14, 24‧‧‧Selector
15, 25‧‧‧Transport interface
16, 26‧‧‧ memory
241‧‧‧First switch
242‧‧‧Second switch

圖1係根據本發明一實施例所繪示之電腦系統的功能方塊圖。 圖2係根據本發明另一實施例所繪示之電腦系統的功能方塊圖。1 is a functional block diagram of a computer system according to an embodiment of the invention. 2 is a functional block diagram of a computer system according to another embodiment of the present invention.

10‧‧‧電腦系統 10‧‧‧ computer system

11‧‧‧第一SMBUS主控制器 11‧‧‧First SMBUS master controller

12‧‧‧第二SMBUS主控制器 12‧‧‧Second SMBUS master controller

13‧‧‧控制器 13‧‧‧ Controller

14‧‧‧選擇器 14‧‧‧Selector

15‧‧‧傳輸介面 15‧‧‧Transport interface

16‧‧‧記憶體 16‧‧‧ memory

Claims (7)

一種具有記憶體訪問衝突控制的電腦系統,該電腦系統包括:一第一系統控制匯流排主控制器(第一SMBUS主控制器),用於輸入輸出匯流排之間的通訊;一第二系統控制匯流排主控制器(第二SMBUS主控制器),用於系統硬體程式的監控;一控制器,耦接該第一SMBUS主控制器,於該第一SMBUS主控制器及該第二SMBUS主控制器皆要求讀寫一記憶體時,該控制器輸出一控制信號;以及一選擇器,耦接該控制器、該第一SMBUS主控制器及該第二SMBUS主控制器,該選擇器接收該控制信號,並依據該控制信號選擇性地切換該第一SMBUS主控制器或該第二SMBUS主控制器經由一傳輸介面讀寫該記憶體。 其中當該控制信號指示該選擇器選擇由該第一SMBUS主控制器讀寫該記憶體,並於該第一SMBUS主控制器讀寫完該記憶體時,控制器接收該第一SMBUS主控制器輸出的一結束信號,且至少依據該結束信號,輸出該控制信號,以指示該選擇器切換該第二SMBUS主控制器經由該傳輸介面讀寫該記憶體;其中該控制器接收該第一SMBUS主控制器輸出的該結束信號時,該控制器更判斷該傳輸介面是否閒置,並於該控制器判斷該傳輸介 面閒置時,輸出該控制信號,以指示該選擇器切換該第二SMBUS主控制器經由該傳輸介面讀寫該記憶體。 A computer system with memory access conflict control, the computer system comprising: a first system control bus master controller (first SMBUS master controller) for communication between input and output busbars; a second system Control bus master controller (second SMBUS master controller) for monitoring system hardware programs; a controller coupled to the first SMBUS master controller, the first SMBUS master controller and the second When the SMBUS main controller is required to read and write a memory, the controller outputs a control signal; and a selector coupled to the controller, the first SMBUS main controller and the second SMBUS main controller, the selection Receiving the control signal, and selectively switching the first SMBUS main controller or the second SMBUS main controller to read and write the memory via a transmission interface according to the control signal. When the control signal indicates that the selector selects to read and write the memory by the first SMBUS main controller, and the first SMBUS main controller reads and writes the memory, the controller receives the first SMBUS main control. An end signal output by the device, and at least according to the end signal, outputting the control signal to instruct the selector to switch the second SMBUS main controller to read and write the memory via the transmission interface; wherein the controller receives the first When the SMBUS main controller outputs the end signal, the controller further determines whether the transmission interface is idle, and determines the transmission medium by the controller. When the surface is idle, the control signal is output to instruct the selector to switch the second SMBUS main controller to read and write the memory via the transmission interface. 如請求項1所述之具有記憶體訪問衝突控制的電腦系統,其中該傳輸介面至少包含一資料傳輸線及一時脈信號線,該資料傳輸線用以傳送一資料信號,該時脈信號線用以傳送一時脈信號,該控制器依據該資料信號和該時脈信號的電壓位準,判斷該傳輸介面是否閒置。 The computer system of claim 1, wherein the transmission interface comprises at least one data transmission line and a clock signal line, wherein the data transmission line is configured to transmit a data signal, and the clock signal line is used for transmitting A clock signal, the controller determines whether the transmission interface is idle according to the data signal and the voltage level of the clock signal. 如請求項1所述之具有記憶體訪問衝突控制的電腦系統,其中該選擇器具有一第一開關及一第二開關,該第一開關設置於該傳輸介面與該第一SMBUS主控制器的傳輸路徑上,該第二開關設置於該傳輸介面與該第二SMBUS主控制器的傳輸路徑上,當該第二SMBUS主控制器未讀寫該記憶體時,該選擇器預設導通該第一開關且斷開該第二開關。 The computer system as claimed in claim 1, wherein the selector has a first switch and a second switch, and the first switch is disposed on the transmission interface and the first SMBUS main controller. In the path, the second switch is disposed on the transmission path of the transmission interface and the second SMBUS main controller. When the second SMBUS main controller does not read or write the memory, the selector presets to turn on the first Switch and disconnect the second switch. 如請求項1所述之具有記憶體訪問衝突控制的電腦系統,其中該第一SMBUS主控制器為一平台路徑控制器(Platform Controller Hub)。 The computer system of claim 1, wherein the first SMBUS host controller is a Platform Controller Hub. 如請求項1所述之具有記憶體訪問衝突控制的電腦系統,其中該第二SMBUS主控制器為一硬體監控器(Hardware Monitor)。 The computer system of claim 1, wherein the second SMBUS main controller is a hardware monitor. 如請求項1所述之具有記憶體訪問衝突控制的電腦系統,其中該傳輸介面為一系統控制匯流排(System Management Bus)。 The computer system of claim 1, wherein the transmission interface is a system management bus. 如請求項1所述之具有記憶體訪問衝突控制的電腦系統,其中該第一SMBUS主控制器具有一通用型輸入輸出端(General Purpose I/O),該第一SMBUS主控制器藉由該通用型之輸入輸出端耦接該控制器。 The computer system with memory access conflict control according to claim 1, wherein the first SMBUS main controller has a general purpose input/output (General Purpose I/O), and the first SMBUS main controller is The input and output terminals of the type are coupled to the controller.
TW105137330A 2016-11-15 2016-11-15 Computer system capable of controlling conflict during accessing memory TWI601014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105137330A TWI601014B (en) 2016-11-15 2016-11-15 Computer system capable of controlling conflict during accessing memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105137330A TWI601014B (en) 2016-11-15 2016-11-15 Computer system capable of controlling conflict during accessing memory

Publications (2)

Publication Number Publication Date
TWI601014B true TWI601014B (en) 2017-10-01
TW201820154A TW201820154A (en) 2018-06-01

Family

ID=61011279

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105137330A TWI601014B (en) 2016-11-15 2016-11-15 Computer system capable of controlling conflict during accessing memory

Country Status (1)

Country Link
TW (1) TWI601014B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW514791B (en) * 2001-05-28 2002-12-21 Via Tech Inc Structure, method and related control chip for accessing device of computer system with system management bus
US20030188066A1 (en) * 2002-03-28 2003-10-02 Atul Kwatra Method and apparatus to allow an external system management controller to trigger an OS controlled shutdown of a pc system through the system management bus
TWI238933B (en) * 2001-12-14 2005-09-01 Intel Corp Computer system with dedicated system management buses
US20060106968A1 (en) * 2004-11-15 2006-05-18 Wooi Teoh Gary C Intelligent platform management bus switch system
TWI260507B (en) * 2002-02-26 2006-08-21 Microsoft Corp System and method to facilitate access to SMBus and SMBus event handling
TW201525686A (en) * 2013-12-17 2015-07-01 Inventec Corp Methods for accessing baseboard management controller

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW514791B (en) * 2001-05-28 2002-12-21 Via Tech Inc Structure, method and related control chip for accessing device of computer system with system management bus
TWI238933B (en) * 2001-12-14 2005-09-01 Intel Corp Computer system with dedicated system management buses
TWI260507B (en) * 2002-02-26 2006-08-21 Microsoft Corp System and method to facilitate access to SMBus and SMBus event handling
US20030188066A1 (en) * 2002-03-28 2003-10-02 Atul Kwatra Method and apparatus to allow an external system management controller to trigger an OS controlled shutdown of a pc system through the system management bus
US20060106968A1 (en) * 2004-11-15 2006-05-18 Wooi Teoh Gary C Intelligent platform management bus switch system
TW201525686A (en) * 2013-12-17 2015-07-01 Inventec Corp Methods for accessing baseboard management controller

Also Published As

Publication number Publication date
TW201820154A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
TWI683610B (en) Modular carrier form factors for computing platforms
US7490176B2 (en) Serial attached SCSI backplane and detection system thereof
US10846159B2 (en) System and method for managing, resetting and diagnosing failures of a device management bus
US10579572B2 (en) Apparatus and method to provide a multi-segment I2C bus exerciser/analyzer/fault injector and debug port system
EP3035187B1 (en) Hard disk and management method
TWI559148B (en) Automatic hardware recovery method and automatic hardware recovery system
KR20150058600A (en) Flexible server system
US8954619B1 (en) Memory module communication control
US10783109B2 (en) Device management messaging protocol proxy
US20150006814A1 (en) Dynamic raid controller power management
US6532500B1 (en) System and method to support out-band storage subsystem management via SCSI bus when operating power to a computer system is off
TWI754183B (en) Hdd backplane management device
CN111581050B (en) Cabinet, cabinet monitoring system and monitoring method
CN112825011A (en) Power-on and power-off control method and system of PCIe device
JP2016212516A (en) Bus connection object device, storage control device, and bus communication system
US10606784B1 (en) Software filtering of redundant sideband device management bus communications
CN107294759B (en) Server system and data access method
US20130091380A1 (en) Dynamically Reconfiguring A Primary Processor Identity Within A Multi-Processor Socket Server
TWI601014B (en) Computer system capable of controlling conflict during accessing memory
TW201729097A (en) Rack
TWI444817B (en) Computer device
CN102478861B (en) Fan control system for memory
US10409940B1 (en) System and method to proxy networking statistics for FPGA cards
US20140173365A1 (en) Semiconductor apparatus, management apparatus, and data processing apparatus
US7868651B1 (en) Off-die termination of memory module signal lines