KR19980065942A - Interface circuit and method between the central processing unit and peripheral devices of independent bus type - Google Patents

Interface circuit and method between the central processing unit and peripheral devices of independent bus type Download PDF

Info

Publication number
KR19980065942A
KR19980065942A KR1019970001177A KR19970001177A KR19980065942A KR 19980065942 A KR19980065942 A KR 19980065942A KR 1019970001177 A KR1019970001177 A KR 1019970001177A KR 19970001177 A KR19970001177 A KR 19970001177A KR 19980065942 A KR19980065942 A KR 19980065942A
Authority
KR
South Korea
Prior art keywords
bus
central processing
processing unit
buffer
peripheral device
Prior art date
Application number
KR1019970001177A
Other languages
Korean (ko)
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 KR1019970001177A priority Critical patent/KR19980065942A/en
Publication of KR19980065942A publication Critical patent/KR19980065942A/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/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/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

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)
  • Bus Control (AREA)

Abstract

본 발명은 서로 독립적인 버스방식의 중앙처리장치와 주변장치간을 보다 효율적으로 인터페이스하는 회로 및 그 인터페이스 방법에 관한 것이다. 이러한 본 발명은 별개로 나누어지는 어드레스버스와 데이터버스를 가지는 중앙처리장치와, 어드레스버스와 데이터버스가 동일하게 사용되는 버스를 가지는 주변장치와, 상기 중앙처리장치의 어드레스버스와 상기 주변장치의 버스 사이 및 상기 중앙처리장치의 데이터버스와 상기 주변장치의 버스 사이에 각각 접속되어 제1버퍼 및 제2버퍼와, 상기 제1버퍼와 상기 제2버퍼가 상보적으로 인에이블되도록 제어하는 제어수단으로 이루어짐을 특징으로 하는 인터페이스 회로를 제공한다.The present invention relates to a circuit and an interface method for more efficiently interfacing between a bus-type central processing unit and peripheral devices. The present invention relates to a central processing unit having a separate address bus and data bus, a peripheral device having a bus in which the address bus and data bus are used in the same manner, an address bus of the central processing device and a bus of the peripheral device. Control means connected to each other and between the data bus of the central processing unit and the bus of the peripheral device to control the first buffer and the second buffer, and the first buffer and the second buffer to be complementarily enabled. An interface circuit is provided.

Description

서로 독립적인 버스방식의 중앙처리장치와 주변장치간 인터페이스 회로 및 방법Interface circuit and method between bus-based central processing unit and peripheral devices

본 발명은 서로 독립적인 버스방식의 중앙처리장치와 주변장치간을 인터페이스하는 회로 및 그 인터페이스 방법에 관한 것이다.The present invention relates to a circuit for interfacing between a central processing unit and a peripheral device of a bus type independent of each other, and an interface method thereof.

일반적으로 중앙처리장치(CPU, Central Processing Unit)는 연산장치와 제어장치로 이루어지는 장치로, 산술연산이나 논리연산과 같은 데이터 처리동작, 입출력 동작을 제어하는 등 컴퓨터를 이용하는 시스템에서의 핵심적인 구성요소이다. 이러한 중앙처리장치는 각 제조사마다 고유의 형태를 가지도록 설계 및 제조되어 왔으며, 이에 연결되는 주변장치(Peripheral)들도 독립적으로 연결될 수 있는 형태로 제조되어 왔다. 예컨대, 대표적인 중앙처리장치 제조사인 모토롤라(Motorola)사는 자신의 중앙처리장치에 인터페이스되기에 적합한 주변장치들을 설계 및 제조하고 있으며, 인텔(Intel)사도 마찬가지로 자신의 중앙처리장치에 인터페이스되기에 적합한 주변 장치들을 설계 및 제조하고 있다.In general, a central processing unit (CPU) is composed of a computing device and a control device, and is a key component in a system using a computer, such as controlling data processing operations such as arithmetic operations or logical operations, and controlling input / output operations. to be. Such a central processing unit has been designed and manufactured to have a unique form for each manufacturer, and peripheral devices connected thereto have been manufactured in a form that can be independently connected. For example, Motorola, a leading processor manufacturer, designs and manufactures peripherals that are suitable for interfacing to their central processing units, and Intel is similarly suitable for interfacing to their central processing units. Are designed and manufactured.

한편 서로 독립적으로 존재하는 중앙처리장치와 주변장치를 서로 연동시켜 사용하고자 하는 경우 이에 따른 적절한 인터페이스 방법이 강구되어야 할 것이다. 예를 들어, 모토롤라사에 의해 제조된 중앙처리장치에 인텔사에 의해 제조된 주변 장치를 연동시키기 위해서는 이에 따른 적절한 인터페이스 방법이 요구된다. 왜냐하면, 인텔사에 의해 제조된 중앙처리장치 및 주변장치들은 어드레스버스(address bus)와 데이터버스(data bus)를 동일하게 사용하지만, 모토롤라사에 의해 제조된 중앙처리장치 및 주변장치들은 어드레스버스와 데이터버스를 별개로 구분하여 사용하기 때문이다.On the other hand, if you want to use the central processing unit and peripheral devices that exist independently of each other to interlock with each other, an appropriate interface method should be taken. For example, in order to link peripheral devices manufactured by Intel to a CPU manufactured by Motorola, an appropriate interface method is required accordingly. Because CPUs and peripherals manufactured by Intel use the same address bus and data bus, CPUs and peripherals manufactured by Motorola use address bus and data. This is because buses are used separately.

그러므로 어드레스버스와 데이터버스를 별개로 구분하여 사용하는 방식의 중앙처리장치에 어드레스버스와 데이터버스를 동일하게 사용하는 방식의 주변장치를 연동시키기 위해서는 그에 따른 인터페이스 방법이 요구될 필요가 있다.Therefore, in order to interface peripheral devices using the same address bus and data bus to the central processing unit using the address bus and the data bus separately, a corresponding interface method is required.

따라서 본 발명의 목적은 서로 독립적인 어드레스/데이터 버스방식을 사용하는 중앙처리장치와 주변장치간을 인터페이스하는 회로 및 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a circuit and a method for interfacing a CPU and a peripheral device using an independent address / data bus method.

본 발명의 다른 목적은 어드레스버스와 데이터버스를 별개로 사용하는 중앙처리장치에 어드레스버스와 데이터버스를 동일하게 사용하는 주변장치를 인터페이스하는 회로 및 방법을 제공함에 있다.Another object of the present invention is to provide a circuit and method for interfacing peripheral devices using the same address bus and data bus to a central processing unit using the address bus and data bus separately.

이러한 목적들을 달성하기 위한 본 발명은 별개로 나누어지는 어드레스버스와 데이터버스를 가지는 중앙처리장치와, 어드레스버스와 데이터버스가 동일하게 사용되는 버스를 가지는 주변장치와, 상기 중앙처리장치의 어드레스버스와 상기 주변장치의 버스 사이 및 상기 중앙처리장치의 데이터버스와 상기 주변장치의 버스 사이에 각각 접속되어 제1버퍼 및 제2버퍼와, 상기 제1버퍼와 상기 제2버퍼가 상보적으로 인에이블되도록 제어하는 제어수단으로 이루어짐을 특징으로 하는 인터페이스 회로를 제공한다.To achieve these objects, the present invention provides a central processing unit having a separately divided address bus and a data bus, a peripheral device having a bus in which the address bus and the data bus are used identically, an address bus of the central processing unit, Connected between the bus of the peripheral device and between the data bus of the CPU and the bus of the peripheral device so that the first buffer and the second buffer, and the first buffer and the second buffer are complementarily enabled. Provided is an interface circuit comprising a control means for controlling.

도 1은 본 발명에 따른 인터페이스 회로의 구성을 보여주는 도면.1 shows a configuration of an interface circuit according to the present invention.

도 2는 도 1에 도시된 버퍼의 동작을 제어하기 위한 신호를 발생하는 블록의 구성을 보여주는 도면.2 is a diagram showing the configuration of a block for generating a signal for controlling the operation of the buffer shown in FIG.

도 3은 본 발명에 따른 중앙처리장치와 주변 장치간이 서로 인터페이스되는 타이밍을 보여주는 도면.3 is a diagram illustrating a timing at which a central processing unit and a peripheral device interface with each other according to the present invention.

이하 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의내려진 용어들로서 이는 사용자 또는 칩설계자의 의도 또는 관례 등에 따라 달라질 수 있으므로, 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.DETAILED DESCRIPTION A detailed description of preferred embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. In addition, the terms to be described below are terms defined in consideration of functions in the present invention, which may vary according to the intention or custom of the user or chip designer, and the definitions should be made based on the contents throughout the present specification.

도 1을 참조하면, 본 발명에 따른 인터페이스 회로는 데이터버스 data와, 어드레스버스 addr을 별개로 나누어서 사용하는 중앙처리장치(CPU) 10이 포함됨을 알 수 있다. 상기 CPU 10의 데이터버스 data와 어드레스버스 addr은 각각 제1버퍼 12의 일측 및 제2버퍼 14의 일측에 연결된다. 상기 제1버퍼 12 및 제2버퍼 14의 다른 일측은 하나의 어드레스/데이터 버스 addr/bus를 통해 주변장치(Peripheral)에 연결된다. 이때 제1버퍼 12의 OE단자로 제어신호 BCN가 인가되며, 제2버퍼 14의 OE단자로는 인버터(inverter) 16을 거쳐 반전된 제어신호 BCN이 인가된다. 그러므로 상기 제1버퍼 12와 제2버퍼 14는 상기 제어신호 BCN의 입력에 응답하여 서로 상보적으로 인에이블된다. 일예로, 하이레벨의 제어신호 BCN이 인가되는 경우 제1버퍼 12의 OE단자에는 하이레벨이 인가되므로 제1버퍼 12는 인에이블되지 않고, 대신에 제2버퍼 14의 OE단자에는 인버터 16에 의해 로우레벨의 제어신호 BCN이 인가되므로 제2버퍼 14는 인에이블된다. 반면에, 로우레벨의 제어신호 BCN이 인가되는 경우에는 제1버퍼 12가 인에이블되고, 제2버퍼 14는 인에이블되지 않는다.Referring to FIG. 1, it can be seen that the interface circuit according to the present invention includes a central processing unit (CPU) 10 that uses data bus data and address bus addr separately. The data bus data and the address bus addr of the CPU 10 are connected to one side of the first buffer 12 and one side of the second buffer 14, respectively. The other side of the first buffer 12 and the second buffer 14 is connected to a peripheral through one address / data bus addr / bus. At this time, the control signal BCN is applied to the OE terminal of the first buffer 12, and the control signal BCN inverted through the inverter 16 is applied to the OE terminal of the second buffer 14. Therefore, the first buffer 12 and the second buffer 14 are mutually enabled in response to the input of the control signal BCN. For example, when the high level control signal BCN is applied, since the high level is applied to the OE terminal of the first buffer 12, the first buffer 12 is not enabled, but instead, the inverter 16 is applied to the OE terminal of the second buffer 14. Since the low level control signal BCN is applied, the second buffer 14 is enabled. On the other hand, when the low-level control signal BCN is applied, the first buffer 12 is enabled and the second buffer 14 is not enabled.

도 2는 도 1에 도시된 제1버퍼 12 및 제2버퍼 14의 상보적인 인에이블동작을 제어하는 제어신호 BCN을 발생하는 처리블록의 구성을 보여주는 도면이다.FIG. 2 is a diagram illustrating a configuration of a processing block for generating a control signal BCN for controlling complementary enable operations of the first buffer 12 and the second buffer 14 shown in FIG. 1.

도 2를 참조하면, 제어신호 BCN 발생블록은 일련의 디플립플롭(D Flip Flop) 20,22,24와, 2개의 인버터 IV1,IV2와, 앤드게이트 26을 포함하여 이루어진다. 제1디플립플롭의 D단자로는 CPU 10이 어드레스버스를 사용하기 위해 인가되는 어드레스스트로브신호 AS(Address Strobe)가 인가된다. 이 AS신호는 인버터 IV2을 거쳐 앤드게이트 26의 한 입력단자로도 인가된다. 앤드게이트 26의 다른 입력단자에는 제2디플립플롭 22의 Q단자가 연결되고, 제3디플립플롭 24의 Q단자가 연결된다. 그리고 제1디플립플롭 20과 제3디플립플롭 24의 클럭단자로는 CPU 10으로부터 제공되는 CLK이 인가되고, 제2디플립플롭 22의 클럭단자로는 반전된 클럭 CLK가 인가된다.Referring to FIG. 2, the control signal BCN generation block includes a series of D flip flops 20, 22, 24, two inverters IV1, IV2, and an end gate 26. As the D terminal of the first flip-flop, an address strobe signal AS (Address Strobe) to which the CPU 10 is applied to use the address bus is applied. This AS signal is also applied to one input terminal of the AND gate 26 via inverter IV2. The other terminal of the AND gate 26 is connected to the Q terminal of the second flip-flop 22, and the Q terminal of the third deflip-flop 24 is connected. CLK provided from the CPU 10 is applied to the clock terminals of the first flip-flop 20 and the third flip-flop 24, and an inverted clock CLK is applied to the clock terminals of the second flip-flop 22.

도 3은 도 2에 도시된 CPU 10으로부터 제1디플립플롭 20과 제3디플립플롭 24의 클럭단자로 클럭 CLK가 인가되고, 제1디플립플롭 20의 D단자로 어드레스스트로브신호 AS가 인가되는 경우에 제1버퍼 12 및 제2버퍼 14를 상보적으로 인에이블시키는 버퍼제어신호 BCN이 발생되는 타이밍을 보여주는 도면이다.FIG. 3 shows a clock CLK applied to the clock terminals of the first and second flip-flops 20 and 24 from the CPU 10 shown in FIG. 2, and an address strobe signal AS is applied to the D terminals of the first dip-flop 20. In this case, the timing for generating the buffer control signal BCN for enabling the first buffer 12 and the second buffer 14 to be complementary is shown.

상술한 바와 같이 본 발명은 서로 독립적인 버스방식을 가지는 중앙처리장치와 주변장치의 사이에 제1버퍼 및 제2버퍼를 구비시키고 이 버퍼들의 인에이블동작을 제어함으로써 간단하게 중앙처리장치의 데이터버스와 주변장치의 버스를 연동시키거나 중앙처리장치의 어드레스버스와 주변장치의 버스를 연동시킬 수 있는 이점이 있다.As described above, the present invention provides a data bus of the central processing unit simply by providing a first buffer and a second buffer between the central processing unit and peripheral devices having independent bus methods and controlling the enable operation of the buffers. There is an advantage of interlocking the bus of the peripheral device and the bus of the peripheral device and the address bus of the central processing unit.

한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도내에서 여러가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 않되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the scope of the following claims, but also by the equivalents of the claims.

Claims (3)

서로 독립적인 버스방식을 가지는 중앙처리장치와 주변장치간을 인터페이스하는 회로에 있어서, 별개로 나누어지는 어드레스버스와 데이터버스를 가지는 중앙처리장치와, 어드레스버스와 데이터버스가 동일하게 사용되는 버스를 가지는 주변장치와, 상기 중앙처리장치의 어드레스버스와 상기 주변장치의 버스 사이 및 상기 중앙처리장치의 데이터버스와 상기 주변장치의 버스 사이에 각각 접속되어 제1버퍼 및 제2버퍼와, 상기 제1버퍼와 상기 제2버퍼가 상보적으로 인에이블되도록 제어하는 제어수단으로 이루어짐을 특징으로 하는 인터페이스 회로.A circuit for interfacing a central processing unit and a peripheral device having independent bus methods, comprising: a central processing unit having separate address buses and data buses; and a bus having the same address bus and data buses. A first buffer, a second buffer, and a first buffer connected between a peripheral device, an address bus of the central processing unit and a bus of the peripheral device, and a data bus of the central processing device and a bus of the peripheral device, respectively. And control means for controlling the second buffer to be complementarily enabled. 제 1항에 있어서, 상기 제어수단은 상기 중앙처리장치로부터 어드레스버스를 사용하기 위한 스트로브신호가 인가되는 경우 상기 제1버퍼를 인에이블시켜 상기 중앙처리장치의 어드레스버스와 상기 주변장치의 버스를 서로 연결시키는 것을 특징으로 하는 인터페이스 회로.2. The apparatus of claim 1, wherein the control means enables the first buffer when the strobe signal for using the address bus is applied from the central processing unit so that the address bus of the central processing unit and the bus of the peripheral device are mutually separated. Interface circuit characterized in that the connection. 별개로 나누어지는 어드레스버스와 데이터버스를 가지는 중앙처리장치와, 어드레스와 데이터버스를 동일한 하나의 버스로서 사용하는 주변장치간을 인터페이스하는 방법에 있어서, 상기 중앙처리장치의 어드레스버스와 상기 주변장치의 버스사이 및 상기 중앙처리장치의 데이터버스와 상기 주변장치의 버스사이를 상보적으로 인에이블시킴으로써 상기 중앙처리장치와 상기 주변장치간을 인터페이스하는 것을 특징으로 하는 방법.A method of interfacing between a central processing unit having separate address buses and data buses, and peripheral devices using the address and data buses as the same bus, the method comprising: And interfacing between the central processing unit and the peripheral device by complementarily enabling between buses and between the data bus of the central processing unit and the bus of the peripheral device.
KR1019970001177A 1997-01-16 1997-01-16 Interface circuit and method between the central processing unit and peripheral devices of independent bus type KR19980065942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970001177A KR19980065942A (en) 1997-01-16 1997-01-16 Interface circuit and method between the central processing unit and peripheral devices of independent bus type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970001177A KR19980065942A (en) 1997-01-16 1997-01-16 Interface circuit and method between the central processing unit and peripheral devices of independent bus type

Publications (1)

Publication Number Publication Date
KR19980065942A true KR19980065942A (en) 1998-10-15

Family

ID=65952933

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970001177A KR19980065942A (en) 1997-01-16 1997-01-16 Interface circuit and method between the central processing unit and peripheral devices of independent bus type

Country Status (1)

Country Link
KR (1) KR19980065942A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05289938A (en) * 1992-04-08 1993-11-05 Fuji Electric Co Ltd Memory access device
KR950008661A (en) * 1993-09-11 1995-04-19 오정무 Bituminous coal two-stage pyrolysis method and apparatus
KR950014995A (en) * 1993-11-26 1995-06-16 가네꼬 히사시 PROJECTION EXPOSURE APPARATUS

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05289938A (en) * 1992-04-08 1993-11-05 Fuji Electric Co Ltd Memory access device
KR950008661A (en) * 1993-09-11 1995-04-19 오정무 Bituminous coal two-stage pyrolysis method and apparatus
KR950014995A (en) * 1993-11-26 1995-06-16 가네꼬 히사시 PROJECTION EXPOSURE APPARATUS

Similar Documents

Publication Publication Date Title
KR100306636B1 (en) PCI-ISA Interrupt Protocol Converter and Selection Mechanism
US5101498A (en) Pin selectable multi-mode processor
CA2109682C (en) Multiple bus interface
US5958033A (en) On- the-fly partitionable computer bus for enhanced operation with varying bus clock frequencies
US5805929A (en) Multiple independent I/O functions on a PCMCIA card share a single interrupt request signal using an AND gate for triggering a delayed RESET signal
US7248597B2 (en) General purpose input/output controller
KR970012168A (en) A data processing system for accessing an external device and a method for accessing an external device
US6584536B1 (en) Bus transaction accelerator for multi-clock systems
JP4436902B2 (en) Logic unit and integrated circuit for clearing interrupts
KR950012245A (en) Single Chip Microcomputer with User Designed Circuit
KR19980065942A (en) Interface circuit and method between the central processing unit and peripheral devices of independent bus type
JP2563679B2 (en) Bidirectional input / output signal separation circuit
KR100259855B1 (en) Arbiter of the common micro-processor bus
KR100267783B1 (en) Circuit for generating DMA control signal
KR20050122973A (en) Apparatus for reducing power consumption of advanced micro-controller bus architecture(amba)
KR900005798B1 (en) Circuit for sharing cpu
KR100258866B1 (en) Bridge circuit of pci bus
KR100446282B1 (en) System bus interface circuit, especially related to operating both read and write processes at one cycle
KR930000670B1 (en) Interface circuit of common ram between main cpu and sub-cpu
JP3275975B2 (en) Interface circuit
KR930003448B1 (en) Dual-port memory interface circuit
Suan et al. Design and analysis of microcontroller system using AMBA-Lite bus
KR100186505B1 (en) Interrupt generating circuit
KR970000254B1 (en) Clock-doubling apparatus
JPS59191647A (en) Serial i/o of data processing system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application