KR100225531B1 - Apparatus for interfacing between peripheral processor and device in the switching system - Google Patents

Apparatus for interfacing between peripheral processor and device in the switching system

Info

Publication number
KR100225531B1
KR100225531B1 KR1019970040552A KR19970040552A KR100225531B1 KR 100225531 B1 KR100225531 B1 KR 100225531B1 KR 1019970040552 A KR1019970040552 A KR 1019970040552A KR 19970040552 A KR19970040552 A KR 19970040552A KR 100225531 B1 KR100225531 B1 KR 100225531B1
Authority
KR
South Korea
Prior art keywords
data
bus
interrupt
register
transmitted
Prior art date
Application number
KR1019970040552A
Other languages
Korean (ko)
Other versions
KR19990017574A (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 KR1019970040552A priority Critical patent/KR100225531B1/en
Publication of KR19990017574A publication Critical patent/KR19990017574A/en
Application granted granted Critical
Publication of KR100225531B1 publication Critical patent/KR100225531B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/005Interface circuits for subscriber lines
    • H04M3/007Access interface units for simultaneous transmission of speech and data, e.g. digital subscriber line [DSL] access interface units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/06Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/20Automatic or semi-automatic exchanges with means for interrupting existing connections; with means for breaking-in on conversations

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Bus Control (AREA)

Abstract

본 발명은 교환기에 있어서 효율적인 버스방식을 이용하여 하위레벨 프로세서와 디바이스간을 정합하기 위한 정합장치에 관한 것으로, 본 정합장치는 중앙처리부를 구비한 하나의 하위프로세서당 적어도 1개 이상의 하드웨어 디바이스를 수용할 수 있도록 구성된 교환기에 있어서, 2개의 데이터 전송선(DATA 0, DATA 1)을 포함한 7개의 전송선로로 구성되어 하드웨어 디바이스와 하위프로세서간의 정보를 전송하는 D버스; 하위프로세서에 구비되어 D버스를 통해 하위프로세서와 하드웨어 디바이스간을 정합처리하기 위한 정합부를 포함하도록 구성된다.The present invention relates to a matching device for matching between a low-level processor and a device using an efficient bus method in an exchanger, wherein the matching device accommodates at least one hardware device per one subprocessor having a central processing unit. A switch configured to be capable of performing, comprising: a D-bus configured to transmit information between a hardware device and a lower processor, comprising 7 transmission lines including two data transmission lines DATA 0 and DATA 1; The subprocessor is configured to include a matching unit for matching processing between the subprocessor and the hardware device through the D bus.

Description

교환기에 있어서 하위레벨프로세서와 디바이스간 정합장치Matching device between lower level processor and device in exchange

본 발명은 교환기에 있어서 하위레벨프로세서(PP(Peripheral Processor)라고도 함)와 디바이스간 정합장치에 관한 것으로서, 특히, 효율적인 버스방식을 이용하여 하위레벨 프로세서와 디바이스간 정합처리를 하는 정합장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a matching device between a lower level processor (also referred to as a PP) and a device in an exchange, and more particularly to a matching device for performing matching processing between a lower level processor and a device using an efficient bus method. .

교환기에서 사용되는 하위레벨 프로세서는 교환기내에 구비되어 있는 상위레벨 프로세서와 종단장치인 디바이스(일명 텔레포니 디바이스(Telephoney Device)라고도 함) 사이에 위치하여 디바이스에 대한 제어역할을 하는 것으로, 기존에는 TD버스를 이용한 정합구조로 디바이스와 신호를 송수신하도록 구성되었다.The lower level processor used in the exchange is located between the upper level processor provided in the exchange and the end device (also called a telephony device) to control the device. It is configured to transmit and receive signals to and from the device in a matching structure using.

즉, 도 1에 도시된 바와 같이 기존의 교환기는 하위레벨 프로세서보드(100)와 디바이스(120)간에 12개의 신호선으로 구성된 TD-BUS를 연결하고, TD-BUS를 통해 디바이스(120)와 신호를 송수신하기 위하여 하위레벨 프로세서보드(100)는 CPU(101)와 CPU(101)에 의해 제어되어 TD-BUS와 정합처리를 하는 정합부(102)를 구비한다.That is, as shown in FIG. 1, the existing exchanger connects a TD-BUS consisting of 12 signal lines between the lower-level processor board 100 and the device 120, and transmits a signal to the device 120 through the TD-BUS. In order to transmit and receive, the lower level processor board 100 includes a matching unit 102 controlled by the CPU 101 and the CPU 101 to perform matching processing with the TD-BUS.

그러나 하위레벨 프로세서(100)와 디바이스(120)간에 이용된 TD-BUS가 도 1에 도시된 바와 같이 시스템클럭(SCLK)을 송수신 클럭으로 이용함으로 인하여 디바이스(120)와 하위레벨 프로세서(100)간의 전송거리가 제한되었고, TD-BUS의 신호선수가 12개로 구성되어 있어 하나의 하위레벨 프로세서(100)당 최대 4개의 디바이스(120)만을 수용할 수 있는 등 기능상의 제한적인 요소가 많은 문제가 있었다.However, since the TD-BUS used between the lower level processor 100 and the device 120 uses the system clock SCLK as a transmission / reception clock, as shown in FIG. The transmission distance was limited, and since there were 12 signal players of TD-BUS, there were many problems of functional limitations such as being able to accommodate up to four devices 120 per one low-level processor 100. .

따라서 본 발명은 교환기에 있어서 효율적인 버스방식을 이용하여 하위레벨 프로세서와 디바이스간을 정합하기 위한 정합장치를 제공하는데 그 목적이 있다.Accordingly, an object of the present invention is to provide a matching device for matching between a lower level processor and a device using an efficient bus method in an exchange.

본 발명의 다른 목적은 송수신 클럭을 분리하여 운용하는 버스방식으로 하위레벨 프로세서와 디바이스간을 정합처리하여 하위레벨 프로세서와 디바이스간의 전송거리의 제한을 완화할 수 있는 정합장치를 제공하는데 있다.Another object of the present invention is to provide a matching device that can alleviate the limitation of the transmission distance between the lower-level processor and the device by matching the lower-level processor and the device by a bus method that separates the transmission and reception clocks.

본 발명의 또 다른 목적은 사용 신호선수를 줄인 버스방식으로 하위레벨 프로세서와 디바이스간을 정합처리하여 하위레벨 프로세서당 채널수를 확대할 수 있도록 하는 하위레벨 프로세서와 디바이스간 정합장치를 제공하는데 있다.It is still another object of the present invention to provide a matching device between a lower level processor and a device to expand the number of channels per lower level processor by matching the lower level processor and the device with a bus method that reduces the number of use signals.

상기 목적들을 달성하기 위하여 본 발명에 따른 하위레벨 프로세서와 디바이스간 정합장치는, 중앙처리부를 구비한 하나의 하위프로세서당 적어도 1개 이상의 하드웨어 디바이스를 수용할 수 있도록 구성된 교환기에 있어서, 2개의 데이터 전송선(DATA 0, DATA 1)을 포함한 7개의 전송선로로 구성되어 하드웨어 디바이스와 하위프로세서간의 정보를 전송하는 D버스; 하위프로세서에 구비되어 D버스를 통해 하위프로세서와 하드웨어 디바이스간을 정합처리하기 위한 정합부를 포함하는 것을 특징으로 한다.In order to achieve the above objects, a matching device between a lower level processor and a device according to the present invention comprises: a data exchange line configured to accommodate at least one or more hardware devices per one subprocessor having a central processing unit; A D bus including seven transmission lines including (DATA 0, DATA 1) for transmitting information between the hardware device and the lower processor; It is characterized in that it comprises a matching unit provided in the lower processor for matching processing between the lower processor and the hardware device through the D bus.

도 1은 기존 교환기에 구비되어 있는 하위레벨 프로세서와 디바이스간 정합관계 블럭도,1 is a block diagram showing a matching relationship between a lower level processor and a device provided in an existing exchange;

도 2는 본 발명에 따른 하위레벨 프로세서와 디바이스간 정합장치를 구비한 교환기의 기능 블럭도,2 is a functional block diagram of an exchange having a matching device between a lower level processor and a device according to the present invention;

도 3a, b는 본 발명에 따른 데이터 전송선을 통해 전송되는 데이터 포맷도,3A and 3B are data format diagrams transmitted through a data transmission line according to the present invention;

도 4 는 본 발명에 따라 구현된 도 2에 도시된 정합부의 상세 블럭도,4 is a detailed block diagram of a matching unit shown in FIG. 2 implemented according to the present invention;

도 5a 내지 도 5f는 도 4에 도시된 레지스터내에 구비되는 각 레지스터들의 구조도,5A through 5F are structural diagrams of respective registers provided in the register shown in FIG. 4;

도 6은 본 발명에 따라 바이트단위로 하위프로세서가 디바이스를 라이트할 때의 타이밍도,6 is a timing diagram when a subprocessor writes a device in bytes according to the present invention;

도 7은 본 발명에 따라 워드단위로 하위프로세서가 디바이스를 라이트할 때의 타이밍도,7 is a timing diagram when a lower processor writes a device in word units according to the present invention;

도 8은 본 발명에 따라 바이트단위로 하위프로세서가 디바이스를 리드할 때의 타이밍도,8 is a timing diagram when a subprocessor reads a device in bytes according to the present invention;

도 9는 본 발명에 따라 워드단위로 하위프로세서가 디바이스를 리드할 때의 타이밍도,9 is a timing diagram when a lower processor reads a device in word units according to the present invention;

도 10은 도 4에 도시된 인터럽트 핸들러의 동작 흐름도.10 is an operation flowchart of the interrupt handler shown in FIG. 4;

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

200:하위프로세서 201:중앙처리부(CPU)200: subprocessor 201: central processing unit (CPU)

202:정합부 210:D(Device)버스202: matching unit 210: D (Device) bus

220:디바이스 401:클럭제공부220: device 401: clock provider

402:어드레스 디코더 403:어드레스 전송용 버퍼402: address decoder 403: buffer for address transmission

404:레지스터 405:데이타 전송용 버퍼404: Register 405: Data transfer buffer

406:병/직렬변환기 407:제 1 제어부406: bottle / serial converter 407: first control unit

408:직/병렬변환기 409:제 2 제어부408: serial / parallel converter 409: second control unit

410:수신데이타전용 버퍼 411:버스제어부410: Receive data dedicated buffer 411: Bus control unit

412:인터럽트 핸들러412: interrupt handler

본 발명의 상술한 목적 및 기타 목적과 여러 가지 장점은 다음의 바람직한 실시예에 대한 설명을 통하여 명백하게 드러나게 될 것이다.The above and other objects and various advantages of the present invention will become apparent from the following description of the preferred embodiment.

이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 하위레벨 프로세서와 디바이스간 정합장치를 구비한 교환기의 기능블럭도로서, D(Decive)버스로 정합된 하위레벨 프로세서(200)와 디바이스(220)로 구성된다. 특히 하위레벨 프로세서(200)는 D버스와 정합할 수 있도록 구성된 정합부(202)와 정합부(202)를 제어하는 중앙처리부(201)(이하 CPU라고 약함)로 구성된다.FIG. 2 is a functional block diagram of an exchange having a matching device between a lower level processor and a device according to the present invention, and includes a lower level processor 200 and a device 220 matched by a D (Decive) bus. In particular, the lower level processor 200 includes a matching unit 202 configured to mate with the D bus and a central processing unit 201 (hereinafter, referred to as CPU) for controlling the matching unit 202.

그리고 D버스(210)는 도 2에 도시된 바와 같이 송신클럭(TXCLK) 신호선, 수신클럭(RXCLK) 신호선, 어서트(Assert)신호선, 2개의 데이터(Data) 신호선, 하위레벨 프로세서(200)에서 디바이스(220)로 전송되는 D버스 선택신호선(BUSSEL), 디바이스(220)에서 하위레벨 프로세서(200)로 전송되는 인터럽트 신호선(IRQ) 등 7개의 신호선으로 구성된다. 특히 2개의 데이터 신호선을 통해 전송되는 데이터의 포맷은 도 3에 도시된 바와 같이 구성된다. 즉, 도 3a는 하위레벨 프로세서(200, 또는 PP라고 함)에서 디바이스(220)로 전송되는 데이터의 포맷도로서, 모드(MODE)정보 영역, 어드레스(ADDR) 정보영역, 2개의 데이터(DATA) 정보영역 순으로 구성되고, 도 3b는 디바이스(220)에서 하위레벨 프로세(200)로 전송되는 데이터의 포맷도로서 2개의 데이터 정보영역만 존재한다.As shown in FIG. 2, the D bus 210 may include a TXCLK signal line, a RXCLK signal line, an Assert signal line, two Data signal lines, and a lower level processor 200. 7 signal lines such as a D bus select signal line BUSSEL transmitted to the device 220 and an interrupt signal line IRQ transmitted from the device 220 to the lower level processor 200. In particular, the format of the data transmitted through the two data signal lines is configured as shown in FIG. That is, FIG. 3A is a format diagram of data transmitted from the lower level processor 200 (or PP) to the device 220, and includes a mode information area, an address information address, and two data data. 3B is a format diagram of data transmitted from the device 220 to the lower level processor 200, and only two data information areas exist.

도 4는 도 2에 도시된 정합부(202)의 상세 블록도로서, 송신클럭신호(TXCLK)를 입력신호로하여 하위프로세서(200)에서 디바이스(220)로 신호 전송시 요구되는 송신클럭신호를 생성하여 제공하기 위한 클럭제공부(401), CPU(201)로부터 전송되는 어드레스를 디코딩하기 위한 어드레스 디코더(402), 어드레스 디코더(402)로부터 출력되는 어드레스를 전송하기 위한 어드레스 전송용 버퍼(403), 16비트(D0~D15)의 데이터버스를 통해 CPU(201)로부터 전송되는 데이터를 디바이스(220)측으로 전송하거나 디바이스(220)측으로부터 전송되는 데이터를 CPU(201)로 전송하기 위한 데이터 전송용 버퍼(405), 어드레스 디코더(402)로부터 전송되는 어드레스에 의하여 해당되는 레지스터가 지정되어 데이터 전송용 버퍼(305)를 통해 CPU(201)로부터 전송되는 각종 상태 데이터들을 저장하는 레지스터(404), 클럭제공부(401)로부터 제공되는 클럭신호에 동기되어 어드레스 전송용 버퍼(403), 레지스터(404) 및 데이터 전송용 버퍼(405)로부터 전송되는 정보를 직렬형태로 변환시켜 D버스(210)를 통해 디바이스(220)로 송신하는 병/직렬변환기(406), 클럭제공부(401)로부터 출력되는 클럭신호와 레지스터(404)로부터 공급되는 제어신호에 의해 병/직렬변환기(406)의 동작을 제어하기 위한 제 1 제어부(407), D버스(210)를 통해 디바이스(220)로부터 제공되는 수신클럭신호(RXCLK)에 동기되어 디바이스(220)로부터 전송되는 직렬데이터를 병렬형태로 변환하여 출력하는 직/병렬변환기(408), 클럭제공부(401)에서 제공되는 클럭신호와 레지스터(404)에서 제공되는 제어신호에 따라 직/병렬변환기(408)의 동작을 제어하기 위한 제 2 제어부(409), 직/병렬변환기(408)로부터 출력되는 데이터가 인가되면 상술한 D0~D15 데이타 버스를 통해 CPU(201)로 전송하는 수신데이타 전용버퍼(410), 디바이스(220)로부터 전송되는 인터럽트(DIRQ)를 수신하여 전송하고, 제 1 제어부(407) 및 제 2 제어부(409)를 통해 각 동작에 따른 어서트(Assert)신호와 디바이스(220)로부터 전송되는 AST신호를 모니터링하고 레지스터(404)로부터 전송되는 버스선택신호를 해당 디바이스(220)로 전송하는 버스 제어부(411), 버스제어부(411)로부터 DIRQ신호가 전송되면 소정 레벨의 인터럽트를 CPU(201)로 발생하고 CPU(201)로부터 전송되는 응답신호에 따라 인터럽트 소스원 정보를 전송하도록 제어하는 인터럽트 핸들러(412)로 구성된다.FIG. 4 is a detailed block diagram of the matching unit 202 shown in FIG. 2. The transmission clock signal required for signal transmission from the lower processor 200 to the device 220 using the transmission clock signal TXCLK as an input signal is shown in FIG. A clock providing unit 401 for generating and providing, an address decoder 402 for decoding an address transmitted from the CPU 201, and an address transmission buffer 403 for transmitting an address output from the address decoder 402. For data transmission for transmitting data transmitted from the CPU 201 to the device 220 side or transmitting data transmitted from the device 220 side to the CPU 201 through a 16-bit data bus of D0 to D15. A register is designated by the buffer 405 and the address transmitted from the address decoder 402 to store various state data transmitted from the CPU 201 through the data transfer buffer 305. Information transmitted from the address transfer buffer 403, the register 404 and the data transfer buffer 405 in serial form in synchronization with the clock signal provided from the data generator 404 and the clock provider 401, Parallel / serial converter 406 transmitted through the bus 210 to the device 220 by a clock signal output from the clock providing unit 401 and a control signal supplied from the register 404. Serial data transmitted from the device 220 in synchronization with the reception clock signal RXCLK provided from the device 220 through the first bus controller 407 and the D bus 210 to control the A second to control the operation of the serial / parallel converter 408 according to the serial / parallel converter 408 and the clock signal provided from the clock providing unit 401 and the control signal provided from the register 404 Data output from the controller 409 and the serial / parallel converter 408 When is applied, the reception data dedicated buffer 410 for transmitting to the CPU 201 through the above-described D0 ~ D15 data bus, the interrupt (DIRQ) transmitted from the device 220 is received and transmitted, the first control unit 407 And monitoring the assert signal according to each operation and the AST signal transmitted from the device 220 through the second control unit 409, and transmitting the bus selection signal transmitted from the register 404 to the corresponding device 220. When the DIRQ signal is transmitted from the bus control unit 411 and the bus control unit 411, an interrupt of a predetermined level is generated to the CPU 201 and the interrupt source source information is controlled according to the response signal transmitted from the CPU 201. An interrupt handler 412.

특히 레지스터(404)는 도 4에 도시된 바와 같이 상태 레지스터, 제어레지스터, AMOD 레지스터, BMOD 레지스터, 인터럽트 벡터 레지스터, 및 인터럽트 마스크 레지스터 등 6개의 레지스터들로 구성된다. 각 레지스터들에 데이터 저장구조는 도 5a 내지 도 5f에 도시된 바와 같다.In particular, the register 404 is composed of six registers, such as a status register, a control register, an AMOD register, a BMOD register, an interrupt vector register, and an interrupt mask register, as shown in FIG. The data storage structure in each register is as shown in Figs. 5A to 5F.

도 5a에 도시된 바와 같은 구조를 갖는 상태 레지스터는 디바이스(220)를 액세스하고, 액세스 완료시 동작상태를 보관하며, 하위프로세서(200)의 버스 선택신호 레벨을 보유한다. 도 5a에서 언급되고 있는 ANORMAL*(BNORMAL)은 D버스(210) 동작이 정상 동작되었음을 나타내는 정보이고, AERR*(BERR*)은 D버스(210) 운용중 버스제어부(411)에서 이루어진 AST신호의 에러를 체크결과정보이고, ABSEL I(BBSEL I)는 하위프로세서(200)의 버스 선택신호 레벨정보이고, WRASTUP는 D버스(210)의 라이트동작기간에 대한 정보이고, RDASTUP는 D버스(210)의 리드동작기간에 대한 정보이다.A status register having a structure as shown in FIG. 5A accesses the device 220, maintains an operating state upon completion of the access, and holds the bus select signal level of the subprocessor 200. ANORMAL * (BNORMAL) mentioned in FIG. 5A is information indicating that D bus 210 operation is normally performed, and AERR * (BERR *) is information of an AST signal made by the bus controller 411 during operation of the D bus 210. Error check result information, ABSEL I (BBSEL I) is the bus selection signal level information of the lower processor 200, WRASTUP is information on the write operation period of the D bus 210, RDASTUP is the D bus 210 Information on the read operation period of.

도 5b에 도시된 바와 같은 구조를 갖는 제어레지스터에 있어서, AEARLY*(BEARLY*)는 D버스(210) 액세스방법에 대한 정보이고, VECTOR*는 인터럽트 방식정보이고, ABSEL0(BBSEL0)는 하위프로세서(200) 자신이 출력한 버스선택정보이다. 도 5c 및 도 5d에 도시된 바와 같이 5비트(AM5~AM0, BM5~BM0))를 이용하는 구조를 갖는 AMOD 및 BMOD 레지스터는 현재 하위프로세서(200)와 디바이스(220)간의 동작모드가 바이트(8비트)동작모드인지, 워드(16비트)동작모드인지, 더블워드(32비트)동작모드인지, 리드동작모드인지 또는 라이트 동작모드 인지에 대한 정보를 저장한다. 도 5e에 도시된 바와 같은 구조를 갖는 인터럽트 벡터 레지스터는 V7~V3을 유저 라이트(User Write)영역으로 하고, V2~V0는 현재 발생된 인터럽트 원인정보영역으로 할당한다. 또한 도 5f에 도시된 바와 같은 구조를 갖는 인터럽트 마스크 레지스터는 인터럽트 인에이블 및 디스에이블상태 정보를 갖는다. 이와 같이 7개의 신호선으로 구성된 D버스(210)와 도 4에 도시된 바와 같이 구성된 정합부(202)로 구성된 본 발명에 따른 정합장치는 다음과 같이 동작된다.In the control register having the structure as shown in FIG. 5B, AEARLY * (BEARLY *) is information on a D bus 210 access method, VECTOR * is interrupt scheme information, and ABSEL0 (BBSEL0) is a subprocessor ( 200) It is the bus selection information printed by itself. As shown in FIGS. 5C and 5D, the AMOD and BMOD registers having a structure using 5 bits (AM5 to AM0 and BM5 to BM0) currently have a byte 8 mode of operation between the subprocessor 200 and the device 220. Bit) operation mode, word (16 bit) operation mode, double word (32 bit) operation mode, read operation mode or write operation mode information is stored. An interrupt vector register having a structure as shown in FIG. 5E assigns V7 to V3 as a user write area, and assigns V2 to V0 to an interrupt cause information area currently generated. In addition, an interrupt mask register having a structure as shown in FIG. 5F has interrupt enable and disable state information. As described above, the matching device according to the present invention including the D bus 210 including seven signal lines and the matching unit 202 configured as shown in FIG. 4 operates as follows.

우선, 하위프로세서(200)가 디바이스(220)로 라이트시 CPU(201)는 어드레스버스(A0~A17)를 통해 MOD레지스터를 지정하기 위한 어드레스, 운용사이즈, 동작모드를 설정하기 위한 정보를 전송한다. 전송된 정보는 어드레스 디코더(402)에서 디코딩되어 레지스터(404)내의 MOD레지스터에 저장된다. MOD레지스터에 저장된 값에 의하여 하위프로세서(200)가 디바이스(220)에 대한 라이트모드 운영 및 라이트모드 운영시 전송단위를 8비트로 할 것인지, 16비트로 할 것인지, 32비트로 할 것인지 등이 제어된다.First, when the lower processor 200 writes to the device 220, the CPU 201 transmits information for setting an address, an operation size, and an operation mode for designating a MOD register through the address buses A0 to A17. . The transmitted information is decoded by the address decoder 402 and stored in the MOD register in the register 404. By the value stored in the MOD register, the lower processor 200 controls whether the transmission unit is set to 8 bits, 16 bits, or 32 bits in the write mode operation and the write mode operation of the device 220.

이와 같이 MOD레지스터에 운용할 사이즈정보 및 동작모드정보가 저장된 후, CPU(201)가 D버스 포트를 선택한 후, 송신클럭신호(TXCLK)의 라이징에지에서 어서트되면, 어서트기간동안에 도 3a에 도시된 바와 같이 모드값, 어드레스, 데이터를 디바이스(220)로 전송한다. 이 때 디바이스(220)로 전송되는 모드값은 레지스터(404)내의 모드레지스터로부터 전송되고, 어드레스는 어드레스 전송용 버퍼(403)로부터 전송되고, 데이터는 데이터 전송용 버퍼(405)로부터 전송된다. 전송되는 각 모드값, 어드레스, 데이터는 병/직렬변환기(406)로 인가된다.In this way, after the size information and operation mode information to be operated in the MOD register are stored, the CPU 201 selects the D bus port, and then asserts at the rising edge of the transmission clock signal TXCLK. As shown, the mode value, address, and data are transmitted to the device 220. At this time, the mode value transmitted to the device 220 is transmitted from the mode register in the register 404, the address is transmitted from the address transfer buffer 403, and the data is transferred from the data transfer buffer 405. Each mode value, address, and data transmitted are applied to the parallel / serial converter 406.

병/직렬변환기(406)는 제 1 제어부(407)에 의해 제어되어 병렬형태로 인가된 모드값, 어드레스, 데이터를 도 3a에 도시된 바와 같이 직렬형태로 변환하여 출력한다. 도 3a에서의 데이터 0와 데이터 1은 D버스(210)에서 제공되고 있는 데이터 전송라인을 나타낸다. 따라서 병/직렬변환기(406)는 클럭제공부(401)에서 제공된 송신클럭신호(TXCLK)와 데이터0, 데이터 1을 통해 모드값, 어드레스 및 데이터정보를 디바이스(220)로 전송한다.The parallel / serial converter 406 is controlled by the first control unit 407 and converts the mode values, addresses, and data applied in parallel to the serial form as shown in FIG. 3A and outputs them. Data 0 and data 1 in FIG. 3A represent data transmission lines provided on the D bus 210. Accordingly, the parallel / serial converter 406 transmits the mode value, the address, and the data information to the device 220 through the transmission clock signal TXCLK and the data 0 and the data 1 provided by the clock provider 401.

예를 들어 바이트단위로 전송시에는 도 6에 도시된 타이밍도와 같은 주기로 정보가 전송된다. 즉, 바이트단위로 전송시 송신클럭신호(TXCLK)의 라이징에지에서 로우로 떨어진 어서트신호(AST)는 다음 송신클럭신호(TXCLK)의 라이징에지에서부터 15번째 송신클럭신호(TXCLK)의 라이징에지에서 하이상태로 변환되도록 액티브 주기가 제어된다. 그리고 어서트신호가 액티브상태를 유지하고 있는 기간동안 모드 값, 어드레스 및 데이터는 도 6에 도시된 바와 같이(DATA 0, DATA 1 참조) 송신클럭신호(TXCLK)의 폴링에지에 동기되어 병/직렬변환기(406)로부터 디바이스(220)로 전송되고, 송신클럭신호의 15번째 폴링에지에서 마지막 데이터값이 보내진다.For example, when transmitting by byte unit, information is transmitted in the same cycle as the timing diagram shown in FIG. That is, the assert signal AST that falls low from the rising edge of the transmission clock signal TXCLK is transmitted at the rising edge of the 15th transmission clock signal TXCLK from the rising edge of the next transmission clock signal TXCLK. The active period is controlled to transition to the high state. During the period in which the assert signal remains active, the mode value, address, and data are parallel / serial in synchronization with the polling edge of the transmit clock signal TXCLK as shown in FIG. 6 (see DATA 0 and DATA 1). From converter 406 to device 220, the last data value is sent at the 15th polling edge of the transmit clock signal.

또한 워드단위로 전송시에는 도 7에 도시된 타이밍도와 같은 주기로 정보가 전송된다. 즉, 워드단위로 전송시 어서트신호의 액티브상태 주기는 로우상태로 전환된 후, 송신클럭의 다음 라이징에지에서부터 19번째 라이징에지까지 유지되고, 19번째 라이징에지에서 하이상태로 변환된다. 이와 같은 어서트 주기동안에 도 7에 도시된 바와 같이 모드값, 어드레스 및 데이터가 송신클럭신호의 폴링에지에 동기되어 병/직렬변환기(406)로부터 디바이스(220)로 전송되고, 송신클럭신호의 19번째 폴링에지에서 마지막 데이터값이 전송된다.In the case of word-to-word transmission, information is transmitted in the same cycle as the timing diagram shown in FIG. That is, during the transmission in word units, the active signal period of the assert signal is switched to the low state, and is maintained from the next rising edge of the transmission clock to the 19th rising edge, and is converted to the high state at the 19th rising edge. During this assert period, as shown in Fig. 7, mode values, addresses and data are transmitted from the parallel / serial converter 406 to the device 220 in synchronization with the polling edge of the transmission clock signal, At the first polling edge, the last data value is transmitted.

제 1 제어부(407)는 상술한 바와 같이 병/직렬변환기(406)가 구동되도록 제어하는 것으로, 레지스터(404)로부터 현재 동작모드정보를 제공되면 송신클럭신호(TXCLK)에 동기되어 병/직렬변환기(406)으로 제공되는 어서트신호의 주기를 제어하게 된다.As described above, the first control unit 407 controls the parallel / serial converter 406 to be driven. When the current operation mode information is provided from the register 404, the first control unit 407 is synchronized with the transmission clock signal TXCLK to synchronize the parallel / serial converter. The period of the assert signal provided to 406 is controlled.

한편, 하위프로세서(200)가 디바이스(220)를 리드하고자 할 때 리드하고자 하는 명령 및 어드레스는 상술한 라이트시와 마찬가지로 어드레스 디코더(402), 어드레스 전송용 버퍼(403) 및 병/직렬변환기(406)를 통해 디바이스(220)로 전송된다. 전송된 정보에 의하여 디바이스(220)로부터 리드된 데이터는 직/병렬변환기(408)로 인가된다. 직/병렬변환기(408)는 디바이스(220)로부터 전송된 수신클럭신호(RXCLK)에 동기되어 데이터 0와 데이터 1 전송라인을 통해 도 3b에 도시된 바와 같은 구조로 전송되는 데이터를 수신한다. 그리고 제 2 제어부(409)에 의해 제어되어 바이트 또는 워드 또는 더블 워드단위로 수신된 데이터를 수신데이타 전용 버퍼(410)로 전송한다.On the other hand, when the subprocessor 200 tries to read the device 220, the command and address to be read are the same as the above-described write address, the address decoder 402, the address transfer buffer 403 and the parallel / serial converter 406. Is transmitted to the device 220 via. Data read from the device 220 by the transmitted information is applied to the serial / parallel converter 408. The serial / parallel converter 408 receives data transmitted in the structure shown in FIG. 3B through the data 0 and data 1 transmission lines in synchronization with the reception clock signal RXCLK transmitted from the device 220. The second control unit 409 transmits the data received in byte, word, or double word units to the reception data dedicated buffer 410.

예를 들어 바이트단위로 리드를 할 때에는 어서트신호의 액티브상태 주기는 송신클럭신호의 라이징에지에서 로우로 떨어져 계속 유지되다가 다음 라이징에지부터 11번째 송신클럭신호의 라이징에지에서 하이로 전환되고 모드 값 및 어드레스는 송신클럭의 폴링에지에 동기되어 디바이스(220)로 전송되고, 송신클럭의 11번째 폴링에지에서 마지막 어드레스값이 디바이스(220)로 전송된다. 이에 따라 디바이스(220)로부터 리드된 데이터를 수신하기 위하여 어서트신호는 도 8에 도시된 바와 같이 송신클럭신호의 13번째 라이징에지에서 로우로 전환된 후, 17번째 라이징에지에서 하이로 전환되고, 이 기간동안에 디바이스(220)로부터 전송되는 수신클럭신호(RXCLK)의 폴링에지에 동기되어 데이터 0, 데이터 1 전송로를 통해 전송되는 데이터를 직/병렬변환기(408)는 수신한다. 워드단위로 리드할 때에는 도 9에 도시된 바와 같다.For example, when reading in byte unit, the active signal period of the assert signal is kept low from the rising edge of the transmission clock signal and then goes high at the rising edge of the 11th transmission clock signal from the next rising edge. The address is transmitted to the device 220 in synchronization with the polling edge of the transmit clock, and the last address value is transmitted to the device 220 at the 11th polling edge of the transmit clock. Accordingly, the assert signal is turned low at the 13th rising edge of the transmission clock signal as shown in FIG. 8 to receive the data read from the device 220, and then is turned high at the 17th rising edge. During this period, the serial / parallel converter 408 receives data transmitted through the data 0 and data 1 transmission paths in synchronization with the polling edge of the reception clock signal RXCLK transmitted from the device 220. When reading in word units, it is as shown in FIG.

제 2 제어부(409)는 상술한 제 1 제어부(407)와 같이 송신클럭신호에 동기되어 레지스터(404)로부터 제공되는 모드정보에 따라 직/병렬변환기(408)의 어서트신호의 주기를 제어한다.The second control unit 409 controls the period of the assert signal of the serial / parallel converter 408 according to the mode information provided from the register 404 in synchronization with the transmission clock signal as in the first control unit 407 described above. .

수신데이타 전용버퍼(410)는 직/병렬변환기(408)로부터 전송된 병렬데이타를 D0~D15 데이터 버스를 통해 CPU(201)로 전송한다.The reception data dedicated buffer 410 transmits the parallel data transmitted from the serial / parallel converter 408 to the CPU 201 through the D0 to D15 data buses.

버스제어부(411)는 제 1 및 제 2 제어부(407, 409)에서 제어하는 어서트신호를 모니터링하여 에러발생여부를 레지스터(404) 내부의 상태 레지스터로 전송하여 CPU(201)가 인식할 수 있도록 하고, 소정의 디바이스(220)로부터 인터럽트(DIRQ)가 발생되면, 인터럽트 핸들러(412)로 전송한다.The bus controller 411 monitors the assert signals controlled by the first and second controllers 407 and 409 and transmits an error occurrence to the status register inside the register 404 so that the CPU 201 can recognize it. When the interrupt DIRQ is generated from the predetermined device 220, it is transmitted to the interrupt handler 412.

인터럽트 핸들러(412)는 도 10에 도시된 흐름도와 같이 구동된다. 즉, 제 10 단계에서 인터럽트 핸들러(412)는 인터럽트 요구신호가 버스제어부(411)로부터 수신되었는 지를 체크한다. 체크결과, 수신된 경우에 제 11 단계로 진행되어 레지스터(404)내의 인터럽트 마스크 레지스터를 참조한다. 참조결과, 해당 디바이스에 대한 인터럽트가 인에이블상태(또는 오픈상태)이면 제 12 단계를 경유하여 제 13 단계로 진행된다. 그러나 해당 디바이스에 대한 인터럽트가 디스에이블상태이면 제 19 단계로 진행되어 인터럽트 버스제어부(411)로부터 전송된 인터럽트에 대한 처리를 무시하고 작업을 종료한다.The interrupt handler 412 is driven as shown in the flowchart shown in FIG. That is, in the tenth step, the interrupt handler 412 checks whether the interrupt request signal is received from the bus controller 411. As a result of the check, if it is received, the process goes to the eleventh step to refer to the interrupt mask register in the register 404. As a result of the reference, if the interrupt for the device is enabled (or open), the process proceeds to the thirteenth step via the twelfth step. However, if the interrupt for the corresponding device is in the disabled state, the process proceeds to step 19 and the operation for disregarding the interrupt transmitted from the interrupt bus controller 411 is terminated and the operation is terminated.

제 13 단계에서 인터럽트 핸들러(412)는 해당 인터럽트레벨을 갖는 인터럽트를 CPU(201)로 전송한다. 이 때 해당 인터럽트 레벨은 1~7레벨중 원하는 레벨을 미리 정할 수 있도록 되어 있다. 이로 인하여 기존 정합장치에 비하여 인터럽트 우선순위를 높일 수 있는 이점이 있다.(기존의 정합장치는 인터럽트 레벨이 3과 2레벨만을 사용할 수 있도록 설계되어 있다.)In the thirteenth step, the interrupt handler 412 transmits an interrupt having the corresponding interrupt level to the CPU 201. At this time, the interrupt level can be set in advance among the desired levels. This has the advantage of increasing interrupt priority over conventional matching devices. (Previous matching devices are designed to use only interrupt levels 3 and 2).

CPU(201)로 인터럽트 발생 후, 인터럽트 핸들러(412)는 응답신호(ACK)가 수신되는 지를 체크한다. 체크결과, 응답신호가 수신되었으면 제 14 단계에서 제 15 단계로 진행되어 CPU(201)로부터 수신된 응답신호가 자동벡터(Auto Vectored)방식처리를 요구하는 지 체크한다. 체크결과, 자동벡터방식 처리를 요구한 경우에 인터럽트 핸들러(412)는 제 16 단계로 진행되어 레지스터(404)내의 인터럽트 벡터 레지스터에 저장되어 있는 인터럽트 소스정보에 대한 독출제어를 하고 작업을 종료한다.After the interrupt is generated by the CPU 201, the interrupt handler 412 checks whether a response signal ACK is received. As a result of the check, if a response signal is received, the process proceeds from step 14 to step 15 to check whether the response signal received from the CPU 201 requires an auto vectored process. As a result of the check, when the automatic vector method processing is requested, the interrupt handler 412 proceeds to step 16 to perform control of reading out the interrupt source information stored in the interrupt vector register in the register 404 and ending the operation. .

인터럽트 핸들러(412)에 의하여 독출된 인터럽트 소스정보는 데이터 전송용 버퍼(405)를 통해 CPU(201)로 전송되어 CPU(201)가 인터럽트 소스원을 인식할 수 있도록 한다.The interrupt source information read by the interrupt handler 412 is transmitted to the CPU 201 through the data transfer buffer 405 so that the CPU 201 can recognize the interrupt source source.

그러나 제 15 단계의 체크결과, CPU(201)로부터 자동벡터방식 처리가 요구되지 않은 경우에 제 17 단계로 진행되어 CPU(201)로부터 전송된 응답신호의 레벨을 검출한다. 검출결과, 응답신호의 레벨이 인터럽트 핸들러(412)에서 CPU(201)로 발생되었던 인터럽트 레벨과 동일한지를 체크한다. 체크결과, 동일하면 제 18 단계를 경유하여 제 16 단계로 진행되어 레지스터(404)내의 인터럽트 벡터 레지스터에 대한 독출제어를 하고 상술한 바와 동일하게 인터럽트 소스원을 제공한다.However, when the checking result of the fifteenth step is not required for the automatic vector method processing from the CPU 201, the process proceeds to the seventeenth step to detect the level of the response signal transmitted from the CPU 201. As a result of the detection, it is checked whether the level of the response signal is the same as the interrupt level generated from the interrupt handler 412 to the CPU 201. If the result of the check is the same, the process proceeds to the sixteenth step through the eighteenth step to perform read control on the interrupt vector register in the register 404 and to provide the interrupt source source as described above.

제 18 단계의 체크결과, 인터럽트 요구신호 레벨이 동일하지 않으면 제 19 단계로 진행되어 인터럽트 핸들러(412)는 해당 인터럽트에 대한 처리를 무시하고 작업을 종료한다.As a result of the check in the eighteenth step, if the interrupt request signal levels are not the same, the process goes to the nineteenth step, and the interrupt handler 412 ignores the processing for the corresponding interrupt and ends the operation.

이상에서 설명한 바와 같이 본 발명은 7개의 신호선으로 구성된 D버스구조를 이용하여 하위프로세서와 디바이스간의 정합처리를 할 수 있도록 함으로써, 하위프로세서와 디바이스간의 전송거리 제한을 완화할 수 있고, 신호선 수를 12개에서 7개로 줄임으로써 하드프로세서 보드당 채널수를 약 2배로 늘릴 수 있으며 시리얼 데이터 신호수를 2개(데이타 0, 데이터 1)로하여 버스동작 시간을 크게 줄일 수 있다. 또한 어서트신호에 대해 모니터링하여 데이터의 신뢰성 및 안정성을 높일 수 있으며, 인터럽트 레벨을 1~7로 다양화하여 인터럽트 우선순위를 높게 설정할 수 있는 효과 등이 있다.As described above, the present invention enables the matching process between the subprocessor and the device by using the D bus structure composed of seven signal lines, thereby reducing the transmission distance restriction between the subprocessor and the device, and reducing the number of signal lines. By reducing the number from seven to seven, the number of channels per hard processor board can be approximately doubled, and the number of serial data signals to two (data 0 and data 1) can significantly reduce bus run time. In addition, it is possible to increase the reliability and stability of the data by monitoring the assert signal and to set the interrupt priority higher by varying the interrupt level from 1 to 7.

본 발명은 상술한 실시예로서 설명되었으나 당업자라면 본 발명의 기술사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다. 따라서 본 발명의 기술적 범위는 명세서의 상세한 설명에 기재된 내용으로 한정되는 것이 아니라 특허청구의 범위에 의하여 정하여져야 한다.Although the present invention has been described as the above-described embodiment, those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention. Therefore, the technical scope of the present invention should not be limited to the contents described in the detailed description of the specification but should be defined by the claims.

Claims (7)

중앙처리부를 구비한 하나의 하위프로세서당 적어도 1개 이상의 하드웨어 디바이스를 수용할 수 있도록 구성된 교환기에 있어서,An exchange configured to accommodate at least one hardware device per subprocessor with a central processor, 2개의 데이터 전송선(DATA 0, DATA 1)을 포함한 7개의 전송선로로 구성되어 상기 하드웨어 디바이스와 상기 하위프로세서간의 정보를 전송하는 D버스;A D bus comprising seven transmission lines including two data transmission lines DATA 0 and DATA 1 for transmitting information between the hardware device and the subprocessor; 상기 하위프로세서에 구비되어 상기 D버스를 통해 상기 하위프로세서와 상기 하드웨어 디바이스간을 정합처리하기 위한 정합부를 포함하는 것을 특징으로 하는 하위프로세서와 디바이스간 정합장치.And a matching unit provided in the subprocessor for matching processing between the subprocessor and the hardware device through the D bus. 제 1 항에 있어서, 상기 정합부는,The method of claim 1, wherein the matching unit, 상기 중앙처리부로부터 전송되는 어드레스를 디코딩하는 어드레스 디코더;An address decoder for decoding an address transmitted from the central processing unit; 상기 하위프로세서와 하드웨어 디바이스간의 동작모드에 대한 모든 정보를 저장하고 있는 레지스터;A register that stores all information about an operation mode between the subprocessor and a hardware device; 소정 비트의 데이터버스를 통해 상기 중앙처리부와 소정이 데이터를 송수신하는 데이터 전송용 버퍼;A data transmission buffer for transmitting and receiving data to and from the central processing unit through a data bus of a predetermined bit; 송신클럭신호에 동기되어 상기 어드레스 디코더로부터 전송되는 어드레스, 상기 레지스터로부터 전송되는 모드정보 및 상기 데이터 전송용 버퍼로부터 병렬형태로 전송되는 데이터를 상기 2개의 데이터 전송선을 통해 직렬형태로 출력되도록 변환하는 병/직렬변환기;A bottle that converts the address transmitted from the address decoder, the mode information transmitted from the register, and the data transmitted in parallel from the data transmission buffer in serial form through the two data transmission lines in synchronization with the transmission clock signal. / Serial converter; 상기 레지스터로부터 전송되는 모드정보에 따라 상기 송신클럭신호에 동기되어 상기 병/직렬변환기의 데이터 전송동작을 제어하기 위한 제 1 제어부;A first control unit for controlling a data transmission operation of the parallel / serial converter in synchronization with the transmission clock signal according to the mode information transmitted from the register; 상기 하위 프로세서가 상기 하드웨어 디바이스의 소정 데이터를 리드하고자 할 때, 상기 2개의 데이터 전송선을 통해 상기 하드웨어 디바이스로부터 전송되는 데이터를 상기 D버스를 통해 상기 하드웨어 디바이스로부터 제공되는 수신클럭신호에 동기되어 수신하고 수신된 정보를 병렬형태로 변환하여 출력하는 직/병렬변환기;When the lower processor wants to read predetermined data of the hardware device, data transmitted from the hardware device through the two data transmission lines is received in synchronization with a reception clock signal provided from the hardware device through the D bus. A serial / parallel converter for converting and outputting the received information into a parallel form; 상기 레지스터로부터 제공되는 모드정보에 따라 상기 송신클럭신호에 동기되어 상기 직/병렬변환기의 데이터 전송동작을 제어하기 위한 제 2 제어부;A second control unit for controlling a data transmission operation of the serial / parallel converter in synchronization with the transmission clock signal according to the mode information provided from the register; 상기 직/병렬변환기로부터 출력되는 수신데이타를 받아 상기 데이터버스를 통해 상기 중앙처리부로 전송하기 위한 수신데이타 전용 버퍼;A reception data dedicated buffer for receiving the reception data output from the serial / parallel converter and transmitting the received data to the central processing unit through the data bus; 상기 레지스터로부터 전송되는 버스선택신호를 상기 D버스를 통해 해당 하드웨어 디바이스로 전송하는 버스제어부; 및A bus controller which transmits a bus selection signal transmitted from the register to a corresponding hardware device through the D bus; And 상기 D버스와 상기 버스제어부를 통해 소정의 하드웨어 디바이스로부터 발생된 인터럽트신호가 수신되면, 상기 레지스터에 저장되어 있는 인터럽트 관련데이타를 참조하여 인터럽트 처리를 하는 인터럽트 핸들러를 포함하는 것을 특징으로 하는 하위프로세서와 디바이스간 정합장치.And an interrupt handler configured to process an interrupt by referring to interrupt-related data stored in the register when an interrupt signal generated from a hardware device is received through the D bus and the bus controller. Device-to-device matching device. 제 2 항에 있어서, 상기 인터럽트 핸들러는 상기 버스제어부로부터 소정의 인터럽트신호가 수신되면, 해당 디바이스에 대한 인터럽트모드가 오픈상태일 때 상기 중앙처리부로 소정 레벨의 인터럽트를 발생하고, 발생된 인터럽트에 대한 응답신호가 자동벡터처리를 요구한 경우에는 상기 레지스터에 저장되어 있는 인터럽트 벡터 레지스터에 대한 독출제어를하여 상기 중앙처리부로 전송되도록 하고, 상기 응답신호가 자동벡터처리를 요구하지 않은 경우에는 상기 응답신호 레벨을 체크하여 인터럽트 처리를 하도록 구동되는 것을 특징으로 하는 하위프로세서와 디바이스간 정합장치.The interrupt handler of claim 2, wherein when the interrupt handler receives a predetermined interrupt signal from the bus controller, the interrupt handler generates a predetermined level of interrupt to the central processor when the interrupt mode for the corresponding device is open. If the response signal requires automatic vector processing, read control is performed on the interrupt vector register stored in the register to be transmitted to the central processing unit. If the response signal does not require automatic vector processing, the response A matching device between the subprocessor and the device, characterized in that it is driven to check the signal level and perform interrupt processing. 제 1 항에 있어서, 상기 D버스는 상기 데이터 전송선외에 별도의 송수신 클럭신호 전송선(TXCLK, RXCLK), 어서트신호선, 인터럽트 전송선(IRQ), 및 버스선택신호선(BUSSEL)으로 구성되는 것을 특징으로 하는 하위프로세서와 디바이스간 정합장치.2. The D bus of claim 1, wherein the D bus is configured by separate transmission / reception clock signal transmission lines TXCLK and RXCLK, an assert signal line, an interrupt transmission line IRQ, and a bus selection signal line BUSSEL in addition to the data transmission line. Matching device between the subprocessor and the device. 제 4 항에 있어서, 상기 정합부는,The method of claim 4, wherein the matching unit, 상기 중앙처리부로부터 전송되는 어드레스를 디코딩하는 어드레스 디코더;An address decoder for decoding an address transmitted from the central processing unit; 상기 하위프로세서와 하드웨어 디바이스간의 동작모드에 대한 모든 정보를 저장하고 있는 레지스터;A register that stores all information about an operation mode between the subprocessor and a hardware device; 소정 비트의 데이터버스를 통해 상기 중앙처리부와 소정이 데이터를 송수신하는 데이터 전송용 버퍼;A data transmission buffer for transmitting and receiving data to and from the central processing unit through a data bus of a predetermined bit; 송신클럭신호에 동기되어 상기 어드레스 디코더로부터 전송되는 어드레스, 상기 레지스터로부터 전송되는 모드정보 및 상기 데이터 전송용 버퍼로부터 병렬형태로 전송되는 데이터를 상기 2개의 데이터 전송선을 통해 직렬형태로 출력되도록 변환하는 병/직렬변환기;A bottle that converts the address transmitted from the address decoder, the mode information transmitted from the register, and the data transmitted in parallel from the data transmission buffer in serial form through the two data transmission lines in synchronization with the transmission clock signal. / Serial converter; 상기 레지스터로부터 전송되는 모드정보에 따라 상기 송신클럭신호에 동기되어 상기 병/직렬변환기의 데이터 전송동작을 제어하기 위한 제 1 제어부;A first control unit for controlling a data transmission operation of the parallel / serial converter in synchronization with the transmission clock signal according to the mode information transmitted from the register; 상기 하위 프로세서가 상기 하드웨어 디바이스의 소정 데이터를 리드하고자 할 때, 상기 2개의 데이터 전송선을 통해 상기 하드웨어 디바이스로부터 전송되는 데이터를 상기 D버스를 통해 상기 하드웨어 디바이스로부터 제공되는 수신클럭신호에 동기되어 수신하고 수신된 정보를 병렬형태로 변환하여 출력하는 직/병렬변환기;When the lower processor wants to read predetermined data of the hardware device, data transmitted from the hardware device through the two data transmission lines is received in synchronization with a reception clock signal provided from the hardware device through the D bus. A serial / parallel converter for converting and outputting the received information into a parallel form; 상기 레지스터로부터 제공되는 모드정보에 따라 상기 송신클럭신호에 동기되어 상기 직/병렬변환기의 데이터 전송동작을 제어하기 위한 제 2 제어부;A second control unit for controlling a data transmission operation of the serial / parallel converter in synchronization with the transmission clock signal according to the mode information provided from the register; 상기 직/병렬변환기로부터 출력되는 수신데이타를 받아 상기 데이터버스를 통해 상기 중앙처리부로 전송하기 위한 수신데이타 전용 버퍼;A reception data dedicated buffer for receiving the reception data output from the serial / parallel converter and transmitting the received data to the central processing unit through the data bus; 상기 레지스터로부터 전송되는 버스선택신호를 상기 버스선택신호선(BUSSEL)을 통해 해당 하드웨어 디바이스로 전송하는 버스제어부; 및A bus control unit for transmitting a bus selection signal transmitted from the register to a corresponding hardware device through the bus selection signal line BUSSEL; And 상기 인터럽트 전송선과 상기 버스제어부를 통해 소정의 하드웨어 디바이스로부터 발생된 인터럽트신호가 수신되면, 상기 레지스터에 저장되어 있는 인터럽트 관련데이타를 참조하여 인터럽트 처리를 하는 인터럽트 핸들러를 포함하는 것을 특징으로 하는 하위프로세서와 디바이스간 정합장치.And an interrupt handler configured to process an interrupt by referring to interrupt-related data stored in the register when an interrupt signal generated from a hardware device is received through the interrupt transmission line and the bus controller. Device-to-device matching device. 제 2 항 또는 제 5 항에 있어서,The method according to claim 2 or 5, 상기 버스제어부는 상기 제 1 제어부와 상기 제 2 제어부에서 상기 병/직렬변환기 및 직/병렬변환기의 전송동작을 제어하기 위하여 상기 레지스터로부터 제공되는 모드정보에 의하여 이루어지는 어서트신호의 주기 제어를 모니터링하여 상기 하위프로세서와 하드웨어 디바이스간에 전송상태가 정상인지 여부를 체크하여 상기 레지스터에 저장시키는 기능이 더 부가되는 것을 특징으로 하는 하위프로세서와 디바이스간 정합장치.The bus controller monitors period control of an assert signal made by mode information provided from the register to control transmission operations of the parallel / serial converter and the serial / parallel converter in the first control unit and the second control unit. And a function of checking whether or not the transfer state is normal between the subprocessor and the hardware device and storing the result in the register. 제 6 항에 있어서, 상기 정합부는 상기 어드레스 디코더로부터 출력되는 어드레스중 16비트(A0~A15)에 해당되는 어드레스만을 상기 병/직렬변환기로 전송하기 위한 어드레스 전송용 버퍼를 더 구비하는 것을 특징으로 하는 하위프로세서와 디바이스간 정합장치.The address matching unit of claim 6, wherein the matching unit further comprises an address transfer buffer for transmitting only 16 bits (A0 to A15) of the addresses output from the address decoder to the parallel / serial converter. Matching device between the subprocessor and the device.
KR1019970040552A 1997-08-25 1997-08-25 Apparatus for interfacing between peripheral processor and device in the switching system KR100225531B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970040552A KR100225531B1 (en) 1997-08-25 1997-08-25 Apparatus for interfacing between peripheral processor and device in the switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970040552A KR100225531B1 (en) 1997-08-25 1997-08-25 Apparatus for interfacing between peripheral processor and device in the switching system

Publications (2)

Publication Number Publication Date
KR19990017574A KR19990017574A (en) 1999-03-15
KR100225531B1 true KR100225531B1 (en) 1999-10-15

Family

ID=19518372

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970040552A KR100225531B1 (en) 1997-08-25 1997-08-25 Apparatus for interfacing between peripheral processor and device in the switching system

Country Status (1)

Country Link
KR (1) KR100225531B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100465300B1 (en) * 1999-10-28 2005-01-13 엘지전자 주식회사 Device for interface control of Peripheral Processor

Also Published As

Publication number Publication date
KR19990017574A (en) 1999-03-15

Similar Documents

Publication Publication Date Title
US6122690A (en) On-chip bus architecture that is both processor independent and scalable
US6131127A (en) I/O transactions on a low pin count bus
US7162556B2 (en) Matrix type bus connection system and power reduction method therefor
US5878272A (en) Computer system having two DMA circuits assigned to the same address space
EP1021756B1 (en) Direct memory access (dma) transactions on a low pin count bus
US20070088874A1 (en) Offload engine as processor peripheral
US5550989A (en) Bridge circuit that can eliminate invalid data during information transfer between buses of different bitwidths
US5274795A (en) Peripheral I/O bus and programmable bus interface for computer data acquisition
JPS6055858B2 (en) interface circuit
US6070204A (en) Method and apparatus for using universal serial bus keyboard to control DOS operations
US7231467B2 (en) Method and apparatus for providing an inter integrated circuit interface with an expanded address range and efficient priority-based data throughput
US5828891A (en) Multilevel interrupt device
US5872940A (en) Programmable read/write access signal and method therefor
EP0784278B1 (en) Interface architecture for connection to a peripheral component interconnect bus
JP2000066994A (en) Lpc/isa bridge and its bridge method
EP0473059B1 (en) Communication control system
KR100225531B1 (en) Apparatus for interfacing between peripheral processor and device in the switching system
US5754802A (en) Increasing data transfer efficiency for a read operation in a non-split transaction bus environment by substituting a write operation for the read operation
JPS58105371A (en) Multiplex calculator and structure of communication bus used therefor
JP2000112878A (en) Device and method for controlling timing of transfer request in data processor
KR0154470B1 (en) Circuit for interfacing between auxiliary processor and external device
EP0439594B1 (en) Device for interfacing a main processor bus connected to a main processor to a peripheral bus having a number of peripheral devices connected thereto
JPH10198524A (en) Hard disk controller
KR960005743B1 (en) Data transmit inspecting circuit
KR910008420B1 (en) Interface circuit between cpu and peripheral i/o devices

Legal Events

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

Payment date: 20030722

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee