JPS63112896A - Memory initializing device - Google Patents

Memory initializing device

Info

Publication number
JPS63112896A
JPS63112896A JP61255843A JP25584386A JPS63112896A JP S63112896 A JPS63112896 A JP S63112896A JP 61255843 A JP61255843 A JP 61255843A JP 25584386 A JP25584386 A JP 25584386A JP S63112896 A JPS63112896 A JP S63112896A
Authority
JP
Japan
Prior art keywords
memory
address
initial data
write command
initialization
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
JP61255843A
Other languages
Japanese (ja)
Inventor
Toshiki Ichikawa
市川 俊樹
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP61255843A priority Critical patent/JPS63112896A/en
Publication of JPS63112896A publication Critical patent/JPS63112896A/en
Pending legal-status Critical Current

Links

Landscapes

  • Static Random-Access Memory (AREA)

Abstract

PURPOSE:To obtain a memory initializing device being independent from a function of a processor, by constituting the titled device so that the processor can execute in parallel other processing, while the initialization processing is being executed. CONSTITUTION:First of all, to an initial data setting means 3, an initial data written to a memory 2 by its initialization is set. Thereafter, in a process that a designated address to the memory 2 is updated successively from an initial address determined in advance by a designated address updating means 4, a write command is executed successively from a write command means 5 by a prescribed timing relation to an updating timing of its address. As a result, in accordance with this write command, the initial data which has been set to the initial data setting means 3 is written successively in an updated address of the memory 2. The timing by which the write command is executed from the write command means 5 is set at every updating by the designated address updating means 4, and also, before the next updating of its updating is executed. In such a way, a memory initializing device being independent from a function of a processor can be obtained.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、プロセッサからのアクセスによってリード、
ライト可能なメモリの初期化装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is directed to a
The present invention relates to a writable memory initialization device.

[従来の技術] プロセラ4ノからの指令に基づいてメモリからデータの
読み出し、メモリへのデータの書込みを行ないつつ、各
種の制御を行なう機器等にあっては、当該機器の始動時
等において、メモリの初期化を行なうのが一般的である
[Prior Art] In equipment that performs various controls while reading data from and writing data to memory based on commands from the processor 4, when starting the equipment, etc. It is common to initialize memory.

このメモリの初期化は、メモリ全体あるいは所定の領域
について予め定めた初期データ(一般には” o ” 
>を書込むことによってなされるが、従来、この種のメ
モリ初期化装置は、プロセッサの機能として実現してい
た。即ち、当該機器の始動にあたって、まず、プロセッ
サはメモリの初期化を行なった後に、所定のプログラム
に従った本来の処理を実行していくことになる。
This memory initialization is performed using predetermined initial data (generally "o") for the entire memory or a predetermined area.
Conventionally, this type of memory initialization device has been implemented as a processor function. That is, when starting up the device, the processor first initializes the memory and then executes the original processing according to a predetermined program.

[発明が解決するための問題点コ 上記プロセッサの機能として実現したメモリ初期化装置
では、当該初期化処理を行なっている時間が無駄になっ
ている。
[Problems to be Solved by the Invention] In the memory initialization device realized as a function of the processor described above, time is wasted while performing the initialization process.

それは、プロレセッサが初期化処理を実行している間は
本来目的とする処理が持ち状態になるからである。
This is because while the processor is executing initialization processing, the intended processing is in a hold state.

上記傾向は、頻繁に初期化覆る必要のあるキャッシコメ
モリ、連想メモリ等を対象とした場合、特に顕著となる
The above-mentioned tendency becomes particularly noticeable when the target is cashico memory, associative memory, etc., which need to be initialized frequently.

そこで、本発明の課題は、プロセッサの機能とは独立し
たメモリ初期化装置を具体化覆ることである。
Therefore, an object of the present invention is to embody a memory initialization device that is independent of the functions of a processor.

「問題点を解決するための手段] 本発明は、第1図に示すように、プロセツサ1からのア
クセスによってリード、ライ1〜可能なメモリ2の初期
化装置を前提としており、このメモリ初期化装置にあっ
て、上記課題を解決するための技術的1段は、メモリ2
に吉込むぺぎ初期データを設定する初期データ設定手段
3と、メモリ2に対する指定アドレスを予め定めた初期
アドレス値から所定の順に従って順次更新りる指定アド
レス更新手段4と、この指定アドレス更新手段4での更
新タイミングと所定の関係にてメモリ2に対して書込み
を指令する書込み指令手段5とを備えたものである。
"Means for Solving the Problems" As shown in FIG. The first technical step in solving the above problem in the device is memory 2.
an initial data setting means 3 for setting initial data to be entered into the page; a designated address updating means 4 for sequentially updating a designated address for the memory 2 from a predetermined initial address value in a predetermined order; and this designated address updating means. 4 and a write command means 5 which commands writing to the memory 2 in a predetermined relationship with the update timing.

[作用] まず、初期データ設定手段3に当該初期化によリメモリ
2に書込むべき初期データが設定される。
[Operation] First, initial data to be written to the memory 2 is set in the initial data setting means 3 through the initialization.

その後、指定アドレス更新手段4によってメモリ2に対
する指定アドレスが予め定めた初期アドレスから順次更
新されていく過程で、書込み指令手段5から当該アドレ
スの更新タイミングと所定のタイミング関係にて書込み
指令が順次なされる。
Thereafter, in the process of sequentially updating the designated address for the memory 2 from a predetermined initial address by the designated address updating means 4, write commands are sequentially issued from the write command means 5 in a predetermined timing relationship with the update timing of the address. Ru.

すると、この書込み指令に従って、上記初期データ設定
手段3に設定した初期データがメモリ2の上記更新され
ていくアドレスに順次書込まれていく。
Then, in accordance with this write command, the initial data set in the initial data setting means 3 is sequentially written to the updated addresses of the memory 2.

書込み指令手段5力日ら書込み指令がなされるタイミン
グは、指定アドレス更新手段4での当該更新毎で、かつ
、当該更新の次の更新がなされる前となる。
The timing at which a write command is issued from the write command means 5 is after each update in the specified address update means 4 and before the next update after the update.

また、指定アドレス更新手段4での初期アドレス値はメ
モリ2にお【プる初期化の範囲に応じて予め定められる
ものである。
Further, the initial address value in the specified address updating means 4 is determined in advance according to the range of initialization to be input into the memory 2.

[実施例1 以下、本発明の実施例を図面に基づいて説明づる。[Example 1 Hereinafter, embodiments of the present invention will be described based on the drawings.

第2図は本発明係るメモリ初期化装置の一例を示すブロ
ック図である。これは、4ビツト処理系を例にしたもの
である。
FIG. 2 is a block diagram showing an example of a memory initialization device according to the present invention. This is an example of a 4-bit processing system.

同図において、10はプロセッサの中心的機能を果すC
PU、20は対象としているメモリであり、CPU10
は当該システム全体の統轄的制御と共に、メモリ20の
アクセス制御を行なうようになっている。12はメモリ
20に対する初期化処理に関する制御を行なう初期化制
御回路、14はメモリ20に書込むべき4ビツトの書記
データが設定される初期データ設定器であり、この初期
データ設定器14には例えば’ o o o o ”の
4ビツトデータが設定される。16は予め定めた初期ア
ドレス値から順次カウントアツプしていくアドレスカウ
ンタであり、このアドレスカウンタ16は初期化制御回
路12からのCLR信号によって“’ o o o o
 ”にリセットされると共に、同初期化制御回路12か
らのCLOCK信号の立ち−Fがりに同期して当該カウ
ントアツプ作動を行なうよう構成されている。また、1
8は順次カウントアラするアドレスカウンタ16のキャ
リー(” 1111 ” )を検出するアンド回路であ
る。
In the same figure, 10 is a C that performs the central function of the processor.
PU, 20 is the target memory, CPU10
is designed to perform comprehensive control of the entire system as well as access control of the memory 20. 12 is an initialization control circuit that controls initialization processing for the memory 20; 14 is an initial data setter in which 4-bit writing data to be written to the memory 20 is set; this initial data setter 14 includes, for example, 4-bit data 'o o o o' is set. 16 is an address counter that counts up sequentially from a predetermined initial address value, and this address counter 16 is activated by the CLR signal from the initialization control circuit 12. “' o o o o
", and the count-up operation is performed in synchronization with the rising edge of the CLOCK signal from the initialization control circuit 12.
8 is an AND circuit that detects a carry ("1111") of the address counter 16 which is sequentially counted up.

15はメモリ20に供給すべきデータDを、初期データ
設定器14からの初期データDOと、CPU10からの
出力データDaとのいずれかに切換えるマルチプレクサ
(MPXIであり、このマルチプレクサ15は初期化制
御回路12からのSEL[CT倍信号Hレベルのときに
初期データ設定器14側、同5ELECT信号がLレベ
ルのときにCPU10側に切換ねるようになっている。
15 is a multiplexer (MPXI) that switches the data D to be supplied to the memory 20 to either the initial data DO from the initial data setter 14 or the output data Da from the CPU 10, and this multiplexer 15 is an initialization control circuit. When the SEL[CT double signal from 12 is at H level, the initial data setter 14 side is switched, and when the 5ELECT signal is at L level, it is switched to the CPU 10 side.

17もまたマルチプレクサ(HPX)であり、このマル
チプレクサ17はメモリ20に供給すべきアドレスAに
開力るもので、上記初期化制御回路12からの5ELE
CT信号がHレベルのときにアドレスカウンタ16での
カウント値Asを、同SEL[CT倍信号Lレベルのと
きにCPU10からの出力アドレスAaを夫々選択づる
ように切換ねる。
17 is also a multiplexer (HPX), and this multiplexer 17 opens the address A to be supplied to the memory 20, and the 5ELE from the initialization control circuit 12
When the CT signal is at H level, the count value As of the address counter 16 is switched so that the output address Aa from the CPU 10 is selected when the same SEL[CT multiplied signal is at L level.

初期化制御回路12は上述したように、アドレスカウン
タ16に対してC1−R(fi号及びCI−OCK信号
を出力する機能、各マルチプレクサ15.17に対して
5ELECT信号を出ツノする機能の他、アドレスカウ
ンタ16に対するCLOCK信号の出力夕・イミングと
所定のタイミング関係にてメモリ20に書込み指令信号
WRITEを出力する機能をも有している。
As mentioned above, the initialization control circuit 12 has a function of outputting the C1-R(fi and CI-OCK signals) to the address counter 16, a function of outputting the 5ELECT signal to each multiplexer 15.17, and other functions. It also has a function of outputting a write command signal WRITE to the memory 20 in a predetermined timing relationship with the output timing of the CLOCK signal to the address counter 16.

当該clock信号と書込み指令信号WRITEとのタ
イミング関係は、例えば、CLOCK信号の立ち下がり
で書込み指令信号WRITEが立ち上がるようになって
いる。また、初期化制御回路12はCPU10からの5
TART信号で起動がかかり、上記各機能が実質的に有
効となる一方、アンド回路18の出力が立ち上がったと
きに、書込み指令信@ wRrnを出力した後、その機
能を実質的に停止する。
The timing relationship between the clock signal and the write command signal WRITE is such that, for example, the write command signal WRITE rises at the fall of the CLOCK signal. In addition, the initialization control circuit 12 receives 5 from the CPU 10.
It is activated by the TART signal, and each of the above-mentioned functions becomes substantially effective, while when the output of the AND circuit 18 rises, the write command signal @wRrn is output, and then the functions are substantially stopped.

次に、第3図に示すタイミングチャートに従って作動を
説明する。
Next, the operation will be explained according to the timing chart shown in FIG.

例えば、当該システムの電源を投入すると、Cpuio
は初期化制御回路12に対して5TART信号を出力す
る。すると、初期化制御回路12はCL R信号を立ち
上げ、それにより、アドレスカウンタ16は’ooo○
”(=O)にリセットされる。このとき、初期データ設
定器14には既に初期データ゛’ o o o o ”
が設定されている。
For example, when the system is powered on, CPU
outputs a 5TART signal to the initialization control circuit 12. Then, the initialization control circuit 12 raises the CLR signal, which causes the address counter 16 to read 'ooo○
"(=O). At this time, the initial data setter 14 already contains the initial data "' o o o o "
is set.

ここで、初期化制御回路12が5ELECT信号を1」
レベルに立ち上げると、各マルチプレフナ15゜17の
切換作動により、初期データ設定器14に設定される”
 o o o o ”がデータDとして、また、アドレ
スカウンタ16のカラン1へ値AsがアドレスAとして
夫々メモリ2oに対して供給される状態となる。
Here, the initialization control circuit 12 sends the 5ELECT signal to 1''.
When the level is set, the settings are set in the initial data setter 14 by the switching operation of each multi-preference knob 15 and 17.
o o o o'' is supplied to the memory 2o as the data D, and the value As to the column 1 of the address counter 16 is supplied as the address A.

この状態で、まず、初期化制御回路12からの書込み指
令信号WRITEが立ち上がると、メモリ20では、ア
ドレスカウンタ16に設定されたカウント値” o o
 o o ”で指定されるアドレス(0番地)に初期デ
ータDO”0000”が書込まれる。
In this state, first, when the write command signal WRITE from the initialization control circuit 12 rises, the count value set in the address counter 16 in the memory 20 is
Initial data DO"0000" is written to the address (address 0) specified by "o o".

ついで、CLOCK信号が立ち上がると、アドレスカウ
ンタ16がインクリメントして’0001”になり、当
該CLOCK信号の立ち下がりで書込み指令信号WRI
TEが立ち上がると、上記アドレスカウンタ16のその
時点でのカウンi−値にて指定されるアドレス(1番地
)に上記初期データDO”00o o ”が書込まれる
Next, when the CLOCK signal rises, the address counter 16 increments to '0001', and at the fall of the CLOCK signal, the write command signal WRI is activated.
When TE rises, the initial data DO"00o" is written to the address (address 1) specified by the counter i-value of the address counter 16 at that time.

以後、同様に、CLOCK信号の立ち上がりの毎に、ア
ドレスカウンタ16がインクリメントしてゆき、その過
程で、当該C10CK信号の立ち下がりで書込み指令信
号WRITEが立ち上がると、その時点でアドレスカウ
ンタ16にセットされるカウント値に対応したアドレス
に上記初期データDo ’“0000 IIが順次書込
まれてゆく。そして、アドレスカウンタ16でのカウン
ト値が’1111”になると、アンド回路18の出力が
立ち上がり、これを認識した初期化制御回路12は書込
み指令信号WRITEを出力した後、CLOCに信号の
出力停止及びS[1、E CT信号の立ち下げを行なう
。これにより、メモリ20の上記カウント値” 111
1 ”で指定されるアドレス(15番地)に初期データ
Do”0000″が書込まれた時点で当該メモリ20の
初期化処理が終了する。このとき、メモリ20の0番地
から15番地までには初期データDO゛0000 ++
が書込まれ、初期化がなされた状態となる。
Thereafter, the address counter 16 similarly increments each time the CLOCK signal rises, and in the process, when the write command signal WRITE rises at the fall of the C10CK signal, the value is set in the address counter 16 at that point. The above-mentioned initial data Do'"0000 II is sequentially written to the addresses corresponding to the count values. Then, when the count value of the address counter 16 reaches '1111', the output of the AND circuit 18 rises and After recognizing the initialization control circuit 12, it outputs the write command signal WRITE, and then stops outputting the signal to CLOC and lowers the S[1, ECT signal. As a result, the above count value in the memory 20 is set to 111.
The initialization process of the memory 20 ends when the initial data Do "0000" is written to the address (address 15) specified by "1".At this time, from address 0 to address 15 of the memory 20, Initial data DO゛0000 ++
is written and is in an initialized state.

以後、各マルチプレクサ15.17はCPU10側に切
換わり、メモリ20に対しては、CP−9= Uloからの出力データl)a及び出力アドレスAaに
基づいたアクセス処理がなされる。
Thereafter, each multiplexer 15, 17 is switched to the CPU 10 side, and the memory 20 is accessed based on the output data l)a from CP-9=Ulo and the output address Aa.

一方、上述したメモリ20の初期化処理ではCPU10
は関与しておらず、当該初期化処理の間、CPU10は
他の系の初期化処理、あるいはメモリ20を対象としな
い他の処理等を行なう。そして、初期化制御回路12が
上記処理を終了した時点でCPU10に対して割り込み
信号を立ち上げ、これにより、CPU 10はメモリ2
0の初期化終了を認識する。
On the other hand, in the initialization process of the memory 20 described above, the CPU 10
is not involved, and during the initialization processing, the CPU 10 performs initialization processing of other systems or other processing that does not target the memory 20. Then, when the initialization control circuit 12 finishes the above processing, it raises an interrupt signal to the CPU 10, and as a result, the CPU 10 interrupts the memory 2.
Recognizes completion of initialization of 0.

尚、上記実施例では、アドレスカウンタ16として4ビ
ツトカウンタを使用した関係からメモリ20の0〜15
番地までの初期化となったが、対象とするメモリの容量
が大ぎい場合等では、アドレスカウンタ16のビット数
を増すことによって、上記実施例がそのまま適用できる
In the above embodiment, since a 4-bit counter is used as the address counter 16, 0 to 15 of the memory 20
Although initialization is performed up to the address, if the capacity of the target memory is large, the above embodiment can be applied as is by increasing the number of bits of the address counter 16.

また、初期化に係る初期データタDoはシステムに応じ
て任意に設定されるものである。
Further, the initial data Do related to initialization is arbitrarily set depending on the system.

上記実施例では、本発明に係る初期f−タ設定手段、指
定アドレス更新手段、再込み指令下段を具体的に、初期
データ設定器14、アドレスカウンタ16、初期化制御
回路16としてハードウェア的に実現しているが、夫々
の機能の一部あるいは全部をソノ1へウェア的に実現づ
−ることも可能である。
In the above embodiment, the initial f-tater setting means, specified address updating means, and lower stage of the re-entering command according to the present invention are specifically implemented as hardware as the initial data setter 14, address counter 16, and initialization control circuit 16. However, it is also possible to implement some or all of the respective functions in software.

[発明の効果] 以上説明してきたように、本発明によれば、プロセッサ
の機能とは独立したメモリ初期化装置が具体的に実現づ
ることが可能となる。これにより、当該メモリ初期化装
置を採用したシステムでは、初期化処理を実行している
間、並列的にプロセッサが他の処理を行なうことができ
るようになり、効率的なシステムが実現できる。頻繁に
初期化する必要のあるキャッジコメモリ、連想メモリ等
を対象としたシステムでは特にその効果は大ぎい。
[Effects of the Invention] As described above, according to the present invention, it is possible to concretely realize a memory initialization device that is independent of the functions of a processor. As a result, in a system employing the memory initialization device, the processor can perform other processing in parallel while the initialization processing is being executed, and an efficient system can be realized. This effect is particularly great in systems that target cache co-memories, associative memories, etc. that need to be initialized frequently.

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

第1図は本発明の構成を示すブロック図、第2図は本発
明に係るメモリ初期化装置の一例を示すブロック図、第
3図は第2図に示す装置での初期化処理の例を示づ一タ
イミングチャートである。 −11= [符号の説明] 1・・・プロセッサ 2・・・メモリ 3・・・初期データ設定手段 4・・・指定アドレス更新手段 5・・・書込み指令手段 10・・・CPU 12・・・初期化制御回路 14・・・初期データ設定器 15.17・・・マルチプレクサ 16・・・アドレスカウンタ 18・・・アンド回路 20・・・メモリ 特許出願人  富士ゼロックス株式会社代 埋 人  
弁理士  中村 智廣 (外2名)
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a block diagram showing an example of a memory initialization device according to the present invention, and FIG. 3 is a block diagram showing an example of initialization processing in the device shown in FIG. This is a timing chart. -11= [Explanation of symbols] 1...Processor 2...Memory 3...Initial data setting means 4...Specified address updating means 5...Write command means 10...CPU 12... Initialization control circuit 14...Initial data setter 15.17...Multiplexer 16...Address counter 18...AND circuit 20...Memory patent applicant Fuji Xerox Co., Ltd.
Patent attorney Tomohiro Nakamura (2 others)

Claims (1)

【特許請求の範囲】[Claims]  プロセッサからのアクセスによってリード、ライト可
能なメモリの初期化装置であつて、メモリに書込むべき
初期データを設定する初期データ設定手段と、メモリに
対する指定アドレスを予め定めた初期アドレス値から所
定の順に従つて順次更新する指定アドレス更新手段と、
この指定アドレス更新手段での更新タイミングと所定の
関係にてメモリに対して書込みを指令する書込み指令手
段とを備えたことを特徴とするメモリ初期化装置。
An initialization device for a memory readable and writable by access from a processor, comprising an initial data setting means for setting initial data to be written to the memory, and a specified address for the memory in a predetermined order from a predetermined initial address value. Therefore, designated address updating means for sequentially updating;
A memory initialization device characterized by comprising a write command means for instructing a memory to write in a predetermined relationship with the update timing of the designated address update means.
JP61255843A 1986-10-29 1986-10-29 Memory initializing device Pending JPS63112896A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61255843A JPS63112896A (en) 1986-10-29 1986-10-29 Memory initializing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61255843A JPS63112896A (en) 1986-10-29 1986-10-29 Memory initializing device

Publications (1)

Publication Number Publication Date
JPS63112896A true JPS63112896A (en) 1988-05-17

Family

ID=17284361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61255843A Pending JPS63112896A (en) 1986-10-29 1986-10-29 Memory initializing device

Country Status (1)

Country Link
JP (1) JPS63112896A (en)

Similar Documents

Publication Publication Date Title
US5809517A (en) Detachable memory apparatus capable of varying number of wait states for access based on stored timing information
JPH02267634A (en) Interrupt system
JP3628373B2 (en) Power management unit, computer system, and method for accessing a plurality of configuration registers in a power management unit of a computer system
CN110851073A (en) Storage device and macro instruction execution method
JPS63112896A (en) Memory initializing device
JPS581451B2 (en) Data transfer method
US6938118B1 (en) Controlling access to a primary memory
JPS5981721A (en) Accessing of microcomputer peripheral equipment
JPH06103225A (en) Chain type dma system and dma controller therefor
US4628450A (en) Data processing system having a local memory which does not use a directory device with distributed resident programs and a method therefor
JPH01261758A (en) Computer system
JPH0635800A (en) Microprocessor and data processing system using it
JPS59111533A (en) Digital data arithmetic circuit
JPH07146814A (en) Memory device
JPS6168654A (en) Memory control method
JPH05134810A (en) Command reordering method for disk device
JPH0683986A (en) Single chip microcomputer
JPH01263819A (en) Integrated circuit
JPS6027049A (en) Memory device
JP3036590B2 (en) External device control circuit
JP3091382B2 (en) Keyboard input reading method
JPH01177151A (en) Information processing system
JPH02178837A (en) Speed governing system for microprogram
JPS62217483A (en) Memory device
JPH05265942A (en) Data inputting and outputting method for dma control part