TW432286B - Bus retry read method - Google Patents

Bus retry read method Download PDF

Info

Publication number
TW432286B
TW432286B TW88104220A TW88104220A TW432286B TW 432286 B TW432286 B TW 432286B TW 88104220 A TW88104220 A TW 88104220A TW 88104220 A TW88104220 A TW 88104220A TW 432286 B TW432286 B TW 432286B
Authority
TW
Taiwan
Prior art keywords
bus
signal
data
request
patent application
Prior art date
Application number
TW88104220A
Other languages
Chinese (zh)
Inventor
Chia-Hsing Yu
Yi-Kuang Wei
Nai-Shung Chang
Original Assignee
Via Tech Inc
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 Via Tech Inc filed Critical Via Tech Inc
Priority to TW88104220A priority Critical patent/TW432286B/en
Priority to DE1999161771 priority patent/DE19961771A1/en
Priority to JP11369424A priority patent/JP2000267991A/en
Application granted granted Critical
Publication of TW432286B publication Critical patent/TW432286B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4208Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a system bus, e.g. VME bus, Futurebus, Multibus
    • G06F13/4217Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a system bus, e.g. VME bus, Futurebus, Multibus with synchronous protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to a bus retry read method including the following procedures. When a host sends a ""read"" request to a target through a bus, and if the target is not ready yet, the target will send a ""stop"" signal as an instruction to request the host to stop reading data. Then, the target will keep a target ready signal in a non-driving status to instruct the host to retry read. At the same time when the target sends out a ""stop"" signal, an address signal containing clock numbers will also be sent out to request the host to carry out retry read after the clock numbers are counted.

Description

__ 132286 五、發明說明(1) 本發明係有關於一種匯流排重試(Re t ry )之方法,特 別有關於一種匯流排重試資料讀取(Retry Read)之方法。 早期個人電腦系統主要係使用單一匯流排來傳送系統 之不同匯流排裝置間的資枓傳送,典型之匯流排包括屬於 16位元資料寬之ISA匯流排和屬於32位元資料寬之EISA匯 流排,目前這些匯流排由於在匯流排寬度和速率上受到限 制,因此難以增加匯流排速度。 另外,有一種匯流排(bus)能夠應用到包括處理器和 前述I SA和EI SA匯流排(以下簡稱擴充匯流排)之電腦系統 中,此種匯流排一般稱作周邊元件互連匯流排(PC I : peripheral component interconect bus),其特 *11 是能 以較快的速度進行資料傳送。 目前採用PC I匯流排之電腦系統主要係加入一主系統 /PCI匯流排橋(HOST/PCI bus bridge ;以下簡稱主橋), 其控制在PC I匯流排、中央處理器、和主記憶體(ma i η memory )間之資料傳送,PCI /擴充匯流排橋(PCI/ EXP ANS I 0N b u s br i dge以下簡稱擴充橋)則控制在p c [匯流 摒和換Λ搞間之資料傳送。此禮安排可使在PC ί匾沒,排上. 之元件透過主橋傳送資料到主記憶體,或接收來自主記,陳 體之資料;在擴充匯流排上之元件則能透過擴充橋和Pc J 匯流排,以和在PC I匯流排上之元件互相傳送資料,亦可 透過主橋、擴充橋和PC I匯流排’以和處理器、主記传體 互相傳送資料。 舉例而言,如第1圖所示之個人電腦系統10,其主要__ 132286 V. Description of the invention (1) The present invention relates to a method for bus retry (Re try), especially a method for bus retry data read (Retry Read). Early personal computer systems mainly used a single bus to transfer data between different bus devices in the system. Typical buses include an ISA bus with a 16-bit data width and an EISA bus with a 32-bit data width. At present, these buses are limited in bus width and speed, so it is difficult to increase the bus speed. In addition, there is a bus that can be applied to a computer system that includes a processor and the aforementioned I SA and EI SA buses (hereinafter referred to as expansion buses). Such buses are generally called peripheral component interconnect buses ( PC I: peripheral component interconect bus), its special * 11 is capable of data transmission at a faster speed. At present, the computer system using the PC I bus is mainly added a host system / PCI bus bridge (HOST / PCI bus bridge; hereinafter referred to as the main bridge), which is controlled by the PC I bus, the central processing unit, and the main memory ( ma i η memory) data transfer, PCI / expansion bus bridge (PCI / EXP ANS I 0N bus bridge hereinafter referred to as the expansion bridge) is controlled in pc [data transfer between the bus and exchange. This gift arrangement allows the components on the PC to send data to the main memory through the main bridge, or to receive data from the master and old style; the components on the expansion bus can use the expansion bridge and Pc J The bus can transmit data to and from the components on the PC I bus, and can also transmit data to and from the processor and the master via the main bridge, expansion bridge, and PC I bus. For example, the personal computer system 10 shown in FIG.

第4頁 ___4 32286 五、發明說明(2) 元件包括中央處理器1 2,主系統匯流排1 4,主系統/PC I匯 流排橋1 6 (以下簡稱主橋),PC I匯流排1 8,PC I /擴充匯流 排橋20 (以下簡稱擴充橋),及擴充匯流排22。Page 4 ___4 32286 V. Description of the invention (2) The components include the central processing unit 12, the main system bus 14, the main system / PC I bus bridge 16 (hereinafter referred to as the main bridge), and the PC I bus 1 8, PC I / expansion bus bridge 20 (hereinafter referred to as the expansion bridge), and expansion bus 22.

其中,處理器12係提供各種處理信號,執行計算和控 制操作,及一般由處理器執行之任務。此外處理器1 2係耦 接到主系統匯流排(host bus) 1 4,而主橋1 6則提供主系統 匯流排Μ和PCI匯流排18間之介面,至於具有符合PCI匯流 排規格如1 99 5年之2. 1修正版之介面的匯流排裝置26及擴 充橋20,則耦接到PCI匯流排18,高頻寬之匯流排裝置26 一般包括輸入/輸出裝置,例如圖形裝置(graphics I dev ice) 26a ’區域網路裝置(LAN) 26b,或小電腦系統介面 裝置(SCSI) 2 6c等。此外’典型低頻寬之匯流排裝置如基 本 ί/O功能裝置(based I/O function device)28 則耗接到 擴充匯流排2 2 ’其中,只有具有主動存取記憶體能力之匯 流排裝置可以作為PCI匯流排主控裝置(PCI bus master) ’不具主動存取記憶體能力之匯流排裝置則僅能作為Ρπ 匯流排受控裝置(PCI bus slave)。 1橋1 6 —般包抬伟裁單元(a r b i t r.a ΐ ο:),.對於矣有存 取^己丨思體能力之匯流排裝置而言,仲裁單元係用以仲裁介 於各種處於競爭態勢之匯流排裝置間之存取要求,以決定 准可以取得對PC I匯流排1 8之控制權。例如當有不同pc 1匯 流排裝置需要存取到記憶體時,其各會發出—要求信號給 仲裁單元’仲裁單元則依據仲裁協定來核准PC I匯流排1 8 給赢得仲裁之匯流排裝置’此時,該匯流排裝置即成為— 4 32286 五、發明說明(3) 只際具有控制權之PC I匯流排主控裝置。 以連接到PC I匯流排1 8上之PC I匯流排主控裝置27為例 ’其特性一般是本身具有一處理器,用以依據其内部時序 週期速率運作,並能在PC I匯流排上進行初始化和控制操 作。 ' 此外,主橋16所執行之功能除包括處理器1 2和PCI匯 '在排間之通訊,並仲裁PC I匯流排1 8之控制權要求外,亦 包括記憶體2 4 /處理器12及記憶體24/PCI匯流排18間之通 訊0Among them, the processor 12 provides various processing signals, performs calculation and control operations, and tasks generally performed by the processor. In addition, the processor 12 is coupled to the host system bus (host bus) 1 4 and the main bridge 16 provides the interface between the host system bus M and the PCI bus 18. As for the PCI bus specification 1 In 1999, the 2.1 modified version of the bus device 26 and the expansion bridge 20 are coupled to the PCI bus 18, and the high-frequency bus device 26 generally includes input / output devices, such as graphics devices (graphics I dev ice) 26a 'LAN 26b, or small computer system interface device (SCSI) 2 6c, etc. In addition, 'typical low-frequency bus devices such as basic I / O function devices (28 based on I / O function device) consume the expansion bus 2 2' Among them, only bus devices with active memory access capabilities can As a PCI bus master device 'A bus device that does not have the ability to actively access memory can only be used as a Pπ bus slave device (PCI bus slave). 1 bridge 1 6 — generally including a cutting unit (arbit ra ο ο :). For a bus device that has access to physical power, the arbitration unit is used to arbitrate between various competitive situations The access requirements between the bus devices to determine that control over the PC I bus 18 can be obtained. For example, when there are different pc 1 bus devices that need to access the memory, they will each issue a request signal to the arbitration unit 'The arbitration unit will approve the PC I bus 1 8 to the bus device that won arbitration according to the arbitration agreement' At this time, the bus device becomes-4 32286 V. Description of the invention (3) Only PC I bus master control device with control right. Take the PC I bus master control device 27 connected to the PC I bus 18 as an example. Its characteristic is generally that it has a processor to operate according to its internal timing cycle rate and can be used on the PC I bus. Perform initialization and control operations. In addition, the functions performed by the main bridge 16 include, in addition to the communication between the processor 12 and the PCI bus, and the arbitration of the control requirements of the PC I bus 18, it also includes the memory 2 4 / processor 12 And memory 24 / PCI bus 18 communication0

擴充橋2 0則耦接PC I匯流排1 8和擴充匯流排22,以執 行各自耦接到PC I匯流排1 8和擴充匯流排22之裝置間之資 料父換、控制信號、和位址信號^擴充橋2 0亦包括仲裁單 元’其用以仲裁耦接到擴充匯流排2 2上之各匯流排裝置28 的要求,其中擴充匯流排22和匯流排裝置28係符合ISA、 EISA或MCA之標準。 其中,如第2圖所示,以主橋16和擴充橋20之間的pci 介面為例,其包括多工位址/資料匯流排信號AD和位元致 能1•信C B ;介面控_制信號,如控制 '信號包括E流排週·期 框格信號FRAME#,主裝置(host)備妥信號IRDY#,受選擇 裝置(target)備妥信號TRDY#,裝置選擇信號DEVSEL#,和 停止信號STOP# ;仲裁信號,如PCI核准信號PGNT#和PCI要 求信號PREQ#。 此外’如表一所示,在P C I架構上,一般包括仲裁狀 態、位址狀態及資料狀態,在不同狀態下各信號係處於不The expansion bridge 20 is coupled to the PC I bus 18 and the expansion bus 22 to perform data parental switching, control signals, and addresses between devices respectively coupled to the PC I bus 18 and the expansion bus 22 The signal ^ expansion bridge 20 also includes an arbitration unit, which is used to arbitrate the requirements of each bus device 28 coupled to the expansion bus 22, where the expansion bus 22 and the bus device 28 are in accordance with ISA, EISA or MCA The standard. Among them, as shown in FIG. 2, the pci interface between the main bridge 16 and the expansion bridge 20 is taken as an example, which includes a multi-site address / data bus signal AD and a bit enable 1 · CB; interface control_ Control signals, such as the control signal, including the E-flow schedule cycle frame signal FRAME #, the host device ready signal IRDY #, the target device ready signal TRDY #, the device selection signal DEVSEL #, and Stop signal STOP #; Arbitration signal, such as PCI approval signal PGNT # and PCI request signal PREQ #. In addition, as shown in Table 1, on the P C I architecture, it generally includes arbitration status, address status, and data status.

第6頁 432286 五、發明說明(4) 同之邏輯電位狀態,如低電位L、高電位Η及浮接狀態X。 表—Page 6 432286 V. Description of the invention (4) Same logic potential states, such as low potential L, high potential Η and floating state X. table-

信號名稱 佧裁狀態 位址狀態 資料狀態 FRAME# X L U最後一筆f科為Η IRDY# X Η L DEVSEL# X Η L CBE X 指令铱息 位元組致能 AD X 位址 t科 STOP# X Η 重試或Η TRDY# X Η L PREQ# 需求信號 L L PGNT# 椋准信號 L L 其中,匯流排週期框格信號FRAME#,係表示一伴隨位 址狀態之讀取或寫入週期動作開始,而在位址狀態期間, 位址信號A D [ 3 1 : 0 ]係包含一有效位址,而位元致能信號 CBE#則包含一有效匯流排指令。 此外,主控裝置備妥信號I R Μ #在資料讀取週期時, 係表示主控裝置 '已準備接受寶料,%在資料冩入週期時, 係表示有效資料已在位址信號AD [ 3 1 : 0 ]上。相對的,受 選擇裝置備妥信號TRDY#在資料讀取週期時,係表示有效 資料已在位址信號AD [ 3 1 : 0 ]上,而在資料寫入週期時, 係表示受選擇裝置已準備接受資料°至於裝置選擇信號 DEVSEL#,係用來顯示所驅動裝置已解碼其位址而作為目Signal name Custom status Address status Data status FRAME # XLU The last item is Η IRDY # X Η L DEVSEL # X Η L CBE X instruction iris byte enable AD X address t section STOP # X Η Repeat Try or Η TRDY # X Η L PREQ # demand signal LL PGNT # 椋 quasi signal LL Among them, the bus cycle frame signal FRAME #, which indicates that a read or write cycle operation with the address status starts, and is in place During the address state, the address signal AD [3 1: 0] contains a valid address, and the bit enable signal CBE # contains a valid bus command. In addition, the master control device ready signal IR Μ # indicates that the master control device is ready to accept the treasure during the data reading cycle, and% indicates that the valid data is in the address signal AD [3 during the data entry cycle. 1: 0]. In contrast, the selected device ready signal TRDY # indicates that the valid data is already on the address signal AD [3 1: 0] during the data reading cycle, and indicates that the selected device has been in the data writing cycle. Ready to accept data. As for the device selection signal DEVSEL #, it is used to show that the driven device has decoded its address as a destination.

第7頁Page 7

五 '發明說明(5) 前被存取之受選擇裝置。 以讀取資料為例’當中央處 受選擇震置之資料時,係由主橋】二2二透過主橋16讀取 而作為主控裝i,且透過受選擇妒置J匯流排控制權 ,^ 1: ( se 1 ec t ed dpvirp) 如擴充橋20來讀取資料給中央處理器12。 d0V1Ce) :而,由於停止信號ST0P#《發出係指示受 2〇要求主控裝置16停止目前匯流排之傳輸動作 ::r:ctlon) ’因此當受選擇裝置2〇不能完成主控裝置 16之化取要求時,其將使用停止信號ST〇p#來初始化 GmUate)匯流排之傳輸動作之終止狀態(ter[nati⑽ /he transaction),其中由受選擇裝置2〇初始化終止 大 target initiated termination)的一種方式是重試 6Y ),亦即在任何資料傳送之前,當受選擇裝置2 0因 处於貢料未備妥狀態而不能進行資料之處理時,便可暫時 終止資料讀取之要求β 士請配合第1,2圖並參閱第3圖,其顯示一重試週期之 -日二序圖。依據第3圖之時序,信號取樣係選在pc I時序信號 i%LK之上昇邊緣,每一翻Pe丨時序馆號PCU 4上昇邊蝝係 广垂直點狀線予以標示’邏輯〇之低電位驅動信號則在信 5虎名%末端加上#以為標示。首先當中央處理器12欲讀取 叉選擇裝置如擴充橋20之資料時,由主控裝置如主橋丨6在 時序週期PCLK2發出匯流排週期框格信號FRAME:;,表示一 伴隨位址狀態之讀取週期動作開始,接著在時序週期 PCLK3發出主控裝置備妥信號,其在資料讀取週期時V. Description of the invention (5) A selected device previously accessed. Take the reading data as an example. When the data selected by the center is selected by the main bridge, the data is read by the main bridge 16 as the main control device i, and the control power of the J bus is selected through the jealous selection. , ^ 1: (se 1 ec t ed dpvirp) Such as the expansion bridge 20 to read data to the central processing unit 12. d0V1Ce): However, because the stop signal ST0P # is issued, it instructs the host control device 16 to stop the transmission of the current bus by 2o :: r: ctlon) 'Therefore, when the selected device 2o cannot complete the main control device 16 When the request is taken, it will use the stop signal ST〇p # to initialize the termination status of the GmUate) bus transmission action (ter [nati⑽ / he transaction), where the selected device 20 initializes and terminates the large target initiated termination. One way is to retry 6Y), that is, before any data transmission, when the selected device 20 cannot process the data because it is in a state where the materials are not ready, it can temporarily terminate the data reading request. Please refer to Figs. 1 and 2 and refer to Fig. 3, which shows the sequence of the first day and the second day of the retry cycle. According to the timing diagram in Figure 3, the signal sampling is selected at the rising edge of the pc I timing signal i% LK. Each turn Pe 丨 timing pavilion number PCU 4 rising edge is a wide vertical dotted line marked with a low level of logic 0. The driving signal is marked with # at the end of the letter 5 tiger name%. First, when the central processing unit 12 wants to read the data of the fork selection device such as the expansion bridge 20, the master control device such as the main bridge 6 issues a bus cycle frame signal FRAME :; at the timing cycle PCLK2, which indicates a state of the accompanying address The read cycle operation starts, and then the master control device is ready to signal in the timing cycle PCLK3.

第8頁 1^2286 五、發明說明(6) 係表不主控裝置已準備好接受資料,受 時序週期PCLK4藉發出裝置選擇信號devsel#擇^ ^ =丨在 目前被存取之受選擇裝置。 王張其為 然而又選擇裒置20也因處於資料未備妥狀雄 不能完成主控較置16之要二η::,而決定其 PCLK4發出停止/因此’其也在時序週期 ^ 七说STOP? ’以作為受選擇裝置2 裝Ϊ16停f目前匯流排傳輪動作(transaction)之指亍,仏 ^ ’此X選擇裝置2〇仍保持備妥信號丽#為高電位、狀 擇胖m :狀態完成於時序週期PCLK4 ’但由於受選 擇衣置2〇並未驅動備妥信號TRDY#(未拉下),因此,. 序週期PCLK4期間 >,並沒有資料傳送。 口此在% 由於$選擇裝置20在時序週射⑽4發出停止 5虎STOP#且保持借玄e缺τ4 i f" it ke A亦符備文L 為高電位狀態’因此,主 控衣置'6知道受選擇裝置20不願意傳送任何資料。 之後基於主控裝置1 6必須在主控裝置備妥饩 , 无拉畦匯&排週期框格信號FRAME#,因 T ’匿流排週期框格信抓牆在時序週期 期pCu5拉起時,停框格信射議E#在時序週 資料狀離士 A # ^ 仍未拉起,因此最後一個 3狀::成於日寸序週期PCU5。接著由於資料處理已經 元成 文選擇裝置20在時序週期p「丨扣彳* μ产站 和裝置選擇信號βΕνδΕΙ^序週㈣LK6拉起h止k號ST㈣ 中則述貧料處理期間並沒有任何資料被予以傳送Page 8 1 ^ 2286 V. Description of the invention (6) The main control device is ready to accept data, and the timing period PCLK4 is issued by the device selection signal devsel # select ^ ^ = 丨 the selected device currently being accessed . Wang Zhang Qiwei, however, chose to set 20 because he was unable to complete the master control and set 16 to two η :: because he was not ready for the data. He decided to stop sending PCLK4 / so 'It is also in the timing cycle. STOP? 'As the selected device 2 is installed 16 stop f currently refers to the bus transfer action (仏 transaction), 仏 ^' This X selection device 2 still maintains the ready signal Li # is high, the state is fat : The state is completed in the timing cycle PCLK4 ', but the selected signal 20 has not driven the ready signal TRDY # (not pulled down). Therefore, during the sequence cycle PCLK4 >, no data is transmitted. Because of this, the $ selection device 20 fired at the timing cycle and issued a stop 5 tiger STOP # and kept the borrowed e. Τ4 i f " it ke A is also in preparation. L is in a high potential state ', so the master control device is set to' 6. The selected device 20 is unwilling to transmit any data. After that, the master control device 16 must be prepared at the master control device, no pull sink & cyclic frame signal FRAME #, because T ' , Stop the frame letter shooting discussion E # in the time series week data state Lishi A # ^ has not yet been pulled up, so the last 3 state :: completed in the daily order cycle PCU5. Then, since the data processing has been completed, the text selection device 20 has no data in the time period of the processing of the poor material during the time period p "丨 buckle * μ production station and device selection signal βΕνδΕΙ ^ sequence week LK6 pull up h only k number ST㈣. Send

第9頁 _4 32286 五、發明說明(7) ,且主控裝置16需要再度重複重試讀取之要求。 前述問題之一是,由於主控裝置不知道受選擇裝置何 時可以接受其讀取之要求,因此必須不斷進行重試讀取之 要求以進行資料之處理,不僅時常佔用P C I匯流排,也浪 費許多等待時間。 傳統解決之方法是利用BI 0S寫入一段計時器(11 me r) 之程式,其事先估計一既定時間,並要求主控裝置於此既 定時間之後再進行重試讀取之要求。Page 9 _4 32286 V. Description of the invention (7), and the master control device 16 needs to repeat the retry reading request again. One of the aforementioned problems is that because the master device does not know when the selected device can accept its read request, it must constantly retry the read request to process the data, which not only often occupies the PCI bus, but also wastes a lot waiting time. The traditional solution is to use BI 0S to write a timer (11 mer) program, which estimates a predetermined time in advance and requires the master control device to retry the reading after this predetermined time.

然而其問題在於,事先估計之既定時間並非受選擇裝 置可接受主控裝置讀取之真正等待時間,例如,當設定既 定時間為4 0 n s而要求主控裝置於此既定時間之後再進行重 試讀取之要求,而實際上,受選擇裝置卻需於第41ns時才 可以接受其讀取之要求,此時,主控裝置必須再等待4Ons 後才能進行重試讀取之要求,如此反而造成中央處理器之 效率下降。 為了解決上述問題,本發明另提出一種匯流排重試資 料讀取之方法,係包括下列步驟。當一主控裝置透過匯流 向 &lt; 受選擇裝置發出讀取資料要·衣'呀〜若受還擇裝'置.¾ 未備妥,則由受選擇裝置發出一停止信號,以作為受選擇 裝置要求主控裝置停止資料讀取之指示。此時,受選擇裝 置保持一受選擇裝置備妥信號為不驅動狀態,以指示主控 裝置重試讀取。而在受選擇裝置發出停止信號時,同時發 出一含有時序計量(c 1 〇 c k n u m b e r )之位址信號,以要求主 控裝置在此時序計量後再進行重試讀取之要求3However, the problem is that the predetermined time estimated in advance is not the actual waiting time that the selected device can accept the reading of the master device. For example, when the predetermined time is set to 40 ns and the master device is required to retry after this predetermined time Read request, but in fact, the selected device can only accept its read request at 41ns. At this time, the main control device must wait 4Ons before retrying the read request. The efficiency of the central processing unit decreases. In order to solve the above-mentioned problem, the present invention further provides a method for reading the bus retry data, which includes the following steps. When a master control device sends a read data request to the <selected device through confluence ~ if it is still selected, the device will send a stop signal as the selected device. The device requested an instruction from the master device to stop reading data. At this time, the selected device keeps a ready signal of the selected device in a non-driven state to instruct the main control device to retry reading. When the selected device sends a stop signal, it also sends out an address signal containing a timing measurement (c 1 0 c k n u m b e r) to request the master control device to retry reading after this timing measurement. 3

第10頁 _4 32286 五、發明說明(8) 其中時序計量範圍可依位址信號之位元數設定,在此 位址信號為3 2位元(相當於2 3 2 X PC I匯流排之時序週期範 圍),且此時序計量值為受選擇裝置接受主控裝置讀取要 求前所需等待之時間。 以下,就圖式說明本發明之一種PCI匯流排重試資料 讀取之方法的實施例。 圖式簡單說明 第1圖係顯示具有PC I匯流排和擴充匯流排之電腦系統 方塊圖。 第2圖係顯示具有部份P C I介面信號之示意圖。 第3圖係顯示傳統重試週期之時序圖。 第4圖係顯示依據本發明之一實施例中,一重試週期 之時序圖。顯示傳統在PC I匯流排上傳送資料之時序圖。 第5圖係顯示本發明匯流排重試資料讀取之方法的流 程圖。 [符號說明] 處理器~ 1 2 ;主匯流排〜1 4 ;主橋〜1 6 ;記憶體〜24 ; PCI匯流排〜18 ;—圖形装置〜26a ;區域網路小電: 腦系統介面裝置6c ; PCI匯流排主控裝置〜27 ;匯流排裝 置〜2 8 ;擴充橋〜2 0 :擴充匯流排〜2 2。 實施例 請參閱第5圖,其顯示本發明匯流排重試資料讀取之 方法的流程圖。其步驟如下所述: 首先,依據步驟S50,由一主控裝置透過匯流排向一Page 10_4 32286 V. Description of the invention (8) The timing measurement range can be set according to the number of bits of the address signal, where the address signal is 32 bits (equivalent to 2 3 2 X PC I bus) Timing cycle range), and this timing measurement value is the time to wait before the selected device accepts the read request from the master device. In the following, an embodiment of a method for reading a PCI bus retry data according to the present invention is illustrated with reference to the drawings. Brief Description of Drawings Figure 1 is a block diagram showing a computer system with a PC I bus and an expansion bus. Fig. 2 is a schematic diagram showing signals of a part of the PC interface. Figure 3 shows the timing diagram of the traditional retry cycle. Fig. 4 is a timing chart showing a retry period in one embodiment according to the present invention. Timing chart showing the traditional data transmission on PC I bus. Fig. 5 is a flowchart showing a method for reading data from the bus retry of the present invention. [Symbols] Processor ~ 1 2; main bus ~ 1 4; main bridge ~ 16; memory ~ 24; PCI bus ~ 18;-graphics device ~ 26a; local network small power: brain system interface device 6c; PCI bus master device ~ 27; bus device ~ 2 8; expansion bridge ~ 2 0: expansion bus ~ 22. Example Please refer to FIG. 5, which shows a flowchart of a method for reading data from a bus retry in the present invention. The steps are as follows: First, according to step S50, a master control device passes a bus to a

第丨1頁 4 32286 五、發明說明(9) ' 受選擇衆置發出讀取資料要求:FRAME#,IRDY#。 其次’依據步驟S52,若受選擇裝置尚未備妥,則由 受選擇裝置發出一停止信號STOP#。 接著依據步驟S54,由受選擇裝置保持受選擇裝置備 妥信號TRDY#為不驅動狀態。 接著依據步驟S56 ’同時發出一含有時序計量(ci〇ck )之位址信號AD [ 3 1 : 〇 ],以要求主控裝置在此時序 計量後再進行重試讀取(Retry Read)之要求。Page 丨 1 4 32286 V. Description of the invention (9) 'The selected public place issued a data reading request: FRAME #, IRDY #. Next 'according to step S52, if the selected device is not yet ready, the selected device sends a stop signal STOP #. Then according to step S54, the selected device keeps the selected device ready signal TRDY # in the non-driving state. Then according to step S56 ', an address signal AD [3 1: 〇] containing timing measurement (ci0ck) is simultaneously sent to request the master control device to perform a retry read request after this timing measurement. .

其中’本發明係適用於匯流排資料之傳輸,例如PcI 匯流排或加速圖形埠(AGP : accelerated graphics port) 匯流排之資料傳輸,而為方便說明起見,在本實施例中係 以P C I匯流排為例。 ’ 一 請配合第1、2圖並參閱第4圖,其顯示依據本發明之 ^施例中,一重試週期之時序圖。首先當中央處理器12 欲讀取受選擇裝置如擴充橋20之資料時,由主控裝置如主 =·1_6在吟序週期pCLK2發出匯流排週期框格信號f以㈣#, # p p ^伴隨位址狀怨之讀取週期動作開始,接著在時序週 士 “ w 土垃裝置凉妥信說1 RD Y #,其在資料讀..取週期 2係表不主控裝置已準備好接受資料’受選擇裝置則在 曰1週期PCLK4藉發出裴置選擇信號Devsel# ’以主張其為 目則被存取之受選擇裝置。 —二而又選擇裝置也因處於資料未備妥狀態而決定其不 Γ 3 ^控裝置之要求’因此,其也在時序週期PCLK4發 τ止L號31'0&quot; ’以為受選擇裝置要求主控裝置停止目Wherein, the present invention is applicable to data transmission of a bus, such as data transmission of a PcI bus or an accelerated graphics port (AGP: accelerated graphics port). For the convenience of description, the PCI bus is used in this embodiment. Example. ′ A Please refer to FIG. 1 and FIG. 2 and refer to FIG. 4, which shows a timing chart of a retry period in the embodiment of the present invention. First, when the central processing unit 12 wants to read the data of the selected device such as the expansion bridge 20, the master control device such as the master = · 1_6 issues the bus cycle frame signal f with the 吟 #, # pp ^ in the sequence cycle pCLK2. The action of the reading cycle of the address resentment started, and then in the time sequence, "W Tu device coolly said 1 RD Y #, its reading in the data .. fetch cycle 2 is the table indicating that the main control device is ready to accept data 'The selected device then sends a Pesel selection signal Devsel # in one cycle of PCLK4.' The selected device is accessed for the purpose of claiming it.-The second selected device is also determined because its data is not ready. Γ 3 ^ Requirement of control device 'Therefore, it also issued L number 31' 0 &quot; at the timing cycle PCLK4, thinking that the selected device requires the main control device to stop

第12頁 132286 五、發明說明(丨0) 前資料傳輸之指示’同時’此受選擇裝置仍保持 TRDY#為高電位狀態。 文U處 此時,利用一無效信號,如位址信號△]) [ 3】:〇 r 在受選擇裝置發出停止信號STOP#時,同時發出—含有^ 序計量(clock number)之位址信號AD[31 :〇]以要求主 裝置在此時序計量後再進行重試讀取之要求,其中時序^ 量範圍在232位元内,且此時序計量值為受選擇裝置^可&quot; 受主控裝置讀取要求前所需之等待時間。亦即,在χ 之範圍内,受選擇裝置可依據前述所需之等待時間來 6又疋所發出位址信號AD之時序計量值。 隨後’第一個資料狀態完成於時序週期pCLK4,但由 $受選擇裝置並未驅動備妥信號^”#(或未拉至低電位狀 “)Q此位址h虎並未發出,亦即在時序週期pclk4期 間,並沒有進行位址資料之傳送,而由於^ AD[31 〇]在此屬於無效信號,因此可利用在受選擇裝置 發出停止信號STOP#時’同時發出一含有時序計量(clock number )之位址信號AD[31 : 〇]以要求主控裝置在相當於此 时序^量之時閡後再進&amp;重試讀取之要求: σ 此外’由於受選擇裝置在時序週期PCLK4發出停止信 號stop#且保持備妥信號7[?1^#為高電位狀態,因此,主控 裝置知這受選擇裝置不願意傳送任何資料。 义之後’主控裝置必須在主控裝置備妥信號IRDY#拉起 之則先拉起匯流排週期框格信號FRAME#,因此,在本例中 匯机排週期框格信號FRAME#在時序週期PCLK5拉起,而Page 12 132286 V. Description of the invention (丨 0) Data transmission instructions before ‘Meanwhile’ This selected device still keeps TRDY # in a high potential state. At this point in the text, an invalid signal is used, such as the address signal △]) [3]: 0r When the selected device issues a stop signal STOP #, it simultaneously sends out an address signal containing a clock number (clock number). AD [31: 〇] requires the host device to retry reading after this timing measurement, where the timing measurement range is within 232 bits, and the timing measurement value is the selected device ^ may &quot; acceptor The waiting time before the control device reads the request. That is, within the range of χ, the selected device can calculate the timing measurement value of the issued address signal AD according to the aforementioned waiting time. Subsequently, the first data state was completed in the timing cycle pCLK4, but the ready device was not driven by the selected device ^ "# (or not pulled to a low potential") This address was not issued by the tiger, that is, During the timing cycle pclk4, no address data is transmitted, and because ^ AD [31 〇] is an invalid signal here, it can be used to simultaneously issue a timing measurement ( clock number) address signal AD [31: 〇] to require the master control device to re-enter the &amp; retry reading requirement at a time equivalent to this timing ^ amount: σ In addition, 'Because the selected device is in the timing cycle PCLK4 sends a stop signal stop # and keeps the ready signal 7 [? 1 ^ # in a high potential state. Therefore, the master control device knows that the selected device is unwilling to transmit any data. After the definition, the main control device must first pull up the bus cycle sash signal FRAME # before the master control device is ready for the signal IRDY #. Therefore, in this example, the bus cycle sash signal FRAME # is in the timing cycle. PCLK5 is pulled up while

第13頁 五、發明說明(11) 432286 由於匯流排週期框格信號FRAME#在時序週期pcU5拉起時 ’停止信號STOP#仍未拉起’因此最後_個資料狀態完^ 於時序週期PCLK5。接著由於資料處理已經完成,受選擇 装置在時序週期PCLK6時拉起停止信號stop#和巧置選擇信 號DEVSEL# 。 ' ’ 其中’如述資料處理期間並沒有任何資料被予以傳送Page 13 V. Description of the invention (11) 432286 Because the bus cycle sash signal FRAME # is pulled up in the timing cycle pcU5, the 'stop signal STOP # has not been pulled up', so the last data state is completed in the timing cycle PCLK5. Then, since the data processing has been completed, the selected device pulls up the stop signal stop # and the set selection signal DEVSEL # at the timing cycle PCLK6. '' Among which 'No data was transmitted during the data processing

然而’主控裝置在此依據前述所需等待時間設定之時 序計量範圍内將不會再度重複重試讀取之要求,因此,玎 避免PCI匯流排被隨時佔用’同時,當主控裝置再度重複 重試讀取之要求時,受選擇裝置已處於可接受讀取&quot;要求之 狀態而可避免資料讀取之再度失敗。 露如上,然其益#用 在不脫離本發明之精 飾,因此本發明之保 定者為準。 雖然本發明已以一較佳實施例揭 以限定本發明’任何熟習此技藝者, 神和範圍内,當可作些許之更%與潤 護範圍當視後附之申請專利範圍所界However, 'the master control device will not repeat the retry reading request within the timing measurement range set according to the aforementioned required waiting time, so 玎 avoid the PCI bus being occupied at any time' At the same time, when the master control device repeats again When retrying the read request, the selected device is already in a state where it can accept the read request and can prevent the data read from failing again.露 如上 , 然 其 益 # is used without departing from the essence of the present invention, so the guarantor of the present invention shall prevail. Although the present invention has been disclosed with a preferred embodiment to limit the present invention, anyone who is familiar with this technique, within the scope of God and God, should be able to make a little bit more and protect the scope as the scope of the attached patent application.

Claims (1)

432286 六、申請專利範圍 1. 一種匯流排重試資料讀取之方法,係包括下列步驟 當一主控裝置透過該匯流排向一受選擇裝置 選擇裝置尚未備妥,則由該 以作為該受選擇裝置要求該 資料要求時,若該受 置發出一停止信號, 停止資料讀取之指示 該受選擇裝置保 癌,以指不該主控裝 在該受選擇裝置 言十量(clock number) 時序計量後再進行重 2. 如申請專利範 計量範圍係依該位址 3. 如申請專利範 信號之位元數為3 2位 4. 如申請專利範 計量為該受選擇裝置 /Vs ,七 η 士 寸时丨日J ^ 5. 如申請專利範 排為PC I匯流排。 6. 如申請專利範 排為AGP匯流排。 發出讀取 受選擇裝 主控裝置 含有時序 裝置在該 該時序 該位址 該時序 前所需之 持一受選擇裝置備妥信號為不驅動狀 置重試讀取;及 發出該停止信號時,發出一 之位址信號,以要求該主控 試讀取之要求。 圍第1項所述之方法,其中 信號之位元數設定。 圍第2項所述之方法,其中 元。 圍第1項所述之方法,其中 接受該主控裝置之讀取要求 圍第1項所述之方法,其中,該匯流 圍第1項所述之方法,其中,該匯流 7. —種匯流排重試資料讀取之方法,係包括下列步驟432286 6. Scope of patent application 1. A method for reading data from a bus retry, including the following steps: When a master control device selects a device through the bus to a selected device that is not ready, it shall be regarded as the receiving device. When the selection device requests the data request, if the device sends a stop signal, the instruction to stop reading data instructs the device to be selected to protect the cancer, to indicate that the main control device should not be installed on the device to be selected. Measure again after the measurement 2. If the scope of the patent application is measured according to the address 3. If the number of bits of the patent application signal is 32 digits 4. If the patent application is measured as the selected device / Vs, seven η Shi inch 丨 day J ^ 5. If the patent application paradigm is PC I bus. 6. If the patent application model is AGP bus. Sending the read-selected-installed master control device including the timing device and the address and the timing before the timing needs to hold a signal of the selected device ready to retry reading; and when the stop signal is issued, Send an address signal to request the master to test the request. The method described in item 1, wherein the number of bits of the signal is set. The method described in item 2 above. The method described in item 1, wherein the read request of the master control device is accepted. The method described in item 1, wherein the method described in item 1, wherein the confluence 7. —kind of confluence The method for retrying data reading is as follows: 第15頁 432286 432286 t、申請專利範圍 當一中 一受選擇裝 備妥,則由 擇裝置要求 該受選 態,以指示 在該受 計量(c 1 〇 c k 時序計量後 受選擇裝置 央處理器 置發出讀 該受選擇 該主控裝 擇裝置保 該主控裝 選擇裝置 number) 再進行重 接受該主 藉一主控裝置而透過該PC I匯流排向 取資料要求時,若該受選擇裝置尚未 裝置發出一停止信號,以作為該受選 置停止資料讀取之指示; 持一受選擇裝置備妥信號為不驅動狀 置重試讀取;及 Η 發出該停止信號時,發出一含有時序 之位址信號,以要求該主控裝置在該 試讀取之要求,其中該時序計量為該 控裝置之讀取要求前所需之等待時間 8. 如申請專利範圍第7項所述之方法,其中,該主控 裝置為主橋。 9. 如申請專利範圍第7項所述之方法,其中,該受選 擇裝置為擴充橋。 1 〇 .如申請專利範圍第7項所述之方法,其中,該受選 擇裝置發出之停止信號為低電位狀態。 Π .如宇請專利範圍第項所述之方法:其宁、該受 選擇裝置係保持該受選擇裝置備妥信號為高電位狀態。Page 15 432286 432286 t. When the scope of the patent application is complete, the selection device requires the selected state to indicate that the central processing unit of the selection device is set after the measurement (c 1 ck sequence measurement). When reading the selected master control device and ensuring that the master control device is selected, and then re-accept the master to borrow a master device and request data through the PC I bus, if the selected device has not yet The device sends a stop signal as an indication of the selected device to stop reading the data; holds the signal of the selected device ready to retry reading without driving; and Η sends a stop signal containing the timing when the stop signal is issued Address signal to request the master control device to read the request, wherein the timing measurement is the waiting time required before the control device reads the request. 8. As described in item 7 of the scope of patent application, The main control device is a main bridge. 9. The method according to item 7 of the scope of patent application, wherein the selected device is an expansion bridge. 10. The method according to item 7 of the scope of the patent application, wherein the stop signal from the selected device is in a low potential state. Π. The method described in item No. of the scope of the patent application: It is rather that the selected device keeps the ready signal of the selected device at a high potential state. 第16頁Page 16
TW88104220A 1999-03-18 1999-03-18 Bus retry read method TW432286B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
TW88104220A TW432286B (en) 1999-03-18 1999-03-18 Bus retry read method
DE1999161771 DE19961771A1 (en) 1999-03-18 1999-12-21 Retry termination method for read transactions on computer bus by outputting address-data signal representing number of clock cycles after which master re-initiates read transaction
JP11369424A JP2000267991A (en) 1999-03-18 1999-12-27 Retry processing method in reading processing of bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW88104220A TW432286B (en) 1999-03-18 1999-03-18 Bus retry read method

Publications (1)

Publication Number Publication Date
TW432286B true TW432286B (en) 2001-05-01

Family

ID=21639985

Family Applications (1)

Application Number Title Priority Date Filing Date
TW88104220A TW432286B (en) 1999-03-18 1999-03-18 Bus retry read method

Country Status (3)

Country Link
JP (1) JP2000267991A (en)
DE (1) DE19961771A1 (en)
TW (1) TW432286B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI464598B (en) * 2011-11-30 2014-12-11 Andes Technology Corp Bus apparatus with default speculative transactions and non-speculative extension

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10125887A1 (en) * 2001-05-28 2002-12-12 Siemens Ag PCI bus protocol for distributed and fault-tolerant systems
GB2485095A (en) * 2010-02-26 2012-05-02 Hewlett Packard Development Co Restoring stability to an unstable bus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI464598B (en) * 2011-11-30 2014-12-11 Andes Technology Corp Bus apparatus with default speculative transactions and non-speculative extension

Also Published As

Publication number Publication date
DE19961771A1 (en) 2000-09-28
JP2000267991A (en) 2000-09-29

Similar Documents

Publication Publication Date Title
US6598103B2 (en) Transmission of signals synchronous to a common clock and transmission of data synchronous to strobes in a multiple agent processing system
US6581124B1 (en) High performance internal bus for promoting design reuse in north bridge chips
EP1032880B1 (en) Method and apparatus for switching between source-synchronous and common clock data transfer modes in a multiple agent processing system
US5535341A (en) Apparatus and method for determining the status of data buffers in a bridge between two buses during a flush operation
US6289406B1 (en) Optimizing the performance of asynchronous bus bridges with dynamic transactions
US5379386A (en) Micro channel interface controller
WO2005091812A2 (en) Pvdm (packet voice data module) generic bus protocol
US6970962B2 (en) Transfer request pipeline throttling
JPH10293744A (en) Pci bus system
WO2000013092A2 (en) Multiplexed address and data bus within a computer
JPH08263430A (en) Method for omission of bus turnaround cycle and computer system
US7096290B2 (en) On-chip high speed data interface
US6052754A (en) Centrally controlled interface scheme for promoting design reusable circuit blocks
US5418930A (en) Circuit for interfacing asynchronous to synchronous communications
EP1750203B1 (en) Data bus mechanism for dynamic source synchronized sampling adjust
US20020078282A1 (en) Target directed completion for bus transactions
JP4583590B2 (en) Control chipset arbitration in bus transactions
TW432286B (en) Bus retry read method
US7340553B2 (en) Data processing device and method for transferring data
US6693914B1 (en) Arbitration mechanism for packet transmission
US10489319B2 (en) Automatic transmission of dummy bits in bus master
US6463490B1 (en) Dual data rate transfer on PCI bus
US7302508B2 (en) Apparatus and method for high speed data transfer
JP2003316724A (en) Signal transmission device between control chip sets
JP4603054B2 (en) Scalable bus structure

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees