JPH01219941A - Memory management system for microprocessor system - Google Patents

Memory management system for microprocessor system

Info

Publication number
JPH01219941A
JPH01219941A JP63045661A JP4566188A JPH01219941A JP H01219941 A JPH01219941 A JP H01219941A JP 63045661 A JP63045661 A JP 63045661A JP 4566188 A JP4566188 A JP 4566188A JP H01219941 A JPH01219941 A JP H01219941A
Authority
JP
Japan
Prior art keywords
microprocessor
output devices
interface
external input
input
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
JP63045661A
Other languages
Japanese (ja)
Inventor
Tetsuo Tokita
鴇田 哲夫
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63045661A priority Critical patent/JPH01219941A/en
Publication of JPH01219941A publication Critical patent/JPH01219941A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Abstract

PURPOSE:To use a user area up to its maximum independently of the kind and the number of input/output devices by using a part of the logical space of a main storage of a microprocessor system also as the interface area of external input/output devices. CONSTITUTION:When a microprocessor 1 outputs data of a main storage 3 to external input/output devices 7, 8, and 9, a storage switching means 5 checks whether writing of interface storages 4 corresponding to input/output devices 7, 8, and 9 is possible or not. When it is possible, the means 5 outputs a switching indication. The switching means 5 sets only interface storages 4 corresponding to input/output devices 7, 8, and 9 to the writable state through an enable read 6 and returns write permission information to the microprocessor 1 through a main bus 2. As the result, the processor 1 reads out data from the address of the main storage 3 and writes it in addresses of interface storages 4 through the main bus 2.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、メモリ管理方式に関し、特に、マイクロプロ
セッサシステムのメモリ管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to memory management schemes, and more particularly to memory management schemes for microprocessor systems.

従来の技術 従来、この種のメモリ管理方式は、外部入出力装置に対
応して主記憶の論理空間にインターフェイス領域サイズ
を割当てる方式になっていた。
BACKGROUND OF THE INVENTION Conventionally, this type of memory management method has been a method of allocating an interface area size to a logical space of main memory in correspondence with an external input/output device.

発明が解決しようとする課題 上述した従来のメモリ管理システムは、外部入出力装置
の数又は種類が増加するに従って主記憶の論理空間に占
めるインターフェイス領域のサイズが拡大するので、外
部入出力装置の種類又は数が増加するとユーザプログラ
ムの動作が不可能となる欠点があった。
Problems to be Solved by the Invention In the conventional memory management system described above, the size of the interface area occupied in the logical space of the main memory increases as the number or type of external input/output devices increases. Alternatively, if the number increases, there is a drawback that the operation of the user program becomes impossible.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することを可能としたマイクロプロセッサシステ
ムの新規なメモリ管理方式を提供することにある。
The present invention has been made in view of the above-mentioned conventional situation,
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a new memory management method for a microprocessor system which makes it possible to overcome the above-mentioned drawbacks inherent in the prior art.

課題を解決するための手段 上記目的を達成する為に、本発明に係るマイクロプロセ
ッサシステムのメモリ管理方式は、マイクロプロセッサ
と、主記憶と、複数の外部入出力装置に対応した複数の
同−論理空間を割当てられたインターフェイス記憶と、
同−論理空間を多重に切り換える情報リードとを有して
いる。
Means for Solving the Problems In order to achieve the above object, a memory management method for a microprocessor system according to the present invention includes a microprocessor, a main memory, and a plurality of identical logic devices corresponding to a plurality of external input/output devices. an interface memory with allocated space;
It has an information lead for switching the same logical space in multiple ways.

実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第1図は本発明に係るマイクロプロセッサシステムの一
実施例を示すプロ・ツク構成図である。
FIG. 1 is a block diagram showing an embodiment of a microprocessor system according to the present invention.

第1図を参照するに、本発明に係るマイクロプロセッサ
システムの一実施例は、マイクロプロセッサ1と、同一
のアドレス空間に割当てられている複数のインターフェ
イス記憶4と、主記憶3とを主バス2で結んで構成され
ている。
Referring to FIG. 1, one embodiment of the microprocessor system according to the present invention connects a microprocessor 1, a plurality of interface memories 4 allocated to the same address space, and a main memory 3 to a main bus 2. It is made up of .

いま、マイクロプロセッサ1が主記憶3のデータを外部
入出力装置7.8.9へ出力するには、まずマイクロプ
ロセッサ1は、記憶切換手段5に目的の外部入出力装置
7.8またはりに対応したインターフェイス記憶4を書
き込み可能か否かをチエツクし、可能ならば切り換え指
示を出す。記憶切換手段5は、目的の外部入出力装置7
.8または9に対応したインターフェイス記憶4のみを
イネーブルリード6を介して書き込み可能とし、次にマ
イクロプロセッサ1に主バス2を介して書き込み許可情
報を返す。
Now, in order for the microprocessor 1 to output the data in the main memory 3 to the external input/output device 7.8.9, the microprocessor 1 first outputs the data in the main memory 3 to the external input/output device 7.8. It is checked whether or not the corresponding interface memory 4 can be written to, and if possible, a switching instruction is issued. The memory switching means 5 selects the target external input/output device 7.
.. Only the interface memory 4 corresponding to 8 or 9 is made writable via the enable lead 6, and then write permission information is returned to the microprocessor 1 via the main bus 2.

この結果、マイクロプロセッサ1は主バス2を介して主
記憶3のアドレスより該当のデータを読み出し、次に主
バス2を介して目的の外部入出力装置7.8または9に
対応したインターフェイス記憶4のアドレスに書き込む
。さらにインターフェイス記憶4より目的の外部入出力
装置7.8または9にデータを書き込む。外部入出力装
置書き込み中、対応のインターフェイス記憶4は書き込
み禁止情報を記憶切換手段5へ通知し、マイクロプロセ
ッサ1からの書き込みを禁止する。外部入出力装置へ書
き込みが完了すると、記憶切換手段5へ書き込み禁止解
除情報を通知する。
As a result, the microprocessor 1 reads the corresponding data from the address of the main memory 3 via the main bus 2, and then reads the corresponding data via the main bus 2 to the interface memory 4 corresponding to the target external input/output device 7.8 or 9. write to the address of Furthermore, data is written from the interface memory 4 to the target external input/output device 7.8 or 9. During writing to the external input/output device, the corresponding interface memory 4 notifies the memory switching means 5 of write prohibition information and prohibits writing from the microprocessor 1. When writing to the external input/output device is completed, write prohibition release information is notified to the storage switching means 5.

しかしながら、マイクロプロセッサ1は、インターフェ
イス記憶4より対応の外部入出力装置にデータ書き込み
中でも別の外部入出力装置に書き込み要求があった場合
には、別の外部入出力装置に対応のインターフェイス記
憶4が書き込み許可状態であれば上記と同一の手順でデ
ータの書き込みが可能である。従って、前者、後者のイ
ンターフェイス記憶4の書き込みアドレスが重複しても
相互に影響なく、各インターフェイス記憶4のデータは
対応の外部入出力装置へ書き込むことが可能となる。
However, if the microprocessor 1 receives a write request to another external input/output device while data is being written from the interface memory 4 to the corresponding external input/output device, the microprocessor 1 may write the corresponding interface memory 4 to the other external input/output device. If it is in a write-enabled state, data can be written using the same procedure as above. Therefore, even if the write addresses of the former and latter interface memories 4 overlap, the data in each interface memory 4 can be written to the corresponding external input/output device without affecting each other.

以北のように、外部入出力装置に対応し物理的に別々の
インターフェイス記憶4を同−論理空間に割り当てるこ
とにより、外部入出力装置が増加しても入出力インター
フェイス領域の論理空間サイズを増やす必要がなくかつ
マイクロプロセッサの使用効率が高められる。
As described above, by allocating physically separate interface memories 4 corresponding to external input/output devices to the same logical space, the logical space size of the input/output interface area can be increased even if the number of external input/output devices increases. This eliminates the need for microprocessor usage and increases the efficiency of microprocessor usage.

発明の詳細 な説明したように、本発明によれば、マイクロプロセッ
サシステムの主記憶の論理空間の一部を外部入出力装置
の入出力インターフェイス領域と共有することにより、
マイクロプロセッサは外部入出力装置の種類、数と独立
にユーザエリアを最大限に利用可能となること及び入出
力装置側のプロセッサからも独立に入出力インターフェ
イス領域をアクセス可能なので高速な入出力インターフ
ェイスできる効果が得られる。
As described in detail, according to the present invention, by sharing a part of the logical space of the main memory of the microprocessor system with the input/output interface area of the external input/output device,
The microprocessor can maximize the use of the user area independent of the type and number of external input/output devices, and the input/output interface area can be accessed independently from the processor on the input/output device side, resulting in a high-speed input/output interface. Effects can be obtained.

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

第1図は本発明の一実施例を示すプロ・ツク構成図であ
る。 1・・・マイクロプロセッサ、2・・・主バス、3・・
・主記憶、4・−インターフェイス記憶、5自記憶切換
手段、6・・・イネーブルリード、7,8.9・・・外
部入出力装置 特許出願人   日本電気株式会社 代 理 人   弁理士 熊谷雄太部
FIG. 1 is a block diagram of a program showing one embodiment of the present invention. 1...Microprocessor, 2...Main bus, 3...
- Main memory, 4 - Interface memory, 5 Self-memory switching means, 6... Enable read, 7, 8.9... External input/output device Patent applicant NEC Co., Ltd. Representative Patent attorney Yutabe Kumagai

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサシステムの主記憶の一部の論理空間
を多重に使用し、複数の外部入出力装置とインターフェ
イスするための領域を該外部入出力装置と共有し、入出
力インターフェイス領域の論理空間サイズを前記外部入
出力装置の数によらず限定し、かつアクセス速度の遅れ
のないことを特徴とするマイクロプロセッサシステムの
メモリ管理方式。
A part of the logical space of the main memory of the microprocessor system is used multiplexed, an area for interfacing with multiple external input/output devices is shared with the external input/output devices, and the logical space size of the input/output interface area is set as above. A memory management method for a microprocessor system that is limited in number regardless of the number of external input/output devices and is characterized by no delay in access speed.
JP63045661A 1988-02-26 1988-02-26 Memory management system for microprocessor system Pending JPH01219941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63045661A JPH01219941A (en) 1988-02-26 1988-02-26 Memory management system for microprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63045661A JPH01219941A (en) 1988-02-26 1988-02-26 Memory management system for microprocessor system

Publications (1)

Publication Number Publication Date
JPH01219941A true JPH01219941A (en) 1989-09-01

Family

ID=12725559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63045661A Pending JPH01219941A (en) 1988-02-26 1988-02-26 Memory management system for microprocessor system

Country Status (1)

Country Link
JP (1) JPH01219941A (en)

Similar Documents

Publication Publication Date Title
US4511964A (en) Dynamic physical memory mapping and management of independent programming environments
US7782683B2 (en) Multi-port memory device for buffering between hosts and non-volatile memory devices
US11635901B2 (en) Data storage device, and non-volatile memory control method
EP0229932A2 (en) High-capacity memory for multiprocessor systems
US5293622A (en) Computer system with input/output cache
JP3629507B2 (en) System and method for providing shared memory using shared virtual segment identification in a computer system
US6629219B1 (en) Method and apparatus for providing highly programmable memory mapping and improved interleaving
JPS645341B2 (en)
WO1993009497A3 (en) Memory unit including a multiple write cache
EP0464637B1 (en) Expanded memory unit
RU2020563C1 (en) Device for data distribution at parallel copying of data
JPS6132290A (en) Memory device
EP1770529A2 (en) Appartaus with dual writing function and storage control apparatus
JPH07325757A (en) Storage management device
JPS58201157A (en) Control circuit of bank memory
JPS60253083A (en) Storage device controlling system
JPH036755A (en) Electronic computer
JPS59100976A (en) Memory allotting system of image processor
JPH1196756A (en) Semiconductor storage device
JPS62260242A (en) Large capacity memory device for continuous data
JPH0736774A (en) Memory management device
JPS60196858A (en) Input processor of data with label
JP2000276383A (en) Computer with function for changing storage capacity and method for changing storage capacity
JPS61267149A (en) Data processor
JPS6040115B2 (en) Bubble memory bank switch method