KR100361374B1 - Method for retrying matching in sun bus and vme bus - Google Patents

Method for retrying matching in sun bus and vme bus Download PDF

Info

Publication number
KR100361374B1
KR100361374B1 KR1019950067178A KR19950067178A KR100361374B1 KR 100361374 B1 KR100361374 B1 KR 100361374B1 KR 1019950067178 A KR1019950067178 A KR 1019950067178A KR 19950067178 A KR19950067178 A KR 19950067178A KR 100361374 B1 KR100361374 B1 KR 100361374B1
Authority
KR
South Korea
Prior art keywords
bus
master
sun
sunbus
write
Prior art date
Application number
KR1019950067178A
Other languages
Korean (ko)
Other versions
KR970049432A (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 KR1019950067178A priority Critical patent/KR100361374B1/en
Publication of KR970049432A publication Critical patent/KR970049432A/en
Application granted granted Critical
Publication of KR100361374B1 publication Critical patent/KR100361374B1/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/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • G06F13/364Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using independent requests or grants, e.g. using separated request and grant lines
    • 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/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • G06F13/4031Coupling between buses using bus bridges with arbitration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE: A method for retrying a matching in a SUN bus and a VME bus is provided to increase a use rate of a SUN bus and a VME bus by evading a collision of data caused by a cycle duplication and reducing a retrial rate of a SUN bus master when masters of the SUN bus and the VME bus execute a read/write cycle of data for a data transmission. CONSTITUTION: A master on a VME bus supplies a bus use request signal to an arbiter through the VME bus and waits a bus use permission signal. If the bus use permission signal is generated from the arbiter and supplied to the master, the master generates an address strobe and a data transmission direction signal and supplies the signal to a retrial control unit through the VME bus for executing a reading or writing to a slave on a SUN bus. The retrial control unit checks whether a data transmission direction signal is for a read or a write, and judges whether an access to a SUN bus master is retried. While the VME bus master executes a writing operation(Sv_m_write), if the master of the SUN bus accesses for a reading or a writing, the retrial control unit generates a signal for a retrial, and permits the master of the SUN bus to operate a reading(Ss_m_read) or writing(Ss_m_write) in accordance with a data transmission direction(S_rd).

Description

선버스와 브이엠이버스에서 정합 재시도 방법.How to retry registration on Sunbus and VMBus.

본 발명은 선버스(SUN Bus)와 브이엠이 버스(VME Bus)의 정합에 관한 것으로, 좀더 상세하게는 양 버스의 마스타가 데이타 전송을 위한 데이타의 쓰기 및 읽기의 사이클을 수행시 중복되어 발생되는 데이타의 충돌을 회피하기 위한 선버스와 브이엠버스에서 정합 재시도 방법에 관한 것이다.The present invention relates to the matching of a SUN bus and a VME bus, and more particularly, when the masters of both buses perform a cycle of writing and reading data for data transfer. The present invention relates to a matching retry method in sunbus and vembus to avoid collision of data.

제 1 도는 종래의 선버스와 브이엠버스 정합에서의 재시도 동작 상태 천이도를 나타낸 것으로서, 이와같은 상태 천이도를 이용하여 데이타를 전송하게 된다.FIG. 1 shows a retry operation state transition diagram in the conventional sun bus and V-embus matching. Data is transmitted using the state transition diagram.

즉, 선버스(Sbus)와 브이엠이버스(VMEbus)상에서 양 마스타가 어떠한 동작도 발생하지 않은 준비상태에서, 먼저 브이엠이버스(VMEbus)의 마스타(RQ)가 데이타의 쓰기 또는 읽기를 하기 위해, 즉 데이타를 전송한기 위해 브이엠이 버스(VMEbus)를 통해 버스사용 요구신호를 중재기(105)로 전송하고 그로부터의 사용허가신호를 기다리게 된다.That is, when both masters do not have any action on the Sbus and VMEbus, the master of the VMEbus (RQ) writes or reads data first. In order to transmit the data, that is, the MBM transmits a bus use request signal to the arbiter 105 through the VMEbus and waits for a permission signal therefrom.

상기 브이엠이 버스의 마스타(RQ)는 중재기로 부터 사용허가 신호가 수신되면 브이엠이 버스를 통해 어드레스를 발생하여 데이타를 쓰기/읽기 시작한다.When the permission signal is received from the arbiter, the master RQ of the MBM bus starts to write / read data by generating an address through the MBM bus.

그리고 그 브이엠이 버스로 부터 전송되는 데이타를 읽기 시작한다.The MB then begins reading data from the bus.

이와같이, 브이엠이 버스의 마스타(RQ)가 데이타의 전송을 위한 쓰기 및 읽기 사이클을 수행하는 도중 또는 인터럽트진행(iack) 또는 브이엠이버스(VMEbus)의 사용허가도중에 선버스이 마스타(s-r0)의 접근이 발생하면, 재시도 제어부에서는 선버스(Sbus)상에 재시도를 위한 응답신호(S-ack)를 전송하여 선버스 마스타(S-RQ)의 접근은 모두 재시도 되도록 처리하고 있다.As such, the Sunbus master (s-r0) is in the middle of the bus master (RQ) performing write and read cycles for data transfer, or during the use of an interrupt or VMEbus. ), The retry control unit transmits a response signal (S-ack) for retry on the sunbus (Sbus), and processes all accesses of the sunbus master (S-RQ) to be retried. .

그러나, 이와같은 종래의 선버스와 브이엠버스 정합에서의 재시도 동작 상태 천이도를 갖는 재시도 제어부는 전술한 바와같이, 브이엠이 버스(VMEbus)의 마스타가 수행하는 동작이 읽기인지 또는 쓰기인지를 구분하지 않고 처리함에 따라 선버스의 마스타에게 지나치게 많은 재시도를 요구함으로써 선버스의 사용율이 저하되고, 이로인하여 시스템 전체의 입출력 성능의 저하를 초래하게 되는 문제점이 있었다.However, the retry control unit having such a retry operation state transition diagram in the conventional sunbus and VMS bus matching, as described above, reads or writes whether the operation of the master of the VME bus is performed. As a result of processing without distinguishing the recognition, there is a problem in that the usage of the sunbus is reduced by requiring too many retries from the masters of the sunbus, thereby causing a decrease in the input / output performance of the entire system.

따라서, 본 발명의 목적은 이와같은 종래의 문제점을 감안하여 선버스(Sbus)와 브이엠이버스(VMEbus)의 양 마스타가 데이타 전송을 위한 데이타의 쓰기 및 읽기의 사이클을 수행시에 사이클이 증복되어 발생되는 데이타의 충돌을 회피하고 선버스 마스타의 재 시도율을 줄여 선버스 및 브이엠이 버스의 사용율을 증가시키도륵 하는 선버스와 브이엠버스에서 정합 재시도 방법을 제공함에 있다.Accordingly, an object of the present invention is to increase the cycle when both masters of Sbus and VMEbus perform cycles of writing and reading data for data transfer in view of such a conventional problem. It provides a matching retry method in Sunbus and Vbus that avoids data collisions and decreases the Sunbus master's retry rate, thereby increasing the bus utilization rate.

상기와 같은 목적을 달성하기 위한 본 발명 선버스와 브이엠버스에서 정합 재시도 방법은 브이엠이 버스 마스타의 데이타 전송이 읽기인지 쓰기인지인를 구분하여 선버스 마스타의 접근을 재시도 시킬 것인지의 여부를 판단하는 단계와; 상기 구분한 브이엠이버스 마스타가 쓰기 동작상태에서 상기 선버스 마스타의 읽기 및 쓰기를 위한 접근이 있는 경우에 재시도 시키지 않고 선버스 마스타가 쓰기 및 읽기 사이클을 수행하도록 브이엠이 버스상의 슬레이브로 데이타를 제공하는 단계와; 상기 단계에서 구분한 브이엠이버스 마스타가 읽기 동작상태에서 선버스 마스타의 쓰기를 위한 접근이 있는 경우에 재시도 시키지 않고 선버스 마스타가 쓰기 사이클을 수행하도록 브이엠이 버스상의 슬레이브로 데이타를 전송하는 단계와; 상기 구분한 브이엠이버스 마스타가 읽기 동작상태에저 선버스 마스타의 접근이 읽기이면 그 동작을 재시도하는 하는 단계와; 상기 브이엠이버스 마스타가 버스사용권을 받고 있는 중에 선버스 마스타의 접근이 있으면 그 동작을 재시도시키는 단계와; 상기 브이엠이버상의 인터럽트 처리 사이클 진행중 선버스 마스타의 접근이 있으면 그 마스타의 읽기 동작을 재시도시키는 단계로 이루어짐을 특징으로 한다.The matching retry method in the sunbus and VMBus of the present invention for achieving the above object is whether to retry the access of the Sunbus master by distinguishing whether the data transfer of the bus master is read or write. Determining; When the divided VMS master has access to read and write the Sunbus master in the write operation state, the VMS performs the write and read cycles to the slaves on the bus without retrying. Providing data; If the VMS master identified in the above step has read access status and there is access for writing to the Sunbus master, VM transfers data to the slave on the bus so that the Sunbus master performs the write cycle without retrying. Making a step; Retrying the operation when the divided V-Master master accesses the Sunbus master in a read operation state and reads; Retrying the operation if the sun bus master is approaching while the V bus master is receiving a bus license; Retrying the read operation of the master if there is an approach of the Sunbus master during the interrupt processing cycle on the V-Am.

이하, 본 발명을 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, described in detail with reference to the accompanying drawings of the present invention.

제 2 도는 본 발명 선버스와 브이엠버스 정합에서의 재시도 제어 장치를 보인 로직 구성도로서, 이에 도시한 바와같이, 브이엠이버스(104)와의 정합을 통해 상대방의 버스에 존재하는 슬레이브(107 or 108)에 데이타를 주거나 또는 읽기 위해 접근시작신호(S_sel)와 데이타전송 방향신호(S_rd)를 선버스(102)에 제공하는 선버스 마스타(101)와; 상기 선버스 마스타(101)의 버스상에 존재하는 슬레이브 (107)에 데이타를 주거나 또는 읽기 위해 어드레스 스트로브(V_as), 데이타전송 방향신호(vwrite), 버스사용 요구신호(V_br), 인터럽트 요구신호(V_int)를 브이엠이버스(104)를 통해 전송하는 브이엠이버스 마스타(103)와; 상기 브이엠이버스 마스타(103)에서 제공되는 버스사용 요구 신호(V_br)를 수신하여 버스사용 허가신호(V_bg)를 브이엠이버스(104)의 마스타(103)에 전송하고 버스구동알림신호(vbgn)를 전송하는 중재기(105)와; 상기 브이엠이버스(104)상의 마스타 (103)로 부터 인터럽트 요구신호(V-int)가 입력되면 인터럽트를 받았다는 신호인 인터럽트 인식신호(iack)를 브이엠이버스104)상의 마스타(103)에 전송하는 인터럽트 처리부(106)와; 상기 브이엠이버스(104)의 마스타(103)로 부터 입력되는 어드레스 스트로브(V_as), 데이타전송 방향신호(vwrite)와 중재기(105) 및 인터럽트 처리부(106)로 부터 제공되는 버스구동 알림신호(vbgn), 인터럽트 인식신호(iack)에 따라 재시도신호(S_ack)를 발생하여 선버스(102)상의 마스타(101)에게 재시도를 요구함과 아울러 그로부터 입력되는 접근시작신호(S_sel) 및 데이타전송 방향신호 (S_rd)에 따라 읽기 및 쓰기를 허락하는 재시도 제어부(100)로 구성한다.FIG. 2 is a logic diagram showing a retry control device in a sunbus and VMS matching according to the present invention. As shown in FIG. A sunbus master 101 which provides the sunbus 102 with an access start signal S_sel and a data transmission direction signal S_rd to give or read data to 107 or 108; An address strobe V_as, a data transfer direction signal vwrite, a bus use request signal V_br, and an interrupt request signal for giving or reading data to a slave 107 present on the bus of the sun bus master 101 A V-bus master 103 for transmitting V_int) through the V-bus 104; The bus usage request signal V_br provided from the VMS master 103 is received and the bus usage permission signal V_bg is transmitted to the master 103 of the VMS 104 and the bus driving notification signal ( an arbiter 105 for transmitting vbgn); When the interrupt request signal V-int is input from the master 103 on the V bus 104, an interrupt recognition signal iack, which is a signal that an interrupt has been received, is transmitted to the master 103 on the V bus 104. An interrupt processor 106 for transmitting; The address strobe V_as input from the master 103 of the VMS 104, the data transmission direction signal vwrite, and the bus drive notification signal provided from the arbiter 105 and the interrupt processor 106. (vbgn) generates a retry signal S_ack according to the interrupt recognition signal iack, requests a master 101 on the sunbus 102 to retry, and transmits an access start signal S_sel and data input therefrom. The retry control unit 100 permits reading and writing according to the direction signal S_rd.

이와같이, 구성된 본 발명의 작용 효과를 제 3 도를 참조하여 구체적으로 설명하면 다음과 같다.As described above, the operation and effect of the present invention constituted in detail will be described below with reference to FIG.

브이엠이버스(104)와 선버스(102)상에서 어떠한 동작도 발생하지 않은 준비상태에서, 먼저 브이엠이버스(104)상에 있는 마스타(103)가 버스사용 요구신호 (V_br)를 브이엠이버스(104)를 통해 중재기(105)에 제공하여 그로부터의 버스사용 허가신호(V_bg)를 기다리게 된다.In the ready state in which no operation occurs on the VMS 104 and the Sunbus 102, the master 103 on the VMS 104 first sends a bus use request signal V_br. The bus 104 is provided to the arbiter 105 to wait for a bus permission signal V_bg therefrom.

이후 상기 중재기(105)로 부터 버스사용 허가신호(V_bg)가 발생되어 브이엠이버스(104)를 통해 마스타(103)에 제공되면 상기 마스타(103)는 선버스(102)상의 슬레이브(107)에게 데이타를 전송을 위한 쓰기를 수행하거나 또는 읽어 들이기 위해 어드레스 스트로브(V_as)와 데이타전송 방향신호(vwrite)를 발생하여 브이엠이버스(104)를 통해 재시도 제어부(100)에 제공하게 된다.Then, when the bus use permission signal V_bg is generated from the arbiter 105 and provided to the master 103 through the V bus 104, the master 103 is a slave 107 on the sun bus 102. In order to perform or write data for the data transmission to or to generate the address strobe (V_as) and the data transmission direction signal (vwrite) is provided to the retry control unit 100 through the V bus (104) .

상기 재시도 제어부(100)는 상기 브이엠이버스(104)를 통해 입력되는 데이타전송 방향신호(vwrite)가 읽기인지 또는 쓰기인지를 구분하여 선버스(102)상의 마스타(101)의 접근을 재시도신호(S_ack)를 발생하여 재시도 시킬것인지의 여부를 판단하게 된다.The retry control unit 100 distinguishes whether the data transmission direction signal (vwrite) input through the VBus 104 is read or write to reestablish the access of the master 101 on the sun bus 102. The attempt signal S_ack is generated to determine whether to retry.

즉, 브이엠이버스(104)쌍의 마스타(103)가 쓰기 동작을 수행하기 위해서 어드레스 스트로브(V_as)를 발생함과 아울러 데이타전송 방향신호(vwrite)를 "0"으로 하여 재시도 제어부(100)에 전송하게 되면 재시도 제어부(100)는 브이엠이버스 (104)상에 있는 마스타(103)의 쓰기동작을 하는 것으로 판단하게 되면, Sv_m_ write 상태로 천이한다.That is, the master 103 of the pair of V-bus 104 generates an address strobe V_as to perform a write operation, and the retry control unit 100 sets the data transfer direction signal vwrite to "0". If the retry control unit 100 determines that the master 103 on the VBus 104 is writing, it transitions to the Sv_m_write state.

이와같이, 브이엠이버스 마스타(103)가 쓰기동작을 하는 상태(Sv_m_write)에서 선버스(102)상의 마스타(101)의 읽기나 쓰기를 위한 접근 있는 경우, 즉 다시말해서 선버스(102)의 마스타(101)가 읽기나 쓰기를 위해 선버스(102)를 통해 접근신호(S_sel)와 데이타전송 방향신호(S_rd)를 재시도 제어부(100)에 제공하게 되면 상기 재시도 제어부(100)는 현재 브이엠이버스 마스타(103)가 쓰기 동작을 수행하고 있으므로 재시도를 위한 신호(S_ack)를 발생하여 선버스 마스타(101)에 재시도 시키지 않고 선버스(102)상의 마스타로 하여금 데이타전송 방향신호(S_rd)에 따라 읽기(Ss_m_read) 또는 쓰기(Ss_m_write)동작을 하도록 허가하여 주게 된다.In this manner, when the V-Master master 103 has an access for reading or writing the master 101 on the Sunbus 102 in the state of writing (Sv_m_write), that is, the master of the Sunbus 102. When the 101 provides the retry control unit 100 with the access signal S_sel and the data transmission direction signal S_rd through the sunbus 102 for reading or writing, the retry control unit 100 is configured to have the current V value. Since the M-Master master 103 is performing a write operation, a signal S_ack is generated for retry, and the master on the Sunbus 102 causes a data transmission direction signal (S_ack) without retrying. According to S_rd, the read (Ss_m_read) or write (Ss_m_write) operation is allowed.

즉, 제 3 도에서 Sv_m_write, Ss_m_read, Ss_m_write 세 상태가 동시 진행된다.That is, in FIG. 3, three states Sv_m_write, Ss_m_read, and Ss_m_write proceed simultaneously.

상기에서 선버스 마스타(101)의 데이타전송 방향신호(S_rd)가 "0"인 경우에는 쓰기동작이고, "1"인 경우에는 읽기 동작이다.When the data transfer direction signal S_rd of the sun bus master 101 is "0", it is a write operation, and when it is "1", it is a read operation.

그리고, 재시도 제어부(100)에서 발생되는 재시도신호(S_ack)는 선버스(102)상의 데이타 전송에서 마스타(101)와 슬레이브간에 주고 받는 신호로 재시도의 경우 "100"의 값을 갖는다.The retry signal S_ack generated by the retry controller 100 is a signal transmitted and received between the master 101 and the slave in data transmission on the sun bus 102 and has a value of "100" in the case of retry.

한편, 상기 브이엠이버스(104)상의 마스타(103)가 데이타전송 방향신호 (vwrite)를 "1"을 발생하여 읽기(Sv_m_read) 동작을 하고 있는 상태에서 선버스(102)상의 마스타(101)가 쓰기를 위해 접근시작신호(S_sel)와 데이타전송 방향신호(S_rd)의 "0"을 발생하여 재시도 제어부(100)에 제공하게 되면 재시도 제어부(100)는 전술한 바와같은 방법으로 재시도신호(S_ack)를 발생하여 선버스 마스타(101)를 재시도 시키지 않고 선버스(102)상의 마스타(101)로 하여금 데이타전송 방향신호(S_rd)에 따라 쓰기(Ss_m_write) 동작을 하도록 허가하여 주게 된다.On the other hand, when the master 103 on the V bus 104 generates a data transfer direction signal vwrite to " 1 " to perform a read (Sv_m_read) operation, the master 101 on the sun bus 102 is operated. Generates a "0" of the access start signal S_sel and the data transmission direction signal S_rd for writing to the retry control unit 100, the retry control unit 100 retries in the same manner as described above. The master 101 on the sunbus 102 is allowed to write (Ss_m_write) according to the data transmission direction signal S_rd without generating the signal S_ack and retrying the sunbus master 101. .

또한, 상기 브이엠이버스(104)상의 마스타(103)의 동작이 전술한 바와같은 방법에 의해 읽기(Sv_m_read)인 경우에 선버스(102)상의 마스타(101)의 접근 또한 읽기(Ss_m_read)이면 재시도 제어부(100)는 재시도신호(S_ack) "100"을 발생하여 선버스(102)상의 마스타(101)로 하여금 재시도(Ss_rerun)를 하게 한다.In addition, when the operation of the master 103 on the V bus 104 is read (Sv_m_read) by the method described above, if the access of the master 101 on the sun bus 102 is also read (Ss_m_read). The retry control unit 100 generates a retry signal S_ack "100" to cause the master 101 on the sun bus 102 to retry (Ss_rerun).

또한, 상기 재시도 제어부(100)가 중재기(105)로 부터 버스구동 알림신호 (vbgn)를 받아 브이엠이버스 마스타(103)에 버스 사용허가신호(V_bg)를 전송하고 있는 중에도 버스 사용권을 획득한 브이엠이버스(104)상의 마스타(103)가 쓰기 동작을 할지 또는 읽기 동작을 모르므로 이때에도 선버스 마스타(101)의 접근을 재시도신호(S_ack)"100"를 발생하여 재시도(Ss_rerun)시키게 된다.In addition, the retry control unit 100 receives the bus driving notification signal vbgn from the arbiter 105 and transmits the bus license right even while transmitting the bus permission signal V_bg to the VMS master 103. Since the master 103 on the obtained V bus 104 does not know whether to perform a write operation or a read operation, the access of the sun bus master 101 also generates a retry signal S_ack "100" and tries again. (Ss_rerun).

또한, 브이엠이버스(104)상의 인터럽트 요구신호(V_int)를 처리하는 인터럽트 처리부(106)로 부터의 인터럽트 인식신호(iack)를 전송받는 중에 선버스 마스타(101)로 부터 읽기 동작 접근이 있을 경우에도 재시도 제어부(100)는 재시도신호(S_ack) "100"를 발생하여 선버스 마스타(101)의 읽기 동작을 재시도 (Ss_rerun)시키게 된다.In addition, there may be a read operation access from the Sunbus master 101 while receiving the interrupt recognition signal iack from the interrupt processing unit 106 that processes the interrupt request signal V_int on the VMS 104. Even in this case, the retry control unit 100 generates a retry signal S_ack "100" to retry the read operation of the sunbus master 101 (Ss_rerun).

즉, 상기 제 3 도의 동작을 제 4 도 내지 제 6 도를 참조하여 설명하면, 선버스(102)와 브이엠이버스(104)상의 마스타(101)(103)가 상대방 버스에 존재하는 슬레이브(107 ,108)로 데이타를 주거나 또는 얻고자 할때 적절한 중재를 하지 않는 경우 서로의 사이클이 얽혀 데드록(dead-lock)상태에 빠진다.That is, the operation of FIG. 3 will be described with reference to FIGS. 4 through 6, and the masters 101 and 103 on the sun bus 102 and the V bus 104 are present in the slave bus ( 107 and 108), if you don't do the proper mediation when trying to get or get data, the cycles of each other become entangled and dead-locked.

따라서, 본 발명은 그러한 데드록 상태를 해소하면서 종래 기술에 비해 전체적인 성능을 향상할 수 있는 알고리즘으로써 HDL(Hardware Description Language)를 통하여 EPLD(Electrically Programmable Logic Device)에 구현되어 동작한다.Accordingly, the present invention is implemented in the electrically programmable logic device (EPLD) through HDL (Hardware Description Language) as an algorithm that can improve the overall performance compared to the prior art while eliminating the deadlock state.

선버스(102) 또는 브이엠이버스(104) 마스타(101)(103)가 쓰기동작을 하는 경우에는 데이타가 선입선출부(FIFO)에 저장되어 선버스 또는 브이엠이버스의 동작이 종료된 상태에서 브이엠이버스 또는 선버스의 사용권을 얻은 후 선입선출부의 데이타를 브아엠이버스 또는 선버스의 슬레이브(107 or 108)로 데이타를 전송함으로써 두 버스를 한 마스타(101 or 103)가 동시에 이용할 필요가 없다.When the Sunbus 102 or VMS 104 master 101 or 103 performs a write operation, the data is stored in the first-in, first-out (FIFO) to terminate the operation of the Sunbus or VMS. After acquiring the license of VMB or Sunbus, the master (101 or 103) on both buses simultaneously transfers data from the first-in, first-out to the slave (107 or 108) of VMB or Sunbus. No need to use

선버스(102) 또는 브이엠이버스(104)의 마스타(101)(103)가 읽기동작을 하는 경우에는 반드시 브이엠이버스(104) 또는 선버스(102)의 사용권을 얻은 후 브이엠이버스(104) 또는 선버스(102)상의 슬레이브(107 or 108)로 부터 데이타를 얻어 선입선출부에 저장한 후 갖고 가는 방식으로 두 버스의 사용권을 동시에 얻은 후에야 버스 사이클이 정상적으로 종료될 수 있다.When the masters 101 and 103 of the sun bus 102 or the V bus 104 perform the read operation, the V bus must obtain the right to use the V bus 104 or the sun bus 102, and then V The bus cycle can be normally terminated only after obtaining data from the slaves 107 or 108 on the bus 104 or the sun bus 102 and storing the data in the first-in, first-out manner, and then simultaneously using the two buses.

선행기술은 브이엠이버스상의 버스 사이클이 발생하면 선버스 마스타로 모든 접근은 재시도 하도록 되어 있으나, 본 발명에서는 각 버스 사이클의 성격에 따라 재시도 시키는 경우를 구분하도록 하여 선버스(102)의 마스타(101)의 재시도율을 최소화 한다.In the prior art, when a bus cycle occurs on a V bus, all accesses to the sun bus master are to be retried, but in the present invention, the sun bus 102 may be distinguished by retrying according to the characteristics of each bus cycle. Minimize the retry rate of the master (101).

즉, 버스 사이클을 제 4 도 내지 제 6 도와 같은 경우들로 구분할 수 있다.That is, the bus cycle may be classified into cases such as FIGS. 4 to 6.

즉, 그 첫번째로 제 4 도에서와 같이, 브이엠이버스(104)상의 마스타(103)의 읽기와 선버스(102)상의 마스타(101)의 쓰기 동작이 동시에 발생하는 경우, 이때에는 브이엠이 버스 마스타(103)가 읽기(V_as, vwrite)동작을 하는 도중(Sv_m_read)에 선버스 마스타(101)의 쓰기 동작(Ss_m_write)과 중복되는 경우에 선버스 마스타 (101)가 선버스(102) 사용권을 갖고 있으므로 쓰기 동작이 먼저 이루어지며, 브이엠이버스 마스타(103)는 그 후 선버스 사용권을 얻어 슬레이브(107)에 대한 읽기 동작을 수행한다.That is, first, as shown in FIG. 4, when the read operation of the master 103 on the V bus 104 and the write operation of the master 101 on the sun bus 102 occur at the same time, the V When the bus master 103 is overlapped with the write operation (Ss_m_write) of the sun bus master 101 during the read (V_as, vwrite) operation (Sv_m_read), the sun bus master 101 is the sun bus 102 Since the user has the right to write, the write operation is performed first, and then the V-Master master 103 obtains the sunbus right to perform a read operation on the slave 107.

이렇게 함으로써 선버스 마스타(101)의 재시도를 발생시키지 않는다.This does not cause retry of the sunbus master 101.

둘째로, 제 5 도와 같이, 브이엠이버스(104)상의 마스타(103)의 쓰기와 선버스(102)상의 마스타(101)의 쓰기 동작이 동시에 발생하는 경우, 이때에는 선버스 마스타(101)의 쓰기 동작(Ss_m_write)과 브이엠이버스 마스타(103)의 쓰기동작 (Sv_m_write)의 경우 서로의 버스를 동시에 사용하지 않아도 되는 경우의 버스 사이클이다.Second, as shown in FIG. 5, when the writing of the master 103 on the V bus 104 and the writing of the master 101 on the sun bus 102 simultaneously occur, the sun bus master 101 The write operation Ss_m_write and the write operation Sv_m_write of the VMS master 103 are bus cycles when the buses do not need to be used at the same time.

선버스 마스타(101)는 선입선출부에 데이타를 저장한 후 선버스 사용권을 복구하고 브이엠이버스(104)의 사용권을 얻어야 하지만 브이엠이버스 마스타(103)에 의해 사용되고 있는 경우 이므로 브이엠이버스 마스타(103)가 데이타를 선입선출부에 저장한 후 버스를 복구하기를 기다려 데이타를 전송한다.The Sunbus master 101 needs to recover the Sunbus license after obtaining data from the first-in, first-out, and obtain the license of the VBus 104, but since it is being used by the VBMaster 103, After the bus master 103 stores the data in the first-in, first-out, it waits to recover the bus and transmits the data.

마찬가지로 브이엠이버스 마스타(103)에 의해 저장된 데이타도 선버스 사용권을 얻어 슬레이브로 전달한다.Similarly, the data stored by the V-Master master 103 obtains the Sunbus license and transfers it to the slave.

이렇게 함으로써 선버스 마스타(101)의 재시도를 발생시키지 않는다.This does not cause retry of the sunbus master 101.

세째로, 선버스 마스타(101)의 읽기와 브이엠이버스 마스타(103)의 쓰기 동작이 동시에 발생하는 경우에는 상기 첫번째와 동일하게 동작한다.Thirdly, when the read operation of the sun bus master 101 and the write operation of the V bus master 103 occur at the same time, the operation is performed in the same manner as the first one.

마지막으로, 선버스 마스타(101)의 읽기와 브이엠이버스 마스타(103)의 읽기 동작이 동시에 발생하는 경우이다.Finally, the read operation of the sun bus master 101 and the read operation of the V bus master 103 occur simultaneously.

이때에는 두 버스의 마스타(101)(103)가 동시에 읽기 동작 (Ss_m_read)(Sv_m_read)을 수행하는 경우로서, 서로의 사이클이 종료되기 위해서는 두 버스를 동시에 사용하여야 함으로 서로 기다리는 과정에서 데드록이 발생한다.In this case, when the masters 101 and 103 of two buses simultaneously perform a read operation (Ss_m_read) (Sv_m_read), deadlocks occur while waiting for each other because two buses must be used at the same time in order to end the cycle. do.

이역우 선버스 마스타(101)는 재시도(Ss_rerun) 상태가 된다.Lee Sun-woo Sunbus master 101 is in a retry state (Ss_rerun).

즉, 재시도 하도록 재시도 제어부(100)에서 재시도신호(S_ack) "100"를 발생하게 된다.That is, the retry control unit 100 generates a retry signal S_ack "100" to retry.

그리고, 제 3 도의 iack, vbgn은 각각 브이엠이버스(104)상의 인터럽트 사이클의 진행, 버스 사용권의 허가도중을 나타낸다.Iack and vbgn of FIG. 3 show the progress of the interrupt cycle on the VMB 104 and the permission to use the bus.

즉, 이 경우에도 선버스 마스타(101)를 재시도시킨다.That is, even in this case, the sunbus master 101 is retried.

이상에서 상세히 설명한 바와같이, 본 발명에 따르면 선버스(Sbus)와 브이엠이버(VMEbus)의 양 마스타가 데이타 전송을 위한 데이타의 쓰기 및 읽기의 사이클을 수행시에 사이클이 중복되어 발생되는 데이타의 충돌을 회피하고 선버스 마스타의 재 시도율을 줄여 줌으로써 선버스의 사용율이 증가하고 또한 브이엠이버스의 사용율 또한 증가하게 되는 효과가 있다.As described in detail above, according to the present invention, when both masters of Sunbus and VMEbus perform cycles of writing and reading data for data transfer, data of duplicated cycles are generated. By avoiding collisions and reducing the retry rate of the sunbus master, the sunbus utilization is increased and the use of the V-bus is also increased.

제 1 도는 종래의 선버스와 브이엠버스 정합에서의 재시도 동작상태를 보인 상태 천이도.1 is a state transition diagram showing a retry operation state in the conventional sun bus and V-embus registration.

제 2 도는 본 발명 선버스와 브이엠버스 정합에서의 재시도 제어장치를 보인 로직 구성도.2 is a logic diagram showing a retry control device in matching sun buses and V buses of the present invention.

제 3 도는 제 2 도에 따른 선버스와 브이앰버스 정합에서의 재시도 제어부의 동작 상태 천이도.3 is a transition state diagram of an operation of a retry controller in matching sunbus and v-ambus according to FIG. 2;

제 4 도는 제 2 도에 따른 브이엠버스 마스타의 읽기와 선버스 마스타의 쓰기 동작이 중복된 경우의 신호흐름도.4 is a signal flow diagram when the read operation of the V-Master bus and the write operation of the Sunbus master according to FIG. 2 overlap.

제 5 도는 제 2 도에 따른 브이엠버스 마스타의 쓰기와 선버스 마스타의 쓰기 동작이 중복된 경우의 신호흐름도.FIG. 5 is a signal flow diagram in the case where the write operation of the V-Master bus and the write operation of the Sunbus master according to FIG. 2 overlap.

제 6 도는 제 2 도에 따른 브이엠버스 마스타의 읽기와 선버스 마스타의 읽기 동작이 중복되는 경우의 신호흐름도.6 is a signal flow diagram in the case where the read operation of the V-bus master and the read operation of the sun bus master according to FIG. 2 overlap.

***** 도면의 주요부분에 대한 부호의 설명 ********** Explanation of symbols for main parts of drawing *****

100 : 재시도 제어부 101 : 선버스 마스타100: retry control unit 101: Sunbus master

102 : 선버스 103 : 브이엠이 마스타102: Sunbus 103: VM Master

104 : 브이엠이버스 105 : 중재기104: VMB 105: Arbitrator

106 : 인터럽트 처리부 107 : 선버스 슬레이브106: interrupt processing unit 107: Sunbus slave

108 : 브이엠이버스 슬레이브108: vmbus slave

Claims (2)

브이엠이버스 마스타 또는 선버스 마스타의 데이타전송 방향이 읽기인지 쓰기인지를 구분하여 선버스 마스타의 접근을 재시도 시킬 것인지의 여부를 판단하는 단계와; 상기 브이엠이버스 마스타가 버스사용권을 받고 있는 중에 선버스 마스타의 접근이 있으면 그 동작을 재시도시키는 단계와; 상기 브이엠이버상의 인터럽트 처리 사이클 진행중 선버스 마스타의 접근이 있으면 그 마스타의 읽기 동작을 재시도시키는 단계로 이루어짐을 특징으로 한 선버스와 브이엠버스에는 정합 재시도 방법.Determining whether to retry access of the Sunbus master by distinguishing whether the data transfer direction of the VMS master or the Sunbus master is read or write; Retrying the operation if the sun bus master is approaching while the V bus master is receiving a bus license; And retrying the read operation of the master when the sunbus master approaches the interrupt processing cycle on the VMB. 제 1 항에 있어서, 브이엠이버스 마스타의 데아타전송 방향이 쓰기 동작상태에서 상기 선버스 마스타의 읽기 및 쓰기를 위한 접근이 있는 경우에 재시도 시키지 않고 선버스 마스타가 쓰기 및 읽기 사이클을 수행하도록 브이엠이 버스상의 슬레이브로 데이타를 제공하는 단계와; 상기 브이엠이버스 마스타가 읽기 동작상태에서 선버스 마스타의 쓰기를 위한 접근이 있는 경우에 재시도 시키지 않고 선버스 마스타가 쓰기 사이클을 수행하도록 브이엠이 버스상의 슬레이브로 데이타를 전송하는 단계와; 상기 구분한 브이엠이버스 마스타가 읽기 동작상태에서 선버스 마스타의 접근이 읽기이면 그 동작을 재시도하는 하는 단계로 이루어짐을 특징으로 한 선버스와 브이엠버스에서 정합 재시도 방법.The Sunbus master of claim 1, wherein the sunbus master performs a write and read cycle without retrying when there is an access for reading and writing the sunbus master in a write operation state. Providing the data to the slave on the bus so that the MB is configured; Sending data to a slave on a bus such that the bus bus performs a write cycle without retrying when the bus master has an access for writing the sun bus master in a read operation state; And retrying the operation when the access of the sun bus master is read in the read operation state of the divided V bus masters.
KR1019950067178A 1995-12-29 1995-12-29 Method for retrying matching in sun bus and vme bus KR100361374B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950067178A KR100361374B1 (en) 1995-12-29 1995-12-29 Method for retrying matching in sun bus and vme bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950067178A KR100361374B1 (en) 1995-12-29 1995-12-29 Method for retrying matching in sun bus and vme bus

Publications (2)

Publication Number Publication Date
KR970049432A KR970049432A (en) 1997-07-29
KR100361374B1 true KR100361374B1 (en) 2003-03-28

Family

ID=37490640

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950067178A KR100361374B1 (en) 1995-12-29 1995-12-29 Method for retrying matching in sun bus and vme bus

Country Status (1)

Country Link
KR (1) KR100361374B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5204864A (en) * 1990-08-16 1993-04-20 Westinghouse Electric Corp. Multiprocessor bus debugger
KR940020646A (en) * 1993-02-08 1994-09-16 이헌조 Matching device between input / output processor and VME bus adapter card
KR970029107A (en) * 1995-11-01 1997-06-26 양승택 Two-Port RAM Matching Circuit for VME Bus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5204864A (en) * 1990-08-16 1993-04-20 Westinghouse Electric Corp. Multiprocessor bus debugger
KR940020646A (en) * 1993-02-08 1994-09-16 이헌조 Matching device between input / output processor and VME bus adapter card
KR970029107A (en) * 1995-11-01 1997-06-26 양승택 Two-Port RAM Matching Circuit for VME Bus

Also Published As

Publication number Publication date
KR970049432A (en) 1997-07-29

Similar Documents

Publication Publication Date Title
EP0450233B1 (en) Bus access for digital computer system
EP0166272B1 (en) Processor bus access
US4494193A (en) Deadlock detection and resolution scheme
US4979097A (en) Method and apparatus for interconnecting busses in a multibus computer system
KR100381619B1 (en) System and method for providing speculative arbitration for transferring data
JPH0652096A (en) Method and apparatus for executing arbitration of bus using arbiter in data processing system
JP2539021B2 (en) Interrupt request generation node that sends an interrupt request to the pending bus
JPH06266681A (en) Preserving method of indivisible sequence of bus-operation, bus-interface and computer device
US6397279B1 (en) Smart retry system that reduces wasted bus transactions associated with master retries
JP3641003B2 (en) Bus system with arbitration mechanism
US5454082A (en) System for preventing an unselected controller from transferring data via a first bus while concurrently permitting it to transfer data via a second bus
KR100361374B1 (en) Method for retrying matching in sun bus and vme bus
JPH03122745A (en) Dma control system
JPH06282528A (en) Method and system for transfer of data
KR20040051608A (en) A computer system with a communication bus
JP2727514B2 (en) Transfer destination ID designating circuit
JP3365419B2 (en) Bus arbitration method
JPH05289987A (en) Bus right arbitrating circuit
JPH08115272A (en) Method and apparatus for remote retrial in data-processing system
JP3211264B2 (en) External bus control method
JP3019323B2 (en) Direct access to image memory
JPH01316851A (en) Channel control system
JP2697974B2 (en) How to avoid deadlock
JPH034349A (en) Dma transfer system
JPH09204409A (en) Lock transfer control system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
N231 Notification of change of applicant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080612

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee