JP2849804B2 - Memory access interface circuit and memory access method - Google Patents

Memory access interface circuit and memory access method

Info

Publication number
JP2849804B2
JP2849804B2 JP7265973A JP26597395A JP2849804B2 JP 2849804 B2 JP2849804 B2 JP 2849804B2 JP 7265973 A JP7265973 A JP 7265973A JP 26597395 A JP26597395 A JP 26597395A JP 2849804 B2 JP2849804 B2 JP 2849804B2
Authority
JP
Japan
Prior art keywords
address
data
circuit
memory element
bits
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.)
Expired - Fee Related
Application number
JP7265973A
Other languages
Japanese (ja)
Other versions
JPH09128957A (en
Inventor
▲チイ▼勇 呉
國成 余
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GOTAI HANDOTAI KOFUN JUGENKOSHI
Original Assignee
GOTAI HANDOTAI KOFUN JUGENKOSHI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GOTAI HANDOTAI KOFUN JUGENKOSHI filed Critical GOTAI HANDOTAI KOFUN JUGENKOSHI
Priority to JP7265973A priority Critical patent/JP2849804B2/en
Publication of JPH09128957A publication Critical patent/JPH09128957A/en
Application granted granted Critical
Publication of JP2849804B2 publication Critical patent/JP2849804B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はインターフェイス回
路及びアクセス方法に関し、特に、メモリーアクセスの
インターフェイス回路及びメモリーアクセスの方法に関
する。
[0001] 1. Field of the Invention [0002] The present invention relates to an interface circuit and an access method, and more particularly to an interface circuit and a memory access method for memory access.

【0002】[0002]

【従来の技術】従来、メモリーデータを読み取る方式と
して、直列式と並列式との2種があった。図9は従来
の、直列式でメモリーデータを読み取る回路のブロック
図である。図示の読み取り回路は、シフトレジスタ2
と、デコードメモリー素子3と、出力レジスタ4とを備
えてなり、読み取ろうとするデータはデコードメモリー
素子3に記憶され、このデコードメモリー素子がシフト
レジスタ2及び出力レジスタ4と共に、ピンAIN,D
OUT,CLK及びCS↓(本明細書において、↓はピ
ンのアクティブ入力がLであることを意味するものとし
て用いる。)を有するICパッケージ1内に配置されて
いる。
2. Description of the Related Art Conventionally, there are two types of methods for reading memory data: a serial type and a parallel type. FIG. 9 is a block diagram of a conventional circuit for reading memory data in a serial manner. The read circuit shown is a shift register 2
, A decode memory element 3 and an output register 4. Data to be read is stored in the decode memory element 3. This decode memory element, together with the shift register 2 and the output register 4, is connected to pins AIN and D
OUT, CLK and CS ↓ (in this specification, ↓ is used to mean that the active input of the pin is L).

【0003】図10は図9のタイミングチャートであ
り、以下図9及び図10に基づいて直列式の読み取り動
作を説明する。
FIG. 10 is a timing chart of FIG. 9. Hereinafter, a serial reading operation will be described with reference to FIGS.

【0004】CS↓はICパッケージ1(すなわち、I
C1)内に位置された回路を動作状態とする可能化パル
ス(Lレベル)を受信し、CLKピンはタイム・パルス
信号を受信し、AINピンはアドレス信号を受信するた
めに使用される。ここに、デコードメモリー素子3の各
アドレスが14ビットであれば、AINピンは、1ビッ
トの直列式で順次14個のアドレス信号A0−A13を
受信し、これに伴い、シフトレジスタ2も順次A0−A
13を受信する。そしてA0−A13が完全に受信され
た後、再度A0−A13をデコードメモリー素子3に出
力し、これらをデコードメモリー素子3が受信した後、
デコードすると共に、アドレスA0−A13に格納され
たデータD0−D7を出力レジスタ4に出力し、この出
力レジスタ4によりD0−D7を、1ビットずつの直列
式でピンDOUTを介して出力する。
[0004] CS ↓ is the IC package 1 (that is, I
The enable pin (L level) for activating the circuit located in C1) is received, the CLK pin receives the time pulse signal, and the AIN pin is used to receive the address signal. Here, if each address of the decode memory element 3 is 14 bits, the AIN pin receives 14 address signals A0 to A13 in a serial manner of 1 bit, and accordingly, the shift register 2 also sequentially receives A0 to A13. -A
13 is received. Then, after A0-A13 is completely received, A0-A13 is output again to the decode memory element 3, and after these are received by the decode memory element 3,
At the same time as decoding, the data D0-D7 stored in the addresses A0-A13 are output to the output register 4, and the output register 4 outputs D0-D7 in a bit-by-bit serial manner via the pin DOUT.

【0005】直列式読み取り方式の利点は、デコードメ
モリー素子3を読み取るインターフェイス回路は一本の
アドレスピンと一本のデータ出力ピンしか必要としない
点にある。従って、デコードメモリー素子3のメモリー
容量が拡張された場合、入力アドレスのビット数を増加
すればよく、ICパッケージ1のピン数を変更する必要
がないので、周辺機器のこれに対応するシステム構造を
変更する必要がない。さらにはパッケージのコストを節
約し、メモリーICの制御に必要な信号数を減少するこ
とができる。
An advantage of the serial reading method is that the interface circuit for reading the decode memory element 3 requires only one address pin and one data output pin. Therefore, when the memory capacity of the decode memory element 3 is expanded, the number of bits of the input address only needs to be increased, and the number of pins of the IC package 1 does not need to be changed. No need to change. Further, the cost of the package can be saved, and the number of signals required for controlling the memory IC can be reduced.

【0006】しかしながら、直列式の読み取り速度は極
めて遅く、1ビット書き込むごとに、又は1データビッ
トを読み取るごとに1クロック分の時間を要し、極めて
時間がかかることから通常は低速のものに応用されてい
た。
However, the serial type reading speed is extremely slow, and it takes one clock time to write one bit or read one data bit, which is extremely time consuming. It had been.

【0007】このほかに、前後2個のアドレス信号のビ
ット差異が大きくない場合、例えば2個の32ビットの
アドレス信号間で8ビットのみ違う場合には、直列式の
読み取り方法では後のアドレス信号の32ビット全部を
入力してからでなければ、後のアドレス信号の指すデー
タを読み取ることができず、改変された8ビットのみを
入力することはできない。これは、アドレス信号の入力
及びデータ信号出力が、単一の固定的タイム・パルス信
号(図10のCLK)で制御されるため、アドレス信号
が異なるビット数の場合に、外部の周辺制御回路はアド
レスの書き込みとデータ読み出しの時間を調整すること
ができないからである。
In addition, when the bit difference between the two address signals before and after is not large, for example, when only 8 bits are different between two 32-bit address signals, the subsequent address signal is not read by the serial reading method. Unless all of the 32 bits have been input, the data indicated by the subsequent address signal cannot be read, and only the modified 8 bits cannot be input. This is because the input of the address signal and the output of the data signal are controlled by a single fixed time pulse signal (CLK in FIG. 10), so that when the address signal has a different number of bits, the external peripheral control circuit This is because the time for writing the address and the time for reading the data cannot be adjusted.

【0008】簡便なメモリーデータ読み取り方法の場合
は、通常読み取られるデータはいずれもデコードメモリ
ー素子内の連続したアドレスに格納され、またたとえ前
後のアドレス信号が非連続的であっても、通常は少数の
ビットしか変化せず、この場合、連続的アドレス信号の
連続的入力又はアドレスビットの差異の極めて少ないア
ドレス信号の入力が多い場合には、直列式の読み取り方
式は速度的に不利である。
In the case of a simple memory data reading method, all data to be read are usually stored at consecutive addresses in the decode memory element, and even if the preceding and succeeding address signals are discontinuous, usually a small number of data are read. In this case, the serial reading method is disadvantageous in terms of speed when there are many continuous inputs of continuous address signals or input of an address signal having a very small difference in address bits.

【0009】図11は従来の、並列式でメモリーデータ
を読み取る回路のブロック図である。図11はデコード
メモリー素子5を表し、図9と異なる点は、図11は1
4ビットのアドレス信号が同時にデコードメモリー素子
5に入力され、デコードした後再び同時に前記アドレス
信号が示すアドレスに格納されたデータを出力するた
め、デコードメモリー素子5は14本のアドレス受信ピ
ンA0−A13、及び8本のデータ出力ピンD0−D7
を具備していなければならず、さらにデコードメモリー
素子5はチップ選択ピン(chip-selection pin)CS↓
及び出力可能化ピン(output-enabling pin)OE↓を具
備することにある。図12は図11における回路の各ピ
ンの信号のタイミングを示す。
FIG. 11 is a block diagram of a conventional circuit for reading memory data in parallel. FIG. 11 shows the decode memory element 5, and the difference from FIG.
Since the 4-bit address signal is simultaneously input to the decode memory element 5, and after decoding, the data stored at the address indicated by the address signal is simultaneously output again, the decode memory element 5 has 14 address receiving pins A0-A13. , And eight data output pins D0-D7
And the decode memory element 5 further includes a chip-selection pin CS ↓
And an output-enabling pin OE ↓. FIG. 12 shows the signal timing of each pin of the circuit in FIG.

【0010】並列式の利点は各ビットのアドレス及びデ
ータがいずれも対応するピンにより受信又は出力される
ので、一回の読み取りで完全に揃ったデータを得ること
ができ、読み取りが高速であることにある。
[0010] The advantage of the parallel type is that, since both the address and data of each bit are received or output by the corresponding pins, complete data can be obtained by one reading and the reading speed is high. It is in.

【0011】しかしながらその欠点は、ピンが多すぎ、
パッケージのコストが増大することである。また、デコ
ードメモリー素子5を制御する外部の制御器は相当数の
ピンを用いてこれらのアドレスピン及びデータピンを制
御しなければならないので、制御器の制御ピンが増加し
てしまう。また、一旦デコードメモリー素子5が拡張さ
れると、全体のデコードメモリー素子5のピン数が増加
するため、外部周辺の制御システムを改めてレイアウト
し設計しなければならない。
However, the disadvantage is that there are too many pins,
The cost of the package increases. In addition, since an external controller for controlling the decode memory element 5 must control these address pins and data pins using a considerable number of pins, the number of control pins of the controller increases. Further, once the decode memory element 5 is expanded, the number of pins of the entire decode memory element 5 increases, so that the external peripheral control system must be laid out and designed again.

【0012】上記課題を解決するため、本発明は効果的
にメモリーデータのアクセス速度を向上させるメモリー
アクセスのインターフェイス回路及びメモリーアクセス
の方法を提供することを主たる目的とする。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, it is a main object of the present invention to provide a memory access interface circuit and a memory access method for effectively improving the access speed of memory data.

【0013】本発明の他の目的は効果的にメモリーのピ
ン数とパッケージのコストを低下させることができるメ
モリーアクセスのインターフェイス回路及びメモリーア
クセスの方法を提供することにある。
Another object of the present invention is to provide a memory access interface circuit and a memory access method which can effectively reduce the number of pins of a memory and the cost of a package.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するた
め、本発明メモリーアクセスのインターフェイス回路
は、各アドレスがそれぞれ1データに対応する複数のア
ドレスを備えたデコードメモリー素子のデータを読み取
るインターフェイス回路であって、外部から何回かに分
けて直列的に入力される前記デコードメモリー素子の1
アドレス信号を記憶し、前記アドレス信号を同一時間に
前記デコードメモリー素子に出力するアドレス記憶回路
と、前記アドレス信号が示すアドレスに格納された前記
デコードメモリー素子のデータを一時に記憶するデータ
出力緩衝回路と、前記アドレス記憶回路と前記データ出
力緩衝回路とに接続され、前記アドレス記憶回路が同時
に受信できるビット数と、前記データ出力緩衝回路が同
時に出力できるビット数とを設定するビット選択回路
と、前記アドレス記憶回路と前記データ出力緩衝回路と
に接続され、前記アドレス記憶回路及び前記データ出力
緩衝回路に入力される可能化信号と、前記デコードメモ
リー素子に入力される読み書き信号とを出力する制御回
路とを備え、複数のアドレス/データピンの一部が、前
記アドレス及びデータを分割して転送するための外部の
制御器に電気的に接続され、前記複数のアドレス/デー
タピンの前記一部の数は、前記ビット選択回路により設
定されたビット数に応じて決定される
In order to achieve the above object, an interface circuit for memory access according to the present invention is an interface circuit for reading data from a decode memory element having a plurality of addresses, each address corresponding to one data. And one of the decode memory elements which are serially input from the outside several times.
An address storage circuit for storing an address signal and outputting the address signal to the decode memory element at the same time; and a data output buffer circuit for temporarily storing the data of the decode memory element stored at the address indicated by the address signal A bit selection circuit connected to the address storage circuit and the data output buffer circuit, the bit selection circuit setting the number of bits that the address storage circuit can receive simultaneously and the number of bits that the data output buffer circuit can output simultaneously; A control circuit that is connected to the address storage circuit and the data output buffer circuit, and that outputs an enabling signal input to the address storage circuit and the data output buffer circuit, and a read / write signal input to the decode memory element; And some of the address / data pins are
External address for dividing and transferring the address and data
The plurality of addresses / data are electrically connected to a controller.
The number of tap pins is set by the bit selection circuit.
It is determined according to the specified number of bits .

【0015】前記デコードメモリー素子は読出し専用記
憶装置であり、前記アドレス記憶回路は、好適には、前
記制御回路及び前記デコードメモリー素子に接続され、
前記アドレス信号を記憶するアドレスカウンタと、前記
ビット選択回路、前記アドレスカウンタ及び前記制御回
路に接続され、前記ビット選択回路内に設定されたビッ
ト数に基づいて複数のアドレスポインタ信号を発生さ
せ、外部より前記デコードメモリー素子のアドレス信号
を入力する度に前記アドレスポインタ信号を提供して、
前記アドレスカウンタが前記アドレスを記憶するのに必
要なアドレスポインタとするアドレスポインタ発生器と
を備える。
[0015] The decode memory element is a read-only storage device, and the address storage circuit is preferably connected to the control circuit and the decode memory element.
An address counter for storing the address signal, connected to the bit selection circuit, the address counter and the control circuit, and generating a plurality of address pointer signals based on the number of bits set in the bit selection circuit; Providing the address pointer signal each time an address signal of the decode memory element is input,
An address pointer generator, wherein the address counter serves as an address pointer necessary for storing the address.

【0016】好適には、前記データ出力緩衝回路は、前
記制御回路及び前記デコードメモリー素子に接続され、
前記アドレス信号が示す前記デコードメモリー素子内の
アドレスに格納されているデータを記憶し、何回かに分
けて直列的に出力する1方向データ緩衝器と、前記ビッ
ト選択回路、前記データ緩衝器及び前記制御回路に接続
され、前記ビット選択回路内に設定されたビット数に基
づいて、複数のデータ出力ポインタを発生させることに
より、前記データ緩衝器がこれら複数のデータ出力ポイ
ンタに基づいて、前記データ緩衝器により出力されるべ
き度毎のデータビットを決定するデータポインタ発生器
とを備える。
Preferably, the data output buffer circuit is connected to the control circuit and the decode memory element,
A one-way data buffer for storing data stored at an address in the decode memory element indicated by the address signal and serially outputting the divided data in several times, the bit selection circuit, the data buffer, The data buffer is connected to the control circuit and generates a plurality of data output pointers based on the number of bits set in the bit selection circuit. A data pointer generator for determining a data bit for each degree to be output by the buffer.

【0017】ここで、前記アドレス記憶回路が一度に受
信するアドレスのビット数は前記デコードメモリー素子
のアドレスのビット数よりも少なく、前記データ出力緩
衝回路により一度に出力されるデータのビット数は前記
デコードメモリー素子の各アドレスに格納されているデ
ータのビット数よりも少ない。
Here, the number of bits of the address received at one time by the address storage circuit is smaller than the number of bits of the address of the decode memory element, and the number of bits of data output at one time by the data output buffer circuit is It is smaller than the number of bits of data stored in each address of the decode memory element.

【0018】また、上記目的を達成する為の本発明のメ
モリーアクセスのインターフェイス回路は、読み取り及
び書き込みの2種の状態を備えた、デコードメモリー素
子のデータをアクセスするインターフェイス回路であっ
て、外部から何回かに分けて直列的に入力される前記デ
コードメモリー素子のアドレス信号を記憶し、前記アド
レス信号を同一時間に前記デコードメモリー素子に出力
するアドレス記憶回路と、前記インターフェイス回路が
読み取り状態にある時には前記アドレス信号が示すアド
レスに格納された前記デコードメモリー素子のデータを
一時に記憶し、逆に前記インターフェイス回路が書き込
み状態にある時には、外部より入力されたデータを一時
に記憶するデータ緩衝回路と、前記アドレス記憶回路と
前記データ緩衝回路とに接続され、前記アドレス記憶回
路が同時に受信できるビット数と、及び前記データ緩衝
回路が同時に出力できるビット数に設定するビット選択
回路と、前記アドレス記憶回路と前記データ緩衝回路と
に接続され、前記アドレス記憶回路及び前記データ緩衝
回路とに入力される可能化信号と、前記デコードメモリ
ー素子に入力される読み書き信号とを出力すると共に、
前記インターフェイス回路を制御するための信号を発生
させる制御回路とを備え、複数のアドレス/データピン
の一部が、前記アドレス及びデータを分割して転送する
ための外部の制御器に電気的に接続され、前記複数のア
ドレス/データピンの前記一部の数は、前記ビット選択
回路により設定されたビット数に応じて決定される
The memory access interface circuit according to the present invention for achieving the above object is an interface circuit for accessing data of a decode memory element having two states of reading and writing. The address memory circuit that stores the address signal of the decode memory element that is serially input several times and outputs the address signal to the decode memory element at the same time, and the interface circuit is in a read state. A data buffer circuit for temporarily storing the data of the decode memory element stored at the address indicated by the address signal, and conversely, for temporarily storing externally input data when the interface circuit is in a write state; The address storage circuit and the data buffer circuit. Connected to the number of bits that can be received simultaneously by the address storage circuit, and a bit selection circuit that sets the number of bits that can be output simultaneously by the data buffer circuit, connected to the address storage circuit and the data buffer circuit, Outputting an enable signal input to the address storage circuit and the data buffer circuit, and a read / write signal input to the decode memory element,
A control circuit for generating a signal for controlling the interface circuit, wherein a plurality of address / data pins are provided.
A part of the address and the data are divided and transferred.
Electrically connected to an external controller for
The number of dress / data pins is determined by the bit selection.
It is determined according to the number of bits set by the circuit .

【0019】前記デコードメモリー素子はランダムアク
セスメモリー素子であり、前記アドレス記憶回路は、好
適には、前記制御回路及び前記デコードメモリー素子に
接続され、前記アドレス信号を記憶するアドレスカウン
タと、前記ビット選択回路、前記アドレスカウンタ及び
前記制御回路に接続され前記ビット選択回路内に設定さ
れたビット数に基づいて複数のアドレスポインタ信号を
発生させ、外部から前記デコードメモリー素子のアドレ
ス信号が入力される度に前記アドレスポインタ信号を提
供して、前記アドレスカウンタが前記アドレスを記憶す
るのに必要なアドレスポインタとするアドレスポインタ
発生器とを備える。
The decode memory element is a random access memory element, and the address storage circuit is preferably connected to the control circuit and the decode memory element, and stores an address counter for storing the address signal; A plurality of address pointer signals are generated based on the number of bits set in the bit selection circuit connected to the circuit, the address counter and the control circuit, and each time an address signal of the decode memory element is input from outside. An address pointer generator for providing the address pointer signal, the address counter being an address pointer necessary for storing the address.

【0020】前記データ緩衝回路は、好適には、前記制
御回路及び前記デコードメモリー素子に接続されて、前
記インターフェイス回路が読み取り状態にある時には、
前記アドレス信号が示す前記デコードメモリー素子内の
アドレスに格納されたデータを一時に記憶し、何回かに
分けて直列的にデータを外部に出力し、逆に、前記イン
ターフェイス回路が書き込み状態にある時には、外部か
ら何回かに分けて入力されたデータを一時に記憶して、
前記アドレス信号が示す前記デコードメモリー素子内の
アドレスに前記データが書き込まれるようにされている
2方向データ緩衝器と、前記ビット選択回路、前記2方
向データ緩衝器及び前記制御回路に接続され、前記ビッ
ト選択回路内に設定されたビット数に基づいてデータ出
力ポインタ信号を前記2方向データ緩衝器に提供するこ
とにより、前記2方向データ緩衝器により毎度出力され
るべき出力/入力のデータビットを決定するデータポイ
ンタ発生器とを備える。
The data buffer circuit is preferably connected to the control circuit and the decode memory element, and when the interface circuit is in a reading state,
The data stored in the address in the decode memory element indicated by the address signal is temporarily stored, and the data is serially output to the outside several times, and conversely, the interface circuit is in a write state. Occasionally, data that has been input from the outside divided into several times is stored at one time,
A two-way data buffer in which the data is written to an address in the decode memory element indicated by the address signal; and a bit selection circuit, the two-way data buffer and the control circuit, By providing a data output pointer signal to the two-way data buffer based on the number of bits set in the bit selection circuit, the output / input data bits to be output each time by the two-way data buffer are determined. A data pointer generator.

【0021】前記アドレス記憶回路が一度に受信するア
ドレスのビット数は前記各デコードメモリー素子のアド
レスのビット数よりも少なく、そして前記データ緩衝器
が一度に入出力するデータビット数は前記デコードメモ
リー素子の各アドレスに対応するデータのビット数より
少ない。
The number of bits of an address received by the address storage circuit at one time is smaller than the number of bits of an address of each of the decode memory elements, and the number of data bits input and output by the data buffer at one time is equal to the number of the decode memory elements. Is smaller than the number of bits of data corresponding to each address.

【0022】さらに、前記目的を達成するため本発明の
メモリー読み取り方法は、複数のアドレス/データピン
の一部が、アドレス及びデータを分割して転送するため
の外部の制御器に電気的に接続され、前記複数のアドレ
ス/データピンの前記一部の数を、ビット選択回路によ
り設定されたビット数に応じて決定するステップと、
記デコードメモリー素子の1アドレス分の信号が完全に
記憶されるまで、外部から前記アドレス信号の一部を順
次受信記憶するステップと、前記アドレス信号を前記
コードメモリー素子へ一度に送信するステップと、前記
アドレス信号が示すアドレスのデータを前記デコードメ
モリー素子から一度に受信記憶するステップと、前記ア
ドレス信号が示すアドレスのデータが完全に出力される
まで、データの一部を外部に順次出力するステップとを
有する。
Further, in order to achieve the above object, the memory reading method of the present invention comprises a plurality of address / data pins.
Part of the address and data is divided and transferred
Is electrically connected to a controller external to the plurality of addresses.
The number of the part of the data / data pins is determined by a bit selection circuit.
Determining according to the set number of bits , sequentially receiving and storing a part of the address signal from outside until a signal for one address of the decode memory element is completely stored; transmitting a signal at a time to the de <br/> code memory device, receiving stored once data address indicated by the address signal from said decoding memory device, the data of the address which the address signal indicates the Sequentially outputting a part of the data to the outside until the data is completely output.

【0023】また、前記目的を達成するため、本発明デ
コードメモリー素子の書き込み方法は、複数のアドレス
/データピンの一部が、アドレス及びデータを分割して
転送するための外部の制御器に電気的に接続され、前記
複数のアドレス/データピンの前記一部の数を、ビット
選択回路により設定されたビット数に応じて決定するス
テップと、前記デコードメモリー素子の1アドレス分の
信号が完全に記憶されるまで、外部から前記アドレス信
号の一部を順次受信記憶するステップと、前記アドレス
信号が示すアドレスに格納すべきデータが完全に記憶さ
れるまで、外部からデータの一部を順次受信記憶するス
テップと、前記アドレス信号が示す前記デコードメモリ
ー素子内のアドレスにデータを一度に書き込むステップ
とを有する。
[0023] In order to achieve the above object, the writing method of the present invention decode memory device includes a plurality of address
/ Some of the data pins split the address and data
Electrically connected to an external controller for transferring,
The number of said part of the plurality of address / data pins is represented by bits
A switch determined according to the number of bits set by the selection circuit
Step and until said one address signal decoding memory element is completely stored, the method comprising: sequentially receiving stores some of the address signal from the outside, the data to be stored in the address which the address signal indicates complete Sequentially receiving and storing a part of the data from the outside until the data is stored in the decode memory element, and writing the data at once to an address in the decode memory element indicated by the address signal.

【0024】[0024]

【発明の実施の形態】本発明のその他、目的、構成特徴
及び効果は以下添付図を参照しながら実施形態を説明す
ればよく理解できるであろう。勿論本発明はこれら実施
形態に限定されるものでなく、本発明の技術的思想、並
びに添付クレームの範囲を逸脱しない限り、種々の修
飾、変更が許容されるのはいうまでもない。
BRIEF DESCRIPTION OF THE DRAWINGS Other objects, structural features and effects of the present invention can be better understood by describing the embodiments with reference to the accompanying drawings. Of course, the present invention is not limited to these embodiments, and it goes without saying that various modifications and changes are allowed without departing from the technical idea of the present invention and the scope of the appended claims.

【0025】図1は本願発明に係るメモリー読み取りの
インターフェイス回路6の好適な実施形態を示すブロッ
ク図である。前記インターフェイス回路6はデコードメ
モリー素子11のデータを読み取るためのもので、この
インターフェイス回路6には、制御回路7と、アドレス
記憶回路8と、ビット選択回路9と、データ出力緩衝回
路10とが備えられている。アドレス記憶回路8は制御
回路7及びデコードメモリー素子11に接続されるアド
レスカウンタ13と、ビット選択回路9に接続されるア
ドレスポインタ発生器12とを備えてなり、そして、デ
ータ出力緩衝回路10は、制御回路7及びデコードメモ
リー素子に接続される1方向データ緩衝器14と、ビッ
ト選択回路9、1方向データ緩衝器14及び制御回路7
に接続されるデータポインタ発生器15とを備えてい
る。本実施形態に使用されているデコードメモリー素子
11は読み出し専用記憶装置(ROM)である。
FIG. 1 is a block diagram showing a preferred embodiment of a memory reading interface circuit 6 according to the present invention. The interface circuit 6 is for reading data from the decode memory element 11. The interface circuit 6 includes a control circuit 7, an address storage circuit 8, a bit selection circuit 9, and a data output buffer circuit 10. Have been. The address storage circuit 8 includes an address counter 13 connected to the control circuit 7 and the decode memory element 11, and an address pointer generator 12 connected to the bit selection circuit 9, and the data output buffer circuit 10 One-way data buffer 14 connected to control circuit 7 and decode memory element, bit selection circuit 9, one-way data buffer 14 and control circuit 7
And a data pointer generator 15 connected to the data pointer. The decode memory element 11 used in the present embodiment is a read-only storage device (ROM).

【0026】そして、デコードメモリー素子11と、制
御回路7と、アドレス回路8と、ビット選択回路9と、
データ出力緩衝回路10とは同一のICパッケージ61
内に配置されており、このIC61は、ピンWR↓,R
D↓,CS↓及びアドレス/データピンADo〜ADnを
備え、本実施形態ではn=7である。
The decode memory element 11, the control circuit 7, the address circuit 8, the bit selection circuit 9,
The same IC package 61 as the data output buffer circuit 10
This IC 61 is connected to pins WR ↓, R
D ↓, CS ↓ and address / data pins ADo to ADn. In this embodiment, n = 7.

【0027】この図1の動作を説明すると、nを7と
し、デコードメモリー素子11の各アドレスを32ビッ
トとし、そして各アドレスに16ビットのデータが格納
されているものとし、ADo〜AD7が完全に使用される
とすれば、外部より一回につき多くとも8ビットのアド
レス信号しか入力できないので、4回(8ビット/回)
入力してから32ビットのアドレス信号の入力が完成さ
れる。この際、ビット選択回路9はn値に基づいてアド
レスポインタ発生器12に複数のアドレスポインタを発
生させ、第1組の8ビットのアドレスがAD0〜AD7
入力された時に、制御回路7はアドレスポインタ発生器
12をして第1個目のアドレスポインタをアドレスカウ
ンタ13に伝送せしめ、これにより、アドレスカウンタ
13が第1個目のアドレスポインタにより指示されたア
ドレスに基づいて第1組の8ビットのアドレスをその内
部に記憶させる。その後、第2組の8ビットのアドレス
がAD0〜AD7に入力された時、アドレスポインタ発生
器12は第2個目のアドレスポインタをアドレスカウン
タ13に伝送せしめ、これによりアドレスカウンタ13
が第2個目のアドレスポインタにより指示されたアドレ
スに基づいて第2組の8ビットのアドレスをその内部に
記憶させる。このようにして、32ビットのアドレス信
号が完全にアドレスカウンタ13内に記憶された時、制
御回路7はアドレスカウンタ13をして32ビットのア
ドレス信号をデコードメモリー素子11に伝送せしめ、
デコードメモリー素子11を使用可能状態(enable)に
させてこれらアドレス信号をデコードする。これと同時
にデコードメモリー素子11は並列的に前記1アドレス
信号に対応する16ビットのデータを1方向緩衝器14
に出力すると共に、ビット選択回路9もn値に基づい
て、データポインタ15に複数のデータ出力ポインタを
発生させる一方、制御回路7はデータポインタ発生器1
5をして第1個のデータ出力ポインタを1方向データ緩
衝器14に伝送せしめ、この1方向データ緩衝器14に
より出力されるべき毎度のデータビットを制御するよう
にしている。この際、n=7であるので、データ緩衝器
14には16ビットのデータを有しているが、この16
ビットのデータが前後2回に分けてAD0〜AD7より出
力されることによって、1個のアドレスデータの読み取
りが完成される。
[0027] In the operation of FIG. 1, a n is 7, then each address decoding memory element 11 and 32 bits, and it is assumed that 16-bit data is stored in each address, ADo~AD 7 is If used completely, only at most 8 bits of address signal can be input from the outside at one time, so 4 times (8 bits / time)
After the input, the input of the 32-bit address signal is completed. At this time, the bit selection circuit 9 generates a plurality of address pointers in the address pointer generator 12 based on the n value, and when the first set of 8-bit addresses is input to AD 0 to AD 7 , the control circuit 7 Causes the address pointer generator 12 to transmit the first address pointer to the address counter 13 so that the address counter 13 generates the first set of addresses based on the address indicated by the first address pointer. An 8-bit address is stored therein. Thereafter, when the second set of 8-bit addresses are input to AD 0 to AD 7 , the address pointer generator 12 causes the second address pointer to be transmitted to the address counter 13.
Stores a second set of 8-bit addresses therein based on the address pointed to by the second address pointer. Thus, when the 32-bit address signal is completely stored in the address counter 13, the control circuit 7 causes the address counter 13 to transmit the 32-bit address signal to the decode memory element 11,
These address signals are decoded by setting the decode memory element 11 to a usable state (enable). At the same time, the decode memory element 11 stores the 16-bit data corresponding to the one address signal in a one-way buffer 14 in parallel.
And the bit selection circuit 9 also generates a plurality of data output pointers for the data pointer 15 based on the n value, while the control circuit 7 outputs the data pointer generator 1
5, the first data output pointer is transmitted to the one-way data buffer 14, and the data bits to be output by the one-way data buffer 14 are controlled each time. At this time, since n = 7, the data buffer 14 has 16-bit data.
The reading of one address data is completed by outputting the bit data in two steps before and after AD 0 to AD 7 .

【0028】図2は図1の各ピンのタイミング図であ
り、CS↓がLOWの時、IC6の回路は動作可能状態
となり、WR↓がLOWの時、外部からのアドレス信号
の入力が許容され、そしてRD↓がLOWの時、データ
の出力が許容される。ここにA0〜A2n+1はアドレスビ
ットを表し、D0〜D2n+1はデータビットを表す。
FIG. 2 is a timing chart of each pin of FIG. 1. When CS ↓ is LOW, the circuit of the IC 6 becomes operable, and when WR ↓ is LOW, input of an external address signal is permitted. When RD ↓ is LOW, data output is allowed. Here, A 0 to A 2n + 1 represent address bits, and D 0 to D 2n + 1 represent data bits.

【0029】本発明はWR↓及びRD↓の2信号を与え
てそれぞれアドレス信号の書き込み及びデータの読み取
りタイミングを制御していることで、外部周辺の制御回
路を実際のアドレスに基づいて変化させ、適時にアドレ
ス信号の書き込み及びデータ読み取りのタイミングを調
整することができるため、以下の利点を有する。
According to the present invention, the two signals WR ↓ and RD ↓ are given to control the timing of writing the address signal and the timing of reading the data, respectively, so that the external peripheral control circuit is changed based on the actual address. Since the timing of writing the address signal and reading the data can be adjusted in a timely manner, the following advantages are provided.

【0030】1組のアドレス信号のデータが完全に読み
取られた後、アドレスカウンタが自動的に繰り上がり、
次のデコードメモリー素子11のアドレスを指向する。
従って、もし外部の周辺制御器が読み取ろうとするデー
タが連続アドレスのデータであれば、第1組のアドレス
の指すデータが読み取られてから、外部の周辺制御器は
RD↓に繰り返し信号を入力して直接これらの連続アド
レスが指すデータを読み取ればよく、再び以後のアドレ
ス信号を書き込む必要がない。このようにすればアドレ
スの書き込み時間を大量に節約することができる。
After the data of one set of address signals is completely read, the address counter is automatically incremented,
The address of the next decode memory element 11 is directed.
Therefore, if the data to be read by the external peripheral controller is continuous address data, after the data indicated by the first set of addresses is read, the external peripheral controller repeatedly inputs a signal to RD ↓. It is sufficient to directly read the data indicated by these continuous addresses, and there is no need to write subsequent address signals again. In this way, a large amount of address writing time can be saved.

【0031】そして、1アドレス信号が完全に書き込ま
れた後の度に、WR↓はHIGHとなり、この時アドレ
スポインタ発生器12は制御回路7により0にクリアさ
れる。一方1アドレス信号の指すデータが読み取られた
後、RD↓はHIGHとなり、データポインタ発生器1
5が制御回路7により0にクリアされる。従って、IC
外部の制御器より入力される前記アドレス信号のビット
の低ビットにのみ差異がある時には、外部の制御器より
入力された、その異なる低ビットがアドレスカウンタ1
3の低ビットの位置(アドレスポインタ発生器12がす
でに0にクリアされたため)に書き込まれる。この時点
で、アドレスカウンタ13内に記憶されているアドレス
は所望の次の1アドレスとなっているので、アドレス信
号の内の不変高ビットを再び書き込む必要がなく、外部
の制御器によりRD↓をLOWにすれば、読み取り動作
が開始できる。
Each time one address signal is completely written, WR ↓ becomes HIGH. At this time, the address pointer generator 12 is cleared to 0 by the control circuit 7. On the other hand, after the data pointed to by one address signal is read, RD ↓ becomes HIGH, and the data pointer generator 1
5 is cleared to 0 by the control circuit 7. Therefore, IC
When there is a difference only in the low bit of the bit of the address signal input from the external controller, the different low bit input from the external controller is used as the address counter 1
Written at the low bit position of 3 (because the address pointer generator 12 has already been cleared to 0). At this time, since the address stored in the address counter 13 is the desired next one address, there is no need to write the invariable high bit of the address signal again, and RD ↓ is set by an external controller. If LOW, the reading operation can be started.

【0032】図3は図1においてn=7の場合の各ピン
のタイミング図である。図において、A0〜A31はアド
レスビットを示し、D0〜D15はA0,A31の第1部分の
データと第2部分のデータとに対応することを示す。
尚、図4,図5はそれぞれ図1においてn=3,0の場
合の、各ピンのタイミング図を示す。
FIG. 3 is a timing chart of each pin when n = 7 in FIG. In the figure, A 0 to A 31 indicate address bits, and D 0 to D 15 indicate that they correspond to the data of the first part and the data of the second part of A 0 and A 31 .
FIGS. 4 and 5 show timing charts of the respective pins when n = 3 and 0 in FIG.

【0033】8本のアドレス/データピンを設けた場合
でも、その中の一部のピン、例えば4本又は1本のピン
を、外部の制御回路と接続すれば、その効果は、アドレ
ス/データピンが4本又は1本である場合の効果と同じ
である。
Even when eight address / data pins are provided, if some of the pins, for example, four or one pin, are connected to an external control circuit, the effect is as follows. The effect is the same as when four or one pins are used.

【0034】図6は本発明に係るメモリーアクセスのイ
ンターフェイス回路の好適な実施形態を示す図である。
このインターフェイス回路25はデコードメモリー素子
20のデータをアクセスするためのもので、このインタ
ーフェイス回路25には、制御回路16と、アドレス記
憶回路17と、ビット選択回路18と、データ緩衝回路
19とが備えられてあり、アドレス記憶回路17はアド
レスカウンタ21とアドレスポインタ発生器22とによ
り構成され、データ緩衝器19は2方向データ緩衝器2
3と、データポインタ発生器24とにより構成されてい
る。本実施形態と、図1の実施形態との異なる点は、図
1の実施形態のデコードメモリー素子11が読み出し専
用記憶装置(ROM)であるのに対し、図6のデコード
メモリー素子20はランダムアクセスメモリー(RA
M)とされる点である。従って、本実施形態におけるイ
ンターフェイス回路25は読み取り及び書き込みの2種
の状態を有する。また、図1に使用されたのが1方向デ
ータ緩衝器であるのに対し、図6の実施形態は2方向の
データ緩衝器を使用している。
FIG. 6 is a diagram showing a preferred embodiment of the memory access interface circuit according to the present invention.
The interface circuit 25 is for accessing data in the decode memory element 20. The interface circuit 25 includes a control circuit 16, an address storage circuit 17, a bit selection circuit 18, and a data buffer circuit 19. The address storage circuit 17 comprises an address counter 21 and an address pointer generator 22, and the data buffer 19 is a two-way data buffer 2.
3 and a data pointer generator 24. The difference between the present embodiment and the embodiment of FIG. 1 is that the decode memory element 11 of the embodiment of FIG. 1 is a read-only storage device (ROM), whereas the decode memory element 20 of FIG. Memory (RA
M). Therefore, the interface circuit 25 in the present embodiment has two states of reading and writing. Also, while the one-way data buffer is used in FIG. 1, the embodiment of FIG. 6 uses a two-way data buffer.

【0035】そして本実施形態において書き込み状態を
可能とするため、図6の制御回路16には1本のピンS
ADが図1の実施形態より多く設けられている。インタ
ーフェイス回路25が読み取り状態である時にはSAD
は動作せず、IC26内の各回路は図1と同じ動作をす
る。
In order to enable a write state in this embodiment, one pin S is provided in the control circuit 16 of FIG.
More ADs are provided than in the embodiment of FIG. When the interface circuit 25 is in the reading state, the SAD
Does not operate, and each circuit in the IC 26 operates the same as in FIG.

【0036】そして、インターフェイス回路25が書き
込み状態にある時に、書き込み信号がアドレス信号であ
るか、又はデータ信号であるかを区分するために、SA
Dは2状態(HIGH、LOW)を有する。例えばSA
DがHIGHの時には外部より入力された信号はアドレ
ス信号であり、逆にSADがLOWの時には外部より入
力された信号はデータ信号となる。アドレス信号の入力
過程においては図1の実施形態と同じようにしてアドレ
スカウンタ21に記憶される。入力信号がデータ信号の
場合、制御回路が2方向データ緩衝器23の信号伝送方
向を改変し、外部よりAD0〜ADnを介して2方向デー
タ緩衝器23の内部に記憶されたデータは、デコードメ
モリー素子20に伝送され、アドレスカウンタが示すア
ドレスに書き込まれる。
When the interface circuit 25 is in the write state, the SA is used to distinguish whether the write signal is an address signal or a data signal.
D has two states (HIGH, LOW). For example, SA
When D is HIGH, an externally input signal is an address signal, and when SAD is LOW, an externally input signal is a data signal. In the process of inputting the address signal, it is stored in the address counter 21 in the same manner as in the embodiment of FIG. If the input signal is a data signal, the control circuit modifies the signal transmission direction of bidirectional data buffer 23, data stored inside the through AD 0 to AD n externally bidirectional data buffer 23, The data is transmitted to the decode memory element 20 and written to the address indicated by the address counter.

【0037】本願発明はさらにメモリー読み取り方法も
提供しており、そのフローチャートを図7に基づいて説
明すれば、本発明の実施形態は、(a)前記デコードメ
モリー素子の1アドレス信号が完全に記憶されるまで、
デコードメモリー素子の1アドレス信号の一部を順次受
信、記憶する(例えば、32ビットの1アドレス信号を
4回に分けて、直列的に毎度8ビットずつ伝送する)ス
テップと、(b)前記1アドレス信号をデコードメモリ
ーへ一度に出力するステップと、(c)前記アドレス信
号が示すアドレスのデータをデコードメモリから一度に
受信、記憶するステップと、(d)前記アドレス信号が
示すアドレスのデータが完全に出力されるまで、データ
の一部を順次出力する(例えば、16ビットのデータは
2回に分けて直列的に毎度8ピットずつ出力される。)
ステップを備えている。
The present invention further provides a memory reading method. Referring to the flowchart of FIG. 7, the embodiment of the present invention is as follows. (A) One address signal of the decode memory element is completely stored Until
(B) sequentially receiving and storing a part of one address signal of the decode memory element (for example, dividing one 32-bit address signal into four times and transmitting serially 8 bits each time); Outputting the address signal to the decode memory at one time; (c) receiving and storing the data of the address indicated by the address signal at one time from the decode memory; and (d) completely storing the data of the address indicated by the address signal. Is output sequentially (for example, 16-bit data is serially divided into two and output eight bits each time).
It has steps.

【0038】図1を参照すれば図7から示されるフロー
の動作がより理解できるのはいうまでもない。
It goes without saying that the operation of the flow shown in FIG. 7 can be better understood with reference to FIG.

【0039】図6に基づく実施形態は、メモリー書き込
み方法をも提供しており、これについて説明すれば
(a)前記アドレス信号が完全に記憶されるまで、前記
1アドレス信号の一部を順次受信記憶し(例えば32ビ
ットの1アドレス信号を4回に分けて、直列的に8ビッ
トづつ受信する)、(b)前記1アドレス信号が示すア
ドレスに格納すべきるデータが完全に記憶されるまで、
外部からデータの一部を順次受信記憶し、(例えば16
ビットのデータを2回に分けて、直列的に毎度8ビット
づつ受信する)、(c)前記1アドレス信号に対応する
データを、前記デコードメモリー素子に一度に書き込む
ステップを備えている。
The embodiment according to FIG. 6 also provides a memory writing method, in which (a) receiving part of the one address signal sequentially until the address signal is completely stored. (For example, a 32-bit one address signal is divided into four times and received in 8-bit units in series). (B) Until the data to be stored at the address indicated by the one address signal is completely stored,
A part of the data is sequentially received and stored from the outside (for example, 16
Bit data is divided into two times and eight bits are received in series each time), and (c) writing data corresponding to the one address signal into the decode memory element at one time.

【0040】図6の実施形態を参照すれば、図8に示さ
れるフローの動作がよく理解できるのは当然である。
Referring to the embodiment of FIG. 6, it is obvious that the operation of the flow shown in FIG. 8 can be well understood.

【0041】[0041]

【作用】本発明はWR↓及びRD↓の2信号を与えてそ
れぞれアドレス信号の書き込み及びデータの読み取りの
タイミングを制御しているため周辺の制御回路を実際の
アドレスに基づいて変化させ、適時にアドレス信号の書
き込み及びデータの読み取りのタイミングを調整するこ
とができるので以下の優れた作用効果を有する。
According to the present invention, the two signals WR ↓ and RD ↓ are given to control the timing of writing the address signal and the timing of reading the data, respectively, so that the peripheral control circuit is changed based on the actual address, and timely. Since the timing for writing the address signal and the timing for reading the data can be adjusted, the following excellent operational effects can be obtained.

【0042】1組のアドレス信号のデータが完全に読み
取られた後、アドレスカウンタが自動的に繰り上がり、
次のデコードメモリー素子のアドレスを指す。従って、
もし外部の周辺制御記が読み取ろうとするデータが連続
アドレスのデータであれば、第1組目のアドレスの指す
データが読み取られてから、外部の周辺制御器はRD↓
を繰り返し使用可能状態にして直接これら連続アドレス
の指すデータを読み取ればよく、再び以後のアドレス信
号を書き込む必要がない。このようにすればアドレスの
書き込み時間を大量に節約することができる。
After the data of one set of address signals is completely read, the address counter is automatically incremented,
Indicates the address of the next decode memory element. Therefore,
If the data to be read by the external peripheral controller is continuous address data, the external peripheral controller reads RD ↓ after the data indicated by the first set of addresses is read.
Can be used repeatedly to read the data indicated by these consecutive addresses directly, and there is no need to write subsequent address signals again. In this way, a large amount of address writing time can be saved.

【0043】そして1アドレス信号が完全に書き込まれ
た後の度にWR↓はHIGHとなり、この時アドレスポ
インタ発生器は制御回路により0にクリアされる。一
方、1アドレス信号の指すデータが読み取られた後、R
D↓はHIGHとなり、データポインタ発生器が制御回
路により0にクリアされる。従って、IC外部の制御器
より入力される前記アドレス信号の低ビットにのみ差異
がある時に、外部の制御器により入力された、その異な
る低ビットがアドレスカウンタの低ビットの位置(アド
レスポインタ発生器がすでに0にクリアされたため)に
書き込まれる。この時、アドレスカウンタに存在されて
いるアドレスは所望の次の1アドレスをしめしているの
で、アドレス信号の不変高ビットを再び書き込む必要が
なく、外部の制御器によりRD↓をLOWすれば、読み
取り動作を直ぐに開始できるのでメモりデータのアクセ
ス速度を向上させることができる。
Each time one address signal is completely written, WR ↓ becomes HIGH. At this time, the address pointer generator is cleared to 0 by the control circuit. On the other hand, after the data indicated by one address signal is read, R
D ↓ becomes HIGH, and the data pointer generator is cleared to 0 by the control circuit. Therefore, when there is a difference only in the low bit of the address signal input from the controller outside the IC, the different low bit input by the external controller is used as the low bit position (address pointer generator) of the address counter. Has already been cleared to 0). At this time, since the address present in the address counter indicates the desired next address, there is no need to write the invariable high bit of the address signal again. If RD ↓ is LOW by an external controller, the address is read. Since the operation can be started immediately, the access speed of the memory data can be improved.

【0044】[0044]

【発明の効果】上記の説明から分かるように、本発明の
装置及び方法は事実上直列式及び並列式の利点を修正し
たもので、実際に必要な読み取り速度の要求に応じてイ
ンターフェイス回路の必要ピン数を調整できることか
ら、選択性が極めて向上する。
As can be seen from the above description, the apparatus and method of the present invention effectively modifies the advantages of serial and parallel arrangements, requiring the interface circuit to meet the actual required reading speed requirements. Since the number of pins can be adjusted, selectivity is greatly improved.

【0045】また、上述のように、もし各アドレス信号
の間の比較的低いビットのみが変化するのであれば、変
化したアドレスビットを書き込めばデータを読み出すこ
とができ、効果的にデータの読み取り速度を向上させる
ことができる。
As described above, if only relatively low bits between each address signal change, data can be read by writing the changed address bits, and the data reading speed can be effectively reduced. Can be improved.

【0046】さらには上述のように連続アドレス信号の
指すデータを読み取る時に、これら連続アドレスの書き
込み動作を省略でき、効果的にデータの読み取り速度を
向上させることができる。
Further, as described above, when reading the data indicated by the continuous address signal, the operation of writing these continuous addresses can be omitted, and the data reading speed can be effectively improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本願発明に係るメモリー読み取りインターフェ
イス回路の好適な実施形態のブロック図である。
FIG. 1 is a block diagram of a preferred embodiment of a memory read interface circuit according to the present invention.

【図2】図1回路の各ピンの信号のタイミングを示す。FIG. 2 shows the timing of signals at each pin of the circuit of FIG.

【図3】図1回路で8本のアドレス/データピンを設け
た時の各インターフェイスピンの信号のタイミングを示
す。
FIG. 3 shows signal timing of each interface pin when eight address / data pins are provided in the circuit of FIG. 1;

【図4】図1回路で4本のアドレス/データピンを設け
た時の各インターフェイスピンの信号のタイミングを示
す。
FIG. 4 shows signal timing of each interface pin when four address / data pins are provided in the circuit of FIG. 1;

【図5】図1回路で1本のアドレス/データピンを設け
た時の各インターフェイスピンの信号のタイミングを示
す。
FIG. 5 shows signal timing of each interface pin when one address / data pin is provided in the circuit of FIG. 1;

【図6】本発明に係るメモリーアクセスのインターフェ
イス回路の好適な実施形態のブロック図である。
FIG. 6 is a block diagram of a preferred embodiment of a memory access interface circuit according to the present invention.

【図7】本発明に係るメモリー読み取り方法のフローチ
ャートである。
FIG. 7 is a flowchart of a memory reading method according to the present invention.

【図8】本発明に係るメモリー書き込み方法のフローチ
ャートである。
FIG. 8 is a flowchart of a memory writing method according to the present invention.

【図9】従来の、直列式でメモリーデータを読み取る回
路のブロック図である。
FIG. 9 is a block diagram of a conventional circuit for reading memory data in a serial manner.

【図10】図9の回路のインターフェイスピンの信号の
タイミングを示す。
10 shows the timing of the signals at the interface pins of the circuit of FIG. 9;

【図11】従来の、並列式でメモリーデータを読み取る
回路のブロック図である。
FIG. 11 is a block diagram of a conventional circuit for reading memory data in a parallel manner.

【図12】図11の回路のインターフェイスピンの信号
のタイミングを示す。
FIG. 12 shows the timing of signals at interface pins of the circuit of FIG. 11;

【符号の説明】[Explanation of symbols]

6、25 インターフェイス回路 7、16 制御回路 8、17 アドレス記憶回路 9、18 ビット選択回路 10、19 データ出力緩衝回路 11、20 デコードメモリー素子 12、22 アドレスポインタ発生器 13、21 アドレスカウンタ 14 一方向データ緩衝器 23 二方向データ緩衝器 15、24 データポインタ発生器 6, 25 Interface circuit 7, 16 Control circuit 8, 17 Address storage circuit 9, 18 Bit selection circuit 10, 19 Data output buffer circuit 11, 20 Decode memory element 12, 22 Address pointer generator 13, 21 Address counter 14 One-way Data buffer 23 Two-way data buffer 15, 24 Data pointer generator

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】各アドレスがそれぞれ1データに対応する
複数のアドレスを備えたデコードメモリー素子のデータ
を読み取るインターフェイス回路であって、 外部から何回かに分けて直列的に入力される前記デコー
ドメモリー素子の1アドレス信号を記憶し、前記アドレ
ス信号を同一時間に前記デコードメモリー素子に出力す
るアドレス記憶回路と、 前記アドレス信号が示すアドレスに格納された前記デコ
ードメモリー素子のデータを一時に記憶するデータ出力
緩衝回路と、 前記アドレス記憶回路と前記データ出力緩衝回路とに接
続され、前記アドレス記憶回路が同時に受信できるビッ
ト数と、前記データ出力緩衝回路が同時に出力できるビ
ット数とを設定するビット選択回路と、 前記アドレス記憶回路と前記データ出力緩衝回路とに接
続され、前記アドレス記憶回路及び前記データ出力緩衝
回路に入力される可能化信号と、前記デコードメモリー
素子に入力される読み書き信号とを出力する制御回路
と、 を備え、複数のアドレス/データピンの一部が、前記アドレス及
びデータを分割して転送するための外部の制御器に電気
的に接続され、前記複数のアドレス/データピンの前記
一部の数は、前記ビット選択回路により設定されたビッ
ト数に応じて決定される ことを特徴とするメモリー読取
りインターフェイス回路。
1. An interface circuit for reading data of a decode memory element having a plurality of addresses, each address corresponding to one data, wherein the decode memory is serially input from the outside several times. An address storage circuit for storing one address signal of an element and outputting the address signal to the decode memory element at the same time; and data for temporarily storing data of the decode memory element stored at an address indicated by the address signal An output buffer circuit, a bit selection circuit connected to the address storage circuit and the data output buffer circuit, the bit selection circuit setting the number of bits that the address storage circuit can receive simultaneously and the number of bits that the data output buffer circuit can output simultaneously Connected to the address storage circuit and the data output buffer circuit. Is the enable signal input to the address memory circuit and the data output buffer circuit, and a control circuit for outputting a write signal input to the decoding memory device, a plurality of address / data pins one Is the address and
And an external controller for dividing and transferring data.
Connected to the plurality of address / data pins.
Some numbers correspond to the bits set by the bit selection circuit.
A memory read interface circuit, which is determined according to the number of memory read interfaces.
【請求項2】前記デコードメモリー素子は読出し専用記
憶装置であり、前記アドレス記憶回路は、 前記制御回路及び前記デコードメモリー素子に接続さ
れ、前記アドレス信号を記憶するアドレスカウンタと、 前記ビット選択回路、前記アドレスカウンタ及び前記制
御回路に接続され、前記ビット選択回路内に設定された
ビット数に基づいて複数のアドレスポインタ信号を発生
させ、外部より前記デコードメモリー素子のアドレス信
号を入力する度に前記アドレスポインタ信号を提供し
て、前記アドレスカウンタが前記アドレスを記憶するの
に必要なアドレスポインタとするアドレスポインタ発生
器とを備えることを特徴とする請求項1記載のメモリー
読取りインターフェイス回路。
2. The decoding memory device according to claim 1, wherein the decoding memory device is a read-only storage device, the address storage circuit is connected to the control circuit and the decoding memory device, and stores an address counter for storing the address signal; The address counter is connected to the control circuit, and generates a plurality of address pointer signals based on the number of bits set in the bit selection circuit. 2. The memory read interface circuit according to claim 1, further comprising an address pointer generator for providing a pointer signal, said address counter being an address pointer necessary for storing said address.
【請求項3】前記データ出力緩衝回路は、 前記制御回路及び前記デコードメモリー素子に接続さ
れ、前記アドレス信号が示す前記デコードメモリー素子
内のアドレスに格納されているデータを記憶し、何回か
に分けて直列的に出力する1方向データ緩衝器と、 前記ビット選択回路、前記データ緩衝器及び前記制御回
路に接続され、前記ビット選択回路内に設定されたビッ
ト数に基づいて、複数のデータ出力ポインタを発生させ
ることにより、前記データ緩衝器がこれら複数のデータ
出力ポインタに基づいて、前記データ緩衝器により出力
されるべき毎度のデータビットを決定するデータポイン
タ発生器と、 を備えることを特徴とする請求項2記載のメモリー読取
りインターフェイス回路。
3. The data output buffer circuit is connected to the control circuit and the decode memory element, stores data stored at an address in the decode memory element indicated by the address signal, and stores the data several times. A one-way data buffer that divides and outputs serially; a plurality of data outputs that are connected to the bit selection circuit, the data buffer, and the control circuit, and that are based on the number of bits set in the bit selection circuit. A data pointer generator that determines a data bit to be output by the data buffer based on the plurality of data output pointers by generating a pointer. 3. The memory read interface circuit of claim 2, wherein:
【請求項4】前記アドレス記憶回路が一度に受信するア
ドレスのビット数は前記デコードメモリー素子のアドレ
スのビット数よりも少なく、前記データ出力緩衝回路に
より一度に出力されるデータのビット数は前記デコード
メモリー素子の各アドレスに格納されているデータのビ
ット数よりも少ないことを特徴とする請求項1記載のメ
モリー読取りインターフェイス回路。
4. The number of bits of an address received by the address storage circuit at one time is smaller than the number of bits of an address of the decode memory element, and the number of bits of data output at one time by the data output buffer circuit is the number of bits of the decode data. 2. The memory read interface circuit according to claim 1, wherein the number of bits of data stored in each address of the memory element is smaller than the number of bits.
【請求項5】読み取り及び書き込みの2種の状態を備え
た、デコードメモリー素子のデータをアクセスするイン
ターフェイス回路であって、 外部から何回かに分けて直列的に入力される前記デコー
ドメモリー素子のアドレス信号を記憶し、前記アドレス
信号を同一時間に前記デコードメモリー素子に出力する
アドレス記憶回路と、 前記インターフェイス回路が読み取り状態にある時には
前記アドレス信号が示すアドレスに格納された前記デコ
ードメモリー素子のデータを一時に記憶し、逆に前記イ
ンターフェイス回路が書き込み状態にある時には、外部
より入力されたデータを一時に記憶するデータ緩衝回路
と、 前記アドレス記憶回路と前記データ緩衝回路とに接続さ
れ、前記アドレス記憶回路が同時に受信できるビット数
と、及び前記データ緩衝回路が同時に出力できるビット
数とを設定するビット選択回路と、 前記アドレス記憶回路と前記データ緩衝回路とに接続さ
れ、前記アドレス記憶回路及び前記データ緩衝回路とに
入力される可能化信号と、前記デコードメモリー素子に
入力される読み書き信号とを出力すると共に、前記イン
ターフェイス回路を制御するための信号を発生させる制
御回路とを備え、複数のアドレス/データピンの一部が、前記アドレス及
びデータを分割して転送するための外部の制御器に電気
的に接続され、前記複数のアドレス/データピンの前記
一部の数は、前記ビット選択回路により設定されたビッ
ト数に応じて決定される ことを特徴とするメモリーアク
セスのインターフェイス回路。
5. An interface circuit for accessing data of a decode memory device having two states of reading and writing, wherein said interface circuit is configured to receive data from said decode memory device which is serially input from the outside several times. An address storage circuit for storing an address signal and outputting the address signal to the decode memory element at the same time; and a data of the decode memory element stored at an address indicated by the address signal when the interface circuit is in a reading state. Temporarily, and when the interface circuit is in the write state, a data buffer circuit for temporarily storing data input from the outside, and the address storage circuit and the data buffer circuit are connected to the data buffer circuit, The number of bits that the storage circuit can receive at the same time; A bit selection circuit for setting the number of bits that can be output simultaneously by the data buffer circuit; and an enabling signal connected to the address storage circuit and the data buffer circuit and input to the address storage circuit and the data buffer circuit. A control circuit for outputting a read / write signal input to the decode memory element and generating a signal for controlling the interface circuit, wherein a part of a plurality of address / data pins is
And an external controller for dividing and transferring data.
Connected to the plurality of address / data pins.
Some numbers correspond to the bits set by the bit selection circuit.
A memory access interface circuit, which is determined according to the number of memory accesses.
【請求項6】前記デコードメモリー素子はランダムアク
セスメモリー素子であり、前記アドレス記憶回路は、 前記制御回路及び前記デコードメモリー素子に接続さ
れ、前記アドレス信号を記憶するアドレスカウンタと、 前記ビット選択回路、前記アドレスカウンタ及び前記制
御回路に接続され前記ビット選択回路内に設定されたビ
ット数に基づいて複数のアドレスポインタ信号を発生さ
せ、外部から前記デコードメモリー素子のアドレス信号
が入力される度に前記アドレスポインタ信号を提供し
て、前記アドレスカウンタが前記アドレスを記憶するの
に必要なアドレスポインタとするアドレスポインタ発生
器とを備えることを特徴とする請求項5記載のメモリー
アクセスのインターフェイス回路。
6. The decoding memory element is a random access memory element, the address storage circuit is connected to the control circuit and the decoding memory element, and stores an address counter for storing the address signal; A plurality of address pointer signals are generated based on the number of bits set in the bit selection circuit connected to the address counter and the control circuit, and each time an address signal of the decode memory element is input from outside, the address is generated. 6. An interface circuit for memory access according to claim 5, further comprising an address pointer generator for providing a pointer signal, said address counter being an address pointer necessary for storing said address.
【請求項7】前記データ緩衝回路は、 前記制御回路及び前記デコードメモリー素子に接続され
て、前記インターフェイス回路が読み取り状態にある時
には、前記アドレス信号が示す前記デコードメモリー素
子内のアドレスに格納されたデータを一時に記憶し、何
回かに分けて直列的にデータを外部に出力し、逆に、前
記インターフェイス回路が書き込み状態にある時には、
外部から何回かに分けて入力されたデータを一時に記憶
して、前記アドレス信号が示す前記デコードメモリー素
子内のアドレスに前記データが書き込まれるようにされ
ている2方向データ緩衝器と、 前記ビット選択回路、前記2方向データ緩衝器及び前記
制御回路に接続され、前記ビット選択回路内に設定され
たビット数に基づいてデータ出力ポインタ信号を前記2
方向データ緩衝器に提供することにより、前記2方向デ
ータ緩衝器により毎度出力されるべき出力/入力のデー
タビットを決定するデータポインタ発生器とを備えるこ
とを特徴とする請求項5記載のメモリーアクセスのイン
ターフェイス回路。
7. The data buffer circuit is connected to the control circuit and the decode memory element, and is stored at an address in the decode memory element indicated by the address signal when the interface circuit is in a reading state. The data is stored at a time, the data is output serially in several divided steps, and conversely, when the interface circuit is in the write state,
A two-way data buffer that temporarily stores data input from the outside several times and writes the data to an address in the decode memory element indicated by the address signal; A data output pointer signal connected to the bit selection circuit, the two-way data buffer, and the control circuit, based on the number of bits set in the bit selection circuit;
6. A memory access as claimed in claim 5, further comprising a data pointer generator for determining the output / input data bits to be output each time by said two-way data buffer by providing it to the directional data buffer. Interface circuit.
【請求項8】前記アドレス記憶回路が一度に受信するア
ドレスのビット数は前記各デコードメモリー素子のアド
レスのビット数よりも少なく、そして前記データ緩衝器
が一度に入出力するデータビット数は前記デコードメモ
リー素子の各アドレスに対応するデータのビット数より
少ないことを特徴とする請求項5記載のメモリーアクセ
スのインターフェイス回路。
8. The number of bits of an address received by the address storage circuit at one time is smaller than the number of bits of an address of each of the decode memory elements, and the number of data bits input / output by the data buffer at a time is equal to the number of bits of the decode. 6. The memory access interface circuit according to claim 5, wherein the number of bits of data corresponding to each address of the memory element is smaller than the number of bits.
【請求項9】デコードメモリー素子に記憶されたデータ
を読み取る方法であって、複数のアドレス/データピンの一部が、アドレス及びデ
ータを分割して転送するための外部の制御器に電気的に
接続され、前記複数のアドレス/データピンの前記一部
の数を、ビット選択回路により設定されたビット数に応
じて決定するステップと、 前記デコードメモリー素子の1アドレス分の信号が完全
に記憶されるまで、外部から前記アドレス信号の一部を
順次受信記憶するステップと、 前記アドレス信号を前記デコードメモリー素子へ一度に
送信するステップと、 前記アドレス信号が示すアドレスのデータを前記デコー
ドメモリー素子から一度に受信記憶するステップと、 前記アドレス信号が示すアドレスのデータが完全に出力
されるまで、データの一部を外部に順次出力するステッ
プとを有することを特徴とするメモリー読み取り方法。
9. A method for reading data stored in a decode memory element, wherein a part of a plurality of address / data pins includes an address and a data.
Data to an external controller for splitting and transferring data
Connected, the portion of the plurality of address / data pins
According to the number of bits set by the bit selection circuit.
Determining by Flip until said one address signal decoding memory element is completely stored, the method comprising: sequentially receiving stores some of the address signal from the outside, the address signal to the decoding memory element and transmitting at a time, receiving store data at the address indicated by the address signal at a time from the decode <br/> de memory device, until the data of the address which the address signal indicates is completely output, Sequentially outputting a part of the data to the outside.
【請求項10】データをデコードメモリー素子に書き込
む方法であって、複数のアドレス/データピンの一部が、アドレス及びデ
ータを分割して転送するための外部の制御器に電気的に
接続され、前記複数のアドレス/データピンの前記一部
の数を、ビット選択回路により設定されたビット数に応
じて決定するステップと、 前記デコードメモリー素子の1アドレス分の信号が完全
に記憶されるまで、外部から前記アドレス信号の一部を
順次受信記憶するステップと、 前記アドレス信号が示すアドレスに格納すべきデータが
完全に記憶されるまで、外部からデータの一部を順次受
信記憶するステップと、 前記アドレス信号が示す前記デコードメモリー素子内の
アドレスにデータを一度に書き込むステップとを有する
ことを特徴とするデコードメモリー素子の書き込み方
法。
10. A method for writing data to a decode memory element, wherein a part of a plurality of address / data pins includes an address and a data.
Data to an external controller for splitting and transferring data
Connected, the portion of the plurality of address / data pins
According to the number of bits set by the bit selection circuit.
And sequentially receiving and storing a part of the address signal from the outside until the signal for one address of the decode memory element is completely stored; and storing the address signal in the address indicated by the address signal. Until the data to be completely stored, sequentially receiving and storing a part of the data from the outside, and writing data at once to an address in the decode memory element indicated by the address signal. The write method of the decode memory element to be executed.
JP7265973A 1995-10-13 1995-10-13 Memory access interface circuit and memory access method Expired - Fee Related JP2849804B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7265973A JP2849804B2 (en) 1995-10-13 1995-10-13 Memory access interface circuit and memory access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7265973A JP2849804B2 (en) 1995-10-13 1995-10-13 Memory access interface circuit and memory access method

Publications (2)

Publication Number Publication Date
JPH09128957A JPH09128957A (en) 1997-05-16
JP2849804B2 true JP2849804B2 (en) 1999-01-27

Family

ID=17424613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7265973A Expired - Fee Related JP2849804B2 (en) 1995-10-13 1995-10-13 Memory access interface circuit and memory access method

Country Status (1)

Country Link
JP (1) JP2849804B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7506133B2 (en) * 2003-08-20 2009-03-17 Seiko Epson Corporation Method and apparatus for high speed addressing of a memory space from a relatively small address space

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58215797A (en) * 1982-06-09 1983-12-15 Hitachi Ltd Semiconductor storage device
JPS60109094A (en) * 1983-11-18 1985-06-14 Nippon Telegr & Teleph Corp <Ntt> Address information transfer circuit of semiconductor storage device
JPH0460994A (en) * 1990-06-27 1992-02-26 Hitachi Ltd Static ram, rom and information processor
JPH07253872A (en) * 1994-03-14 1995-10-03 Nippon Steel Corp Input output circuit for processor
JP3124398U (en) * 2006-06-05 2006-08-17 株式会社金子製瓦所 Snow melting equipment by rain gutter

Also Published As

Publication number Publication date
JPH09128957A (en) 1997-05-16

Similar Documents

Publication Publication Date Title
US5982694A (en) High speed memory arranged for operating synchronously with a microprocessor
US4213176A (en) System and method for increasing the output data throughput of a computer
US20040172581A1 (en) External storage device and memory access control method thereof
US4773049A (en) Semiconductor memory device having improved access time for continuously accessing data
JPH03105789A (en) Semiconductor memory device
KR900015008A (en) Data processor
US5375218A (en) DMA channel control apparatus capable of assigning independent DMA transfer control line to respective expansion slots
JPH1083303A (en) Electronic circuit and method for using coprocessor
EP0217479A2 (en) Information processing unit
JP2849804B2 (en) Memory access interface circuit and memory access method
US5818789A (en) Device and method for memory access
JP2568443B2 (en) Data sizing circuit
US5255380A (en) Computer system with distributed RAM memory modules designed for CITO transmission
JPH0784932A (en) Unit and method for data transfer control
KR970007156Y1 (en) Access time control circuit of data i/o apparatus
JPH01103757A (en) Device for transferring data
JPH04245556A (en) Instruction memory
JPH0340290A (en) Data transfer system and address converter
JPH03147164A (en) Information processor
JPH07200456A (en) External device interface for cpu
JPH0317756A (en) Storage access system
JPH0430775B2 (en)
JPH02202659A (en) Programmable command register circuit
JPH02141851A (en) Register read-out circuit
JPH0289143A (en) Storage device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071113

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081113

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees