KR920003268B1 - Address generating system - Google Patents
Address generating system Download PDFInfo
- Publication number
- KR920003268B1 KR920003268B1 KR1019900004441A KR900004441A KR920003268B1 KR 920003268 B1 KR920003268 B1 KR 920003268B1 KR 1019900004441 A KR1019900004441 A KR 1019900004441A KR 900004441 A KR900004441 A KR 900004441A KR 920003268 B1 KR920003268 B1 KR 920003268B1
- Authority
- KR
- South Korea
- Prior art keywords
- address
- counter
- data
- latch
- output
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0207—Addressing or allocation; Relocation with multidimensional access, e.g. row/column, matrix
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
Abstract
Description
제1도는 본 발명의 어드레스 발생 시스템에 대한 블록도.1 is a block diagram of an address generation system of the present invention.
제2a도 내지 i도는 제1도 각부의 파형도.2a to i are a waveform diagram of each part of FIG.
제3도는 스캐닝 픽셀 데이터의 예시표.3 is an exemplary table of scanning pixel data.
제4도는 픽셀데이터와 메모리어드레스의 맵핑표.4 is a mapping table of pixel data and memory addresses.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1, 4 : 래치 2, 9 : 업카운터1, 4: Latch 2, 9: Up counter
3, 8 : 버퍼 5 : 다운카운터3, 8: Buffer 5: Down Counter
6 : 어드레스 발생 카운터 7 : 가산기6: address generation counter 7: adder
10 : 비교기 11 : 플립플롭10: comparator 11: flip-flop
100 : 어드레스 발생부 200 : 어드레스 궤환부100: address generator 200: address feedback unit
300 : 클럭발생부 OR1, OR2 : 오아게이트300: clock generator OR1, OR2: oragate
AD1, AD2 : 앤드게이트 I1, I2 : 인버터.AD1, AD2: Andgate I1, I2: Inverter.
본 발명은 메모리 억세스시 어드레스 발생에 관한 것으로, 특히 순차적인 어드레스에 데이터가 저장되어 있는 상태에서 특정한 오프셋만큼을 더한 어드레스의 데이터를 억세스하는데 적당하도록 한 어드레스 발생 시스템에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to address generation during memory access, and more particularly, to an address generation system suitable for accessing data of an address plus a specific offset in a state where data is stored in a sequential address.
일반적인 메모리의 제어 시스템에 있어서는 데이터가 저장되어 있는 순차적인 어드레스상에서 특정한 오프셋만큼을 더한 어드레스의 데이터를 억세스하기 위해 소프트웨어가 사용되므로 처리시간이 많이 소요되는 문제점이 있었다.In a general memory control system, processing time is required because software is used to access data of an address plus a specific offset on a sequential address in which data is stored.
본 발명은 이와같은 문제점을 해결하기 위하여 하드웨어를 이용해서 특정한 오프셋만큼을 더한 어드레스의 데이터를 억세스할 수 있게 창안한 것으로 이를 첨부한 도면에 의하여 상세히 설명한다.In order to solve this problem, the present invention has been made so that data of an address plus a specific offset can be accessed using hardware, which will be described in detail with reference to the accompanying drawings.
제1도는 본 발명의 어드레스 발생 시스템에 대한 블록도로서 이에 도시한 바와 같이, 억세스할 횡으로의 데이터를 래치하는 래치(1)와, 메모리를 억세스하기 위한 횡으로의 첫 번째 데이터를 발생하는 업카운터(2)와, 상기 업카운터(2)의 출력데이타를 버퍼링하는 버퍼(3)와, 억세스할 종으로의 데이터를 래치하는 래치(4)와, 상기 래치(4)의 출력데이타를 입력하여 종으로의 데이터를 발생하는 다운카운터(5)와, 상기 버퍼(3) 및 후술할 버퍼(8)의 출력데이타를 입력하여 종으로의 어드레스를 발생하는 어드레스 발생 카운터(6)와, 상기 래치(1)의 출력데이타와 어드레스 발생 카운터(6)의 출력어드레스를 가산하는 가산기(7)와, 상기 가산기(7)의 출력데이타를 버퍼링하는 버퍼(8)와, 횡으로의 데이터가 한번씩 증가할때마다 카운트를 하는 업카운터(9)와, 상기 가산기(7) 및 업카운터(9)의 출력데이타가 서로 같을 때 저전위를 출력하는 비교기(10)와, 입출력포트(IO3)의 펄스를 클럭신호로 하여 평상시 고전위를 출력하다가 상기 비교기(10)로부터 저전위가 입력될 때 클리어되는 플립플롭(11)과, 상기 플립플롭(11) 및 클럭신호(øc)를 시스템 각부의 제어신호로 출력하는 앤드게이트(AD2)와, 시스템 각부에 로드신호나 아웃인에이블신호, 클럭신호등으로 제공하는 앤드게이트(AD1), 오아게이트(OR1, OR2) 및 인버터(I1, I2)로 구성한 것으로 이와같이 구성된 본 발명의 작용 및 효과를 상기 제1도 각부의 파형을 보인 제2도, 스캐닝 픽셀 데이터의 예시표인 제3도, 픽셀데이타와 메모리어드레스의 맵핑을 예시한 제4도를 참조하여 상세히 설명하면 다음과 같다.FIG. 1 is a block diagram of the address generation system of the present invention, as shown therein, a latch 1 for latching data horizontally to be accessed, and up to generate first data horizontally for accessing a memory. A
스캐너로부터 입력되는 데이터는 제3도에서와 같이 횡으로 순차적으로 입력되고, 이들은 다시 제4도에서와 같이 스타트어드레스(오프셋)부터 순차적으로 메모리에 저장된다.The data input from the scanner is sequentially input laterally as in FIG. 3, and they are sequentially stored in the memory from the start address (offset) as in FIG.
이와같이 저장된 데이터를 억세스(리드)할 때 종방향(1, 5, 10, …, 30), …, (4, 9, 14, …, 34)으로 데이터를 억세스할 경우가 있는데, 이하 상기 종방향으로의 어드레스가 본 발명에 의해 하드웨어적으로 발생되는 것을 스캐닝 픽셀 데이터가 제3도와 같은 경우를 예로하여 설명한다.When accessing (reading) the stored data in this way, the longitudinal directions (1, 5, 10, ..., 30),... , (4, 9, 14,..., 34) may be accessed. Hereinafter, the scanning pixel data may be generated by hardware according to the present invention. Will be explained.
먼저, 사용자가 입출력포트(IO1)에 제2a도와 같은 저전위신호를 출력하면 래치(1)에 제2b도와 같이 횡방향 데이터갯수(5개)가 래치되고, 입출력포트(IO2)를 통해 업카운터(2)의 로드단자()에 제2c도와 같은 저전위의 로드신호를 인가하면 제2g도와 같은 기준클럭신호에 의해 제2d도와 같이 억세스할 데이터의 첫 번째 어드레스가 그 업카운터(2)에 로드된다.First, when a user outputs a low potential signal as shown in FIG. 2a to the input / output port IO1, the number of transverse data (5 pieces) is latched in the latch 1 as shown in FIG. (2) Rod terminal ( When the low potential load signal as shown in FIG.
이와함께 입출력포트(IO3)를 통해 래치(4)의 클럭단자(CK4)에 제2e도와 같은 저전위신호를 출력하게 되면 데이터버스를 통해 억세스할 종으로의 갯수(7개)가 그 래치(4)에 래치되므로, 이때 다운카운터(5)도 상기 입출력포트(IO3) 및 앤드게이트(AD1)를 통해 입력되는 저전위의 로드신호에 의해 제 3f도와 같이 상기 래치(4)로부터 입력되는 종으로의 갯수(7개)를 다운카운트하기 시작하며, 이의 리플캐리단자(RC5)에 평상시 고전위를 출력하다가 종으로의 갯수를 모두 다운카운트하는 순간 저전위를 출력한다.At the same time, when the low-potential signal as shown in FIG. 2e is output to the clock terminal CK4 of the
이에따라 상기 업카운터(2)에 출력되는 최초의 카운트값(0)이 버퍼(3)를 통해 어드레스 발생 카운터(6)의 입력단자(IN6)에 인가되고, 이는 제2g도 (h)에서와 같이 인버터(I1)를 통해 입력되는 저전위의 로드신호에서 그 어드레스 발생 카운터(6)의 출력단자(Q6)에 스타트 어드레스로 출력된다.Accordingly, the first count value 0 output to the up
이렇게 발생되는 첫 번째 어드레스(0)가 메모리에 제공됨과 아울러 가산기(7)에서 상기 래치(1)의 래치값(5)과 가산된 다음 버퍼(8)를 통해 상기 어드레스 발생 카운터(6)의 입력단자(IN6)에 제공되는데, 이때 다운카운터(5)에 리플캐리가 발생되지 않은 상태이므로 기준클럭신호(ø1)에 관계없이 오아게이트(OR1)의 출력단자가 고전위 상태를 유지하여 업카운터(2)가 다음 수(1)를 카운트하지 않고, 버퍼(3)의 아웃인에이블단자()에 저전위 신호가 인가되지 않아 상기 어드레스 발생 카운터(6)는 상기 버퍼(8)로부터 입력되는 데이터값(5)을 카운트하여 그 카운트값(5)을 출력단자(Q6)에 출력하게 되며, 이는 두 번째 어드레스로 메모리에 제공됨과 아울러 상기와 같이 가산기(7)에서 상기 래치(5)에 래치된 값(5)과 가산되므로 그 어드레스 발생 카운터(6)의 다음 입력값은 10이 된다.The first address (0) thus generated is provided to the memory and added to the latch value (5) of the latch (1) in the adder (7) and then input of the address generation counter (6) through the buffer (8). The output terminal of the ORA gate OR1 maintains a high potential regardless of the reference clock signal ø1 because the ripple carry is not generated in the down counter 5. ) Does not count the next number (1), but the enable terminal ( Since the low potential signal is not applied to the
이와같이하여 상기 어드레스 발생 카운터(6)가 출력단자(Q6)에 어드레스값(30)을 출력하는 순간 상기 다운카운터(5)가 "0" 카운트하여 자신의 리플캐리단자(RC5)에 저전위를 출력하므로 앤드게이트(AD2)로부터 출력되는 기본클럭신호(ø1)가 상기 오아게이트(OR1)를 통해 상기 업카운터(2)의 클럭단자()에 제공된다.In this way, when the address generation counter 6 outputs the address value 30 to the output terminal Q6, the down
이에따라 상기 업카운터(2)는 클럭신호의 상승에지에서 다음수(1)를 카운트하게 되며, 이때 상기 다운카운터(5)의 리플캐리단자(RC5)에 출력되는 저전위가 인버터(I2)를 통해 반전되어 고전위로 된 다음 상기 버퍼(8)의 아웃인에이블단자()에 인가되는 반면, 상기 버퍼(3)는 상기 앤드게이트(AD1)를 통하여 다운카운터(5)의 저전위의 리플캐리신호에 의해 아웃인에이블되어 상기 업카운터(2)의 카운트값(1)이 그 버퍼(3)를 통해 상기 어드레스 발생 카운터(6)의 입력단자(IN6)에 제공된다.Accordingly, the up
이에따라 상기 어드레스 발생부(6)의 출력단자에는 상기와 같은 과정에 의해 카운터값(1, 6, 11, 16, 21, 26, 31)이 메모리의 어드레스로 출력되어, 이와같은 방법으로 상기 어드레스 발생 카운터(6)의 로드단자()에 제 2h도와 같은 신호가 인가될때마다 그의 출력단자(Q6)에 제 2i도 같이 종방향의 어드레스가 순차적으로 출력되고, 상기 어드레스 발생 카운터(6)에 어드레스값(34)이 출력되는 순간 업카운터(9)가 "5"를 카운트하게 되며, 이는 비교기(10)에서 상기 래치(1)의 래치값(5)과 비교되어 그의 출력단자(Q10)에 저전위가 출력되므로 이때 플립플롭(11)이 클리어된다.Accordingly, the counter value (1, 6, 11, 16, 21, 26, 31) is output to the address of the memory by the above process to the output terminal of the address generator (6). Load terminal of the
이로인하여 상기 앤드게이트(AD12)의 출력단자에 클럭신호가 발생되지 않으므로 상기의 어드레스 생성 동작이 중지된다.As a result, a clock signal is not generated at the output terminal of the AND gate AD12, so that the address generation operation is stopped.
한편, 사용자가 억세스할 종으로의 갯수에 해당되는 클럭수를 상기 입출력포트(IO3)에 인가하게 되면 상기 플립플롭(11)이 클리어 상태에서 해제되어 클럭신호(øc)가 상기 앤드게이트(AD2)를 통해 그대로 기본 클럭신호(ø1)로 시스템에 전달된다.On the other hand, when the number of clocks corresponding to the number of species to be accessed by the user is applied to the input / output port IO3, the flip-
이상에서 상세히 설명한 바와 같이 본 발명은 하드웨어를 이용하여 일정한 오프셋 어드레스만큼을 스타트 번지에서부터 더하여 억세스되게 함으로써 억세스시간을 최대로 단축시킬 수 있는 이점이 있다.As described in detail above, the present invention has the advantage that the access time can be shortened to the maximum by accessing a predetermined offset address from the start address using hardware.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900004441A KR920003268B1 (en) | 1990-03-31 | 1990-03-31 | Address generating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900004441A KR920003268B1 (en) | 1990-03-31 | 1990-03-31 | Address generating system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR910017287A KR910017287A (en) | 1991-11-05 |
KR920003268B1 true KR920003268B1 (en) | 1992-04-27 |
Family
ID=19297582
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019900004441A KR920003268B1 (en) | 1990-03-31 | 1990-03-31 | Address generating system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR920003268B1 (en) |
-
1990
- 1990-03-31 KR KR1019900004441A patent/KR920003268B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR910017287A (en) | 1991-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR880013390A (en) | Magnified Video Image Generator | |
KR880010608A (en) | Picture-in-picture video signal generator | |
KR920003268B1 (en) | Address generating system | |
JPH02301269A (en) | Key signal delay equipment | |
KR870008313A (en) | Display address control device | |
JP2709356B2 (en) | Image processing method | |
JP3316876B2 (en) | Address generation circuit for data compression | |
US4153944A (en) | Method and arrangement for buffering data | |
KR910010229B1 (en) | Picture data circuit for fax | |
KR910005825B1 (en) | Picture data magnification circuit for fax | |
KR100242692B1 (en) | Input apparatus for pulse code modulation data | |
KR930011390B1 (en) | Address reset circuit in automatic switching systems | |
KR100248037B1 (en) | Image histogram generating circuit and method thereof | |
KR100216946B1 (en) | Voltage level trigger apparatus | |
KR930701780A (en) | Histogram Addition Method and Image Apparatus in an Image Processing Apparatus | |
KR930003445B1 (en) | Whole memory control system | |
KR960009905Y1 (en) | Data processing circuit of memory | |
KR940004264Y1 (en) | Image processing apparatus having h-rlsa circuit | |
KR0170649B1 (en) | 2-dimension address generator | |
KR100275459B1 (en) | Data acknowledge signal generation apparatus for vme bus | |
KR930008063B1 (en) | Fastly drawing method of horizontal line and vertical line in laser printer | |
KR900002629A (en) | Address generation circuit for zoom function | |
KR940001833B1 (en) | Digital video apparatus | |
JP2938107B2 (en) | Pattern recognition device | |
KR950005229B1 (en) | Address generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 19971229 Year of fee payment: 7 |
|
LAPS | Lapse due to unpaid annual fee |