JPS63100554A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPS63100554A
JPS63100554A JP24531086A JP24531086A JPS63100554A JP S63100554 A JPS63100554 A JP S63100554A JP 24531086 A JP24531086 A JP 24531086A JP 24531086 A JP24531086 A JP 24531086A JP S63100554 A JPS63100554 A JP S63100554A
Authority
JP
Japan
Prior art keywords
address
area
rom
ram
memory
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
JP24531086A
Other languages
Japanese (ja)
Inventor
Norihiro Tsutsui
筒井 範浩
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering 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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP24531086A priority Critical patent/JPS63100554A/en
Publication of JPS63100554A publication Critical patent/JPS63100554A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To extend a ROM area by dividing address multiplex areas of a ROM and a RAM and switching each divided area to a ROM area or a RAM area to use it. CONSTITUTION:If the signal on a memory controlling signal line 103 means extension of the ROM area in case of memory access, a memory control circuit 14 validates a ROM from address 0 to address B on a memory map by the signal on a ROM select signal line 104 and validates a RAM from address B to address C by the signal on a RAM select signal line 105. If the signal on the memory switching signal line 103 means reduction of the ROM area, the memory control circuit 14 validates the ROM from address 0 to address A on the memory map by the signal on the ROM select signal line 104 and validates the RAM from address A to address C by the signal on the RAM select signal line 105.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、コンピュータシステムにおけるメモリ制御装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a memory control device in a computer system.

[発明の構成]    “ (問題を解決するための手段) 本発明のメモリ制御装置は、ROMとRA Mのアドレ
ス多重化領域において、そのアドレス多重化領域をいく
つかの領域に分割し、分割した領域ごとにROM領域又
はRAM領域に切り替えて使用する構成としたものであ
る。このため従来からのこの種の装置が持つコンポーネ
ントに、メモリ領域の切り替え情報がラッチされるレジ
スタが付加される。
[Structure of the Invention] “(Means for Solving the Problem) The memory control device of the present invention divides the address multiplexing area into several areas in the address multiplexing area of ROM and RAM. The configuration is such that each area is switched between a ROM area or a RAM area for use.For this reason, a register for latching memory area switching information is added to the components of conventional devices of this type.

(作用) 上記構成において、まずCPUはアドレスとメモリ領域
の切り替えを意味するデータを出力する。入出力制御回
路は、前記アドレスをデコードしレジスタを有効にする
。それにより、前記データをレジスタにラッチし、メモ
リ制御回路にメモリ切り替え信号として供給する。メモ
リ制御回路は、前記レジスタ出力及びアドレスに従いR
OMセレクト信号、RA Mセレクト信号を生成し、そ
れぞれROM、RAMに供給する。
(Operation) In the above configuration, the CPU first outputs data indicating switching of an address and a memory area. The input/output control circuit decodes the address and enables the register. Thereby, the data is latched in the register and supplied to the memory control circuit as a memory switching signal. The memory control circuit controls R according to the register output and address.
Generates an OM select signal and a RAM select signal and supplies them to the ROM and RAM, respectively.

このことにより、分割した領域ごとにROM領域とRA
M領域に切り替えて使用することができ、従ってROM
領域、RAM領域の拡張が可能となる。
This allows the ROM area and RA area to be
It can be used by switching to the M area, so the ROM
It becomes possible to expand the area and RAM area.

(従来の技術) 一般に、コンピュータシステムのメモリはROM領域と
RA M領域とから成り、例えば、第3図のように構成
される。第3図において、ROMB2のデータをアクセ
スする場合、CPU31はアドレスバス300上にアド
レスを出力すると共に、メモリ制御回路34へ供給され
るメモリ制御信号ライン302を有効とする。そしてメ
モリ制御回路34は、アドレスバス300上のデータを
デコードしROMセレクト信号ライン303を有効にす
る。それによりROM32は、アドレスバス300上の
アドレスに対応するデータをデータバス301上に出力
し、CPU31はデータバス301上のデータを読み取
る。
(Prior Art) Generally, the memory of a computer system consists of a ROM area and a RAM area, and is configured as shown in FIG. 3, for example. In FIG. 3, when accessing data in ROMB2, CPU 31 outputs an address on address bus 300 and also enables memory control signal line 302 supplied to memory control circuit 34. The memory control circuit 34 then decodes the data on the address bus 300 and enables the ROM select signal line 303. Thereby, the ROM 32 outputs data corresponding to the address on the address bus 300 onto the data bus 301, and the CPU 31 reads the data on the data bus 301.

RAM33へデータを書き込む場合、CPU31はアド
レスバス300上にアドレスを出力すると共にデータバ
ス301上にデータを出力し、メモリ制御回路34に供
給されるメモリ制御信号ライン302を有効にする。そ
してメモリ制御回路34は、アドレスバス300上のデ
ータをデコードしRAMセレクト信号304を有効にす
る。それにより、RAM33は、アドレスバス300上
のメモリアドレスにデータバス301上のデータを書き
込む。
When writing data to the RAM 33, the CPU 31 outputs an address on the address bus 300 and data on the data bus 301, and enables the memory control signal line 302 supplied to the memory control circuit 34. The memory control circuit 34 then decodes the data on the address bus 300 and makes the RAM select signal 304 valid. Thereby, the RAM 33 writes the data on the data bus 301 to the memory address on the address bus 300.

RAM33の読み出しの場合、CPU31はアドレスバ
ス300上にアドレスを出力すると共にメモリ制御信号
ライン302を有効にする。
For reading from RAM 33, CPU 31 outputs an address on address bus 300 and enables memory control signal line 302.

そしてメモリ制御回路34は、アドレスバス300上の
データをデコードしRAMセレクト信号304を有効に
する。それによりRAM33は、アドレスバス300上
のアドレスに対応したデータをデータバス301に出力
し、CPU31はデータバス301上に出力されたデー
タを読み取る。
The memory control circuit 34 then decodes the data on the address bus 300 and makes the RAM select signal 304 valid. Thereby, the RAM 33 outputs data corresponding to the address on the address bus 300 to the data bus 301, and the CPU 31 reads the data output onto the data bus 301.

このように構成された従来例のメモリマツプを第4図に
示す。第4図において、0番地からA番地までがROM
領域であり、A番地からB番地までがRAM領域である
A memory map of a conventional example configured in this manner is shown in FIG. In Figure 4, the ROM is from address 0 to address A.
The area from address A to address B is the RAM area.

(発明が解決しようとする問題点) ところで上記従来例に従えば、ROMとして使用してい
る領域はRAM領域として使用できず、また、システム
の集積度が高まっている現在、システムの自己診断やR
AMのファームウェアのブートロード等を行うためには
、それらのプログラムが格納されているR OM領域を
拡張する必要があるが、ROMの領域が増加することに
よりRAMとして使用できる領域が減少してしまうとい
う欠点があった。
(Problems to be Solved by the Invention) However, according to the above-mentioned conventional example, the area used as ROM cannot be used as a RAM area, and in addition, as the degree of integration of systems is increasing, system self-diagnosis and R
In order to bootload AM firmware, etc., it is necessary to expand the ROM area where those programs are stored, but as the ROM area increases, the area that can be used as RAM decreases. There was a drawback.

本発明は上記欠点に基づいてなされたものであり、少量
のハードウェアを付加することによりRAM領域を減ら
すことなくROM領域を拡張可とするメモリ制御装置を
提供することを目的とする。
The present invention has been made based on the above drawbacks, and an object of the present invention is to provide a memory control device that allows expansion of the ROM area without reducing the RAM area by adding a small amount of hardware.

(実施例) 以下、本発明の一実施例を図面を参照しながら説明する
。第1図は本発明の一実施例を示すブロック図である。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention.

図において、11はCPUである。12はROM、13
はRAMであり、アドレスバス100、データバス10
1を介して前記CPUI 1と接続される。14はメモ
リ制御回路である。メモリ制御回路14は、前記CPU
IIからメモリ制御信号ライン102にを介して供給さ
れる制御信号と前記アドレスバスを介して供給されるア
ドレスと、後述するレジスタ16より供給されるメモリ
切り替え信号を入力とする。それによりROMセレクト
信号ライン104を介してROMセレクト信号をRO〜
112へ、RAMセレクト信号ライン105を介してR
AMセレクト信号をRAM13へ供給する。15は入出
力制御回路であり、前記CPU11から入出力制御信号
ライン106を介して供給される制御信号と前記アドレ
スバス100を介して供給されるアドレスを入力として
、後述するレジスタ16ヘレジスタ制御信号ライン10
7を介して制御信号を供給する。16はレジスタであり
、前記CPUIIより前記データバス101を介して供
給されるデータを入力としてメモリ切り替え信号ライン
107を介してメモリ切り替え信号を、前記メモリ制御
回路14へ供給する。
In the figure, 11 is a CPU. 12 is ROM, 13
is RAM, address bus 100, data bus 10
It is connected to the CPUI 1 via 1. 14 is a memory control circuit. The memory control circuit 14
A control signal supplied from II to the memory control signal line 102, an address supplied via the address bus, and a memory switching signal supplied from a register 16, which will be described later, are input. Thereby, the ROM select signal is transmitted through the ROM select signal line 104 from RO to
112 to R via RAM select signal line 105.
An AM select signal is supplied to the RAM 13. Reference numeral 15 denotes an input/output control circuit, which inputs a control signal supplied from the CPU 11 via an input/output control signal line 106 and an address supplied via the address bus 100, and sends a register control signal line to a register 16 to be described later. 10
7 for supplying control signals. A register 16 receives data supplied from the CPU II via the data bus 101 and supplies a memory switching signal to the memory control circuit 14 via a memory switching signal line 107.

第2図は前記実施例のメモリマツプである。FIG. 2 is a memory map of the above embodiment.

第2図においてアドレスO番地からA番地まではROM
領域であり、A番地からB番地まではROMとRAMの
切り替え領域であり、B番地からC番地まではRAM領
域である。
In Figure 2, the area from address O to address A is ROM.
The area from address A to address B is a ROM and RAM switching area, and the area from address B to address C is a RAM area.

以下本発明実施例の動作について詳細に説明する。第1
図において、CPUIIはアドレスバス100上にアド
レスを出力すると共に、メモリ領域の切り替えを意味す
るデータをデータバス101上に出力し、入出力制御信
号ライン106を有効とする。そして入出力制御回路1
5は、アドレスバス100上のアドレスをデコードし、
レジスタ制御信号ライン107を有効とする。それによ
りデータバス101上のデータをレジスタ16にラッチ
し、メモリ制御回路14にメモリ切り替え信号ライン1
07を介してメモリ切り替え信号として供給する。
The operation of the embodiment of the present invention will be explained in detail below. 1st
In the figure, the CPU II outputs an address onto the address bus 100, and also outputs data indicating memory area switching onto the data bus 101, and makes the input/output control signal line 106 valid. and input/output control circuit 1
5 decodes the address on the address bus 100,
Register control signal line 107 is enabled. As a result, the data on the data bus 101 is latched into the register 16, and the memory switching signal line 1 is sent to the memory control circuit 14.
07 as a memory switching signal.

そして、メモリをアクセスする場合、メモリ制御信号ラ
イン103上の信号がROM領域の拡張を意味する信号
ならば、メモリ制御回路14はROMセレクト信号ライ
ン104上の信号により第2図メモリマツプのアドレス
0番地からB番地までのROMを有効とし、RAMセレ
クト信号ライン105上の信号によりアドレスB番地か
らC番地までのRAMを有効とする。
When accessing the memory, if the signal on the memory control signal line 103 is a signal indicating expansion of the ROM area, the memory control circuit 14 uses the signal on the ROM select signal line 104 to access the address 0 of the memory map in FIG. The ROM from address B to address B is enabled, and the RAM from address B to address C is enabled by a signal on the RAM select signal line 105.

また、メモリ切り替え信号ライン103上の信号がRO
M領域の縮少を意味する信号ならば、メモリ制御回路1
4はROMセレクト信号ライン104上の信号により第
2図メモリマツプのアドレス0番地からA番地までのR
OMを有効とし、RAMセレクト信号ライン105上の
信号によりアドレスA番地からC番地までのRAMを有
効とする。
Also, the signal on the memory switching signal line 103 is RO
If the signal means reduction of M area, memory control circuit 1
4 is a signal on the ROM select signal line 104 that selects R from address 0 to address A in the memory map in FIG.
OM is enabled, and the RAM from address A to address C is enabled by a signal on the RAM select signal line 105.

以上のように、第2図メモリマツプの0番地からB番地
までがROMとRAMでアドレスが多重化しているメモ
リ領域において、従来使用できなかったRAMのアドレ
スA番地からB番地までの領域が使用できる効果がある
As mentioned above, in the memory area where addresses 0 to B in the memory map in Figure 2 are multiplexed in ROM and RAM, the area from RAM addresses A to B, which was previously unusable, can be used. effective.

なお、本実施例では、分割した領域のうち一つの領域の
みをROM領域とRAM領域とに切り替えて使用してい
るが、切り替える領域が複数であってもRAMとして使
用できる領域が増加するためより効果がある。
Note that in this embodiment, only one of the divided areas is used by switching between the ROM area and the RAM area, but even if there are multiple areas to be switched, the area that can be used as RAM increases. effective.

[発明の効果] 本発明によれば、ROMとRAMのアドレス多重化領域
を分割して各分割した領域ごとにROM領域とRAM領
域とに切り替えて使用することにより、ROM領域にか
くれて使用することのできなかったROMの領域が使用
できるという効果がある。
[Effects of the Invention] According to the present invention, by dividing the address multiplexing area of ROM and RAM and switching between the ROM area and the RAM area for each divided area, the ROM area can be used hidden in the ROM area. This has the effect of making it possible to use areas of the ROM that otherwise could not be used.

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

第1図は本発明の一実施例のブロック図、第2図はその
メモリマツプを示す図、第3図は従来例のブロック図、
第4図はそのメモリマツプを示す図である。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing its memory map, and FIG. 3 is a block diagram of a conventional example.
FIG. 4 is a diagram showing the memory map.

Claims (1)

【特許請求の範囲】[Claims] アドレスが多重化したROMとRAMから成るメモリ領
域を有するコンピュータシステムにおいて、アドレスが
多重化された領域を分割し、分割した領域ごとにROM
領域又はRAM領域に切り替える情報が設定されるレジ
スタと、前記メモリにアドレス及び前記領域切り替え信
号を出力するCPUと、前記アドレスをデコードして前
記レジスタに制御信号を供給する入出力制御回路と、前
記レジスタを介して出力されるメモリ切り替え信号と前
記アドレス信号に従いROMセレクト信号、RAMセレ
クト信号を生成し、それぞれROM、RAMに供給する
メモリ制御回路とを具備することを特徴とするメモリ制
御装置。
In a computer system that has a memory area consisting of ROM and RAM with multiplexed addresses, the area with multiplexed addresses is divided, and each divided area has a ROM
a register in which information for switching to an area or a RAM area is set; a CPU that outputs an address and the area switching signal to the memory; an input/output control circuit that decodes the address and supplies a control signal to the register; A memory control device comprising a memory control circuit that generates a ROM select signal and a RAM select signal according to a memory switching signal outputted through a register and the address signal, and supplies the signals to the ROM and RAM, respectively.
JP24531086A 1986-10-17 1986-10-17 Memory controller Pending JPS63100554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24531086A JPS63100554A (en) 1986-10-17 1986-10-17 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24531086A JPS63100554A (en) 1986-10-17 1986-10-17 Memory controller

Publications (1)

Publication Number Publication Date
JPS63100554A true JPS63100554A (en) 1988-05-02

Family

ID=17131773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24531086A Pending JPS63100554A (en) 1986-10-17 1986-10-17 Memory controller

Country Status (1)

Country Link
JP (1) JPS63100554A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01309153A (en) * 1988-06-08 1989-12-13 Hitachi Ltd Information processor
KR100482360B1 (en) * 1997-08-20 2005-08-25 삼성전자주식회사 System and Address Mapping Method with RAM and ROM

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01309153A (en) * 1988-06-08 1989-12-13 Hitachi Ltd Information processor
KR100482360B1 (en) * 1997-08-20 2005-08-25 삼성전자주식회사 System and Address Mapping Method with RAM and ROM

Similar Documents

Publication Publication Date Title
US4984195A (en) Extended bus controller
JPH05204820A (en) Microcessor, processing system and bus interface
KR900003720A (en) Integrated circuit timer
JPS63100554A (en) Memory controller
US5557755A (en) Method and system for improving bus utilization efficiency
JPH02287646A (en) Memory extending system
JPH03214250A (en) Memory control circuit
JPH064469A (en) Input/output device control system
JPH05341872A (en) Data processor
JPH05173876A (en) Extended memory board
KR920008615A (en) Control Method of Multiple Subprocessors in Multiprocessor System
JPH0562786B2 (en)
JPS63245550A (en) Bus controller
KR940012151A (en) Address expansion unit
KR19990031220A (en) V. M. Bus Controls in V. M. Bus Systems
JPS63245549A (en) Bus controller
JPS5888890A (en) Memory controlling circuit
JPH01287767A (en) Control circuit for ram
JPH06259369A (en) Information processor
KR960042391A (en) DM controller in high speed medium computer system
JPH02139651A (en) Address decoding circuit
JPS60101662A (en) Dma transfer system
JPH03220683A (en) Microcomputer
KR900005310A (en) Computer system that matches I / O ports to the capacity of expansion memory
JPH04168545A (en) Interface circuit