KR19990018441A - Communication control circuits and algorithms between the PCI bus and the ISA bus - Google Patents

Communication control circuits and algorithms between the PCI bus and the ISA bus Download PDF

Info

Publication number
KR19990018441A
KR19990018441A KR1019970041617A KR19970041617A KR19990018441A KR 19990018441 A KR19990018441 A KR 19990018441A KR 1019970041617 A KR1019970041617 A KR 1019970041617A KR 19970041617 A KR19970041617 A KR 19970041617A KR 19990018441 A KR19990018441 A KR 19990018441A
Authority
KR
South Korea
Prior art keywords
isa
pci
bus
controller
bridge
Prior art date
Application number
KR1019970041617A
Other languages
Korean (ko)
Other versions
KR100261080B1 (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 KR1019970041617A priority Critical patent/KR100261080B1/en
Publication of KR19990018441A publication Critical patent/KR19990018441A/en
Application granted granted Critical
Publication of KR100261080B1 publication Critical patent/KR100261080B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • 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
    • 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/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus

Abstract

본 발명의 PCI 버스와 ISA 버스 사이의 통신 제어 회로는 서어버 제어기, 각각의 PCI 제어기 및 각각의 ISA 제어기를 포함한다. 서어버 제어기는, 내장된 알고리듬에 따라 각각의 PCI 버스와 ISA 버스 사이의 전체적 통신 상태를 테스트하고 제어한다. 각각의 PCI 제어기는, 서어버 제어기와 각각의 PCI 브리지 사이를 인터페이싱한다. 각각의 ISA 제어기는, 서어버 제어기와 각각의 ISA 버스 사이를 인터페이싱한다.The communication control circuit between the PCI bus and the ISA bus of the present invention includes a server controller, each PCI controller and each ISA controller. The server controller tests and controls the overall communication state between each PCI bus and the ISA bus according to an embedded algorithm. Each PCI controller interfaces between the server controller and each PCI bridge. Each ISA controller interfaces between a server controller and each ISA bus.

Description

PCI 버스와 ISA 버스 사이의 통신 제어 회로 및 알고리듬Communication control circuits and algorithms between the PCI bus and the ISO bus

본 발명은 피씨아이(이하 PCI라 표기) 버스와 아이에스에이(이하 ISA라 표기) 버스 사이의 통신 제어 회로 및 알고리듬에 관한 것이다.The present invention relates to a communication control circuit and algorithm between a PC (hereinafter referred to as PCI) bus and an CS (hereinafter referred to as ISA) bus.

일반적으로, 정보 처리 시스템은 하나 이상의 버스를 포함하고 있으며, 각 버스에 연결된 장치들은 버스를 통하여 데이터 전송 등과 같은 통신을 수행한다. 예를 들면, 전형적인 컴퓨터 시스템에는 중앙 처리 장치(CPU)가 연결된 로컬 버스가 포함되어 있으며, 중앙 처리 장치는 로컬 버스를 통하여 로컬 버스에 연결된 다른 장치들과 통신한다. 한편, 이러한 시스템은 하나 이상의 주변 버스를 포함할 수 있으며, 이 주변 버스에는 입출력 장치 등과 같은 주변 장치들이 연결되어 있다.In general, an information processing system includes one or more buses, and devices connected to each bus perform communication such as data transmission through the bus. For example, a typical computer system includes a local bus to which a central processing unit (CPU) is connected, which communicates with other devices connected to the local bus via the local bus. On the other hand, such a system may include one or more peripheral buses, to which peripheral devices such as input / output devices are connected.

그런데, 로컬 버스 및 주변 버스는 다른 장치와 이 버스들에 연결된 장치들 간의 데이터 전송을 수행하는데 있어서, 서로 다른 프로토콜(protocol)을 사용한다. 그리고, 각 버스는 이러한 프로토콜에 따라 제작된다. 이처럼, 서로 다른 프로토콜을 사용하는 버스들을 인터페이싱하는 장치를 브리지(bridge)라 한다. 예를 들어, 로컬 버스와 PCI(Peripheral Component Interconnect) 버스를 인터페이싱하는 브리지를 PCI 브리지, 로컬 버스와 ISA 버스를 인터페이싱하는 브리지를 ISA 브리지라 부른다.By the way, the local bus and the peripheral bus use different protocols in performing data transmission between other devices and devices connected to the buses. Each bus is then manufactured according to this protocol. As such, a device that interfaces buses using different protocols is called a bridge. For example, a bridge that interfaces a local bus and a Peripheral Component Interconnect (PCI) bus is called a PCI bridge, and a bridge that interfaces a local bus and an ISA bus is called an ISA bridge.

PCI 버스에 적용되는 PCI 프로토콜은, 고속 데이터를 처리하는 주변 기기들을 서어버 제어기에 효율적으로 연결하기 위하여 마련되어 있다. ISA 버스에 적용되는 ISA 프로토콜은, 초기의 저속 주변 기기들 및 서어버 제어기에 적합하도록 마련되어 있다.The PCI protocol applied to the PCI bus is provided for efficiently connecting peripheral devices that process high-speed data to the server controller. The ISA protocol, which is applied to the ISA bus, is designed for early low speed peripherals and server controllers.

도 1에는 종래의 PCI 버스와 ISA 버스 사이의 통신망이 도시되어 있다. 도면을 참조하면, 종래의 PCI 버스와 ISA 버스 사이의 통신망은, 각각의 PCI 브리지(101, 102) 및 ISA 브리지(111, 112)로 구성되어, 별도의 통신 제어 회로를 구비하지 않고 있다. 각각의 PCI 브리지(101, 102)는 각각의 PCI 버스와 로컬 버스 사이를 인터페이싱한다. 각각의 ISA 브리지(111, 112)는 각각의 ISA 버스와 로컬 버스 사이를 인터페이싱한다.1 illustrates a communication network between a conventional PCI bus and an ISA bus. Referring to the drawings, the communication network between the conventional PCI bus and the ISA bus is composed of each of the PCI bridges 101 and 102 and the ISA bridges 111 and 112, and does not include a separate communication control circuit. Each PCI bridge 101, 102 interfaces between each PCI bus and the local bus. Each ISA bridge 111, 112 interfaces between each ISA bus and the local bus.

상기한 바와 같이, 종래의 PCI 버스와 ISA 버스 사이의 통신망에는 별도의 통신 제어 회로 및 알고리듬이 마련되지 않아, 전체적 통신망의 상태를 효율적으로 운영할 수 없고, 통신 에러를 신속히 검출할 수 없다. 이에 따라, 통신망의 확대 및 응용에 대한 한계가 뒤따르고 있다.As described above, the communication network between the conventional PCI bus and the ISA bus is not provided with a separate communication control circuit and algorithm, so that the state of the entire communication network cannot be efficiently operated and communication errors cannot be detected quickly. Accordingly, there are limitations on the expansion and application of communication networks.

본 발명의 목적은, 전체적 통신망의 상태를 효율적으로 운영하고, 통신 에러를 신속히 검출할 수 있는 PCI 버스와 ISA 버스 사이의 통신 제어 회로 및 알고리듬을 제공하는 것이다.It is an object of the present invention to provide a communication control circuit and algorithm between a PCI bus and an ISA bus that can efficiently operate the state of an entire communication network and detect communication errors quickly.

도 1은 종래의 PCI 버스와 ISA 버스 사이의 통신망을 나타낸 블록도이다.1 is a block diagram showing a communication network between a conventional PCI bus and an ISA bus.

도 2는 본 발명의 일 실시예에 따른 PCI 버스와 ISA 버스 사이의 통신 제어 회로를 나타낸 블록도이다.2 is a block diagram illustrating a communication control circuit between a PCI bus and an ISA bus according to an embodiment of the present invention.

도 3은 도 2의 제n PCI 제어기의 내부 블록도이다.3 is an internal block diagram of the n-th PCI controller of FIG. 2.

도 4는 도 2의 제n ISA 제어기의 내부 블록도이다.4 is an internal block diagram of the n-th ISA controller of FIG. 2.

도 5는 도 2의 서어버 제어기에 의하여 수행되는 초기화 알고리듬을 나타낸 흐름도이다.5 is a flowchart illustrating an initialization algorithm performed by the server controller of FIG. 2.

도 6은 도 2의 서어버 제어기에 의하여 수행되는 통신 테스트 알고리듬을 나타낸 흐름도이다.6 is a flowchart illustrating a communication test algorithm performed by the server controller of FIG. 2.

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

101, 102, 201, 202...PCI 브리지,101, 102, 201, 202 ... PCI Bridge,

111, 112, 211, 212...ISA 브리지, 2...통신 제어 회로,111, 112, 211, 212 ... ISA bridge, 2 ... communication control circuit,

221, 222...PCI 제어기, 2221...디코더,221, 222 ... PCI controller, 2221 ... decoder,

2222...PCI 서브 제어기, 231, 232...ISA 제어기,2222 ... PCI subcontroller, 231, 232 ... ISA controller,

2321...비교기, 2322...ISA 서브 제어기,2321 ... comparator, 2322 ... ISA subcontroller,

24...서어버 제어기.24 ... server control.

상기 목적을 이루기 위한 본 발명의 PCI 버스와 ISA 버스 사이의 통신 제어 회로는, 서어버 제어기, 각각의 PCI 제어기 및 각각의 ISA 제어기를 포함한다. 상기 서어버 제어기는, 내장된 알고리듬에 따라 각각의 PCI 버스와 ISA 버스 사이의 전체적 통신 상태를 테스트하고 제어한다. 상기 각각의 PCI 제어기는, 상기 서어버 제어기와 각각의 PCI 브리지 사이를 인터페이싱한다. 상기 각각의 ISA 제어기는, 상기 서어버 제어기와 상기 각각의 ISA 버스 사이를 인터페이싱한다.The communication control circuit between the PCI bus and the ISA bus of the present invention for achieving the above object includes a server controller, each PCI controller and each ISA controller. The server controller tests and controls the overall communication state between each PCI bus and the ISA bus according to an embedded algorithm. Each PCI controller interfaces between the server controller and each PCI bridge. Each ISA controller interfaces between the server controller and the respective ISA bus.

바람직하게는, 상기 각각의 PCI 브리지는, 상기 각각의 PCI 버스와 각각의 ISA 브리지 사이를 인터페이싱한다. 상기 각각의 ISA 브리지는, 상기 각각의 PCI 브리지와 상기 각각의 ISA 버스 사이를 인터페이싱한다. 상기 각각의 PCI 브리지와 ISA 브리지 사이에는 로컬 버스로 연결된다. 상기 서어버 제어기와 각각의 PCI 제어기 사이에는 직렬 데이터 통신이 수행된다. 그리고 상기 서어버 제어기와 각각의 ISA 제어기 사이에도 직렬 데이터 통신이 수행된다.Advantageously, each said PCI bridge interfaces between said each PCI bus and each ISA bridge. Each ISA bridge interfaces between each PCI bridge and each ISA bus. Each PCI bridge and the ISA bridge are connected by a local bus. Serial data communication is performed between the server controller and each PCI controller. Serial data communication is also performed between the server controller and each ISA controller.

상기 목적을 이루기 위한 본 발명의 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬은, 상기 본 발명의 통신 제어 회로에 적용된다. 이 알고리듬은, (S1) 초기화 루틴을 수행하는 단계; (S2) 상기 각각의 PCI 제어기를 통하여 데이터를 전송하는 단계; (S3) 상기 각각의 ISA 제어기로부터 수신된 데이터를 판독하는 단계; (S4) 상기 단계 S2에서 전송한 데이터와 상기 단계 S3에서 판독된 데이터를 비교하여, 서로 같지 않으면 통신 중단 신호를 발생시키는 단계; (S5) 상기 각각의 ISA 제어기를 통하여 데이터를 전송하는 단계; (S6) 상기 각각의 PCI 제어기로부터 수신된 데이터를 판독하는 단계; 및 (S7) 상기 단계 S5에서 전송한 데이터와 상기 단계 S6에서 판독된 데이터를 비교하여, 서로 같지 않으면 통신 중단 신호를 발생시키는 단계;를 포함한다.The communication control algorithm between the PCI bus and the ISA bus of the present invention for achieving the above object is applied to the communication control circuit of the present invention. This algorithm comprises: (S1) performing an initialization routine; (S2) transmitting data through each of the PCI controller; (S3) reading the data received from each ISA controller; (S4) comparing the data transmitted in the step S2 and the data read in the step S3, and generating a communication stop signal if not equal to each other; (S5) transmitting data through each ISA controller; (S6) reading the data received from each PCI controller; And (S7) comparing the data transmitted in the step S5 and the data read in the step S6 to generate a communication stop signal if not equal to each other.

바람직하게는, 상기 단계 S1은, (S11) 상기 각각의 PCI 브리지 및 ISA 브리지 내의 레지스터들에 관련된 초기 데이터를 저장하는 단계; (S12) 상기 각각의 PCI 제어기 및 ISA 제어기의 노드 번호를 설정하는 단계; (S13) 상기 각각의 PCI 브리지 및 ISA 브리지 내의 구성 레지스터들을 인에이블시키는 단계; (S14) 상기 각각의 PCI 브리지 및 ISA 브리지 내의 진단 레지스터의 상태를 확인하는 단계; 및 (S15) 통신에 사용될 패킷 크기를 설정하는 단계;를 포함한다.Advantageously, said step S1 comprises: (S11) storing initial data related to registers in each of said PCI bridge and ISA bridge; (S12) setting node numbers of the PCI controller and the ISA controller; (S13) enabling configuration registers in each of the PCI bridge and the ISA bridge; (S14) checking the status of diagnostic registers in each of the PCI bridge and the ISA bridge; And (S15) setting a packet size to be used for communication.

본 발명의 상기 서어버 제어기가 상기 알고리듬을 수행함에 따라, 전체적 통신망의 상태가 효율적으로 운영되고, 통신 에러가 신속히 검출될 수 있다.As the server controller of the present invention performs the algorithm, the state of the overall communication network can be efficiently operated, and communication errors can be detected quickly.

이하 본 발명의 바람직한 실시예를 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail.

도 2를 참조하면, 본 발명의 통신 제어 회로(2)는 서어버 제어기(24), 각각의 PCI 제어기(221, 222) 및 각각의 ISA 제어기(231, 232)를 포함한다. 서어버 제어기(24)는, 내장된 알고리듬에 따라 각각의 PCI 버스와 ISA 버스 사이의 전체적 통신 상태를 테스트하고 제어한다. 각각의 PCI 제어기(221, 222)는 서어버 제어기(24)와 각각의 PCI 브리지(201, 202) 사이를 인터페이싱한다. 각각의 ISA 제어기(231, 232)는 서어버 제어기(24)와 각각의 ISA 버스 사이를 인터페이싱한다.Referring to Fig. 2, the communication control circuit 2 of the present invention includes a server controller 24, each PCI controller 221, 222 and each ISA controller 231, 232. The server controller 24 tests and controls the overall communication state between each PCI bus and the ISA bus according to an embedded algorithm. Each PCI controller 221, 222 interfaces between the server controller 24 and each PCI bridge 201, 202. Each ISA controller 231, 232 interfaces between the server controller 24 and each ISA bus.

각각의 PCI 브리지(201, 202) 예를 들어, PCI9050 소자는, 각각의 PCI 버스와 각각의 ISA 브리지(211, 212) 사이를 인터페이싱한다. 각각의 ISA 브리지(211, 212)는, 각각의 PCI 브리지(201, 202)와 각각의 ISA 버스 사이를 인터페이싱한다. 각각의 PCI 브리지(201, 202)와 ISA 브리지(211, 212) 사이에는 로컬 버스로 연결된다. 서어버 제어기(24)와 각각의 PCI 제어기(221, 222) 사이에는 직렬 데이터 통신이 수행된다. 또한 서어버 제어기(24)와 각각의 ISA 제어기(231, 232) 사이에도 직렬 데이터 통신이 수행된다.Each PCI Bridge 201, 202 For example, a PCI9050 device interfaces between each PCI bus and each ISA bridge 211, 212. Each ISA bridge 211, 212 interfaces between each PCI bridge 201, 202 and each ISA bus. Each PCI bridge 201, 202 and the ISA bridge 211, 212 are connected by a local bus. Serial data communication is performed between the server controller 24 and each of the PCI controllers 221 and 222. Serial data communication is also performed between the server controller 24 and each of the ISA controllers 231 and 232.

도 3을 참조하면, 각각의 PCI 제어기(도 2의 221, 222)는, 디코더(2221) 및 PCI 서브 제어기(2222)를 포함한다. 디코더(2221) 예를 들어, 74F139 소자는 관련된 로컬 버스 내의 칩 선택 신호를 디코딩하여 PCI 서브 제어기(2222) 예를 들어, COM20020 소자에 입력시킨다. 이에 따라, 관련된 PCI 브리지(201, 202)와 PCI 서브 제어기(2222) 사이에는 할당된 입출력(I/O) 데이터 예를 들어, 8 비트의 데이터 통신을 수행한다. PCI 서브 제어기(2222)와 서어버 제어기(24) 사이에는 직렬 데이터 통신이 수행된다.Referring to FIG. 3, each of the PCI controllers 221 and 222 of FIG. 2 includes a decoder 2221 and a PCI sub controller 2222. Decoder 2221 For example, the 74F139 element decodes the chip select signal in the associated local bus and inputs it to the PCI sub controller 2222, eg, COM20020 element. Accordingly, allocated input / output (I / O) data, for example, 8-bit data communication is performed between the associated PCI bridges 201 and 202 and the PCI sub controller 2222. Serial data communication is performed between the PCI sub controller 2222 and the server controller 24.

도 4를 참조하면, 각각의 ISA 제어기(도 2의 231, 232)는, 비교기(2321) 및 ISA 서브 제어기(2322)를 포함한다. 비교기(2321)는, ISA 버스 내의 입출력(I/O) 칩 선택 어드레스가 설정 어드레스와 같으면 ISA 서브 제어기(2322) 예를 들어, COM20020 소자에 칩 선택 신호를 입력시킨다. 상기 설정 어드레스는, 딥(Dual In line Package) 스위치에 의하여 발생된다. ISA 버스 내의 입출력(I/O) 칩 선택 어드레스는 16 비트이므로, 설정 어드레스도 16 비트이어야 한다. 여기서 16 X 1 비교기(2321)는 8 X 1 비교기 예를 들어, 74F688 소자 2 개로써 대체될 수 있다. 서브 제어기(2322)는 서어버 제어기(도 2의 24)의 제어에 따라 ISA 버스 내의 한 인터럽트 비트에 입출력(I/O) 인터럽트 신호를 발생시킨다. 이에 따라, 관련된 ISA 버스와 ISA 서브 제어기(2322) 사이에는 할당된 입출력(I/O) 데이터 예를 들어, 8 비트의 데이터 통신을 수행한다. ISA 서브 제어기(2322)와 서어버 제어기(24) 사이에는 직렬 데이터 통신이 수행된다.Referring to FIG. 4, each ISA controller (231, 232 of FIG. 2) includes a comparator 2321 and an ISA sub controller 2232. The comparator 2321 inputs a chip select signal to the ISA sub-controller 2232, for example, a COM20020 element if the input / output (I / O) chip select address in the ISA bus is the same as the set address. The setting address is generated by a dip (Dual In line Package) switch. Since the I / O chip select address in the ISA bus is 16 bits, the configuration address must also be 16 bits. The 16 X 1 comparator 2321 may be replaced with two 8 X 1 comparators, for example two 74F688 elements. The sub controller 2232 generates an input / output (I / O) interrupt signal at one interrupt bit in the ISA bus under the control of the server controller 24 of FIG. 2. Accordingly, allocated input / output (I / O) data, for example, 8-bit data communication is performed between the associated ISA bus and the ISA subcontroller 2232. Serial data communication is performed between the ISA sub controller 2232 and the server controller 24.

도 5에는 도 2의 서어버 제어기(24)에 의하여 수행되는 초기화 알고리듬이, 그리고 도 6에는 통신 테스트 알고리듬이 도시되어 있다. 도면들을 참조하면, 본 실시예의 통신 제어 알고리듬은, 초기화 루틴을 수행하는 단계(도 5의 단계 51부터 55까지); 각각의 PCI 제어기(도 2의 221, 222)를 통하여 데이터를 전송하는 단계(도 6의 단계 61부터 63까지); 관련된 ISA 제어기들(231, 232)로부터 수신된 데이터를 판독하는 단계(도 6의 단계 64); 단계 61부터 63까지에 의하여 전송한 데이터와 단계 64에 의하여 판독된 데이터를 비교하여, 서로 같지 않으면 통신 중단 신호를 발생시키는 단계(단계 65); 각각의 ISA 제어기(도 2의 231, 232)를 통하여 데이터를 전송하는 단계(단계 66부터 68까지); 각각의 PCI 제어기(221, 222)로부터 수신된 데이터를 판독하는 단계(단계 69); 및 단계 66부터 68까지에 의하여 전송된 데이터와 단계 69에 의하여 판독된 데이터를 비교하여, 서로 같지 않으면 통신 중단 신호를 발생시키는 단계(단계 70);를 포함한다.An initialization algorithm performed by the server controller 24 of FIG. 2 is shown in FIG. 5, and a communication test algorithm is shown in FIG. 6. Referring to the drawings, the communication control algorithm of the present embodiment includes: performing an initialization routine (steps 51 to 55 of FIG. 5); Transmitting data through each PCI controller 221, 222 of FIG. 2 (steps 61 to 63 of FIG. 6); Reading the data received from the associated ISA controllers 231, 232 (step 64 of FIG. 6); Comparing the data transmitted in steps 61 to 63 and the data read in step 64 to generate a communication stop signal if not equal to each other (step 65); Transmitting data (steps 66 through 68) through each ISA controller (231, 232 of FIG. 2); Reading data received from each PCI controller 221, 222 (step 69); And comparing the data transmitted by the steps 66 to 68 and the data read by the step 69 to generate a communication stop signal if they are not equal to each other (step 70).

이하, 상기 알고리듬의 단계들을 순차적으로 설명한다.Hereinafter, the steps of the algorithm will be described sequentially.

먼저 각각의 PCI 브리지(201, 202) 및 ISA 브리지(211, 212) 내의 레지스터들에 관련된 초기 데이터를 저장한다(단계 51). 다음에, 각각의 PCI 제어기(221, 222) 및 ISA 제어기(231, 232)의 노드 번호(node identification)를 설정한다(단계 52). 다음에, 각각의 PCI 브리지(201, 202) 및 ISA 브리지(211, 212) 내의 구성 레지스터들(configuration registers)을 인에이블시킨다. 이에 따라, PCI 브리지(201, 202) 및 ISA 브리지(211, 212)는, 구성 레지스터들에 저장된 정보에 따라 논리 제어를 수행할 수 있다(단계 53). 다음에 각각의 PCI 브리지(201, 202) 및 ISA 브리지(211, 212) 내의 진단 레지스터(diagnostic register)의 상태를 확인한다(단계 54). 그리고 전송에 사용될 패킷 크기(packet size)를 설정한다(단계 55).First store initial data associated with registers in each PCI bridge 201, 202 and ISA bridge 211, 212 (step 51). Next, the node numbers of the PCI controllers 221 and 222 and the ISA controllers 231 and 232 are set (step 52). Next, enable configuration registers in each PCI bridge 201, 202 and ISA bridge 211, 212. Accordingly, the PCI bridges 201 and 202 and the ISA bridges 211 and 212 may perform logic control according to the information stored in the configuration registers (step 53). Next, the statuses of the diagnostic registers in the PCI bridges 201 and 202 and the ISA bridges 211 and 212 are checked (step 54). Then, a packet size to be used for transmission is set (step 55).

다음에 각각의 PCI 제어기(도 2의 221, 222)에 대한 시작 어드레스(start address) 및 데이터 범위(page)를 설정한다(단계 61). 다음에 전송될 데이터를 각각의 PCI 제어기(221, 222)의 RAM(Random Access Memory)에 기록한다(단계 62). 다음에 상기 RAM에 기록된 데이터를 관련된 ISA 버스측으로 전송한다. 이에 따라, 상기 RAM에 기록된 데이터는 관련된 로컬 버스 및 ISA 브리지(211, 212)를 통하여 ISA 버스측으로 전송된다(단계 63). 다음에 관련된 ISA 제어기(231, 232)를 통하여 수신된 데이터를 판독한다(단계 64). 여기서, 전송한 데이터와 판독된 데이터를 비교하여, 서로 같지 않으면 통신 중단 신호를 발생시킨다(단계 65).Next, a start address and a data range for each PCI controller (221, 222 of FIG. 2) are set (step 61). Data to be transmitted next is recorded in the random access memory (RAM) of each of the PCI controllers 221 and 222 (step 62). The data recorded in the RAM is then transferred to the associated ISA bus side. Accordingly, the data recorded in the RAM is transferred to the ISA bus side through the associated local bus and the ISA bridges 211 and 212 (step 63). The data received via the associated ISA controllers 231 and 232 is then read (step 64). Here, the transmitted data and the read data are compared to generate a communication stop signal if they are not equal to each other (step 65).

한편, 각각의 ISA 제어기(도 2의 231, 232)에 대한 시작 어드레스 및 데이터 범위를 설정한다(단계 66). 다음에 전송될 데이터를 각각의 ISA 제어기(231, 232)의 RAM(Random Access Memory)에 기록한다(단계 67). 다음에 상기 RAM에 기록된 데이터를 관련된 PCI 버스측으로 전송한다. 이에 따라, 상기 RAM에 기록된 데이터는 관련된 ISA 브리지(211, 212), 로컬 버스 및 PCI 브리지(도 2의 201, 202)를 통하여 PCI 버스측으로 전송된다(단계 68). 다음에 관련된 PCI 제어기(221, 222)를 통하여 수신된 데이터를 판독한다(단계 69). 여기서, 전송한 데이터와 판독된 데이터를 비교하여, 서로 같지 않으면 통신 중단 신호를 발생시킨다(단계 70).On the other hand, the start address and data range for each ISA controller (231, 232 of Fig. 2) are set (step 66). The data to be transmitted next is recorded in random access memory (RAM) of each of the ISA controllers 231 and 232 (step 67). The data written to the RAM is then transferred to the associated PCI bus side. Accordingly, the data recorded in the RAM is transferred to the PCI bus side through the associated ISA bridges 211 and 212, the local bus and the PCI bridge (201 and 202 in FIG. 2) (step 68). Next, the data received through the associated PCI controllers 221 and 222 is read (step 69). Here, the transmitted data and the read data are compared to generate a communication stop signal if they are not the same (step 70).

이와 같은 알고리듬이 서어버 제어기(24)에서 수행됨에 따라, 전체적 통신망의 상태가 효율적으로 운영되고, 통신 에러가 신속히 검출될 수 있다. 본 발명은 상기 실시예에 한정되지 않고, 당업자의 수준에서 그 변형 및 개량이 가능하다. 예를 들어, 상기 도 6의 단계 65 또는 70의 수행에 의하여 통신이 중단되는 경우, 그 통신 에러 신호를 관련되는 PCI 버스 및 ISA 버스로 전송할 수 있다.As this algorithm is performed in the server controller 24, the state of the overall communication network can be efficiently operated, and communication errors can be detected quickly. The present invention is not limited to the above embodiments, and modifications and improvements are possible at the level of those skilled in the art. For example, when communication is interrupted by performing step 65 or 70 of FIG. 6, the communication error signal may be transmitted to the associated PCI bus and the ISA bus.

이상 설명된 바와 같이, 본 발명에 따른 PCI 버스와 ISA 버스 사이의 통신 제어 회로 및 알고리듬에 의하면, 전체적 통신망의 상태를 효율적으로 운영하고 통신 에러를 신속히 검출할 수 있으므로, 통신망의 확대 및 응용에 기여할 수 있다.As described above, according to the communication control circuit and algorithm between the PCI bus and the ISA bus according to the present invention, it is possible to efficiently operate the state of the entire communication network and to quickly detect communication errors, thereby contributing to the expansion and application of the communication network. Can be.

Claims (14)

내장된 알고리듬에 따라, 각각의 PCI 버스와 ISA 버스 사이의 전체적 통신 상태를 테스트하고 제어하는 서어버 제어기;A server controller for testing and controlling the overall communication state between each PCI bus and the ISA bus according to an embedded algorithm; 상기 서어버 제어기와 각각의 PCI 브리지 사이를 인터페이싱하는 각각의 PCI 제어기; 및Each PCI controller interfacing between the server controller and each PCI bridge; And 상기 서어버 제어기와 상기 각각의 ISA 버스 사이를 인터페이싱하는 각각의 ISA 제어기;를 포함한 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 회로.And a respective ISA controller for interfacing between the server controller and the respective ISA bus. 제1항에 있어서, 상기 각각의 PCI 브리지는,The method of claim 1, wherein each PCI bridge, 상기 각각의 PCI 버스와 각각의 ISA 브리지 사이를 인터페이싱하는 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 회로.And interfacing between each PCI bus and each ISA bridge. 제2항에 있어서, 상기 각각의 ISA 브리지는,The method of claim 2, wherein each ISA bridge, 상기 각각의 PCI 브리지와 상기 각각의 ISA 버스 사이를 인터페이싱하는 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 회로.Interfacing between each PCI bridge and each ISA bus. 제3항에 있어서, 상기 각각의 PCI 브리지와 ISA 브리지 사이에는,The method of claim 3, wherein between each of the PCI bridge and the ISA bridge, 로컬 버스로 연결된 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 회로.Communication control circuitry between the PCI bus and the ISA bus, characterized in that connected by a local bus. 제1항에 있어서, 상기 서어버 제어기와 각각의 PCI 제어기 사이에는,According to claim 1, Between the server controller and each PCI controller, 직렬 데이터 통신이 수행되는 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 회로.Communication control circuitry between a PCI bus and an ISA bus, wherein serial data communication is performed. 제1항에 있어서, 상기 서어버 제어기와 각각의 ISA 제어기 사이에는,The method of claim 1, wherein between the server controller and each ISA controller, 직렬 데이터 통신이 수행되는 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 회로.Communication control circuitry between a PCI bus and an ISA bus, wherein serial data communication is performed. 내장된 알고리듬에 따라, 각각의 PCI 버스와 ISA 버스 사이의 전체적 통신 상태를 테스트하고 제어하는 서어버 제어기; 상기 서어버 제어기와 각각의 PCI 브리지 사이를 인터페이싱하는 각각의 PCI 제어기; 및 상기 서어버 제어기와 상기 각각의 ISA 버스 사이를 인터페이싱하는 각각의 ISA 제어기;를 갖춘 통신 제어 회로에 적용되는 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬에 있어서,A server controller for testing and controlling the overall communication state between each PCI bus and the ISA bus according to an embedded algorithm; Each PCI controller interfacing between the server controller and each PCI bridge; And a respective ISA controller for interfacing between the server controller and the respective ISA bus, wherein the communication control algorithm between the PCI bus and the ISA bus is applied to the communication control circuit. (S1) 초기화 루틴을 수행하는 단계;(S1) performing an initialization routine; (S2) 상기 각각의 PCI 제어기를 통하여 데이터를 전송하는 단계;(S2) transmitting data through each of the PCI controller; (S3) 상기 각각의 ISA 제어기로부터 수신된 데이터를 판독하는 단계;(S3) reading the data received from each ISA controller; (S4) 상기 단계 S2에서 전송한 데이터와 상기 단계 S3에서 판독된 데이터를 비교하여, 서로 같지 않으면 통신 중단 신호를 발생시키는 단계;(S4) comparing the data transmitted in the step S2 and the data read in the step S3, and generating a communication stop signal if not equal to each other; (S5) 상기 각각의 ISA 제어기를 통하여 데이터를 전송하는 단계;(S5) transmitting data through each ISA controller; (S6) 상기 각각의 PCI 제어기로부터 수신된 데이터를 판독하는 단계; 및(S6) reading the data received from each PCI controller; And (S7) 상기 단계 S5에서 전송한 데이터와 상기 단계 S6에서 판독된 데이터를 비교하여, 서로 같지 않으면 통신 중단 신호를 발생시키는 단계;를 포함한 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬.(S7) comparing the data transmitted in the step S5 and the data read in the step S6, if not equal to each other to generate a communication stop signal; communication control algorithm between the PCI bus and the ISA bus, comprising a. 제7항에 있어서, 상기 각각의 PCI 브리지는,The method of claim 7, wherein each PCI bridge, 상기 각각의 PCI 버스와 각각의 ISA 브리지 사이를 인터페이싱하는 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬.And a communication control algorithm between the PCI bus and the ISA bus, interfacing between each PCI bus and each ISA bridge. 제8항에 있어서, 상기 각각의 ISA 브리지는,The method of claim 8, wherein each ISA bridge, 상기 각각의 PCI 브리지와 상기 각각의 ISA 버스 사이를 인터페이싱하는 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬.And a communication control algorithm between the PCI bus and the ISA bus, interfacing between each PCI bridge and the respective ISA bus. 제9항에 있어서, 상기 단계 S1은,The method of claim 9, wherein step S1, (S11) 상기 각각의 PCI 브리지 및 ISA 브리지 내의 레지스터들에 관련된 초기 데이터를 저장하는 단계;(S11) storing initial data related to registers in each of the PCI bridge and the ISA bridge; (S12) 상기 각각의 PCI 제어기 및 ISA 제어기의 노드 번호를 설정하는 단계;(S12) setting node numbers of the PCI controller and the ISA controller; (S13) 상기 각각의 PCI 브리지 및 ISA 브리지 내의 구성 레지스터들을 인에이블시키는 단계;(S13) enabling configuration registers in each of the PCI bridge and the ISA bridge; (S14) 상기 각각의 PCI 브리지 및 ISA 브리지 내의 진단 레지스터의 상태를 확인하는 단계; 및(S14) checking the status of diagnostic registers in each of the PCI bridge and the ISA bridge; And (S15) 통신에 사용될 패킷 크기를 설정하는 단계;를 포함한 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬.(S15) setting a packet size to be used for communication; communication control algorithm between the PCI bus and the ISA bus comprising a. 제7항에 있어서, 상기 단계 S2는,The method of claim 7, wherein the step S2, (S21) 상기 각각의 PCI 제어기에 대한 시작 어드레스 및 데이터 범위를 설정하는 단계;(S21) setting a start address and a data range for each PCI controller; (S22) 전송될 데이터를 상기 PCI 제어기의 램에 기록하는 단계; 및(S22) recording the data to be transmitted to the RAM of the PCI controller; And (S23) 상기 램에 기록된 데이터를 상기 ISA 버스측으로 전송하는 단계;를 포함한 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬.(S23) transmitting the data recorded in the RAM to the ISA bus side; communication control algorithm between the PCI bus and the ISA bus comprising a. 제7항에 있어서, 상기 단계 S5는,The method of claim 7, wherein the step S5, (S51) 상기 각각의 ISA 제어기에 대한 시작 어드레스 및 데이터 범위를 설정하는 단계;(S51) setting a start address and a data range for each ISA controller; (S52) 전송될 데이터를 상기 ISA 제어기의 램에 기록하는 단계; 및(S52) recording the data to be transmitted to the RAM of the ISA controller; And (S53) 상기 램에 기록된 데이터를 상기 PCI 버스측으로 전송하는 단계;를 포함한 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬.(S53) transmitting the data recorded in the RAM to the PCI bus side; communication control algorithm between the PCI bus and the ISA bus comprising a. 제7항에 있어서, 상기 단계 S4 및 S7의 수행에 의하여 발생되는 통신 중단 신호는,The communication stop signal generated by performing the steps S4 and S7, 통신 에러 신호를 포함하는 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬.A communication control algorithm between the PCI bus and the ISA bus comprising a communication error signal. 제13항에 있어서, 상기 통신 중단 신호는,The method of claim 13, wherein the communication stop signal, 관련되는 PCI 버스 및 ISA 버스로 전송되는 것을 특징으로 하는 PCI 버스와 ISA 버스 사이의 통신 제어 알고리듬.A communication control algorithm between the PCI bus and the ISA bus, characterized in that it is transmitted over the PCI bus and the ISA bus.
KR1019970041617A 1997-08-27 1997-08-27 Circuit and method for controlling communication between PCI bus and ISA bus KR100261080B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970041617A KR100261080B1 (en) 1997-08-27 1997-08-27 Circuit and method for controlling communication between PCI bus and ISA bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970041617A KR100261080B1 (en) 1997-08-27 1997-08-27 Circuit and method for controlling communication between PCI bus and ISA bus

Publications (2)

Publication Number Publication Date
KR19990018441A true KR19990018441A (en) 1999-03-15
KR100261080B1 KR100261080B1 (en) 2000-07-01

Family

ID=19518903

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970041617A KR100261080B1 (en) 1997-08-27 1997-08-27 Circuit and method for controlling communication between PCI bus and ISA bus

Country Status (1)

Country Link
KR (1) KR100261080B1 (en)

Also Published As

Publication number Publication date
KR100261080B1 (en) 2000-07-01

Similar Documents

Publication Publication Date Title
KR20010052423A (en) System, device, and method for communicating with and initializing a computer peripheral
US7533275B2 (en) Data processing apparatus and memory card using the same
KR970071302A (en) Programmable Read / Write Access Signals from Processors and Methods of Forming The Signals
US20070250740A1 (en) System and method for conducting BIST operations
JPH08227381A (en) Memory system and method for access to said system
US7363565B2 (en) Method of testing apparatus having master logic unit and slave logic unit
US5436856A (en) Self testing computer system with circuits including test registers
US7054979B2 (en) Method and apparatus for routing configuration accesses from a primary port to a plurality of secondary ports
KR100261080B1 (en) Circuit and method for controlling communication between PCI bus and ISA bus
US6550015B1 (en) Scalable virtual timer architecture for efficiently implementing multiple hardware timers with minimal silicon overhead
JP4008086B2 (en) Data monitor circuit
CN101169767B (en) Access control device and access control method
US6795938B2 (en) Memory access controller with response faking
JP2002198990A (en) Data communication method and data communication ic
US20070300014A1 (en) Debug port for on-die DRAM
JPH087442Y2 (en) Input / output device of programmable controller
EP0556138A1 (en) A bus for connecting extension cards to a data processing system and test method
US3891839A (en) Method and apparatus for identifying an invalid character code
WO2000014645A1 (en) Method and apparatus for comparing an address sent on a bus to a device's assigned address or addresses
JP4426344B2 (en) Memory device control method and apparatus
KR100225531B1 (en) Apparatus for interfacing between peripheral processor and device in the switching system
KR20030024472A (en) Apparatus for multiplexing CPU and Method thereof
KR970007156Y1 (en) Access time control circuit of data i/o apparatus
KR20050067324A (en) Interface device between master/slave devices and method thereof
JPH0561812A (en) Information processing system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
J201 Request for trial against refusal decision
B701 Decision to grant
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee