JPH01166234A - Memory initialization circuit - Google Patents

Memory initialization circuit

Info

Publication number
JPH01166234A
JPH01166234A JP32600187A JP32600187A JPH01166234A JP H01166234 A JPH01166234 A JP H01166234A JP 32600187 A JP32600187 A JP 32600187A JP 32600187 A JP32600187 A JP 32600187A JP H01166234 A JPH01166234 A JP H01166234A
Authority
JP
Japan
Prior art keywords
initialization
signal
address
memory
cpu
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
JP32600187A
Other languages
Japanese (ja)
Inventor
Shingo Yamane
山根 信吾
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP32600187A priority Critical patent/JPH01166234A/en
Publication of JPH01166234A publication Critical patent/JPH01166234A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the memory initializing time by securing such a constitution where the addresses, data and write signals for initialization are produced continuously and automatically after an initialization command is once given to a memory module from a CPU and the initialization is performed over the entire area of a memory array. CONSTITUTION:An initialization instruction is set at a specific address of an address 9 and an instruction is given to a memory module 3 from a CPU 1. A timing control part 5 makes an under-initialization signal 14 significant via the command data 11 and switches a write signal 7, the address 9 and the data 24 to the initialization side via selectors 1-3. Then an address counter 17 is started by a control signal 13. The counter 17 counts the signals 14 and applies a write signal 7 based on CP of a clock generating part 4 for initialization to a memory array 22 to write the initialization data 24 for initialization of the head address of the array 22. Hereafter the part 5 counts up the counter 17 with the signal 13 for each cycle time of the array 22 and makes the signal insignificant with the end of initialization. Then the part 5 stops the action of the counter 17 and applies an interruption signal 23 to the CPU 1. Each selector is switched and the access is possible to the CPU 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、メモリモジュールのメモリの初期化に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to initialization of memory in a memory module.

〔従来の技術〕[Conventional technology]

第2図は、例えばMELFLEXモジュール概説書JE
ZZ −IL −4332に示された従来のメモリモジ
ュールを用いたデータ処理袋Wのブロック図であり、図
において、(1)はcpu%(3)はメモリモジュール
、(イ)はメモリアレイ、(21はcpu (1)とメ
モリモジュール(3)内のメモリアレイ勾との間でデー
タを授受するためのシステムバス、(4)はクロック発
生部、(5)はタイミング制御部、(6)はリード信号
、(7)はライト信号、(8)はリード信号(6)とう
イト信号(7)に対するリプライ信号、(9)はメモリ
アレイ(4)を指定するアドレス、αOはバイトまたは
ワード単位のデータ(パリティビットを含んでいる)で
ある。
Figure 2 shows, for example, the MELFLEX module overview JE
It is a block diagram of a data processing bag W using a conventional memory module shown in ZZ-IL-4332. In the figure, (1) is CPU%, (3) is a memory module, (A) is a memory array, 21 is a system bus for exchanging data between the CPU (1) and the memory array in the memory module (3), (4) is a clock generator, (5) is a timing control unit, and (6) is a Read signal, (7) is a write signal, (8) is a reply signal for the read signal (6) and write signal (7), (9) is an address specifying the memory array (4), αO is a byte or word unit. data (including parity bits).

次に動作について説明する。メモリモジュール(3)の
9源を投入すると、メモリアレイののデータ(パリティ
ピットを含む)は初期化されておらず、データ内容は不
定である。
Next, the operation will be explained. When the 9 sources of the memory module (3) are turned on, the data in the memory array (including parity pits) is not initialized and the data contents are undefined.

Cpu(1)は、メモリモジュール(3)のリードアク
セスを行うとデータ内容によっては、パリティピットも
不定であり、(pu (1)側でパリティ検定を行うと
、パリティエラーが発生することになる。得ってcpu
 (1)は電源投入後、メモリアレイ(イ)の初期化を
ライトアクセスにて行う必要がある。以下、初期化動作
について悦明オる。cpu (1)は、電源投入後、デ
ータαOを初期するパターン(パリティピットはパリテ
ィ極性に応じたパターン)にセットし、メモリアレイ(
2)の先頭番地をアドレス(9)にて指定し、ライト信
号(7)をメモリアレイのに与えることにより、メモリ
アレイ@の先頭番地に対する初期化を行う。メモリモジ
ュール(3)からはcpu (11に対してライト信号
(7)対するリプライ信号(8)を返す。cpu(1)
はリプライ信号(8)が返ってくると、先頭番地に対す
る初期化が完了したとみなし、次のアドレスの初期化動
作に入る。
When CPU (1) performs a read access to the memory module (3), the parity pit may be undefined depending on the data content, and if a parity check is performed on the CPU (1) side, a parity error will occur. .get cpu
In (1), after power is turned on, it is necessary to initialize the memory array (a) by write access. Below, I will explain about the initialization operation. After the power is turned on, the CPU (1) sets the data αO to an initial pattern (the parity pits are a pattern according to the parity polarity), and sets the memory array (
2) is specified by address (9) and a write signal (7) is applied to the memory array to initialize the start address of the memory array @. The memory module (3) returns a reply signal (8) to the write signal (7) to the CPU (11).
When the reply signal (8) is returned, it is assumed that the initialization for the first address has been completed, and the initialization operation for the next address begins.

次に、データ00の内容はそのままにしておき、アドレ
ス(9)を1つ進め、ライト信号(7)を再びメモリア
レイのに与えメモリアレイ(イ)の先頭番地から1つ進
んだデータエリアが初期化される。以降、前述と同じ動
作を繰り返し、メモリアレイ(イ)の最終番地まで初期
化を行う。
Next, leave the contents of data 00 as is, advance the address (9) by one, and apply the write signal (7) again to the memory array so that the data area advanced by one from the first address of the memory array (a) is Initialized. Thereafter, the same operations as described above are repeated to initialize the memory array (a) up to the final address.

〔発明が解決しようとする間頚点〕[The juncture that the invention attempts to solve]

従来のメモリモジュールは以上のように構成されている
ので、メモリアレイの1つのアドレス毎ニ(puからの
命令で初期化を行う必要があるので、メモリアレイの容
量が大きくなるほど初期化に時間を要する問題点があっ
た。
Conventional memory modules are configured as described above, so it is necessary to initialize each address of the memory array with a command from the PU, so the larger the capacity of the memory array, the longer it takes to initialize. There was a problem that needed to be addressed.

また、特開昭61−16993  にその対策が行なわ
れているが、初期化中にcpuからのアクセスを禁止す
ることが十分に行なわれていなかった。
Although a countermeasure against this problem was taken in Japanese Patent Application Laid-Open No. 61-16993, it was not sufficient to prohibit access from the CPU during initialization.

この発明は上記のような問題点を解消するためになこれ
たもので、cpuに負担をかけないで、メモリの初期化
が高速に行えるメモリ初期化回路を得ることを目的とす
る。
The present invention was developed to solve the above-mentioned problems, and it is an object of the present invention to provide a memory initialization circuit that can initialize a memory at high speed without placing a burden on the CPU.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るメモリ初期化回路は、初期化用のアドレ
ス及びデータとライト信号ルメモリモジュール内で生成
ことにより、メモリの初期化に費やす時間をCpuに負
担をかけることなく、高速に行うようにしたものである
The memory initialization circuit according to the present invention generates initialization addresses, data, and write signals within the memory module, so that memory initialization can be performed at high speed without imposing a burden on the CPU. This is what I did.

〔作用〕[Effect]

この発明における、初期化用のアドレス及びデータとラ
イト信号は、cpuから一度だけ初期化コマンドルメモ
リモジュールに与えると、以降メモリモジュール内で自
動的に生成し、メモリアレイの全エリアに渡って初期化
ル行うようにする。
In this invention, the initialization address, data, and write signal are given to the initialization command memory module only once from the CPU, and thereafter they are automatically generated within the memory module and initialized over the entire area of the memory array. Make sure to do the same.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図において、第2図と同一符号のものは同一、又は
相当部分を示す。第1図において、aTJはコマンドデ
コーダ、(2)は初期化開始を指示する初期化コマンド
、OJはアドレスカウンタ制御信号、04)は初期低中
信号、a8はタイミング制御2 C61で自動生成され
る初期化用ライト信号、αηはアドレスカウンタ、(至
)はアドレスカウンタαηの出力である初期化用アドレ
ス、Ql、(イ)、Qlは初期低中信号04で制御され
るセレクタ、(ハ)は初期化データ、(至)はcpu 
filに与える割込、信号である。
In FIG. 1, the same reference numerals as in FIG. 2 indicate the same or corresponding parts. In Figure 1, aTJ is a command decoder, (2) is an initialization command that instructs to start initialization, OJ is an address counter control signal, 04) is an initial low/medium signal, and a8 is automatically generated by timing control 2 C61. Initialization write signal, αη is the address counter, (to) is the initialization address that is the output of the address counter αη, Ql, (A), Ql is the selector controlled by the initial low/medium signal 04, (C) is the Initialization data, (to) cpu
This is an interrupt signal given to fil.

次に動作について説明する。cpu (1)は、メモリ
モジュール(3)に対して初期化命令を実行する。初即
化命令はアドレス(9)のある特定番地に決めておき、
巧イトアクセスル実行することによりメモリモジュール
(3)に伝わる。メモリモジュール(3)では初期化命
令をcpu (1)から受けとると、コマンドデコーダ
αnから初期化コマンド(2)がタイミング制御部(6
)に与えられる。タイミング制御部(6)は初期化コマ
ンド(2)を受けとると3、初期低中信号α4を有意に
し、セレクタQl、■、Qlを各々システムバス接続側
から、メモリモジュール内部で生成ζnる、初期化用ラ
イ信号OG、初期化用アドレス(至)、初期化データ(
ハ)側に切替られる。以上の動作によ。てセレクタは内
部接続側に7(るため、システムバス側からのアクセス
は不可となる。ざらにアドレスカウンタ制御信号αjに
より、アドレスカウンタaηは動作を開始する。
Next, the operation will be explained. CPU (1) executes an initialization instruction to memory module (3). The initialization instruction is determined at a specific address (9),
The information is transmitted to the memory module (3) by executing a smart write access. When the memory module (3) receives the initialization command from the CPU (1), the initialization command (2) is sent from the command decoder αn to the timing control unit (6).
) is given to When the timing control unit (6) receives the initialization command (2), it makes the initial low/medium signal α4 significant, and selects the selectors Ql, Q, and Ql from the system bus connection side, respectively, and generates the initial signal ζn inside the memory module. write signal OG for initialization, address for initialization (to), initialization data (
It is switched to the c) side. Due to the above actions. Since the selector is located on the internal connection side, access from the system bus side is disabled.Roughly, the address counter aη starts operating in response to the address counter control signal αj.

アドレスカウンタは、最初、メモリアレイ@の先頭着地
にセットされている。初期化中信号o4が有意にした後
、タイミング制御部(5)はクロック発生部(4)から
与えられるクロックを基に、初期化用ライト信号OGを
メモリアレイ@に与え、初期化データ@を?9き込み、
メモリアレイ(イ)の先頭番地の初期化を行う。
The address counter is initially set to the beginning of the memory array @. After the initialization signal o4 becomes significant, the timing control unit (5) applies the initialization write signal OG to the memory array @ based on the clock provided from the clock generation unit (4), and initializes the initialization data @. ? 9 times,
Initialize the starting address of the memory array (a).

以降タイミング制御部(5)は、メモリアレイ(イ)の
サイクルタイム経過毎に、アドレスカウンタα力をアド
レスカウンタ制御信号(至)にて歩進し、かつ期間化用
ライト信号OGをメモリアレイ@に与える。
Thereafter, the timing control unit (5) increments the address counter α power using the address counter control signal (to) every time the cycle time of the memory array (a) elapses, and sends the periodization write signal OG to the memory array@ give to

メモリアレイ(至)の最終番地まで初期化を完了すると
、初期化中信号α4を無意し、アドレスカウンタ(至)
停止させ、割込信号のをcpu (1)に与える。
When the initialization is completed up to the final address of the memory array (to), the initialization signal α4 is turned off and the address counter (to) is reset.
and gives an interrupt signal to CPU (1).

Cpu (1)は割込信号@を受けとると、メモリモジ
ュールの初期化が完了したと判断できる。
When CPU (1) receives the interrupt signal @, it can determine that the initialization of the memory module has been completed.

なお、初期化中信号α4が無意になるとセレクタQl、
翰e2TJは、再びシステムパス接続側となり、メモリ
アレイ(2)はcpu (1)からのアクセスが可能と
なる。
Note that when the initialization signal α4 becomes insignificant, the selector Ql,
The e2TJ becomes the system path connection side again, and the memory array (2) can be accessed from the CPU (1).

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

以上のように、この発明によiはメモリの初期化ハ、c
puからの初期化命令をメモリモジュールが受けとると
、以降、メモリモジュール内部で自動的に行うようにし
、初期化中はシステムバス側から(Cpu側から)間違
ってアクセスしてもセレクタで禁止するように描成した
ので、メモリの初期化に要する時間が短縮でき、かつ、
cpuの負担が軽減できさらには、初期化中に間違うて
cpu側からアクセスしても、初期化データが破壊され
ない効果がある。
As described above, according to the present invention, i is memory initialization h, c
When the memory module receives an initialization command from the PU, it is automatically executed within the memory module, and during initialization, even if there is an incorrect access from the system bus side (from the CPU side), it is prohibited by the selector. Since the time required to initialize the memory can be reduced, and
The load on the CPU can be reduced, and furthermore, the initialized data will not be destroyed even if it is accidentally accessed from the CPU side during initialization.

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

第1図はこの発明の一実施例によるメモリ初期化回路を
示すブロック図、第2図は従来のデータ処理装置のブロ
ック図である。α9はコマンドデコーダ、07)はアド
レスカウンタ、1113は初期化用ライト信号、(至)
は初期化用アドレス、(ハ)は初期化データ、0窃、■
、6℃はセレクタ、器は割込信号。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram showing a memory initialization circuit according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional data processing device. α9 is a command decoder, 07) is an address counter, 1113 is an initialization write signal, (to)
is the initialization address, (c) is the initialization data, 0 theft, ■
, 6℃ is the selector, and the device is the interrupt signal. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 cpuと読出し書込み可能なメモリを備えたデータ処理
装置において、 上記cpuからの初期化信号で初期化開始コマンドを生
成するコマンドデコーダ、 この初期化開始コマンドで初期化用ライト信号、アドレ
スカウンタ制御信号および初期化中信号を生成するタイ
ミング制御回路、 上記アドレスカウンタ制御信号があると、初期化アドレ
スを順次指定する初期化アドレス信号を生成するアドレ
スカウンタ、 上記初期化中信号があると、上記初期化用ライト信号、
上記初期化アドレス信号および初期化データを上記メモ
リに与えると共に、上記cpuからの上記メモリへのア
クセスを禁止するセレクタを備え、 上記初期化中信号発生中は順次上記アドレスカウンタを
進めて上記メモリを初期化するようにしたことを特徴と
するメモリ初期化回路。
[Scope of Claims] In a data processing device equipped with a CPU and a readable and writable memory, a command decoder that generates an initialization start command using an initialization signal from the CPU; , a timing control circuit that generates an address counter control signal and an initializing signal, an address counter that generates an initialization address signal that sequentially specifies initialization addresses when the address counter control signal is present, and an address counter that generates an initialization address signal that sequentially specifies initialization addresses. and the above initialization write signal,
A selector is provided for supplying the initialization address signal and initialization data to the memory and prohibiting access to the memory from the CPU, and while the initialization signal is being generated, the address counter is sequentially incremented to access the memory. A memory initialization circuit characterized by initializing the memory.
JP32600187A 1987-12-23 1987-12-23 Memory initialization circuit Pending JPH01166234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32600187A JPH01166234A (en) 1987-12-23 1987-12-23 Memory initialization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32600187A JPH01166234A (en) 1987-12-23 1987-12-23 Memory initialization circuit

Publications (1)

Publication Number Publication Date
JPH01166234A true JPH01166234A (en) 1989-06-30

Family

ID=18182989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32600187A Pending JPH01166234A (en) 1987-12-23 1987-12-23 Memory initialization circuit

Country Status (1)

Country Link
JP (1) JPH01166234A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005011317A (en) * 2003-05-02 2005-01-13 Hitachi Ltd Method and device for initializing storage system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005011317A (en) * 2003-05-02 2005-01-13 Hitachi Ltd Method and device for initializing storage system

Similar Documents

Publication Publication Date Title
US3736569A (en) System for controlling power consumption in a computer
JPH0679290B2 (en) Computer device
EP0432575A2 (en) Data processor having wait state control unit
JPS58184668A (en) Control system for writing to memory
JPH07169265A (en) Synchronous random-access memory device
JPH01166234A (en) Memory initialization circuit
SU1418720A1 (en) Device for checking programs
SU1208536A1 (en) Programmable controller
JPH0212387A (en) Vlsi microcontroller
JPH06119231A (en) Memory initial cycle control system
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
KR100229260B1 (en) Dram control circuit
JPH0588964A (en) Data storage system having intrinsic burst detection
JPH1153224A (en) Watch dog timer and microcomputer
JPH08194658A (en) Microcomputer system
JPH05265951A (en) Microcomputer
JPS59189433A (en) Data erasing system by direct memory access
JPH02302855A (en) Memory control system
JPS63117396A (en) Non-volatile semiconductor memory device
JPH01102659A (en) Ram write/read arbitrating system
JPH0728699A (en) Memory control circuit
JPH0439683B2 (en)
JP2000259491A (en) Memory initialization external circuit
JPH03257608A (en) Microcomputer
JPS59206948A (en) Information processing device