JPH04106793A - Memory interface circuit - Google Patents

Memory interface circuit

Info

Publication number
JPH04106793A
JPH04106793A JP2226058A JP22605890A JPH04106793A JP H04106793 A JPH04106793 A JP H04106793A JP 2226058 A JP2226058 A JP 2226058A JP 22605890 A JP22605890 A JP 22605890A JP H04106793 A JPH04106793 A JP H04106793A
Authority
JP
Japan
Prior art keywords
memory
data
address
read
register
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.)
Pending
Application number
JP2226058A
Other languages
Japanese (ja)
Inventor
Hideaki Seijiri
聖尻 秀明
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.)
Citizen Watch Co Ltd
Original Assignee
Citizen Watch Co Ltd
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 Citizen Watch Co Ltd filed Critical Citizen Watch Co Ltd
Priority to JP2226058A priority Critical patent/JPH04106793A/en
Publication of JPH04106793A publication Critical patent/JPH04106793A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the read-out/write time of a memory by providing a write register and a read-out register of data and various control circuits in a memory interface circuit. CONSTITUTION:Based on a low speed clock pulse CK1, a low speed address signal is generated by a low speed address generating means 21. The low speed address signal is decoded by a decoder 22 and a register select is generated. The register select selects a data storage means 28, and by the pulse CK1 and a read-out pulse generating means 23, a read-out register strobe is generated and supplied to a read-out data storage means 29. A memory data bus of a memory 24 is connected to a selecting means 27, the storage means 29 and the storage means 28, and at the time of write, first of all, by a write register strobe, data on a register data bus is stored in the write storage means 28. At the time of read-out, by read-out register enable, data is outputted to the register data bus from the storage means 29.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、不揮発性メモリを備えた情報処理装置におい
て、メモリ読み出し、書き込みを行うインタフェース回
路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an interface circuit that performs memory reading and writing in an information processing device equipped with a nonvolatile memory.

〔従来の技術〕[Conventional technology]

第4図は従来例のブロック図、第3図はメモリ動作時の
タイミングチャート図を示す。
FIG. 4 shows a block diagram of a conventional example, and FIG. 3 shows a timing chart during memory operation.

第3図はメモリ制御コマンド、データが4ビット並列型
の動作を示すが、メモリ制御コマンド、データがシリア
ル型の構成をした型式、制御コマンドの一部が削除され
ている型式もある。
Although FIG. 3 shows an operation in which the memory control command and data are of a 4-bit parallel type, there is also a type in which the memory control command and data are configured in a serial type, and a type in which a part of the control command is deleted.

第4図において、41はマイクロプロセッサ、42はマ
イクロプロセッサとメモリを接続するインタフェース装
置、46はメモリである。
In FIG. 4, 41 is a microprocessor, 42 is an interface device for connecting the microprocessor and memory, and 46 is a memory.

第3図において、■はメモリチップセレクト、0はメモ
リクロック信号(以下、メモリCLKと云う)であり、
0〜■は4ビット並列のデータであってメモリ制御信号
、メモリアドレス、メモリデータ等である。
In FIG. 3, ■ is a memory chip select, 0 is a memory clock signal (hereinafter referred to as memory CLK),
0 to ■ are 4-bit parallel data, such as memory control signals, memory addresses, and memory data.

次に動作について説明する。メモリの読み比し書き込み
をするときはマイクロプロセッサ41がらバス、インタ
フェース装置42を介してメモリ46をアクセスする事
によりメモリからデータの読み出し、書き込みができる
Next, the operation will be explained. When reading and writing data to the memory, the microprocessor 41 accesses the memory 46 via the bus and interface device 42 to read and write data from the memory.

メモリからデータを読み出し/書き込みする時のメモリ
46のアクセス動作としては、読み出し/書き込みコマ
ンド、下位アドレス、上位アドレス、リセットコマンド
を順次メモリに送る。これらはメモリCLK(Z)の立
ち下がりでメモリに書き込まれる。次にメモ1.IcL
K(2)の立ち上がりに同期してデータが4クロックパ
ルス分、つまり16ビツト読み出し、書き込みが行われ
る。最後にリセットコマンドをメモリに送り、1サイク
ルが終了する。メモリへの書き込みは、第3図における
最後のリセットコマンドの後、メモリの内部で旧データ
の消去、新データの書き込みが行われる。
As an access operation of the memory 46 when reading/writing data from the memory, a read/write command, a lower address, an upper address, and a reset command are sequentially sent to the memory. These are written to the memory at the falling edge of memory CLK (Z). Next, note 1. IcL
In synchronization with the rising edge of K(2), data corresponding to 4 clock pulses, that is, 16 bits, is read and written. Finally, a reset command is sent to the memory, and one cycle ends. Regarding writing to the memory, after the last reset command shown in FIG. 3, old data is erased and new data is written inside the memory.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかるに、メモリとして例えばE2FROM等の不揮発
性のものを用いる場合、一般に不揮発性メモリは通常の
RAMに比して、読み出し、書き込みに多くの時間を要
するので、従来例の構成によると、第3図のメモリが動
作可能であるメモリCLK■のパルス幅が40μs程度
とすれば、メモリの読み出し時間は360μS程度、メ
モリの書き込み時間(でついても同等の時間が必要とな
る。
However, when using a non-volatile memory such as E2FROM, it generally takes more time to read and write to a non-volatile memory than a normal RAM. If the pulse width of the memory CLK■, which allows the memory to operate, is about 40 μs, the memory read time is about 360 μS, and the memory write time (even if the same amount of time is required).

本発明は、メモリの読み出し、書き込み時間を短縮する
ことを目的とする。
The present invention aims to shorten memory read and write times.

〔課題を解決するための手段〕[Means to solve the problem]

前記の課題を解決するため、本発明においては、マイク
ロプロセッサとメモリの間に配置するメモリインタフェ
ース回路内に、データの書き込みレジスタと読み出しレ
ジスタおよび各種の制御回路を設け、マイクロプロセッ
サはデータの授受をこれらのレジスタとの間で短時間に
行い、メモリインタフェース回路はマイクロプロセッサ
からの制御信号に応じて、比較的時間のかがるメモリへ
のデータの書き込み、読み出しを行なうよう機能を分担
することにより、マイクロプロセッサの負担を減らして
システム全体の高速化を計る。
In order to solve the above problems, the present invention provides a data write register, a data read register, and various control circuits in a memory interface circuit placed between the microprocessor and the memory, so that the microprocessor can send and receive data. By dividing the functions between the memory interface circuit and these registers to write and read data in a relatively time-consuming manner in response to control signals from the microprocessor. Reduces the burden on the microprocessor and speeds up the entire system.

第2図の原理図に示すように、低速クロックパルスCK
1に基づき低速アドレス生成手段21により低速アドレ
ス信号を生成する。低速アドレス信号をデコーダ22で
デコードしてレジスタセレクトを生成する。レジスタセ
レクトは書き込みデータ記憶手段28を選択し、CKI
と読み出しパルス生成手段23により読み出しレジスタ
ストローブが生成されて読み出しデータ記憶手段29に
供給される。
As shown in the principle diagram of Fig. 2, the low-speed clock pulse CK
1, the low-speed address generation means 21 generates a low-speed address signal. A low-speed address signal is decoded by a decoder 22 to generate a register select. Register select selects the write data storage means 28, and CKI
A read register strobe is generated by the read pulse generating means 23 and supplied to the read data storage means 29.

制御信号生成手段26は、メモリの読み出し、書き込み
を決めるR/Wコントロール、各記憶手段を選択するア
ドレスバス メモリ読み出し、書き込みデータを入出力
するデータバス、アクセスの実行をするイネーブルコン
トロールなどが入力されて、各制御信号を生成している
The control signal generation means 26 receives inputs such as an R/W control that determines memory reading and writing, an address bus that selects each storage means, a data bus that inputs and outputs memory read and write data, and an enable control that executes access. and generates each control signal.

制御信号生成手段26から出力されているレジスタデー
タバスは、読み出しデータ記憶手段29、書き込みデー
タ記憶手段28とのデータの入出力をする。メモリのア
ドレスは、アドレス制御入力バスからメモリアドレス記
憶手段25にメモリアドレスストローブにより記憶され
る。メモリ制御信号71ま、メモリの読み出し、書き込
み、リセットの信号で選択手段27に入力される。スタ
ートイネーブルは低速アドレス生成手段21の動作を開
始させる信号である。メモリチップセレクトはメモリ2
4に入力されメモリを動作可能状態にする。
The register data bus output from the control signal generating means 26 inputs and outputs data to and from the read data storage means 29 and the write data storage means 28. The address of the memory is stored from the address control input bus into the memory address storage means 25 by a memory address strobe. A memory control signal 71 is input to the selection means 27 as a memory read, write, and reset signal. The start enable is a signal that starts the operation of the low-speed address generation means 21. Memory chip select is memory 2
4 to enable the memory to operate.

メモリCLKはメモリ動作用クロック信号で、メモリ2
4に供給される。メモリ24のメモリデータバスは、選
択手段27、読み出しデータ記憶手段29、書き込みデ
ータ記憶手段28に接続され、書き込み時はまず書き込
みレジスタストローブによりレジスタデータバス上のデ
ータが書き込みデータ記憶手段28に記憶される。読み
出し時は、読み比しレジスタイネーブルにより読み比し
データ記憶手段29からレジスタデータバスにデータが
出力される。
Memory CLK is a clock signal for memory operation, and memory 2
4. The memory data bus of the memory 24 is connected to the selection means 27, the read data storage means 29, and the write data storage means 28, and when writing, the data on the register data bus is first stored in the write data storage means 28 by a write register strobe. Ru. At the time of reading, data is outputted from the reading ratio data storage means 29 to the register data bus by the reading ratio register enable.

〔作用〕[Effect]

メモリ読み出し、書き込みは制御信号生成手段26を介
してメモリにアクセスする。アドレスバスはメモリアド
レス記憶手段の下位、上位アドレス、低速アドレス生成
手段の動作開始、書き込み、読み出しデータ記憶手段の
設定をする。データノ;スはメモリの下位、上位アドレ
ス、書き込みデータを入力し、読みめし時は読み出しデ
ータが出力される。R/Wコントロールは「1」で読み
呂し「0」で書き込みをする。イネーブルコントロール
は通常は「0」状態で読み呂し時は「1」の期間、書き
込み時は「l」から「0」になる立ち下がりでアクセス
をする。
For memory reading and writing, the memory is accessed via the control signal generating means 26. The address bus sets the lower and upper addresses of the memory address storage means, the start of operation of the low-speed address generation means, and the settings of the write and read data storage means. The data node inputs the lower and upper addresses of the memory and write data, and when reading, the read data is output. The R/W control is set to "1" for reading and "0" for writing. The enable control is normally in the "0" state and is accessed during the "1" period during reading, and at the falling edge from "l" to "0" during writing.

メモリの読み出し動作においては、アドレスノ(スにメ
モリアドレス記憶手段25のアドレス1を設定し、デー
タバスにメモリアドレスを設定して、R/Wコントロー
ルを「0」に、イネーブルコントロールを「0」から1
1」にして再び「0」にする事により、イネーブルコン
トロールの立ち下がりで、メモリアドレスがメモリアド
レスストローブによりメモリアドレス記憶手段5に記憶
される。次に、低速アドレス生成手段21を指定するア
ドレス0をアドレスバスに設定して、同様に制御信号生
成手段26に入力する事により、低速アドレス生成手段
21はスタートイネーブルにより動作状態になり、メモ
リチップセレクト、メモリCLKは第3図のタイミング
チャートの様になる。
In a memory read operation, the address bus is set to address 1 of the memory address storage means 25, the data bus is set to the memory address, the R/W control is set to "0", and the enable control is set to "0". from 1
By setting it to "1" and setting it to "0" again, the memory address is stored in the memory address storage means 5 by the memory address strobe at the fall of the enable control. Next, by setting address 0, which specifies the low-speed address generation means 21, in the address bus and inputting it to the control signal generation means 26 in the same way, the low-speed address generation means 21 is put into an operating state by the start enable, and the memory chip The select and memory CLK are as shown in the timing chart in FIG.

選択手段27は、低速アドレス信号バスの状態によりC
KIの立ち上がりに同期してメモリ読み比しコマンド、
メモリ下位、上位アドレス、リセットを出力し、メモ!
JCLKの立ち上がりに同期してデータがメモリより出
力され、読み出しレジスタストローブにより読み出しデ
ータ記憶手段29に記憶される。データバスにメモリデ
ータを読み呂したい時は、アドレスバスに読み出し記憶
手段29のアドレスを設定して、イネーブルコントロー
ルをl’−IJKする事により読み出す事ができる。
The selection means 27 selects C according to the state of the low-speed address signal bus.
Memory reading comparison command in synchronization with the rise of KI,
Output the lower memory address, upper address, and reset, and take notes!
Data is output from the memory in synchronization with the rising edge of JCLK, and is stored in the read data storage means 29 by the read register strobe. When it is desired to read memory data onto the data bus, the address of the read storage means 29 is set on the address bus and the enable control is set to l'-IJK.

次に、メモリにデータを書き込む時は、読み出しと同様
に、メモリアドレスをメモリアドレス記憶手段25に記
憶して、書き込みデータ記憶手段28のアドレスをアド
レスバスに設定し、メモリ書き込みデータをデータバス
に設定して、 R/Wコントロールを「0」にしてイネ
ーブルコントロールをrOJか゛ら「1」にして再びr
OJにする事により、イネーブルコントロールの立ち下
がりで、メモリデータが書き込みレジスタストローブに
より書き込みデータ記憶手段28に記憶される。
Next, when writing data to the memory, the memory address is stored in the memory address storage means 25, the address of the write data storage means 28 is set to the address bus, and the memory write data is transferred to the data bus. Set the R/W control to ``0'' and turn the enable control from rOJ to ``1'' again.
By setting OJ, memory data is stored in the write data storage means 28 by the write register strobe at the fall of the enable control.

そしてアドレスをOに、R/WコントロールなrOJに
して、イネーブルコントロールの立ち下がりで、低速ア
ドレス生成手段21がスタートイネーブルにより動作状
態になり、メモリCLK、メモリチップセレクトも読み
出しと同様に@3図のタイミングチャートの様になり、
書き込み動作が開始される。書き込み動作は、メモリ書
き込み、メモリ下位、上位、リセットコマンドが選択手
段27より出力されると、次のCKIの立ち上がりから
デコーダよりレジスタセレクトが選択されて、書き込み
データが書き込みデータ記憶手段28よりメモリデータ
バスに出力されメモリに入力されて、メモリCLKの立
ち下がりでメモリに書き込まれる。
Then, the address is set to O and R/W control is set to rOJ, and at the fall of the enable control, the low-speed address generation means 21 is activated by the start enable, and the memory CLK and memory chip select are also activated in the same way as for reading @Figure 3 It will look like the timing chart of
A write operation is started. In the write operation, when the memory write, memory lower, upper, and reset commands are output from the selection means 27, register select is selected from the decoder from the next rising edge of CKI, and the write data is transferred from the write data storage means 28 to the memory data. It is output to the bus, input to the memory, and written to the memory at the falling edge of memory CLK.

即ち、読み出しの時はメモリアドレスデータを、書き込
み時はメモリアドレスデータ、メモリ書き込みデータを
高速で送ってメモリ読み出し、書き込みを開始すること
で、時間の短縮が可能になり、システムの処理速度の向
上が図られる。
In other words, by sending the memory address data at high speed when reading, and the memory address data and memory write data when writing, it is possible to shorten the time and improve the processing speed of the system by starting memory reading and writing. is planned.

〔実施例〕〔Example〕

次に、本発明の1実施例について図面を参照して説明す
る。
Next, one embodiment of the present invention will be described with reference to the drawings.

第1図は実施例の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of an embodiment.

カウンタ1は低速アドレス生成手段21の構成部分、セ
レクタ7は選択手段27の構成部分、オア3.4は読み
呂しパルス生成手段23の構成部分、アドレスレジスタ
6はメモリアドレス記憶手段25の構成部分、書き込み
レジスタ1(9)・・・4 (10)は書き込みデータ
記憶手段28の構成部分、読み出しレジスタ1(11)
−・・4 (12)は読み出しデータ記憶手段29の構
成部分、制御回路8は制御信号生成手段26の構成部分
である。CLKlはメモリが動作可能な低速クロック信
号を入力する。メモリの読み出し、書き込み動作は制御
回路8に入力される信号線を介してアクセスする。
The counter 1 is a component of the low-speed address generation means 21, the selector 7 is a component of the selection means 27, the OR 3.4 is a component of the reading pulse generation means 23, and the address register 6 is a component of the memory address storage means 25. , write register 1 (9)...4 (10) is a component of the write data storage means 28, read register 1 (11)
-...4 (12) is a component of the read data storage means 29, and the control circuit 8 is a component of the control signal generation means 26. CLKl inputs a low-speed clock signal that allows the memory to operate. Memory read and write operations are accessed via a signal line input to the control circuit 8.

まず、制御回路8の信号線の説明をする。アドレスバス
はアドレスレジスタの下位、上位アドレス、カウンタの
動作開始設定、書き込みレジスタ1から4、読み出しレ
ジスタ1から4の設定をする。読み出し、書き込みレジ
スタは各4個あるが、それらのアドレスはそれぞれ3か
ら6であるとする。データバスはメモリの下位、上位ア
ドレス、書き込みデータを入力し、読み出しの時はメモ
リの読み出しデータが出力される。R/Wコントロール
は「1」の時はメモリデータの読み出し、「0」の時は
メモリデータの書き込み、カウンタの動作開始、メモリ
アドレス下位、上位の書き込みをする。イネーブルコン
トロールは読み出し、書き込みの開始の制御をする信号
線であり、読み比し動作の時は通常「0」の状態から「
1」に変化し「1」の間はデータバスにデータが出力さ
れる。rOJになるとデータは出力されない状態になる
。書き込み時は通常「0」から「1」になり再び「0」
になる立ち下がりでデータバス上のデータ、アドレスを
書き込む、またカウンタの動作開始もデータの書き込み
と同様に立ち下がりで設定されろ。
First, the signal lines of the control circuit 8 will be explained. The address bus is used to set the lower and upper addresses of the address register, the operation start setting of the counter, and the settings of write registers 1 to 4 and read registers 1 to 4. It is assumed that there are four read and write registers, and their addresses are 3 to 6, respectively. The data bus inputs the lower and upper addresses of the memory and write data, and when reading, the read data of the memory is output. When the R/W control is "1", it reads memory data, and when it is "0", it writes memory data, starts counter operation, and writes to lower and upper memory addresses. The enable control is a signal line that controls the start of reading and writing, and during read comparison operation, it usually changes from the state of "0" to "
The bit changes to "1", and data is output to the data bus while it is "1". When rOJ is reached, data is not output. When writing, it usually changes from "0" to "1" and then becomes "0" again.
Write the data and address on the data bus at the falling edge of the signal, and set the counter operation to start at the falling edge, as well as when writing data.

次に、この様な構成を有する本実施例の動作を説明する
。メモリのデータ読み出し時は、先ずメモリ下位アドレ
ス設定する。これはアドレスを1(アドレスレジスタ6
を指定)、メモリアドレスをデータバスに設定、R/W
コントロールを「0」にしてイネーブルコントロールを
rOJから「1」にして再び「0」にする事により、制
御回路8からアドレス制御入力バスを介して、アドレス
レジスタ6にメモリアドレスストローブ下により記憶さ
れろ。また上位アドレスも同様に設定する。次に、メモ
リデータの読み出しはアドレスをO(カウンタ1を指定
)、R/Wコントロールを「0」にしてイネーブルコン
トロールをrOJからrlJにして再びrOJにする事
により、制御回路8からスタートイネーブルを介してカ
ウンタ1が動作状態となり、カウントアツプ動作を開始
して低速ンドレス信号を生成する。この時セレクタ7は
低速アドレス信号を基にしてセレクトされ、順次メモリ
の読み出しモード、アドレス下位、上位、リセットが第
3図のタイミングチャートの様にメモリに書き込まれる
。この時メモリに入力さr〜いるメモリチップセレクト
、メモリCLKは制御回路8により同様に第3図の様に
なり、データ読み出しになるとデコーダのレジスタセレ
クト1から4が選択されてオア回路6.4によってCK
Iに同期して読み出しレジスタストローブ1から4によ
り読み出しレジスタ1 (11)  から4(12)に
読み比しデータ記憶される。
Next, the operation of this embodiment having such a configuration will be explained. When reading data from memory, first set the memory lower address. This sets the address to 1 (address register 6
), set memory address to data bus, R/W
By setting the control to ``0'' and changing the enable control from rOJ to ``1'' and setting it to ``0'' again, the data is stored in the address register 6 from the control circuit 8 via the address control input bus under the memory address strobe. . Also, set the upper address in the same way. Next, to read the memory data, set the address to O (designating counter 1), set the R/W control to "0", and change the enable control from rOJ to rlJ and back to rOJ, and then set the start enable from the control circuit 8. Through this, the counter 1 becomes operational, starts a count-up operation, and generates a low-speed address signal. At this time, the selector 7 is selected based on the low-speed address signal, and the memory read mode, lower address, upper address, and reset are sequentially written into the memory as shown in the timing chart of FIG. At this time, the memory chip select and memory CLK that are input to the memory are similarly changed as shown in FIG. by CK
In synchronization with I, read register strobes 1 to 4 store read data in read registers 1 (11) to 4 (12).

そして実際に読み出すときは読み出したいレジスタの番
号1から4に対応するアドレス3から6を設定してR/
Wコントロールを「1」にしてイネーブルコントロール
をrOJかも「1」にする事によりデータバスにデータ
が出力される。この動作はアドレスを変えるだけで順次
データを読み出す事ができる。
Then, when actually reading, set addresses 3 to 6 corresponding to numbers 1 to 4 of the register you want to read and R/
By setting the W control to "1" and setting the enable control to "1", data is output to the data bus. This operation allows data to be read out sequentially by simply changing the address.

次にメモリ書き込み動作は、先ずメモリ下位アドレスを
設定する。これはアドレスを1、メモリアドレスをデー
タバスに設定、R/Wコントロールを「0」にしてイネ
ーブルコントロールを「0」からrlJにして再びrO
Jにする事により、制御回路8よりアドレス制御入力バ
スを介してアドレスレジスタ6にメモリアドレスストロ
ーブ下により記憶される。また上位アドレスも同様に設
定する。
Next, in a memory write operation, first a memory lower address is set. This sets the address to 1, the memory address to the data bus, the R/W control to "0", the enable control from "0" to rlJ, and rO again.
By setting the value to J, the data is stored in the address register 6 from the control circuit 8 via the address control input bus under the memory address strobe. Also, set the upper address in the same way.

また、書き込みレジスタ1に記憶するメモリデータlは
アドレスを3にしてデータバスに書き込みデータを設定
して、R/WコントロールをrOJにしてイネーブルコ
ントロールをrOJから「1」にして再び「0」にする
事により制御回路8より書き込みレジスタストローブ1
を介して書き込みレジスタ1(9)にデータバスに設定
されたデータがレジスタデータバスを介して記憶される
Also, for the memory data l to be stored in write register 1, set the address to 3, set the write data on the data bus, set the R/W control to rOJ, change the enable control from rOJ to "1", and set it to "0" again. By doing this, the control circuit 8 outputs the write register strobe 1.
The data set on the data bus is stored in the write register 1 (9) via the register data bus.

同様にして書き込みデータ2.3.4は書き込みデータ
lの手法で順次、書き込みレジスタ2.3.4 (10
)  に書かれる。この一連の動作が終わればアドレス
をOにしてR/WコントロールをrOJにし、イネーブ
ルコントロールをrOJがら「1」にして再び「0」に
する事により、制御回路8よりスタートイネーブルを介
してカウンタ1が動作状態になり、低速アドレス信号バ
スによりセレクタ7の入力が選択されて、書き込みコマ
ンド、アドレス下位、上位、リセットと順次メモリ5に
出力されて、この時メモリ5に入力されているメモリチ
ップセレクト、メモリCLKは第3図の様になりメモリ
は動作状態となる。低速アドレス信号によりデコーダ2
が選択されて、レジスタセレクトの1から4によりメモ
リデータがメモリデータバスに出力されて、メモリに順
次書き込まれる。
Similarly, write data 2.3.4 is sequentially written to write register 2.3.4 (10
) is written. When this series of operations is completed, the address is set to 0, the R/W control is set to rOJ, and the enable control is set from rOJ to "1" and then set to "0" again. enters the operating state, the input of the selector 7 is selected by the low-speed address signal bus, and the write command, address lower, upper, and reset are sequentially output to the memory 5, and the memory chip select input to the memory 5 at this time , the memory CLK becomes as shown in FIG. 3, and the memory becomes operational. Decoder 2 by low speed address signal
is selected, and memory data is output to the memory data bus by register selects 1 to 4 and sequentially written into the memory.

〔発明の効果〕〔Effect of the invention〕

本発明のメモリインターフェース回路によれば、メモリ
読み出し時は表メモリアドレスを書き込んでアクセスを
開始すれば外部回路の待ち時間が少なく、外部回路がメ
モリアドレスのデータを読み出したい時に何時でも、レ
ジスタのアドレスを設定して読み出しモードにする事に
より読み出しレジスタに読み出されたデータを読み比す
事ができる。
According to the memory interface circuit of the present invention, when reading memory, if the table memory address is written and access is started, the waiting time of the external circuit is reduced, and whenever the external circuit wants to read the data at the memory address, the register address By setting , it is possible to read and compare the data read to the read register by setting it to read mode.

そして、書き込みの際は、メモリの書き込みアドレスを
書き込み、順次メモリデータを書き込みレジスタに書き
、アクセスを開始すれば、後はメモリインタフェース回
路の処理によりメモリデータの書き込みが可能となり高
速書き込みができる。
When writing, write the memory write address, sequentially write memory data to the write register, start access, and then the memory data can be written by the processing of the memory interface circuit, allowing high-speed writing.

また、メモリのモード設定を回路に持っているため、ソ
フトの負担も軽減される。
Additionally, since the memory mode settings are included in the circuit, the burden on software is reduced.

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

第1図は本発明の実施例の構成図、第2図は本発明の原
理図、第3図はメモリの動作タイミングチャート、第4
図は従来例のブロック図である。 5・・・・・・メモリ、 6・・・・・・アドレスレジスタ、 7・・・・・・セレクタ、 8・・・・・・制御回路、 9・・・・・・書き込みレジスタ1. 10・・・・・・書き込みレジスタ4.11・・・・・
・読み出しレジスタ1112・・・・・・読み出しレジ
スタ4゜θ θO■ O■
FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a principle diagram of the present invention, FIG. 3 is a memory operation timing chart, and FIG.
The figure is a block diagram of a conventional example. 5... Memory, 6... Address register, 7... Selector, 8... Control circuit, 9... Write register 1. 10...Write register 4.11...
・Read register 1112...Read register 4゜θ θO■ O■

Claims (1)

【特許請求の範囲】  不揮発性メモリ(以下、メモリという)を備えた情報
処理装置において、 メモリが動作可能である低速クロック信号に基づき低速
アドレス信号を生成する低速アドレス生成手段と、 前記低速アドレス信号に基づき選択信号を生成するデコ
ーダと、 データの読み出し、書き込みを行なうメモリアドレスを
記憶するメモリアドレス記憶手段と、前記低速アドレス
信号に応じてメモリアドレス記憶手段の出力信号、メモ
リの読み出し、書き込み制御信号を選択する選択手段と
、 少なくとも1個のレジスタよりなり、メモリから読み出
したデータを記憶する読み出しデータ記憶手段と、 少なくとも1個のレジスタよりなり、メモリに書き込み
データを記憶する書き込みデータ記憶手段とを設け、 メモリからのデータ読み出し時は、前記メモリアドレス
記憶手段にメモリアドレスを記憶して、前記選択手段の
出力信号と、前記低速クロック信号に基づいて生成した
メモリクロック信号により、前記メモリアドレスに対応
するメモリからデータを読み出して、前記デコーダの選
択信号により選択された前記読み出しデータ記憶手段の
レジスタに記憶し、メモリへのデータ書き込み時は、前
記メモリアドレス記憶手段にメモリアドレスを記憶する
とともに前記書き込みデータ記憶手段に書き込みデータ
を記憶して、前記デコーダの選択信号により選択された
前記書き込みデータ記憶手段のレジスタに記憶してある
データを、前記選択手段の出力信号と前記メモリクロッ
ク信号により、前記メモリアドレスに対応するメモリに
書き込むごとく構成したメモリインタフェース回路。
[Scope of Claims] An information processing device equipped with a non-volatile memory (hereinafter referred to as memory), comprising: low-speed address generation means for generating a low-speed address signal based on a low-speed clock signal that enables the memory to operate; and the low-speed address signal. a decoder that generates a selection signal based on the low-speed address signal; a memory address storage unit that stores memory addresses for reading and writing data; and output signals of the memory address storage unit and memory read and write control signals in response to the low-speed address signal. selection means for selecting, read data storage means comprising at least one register and storing data read from the memory, and write data storage means comprising at least one register and storing write data in the memory. and when reading data from the memory, a memory address is stored in the memory address storage means, and a memory clock signal generated based on the output signal of the selection means and the low-speed clock signal corresponds to the memory address. The data is read from the memory and stored in the register of the read data storage means selected by the selection signal of the decoder, and when writing data to the memory, the memory address is stored in the memory address storage means and the write Write data is stored in the data storage means, and the data stored in the register of the write data storage means selected by the selection signal of the decoder is transferred to the memory by the output signal of the selection means and the memory clock signal. A memory interface circuit configured to write to memory corresponding to an address.
JP2226058A 1990-08-28 1990-08-28 Memory interface circuit Pending JPH04106793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2226058A JPH04106793A (en) 1990-08-28 1990-08-28 Memory interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2226058A JPH04106793A (en) 1990-08-28 1990-08-28 Memory interface circuit

Publications (1)

Publication Number Publication Date
JPH04106793A true JPH04106793A (en) 1992-04-08

Family

ID=16839142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2226058A Pending JPH04106793A (en) 1990-08-28 1990-08-28 Memory interface circuit

Country Status (1)

Country Link
JP (1) JPH04106793A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269029B1 (en) 1999-06-29 2001-07-31 Hyundai Electronics Industries, Co., Ltd. Semi-conductor memory device
JP2011243274A (en) * 2010-04-30 2011-12-01 Micron Technology Inc Index register access for memory device
JP2012155837A (en) * 2006-12-21 2012-08-16 Intel Corp High speed fanned out system architecture and input/output circuits for non-volatile memory

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269029B1 (en) 1999-06-29 2001-07-31 Hyundai Electronics Industries, Co., Ltd. Semi-conductor memory device
JP2012155837A (en) * 2006-12-21 2012-08-16 Intel Corp High speed fanned out system architecture and input/output circuits for non-volatile memory
JP2011243274A (en) * 2010-04-30 2011-12-01 Micron Technology Inc Index register access for memory device

Similar Documents

Publication Publication Date Title
JPH11134243A (en) Controller for storage device and control method for storage device in data processing system
JPS5847741B2 (en) pattern generator
JPH0845277A (en) Semiconductor memory
JPH06139191A (en) Bus cycle timing control circuit
EP0415433B1 (en) Main memory control system
JPH04106793A (en) Memory interface circuit
JP2000268566A (en) Synchronous type semiconductor storage device
JPH04233646A (en) Data transfer interface module
JP2004206850A (en) Semiconductor storage device
JPH06124586A (en) Semiconductor memory device
JP2896148B2 (en) Read / write control method of control information
JP2761559B2 (en) Data generator for semiconductor memory test
JPH0728699A (en) Memory control circuit
KR100273268B1 (en) Read/write controller of flash memory
JP2970711B2 (en) Time slot interchange circuit system
JP3222647B2 (en) Automatic memory bank switching system
JP3469923B2 (en) Binary output signal programmer
JP2000285013A (en) Interface device
JPH10320975A (en) Semiconductor-type memory device
JPS61246848A (en) Operation hysteresis storage circuit
JPH11133121A (en) Serial pattern generating device
JPH10105457A (en) Memory control system and memory control circuitt
JPH0574166A (en) Memory device and time base collector circuit
JPH0561761A (en) Main storage control system
JPH07123450A (en) Time division switch memory with block access function