KR950010847B1 - Read/write circuit for multiple control register - Google Patents
Read/write circuit for multiple control register Download PDFInfo
- Publication number
- KR950010847B1 KR950010847B1 KR1019930008505A KR930008505A KR950010847B1 KR 950010847 B1 KR950010847 B1 KR 950010847B1 KR 1019930008505 A KR1019930008505 A KR 1019930008505A KR 930008505 A KR930008505 A KR 930008505A KR 950010847 B1 KR950010847 B1 KR 950010847B1
- Authority
- KR
- South Korea
- Prior art keywords
- control register
- write
- read
- signal
- data
- Prior art date
Links
Landscapes
- Static Random-Access Memory (AREA)
Abstract
Description
제1도는 종래의 기술로 제시된 다수개의 다수개의 제어레지스터 리드/라이트 회로의 구성 블록도이고,1 is a block diagram illustrating a plurality of control register read / write circuits according to the related art.
제2도는 이 발명의 실시예에 따른 다수개의 다수개의 제어레지스터 리드/라이트 회로의 구성 블록도이고,2 is a block diagram illustrating a plurality of control register read / write circuits according to an embodiment of the present invention.
제3도는 이 발명의 실시예에 따른 다수개의 다수개의 제어레지스터 리드/라이트 회로의 라이트 동작시 각 부분 파형도이고,FIG. 3 is a partial waveform diagram of writing operations of a plurality of control register read / write circuits according to an embodiment of the present invention.
제4도는 이 발명의 실시예에 따른 다수개의 다수개의 제어레지스터 리드/라이트 회로의 리드 동작시 각 부분 파형도이다.4 is a partial waveform diagram of a read operation of a plurality of control register read / write circuits according to an embodiment of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 리드 디코더 20 : 라이트 디코더10: lead decoder 20: light decoder
31 : 제1버퍼 3i : 제i버퍼31: first buffer 3i: i buffer
3j : 제j버퍼 41 : 제1제어레지스터3j: j buffer 41: first control register
4i : 제i제어레지스터 4j : 제j제어레지스터4i: i-th control register 4j: j-th control register
50 : 램 60 : 디코더50: RAM 60: Decoder
71 : 제1제어레지스터 7k : 제k제어레지스터71: first control register 7k: k-th control register
7n : 제n제어레지스터7n: nth control register
이 발명은 다수개의 제어레지스터 리드/라이트 회로에 관한 것으로 더욱 상세하게 말하자면, 다수개의 제어레지스터로 시스템을 제어할때 각각의 제어레지스터에 기입한 값을 다시 읽어볼 필요가 발생하는데 이 경우 각각의 제어레지스터마다 하나씩 스테이터스 레지스터용 버퍼를 두지 않고 하나의 읽기 및 쓰기가 가능한 메모리 소자를 이용함으로써 모든 제어레지스터들에 대한 스테이터스 레지스터 역할을 하도록 하는 다수개의 제어레지스터 리드/라이트 회로에 관한 것이다.The present invention relates to a plurality of control register read / write circuits. More specifically, when controlling a system with a plurality of control registers, it is necessary to read back the values written in the respective control registers. The present invention relates to a plurality of control register read / write circuits that serve as a status register for all control registers by using a memory device that can read and write without having a buffer for the status register.
종래에는 다수개의 제어레지스터로 제어하는 시스템에서 각각의 제어레지스터에 기입한 값을 다시 읽어보기 위하여 각각의 제어레지스터마다 하나씩 스테이터스 레지스터용 버퍼를 두거나 시스템 메모리 내부에 일부 영역을 할당하여 제어레지스터에 쓴 값을 읽어 보도록 하였다.Conventionally, in a system controlled by a plurality of control registers, a value register is written in the control register by putting a buffer for the status register, one area for each control register, or allocating a partial area in the system memory to read back the value written in each control register. Read on.
제1도는 종래의 기술로 제시된 다수개의 제어레지스터 리드/라이트 회로의 구성 블록도로서 각각 제어레지스터마다 하나씩 스테이터스 제지스터용 버퍼를 둔 경우이다.FIG. 1 is a block diagram illustrating a plurality of control register read / write circuits proposed in the related art, in which a status register buffer is provided for each control register.
제1도에 도시되어 있듯이 종래의 기술로 제시된 다수개의 제어레지스터 리드/라이트 회로의 구성은, 칩셀렉터 신호(YCS*)와 데이타 스트로브 신호(DS*)와 리드 신호(WT)와 어드레스 신호(A0∼Am)를 입력으로 하여 리드 구동신호(rd1*∼rdj*)를 출력시키는 리드 디코더(10)와; 칩셀렉트 신호(YCS*)와 데이타 스트로브 신호(DS*)와 라이트 신호(WT*)와 어드레스 신호(A0∼Am)를 입력으로 하여 라이트 구동신호를 출력시키는 라이트 디코더(20)와; 상기 라이트 디코더(20)에서 출력되는 라이트구동신호(wr1*∼wrj*)에 따라 동작하며 데이타버스(Data bus)상의 데이타를 입력하여 출력값으로 유지하는 j개의 제어레지스터(41∼4J)와; 상기 리드 디코더(10)에서 출력되는 리드 구동신호(rd1*∼rdj*)에 따라 동작하여 해당하는 제어레지스터(41∼4j)의 출력값을 데이타버스상으로 출력시키는 j개의 버퍼(31∼3j)로 이루어진다.As shown in FIG. 1, a configuration of a plurality of control register read / write circuits proposed by the prior art includes a chip selector signal YCS *, a data strobe signal DS *, a read signal WT, and an address signal A0. A read decoder 10 for outputting read drive signals rd1 * to rdj * as input to? Am; A write decoder 20 for outputting a write driving signal by inputting the chip select signal YCS *, the data strobe signal DS *, the write signal WT *, and the address signals A0 to Am; J control registers 41 to 4J that operate according to the write drive signals wr1 * to wrj * outputted from the write decoder 20 and input data on a data bus and hold the output values as output values; J buffers 31 to 3j which operate in accordance with the read drive signals rd1 * to rdj * output from the read decoder 10 and output the output values of the corresponding control registers 41 to 4j on the data bus. Is done.
상기와 같이 구성되는 종래의 기술로 제시된 다수개의 제어레지스터 리드/라이트 회로의 작용을 설명하면 다음과 같다.Referring to the operation of the plurality of control register read / write circuit proposed in the prior art configured as described above are as follows.
먼저 전원이 인가되면, 리드 디코더(10)와 라이트 디코더(20)에는 중앙처리장치의 콘트롤버스를 통하여 제어신호들이 입력된다.When power is first applied, control signals are input to the read decoder 10 and the write decoder 20 through a control bus of the central processing unit.
리드 디코더(10)와 라이트 디코더(20)에는 칩셀렉트 신호(YCS*)와 데이타 스트로브 신호(DS*)와 어드레스 신호(A0∼Am)가 공통으로 입력되며 리드 신호(WT)와 라이트 신호(WT*)는 대칭값을 가지며 입력되도록 하였다. 즉, 리드 신호(WT)가 하이레벨(H)일 경우 라이트 신호(WT*)는 로레벨(L)이 되어 리드 디코더(10)만 동작하며 리드 신호(WT)가 로레벨(L)일 경우에는 라이트 신호(WT*)가 하이레벨(H)이 되어 라이트 디코더(20)만 동작한다.The chip select signal YCS *, the data strobe signal DS *, and the address signals A0 to Am are commonly input to the read decoder 10 and the write decoder 20, and the read signal WT and the write signal WT *) Has a symmetric value to input. That is, when the read signal WT is at the high level H, the write signal WT * is at the low level L, and only the read decoder 10 operates, and the read signal WT is at the low level L. The write signal WT * becomes the high level H so that only the write decoder 20 operates.
중앙처리장치가 제i제어레지스터(4i)에 어떤 내용을 기입한다고 가정하면, 라이트 디코더(20)에 인가되는 칩셀렉트 신호(YCS*)와 데이타 스트로브 신호(DS*)와 라이트 신호(WT*)가 하이레벨(H)로 입력된다.Assuming that the CPU writes some contents into the i-th control register 4i, the chip select signal YCS *, the data strobe signal DS *, and the write signal WT * applied to the write decoder 20 are assumed. Is input to the high level (H).
상기 칩셀렉트 신호(YCS*)에 의하여 라이트 디코더(20)가 동작하며 제i제어레지스터(4i)의 어드레스에 관한 데이타를 가지고 있는 어드레스 신호(A0∼Am)가 리드 디코더(10)에 입력된다. 리드 디코더(10)는 입력되는 어드레스 신호(A0∼Am)가 라이트 디코더(20)에 입력된다. 라이트 디코더(20)는 입력되는 어드레스 신호(A0∼Am)에 따라 해당하는 제i제어레지스터(4i)에 라이트 구동신호(wri*)를 출력시킨다.The write decoder 20 operates by the chip select signal YCS *, and the address signals A0 to Am containing data relating to the address of the i-th control register 4i are input to the read decoder 10. The read decoder 10 receives the input address signals A0 to Am to the write decoder 20. The write decoder 20 outputs the write driving signal wri * to the corresponding i-th control register 4i according to the input address signals A0 to Am.
라이트 구동신호(wri*)가 제i제어레지스터(4i)에 인가되고 상기 신호(wri*)가 하이레벨(H)로 변하면, 제i제어레지스터(4i)의 입력단에 연결된 데이타버스를 통해 기입할 데이타가 입력된다. 따라서, 라이트 동작의 수행이 완료된다.When the write driving signal wri * is applied to the i-th control register 4i and the signal wri * is changed to the high level H, the write drive signal wri * is written through the data bus connected to the input terminal of the i-th control register 4i. Data is entered. Thus, the execution of the write operation is completed.
중앙처리장치가 제i제어레지스터(4i)에 기입된 내용을 읽어낸다고 가정하면, 리드 디코더(10)에 인가되는 칩셀렉트 신호(YCS*)와 데이타 스트로브 신호(DS*)와 리드 신호(WT)가 하이레벨(H)로 입력된다.Assuming that the central processing unit reads the contents written in the i-th control register 4i, the chip select signal YCS *, the data strobe signal DS *, and the read signal WT applied to the read decoder 10 are read. Is input to the high level (H).
상기 칩셀렉트 신호(YCS*)에 의하여 리드 디코더(10)가 동작하며 제i제어레지스터(4i) 및 제i버퍼(3i)의 어드레스에 관한 데이타를 가지고 있는 어드레스 신호(A0∼Am)에 따라 해당하는 제i버퍼(3i)에 리드 구동신호(rdi*)를 출력시킨다.According to the chip select signal YCS *, the read decoder 10 operates according to the address signals A0 to Am that have data relating to the addresses of the i th control register 4i and the i th buffer 3i. The read drive signal rdi * is outputted to the i-th buffer 3i.
리드 구동신호(rdi*)가 제i버퍼(3i)에 인가되고 상기 신호(rdi*)가 하이레벨(H)로 변하면, 제i제어레지스터(4i)의 출력단과 제i버퍼(3i)의 입력단이 연결되므로 제i버퍼(3i)는 제i제어레지스터(4i)에 기입된 내용을 데이타버스상으로 출력시킨다. 따라서, 리드 동작의 수행이 완료된다.When the read driving signal rdi * is applied to the i-th buffer 3i and the signal rdi * changes to a high level H, the output terminal of the i-th control register 4i and the input terminal of the i-th buffer 3i are applied. Because of this connection, the i-th buffer 3i outputs the contents written in the i-th control register 4i onto the data bus. Thus, the performance of the read operation is completed.
상기와 같이 동작함으로써 중앙처리장치는 제어레지스터와 동일한 어드레스를 가지는 버퍼에 의하여 제어레지스터에 새로운 내용을 기입하거나 기입된 내용을 읽어내는 리드/라이트 동작이 수행된다.By the operation as described above, the central processing unit performs a read / write operation of writing new contents or reading the written contents into the control register by a buffer having the same address as the control register.
그러나, 종래기술로 제시된 각각의 제어레지스터에 스테이터스 레지스터용 버퍼를 두는 방식은 제어레지스터의 갯수가 늘어나면 버퍼의 갯수도 늘어나서 인쇄회로기판(PCB : Printed Circuit Board)의 용량이 부족해지면 제어레지스터의 효율적인 관리가 어려운 단점이 있다.However, the method of placing a status register buffer in each control register proposed in the related art increases the number of buffers as the number of control registers increases, so that when the capacity of a printed circuit board (PCB) becomes insufficient, the control registers are effectively removed. It is difficult to manage.
또한, 스테이터스 레지스터용 버퍼를 별도로 두지 않고 시스템 메모리 내부에 일부 영역을 할당하여 제어레지스터의 내용을 리드/라이트 하는 방식은 시스템 프로그래밍시 컴파일링(Compiling) 할때마다 해당 어드레스가 바뀌는 경우가 발생하여 디버깅(Debugging)이 어렵다는 단점이 있다.In addition, the method of reading / writing the contents of the control register by allocating a partial area in the system memory without setting a status register buffer separately may cause the corresponding address to change every time compiling during system programming. The disadvantage is that debugging is difficult.
그러므로, 이 발명의 목적은 종래의 단점을 해결하기 위한 것으로 하나의 읽기 및 쓰기가 가능한 메모리 소자를 이용하여 모든 제어레지스터들에 대한 스테이터스 레지스터 역할을 하도록 함으로써 인쇄회로기판을 절약하며 언제든지 제어레지스터와 동일한 어드레스의 접근에 의한 모니터링이 가능하도록 하는 다수개의 제어레지스터 리드/라이트 회로를 제공하고자 하는데 있다.Therefore, it is an object of the present invention to solve the disadvantages of the conventional art by using a single read and write memory device to act as a status register for all the control registers to save the printed circuit board and the same as the control register at any time An object of the present invention is to provide a plurality of control register read / write circuits that enable monitoring by access of an address.
상기의 목적을 달성하고자 하는 이 발명의 구성은, 해당하는 라이트 구동신호에 의해 동작되어 데이타버스를 통하여 기입하고자 하는 데이타를 입력받아 출력값으로 유지하는 n개의 제어레지스터와; 라이트 동작을 수행하기 위해서 라이트 신호와 어드레스 신호로부터 상기 어드레스 신호가 표시하는 제어레지스터를 동작시키기 위한 라이트 구동신호를 출력시키는 디코더와; 상기 제어레지스터에 기입된 것과 같은 데이타를 기입하기 위하여 해당하는 제어레지스터를 나타내는 어드레스 신호를 입력받고 상기 어드레스 신호에 해당하는 데이타를 데이타버스를 통하여 입력받아 저장하며 특정 제어레지스터의 내용을 읽어보기 위해 해당하는 제어레지스터를 나타내는 어드레스 신호가 입력되면 상기 어드레스 신호에 해당하는 데이타를 데이타 버스상으로 출력시키는 램으로 이루어진다.The configuration of the present invention to achieve the above object comprises: n control registers which are operated by a corresponding write drive signal and receive data to be written via a data bus and maintain them as output values; A decoder for outputting a write driving signal for operating a control register indicated by the address signal from a write signal and an address signal to perform a write operation; In order to write the same data as the one written in the control register, an address signal indicating a corresponding control register is input, and the data corresponding to the address signal is received and stored through a data bus. When an address signal indicating a control register is input, a RAM for outputting data corresponding to the address signal on a data bus is provided.
상기 구성에 의한 이 발명의 용이하게 실시할 수 있는 바람직한 실시예를 첨부된 도면을 참조로 하여 설명하면 다음과 같다.When described with reference to the accompanying drawings a preferred embodiment that can be easily implemented of the present invention by the above configuration as follows.
제2도는 이 발명의 실시예에 따른 다수개의 제어레지스터 리드/라이트 회로의 구성 블록도이다.2 is a block diagram of a plurality of control register read / write circuits according to an embodiment of the present invention.
제2도에 도시되어 있듯이 이 발명의 실시예에 따른 다수개의 제어레지스터 리드/라이트 회로의 구성은, 칩셀렉트 신호(YCS)와 라이트 신호(WT)와 데이타 스트로브 신호(DS)와 어드레스 신호(A0∼Am)를 입력으로 하여 라이트 구동신호(wr1∼wrm)를 출력시키는 디코더(60)와; 상기 디코더(60)에서 출력되는 라이트 구동신호(wr1∼wrn)를 클립입력(Clk)으로 하며 입력단과 출력단에 데이타버스가 연결된 n개의 제어레지스터(71∼7n)와; 칩셀렉트 신호(YCS)와 램라이트 신호(RWR)와 램출력 가능신호(ROE)와 어드레스 신호(A0∼Am)를 입력으로 하며 데이타버스가 연결된 램(50)으로 이루어진다.As shown in FIG. 2, a configuration of a plurality of control register read / write circuits according to an embodiment of the present invention includes a chip select signal YCS, a write signal WT, a data strobe signal DS, and an address signal A0. A decoder 60 for inputting? Am to output the write drive signals wr1 to wrm; N control registers 71 to 7n having write drive signals wr1 to wrn outputted from the decoder 60 as clip inputs Clk, and data buses connected to the input and output terminals; The chip select signal YCS, the RAMWrite signal RWR, the RAM output enable signal ROE, and the address signals A0 to Am are input, and the RAM 50 is connected to the data bus.
상기한 구성에 의한 다수개의 제어레지스터 리드/라이트 회로의 작용은 다음과 같다.The operation of the plurality of control register read / write circuits by the above configuration is as follows.
이 발명의 실시예에 따른 다수개의 제어레지스터 리드/라이트 회로의 작용은 크게 임의의 제어레지스터(7k)에 데이타를 기입하는 라이트(Write) 동작과 임의의 제어레지스터(7k)에 기입된 데이타를 읽어보는 리드(Read) 동작으로 나누어질 수 있다.The operation of the plurality of control register read / write circuits according to the embodiment of the present invention is largely a write operation of writing data to an arbitrary control register 7k and reading of data written to an arbitrary control register 7k. The view may be divided into read operations.
제3도는 이 발명의 실시예에 따른 다수개의 제어레지스터 리드/라이트 회로의 라이트 동작시 각 부분 파형도이다.3 is a partial waveform diagram of a write operation of a plurality of control register read / write circuits according to an embodiment of the present invention.
먼저, 제3도를 참조하여 라이트 동작에 관한 것부터 알아보면 다음과 같다.First, referring to FIG. 3, the light operation will be described below.
전원이 인가되면, 칩셀렉트 신호(YCS)가 하이레벨(H)로 변하여 램(50)과 디코더(60)가 선택된다. 라이트 동작을 수행하기 위해서 디코더(60)에는 제3(e)도와 같은 라이트 신호(WT)와 제3도(f)와 같은 데이타 스트로브 신호(DS)가 하이레벨(H)로 인가되며, 제3(a)도와 같은 램라이트 신호(RWR)와 제3(b)도와 같은 램출력 가능신호(ROE)가 램(50)에 인가된다.When the power is applied, the chip select signal YCS is changed to the high level H so that the RAM 50 and the decoder 60 are selected. In order to perform a write operation, the decoder 60 receives a write signal WT as shown in FIG. 3 (e) and a data strobe signal DS as shown in FIG. 3 as a high level (H). The ram light signal RRW as shown in (a) and the ram output enable signal ROE as shown in FIG. 3 (b) are applied to the RAM 50.
한편, 디코더(60)와 램(50)에는 제3(c)도와 같은 어드레스 신호(A0∼Am)가 인가된다.On the other hand, address signals A0 to Am as shown in FIG. 3 (c) are applied to the decoder 60 and the RAM 50.
디코더(60)의 입력단에 라이트 신호(WT)와 데이타 스트로브 신호(DS)가 하이레벨(H)로 인가되면, 상기 디코더(60)는 입력되는 어드레스 신호(A0∼Am)로부터 상기 어드레스 신호(A0∼Am)가 표시하는 제어레지스터(7k)를 찾아내고 상기 제어레지스터(7k)를 동작시키기 위한 제3(d)도와 같은 라이트 구동리드(wrk)를 해당 제어레지스터(7k)에 출력시킨다.When the write signal WT and the data strobe signal DS are applied to the input terminal of the decoder 60 at the high level H, the decoder 60 receives the address signal A0 from the input address signals A0 to Am. The control register 7k indicated by ˜Am) is found, and a light driving lead wrk as shown in FIG. 3 (d) for operating the control register 7k is outputted to the control register 7k.
상기 디코더(60)에서 출력되는 라이트 구동리드(wrk)는 제k제어레지스터(7k)의 클럭 입력단(Clk)에 인가되고, 제3(d)도와 같이 클럭 입력단(Clk)에 인가되는 라이트 구동신호(Wrk)가 하이레벨(H)로 변하면 제k제어레지스터(7k)는 데이타버스를 통하여 기입하고자 하는 데이타를 입력받아 출력값으로 유지한다.The write driving signal wrk output from the decoder 60 is applied to the clock input terminal Clk of the k-th control register 7k, and is applied to the clock input terminal Clk as shown in FIG. 3 (d). When Wrk changes to the high level H, the k-th control register 7k receives data to be written through the data bus and maintains it as an output value.
상기와 같이 제k제어레지스터(7k)에 기입하고자 하는 데이타가 라이트되는 동안 램(50)에도 같은 내용의 동작이 수행된다.As described above, the same operation is performed on the RAM 50 while data to be written to the k-th control register 7k is written.
먼저 제3(a)도와 같은 램라이트 신호(RWR)와 제3(b)도와 같은 램출력 가능신호(ROE)가 램(50)에 인가되면, 램라이트 신호(RWR)가 하이레벨(H)인 구간동안 제3(c)도와 같은 인가되는 어드레스 신호(A0∼Am)가 입력된다.First, when the ram light signal RWr as shown in FIG. 3 (a) and the ram output enable signal ROE as shown in FIG. 3 (b) are applied to the ram 50, the ram light signal RWR as the high level H is applied. During the period, the address signals A0 to Am applied as shown in FIG. 3 (c) are input.
상기 어드레스 신호(A0∼Am)는 디코더(60)에 인가되는 어드레스 신호(A0∼Am)와 동일한 것이며, 제k제어레지스터(7k)를 표시한다. 그리고, 램(50)에는 데이타버스를 통하여 상기 어드레스 신호(A0∼Am)에 해당하는 기입하고자 하는 데이타가 입력된다.The address signals A0 to Am are the same as the address signals A0 to Am applied to the decoder 60, and represent the kth control register 7k. The RAM 50 receives data to be written corresponding to the address signals A0 to Am through the data bus.
따라서, 상기 램(50)에는 각각의 제어레지스터(7k)에 해당하는 어드레스 영역에 각 제어레지스터(7k)의 내용이 저장된다.Therefore, the RAM 50 stores the contents of each control register 7k in an address area corresponding to each control register 7k.
이상으로, 라이트 동작에서는 특정 제어레지스터(7k)에 기입하고자 하는 내용은 상기 제어레지스터(7k)뿐만 아니라 램(50)에도 라이트 된다.As described above, in the write operation, contents to be written to the specific control register 7k are written not only to the control register 7k but also to the RAM 50.
제4도는 이 발명의 실시예에 따른 다수개의 제어레지스터 리드/라이트 회로의 리드 동작시 각 부분 파형도이다.4 is a partial waveform diagram of a read operation of a plurality of control register read / write circuits according to an embodiment of the present invention.
다음으로, 제4도를 참조하여 임의의 제어레지스터(7k)에 기입된 데이타를 읽어보는 리드 동작에 대해 알아보면 다음과 같다.Next, referring to FIG. 4, a read operation for reading data written in an arbitrary control register 7k is as follows.
전원이 인가되면, 칩셀렉트 신호(YCS)가 하이레벨(H)로 변하여 램(50)과 디코더(60)가 선택된다. 리드동작을 수행하기 위해서 디코더(60)에는 제4(e)도와 같은 라이트 신호(WT)가 로레벨(L)로 인가되며, 제4(f)도와 같은 데이타 스트로브 신호(DS)는 하이레벨(H)로 인가된다. 한편, 램(50)에는 제4(a)도와 같은 램라이트 신호(RWR)와 제4(b)도와 같은 램출력 가능신호(ROE)가 인가된다.When the power is applied, the chip select signal YCS is changed to the high level H so that the RAM 50 and the decoder 60 are selected. In order to perform a read operation, the write signal WT as shown in FIG. 4 (e) is applied at the low level L to the decoder 60, and the data strobe signal DS as shown in FIG. H) is applied. On the other hand, the RAM 50 is applied to the RAMWrite signal RWR as shown in FIG. 4 (a) and the RAM output enable signal ROE as shown in FIG. 4 (b).
한편, 디코더(60)와 램(50)에는 제4(c)도와 같은 어드레스 신호(A0∼Am)가 인가된다. 디코더(60)의 입력단에 라이트 신호(WT)가 로레벨(L)로 인가되고 데이타 스트로브 신호(DS)가 하이레벨(H)로 인가되면, 상기 디코더(60)는 입력되는 어드레스 신호(A0∼Am)로부터 상기 어드레스 신호(A0∼Am)가 표시하는 제어레지스터(7k)를 찾아내고 상기 제어레지스터(7k)를 동작시키기 위한 제4(d)도와 같은 라이트 구동신호(wrk)를 해당 제어레지스터(7k)에 출력시킨다.On the other hand, address signals A0 to Am as shown in FIG. 4C are applied to the decoder 60 and the RAM 50. When the write signal WT is applied at the low level L to the input terminal of the decoder 60 and the data strobe signal DS is applied at the high level H, the decoder 60 receives the input address signals A0 to. The control register 7k finds a control register 7k indicated by the address signals A0 to Am and outputs a write drive signal wrk as shown in FIG. 4D for operating the control register 7k. To 7k).
그러나, 상기 제어레지스터(7k)의 클럭 입력단(Clk)에 인가되는 라이트 구동신호(wrk)는 제4(d)도와 같이 로레벨(L)이기 때문에 제어레지스터(7k)는 동작하지 않는다.However, since the write driving signal wrk applied to the clock input terminal Clk of the control register 7k is the low level L as shown in the fourth (d), the control register 7k does not operate.
한편, 램(50)에는 제4(a)도와 같이 로레벨(L)의 램라이트 신호(RWR)와 제4(b)도와 같이 하이레벨(H)로 변하는 램출력 가능신호(ROE)가 인가된다.On the other hand, the ram 50 is applied to the RAM light signal RWr at the low level L as shown in FIG. 4 (a) and the RAM output enable signal ROE changing to the high level H as shown in the fourth (b). do.
상기 로레벨(L)의 램라이트 신호(RWR)와 하이레벨(H)로 변하는 램출력 가능신호(ROE)에 의해 램(50)의 리드 동작이 수행된다. 즉, 상기 램출력 가능어드레스신호(ROE)가 하이레벨(H)인 구간동안 제4(c)도와 같이 인가되는 어드레스 신호(A0∼Am)가 램(50)에 인가된다.The read operation of the RAM 50 is performed by the RAM light signal RRW of the low level L and the RAM output enable signal ROE that changes to the high level H. That is, the address signals A0 to Am applied to the RAM 50 are applied to the RAM 50 during the period in which the RAM output address signal ROE is at the high level H.
램(50)에서는 입력되는 어드레스 신호(A0∼Am)에 따라 상기 어드레스 신호(A0∼Am)에 해당하는 데이타가 데이타버스를 통해 출력된다. 즉, 제k제어레지스터(7k)에 기입된 데이타는 리드 동작시 램(50)에 저장된 데이타가 출력된다.In the RAM 50, data corresponding to the address signals A0 to Am is output through the data bus in accordance with the input address signals A0 to Am. That is, the data written in the k-th control register 7k is outputted in the RAM 50 during the read operation.
이상에서와 같이 이 발명의 실시예에서, 램(50)이 모든 제어레지스터(71∼7n)에 대한 스테이터스 레지스터로 동작하도록 함으로써 종래의 각 제어레지스터에 버퍼를 두는 방식에 비해 인쇄회로기판의 효율을 높이며, 읽기 위한 버퍼를 별도로 두지 않고 시스템 메모리 내부에 일부 영역을 할당하여 제어레지스터에 쓴 값을 읽어보는 방식에 비해 시스템 프로그램의 콤파일링(Compiling)시 해당 어드레스가 바뀌어서 디버깅을 곤란하게 하는 문제를 해결하는 효과를 가진 다수개의 제어레지스터 리드/라이트 회로를 제공할 수 있다.As described above, in the embodiment of the present invention, the RAM 50 operates as a status register for all the control registers 71 to 7n, thereby improving the efficiency of the printed circuit board compared to the buffering method in each conventional control register. It solves the problem of making debugging difficult because the corresponding address is changed when compiling the system program, compared to the method of reading a value written in the control register by allocating some area in the system memory without having a separate buffer for reading. A plurality of control register read / write circuits can be provided.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019930008505A KR950010847B1 (en) | 1993-05-18 | 1993-05-18 | Read/write circuit for multiple control register |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019930008505A KR950010847B1 (en) | 1993-05-18 | 1993-05-18 | Read/write circuit for multiple control register |
Publications (1)
Publication Number | Publication Date |
---|---|
KR950010847B1 true KR950010847B1 (en) | 1995-09-25 |
Family
ID=19355550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019930008505A KR950010847B1 (en) | 1993-05-18 | 1993-05-18 | Read/write circuit for multiple control register |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR950010847B1 (en) |
-
1993
- 1993-05-18 KR KR1019930008505A patent/KR950010847B1/en not_active IP Right Cessation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR960019715A (en) | Semiconductor device | |
KR20020059716A (en) | Simultaneous addressing using single-port rams | |
US6507581B1 (en) | Dynamic port mode selection for crosspoint switch | |
KR870003431A (en) | Data processing device | |
JP2735173B2 (en) | One-chip memory device | |
US5201058A (en) | Control system for transferring vector data without waiting for transfer end of the previous vector data | |
US5446859A (en) | Register addressing control circuit including a decoder and an index register | |
JPH05203704A (en) | Pindriver/sensor reference voltage level setting device | |
KR950010847B1 (en) | Read/write circuit for multiple control register | |
JP2591514B2 (en) | One-chip memory device | |
US4775929A (en) | Time partitioned bus arrangement | |
KR100264194B1 (en) | Semiconductor memory device | |
KR0181592B1 (en) | I/o module and special module of plc slot selection device | |
KR910003527A (en) | Video graphics display memory swizzle logic circuit and method | |
KR100215903B1 (en) | Read/write circuit for memory | |
JPH05151071A (en) | Circuit constitution for operating computer | |
KR970010367B1 (en) | On-board interleaving apparatus and method of main memory on multi processor system | |
KR900003148B1 (en) | Monitor interface system for storing image data transiently | |
JPH08123402A (en) | One-chip memory device | |
KR100249217B1 (en) | Memory controller | |
JPH05210981A (en) | Semiconductor memory | |
KR910006792B1 (en) | Access memory expansion circuit of direcrt memory access controller | |
JPH08123716A (en) | Memory system | |
JPH06103780A (en) | Logical sum arithmetic circuit | |
KR970022776A (en) | Memory access device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
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: 20010831 Year of fee payment: 7 |
|
LAPS | Lapse due to unpaid annual fee |