JPH0773094A - Memory initialization controller - Google Patents
Memory initialization controllerInfo
- Publication number
- JPH0773094A JPH0773094A JP5220889A JP22088993A JPH0773094A JP H0773094 A JPH0773094 A JP H0773094A JP 5220889 A JP5220889 A JP 5220889A JP 22088993 A JP22088993 A JP 22088993A JP H0773094 A JPH0773094 A JP H0773094A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- capacity
- initialization
- data
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、メモリ配置を可変とす
ることによりメモリをクリアする実容量を削減して初期
化処理を高速化したメモリ初期化制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory initialization control device in which the memory allocation is variable to reduce the actual capacity for clearing the memory and to speed up the initialization process.
【0002】[0002]
【従来の技術】メモリの初期化(クリア)は、システム
起動時のパリティ作成やメモリ内容の初期設定になくて
はならないものである。しかしメモリクリアの実行に要
する時間は、メモリの搭載容量に比例して多くなる。2. Description of the Related Art Initialization (clearing) of a memory is essential for creating parity and initializing memory contents at system startup. However, the time required to execute the memory clear increases in proportion to the installed capacity of the memory.
【0003】図4に計算機システムの基本構成を示す。
図において、符号41は演算制御装置(CPU)であ
り、命令の実行、システムの制御を司る。符号42は主
記憶(MMU)であり、データや命令を一時保管する記
憶装置である。符号43はバスコントローラ(BCU)
であり、バスの制御や主記憶(MMU)42の制御など
を行なう。符号44はバスであり、このバスを通じてデ
ータの転送が行なわれる。FIG. 4 shows the basic configuration of a computer system.
In the figure, reference numeral 41 is an arithmetic and control unit (CPU), which executes instructions and controls the system. Reference numeral 42 is a main memory (MMU), which is a storage device for temporarily storing data and instructions. Reference numeral 43 is a bus controller (BCU)
It controls the bus and the main memory (MMU) 42. Reference numeral 44 is a bus, and data is transferred through this bus.
【0004】上述した演算制御を司るCPU41と、メ
モリならびにシステムバス制御を行なうBCU42、及
びデータや命令の記憶を行なうMMU43等によって構
成される計算機システムに於いて、システム起動時のパ
リティ生成ならびに初期データ設定のために、システム
起動時にMMU43内の全てのメモリに対して初期値を
書き込む必要がある。In the computer system including the CPU 41 which controls the arithmetic operation, the BCU 42 which controls the memory and the system bus, and the MMU 43 which stores the data and the instruction, the parity generation and the initial data at the time of starting the system are performed. For setting, it is necessary to write initial values to all the memories in the MMU 43 at system startup.
【0005】従来のメモリクリアは、搭載されている全
メモリ容量を検出し、その全てに対して1バイトずつ順
次初期データを書き込んでいた。従ってメモリ容量が増
加すればする程、メモリクリアの処理にかかる時間が増
大する。In the conventional memory clear, the entire memory capacity installed is detected, and initial data is sequentially written to each of them by 1 byte. Therefore, as the memory capacity increases, the time required for the memory clear processing increases.
【0006】[0006]
【発明が解決しようとする課題】今日の計算機システム
のメモリ構成は日々増大傾向にある。このため、初期設
定時のメモリクリアの処理時間もメモリ構成に比例して
増大してしまう傾向にある。上記した従来のメモリクリ
ア手段ではメモリを2倍増設したらメモリクリアの処理
時間も2倍かかってしまうため処理時間を短縮する必要
がある。The memory configuration of today's computer systems is increasing every day. Therefore, the processing time for memory clear at the time of initial setting tends to increase in proportion to the memory configuration. In the above-mentioned conventional memory clearing means, if the memory is doubled, the processing time for clearing the memory will be doubled. Therefore, it is necessary to shorten the processing time.
【0007】この発明は上記事情に鑑みてなされたもの
で、メモリ配置を変更して複数のメモリを同時にライト
する構成を採用することによって、初期化するメモリ実
容量を削減し、初期化に要する時間の削減を図ったメモ
リ初期化制御装置を提供することを目的とする。The present invention has been made in view of the above circumstances. By adopting a configuration in which the memory arrangement is changed and a plurality of memories are simultaneously written, the actual memory capacity to be initialized is reduced and the initialization is required. It is an object of the present invention to provide a memory initialization control device that reduces time.
【0008】[0008]
【課題を解決するための手段】本発明のメモリ初期化制
御装置は、システムに搭載されるメモリを所定の単位に
区分し、その単位毎の容量をチェックして初期化が必要
な領域量を求める演算手段と、上記の単位毎に設けら
れ、メモリアクセスのための同一スタートアドレスが設
定されるアドレス設定手段と、アドレス設定手段にて与
えられたアドレスから上記初期化が必要な領域量分だけ
初期データを同時に書き込むデータ書き込み手段とを具
備することを特徴とする。これにより、従来、メモリに
対して順次1バイトずつ初期化データを書き込んでいた
処理に代えて、複数のメモリの開始番地を同一とするこ
とにより、1バイト書き込みで複数のメモリに対して同
時書き込みを行ない、メモリの総書き込み量を削減する
ことができる。総書き込み量が削減されるため、削減さ
れた分だけ処理時間が短縮される。The memory initialization control device of the present invention divides the memory mounted in the system into predetermined units, checks the capacity of each unit, and determines the area amount required for initialization. The calculation means to be obtained, the address setting means which is provided for each of the above units, and which sets the same start address for memory access, and the area amount which requires the above initialization from the address given by the address setting means. Data writing means for simultaneously writing initial data is provided. As a result, instead of the process of sequentially writing the initialization data to the memory one byte at a time, the start addresses of the plurality of memories are made to be the same, so that one byte is simultaneously written to the plurality of memories. By doing so, it is possible to reduce the total amount of writing in the memory. Since the total write amount is reduced, the processing time is shortened by the reduced amount.
【0009】[0009]
【作用】従来では、図1(a)に示すように、メモリ初
期化時、直列的にメモリが配置されていた。このためメ
モリが増設されれば、増設された分だけ初期化しなけれ
ばならない領域が増加し、従って処理時間が増えてしま
う欠点があった。そこで本発明に於いては図1(b)に
示すように、メモリの初期化時、全メモリを何等分かに
区分し(分けた1単位をスロットと呼ぶ)、スロットの
メモリが同じアドレスを示すように並列に配置する。そ
うすれば同じアドレスに設定されたスロットは、CPU
からはメモリが同じアドレスに複数存在したように見え
るため、分割された分だけのメモリが同時にライトでき
る。従って、並列化された部分の領域削減が図れる。ま
た、分割単位が増設容量以下ならば、増設メモリ全てが
並列化されるため、増設されたとしてもメモリの初期化
に要する時間は変化しない。また本来の業務時に於いて
は、メモリを並列に配置していた場合、メモリ内容を正
常に読み出すことができないため、図1(b)に示すよ
うに、直列的に再配置する。このことにより、CPUの
自己診断時間を占有する場合の多いメモリクリアが高速
化されるため、システムの起動が高速化される。In the prior art, as shown in FIG. 1A, the memories are arranged in series at the time of initializing the memory. For this reason, if the memory is expanded, there is a drawback that the area that must be initialized increases by the amount of the expansion and therefore the processing time increases. Therefore, in the present invention, as shown in FIG. 1 (b), at the time of memory initialization, the entire memory is divided into several parts (the divided one unit is called a slot), and the memory of the slot has the same address. Place them in parallel as shown. Then the slot set to the same address will be
Since it seems that there are multiple memories at the same address, only the divided memory can be written simultaneously. Therefore, the area of the parallelized portion can be reduced. Further, if the division unit is less than or equal to the expansion capacity, all the expansion memories are parallelized, so that the time required for memory initialization does not change even if the expansion is expanded. Further, at the time of the original work, if the memories are arranged in parallel, the contents of the memory cannot be read normally, so that they are rearranged in series as shown in FIG. 1B. This speeds up memory clear, which often occupies the CPU self-diagnosis time, and speeds up system startup.
【0010】[0010]
【実施例】以下、図面を使用して本発明の実施例につい
て説明する。図1は本発明の理解を助けるために引用し
た図であり、メモリ配置の例につき従来例(a)と本発
明(b)とを対比して示した図である。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram quoted to facilitate understanding of the present invention, and is a diagram showing an example of a memory arrangement in comparison between a conventional example (a) and the present invention (b).
【0011】図2は本発明の実施例を示すブロック図で
ある。基本構成は図4に示す従来例と同様であるが、M
MUとBCUの内部構造が若干変更になり、その概念が
示されている。FIG. 2 is a block diagram showing an embodiment of the present invention. The basic configuration is the same as the conventional example shown in FIG.
The internal structure of the MU and BCU has changed slightly, and the concept is shown.
【0012】図に於いて、符号21はアドレスバスであ
り、図示しないCPUからメモリ22(以降、便宜上ス
ロットと称する)のどの部分を利用したいかを示すアド
レス情報が転送されてくる。In the figure, reference numeral 21 is an address bus, and address information indicating which part of the memory 22 (hereinafter referred to as a slot for convenience) to be used is transferred from a CPU (not shown).
【0013】符号22はメモリの分割単位であるスロッ
トであり、この単位で命令やデータが格納される。符号
23はアクセス許可信号が転送されるラインであり、ア
ドレスレジスタ26で許可されたときにセットされる信
号である。符号24はデータバスであり、スロット22
の内容やレジスタ25に設定されたデータの転送に使用
されるバスラインである。Reference numeral 22 is a slot which is a unit of memory division, and instructions and data are stored in this unit. Reference numeral 23 is a line to which an access permission signal is transferred, and is a signal which is set when the address register 26 permits. Reference numeral 24 is a data bus, and the slot 22
Is a bus line used for transferring the contents of the data and the data set in the register 25.
【0014】符号25はメモリ容量が設定されるレジス
タ(サイズレジスタ)であり、スロット22が持つ各メ
モリ容量をデータバス24を介してCPUに伝える。符
号26はアドレスレジスタであり、アドレスバス21を
介して転送されるアドレス情報を比較してスロット22
のどの部分をアクセスするか決定するために使用される
レジスタである。Reference numeral 25 is a register (size register) in which the memory capacity is set, and the memory capacity of each slot 22 is transmitted to the CPU via the data bus 24. Reference numeral 26 is an address register, which compares the address information transferred via the address bus 21 with the slot 22.
A register used to determine which part of the to access.
【0015】図3は本発明の実施例の動作を示すフロー
チャートである。以下、図1乃至図3を使用して本発明
の実施例による動作をて説明する。メモリクリア直前
は、図1に(a)で示すように、メモリが順序良く直列
形態にてメモリ配置がなされている。これをメモリクリ
ア時は、図1に(b)で示すようにメモリを並列形態に
再配置する。本発明の実施例では、全メモリが4スロッ
トで構成された例を示す。最初は並列化したときに実際
に初期化が必要な領域量(クリアカウント)を求めるた
めに、レジスタ24により各スロット26のメモリ容量
を読み出して、最大容量を示すスロットを求め、それを
クリアカウントとする。また同時に各スロット22のス
タートアドレスを一致させるため、アドレスレジスタ1
6に同じ値をセットする。例として、全てのスロット2
2のスタートアドレスを“0”に設定するためには、ア
ドレスレジスタ26に“0”をセットする。これを全て
のスロット22に対して行なえば、アドレスレジスタ2
6によってスロット22のアドレスが決定されるため、
アドレスレジスタ26が一致し、このことにより並列化
が図れる。FIG. 3 is a flow chart showing the operation of the embodiment of the present invention. Hereinafter, the operation according to the embodiment of the present invention will be described with reference to FIGS. Immediately before the memory is cleared, as shown in FIG. 1A, the memories are arranged in series in a serial form. When clearing the memory, the memories are rearranged in parallel as shown in FIG. In the embodiment of the present invention, an example in which all the memories are composed of 4 slots is shown. First, in order to obtain the amount of area (clear account) that actually needs to be initialized when parallelized, the memory capacity of each slot 26 is read by the register 24, the slot showing the maximum capacity is obtained, and this is cleared. And At the same time, in order to match the start address of each slot 22, the address register 1
Set the same value to 6. As an example, all slots 2
In order to set the start address of 2 to "0", "0" is set in the address register 26. If this is done for all slots 22, the address register 2
Since the address of slot 22 is determined by 6,
The address registers 26 match, which enables parallelization.
【0016】次にスロツト22に初期データを書き込む
方法であるが、並列配置時に求めたクリアカウント分の
領域に対してクリアを行なえば、アドレスレジスタ26
よりイネーブル信号(ライン23)が各スロット22に
セットされるため、各スロット22(本発明の実施例で
は4個の並列化されたメモリ)に初期データが1度にセ
ットされる。このため、直列配置に対して領域削減が図
れる。Next, there is a method of writing the initial data in the slot 22, but if the area for the clear account obtained at the time of parallel arrangement is cleared, the address register 26
Since the enable signal (line 23) is set in each slot 22, the initial data is set in each slot 22 (four parallelized memories in the embodiment of the present invention) at one time. Therefore, the area can be reduced with respect to the serial arrangement.
【0017】尚、本発明の実施例はCPUの自己診断を
前提に説明してきたが、これに限定されるものではな
く、入出力モジュールの初期設定時にも同様に利用可能
である。Although the embodiment of the present invention has been described on the premise of self-diagnosis of the CPU, the present invention is not limited to this, and can be similarly used at the time of initial setting of the input / output module.
【0018】[0018]
【発明の効果】以上説明のように本発明によれば、CP
Uの自己診断時間を占有する割合の多いメモリクリアが
高速になるため、システムの起動が高速化される。As described above, according to the present invention, CP
Since the memory clear, which often occupies the U self-diagnosis time, becomes faster, the system starts up faster.
【図1】本発明の理解を助けるために引用した図であ
り、メモリ配置の例につき従来例(a)と本発明(b)
とを対比して示した図。FIG. 1 is a diagram quoted to facilitate understanding of the present invention, showing a conventional example (a) and the present invention (b) as examples of memory allocation.
The figure which contrasted and was shown.
【図2】本発明の実施例を示すブロック図。FIG. 2 is a block diagram showing an embodiment of the present invention.
【図3】上記実施例の動作を示すフローチャート。FIG. 3 is a flowchart showing the operation of the above embodiment.
【図4】従来の計算機システムの基本構成を示すブロッ
ク図。FIG. 4 is a block diagram showing a basic configuration of a conventional computer system.
21…アドレスバス、22…スロット、23…アクセス
許可信号ライン、24…データバス、25…メモリ容量
設定レジスタ(サイズレジスタ)、26…アドレスレジ
スタ。21 ... Address bus, 22 ... Slot, 23 ... Access permission signal line, 24 ... Data bus, 25 ... Memory capacity setting register (size register), 26 ... Address register.
Claims (1)
位に区分し、その単位毎の容量をチェックして初期化が
必要な領域量を求める演算手段と、上記の単位毎に設け
られ、メモリアクセスのための同一スタートアドレスが
設定されるアドレス設定手段と、アドレス設定手段にて
与えられたアドレスから上記初期化が必要な領域量分だ
け初期データを同時に書き込むデータ書き込み手段とを
具備することを特徴とするメモリ初期化制御装置。1. A memory unit installed in a system is divided into predetermined units, an arithmetic means for checking a capacity of each unit to obtain an area amount requiring initialization, and a memory provided for each unit, An address setting means for setting the same start address for access; and a data writing means for simultaneously writing initial data by the amount of the area required to be initialized from the address given by the address setting means. A characteristic memory initialization control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5220889A JPH0773094A (en) | 1993-09-06 | 1993-09-06 | Memory initialization controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5220889A JPH0773094A (en) | 1993-09-06 | 1993-09-06 | Memory initialization controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0773094A true JPH0773094A (en) | 1995-03-17 |
Family
ID=16758125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5220889A Pending JPH0773094A (en) | 1993-09-06 | 1993-09-06 | Memory initialization controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0773094A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009277223A (en) * | 2008-05-14 | 2009-11-26 | Internatl Business Mach Corp <Ibm> | Computer system, method for initializing computer system and computer program |
-
1993
- 1993-09-06 JP JP5220889A patent/JPH0773094A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009277223A (en) * | 2008-05-14 | 2009-11-26 | Internatl Business Mach Corp <Ibm> | Computer system, method for initializing computer system and computer program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4163280A (en) | Address management system | |
US5832251A (en) | Emulation device | |
US6938118B1 (en) | Controlling access to a primary memory | |
JPH0773094A (en) | Memory initialization controller | |
JPH05197619A (en) | Memory control circuit for multi-cpu | |
US5561818A (en) | Microprocessor and data processing system for data transfer using a register file | |
US5530818A (en) | Semiconductor integrated circuit device for optionally selecting the correspondence between a chip-select signal and address space | |
JPS60205760A (en) | Memory controller | |
JPS5821304B2 (en) | Data search | |
US5933856A (en) | System and method for processing of memory data and communication system comprising such system | |
JPH06103026A (en) | Memory system | |
JPS6336021B2 (en) | ||
JPH10507548A (en) | Data processing systems and methods and communication systems with such systems | |
JP2000029508A (en) | Programmable controller | |
JPS62196729A (en) | Loading system for microprogram | |
JP3270149B2 (en) | Data transfer device | |
JP2716563B2 (en) | Data write control method | |
JPH0619867A (en) | Memory check system | |
JPH0566992A (en) | Data access system for eeprom | |
JPH04245346A (en) | Microcomputer system | |
JPH01260559A (en) | Microcomputer system | |
JPH07175602A (en) | Hard disk emulator | |
JPH0844570A (en) | System and method for program execution | |
JPH0316652B2 (en) | ||
JPS63646A (en) | Control circuit for memory access waiting |