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 systemInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/005—Interface circuits for subscriber lines
- H04M3/007—Access interface units for simultaneous transmission of speech and data, e.g. digital subscriber line [DSL] access interface units
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M11/00—Telephonic communication systems specially adapted for combination with other electrical systems
- H04M11/06—Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/20—Automatic 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
본 발명은 교환기에 있어서 하위레벨프로세서(PP(Peripheral Processor)라고도 함)와 디바이스간 정합장치에 관한 것으로서, 특히, 효율적인 버스방식을 이용하여 하위레벨 프로세서와 디바이스간 정합처리를 하는 정합장치에 관한 것이다.BACKGROUND OF THE
교환기에서 사용되는 하위레벨 프로세서는 교환기내에 구비되어 있는 상위레벨 프로세서와 종단장치인 디바이스(일명 텔레포니 디바이스(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-
그러나 하위레벨 프로세서(100)와 디바이스(120)간에 이용된 TD-BUS가 도 1에 도시된 바와 같이 시스템클럭(SCLK)을 송수신 클럭으로 이용함으로 인하여 디바이스(120)와 하위레벨 프로세서(100)간의 전송거리가 제한되었고, TD-BUS의 신호선수가 12개로 구성되어 있어 하나의 하위레벨 프로세서(100)당 최대 4개의 디바이스(120)만을 수용할 수 있는 등 기능상의 제한적인 요소가 많은 문제가 있었다.However, since the TD-BUS used between the
따라서 본 발명은 교환기에 있어서 효율적인 버스방식을 이용하여 하위레벨 프로세서와 디바이스간을 정합하기 위한 정합장치를 제공하는데 그 목적이 있다.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 (
도 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
그리고 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
도 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
특히 레지스터(404)는 도 4에 도시된 바와 같이 상태 레지스터, 제어레지스터, AMOD 레지스터, BMOD 레지스터, 인터럽트 벡터 레지스터, 및 인터럽트 마스크 레지스터 등 6개의 레지스터들로 구성된다. 각 레지스터들에 데이터 저장구조는 도 5a 내지 도 5f에 도시된 바와 같다.In particular, the
도 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
도 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
우선, 하위프로세서(200)가 디바이스(220)로 라이트시 CPU(201)는 어드레스버스(A0~A17)를 통해 MOD레지스터를 지정하기 위한 어드레스, 운용사이즈, 동작모드를 설정하기 위한 정보를 전송한다. 전송된 정보는 어드레스 디코더(402)에서 디코딩되어 레지스터(404)내의 MOD레지스터에 저장된다. MOD레지스터에 저장된 값에 의하여 하위프로세서(200)가 디바이스(220)에 대한 라이트모드 운영 및 라이트모드 운영시 전송단위를 8비트로 할 것인지, 16비트로 할 것인지, 32비트로 할 것인지 등이 제어된다.First, when the
이와 같이 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
병/직렬변환기(406)는 제 1 제어부(407)에 의해 제어되어 병렬형태로 인가된 모드값, 어드레스, 데이터를 도 3a에 도시된 바와 같이 직렬형태로 변환하여 출력한다. 도 3a에서의 데이터 0와 데이터 1은 D버스(210)에서 제공되고 있는 데이터 전송라인을 나타낸다. 따라서 병/직렬변환기(406)는 클럭제공부(401)에서 제공된 송신클럭신호(TXCLK)와 데이터0, 데이터 1을 통해 모드값, 어드레스 및 데이터정보를 디바이스(220)로 전송한다.The parallel / serial converter 406 is controlled by the
예를 들어 바이트단위로 전송시에는 도 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
또한 워드단위로 전송시에는 도 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
제 1 제어부(407)는 상술한 바와 같이 병/직렬변환기(406)가 구동되도록 제어하는 것으로, 레지스터(404)로부터 현재 동작모드정보를 제공되면 송신클럭신호(TXCLK)에 동기되어 병/직렬변환기(406)으로 제공되는 어서트신호의 주기를 제어하게 된다.As described above, the
한편, 하위프로세서(200)가 디바이스(220)를 리드하고자 할 때 리드하고자 하는 명령 및 어드레스는 상술한 라이트시와 마찬가지로 어드레스 디코더(402), 어드레스 전송용 버퍼(403) 및 병/직렬변환기(406)를 통해 디바이스(220)로 전송된다. 전송된 정보에 의하여 디바이스(220)로부터 리드된 데이터는 직/병렬변환기(408)로 인가된다. 직/병렬변환기(408)는 디바이스(220)로부터 전송된 수신클럭신호(RXCLK)에 동기되어 데이터 0와 데이터 1 전송라인을 통해 도 3b에 도시된 바와 같은 구조로 전송되는 데이터를 수신한다. 그리고 제 2 제어부(409)에 의해 제어되어 바이트 또는 워드 또는 더블 워드단위로 수신된 데이터를 수신데이타 전용 버퍼(410)로 전송한다.On the other hand, when the
예를 들어 바이트단위로 리드를 할 때에는 어서트신호의 액티브상태 주기는 송신클럭신호의 라이징에지에서 로우로 떨어져 계속 유지되다가 다음 라이징에지부터 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
제 2 제어부(409)는 상술한 제 1 제어부(407)와 같이 송신클럭신호에 동기되어 레지스터(404)로부터 제공되는 모드정보에 따라 직/병렬변환기(408)의 어서트신호의 주기를 제어한다.The
수신데이타 전용버퍼(410)는 직/병렬변환기(408)로부터 전송된 병렬데이타를 D0~D15 데이터 버스를 통해 CPU(201)로 전송한다.The reception data dedicated
버스제어부(411)는 제 1 및 제 2 제어부(407, 409)에서 제어하는 어서트신호를 모니터링하여 에러발생여부를 레지스터(404) 내부의 상태 레지스터로 전송하여 CPU(201)가 인식할 수 있도록 하고, 소정의 디바이스(220)로부터 인터럽트(DIRQ)가 발생되면, 인터럽트 핸들러(412)로 전송한다.The
인터럽트 핸들러(412)는 도 10에 도시된 흐름도와 같이 구동된다. 즉, 제 10 단계에서 인터럽트 핸들러(412)는 인터럽트 요구신호가 버스제어부(411)로부터 수신되었는 지를 체크한다. 체크결과, 수신된 경우에 제 11 단계로 진행되어 레지스터(404)내의 인터럽트 마스크 레지스터를 참조한다. 참조결과, 해당 디바이스에 대한 인터럽트가 인에이블상태(또는 오픈상태)이면 제 12 단계를 경유하여 제 13 단계로 진행된다. 그러나 해당 디바이스에 대한 인터럽트가 디스에이블상태이면 제 19 단계로 진행되어 인터럽트 버스제어부(411)로부터 전송된 인터럽트에 대한 처리를 무시하고 작업을 종료한다.The interrupt
제 13 단계에서 인터럽트 핸들러(412)는 해당 인터럽트레벨을 갖는 인터럽트를 CPU(201)로 전송한다. 이 때 해당 인터럽트 레벨은 1~7레벨중 원하는 레벨을 미리 정할 수 있도록 되어 있다. 이로 인하여 기존 정합장치에 비하여 인터럽트 우선순위를 높일 수 있는 이점이 있다.(기존의 정합장치는 인터럽트 레벨이 3과 2레벨만을 사용할 수 있도록 설계되어 있다.)In the thirteenth step, the interrupt
CPU(201)로 인터럽트 발생 후, 인터럽트 핸들러(412)는 응답신호(ACK)가 수신되는 지를 체크한다. 체크결과, 응답신호가 수신되었으면 제 14 단계에서 제 15 단계로 진행되어 CPU(201)로부터 수신된 응답신호가 자동벡터(Auto Vectored)방식처리를 요구하는 지 체크한다. 체크결과, 자동벡터방식 처리를 요구한 경우에 인터럽트 핸들러(412)는 제 16 단계로 진행되어 레지스터(404)내의 인터럽트 벡터 레지스터에 저장되어 있는 인터럽트 소스정보에 대한 독출제어를 하고 작업을 종료한다.After the interrupt is generated by the
인터럽트 핸들러(412)에 의하여 독출된 인터럽트 소스정보는 데이터 전송용 버퍼(405)를 통해 CPU(201)로 전송되어 CPU(201)가 인터럽트 소스원을 인식할 수 있도록 한다.The interrupt source information read by the interrupt
그러나 제 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
제 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
이상에서 설명한 바와 같이 본 발명은 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 (
본 발명은 상술한 실시예로서 설명되었으나 당업자라면 본 발명의 기술사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다. 따라서 본 발명의 기술적 범위는 명세서의 상세한 설명에 기재된 내용으로 한정되는 것이 아니라 특허청구의 범위에 의하여 정하여져야 한다.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)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100465300B1 (en) * | 1999-10-28 | 2005-01-13 | 엘지전자 주식회사 | Device for interface control of Peripheral Processor |
-
1997
- 1997-08-25 KR KR1019970040552A patent/KR100225531B1/en not_active IP Right Cessation
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 |