JPS62262158A - Memory managing system - Google Patents
Memory managing systemInfo
- Publication number
- JPS62262158A JPS62262158A JP61105289A JP10528986A JPS62262158A JP S62262158 A JPS62262158 A JP S62262158A JP 61105289 A JP61105289 A JP 61105289A JP 10528986 A JP10528986 A JP 10528986A JP S62262158 A JPS62262158 A JP S62262158A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- dimensional
- address
- processor
- outputted
- 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
- 238000007726 management method Methods 0.000 claims description 16
- 238000010586 diagram Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
- Image Input (AREA)
- Memory System (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の目的〕
(産業上の利用分野)
本発明は論理アドレスによってメモリ管理を行なうメモ
リ管理方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a memory management system that performs memory management using logical addresses.
(従来の技術)
コンビエータの性能向上とその応用分野の拡大に伴ない
情報処理システムにおける°記憶”の役割りはハードウ
ェア的にもソフトウェア的にも著しく大きくなって来て
いる。この1記憶1を有効哲理する管理ユニットに至っ
ては以前にも増しで厳しい仕様が要求される。(Prior Art) As the performance of combinators improves and their application fields expand, the role of "memory" in information processing systems has become significantly larger, both in terms of hardware and software. Management units that follow this effective philosophy are required to meet even more stringent specifications than ever before.
ところで、上記1記憶”を司どるメモリと、このメモリ
を参照する装置、即ち、プロセッサや入出力デバイスと
のインタフェースは通常リニアアドレス(−次元アドレ
ス)となっている。第4図(:ユニデロセッシングシス
テムの例ヲ、 ’7= 5 ”;3にマルチプロセッシ
ングシステムの例を示ス。両図において41,42.4
3はプロセッサ、44はメモリである。By the way, the interface between the memory that controls the above-mentioned "1 memory" and devices that refer to this memory, that is, processors and input/output devices, is usually a linear address (-dimensional address). An example of a multi-processing system is shown in 3. 41, 42.4 in both figures.
3 is a processor, and 44 is a memory.
(発明が解決しようとする問題点)
上述した様に、プロセッサ41等メモリ44を直接アク
セスできるデバイスとメモリ44のインタフェースは、
リニアアドレス(1次元アドレス)となっている。従っ
て、プロセッサ41を制御するソフトウェア等論理的に
は、多次元である場合、リニアアドレスに変換すること
で情報量が失われてしまうという欠点があった。また、
第5図に示す様に、複数のプロセッサ4 J 、 42
.43が同一のメモリ44をアクセスする場合、各プロ
セッサ41,42.43が独立に物理アドレスな出力す
るため、統一的なメモリ管理ができないという欠点があ
った。(Problems to be Solved by the Invention) As described above, the interface between the memory 44 and a device that can directly access the memory 44, such as the processor 41, is
It is a linear address (one-dimensional address). Therefore, if the software that controls the processor 41 is multi-dimensional in terms of logic, there is a drawback that the amount of information is lost when converted to a linear address. Also,
As shown in FIG. 5, a plurality of processors 4J, 42
.. 43 access the same memory 44, each processor 41, 42, 43 independently outputs a physical address, which has the disadvantage that unified memory management is not possible.
本発明は上述した事情(:基づきなされたものであり、
メモリを直接アクセスするデ・ダイスからは、多次元の
論理アドレスを出力し、論理アドレスによって統一的な
メモリ管理を行うメモリ管理方式を提供することを目的
とする。The present invention was made based on the above-mentioned circumstances (:
The purpose of this invention is to provide a memory management method that outputs multidimensional logical addresses from a die that directly accesses memory, and performs unified memory management using logical addresses.
(問題点を解決するための手段)
本発明は上述した目的を実現するため、論理的に多次元
なデータ配列を物理的なメモリに割り当てる場合、多次
元論理アドレスを用いることで、メモリのマツピング、
保!(ライトプロテクト)、クリッピング等のメそす管
理を行ない、又、マツピングにより決まるメモリを直接
参照可能な物理アドレスに変換しメモリ番地を指定する
構成とした。このメモリ参照方式を実現するために、メ
モリを直接参照可能な物理アドレスだけでなく、上記の
多次元論理アドレスも出力可能にしたデバイスを備えた
。(Means for Solving the Problems) In order to achieve the above-mentioned object, the present invention uses a multidimensional logical address to perform memory mapping when a logically multidimensional data array is allocated to a physical memory. ,
Safe! (write protection), clipping, etc., and also converts the memory determined by mapping into a physical address that can be directly referenced and specifies the memory address. In order to realize this memory referencing method, we provided a device that can output not only physical addresses that can directly refer to memory, but also the above-mentioned multidimensional logical addresses.
(作 用)
ソフトウェア等のデータ構造がn次元配列で考えられて
いた場合、プロセッサからn次元の論理アドレスが出力
される。プロセッサのメモリをアクセスするスピードあ
るいはチップのピン数に応じて上記n次元アドレスは並
列に同時に出力したり、あるいは時分割に出力されたり
する。これが1次元アドレス変換回路に入力され、メモ
リをアクセス出来る1次元の物理アドレスに変換される
。このことにより、情報量が失なわれることなく、統一
的メモリ管理が実現出来る。(Function) If the data structure of software etc. is considered as an n-dimensional array, an n-dimensional logical address is output from the processor. Depending on the speed of accessing the memory of the processor or the number of pins of the chip, the n-dimensional addresses are output in parallel or simultaneously or in a time-division manner. This is input to a one-dimensional address conversion circuit and converted into a one-dimensional physical address that can access the memory. This makes it possible to realize unified memory management without losing the amount of information.
(実施例)
以下図面を使用して本発明実施例につき詳細に説明する
。(Example) Examples of the present invention will be described in detail below using the drawings.
第1図は本発明の実施例を示すブロック図である。図に
おいて、11は、プロセッサ(CPU)等メモリを直接
アクセスするデバイスであり、従来とは異なり、n次元
の論理アドレスを生成する。FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 11 is a device that directly accesses memory, such as a processor (CPU), and unlike the conventional device, generates n-dimensional logical addresses.
1gはメモリ管理ユニット(MCU)であり、上記CP
UI 1によって生成されるn次元の論理アドレスにて
メモリ(MMU)14をアクセス出来る様、リニアアド
レスに変換する回路である。1g is a memory management unit (MCU), and the above CP
This is a circuit that converts the n-dimensional logical address generated by the UI 1 into a linear address so that the memory (MMU) 14 can be accessed.
以下、動作を説明すると、ソフトウェア等のデータ構造
がn次元配列で考えられていた場合、プロセッサ11よ
りn次元の論理アドレスが出力される。プロセッサ1ノ
のメモリ14をアクセスするスピード、゛テップのピン
数に応じて、n次元アドレスは、・壁ラレルに同時に出
力したり、あるいは時分割により出力される。これがメ
モリ管理ユニット15に内蔵された1次元アドレス変換
回路に入力され、メモリを、アクセスできる1次元の。The operation will be explained below. When the data structure of software or the like is considered as an n-dimensional array, the processor 11 outputs an n-dimensional logical address. Depending on the speed at which the memory 14 of the processor 1 is accessed and the number of pins of the step, the n-dimensional addresses are output simultaneously to the walls or in a time-sharing manner. This is input to a one-dimensional address conversion circuit built into the memory management unit 15, and the memory is converted into a one-dimensional address that can be accessed.
物理アドレスに変換される。Translated to a physical address.
第2図は、複数のプロセッサが同一のメモリをアクセス
する場合の本発明実施例を示した図である。図において
、21〜23はプロセッサ、25はメそす管理ユニット
、24はメモリである。各プロセッサ21〜23から出
力されるn次元の論理アドレスは、メモリ管理ユニット
25により、統一的に論理アドレスでメそす管理され、
1次元の物理アドレスに変換される。FIG. 2 is a diagram showing an embodiment of the present invention in which a plurality of processors access the same memory. In the figure, 21 to 23 are processors, 25 is a management unit, and 24 is a memory. The n-dimensional logical addresses output from each of the processors 21 to 23 are managed by the memory management unit 25 in a unified manner as logical addresses.
Converted to a one-dimensional physical address.
第3図は、2次元画像制御への本発明の応用例を示した
図である。図において、31はラスタオペレージ璽ンを
実行するLSIチップであり、ディスプレイ画面の任意
位置へ高速な文字表示を行なうために、bitblt
(bit bounday blockTransfe
r)という高速データ転送機構を持つ、32はビットマ
ツプメモリ34へ図形等の情報を高速に書込む描画プロ
セッサである。bttb+tの機能を持ったラスタ第4
レージ1ンチツプ31と図形等の表示を行う描画プロセ
ッサ32からは、2次元のメアドレスが出力される。こ
こでは、アドレス管理ユニット35で1次元物理アドレ
スへの変換とクリッピング等のメモリ管理を行い、ビッ
トマツプメモリ34を制御するものである。FIG. 3 is a diagram showing an example of application of the present invention to two-dimensional image control. In the figure, numeral 31 is an LSI chip that executes raster operation.
(bit boundary block transfer
32 is a drawing processor that writes information such as graphics to the bitmap memory 34 at high speed. 4th raster with bttb+t function
A two-dimensional mail address is output from the storage chip 31 and the drawing processor 32 which displays figures and the like. Here, the address management unit 35 performs memory management such as conversion into one-dimensional physical addresses and clipping, and controls the bitmap memory 34.
以上説明の様に、データ構造が論理的に多次元に構成さ
れているデバイスが、メモリをアクセスするとき、その
デバイスからは、多次元の論理アドレスを出力するので
、従来の一次元アドレスを出力してメモリを直接アクセ
スしていたように情報量が減ってしまうことがない。(
n次元は1次元に変換可能であるが、1次元をn次元に
変換することはできない。)又、複数のデバイスが同一
のメモリをアクセスする場合、論理アドレスを用いると
、物理テドレスでは、できなかりた統一的、理想的なメ
モリ管理を行うことができる。As explained above, when a device whose data structure is logically configured in multiple dimensions accesses memory, it outputs a multidimensional logical address, so it outputs a conventional one-dimensional address. The amount of information does not decrease as would be the case if the memory was accessed directly. (
Although n dimensions can be converted into one dimension, one dimension cannot be converted into n dimensions. ) Furthermore, when multiple devices access the same memory, the use of logical addresses allows unified and ideal memory management, which was not possible with physical addresses.
第1図は本発明の実施例を示すブロック図、(ユニプロ
セッシング)第2図は本発明の他の実施例を示すブロッ
ク図、(マルチプロセッシング)、第3図は本発明を2
次元画像表示に適用、したときの応用例を示すブロック
図、第4図・第5図は第1図・第2図のそれぞれに対応
する従来例である。
I J 、 21 、22 、2 j−・・プロセッサ
、14゜24・・・メモリ、15 、25 、35−・
・メモリ管理ユニット、j 1−・・ラスタオペレージ
薗ンテック、32・・・描画プロセッサ、 j 4−・
・ピットマツプメモリ。
出願人代理人 弁理士 鈴 江 武 彦第1図
第2図
第3図FIG. 1 is a block diagram showing an embodiment of the present invention (uniprocessing). FIG. 2 is a block diagram showing another embodiment of the invention (multiprocessing).
FIGS. 4 and 5, which are block diagrams showing an example of application to dimensional image display, are conventional examples corresponding to FIGS. 1 and 2, respectively. IJ, 21, 22, 2 j-...Processor, 14°24...Memory, 15, 25, 35-...
・Memory management unit, j 1-... Raster operation Sonotech, 32... Drawing processor, j 4-...
・Pit map memory. Applicant's representative Patent attorney Takehiko Suzue Figure 1 Figure 2 Figure 3
Claims (1)
次元論理アドレスを用い、この割当てにより決まるメモ
リを直接参照される物理アドレスに変換してメモリ番地
を指定することを特徴とするメモリ管理方式。A memory management method characterized by using a multidimensional logical address when allocating a logically multidimensional data array to memory, converting the memory determined by this allocation into a physical address that is directly referenced, and specifying the memory address. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61105289A JPS62262158A (en) | 1986-05-08 | 1986-05-08 | Memory managing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61105289A JPS62262158A (en) | 1986-05-08 | 1986-05-08 | Memory managing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62262158A true JPS62262158A (en) | 1987-11-14 |
Family
ID=14403521
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61105289A Pending JPS62262158A (en) | 1986-05-08 | 1986-05-08 | Memory managing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62262158A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5765202A (en) * | 1995-09-08 | 1998-06-09 | Fujitsu Limited | Parallel computer of a distributed storage type |
JP2013218590A (en) * | 2012-04-11 | 2013-10-24 | I-Cubed Research Center Inc | Memory address generation device, memory address generation method, and program |
-
1986
- 1986-05-08 JP JP61105289A patent/JPS62262158A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5765202A (en) * | 1995-09-08 | 1998-06-09 | Fujitsu Limited | Parallel computer of a distributed storage type |
JP2013218590A (en) * | 2012-04-11 | 2013-10-24 | I-Cubed Research Center Inc | Memory address generation device, memory address generation method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11030095B2 (en) | Virtual space memory bandwidth reduction | |
JP2000181857A (en) | Method and device for implementing direct access transfer related to nonsequential address designable storage place | |
SE8405456L (en) | VERY FAST MEMORY AND MEMORY MANAGEMENT SYSTEM | |
JP6880149B2 (en) | Static Random Access Methods, Devices, Equipment and Storage Media for Accessing Memory | |
US11455781B2 (en) | Data reading/writing method and system in 3D image processing, storage medium and terminal | |
US11657119B2 (en) | Hardware accelerated convolution | |
US4827406A (en) | Memory allocation for multiple processors | |
JPH04246745A (en) | Memory access system | |
JP2023527770A (en) | Inference in memory | |
US20220171717A1 (en) | Adaptive out of order arbitration for numerous virtual queues | |
JPS62262158A (en) | Memory managing system | |
EP0532690B1 (en) | Method and apparatus for managing page zero memory accesses in a multi-processor system | |
JP2022512311A (en) | Matrix math instruction set tiling algorithm | |
US8593472B1 (en) | System and method for accessing a frame buffer via a storage driver | |
US5303363A (en) | Image processing apparatus having disk storage resembling ram memory | |
JPS61264378A (en) | Memory circuit | |
US6425020B1 (en) | Systems and methods for passively transferring data across a selected single bus line independent of a control circuitry | |
CN112395002B (en) | Operation method, device, computer equipment and storage medium | |
SU696544A1 (en) | Dynamic storage | |
JPS5858752B2 (en) | address translation device | |
JPH0744489A (en) | Data transfer method | |
JPS6069745A (en) | Data addressing system | |
JPS62276663A (en) | Program transfer method | |
JPS63245545A (en) | Dma system | |
JPS6336381A (en) | Memory control system for picture memory device |