KR19980083459A - Databus Sizing Device - Google Patents
Databus Sizing Device Download PDFInfo
- Publication number
- KR19980083459A KR19980083459A KR1019970018768A KR19970018768A KR19980083459A KR 19980083459 A KR19980083459 A KR 19980083459A KR 1019970018768 A KR1019970018768 A KR 1019970018768A KR 19970018768 A KR19970018768 A KR 19970018768A KR 19980083459 A KR19980083459 A KR 19980083459A
- Authority
- KR
- South Korea
- Prior art keywords
- control signal
- data
- output
- buffer
- buffer unit
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1673—Details of memory controller using buffers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1678—Details of memory controller using bus width
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
Abstract
본 발명은 데이터버스 사이즈 조정 장치에 관한 것으로서, 특히 소정의 디바이스를 제어하기 위해 데이터와 어드레스신호 및 제어신호를 출력하는 데이터처리부와; 상기 데이터처리부에서 출력된 소정의 어드레스신호 및 제어신호를 입력받아 디코딩하고 데이터방향 제어신호 및 소정의 디바이스를 선택하는 선택신호를 출력하는 제어신호발생부와; 상기 제어신호발생부의 제어신호에 따라 상기 데이터처리부에서 출력된 소정의 데이터 및 어드레스신호를 입력받고 버퍼링하여 출력하는 제 1 버퍼부와; 상기 제어신호발생부의 제어신호에 따라 상기 제 1 버퍼부에서 출력된 소정의 데이터를 입력받고 버퍼링 및 랫치하여 출력하는 제 2 버퍼부와; 상기 제어신호발생부의 제어신호에 따라 상기 제 1 버퍼부에서 출력된 소정의 데이터를 입력받고 버퍼링 및 랫치하여 출력하는 제 n 버퍼부; 및 상기 제어신호발생부의 선택 제어신호에 따라 상기 제 1 버퍼부에서 출력된 어드레스신호와 상기 버퍼부에서 출력된 데이터를 입력받는 디바이스부를 구비한다. 따라서, 본 발명에서는 저성능의 데이터처리부를 이용하여 고성능으로 동작하는 주변제어기와의 인터페이스를 하여 데이터버스의 사이즈와는 관계없이 시스템을 동작시킬 수 있는 효과가 있다.The present invention relates to an apparatus for adjusting a data bus size, comprising: a data processor for outputting data, an address signal, and a control signal, in particular for controlling a predetermined device; A control signal generator for receiving and decoding a predetermined address signal and a control signal output from the data processor, and outputting a data direction control signal and a selection signal for selecting a predetermined device; A first buffer unit which receives, buffers and outputs predetermined data and address signals output from the data processing unit according to the control signal of the control signal generator; A second buffer unit which receives, buffers and latches predetermined data output from the first buffer unit according to a control signal of the control signal generator; An n-th buffer unit for receiving, buffering and latching and outputting predetermined data output from the first buffer unit according to the control signal of the control signal generator; And a device unit configured to receive an address signal output from the first buffer unit and data output from the buffer unit according to a selection control signal of the control signal generator. Therefore, in the present invention, an interface with a peripheral controller operating at high performance by using a low-performance data processor has the effect of operating the system regardless of the size of the data bus.
Description
본 발명은 동적 데이터버스 사이즈 조정 시스템에 관한 것으로서, 특히 데이터처리부(마이크로프로세서를 칭함)를 이용한 응용회로 설계시 데이터처리부와 각종 디바이스간에 버스의 사이즈가 서로 다른 경우에도 서로간의 데이터의 입출력이 가능한 데이터버스 사이즈 조정 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dynamic data bus sizing system. In particular, when designing an application circuit using a data processor (called a microprocessor), data can be inputted and outputted even when the bus sizes are different between the data processor and various devices. It relates to a bus size adjusting device.
일반적으로, 데이터처리부와 각각의 디바이스와의 인터페이스시 서로간의 정확한 버스 사이즈가 필요하므로 데이터처리부와 디바이스를 선택할시 우선적으로 데이터버스의 사이즈를 먼저 고려해야 하며, 최근 전자산업의 급속한 발전으로 인하여 저가격의 고성능 데이터처리부가 등장하고 있으며 동시에 고성능의 특정 목적을 위한 각종 주변 디바이스들이 출시되고 있다.In general, when the data processing unit and each device is interfaced with each other, accurate bus sizes are required, so when selecting a data processing unit and a device, the data bus size should be considered first. Data processing units are emerging, and various peripheral devices for high performance and specific purposes are being released.
상기 특정 목적의 디바이스들은, 고성능의 기능실현을 위해서 점차적으로 데이터의 길이와 동작주파수가 증가하고 있는 상태이나 이러한 디바이스의 기능향상 및 데이터처리속도의 증가로 데이터처리부의 기능은 단지 이러한 디바이스의 제어에 관계될 뿐 데이터의 처리를 위한 기능은 반대로 줄어들게 됨으로 반드시 고성능의 주변 디바이스를 사용한다고 고성능의 데이터처리부를 사용하는 것은 비효율적인 선택이 될 것이다.In order to realize high-performance functions, the devices of the specific purpose are gradually increasing the length and operating frequency of data, but the function of the data processing unit is not limited to the control of such devices due to the improvement of the functions of the devices and the increase of the data processing speed. As a matter of fact, the function for processing data is reduced in reverse, so using a high-performance peripheral device will be an inefficient choice.
도 1 은 종래기술에 의한 데이터처리부와 주변 디바이스간의 인터페이스회로를 나타낸 블록도로서, 데이터처리부(1)와, 제어신호부(3)와, 버퍼부(5), 및 디바이스(7, 9)를 포함한다.FIG. 1 is a block diagram showing an interface circuit between a data processing unit and a peripheral device according to the prior art. The data processing unit 1, the control signal unit 3, the buffer unit 5, and the devices 7 and 9 are shown in FIG. Include.
한편, 상기 데이터처리부(1)는 각 디바이스(7,9)를 제어하기 위해서 어드레스신호와 데이터 및 제어신호를 출력하도록 구성되어 있고, 또한 제어신호부(3)는 상기 데이터처리부(1)에서 출력된 소정의 어드레스신호 및 제어신호를 입력받고 제어신호 및 소정의 디바이스(7,9)를 선택하는 선택신호를 출력하도록 구성되어 있고, 또한 버퍼부(5)는 상기 제어신호부(3)의 제어신호에 따라 상기 데이터처리부(1)에서 출력된 소정의 어드레스신호 및 데이터를 입력받고 버퍼링하도록 구성되어 있고, 또한 디바이스(7,9)는 상기 제어신호부(3)에서 출력된 제어신호에 따라 상기 버퍼부(5)에서 출력된 어드레스신호와 데이터를 입력받는 복수개의 메모리 또는 디바이스제어장치로 구성되어 있다.On the other hand, the data processing section 1 is configured to output address signals, data and control signals for controlling the devices 7 and 9, and the control signal section 3 is output from the data processing section 1. A predetermined address signal and a control signal are input, and a control signal and a selection signal for selecting the predetermined devices 7 and 9 are outputted, and the buffer section 5 controls the control signal section 3. It is configured to receive and buffer a predetermined address signal and data output from the data processing section 1 in accordance with the signal, and the devices 7 and 9 are configured according to the control signal output from the control signal section 3. It consists of an address signal output from the buffer section 5 and a plurality of memories or device control apparatuses for receiving data.
상기와 같이 구성된 종래기술은 데이터처리부와 주변기기 또는 메모리 종류와의 인터페이스시에 데이터처리부(1)와 디바이스(7,9)간의 데이터의 교환을 위해서는 반드시 똑같은 사이즈의 데이터버스가 필요하다.The prior art structured as described above requires a data bus of the same size to exchange data between the data processing unit 1 and the devices 7 and 9 at the interface between the data processing unit and the peripheral device or memory type.
동도면과 같이 단순히 신호레벨의 전환을 위해서 데이터처리부(1)와 디바이스(7,9) 사이에 버퍼부(5)를 둠으로써 직접 인터페이스를 할 수 있는 구조로 되어 있다. 만약, 데이터처리부(1)의 데이터 사이즈가 16비트라면 모든 메모리 및 주변 디바이스(3,5,7,9)의 데이터처리부(1)와의 인터페이스에 필요한 데이터 입출력수는 16비트 또는 8비트가 되어야 한다. 이러한 구성으로는 만약 32비트의 디바이스(7,9)가 데이터처리부(1)와 접속하는 것은 불가능하다.As shown in the drawing, the buffer unit 5 is provided between the data processing unit 1 and the devices 7, 9 for the purpose of simply switching the signal level. If the data size of the data processing unit 1 is 16 bits, the number of data input / output required for the interface with the data processing unit 1 of all memories and peripheral devices 3, 5, 7, and 9 should be 16 bits or 8 bits. . With this configuration, it is impossible for the 32-bit devices 7 and 9 to connect with the data processing unit 1.
상술한 바와 같이 특정 목적을 위한 주변 디바이스의 데이터버스의 사이즈가 크다고 해서 반드시 이를 제어하는 데이터처리부의 데이터 사이즈가 그 크기에 맞게 할 필요는 없으나, 종래에는 동도면에 나타낸 것과 같이 데이터처리부와 버퍼간의 데이터버스의 길이는 16비트라고 하면 이와 연결된 버퍼와 디바이스들간의 연결 버스 사이즈도 마찬가지로 16비트 또는 8비트이어야 접속할 수가 있었다.As described above, if the data bus of the peripheral device for a specific purpose is large, the data size of the data processing unit for controlling the data does not necessarily have to match the size. If the data bus is 16 bits in length, the connection bus size between the buffer and the devices connected to it must be 16 bits or 8 bits in order to connect.
본 발명의 목적은 상기와 같은 종래기술의 문제점을 해결하기 위하여, 서로 다른 두 디바이스 간 데이터버스의 사이즈에 관계없이 인터페이스 할 수 있는 제어로직 및 버퍼를 구성함으로써 최적의 시스템 성능을 발휘할 수 있는 데이터버스 사이즈 조정 장치를 제공하는 데 있다.An object of the present invention is to solve the above problems of the prior art, by configuring a control logic and a buffer that can interface regardless of the size of the data bus between two different devices data bus that can exhibit the optimal system performance The present invention provides a resizing device.
상기 목적을 달성하기 위하여 본 발명의 장치는, 소정의 디바이스를 제어하기 위해 데이터와 어드레스신호 및 제어신호를 출력하는 데이터처리부와; 상기 데이터처리부에서 출력된 소정의 어드레스신호 및 제어신호를 입력받아 디코딩하고 데이터방향 제어신호 및 소정의 디바이스를 선택하는 선택신호를 출력하는 제어신호발생부와; 상기 제어신호발생부에서 출력된 제어신호에 따라 상기 데이터처리부에서 출력된 소정의 데이터 및 어드레스신호를 입력받고 버퍼링하여 출력하는 제 1 버퍼부와; 상기 제어신호발생부에서 출력된 제어신호에 따라 상기 제 1 버퍼부에서 출력된 소정의 데이터를 입력받고 버퍼링 및 랫치하여 출력하는 제 2 버퍼부와; 상기 제어신호발생부에서 출력된 제어신호에 따라 상기 제 1 버퍼부에서 출력된 소정의 데이터를 입력받고 버퍼링 및 랫치하여 출력하는 제 n 버퍼부와; 상기 제어신호발생부에서 출력된 선택 제어신호에 따라 상기 제 1 버퍼부에서 출력된 어드레스신호와 제 1, 또는 제 2 버퍼부에서 출력된 데이터를 입력받는 제 1 디바이스; 및 상기 제어신호발생부에서 출력된 선택 제어신호에 따라 상기 제 1 버퍼부에서 출력된 어드레스신호와 제 n 버퍼부에서 출력된 데이터를 입력받는 제 n 디바이스를 구비한다.In order to achieve the above object, the apparatus of the present invention comprises: a data processor for outputting data, an address signal and a control signal to control a predetermined device; A control signal generator for receiving and decoding a predetermined address signal and a control signal output from the data processor, and outputting a data direction control signal and a selection signal for selecting a predetermined device; A first buffer unit for receiving, buffering, and outputting predetermined data and address signals output from the data processing unit according to the control signal output from the control signal generator; A second buffer unit which receives, buffers and latches predetermined data output from the first buffer unit according to the control signal output from the control signal generator; An n-th buffer unit for receiving, buffering and latching predetermined data output from the first buffer unit according to the control signal output from the control signal generator; A first device receiving an address signal output from the first buffer unit and data output from the first or second buffer unit according to the selection control signal output from the control signal generator; And an n-th device configured to receive an address signal output from the first buffer unit and data output from the n-th buffer unit according to the selection control signal output from the control signal generator.
도 1 은 종래기술에 의한 데이터처리부와 주변 디바이스간의 인터페이스회로를 나타낸 블록도이다.1 is a block diagram illustrating an interface circuit between a data processor and a peripheral device according to the related art.
도 2 는 본 발명의 일실시예에 의한 데이터처리부와 주변 디바이스 간의 인터페이스회로를 나타낸 블록도이다.2 is a block diagram illustrating an interface circuit between a data processor and a peripheral device according to an exemplary embodiment of the present invention.
도 3 은 본 발명에 의한 상기 도 2 의 제 1 버퍼의 구조를 나타낸 상세 블록도이다.3 is a detailed block diagram illustrating a structure of the first buffer of FIG. 2 according to the present invention.
도 4 는 본 발명에 의한 상기 도 2 의 제 2 버퍼의 구조를 나타낸 상세 블록도이다.4 is a detailed block diagram illustrating a structure of the second buffer of FIG. 2 according to the present invention.
도 5 는 상기 도 2 내지 도 4 의 각 회로블록의 리드사이클을 나타낸 타이밍도이다.5 is a timing diagram illustrating a read cycle of each circuit block of FIGS. 2 to 4.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
10 : 데이터처리부(microprocessor).20 : 제어신호발생부.10: Microprocessor. 20: Control signal generator.
30 : 제 1 버퍼부.31 : 제 1a 버퍼.30: first buffer section 31: first aa buffer.
35 : 제 1b 버퍼.40 : 제 2 버퍼부.35: 1st buffer. 40: 2nd buffer part.
41 : 제 2a 랫치.43 : 제 2b 버퍼.41: Latch 2a. 43: Buffer 2b.
45 : 제 2c 랫치.47 : 제 2d 버퍼.45: latch 2c. 47: buffer 2d.
50 : 제 n 버퍼부.60 : 제 1 디바이스.50: n-th buffer unit. 60: first device.
70 : 제 n 디바이스.70: nth device.
이하, 첨부한 도면을 참조하여 본 발명을 보다 상세하게 살펴보고자 한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings.
도 2 는 본 발명의 일실시예에 의한 데이터처리부와 주변 디바이스 간의 인터페이스회로를 나타낸 블록도로서, 데이터처리부(10)와, 제어신호발생부(20)와, 제 1 버퍼부(30)와, 제 2 버퍼부(40)와, 제 n 버퍼부(50)와, 제 1 디바이스(60), 및 제 n 디바이스(70)를 포함한다.2 is a block diagram illustrating an interface circuit between a data processor and a peripheral device according to an exemplary embodiment of the present invention, wherein the data processor 10, the control signal generator 20, the first buffer unit 30, A second buffer portion 40, an nth buffer portion 50, a first device 60, and an nth device 70 are included.
한편, 상기 데이터처리부(10)는 소정의 디바이스를 제어하기 위해서 데이터(a)와 어드레스신호(b) 및 제어신호(c)를 출력하도록 구성되어 있고, 또한 제어신호발생부(20)는 상기 데이터처리부(10)에서 출력된 소정의 어드레스신호(b) 및 제어신호(c)를 입력받아 디코딩하고 데이터방향 제어신호(d,h,k) 및 소정의 디바이스를 선택하는 선택신호(i,l)를 출력하도록 구성되어 있다.On the other hand, the data processor 10 is configured to output data (a), address signal (b) and control signal (c) in order to control a predetermined device, and the control signal generator 20 is the data Receives and decodes a predetermined address signal (b) and a control signal (c) output from the processor 10, and selects a data direction control signal (d, h, k) and a selection signal (i, l) for selecting a predetermined device. Is configured to output
또한, 제 1 버퍼부(30)는 상기 제어신호발생부(20)에서 출력된 제어신호(d)에 따라 상기 데이터처리부(10)에서 출력된 소정의 데이터(a) 및 어드레스신호(b)를 입력받고 버퍼링하여 출력하도록 구성되어 있고, 또한 제 2 버퍼부(40)는 상기 제어신호발생부(20)에서 출력된 제어신호(h)에 따라 상기 제 1 버퍼부(10)에서 출력된 소정의 데이터(h)를 입력받고 버퍼링 및 랫치하여 출력하도록 구성되어 있고, 또한 제 n 버퍼부(50)는 상기 제어신호발생부(20)에서 출력된 제어신호(k)에 따라 상기 제 1 버퍼부(30)에서 출력된 소정의 데이터(f)를 입력받고 버퍼링 및 랫치하여 출력하도록 구성되어 있다.In addition, the first buffer unit 30 may output the predetermined data a and the address signal b output from the data processing unit 10 according to the control signal d output from the control signal generator 20. The second buffer unit 40 is configured to be input, buffered, and output, and the second buffer unit 40 is configured to output from the first buffer unit 10 according to the control signal h output from the control signal generator 20. The data buffer h is configured to receive, buffer, and latch the data h, and the n-th buffer unit 50 is configured to output the first buffer unit according to the control signal k output from the control signal generator 20. It is configured to receive, buffer and latch predetermined data f outputted at 30).
또한, 상기 제 1 디바이스(60)는 상기 제어신호발생부(20)에서 출력된 선택 제어신호(i)에 따라 상기 제 1 버퍼부(30)에서 출력된 어드레스신호(e)와 제 1, 또는 제 2 버퍼부(30, 40)에서 출력된 데이터(f, g)를 입력받는 n비트 메모리 또는 디바이스제어장치로 구성되어 있고, 또한 상기 제 n 디바이스(70)는 상기 제어신호발생부(20)에서 출력된 선택 제어신호(l)에 따라 상기 제 1 버퍼부(30)에서 출력된 어드레스신호(e)와 제 n 버퍼부(50)에서 출력된 데이터(j)를 입력받는 n비트 메모리 또는 디바이스제어장치로 구성되어 있다.In addition, the first device 60 may include the address signal e and the first or the output signal from the first buffer unit 30 according to the selection control signal i output from the control signal generator 20. N-bit memory or a device control device for receiving data (f, g) output from the second buffer unit (30, 40), and the n-th device 70 is the control signal generator 20 N-bit memory or device receiving the address signal e output from the first buffer unit 30 and the data j output from the n-th buffer unit 50 according to the selection control signal l output from the It consists of a control device.
한편, 본 발명의 실시예에서 상기 데이터처리부(10)는 16비트 사이즈이고, 제 1 디바이스(60)는 32비트 사이즈이고, 제 n 디바이스(70)는 8비트 사이즈의 장치이다.Meanwhile, in the exemplary embodiment of the present invention, the data processor 10 is 16 bits in size, the first device 60 is 32 bits in size, and the nth device 70 is an 8 bit device.
도 3 은 본 발명에 의한 상기 도 2 의 제 1 버퍼의 구조를 나타낸 상세 블록도로서, 제 1a 버퍼(31), 및 제 1b 버퍼(35)를 포함하며, 상기 도 2 를 참조하여 본 발명을 살펴보면 다음과 같다.FIG. 3 is a detailed block diagram illustrating the structure of the first buffer of FIG. 2 according to the present invention, and includes a first buffer 31 and a first buffer 35. The present invention will be described with reference to FIG. Looking at it as follows.
한편, 상기 제 1a 버퍼(31)는 제어신호발생부(20)에서 출력되는 데이터방향 및 제어신호(d-1)에 따라 데이터처리부(10)와 제 1 디바이스(60)로 데이터를 양방향 전송하도록 구성되어 있고, 또한 상기 제 1b 버퍼(35)는 제어신호발생부(20)의 데이터방향 및 제어신호(d-2)에 따라 데이터처리부(10)와 제 2 버퍼부(40)로 데이터를 양방향 전송하도록 구성되어 있다.Meanwhile, the first a buffer 31 may bidirectionally transmit data to the data processor 10 and the first device 60 according to the data direction and the control signal d-1 output from the control signal generator 20. The first b buffer 35 bidirectionally transfers data to the data processing unit 10 and the second buffer unit 40 according to the data direction of the control signal generator 20 and the control signal d-2. It is configured to transmit.
상기 제 1a, 1b 버퍼(31, 35)와 데이터처리부(10)와의 데이터버스는 16비트 사이즈이고, 제 1a 버퍼(31)와 제 1 디바이스(60)와의 데이터버스 사이즈는 32비트이고, 제 1b 버퍼(35)와 제 1 디바이스(60)와의 데이터버스 사이즈는 16비트이다.The data buses of the first and second buffers 31 and 35 and the data processor 10 have a 16-bit size, and the data bus sizes of the first a buffer 31 and the first device 60 are 32 bits and a first bus. The data bus size of the buffer 35 and the first device 60 is 16 bits.
상기와 같이 구성된 본 발명의 제 1 버퍼부(30)는 데이터처리부(10)로 부터의 데이터 16비트가 제 1a 버퍼(31)와 제 1b 버퍼(35)에 각각 입출력된다. 기본적으로 16비트 데이터처리부(10)와 32비트 디바이스(60)와의 인터페이스를 하기 위해서 데이터처리부(10)는 2번의 사이클을 필요로 한다. 첫 번째 사이클은 데이터의 data0∼data15 부분인 바이트0와 바이트1이 먼저 사이클을 수행한 후, 바이트2와 바이트3이 수행된다.In the first buffer unit 30 according to the present invention configured as described above, 16 bits of data from the data processing unit 10 are inputted to and output from the first buffer 31 and the first buffer 35, respectively. Basically, in order to interface with the 16-bit data processor 10 and the 32-bit device 60, the data processor 10 needs two cycles. In the first cycle, byte0 and byte1, which are the data0 to data15 portions of data, first cycle, and then byte2 and byte3 are performed.
도 4 는 본 발명에 의한 상기 도 2 의 제 2 버퍼의 구조를 나타낸 상세 블록도로서, 제 2a 랫치(41)와, 제 2b 버퍼(43)와, 제 2c 랫치(45), 및 제 2d 버퍼(47)를 포함하며, 상기 도 2, 도 3 을 참조하여 본 발명을 살펴보면 다음과 같다.4 is a detailed block diagram showing the structure of the second buffer of FIG. 2 according to the present invention, in which the 2a latch 41, the 2b buffer 43, the 2c latch 45, and the 2d buffer are shown. 47, the present invention will be described with reference to FIGS. 2 and 3 as follows.
한편, 제 2a 랫치(41)는 제어신호발생부(20)에서 출력된 딜레이된 제어신호(h-1)에 따라 제 1b 버퍼(35)에서 출력된 데이터(f-2)를 입력받도록 구성되어 있고, 또한 제 2b 버퍼(43)는 상기 제어신호발생부(20)에서 출력된 제어신호(h-2)에 따라 상기 제 2a 랫치(41)에서 출력된 데이터(f'-2)를 입력받도록 구성되어 있고, 또한 제 2c 랫치(45)는 상기 제어신호발생부(20)에서 출력된 딜레이된 제어신호(h-4)에 따라 상기 제 2b 버퍼(43)에서 출력된 데이터(g)를 입력받도록 구성되어 있고, 또한 제 2d 버퍼(47)는 상기 제어신호발생부(20)에서 출력된 제어신호(h-3)에 따라 상기 제 2c 랫치(45)에서 출력된 데이터(f''-2)를 입력받아 버퍼링하고 상기 제 2a 랫치(41)의 입력버스(f-2)로 출력하도록 구성되어 있다.Meanwhile, the second a latch 41 is configured to receive the data f-2 output from the first b buffer 35 according to the delayed control signal h-1 output from the control signal generator 20. Also, the second b buffer 43 receives the data f′-2 output from the second a latch 41 according to the control signal h-2 output from the control signal generator 20. And the second c latch 45 inputs the data g output from the second b buffer 43 according to the delayed control signal h-4 output from the control signal generator 20. The second d buffer 47 is configured to receive the data f ″ -2 output from the second c latch 45 according to the control signal h-3 output from the control signal generator 20. ) Is buffered and output to the input bus f-2 of the second a latch 41.
한편, 상기 제 2a 랫치(41)와 제 2b 버퍼(43) 사이의 데이터버스 사이즈는 16비트이고, 상기 제 2b 버퍼(43)의 출력 데이터버스 사이즈는 32비트이고, 상기 제 2c 랫치(45)와 제 2d 버퍼(47) 사이의 데이터버스 사이즈는 16비트이며, 상기 제 2d 버퍼(47)의 출력 데이터버스 사이즈는 16비트이다.On the other hand, the data bus size between the second a latch 41 and the second b buffer 43 is 16 bits, the output data bus size of the second b buffer 43 is 32 bits, and the second c latch 45 And the data bus size between the 2d buffer 47 is 16 bits and the output data bus size of the 2d buffer 47 is 16 bits.
도 5 는 상기 도 2 내지 도 4 의 각 회로블록의 리드사이클을 나타낸 타이밍도로서, 상기 도 2 내지 도 4 및 동도면을 참조하여 본 발명의 동작을 보다 상세하게 기술하면 다음과 같다.FIG. 5 is a timing diagram illustrating a lead cycle of each circuit block of FIGS. 2 to 4. The operation of the present invention will be described in detail with reference to FIGS. 2 to 4 and the drawings.
먼저, 데이터를 읽기 위해서 데이터처리부(10)는 어드레스버스신호선에 적절한 어드레스신호를 출력하여 제어신호발생부(20)에서 디코딩하여 제 1 디바이스(60)의 칩 선택신호(sel1)가 액티브 된다. 또한 리드신호선(rd)이 액티브되고 데이터인에이블신호(den)와 데이터방향신호(dtr)가 액티브 상태로 된다. 이 사이클은 리드사이클이므로 라이트신호(wr)와 관련된 모든 신호선(d_2(L), d_2(E), h_1(E), h_2(D), h_2(E))들은 신호레벨이 하이로 유지된다.First, in order to read data, the data processing unit 10 outputs an appropriate address signal to the address bus signal line, decodes it in the control signal generator 20, and activates the chip select signal sel1 of the first device 60. Further, the read signal line rd is activated, and the data enable signal den and the data direction signal dtr are made active. Since this cycle is a read cycle, all signal lines d_2 (L), d_2 (E), h_1 (E), h_2 (D), and h_2 (E) associated with the write signal wr remain high.
데이터처리부(10)의 사이클 동작은 16비트이므로 2의 배수의 어드레스를 출력(예; 마지막 어드레스번지가 항상 0,2,4,6,8,a,c,e)하게 된다. 32비트의 동작을 위해서 데이터처리부(10)는 두 번의 사이클 동작이 필요하므로 첫 번째 사이클의 마지막 디지트 어드레스의 값은 항상 0, 4, 8, c가 되며, 두 번째 사이클의 마지막 디지트 어드레스 값은 항상 2, 6, a, e가 되므로 이를 구별할 수 있는 어드레스신호선은 a1의 값에 의해 결정된다. 즉, a1이 0이면 사이클은 첫 번째 사이클이 되고 a1이 1이면 두 번째 사이클이 된다.Since the cycle operation of the data processing unit 10 is 16 bits, an address multiple of 2 is output (for example, the last address is always 0, 2, 4, 6, 8, a, c, e). For 32-bit operation, the data processor 10 needs two cycles of operation, so the last digit address of the first cycle is always 0, 4, 8, c, and the last digit address of the second cycle is always 2, 6, a, and e, so that an address signal line distinguishable from each other is determined by the value of a1. That is, if a1 is 0, the cycle is the first cycle, and if a1 is 1, the cycle is the second cycle.
상기한 조건아래 동도면의 타이밍도를 참조하여 각 버퍼 및 랫치소자들의 동작을 살펴보자.The operation of each buffer and latch element will be described with reference to the timing diagram of the same drawing under the above condition.
제 1a 버퍼(31)는 데이터처리부(10)가 두 번째 사이클을 수행할시 그리고 데이터방향신호(dtr)와 데이터인에이블신호(den)가 특정한 값을 가질 때 인에이블되며 리드 또는 라이트시 모두 사용되는 양방향 데이터 버퍼로서, 32비트 데이터버스 중에 data0∼data15와 데이터처리부의 데이터버스와 연결시켜 준다.The first buffer 31 is enabled when the data processor 10 performs the second cycle and when the data direction signal dtr and the data enable signal den have a specific value. It is a bidirectional data buffer, which is connected between data 0 to data 15 of the 32-bit data bus and the data bus of the data processing unit.
또한, 제 1b 버퍼(35)는 상기 제 1a 버퍼(31)와 동일하고 32비트 데이터버스 중에 data16∼data31과 데이터처리부(10)의 데이터버스와 연결시켜 준다.The first buffer 35 is the same as the first buffer 31 and connects data 16 to data 31 and the data bus of the data processor 10 in a 32-bit data bus.
제 2a 랫치(41)는 첫 번째 라이트 사이클시 data0∼data15의 값을 보존하기 위해 데이터처리부(10)측의 제 1b 버퍼(35)의 출력 데이터버스의 값을 임시 저장하는 역할을 함으로써, 첫 번째와 두 번째 사이클 중에 임의의 다른 사이클(예; 인터럽트등)이 들어왔을 때 그 값을 보존함으로써 다음의 사이클 수행때에도 데이터의 값은 변하지 않고 유지시켜 준다. 랫치 인에이블 신호는 에지랫치신호이기 때문에 제 2a 랫치(41)의 출력값(f'-2)은 유지된다.The second 41a latch 41 serves to temporarily store the value of the output data bus of the first buffer Buffer 35 on the data processing unit 10 in order to preserve the values of data 0 to data 15 during the first write cycle. Preserving the value of any other cycle (eg interrupt) during and during the second cycle keeps the data value unchanged during the next cycle. Since the latch enable signal is an edge latch signal, the output value f'-2 of the 2a latch 41 is maintained.
제 2b 버퍼(43)는 버스 f'-2와 g를 분리시켜 주는 버퍼소자이고, 제 2d 버퍼(47)는 버스 f''-2와 f-2를 분리시켜 주는 버퍼소자이다.The second 2nd buffer 43 is a buffer element that separates the buses f'-2 and g, and the 2db buffer 47 is a buffer element that separates the buses f ''-2 and f-2.
제 2c 랫치(45)는 리드사이클시 data0∼data15의 값을 보존하기 위해 제 1 디바이스(60)의 출력 데이터버스(g)의 값을 임시 저장하는 역할을 함으로써 첫 번째와 두 번째 사이클 중에 임의의 다른 사이클(예; 인터럽트등)이 들어왔을 때 그 값을 보존함으로써 다음의 사이클 수행때에도 데이터의 값은 변하지 않고 유지시켜 준다. 랫치 인에이블 신호는 에지랫치신호이기 때문에 g의 값이 유지된다.The second c latch 45 serves to temporarily store the value of the output data bus g of the first device 60 in order to preserve the values of data 0 to data 15 during the read cycle. Preserving the value of another cycle (eg interrupt) keeps the value of the data unchanged during the next cycle. Since the latch enable signal is an edge latch signal, the value of g is maintained.
이를 다시 종합하여 정리하면 다음과 같다.To sum it up again, it is as follows.
먼저, 리드사이클시, 제 1b 버퍼(35)가 인에이블되고 데이터의 방향은 f-2에서 a 방향으로 되고(S1), 동시에 제 2c 랫치(45)가 g를 랫치(S2)한다. 상기 S2에서 랫치된 값(f''-2)은 제 2d 버퍼(47)가 인에이블되어 제 1b 버퍼(35)로 입력(S3)되며, 상기 S1에 의해 최종 데이터처리부(10)측의 버스 a에 데이터값(data0∼data15)이 전달(S4)된다. 제 1a 버퍼(31)가 인에이블되고 데이터의 방향은 버스 g에서 a로 된다(S5). 상기 S5에 의해 최종 데이터처리부(10)측의 버스 a에 데이터값(data16∼data31)이 전달된다(S6).First, during the read cycle, the first b buffer 35 is enabled and the direction of data is in the a direction at f-2 (S1), and at the same time, the second c latch 45 latches g (S2). The value f ″ -2 latched at S2 is input to the first buffer 35 with the 2d buffer 47 enabled (S3), and the bus on the side of the final data processor 10 is controlled by S1. The data values data0 to data15 are transferred to a (S4). The first 1a buffer 31 is enabled and the direction of data becomes a on the bus g (S5). By S5, the data values data16 to data31 are transferred to the bus a on the side of the final data processing unit 10 (S6).
둘째로, 라이트사이클시, 제 1b 버퍼(35)가 인에이블되고 데이터의 방향은 버스 a에서 f-2 방향으로 되고(S11), 동시에 제 2a 랫치(41)가 버스 f-2의 데이터값을 랫치(S12)한다. 상기 S12에서 랫치된 값(f'-2)은 제 2b 버퍼(43)가 인에이블되어 제 1b 버퍼(35)로 입력(S13)되며, 상기 S11에 의해 최종 데이터처리부(10)측의 버스 a에 데이터값(data0∼data15)이 전달(S14)된다. 제 1a 버퍼(31)가 인에이블되고 데이터의 방향은 버스 a에서 g로 된다(S15). 상기 S15에 의해 최종 데이터처리부(10)측의 버스 a에 데이터값이 디바이스(60,70)의 데이터버스(data16∼data31)에 전달된다(S16).Secondly, during the light cycle, the first b buffer 35 is enabled and the direction of data is in the f-2 direction on the bus a (S11), and at the same time, the second a latch 41 reads the data value of the bus f-2. It latches (S12). The value f'-2 latched in step S12 is input to the first buffer Buffer 35 by enabling the second buffer Buffer 43 (S13), and the bus a on the side of the final data processor 10 by S11. The data values data0 to data15 are transferred (S14). The first 1a buffer 31 is enabled and the direction of data is from bus a to g (S15). In step S15, the data value is transferred to the data bus data16 to data31 of the devices 60 and 70 on the bus a on the side of the final data processing unit 10 (S16).
마지막으로, 리드사이클시 다른 사이클이 들어온 경우는, 상기 리드사이클시의 S1∼S4와 동일한 과정을 수행하며(S21), 상기 S21과정을 수행하고 다른 사이클이 들어오면 사이클을 수행(S22)하고, 상기 S22 경우때 제 2d 버퍼(47)는 디스에이블이 되지만 f''-2의 값은 계속 랫치된 상태로 유지하게 된다(S23). 상기 S22의 사이클이 끝난 후, 리드사이클의 S5, S6 과정이 수행된다.Finally, when another cycle is entered during the lead cycle, the same process as S1 to S4 during the lead cycle is performed (S21), the process of S21 is performed, and another cycle is entered (S22), In the case of S22, the 2d buffer 47 is disabled but the value of f " -2 is continuously latched (S23). After the cycle of S22 is finished, processes S5 and S6 of the lead cycle are performed.
따라서, 상술한 바와 같이 본 발명에서는 저성능의 데이터처리부를 이용하여 고성능으로 동작하는 주변제어기와의 인터페이스를 하여 데이터버스의 사이즈와는 관계없이 시스템을 동작시킬 수 있는 효과가 있다.Therefore, as described above, in the present invention, an interface with a peripheral controller operating at high performance using a low-performance data processor has an effect of operating the system regardless of the size of the data bus.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1019970018768A KR19980083459A (en) | 1997-05-15 | 1997-05-15 | Databus Sizing Device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1019970018768A KR19980083459A (en) | 1997-05-15 | 1997-05-15 | Databus Sizing Device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| KR19980083459A true KR19980083459A (en) | 1998-12-05 |
Family
ID=65991022
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1019970018768A Ceased KR19980083459A (en) | 1997-05-15 | 1997-05-15 | Databus Sizing Device |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR19980083459A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100666169B1 (en) * | 2004-12-17 | 2007-01-09 | 삼성전자주식회사 | Flash memory data storage |
| KR100922812B1 (en) * | 2007-07-31 | 2009-10-21 | 엠텍비젼 주식회사 | Peripheral Control Method and System |
-
1997
- 1997-05-15 KR KR1019970018768A patent/KR19980083459A/en not_active Ceased
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100666169B1 (en) * | 2004-12-17 | 2007-01-09 | 삼성전자주식회사 | Flash memory data storage |
| KR100922812B1 (en) * | 2007-07-31 | 2009-10-21 | 엠텍비젼 주식회사 | Peripheral Control Method and System |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5408627A (en) | Configurable multiport memory interface | |
| US5463756A (en) | Memory control unit and associated method for changing the number of wait states using both fixed and variable delay times based upon memory characteristics | |
| JPH03105789A (en) | Semiconductor memory device | |
| US5321400A (en) | Serial data interface circuit dealing with a plurality of receiving modes | |
| US7043592B2 (en) | External bus controller | |
| US5043935A (en) | Data transfer system for rearranging data units using intermediate temporary registers | |
| KR19980083459A (en) | Databus Sizing Device | |
| US5818789A (en) | Device and method for memory access | |
| JPS60142768A (en) | Data transfer device | |
| KR0120598B1 (en) | Memory board designing method and device | |
| KR200142909Y1 (en) | Input/output interface apparatus | |
| KR970004889B1 (en) | Matching circuit for peripheral processor hardware control in electronic switching system | |
| JPH05334234A (en) | High speed dma transferring device | |
| KR20050066502A (en) | The semiconductor device including read data line with decreased line loads | |
| KR0116915Y1 (en) | Dynamic memory | |
| KR100294639B1 (en) | A cache apparatus for multi-access | |
| KR970007156Y1 (en) | Access time control circuit of data i/o apparatus | |
| KR200256141Y1 (en) | Bus Interface Circuit of Microcontroller | |
| KR20000038686A (en) | Direct memory access controller | |
| JPH05197666A (en) | Cpu interface circuit | |
| JPH07200456A (en) | External device interface of CPU | |
| JPH03260751A (en) | 32-bit input/output device control method for 16-bit bus processor | |
| JPH05225115A (en) | Microcomputer controller | |
| JPH11338818A (en) | Method and device for transferring data | |
| KR20000074477A (en) | Bus converter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 19970515 |
|
| PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 19970515 Comment text: Request for Examination of Application |
|
| PG1501 | Laying open of application | ||
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 19990529 Patent event code: PE09021S01D |
|
| E601 | Decision to refuse application | ||
| PE0601 | Decision on rejection of patent |
Patent event date: 19991122 Comment text: Decision to Refuse Application Patent event code: PE06012S01D Patent event date: 19990529 Comment text: Notification of reason for refusal Patent event code: PE06011S01I |