JP2909109B2 - Memory controller - Google Patents
Memory controllerInfo
- Publication number
- JP2909109B2 JP2909109B2 JP1300714A JP30071489A JP2909109B2 JP 2909109 B2 JP2909109 B2 JP 2909109B2 JP 1300714 A JP1300714 A JP 1300714A JP 30071489 A JP30071489 A JP 30071489A JP 2909109 B2 JP2909109 B2 JP 2909109B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- memory
- area
- system memory
- 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.)
- Expired - Fee Related
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Description
【発明の詳細な説明】 [発明の目的] (産業上の分野) この発明は特にパーソナルコンピュータに用いて好適
なメモリ制御装置に関する。Description: Object of the Invention (Industrial Field) The present invention relates to a memory control device particularly suitable for use in a personal computer.
(従来の技術) 近年、半導体技術の進歩により、マイコン、メモリLS
I、周辺制御用LSIが安価に供給されるようになり、これ
らを適宜組合わせるだけで比較的高性能なパーソナルコ
ンピュータを構築できるようになった。また,パーソナ
ルコンピュータの分野では従来のディスクトップタイプ
に代わり、小形、軽量、携帯に便利なラップトップと称
されるタイプのパーソナルコンピュータが台頭し普及し
てきた。(Prior art) In recent years, with advances in semiconductor technology, microcomputers and memory LS
I. Peripheral control LSIs have been supplied at low cost, and a relatively high-performance personal computer can be constructed simply by combining them appropriately. In the field of personal computers, small-sized, light-weight, and portable laptop-type personal computers have replaced the conventional desktop type and have become popular.
ところで、この種パーソナルコンピュータにおいて
は、一旦電源を断っても電源再投入時には切断直前の状
態にシステムを戻す、いわゆるリジューム処理を標準で
サポートする。即ち、電源断面にVRAMデータ他、システ
ムデータをあらかじめバックアップしておくものある。
このためには従来、バックアップの必要なデータに対し
て各々のメモリにバックアップ用電源、あるいはバック
アップ用ロジックを設けて対処してきた。By the way, this kind of personal computer supports so-called resume processing as a standard, in which even when the power is turned off, the system is returned to the state immediately before the power is turned off when the power is turned on again. That is, there is a case where system data other than VRAM data is backed up in advance in a power supply section.
To this end, conventionally, a backup power supply or a backup logic is provided in each memory for data requiring backup.
(発明が解決しようとする課題) 上述した従来例によれば、バックアップ対象データが
特定され、汎用性に欠けるという問題があり、又、バッ
クアップされたメモリ領域を複数の目的で共通に使用し
たい場合に、各々の領域の割り振り等の処理に手間がか
かるという問題があった。(Problems to be Solved by the Invention) According to the above-mentioned conventional example, there is a problem that data to be backed up is specified and lacks versatility. Further, when it is desired to commonly use a backed-up memory area for a plurality of purposes. In addition, there is a problem that it takes time to perform processing such as allocation of each area.
この発明は上記事情に鑑みてなされたものであり、少
量のハードウエアを付加することにより、データバック
アップにおいて汎用性があり、かつ管理の容易なバック
アップ環境を持つメモリ制御装置を提供することを目的
とする。The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a memory control device having a versatile data backup and easily manageable backup environment by adding a small amount of hardware. And
[発明の構成] (課題を解決するための手段) 本発明のメモリ制御装置は、少なくとも一部がバッテ
リバックアップされたシステムメモリと、変換すべきア
ドレス空間を認識するデコーダと、上記システムメモリ
中のバッテリバックアップされた部分を示すアドレス値
がアドレス変換後の先頭アドレスとして設定されるベー
スレジスタと、バンク切換えを行うページアドレスが設
定されるページレジスタと、上記ベースレジスタに設定
されたアドレス値と上記ページレジスタに設定されたア
ドレス値とを加算した値と未変換の生のアドレス情報を
入力として得、上記デコーダの出力によっていずれか一
方をメモリアドレスの一部として上記システムメモリへ
供給するセレクタとを具備し、上記システムメモリ内の
所定の領域を指定するアドレス値を、上記システムメモ
リ中のバッテリバックアップされた部分に属するアドレ
ス値に変換するように構成される。[Configuration of the Invention] (Means for Solving the Problems) A memory control device of the present invention includes a system memory at least partially backed up by a battery, a decoder for recognizing an address space to be converted, and A base register in which an address value indicating a part backed up by a battery is set as a leading address after address conversion, a page register in which a page address for performing bank switching is set, an address value set in the base register, and the page A selector for obtaining a value obtained by adding an address value set in a register and unconverted raw address information as inputs, and supplying one of them as a part of a memory address to the system memory by an output of the decoder; Address that specifies a predetermined area in the system memory. The scan values, configured to convert the address values belonging to battery backup portion in said system memory.
(作 用) 本発明は、上述したデコーダにて示されるの特定アド
レス空間を介してバックアップメモリ内に任意データ
(例えばVRAMの内容)を格納し、電源OFF時のバックア
ップを行うものである。また、ページレジスタ、ベース
レジスタ、加算回路から成るアドレス変換ロジックによ
り、システムメモリが例えばハードRAM等のためにバッ
クアップ使用されていても、その空き領域を他の用途に
再割振りを行い他のデータバックアップに使用する事を
容易に行なえる。このように、システムメモリの全て、
あるいは一部がバックアップサポートされるパーソナル
コンピュータに、変換先アドレスを任意に設定できるバ
ンク切りかえ回路を設けることによりデータのバックア
ップを実現する。(Operation) The present invention stores arbitrary data (for example, the contents of VRAM) in a backup memory via a specific address space indicated by the above-described decoder, and performs backup when power is turned off. In addition, even if the system memory is used for backup, for example, for a hard RAM, etc., the free space is reallocated to another use by the address conversion logic consisting of the page register, base register, and addition circuit to perform other data backup. Can be easily used. Thus, all of the system memory,
Alternatively, backup of data is realized by providing a bank switching circuit capable of arbitrarily setting a conversion destination address in a personal computer partially supported by backup.
このことにより、バックアップされる連続したメモリ
空間への異種データ格納が容易に実現できる。This makes it easy to store different types of data in a continuous memory space to be backed up.
(実施例) 以下、図面を使用して本発明実施例について詳細に説
明する。第1図は本発明の実施例を示すブロック図であ
る。図において、符号1はベースレジスタであり、アド
レス変換のための先頭アドレス値が設定される。符号2
はページレジスタであり、バンク切替えによってアドレ
ス変換を容易にする。符号3はアダーであり、ベースレ
ジスタ1に設定されたベース値に、ページレジスタ2に
格納されているアドレス情報を加えて変換アドレスを生
成する。符号4はデコーダであり、変換対象アドレスで
あるか否かの判別を行う。符号5はアドレスラインであ
り、変換後のアドレスが転送される。符号6はアドレス
ラインであり、未変換アドレスが転送される。符号7は
セレクタであり、デコーダ4の情報によりアドレスライ
ン5か6からセレクトし、メモリアドレス情報とする。(Example) Hereinafter, an example of the present invention is described in detail using drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, reference numeral 1 denotes a base register, in which a head address value for address conversion is set. Sign 2
Is a page register, which facilitates address conversion by bank switching. Reference numeral 3 denotes an adder, which generates a conversion address by adding address information stored in the page register 2 to the base value set in the base register 1. Reference numeral 4 denotes a decoder, which determines whether the address is a conversion target address. Reference numeral 5 denotes an address line to which the converted address is transferred. Reference numeral 6 denotes an address line to which an unconverted address is transferred. Reference numeral 7 denotes a selector, which is selected from the address lines 5 or 6 by the information of the decoder 4 and is used as memory address information.
第2図は本発明実施例の動作をメモリ上にて示した図
である。図において、(a)はアドレス変換の為のフレ
ーム、(b)は第1のデータバックアップ領域、(c)
はベースレジスタ1により指定されるベースアドレスで
ある。(d)はページレジスタ2により設定される領域
ページ0、(e)は同じくページレジスタ2により設定
される領域ページ1、(f)は同じくページレジスタ2
により設定される領域ページ2である。ページ数はペー
ジレジスタ2がとりうる最大値、即ち、容量分だけ設定
可能である。FIG. 2 is a diagram showing the operation of the embodiment of the present invention on a memory. In the figure, (a) is a frame for address conversion, (b) is a first data backup area, (c)
Is a base address specified by the base register 1. (D) is an area page 0 set by the page register 2; (e) is an area page 1 set by the page register 2;
Is the area page 2 set by. The number of pages can be set by the maximum value that the page register 2 can take, that is, by the capacity.
以下、本発明実施例の動作について詳細に説明する。
第2図に示すように、バックアップされた領域とされて
いない領域のシステムメモリ(拡張メモリ等も含む)を
持つパーソナルコンピュータを例示し、以下に説明す
る。バックアップされた領域のうち、第2図(b)の部
分は第1の目的で使用される領域である。今、第2の目
的でこのバックアップされたメモリ領域を使おうとした
場合、(b)領域を除いたそれ以降の領域が使用可能な
領域となる。それ故、ベースレジスタ1には第2図
(C)で示すところのアドレス値を設定しておく。Hereinafter, the operation of the embodiment of the present invention will be described in detail.
As shown in FIG. 2, a personal computer having a system memory (including an extended memory and the like) in an area which is not set as a backed-up area will be described below. FIG. 2 (b) of the backed up area is an area used for the first purpose. If it is attempted to use the backed-up memory area for the second purpose, the area other than the area (b) becomes a usable area. Therefore, the address value shown in FIG. 2C is set in the base register 1.
(d)の領域に、データを格納するためには、ページ
レジスタ2に値“0"を設定し、第2図(a)領域にアク
セスを行う。このことにより、アダー3とセレクタ6に
よって生成されたメモリアドレスの上位情報と第2図
(a)領域のアクセスによって得られるアドレスの下位
情報とによって絶対アドレスが得られ、(d)領域への
アクセスが行われる。同様に第2図(e),(f)の領
域にデータを格納するには、ページレジスタ2に値
“1",“2"を設定し、(a)領域にアクセスを行なえば
よい。In order to store data in the area (d), a value “0” is set in the page register 2 and the area (a) in FIG. 2 is accessed. As a result, an absolute address is obtained from the upper information of the memory address generated by the adder 3 and the selector 6 and the lower information of the address obtained by accessing the area of FIG. 2A, and the access to the area of FIG. Is performed. Similarly, in order to store data in the areas shown in FIGS. 2E and 2F, values "1" and "2" are set in the page register 2 and the area (a) is accessed.
即ち、第2図(a)領域をフレームとし、ベースレジ
スタ1に設定されたアドレスから始まる領域に、ページ
レジスタ2によるバンク切替えでバックアップデータの
アクセスを行う。In other words, the backup data is accessed by switching the bank by the page register 2 to the area starting from the address set in the base register 1 with the area shown in FIG.
以上のようなアドレス変換回路を持つ事により、不特
定データのバックアップが可能となる。又、データの種
別等には関係なくバックアップできる為、システム固有
のデータ保持、ユーザに開放したデータ保持領域などに
利用される。また、VRAMデータを保持する事によりリジ
ューム機能を実現できる。By having the address conversion circuit as described above, backup of unspecified data becomes possible. In addition, since backup can be performed regardless of the type of data, it is used for data retention unique to the system and a data retention area opened to the user. The resume function can be realized by holding the VRAM data.
[発明の効果] 以上説明のように本発明によれば以下に列挙する効果
が得られる。[Effects of the Invention] As described above, according to the present invention, the following effects can be obtained.
(1)バックアップされる連続したメモリ空間への異種
データ格納が容易となる。(1) Different types of data can be easily stored in a continuous memory space to be backed up.
(2)バックアップ領域の増減が容易となる。(2) The backup area can be easily increased and decreased.
(3)バックアップされるデータの種類を問わない。(3) Regardless of the type of data to be backed up.
第1図は本発明の実施例を示すブロック図、第2図は本
発明実施例の動作を説明するために引用した図である。 1……ベースレジスタ、2……ページレジスタ、3……
アダー、4……デコーダ、7……セレクタ。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram cited for explaining the operation of the embodiment of the present invention. 1 ... base register, 2 ... page register, 3 ...
Adder, 4... Decoder, 7.
Claims (1)
れたシステムメモリと、 変換すべきアドレス空間を認識するデコーダと、 上記システムメモリ中のバッテリバックアップされた部
分を示すアドレス値がアドレス変換後の先頭アドレスと
して設定されるベースレジシタと、 バンク切換えを行うページアドレスが設定されるページ
レジスタと、 上記ベースレジスタに設定されたアドレス値と上記ペー
ジレジスタに設定されたアドレス値とを加算した値と未
変換の生のアドレス情報を入力として得、上記デコーダ
の出力によっていずれか一方をメモリアドレスの一部と
して上記システムメモリへ供給するセレクタとを具備
し、上記システムメモリ内の所定の領域を指定するアド
レス値を、上記システムメモリ中のバッテリバックアッ
プされた部分に属するアドレス値に変換することを特徴
とするメモリ制御装置。1. A system memory at least partially backed up by a battery, a decoder for recognizing an address space to be converted, and an address value indicating a battery backed up portion in the system memory is used as a head address after the address conversion. A base register to be set; a page register to set a page address for bank switching; a value obtained by adding the address value set to the base register to the address value set to the page register; A selector which receives address information as an input, and supplies one of them as a part of a memory address to the system memory by an output of the decoder, wherein an address value designating a predetermined area in the system memory is Battery backup in system memory A memory control device for converting the address value into an address value belonging to the portion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1300714A JP2909109B2 (en) | 1989-11-21 | 1989-11-21 | Memory controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1300714A JP2909109B2 (en) | 1989-11-21 | 1989-11-21 | Memory controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH03161852A JPH03161852A (en) | 1991-07-11 |
JP2909109B2 true JP2909109B2 (en) | 1999-06-23 |
Family
ID=17888214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1300714A Expired - Fee Related JP2909109B2 (en) | 1989-11-21 | 1989-11-21 | Memory controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2909109B2 (en) |
-
1989
- 1989-11-21 JP JP1300714A patent/JP2909109B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH03161852A (en) | 1991-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100589564B1 (en) | System signalling schemes for processor & memory module | |
JPH09219094A (en) | Memory, memory sub-system, memory device and memory system addressing method | |
TW394872B (en) | Address translation device | |
JP2909109B2 (en) | Memory controller | |
TWI284806B (en) | Method for managing external memory of a processor and chip for managing external memory | |
JPS62293581A (en) | Memory control system | |
JPS63261446A (en) | Extended virtual memory control system | |
JPS6349772Y2 (en) | ||
JPS622337A (en) | Memory extending system | |
JPS618787A (en) | Storage device | |
JPH04213743A (en) | Information processor | |
JPH0277934A (en) | Line buffer memory | |
JPS60225253A (en) | Information processing device | |
JPH0746324B2 (en) | Information processing equipment | |
JPS635448A (en) | Real space extension system | |
JPH052526A (en) | Data processor | |
JPS6345657A (en) | Virtual memory control system for virtual computer system | |
JPS58166581A (en) | Addressing system of memory | |
JPH03273440A (en) | Memory access controller | |
JP2001175463A (en) | Computer system | |
JPH0812637B2 (en) | Address translation method | |
JPH03235149A (en) | Address converter | |
JPH06266647A (en) | Address bus extension device | |
JPS58196672A (en) | Information processor | |
JPS62137640A (en) | Interpreter execution control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080402 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090402 Year of fee payment: 10 |
|
LAPS | Cancellation because of no payment of annual fees |