JPH05282198A - Dma transfer system - Google Patents
Dma transfer systemInfo
- Publication number
- JPH05282198A JPH05282198A JP4642691A JP4642691A JPH05282198A JP H05282198 A JPH05282198 A JP H05282198A JP 4642691 A JP4642691 A JP 4642691A JP 4642691 A JP4642691 A JP 4642691A JP H05282198 A JPH05282198 A JP H05282198A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- speed memory
- low
- memory space
- speed
- 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
- 230000015654 memory Effects 0.000 claims abstract description 257
- 230000010365 information processing Effects 0.000 claims description 9
- 230000004913 activation Effects 0.000 claims description 5
- 238000000034 method Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 230000003213 activating effect Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、高速メモリ及び低速メ
モリを有する情報処理装置におけるDMA(Direct Mem
ory Access)転送方式に関し、例えば、構内交換機等に
適用し得るものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMA (Direct Mem) in an information processing apparatus having a high speed memory and a low speed memory.
The ory access) transfer method can be applied to, for example, a private branch exchange.
【0002】[0002]
【従来の技術】中央処理装置、主記憶装置、ファイル制
御装置等が共通のプロセッサバスに接続される従来の情
報処理装置として、高速メモリと低速メモリというアク
セスタイムが異なるメモリが混在するものがある。例え
ば、最も頻繁にアクセスされるプログラムやデータ等を
中央処理装置内に設けられた高速メモリに格納し、一般
的なプログラムやデータ等を主記憶装置内の低速メモリ
に格納することで、全体として高速処理を実現した情報
処理装置が存在する。2. Description of the Related Art As a conventional information processing apparatus in which a central processing unit, a main storage unit, a file control unit, etc. are connected to a common processor bus, there is a high speed memory and a low speed memory in which memories having different access times are mixed. .. For example, by storing the most frequently accessed programs and data in a high-speed memory provided in the central processing unit and storing general programs and data in a low-speed memory in the main storage device, There is an information processing device that realizes high-speed processing.
【0003】従来、この種の情報処理装置におけるメモ
リ空間の構成は、高速メモリのメモリ空間と主記憶装置
内の低速メモリのメモリ空間とを分割したものであっ
た。このように速度が異なるメモリのメモリ空間を分割
したことにより、メモリ空間の調整等を行なう複雑な回
路を要することなく、また、種々の制約が課せられるこ
となく、各種のDMA転送が可能であった。すなわち、
DMA転送の種類としては、ファイル制御装置等の外部
入出力装置と高速メモリ間の転送、外部入出力装置と低
速メモリ間の転送、高速メモリと低速メモリ間の転送、
高速メモリ空間内での転送等があるが、いずれのDMA
転送についても、速度が異なるメモリのメモリ空間を分
割していたので、簡単な回路によって容易にDMA転送
することができていた。Conventionally, the structure of the memory space in this type of information processing apparatus has been such that the memory space of the high speed memory and the memory space of the low speed memory in the main storage device are divided. By dividing the memory space of the memories having different speeds as described above, various DMA transfers can be performed without requiring a complicated circuit for adjusting the memory space and without imposing various restrictions. It was That is,
The types of DMA transfer include transfer between an external input / output device such as a file controller and a high speed memory, transfer between an external input / output device and a low speed memory, transfer between a high speed memory and a low speed memory,
There is transfer in the high-speed memory space, but any DMA
Regarding the transfer, since the memory space of the memories having different speeds was divided, the DMA transfer could be easily performed by a simple circuit.
【0004】[0004]
【発明が解決しようとする課題】ところで、中央処理装
置内のマイクロプロセッサが、高速メモリと低速メモリ
とを同様にアクセスできるように、メモリ空間の連続性
を保証した情報処理装置が提案されている。このような
装置の中には、複数ボードで構成される主記録装置を種
別化(例えばバンク化)することなく、また、ソフトウ
ェアの構造を変えることなく、高速メモリのメモリ空間
を、低速メモリが属する主記録装置が有するメモリ空間
内の、ある一部分のメモリ空間として割り付けるように
した装置がある。この場合には、図2に示すように、低
速メモリのメモリ空間の一部のアドレス(例えば、00
000000〜0003FFFF)と、高速メモリのメ
モリ空間のアドレスとは等しくなり、低速メモリのその
同一アドレスを有するメモリ空間は実際上使用されない
ことになる。このようなことは、実際上、主記憶装置の
メモリ空間が、高速メモリのメモリ空間よりかなり大き
い場合においてなされる。By the way, an information processing apparatus has been proposed in which the continuity of the memory space is guaranteed so that the microprocessor in the central processing unit can access the high speed memory and the low speed memory similarly. .. In such a device, the memory space of the high-speed memory can be changed to the low-speed memory without classifying (for example, banking) the main recording device composed of a plurality of boards and without changing the software structure. There is a device which is allocated as a part of the memory space in the memory space of the main recording device to which it belongs. In this case, as shown in FIG. 2, an address (for example, 00
000000-0003FFFF) becomes equal to the address of the memory space of the high speed memory, and the memory space having the same address of the low speed memory is not actually used. This is actually done when the memory space of the main memory is much larger than the memory space of the high speed memory.
【0005】従って、このような装置においては、同一
アドレスを有するメモリ空間は、高速メモリのアクセス
の際にアドレス指定されるものとなる。しかしながら、
高速メモリをアクセスしようとすると、同一アドレスを
有するメモリ空間の低速メモリ部分が存在するため、高
速メモリが正常に動作することを保証し得ない。Therefore, in such a device, the memory space having the same address is addressed when the high speed memory is accessed. However,
When trying to access the high-speed memory, it cannot be guaranteed that the high-speed memory operates normally because the low-speed memory portion of the memory space having the same address exists.
【0006】中央処理装置内のマイクロプロセッサが高
速メモリをアクセスする際には、低速メモリの状態を各
種のコントロール信号を通じて制御することで、上述し
た不都合を生じないようにし得るが、DMAコントロー
ラが高速メモリをアクセスしようとした際(DMA転送
時)には上述した不都合が生じていた。When the microprocessor in the central processing unit accesses the high speed memory, by controlling the state of the low speed memory through various control signals, the above-mentioned inconvenience can be avoided. When trying to access the memory (during DMA transfer), the above-mentioned inconvenience occurred.
【0007】このような不都合を考慮した場合、高速メ
モリ等の容量が制限されるようなことも生じていた。In consideration of such inconvenience, the capacity of the high speed memory or the like may be limited.
【0008】本発明は、以上の点を考慮してなされたも
のであり、高速メモリと主記憶装置内の低速メモリのメ
モリ空間のある一部分が同一メモリ空間に存在した場合
において、同一メモリ空間内に存在する高速メモリを転
送先又は転送元に含むDMA転送時におけるアクセス動
作の正常動作性を保証することができるDMA転送方式
を提供しようとするものである。The present invention has been made in consideration of the above points, and when a part of the memory space of the high speed memory and the memory space of the low speed memory in the main memory exists in the same memory space, It is intended to provide a DMA transfer method capable of guaranteeing normal operability of an access operation at the time of DMA transfer including a high-speed memory existing in the above in a transfer destination or a transfer source.
【0009】[0009]
【課題を解決するための手段】かかる課題を解決するた
め、本発明においては、高速メモリと、この高速メモリ
のメモリ空間を自己のメモリ空間の一部と同一にしてい
る低速メモリと、DMAコントローラとを少なくとも備
えた情報処理装置における、転送先又は転送元の少なく
とも一方が高速メモリであるDMA転送方式において、
以下の回路を設けたことを特徴とする。In order to solve such a problem, according to the present invention, a high-speed memory, a low-speed memory in which the memory space of this high-speed memory is the same as a part of its own memory space, and a DMA controller are provided. In a DMA transfer method in which at least one of a transfer destination and a transfer source is a high-speed memory in an information processing apparatus including at least
The following circuits are provided.
【0010】すなわち、高速メモリ及び低速メモリで共
有しているメモリ空間に対して、DMAコントローラが
アクセス動作が開始したことを判断してメモリキャンセ
ル信号を出力する高速メモリ用のメモリ制御回路と、高
速メモリ及び低速メモリで共有しているメモリ空間に対
して、DMAコントローラがアクセス動作が開始したこ
とを判断しても、メモリキャンセル信号が与えられた場
合に低速メモリへの起動を抑止する低速メモリ用のメモ
リ制御回路とを設けた。That is, a memory control circuit for a high-speed memory that outputs a memory cancel signal when the DMA controller determines that an access operation has started for a memory space shared by a high-speed memory and a low-speed memory, and a high-speed memory For a low-speed memory that suppresses activation to the low-speed memory when a memory cancel signal is given even if the DMA controller determines that the access operation has started for the memory space shared by the memory and the low-speed memory Memory control circuit.
【0011】[0011]
【作用】高速メモリと、この高速メモリのメモリ空間を
自己のメモリ空間の一部と同一にしている低速メモリと
を備えている場合、両メモリで共有しているメモリ空間
に対しては高速メモリを有効としていることを前提とし
ている。マイクロプロセッサが共有空間をアクセスする
場合には問題が生じない。本発明は、DMAコントロー
ラが共有空間をアクセスする場合を規定している。When the high-speed memory and the low-speed memory that makes the memory space of the high-speed memory the same as a part of its own memory space are provided, the high-speed memory can be used for the memory space shared by both memories. Is assumed to be valid. No problems occur when the microprocessor accesses the shared space. The present invention defines the case where the DMA controller accesses the shared space.
【0012】本発明において、高速メモリ用のメモリ制
御回路は、高速メモリ及び低速メモリで共有しているメ
モリ空間に対して、DMAコントローラがアクセス動作
が開始したことを判断してメモリキャンセル信号を低速
メモリ用のメモリ制御回路に出力する。低速メモリ用の
メモリ制御回路は、高速メモリ及び低速メモリで共有し
ているメモリ空間に対して、DMAコントローラがアク
セス動作が開始したことを判断しても、メモリキャンセ
ル信号が与えられたことにより低速メモリへの起動を抑
止する。In the present invention, the memory control circuit for the high speed memory sends the memory cancel signal to the low speed by judging that the DMA controller has started the access operation to the memory space shared by the high speed memory and the low speed memory. Output to the memory control circuit for memory. Even if the DMA controller determines that the access operation has started for the memory space shared by the high-speed memory and the low-speed memory, the memory control circuit for the low-speed memory operates at a low speed because the memory cancel signal is given. Suppress startup to memory.
【0013】このようにして、転送先又は転送元の少な
くとも一方が高速メモリであるDMA転送を正確に実行
させることができる。In this way, it is possible to accurately execute the DMA transfer in which at least one of the transfer destination and the transfer source is a high speed memory.
【0014】[0014]
【実施例】以下、本発明の一実施例を図面を参照しなが
ら詳述する。ここで、図1がこの実施例の説明図であっ
て、図1(A)が構成を示すブロック図、図1(B1)
〜(B4)がDMA転送動作時における各部タイミング
チャートである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. Here, FIG. 1 is an explanatory view of this embodiment, FIG. 1 (A) is a block diagram showing the configuration, and FIG. 1 (B1).
(B4) is a timing chart of each part during the DMA transfer operation.
【0015】この実施例によるDMA転送方式を採用し
ている情報処理装置は、図1(A)に示すように、中央
処理装置1と、ファイル制御装置2と、複数ボードでな
る主記憶装置30、31、…が、プロセッサバス(デー
タバス、アドレスバス及びコントロールバスでなる)4
及び後述するメモリキャンセル信号線5を介して接続さ
れて構成されている。As shown in FIG. 1A, the information processing apparatus employing the DMA transfer system according to this embodiment has a central processing unit 1, a file control unit 2 and a main storage unit 30 composed of a plurality of boards. , 31, ... Are processor buses (composed of a data bus, an address bus, and a control bus) 4
And a memory cancel signal line 5 which will be described later.
【0016】例えば、最も頻繁にアクセスされるプログ
ラムやデータ等が格納される高速メモリ1cは、その制
御回路たる高速メモリ制御回路1bと共に、マイクロプ
ロセッサ1aが設けられている中央処理装置1に設けら
れている。他方、一般的なプログラムやデータ等が格納
される低速メモリ30b、31b、…は、その制御回路
たる低速メモリ制御回路30a、31a、…と共に、複
数の主記憶装置30、31、…に振り分けられて設けら
れている。For example, the high-speed memory 1c for storing the most frequently accessed programs and data is provided in the central processing unit 1 in which the microprocessor 1a is provided together with the high-speed memory control circuit 1b which is the control circuit thereof. ing. On the other hand, the low-speed memories 30b, 31b, ... In which general programs, data, etc. are stored are distributed to a plurality of main storage devices 30, 31, ... Together with the low-speed memory control circuits 30a, 31a ,. Are provided.
【0017】この実施例においても、高速メモリ1cの
メモリ空間は、低速メモリ30b、31b、…のメモリ
空間の一部として割り付けられている(図2参照)。す
なわち、高速メモリ1cのアドレスと等しいアドレスを
有するメモリエリアが、低速メモリ30b、31b、…
にも必ず存在している。Also in this embodiment, the memory space of the high speed memory 1c is allocated as a part of the memory space of the low speed memories 30b, 31b, ... (See FIG. 2). That is, the memory area having an address equal to the address of the high speed memory 1c is the low speed memory 30b, 31b, ...
Always exists.
【0018】ファイル制御装置2には、高速メモリ1c
や低速メモリ30b、31b、…にロードするファイル
や、高速メモリ1cや低速メモリ30b、31b、…か
ら転送されてくる例えば処理後のファイルを格納するフ
ァイル装置2cが設けられており、また、このファイル
装置2cを制御するファイル制御回路2bも設けられて
いる。上述したデータ転送を高速に実行するように、フ
ァイル制御装置2には、DMAコントローラ2aが設け
られている。なお、この実施例の場合、DMAコントロ
ーラ2aは、ファイル装置2cと高速メモリ1cとのデ
ータ転送や、ファイル装置2cと低速メモリ30b、3
1b、…とのデータ転送だけでなく、低速メモリ30
b、31b、…のメモリ空間内でのデータ転送や、高速
メモリ1cのメモリ空間内でのデータ転送や、高速メモ
リ1cと低速メモリ30b、31b、…とのデータ転送
をも制御するようになされている。The file controller 2 includes a high speed memory 1c.
And a file device 2c for storing files to be loaded into the low speed memories 30b, 31b, ..., For example, processed files transferred from the high speed memory 1c and the low speed memories 30b, 31b ,. A file control circuit 2b for controlling the file device 2c is also provided. The file controller 2 is provided with a DMA controller 2a so as to execute the above-mentioned data transfer at high speed. In the case of this embodiment, the DMA controller 2a transfers data between the file device 2c and the high speed memory 1c, and the file device 2c and the low speed memory 30b, 3b.
Not only the data transfer with 1b, ...
Controls data transfer in the memory spaces b, 31b, ..., Data transfer in the memory space of the high speed memory 1c, and data transfer between the high speed memory 1c and the low speed memories 30b, 31b ,. ing.
【0019】このようにマイクロプロセッサ1aの制御
によるデータ転送の他に、DMAコントローラ2aの制
御によるデータ転送も可能であるため、この実施例の場
合、図示は省略しているが、マイクロプロセッサ1a及
びDMAコントローラ2aのいずれにバス使用権を与え
るかを決定するバス調停回路が設けられている。すなわ
ち、プロセッサバス4の使用権は、マイクロプロセッサ
1a又はDMAコントローラ2aのどちらかが獲得し、
マイクロプロセッサ1a及びDMAコントローラ2aが
同一時間に同時にプロセッサバス4をアクセスすること
はない。Thus, in addition to the data transfer under the control of the microprocessor 1a, the data transfer under the control of the DMA controller 2a is also possible. Therefore, in this embodiment, although not shown, the microprocessor 1a and A bus arbitration circuit that determines which of the DMA controllers 2a is given the bus use right is provided. That is, the right to use the processor bus 4 is acquired by either the microprocessor 1a or the DMA controller 2a,
The microprocessor 1a and the DMA controller 2a never access the processor bus 4 at the same time.
【0020】また、高速メモリ制御回路1b、低速メモ
リ制御回路30a、31a、…にはそれぞれ、メモリキ
ャンセル制御部1b1、30a1、31a1、…が設け
られており、高速メモリ1cをアクセスする際にそれと
同一アドレスを有する低速メモリ30b、31b、…の
メモリ空間がアクセスされることを防止するようになさ
れている。この際に授受されるメモリキャンセル信号用
の信号線として、メモリキャンセル信号線5が設けられ
ており、従って、当然に、メモリキャンセル信号線5
は、各メモリ制御回路1b、30a、31a、…に接続
されている。Further, the high speed memory control circuit 1b and the low speed memory control circuits 30a, 31a, ... Are respectively provided with memory cancel control units 1b1, 30a1, 31a1 ,. The memory spaces of the low speed memories 30b, 31b, ... Having the same address are prevented from being accessed. The memory cancel signal line 5 is provided as a signal line for the memory cancel signal transmitted and received at this time.
Are connected to the respective memory control circuits 1b, 30a, 31a, ....
【0021】次に、以上の構成を有する情報処理装置の
動作を、特に、高速メモリ1cのアクセスを伴う動作を
説明する。Next, the operation of the information processing apparatus having the above configuration, particularly the operation involving the access to the high speed memory 1c will be described.
【0022】なお、この実施例の場合、マイクロプロセ
ッサ1aもDMAコントローラ2aも、高速メモリ1c
が有するメモリ空間と同一アドレスを有する低速メモリ
30b、31b、…のメモリ空間に対するアクセスを実
行しないものとする。すなわち、そのアドレスに対する
アクセスは、高速メモリ1cに対するアクセスを意味す
るものとして説明する。In the case of this embodiment, both the microprocessor 1a and the DMA controller 2a are connected to the high speed memory 1c.
The memory space of the low speed memories 30b, 31b, ... Having the same address as the memory space of the memory space is not executed. That is, the access to the address will be explained as an access to the high speed memory 1c.
【0023】まず、マイクロプロセッサ1aがプロセッ
サバス4の使用権を占有して高速メモリ1cへのアクセ
スを行なう場合の動作を説明する。この場合には、マイ
クロプロセッサ1aは、プロセッサバス4上に存在する
各種バスのストローブ信号を抑止し、高速メモリ1cと
同一メモリ空間内に存在する低速メモリ30b、31
b、…への起動を抑止する。かくして、高速メモリ1c
をアクセスする際に、それと同一アドレスの低速メモリ
30b、31b、…のメモリ空間が悪影響を与えること
を防止できる。First, the operation when the microprocessor 1a occupies the right to use the processor bus 4 to access the high speed memory 1c will be described. In this case, the microprocessor 1a suppresses the strobe signals of various buses existing on the processor bus 4, and the low speed memories 30b and 31 existing in the same memory space as the high speed memory 1c.
b .... is suppressed. Thus, high speed memory 1c
, It is possible to prevent the memory space of the low speed memories 30b, 31b, ... Of the same address as that from accessing.
【0024】次に、DMAコントローラ2aがプロセッ
サバス4の使用権を占有した際の、しかも、転送先又は
転送元の少なくとも一方が高速メモリ1cである場合の
動作を、図1(B1)〜(B4)に示すタイミングチャ
ートをも用いて説明する。Next, the operation when the DMA controller 2a occupies the right to use the processor bus 4 and when at least one of the transfer destination and the transfer source is the high-speed memory 1c will be described with reference to FIGS. Description will be made also using the timing chart shown in B4).
【0025】DMAコントローラ2aが、高速メモリ1
cのアクセスを行なうためには、まず、高速メモリ1c
が存在するメモリ空間のアドレス信号ADDをプロセッ
サバス4へ出力する(図1(B1)参照)。このとき、
高速メモリ制御回路1bは、このアドレス信号ADDを
展開して自己の管理下にある高速メモリ1cが選択され
たことを認識し、高速メモリ1cが選択されたことを指
示する選択信号SELを有効にする(図1(B3)参
照)。このとき、低速メモリ制御回路30a、31a、
…も同様にアドレス信号ADDを展開して、そのアドレ
ス信号ADDが該当している場合には自己の管理下にあ
る低速メモリ30b又は31b、…が選択されたことを
認識し、同様にその制御回路内部での選択信号(図示せ
ず)を有効とする。The DMA controller 2a is the high speed memory 1
In order to access c, first, the high speed memory 1c
The address signal ADD of the memory space in which is present is output to the processor bus 4 (see FIG. 1B1). At this time,
The high-speed memory control circuit 1b expands this address signal ADD, recognizes that the high-speed memory 1c under its control is selected, and validates the selection signal SEL indicating that the high-speed memory 1c has been selected. (See FIG. 1B3). At this time, the low-speed memory control circuits 30a, 31a,
Similarly, the address signal ADD is expanded, and when the address signal ADD is applicable, it is recognized that the low-speed memory 30b or 31b under its control is selected, and the control is similarly performed. A selection signal (not shown) in the circuit is validated.
【0026】DMAコントローラ2aは、アドレス信号
ADDを送出した時点より所定時間(選択信号SELの
有効への変換を行なう時間より十分に長い時間)だけ経
過した後に、アドレス信号ADDが確実に確定したこと
を示すストローブ信号STBをプロセッサバス4へ出力
する(図1(B2)参照)。The DMA controller 2a surely determines the address signal ADD after the elapse of a predetermined time (a time sufficiently longer than the time for converting the selection signal SEL to valid) from the time when the address signal ADD is transmitted. Is output to the processor bus 4 (see FIG. 1B2).
【0027】高速メモリ制御回路1bは、選択信号SE
Lが有効、かつ、ストローブ信号STBが有効になった
ことを判断すると、高速メモリ1cを起動すると共に、
同一メモリ空間に存在する低速メモリ30b又は31
b、…の起動を抑止させるために、メモリキャンセル信
号MCをメモリキャンセル信号線5へ出力する(図1
(B4)参照)。The high speed memory control circuit 1b receives the selection signal SE.
When it is determined that L is valid and the strobe signal STB is valid, the high speed memory 1c is activated and
Low-speed memory 30b or 31 existing in the same memory space
The memory cancel signal MC is output to the memory cancel signal line 5 in order to suppress the activation of b ...
(See (B4)).
【0028】他方、アドレス信号ADDが指示するメモ
リ空間の低速メモリ30b又は31b、…を有する低速
メモリ制御回路30a又は31a、…は、自制御回路内
部の選択信号が有効、かつ、ストローブ信号STBが有
効になったことを判断すると、低速メモリ30b又は3
1b、…の起動準備を開始するが、このときに、メモリ
キャンセル信号線5からのメモリキャンセル信号MCが
有効になるので、低速メモリ30b又は31b、…への
起動を抑止する。On the other hand, in the low-speed memory control circuit 30a or 31a, ... Having the low-speed memory 30b or 31b, ... In the memory space designated by the address signal ADD, the selection signal inside the self-control circuit is valid and the strobe signal STB is When it is determined that it is valid, the low-speed memory 30b or 3
1b, ... Start preparation for starting, but at this time, since the memory cancel signal MC from the memory cancel signal line 5 becomes valid, starting to the low speed memory 30b or 31b ,.
【0029】このようにして、DMAコントローラ2a
によるDMA転送を起動するときに、高速メモリ1cだ
けを起動することができる。なお、この実施例の場合、
DMAコントローラ2aは、ファイル装置2cと高速メ
モリ1cとのデータ転送や、ファイル装置2cと低速メ
モリ30b、31b、…とのデータ転送だけでなく、低
速メモリ30b、31b、…のメモリ空間内でのデータ
転送や、高速メモリ1cのメモリ空間内でのデータ転送
や、高速メモリ1cと低速メモリ30b、31b、…と
のデータ転送をも制御するようになされているが、図1
(B1)〜(B4)に示した動作は、ファイル装置2c
と高速メモリ1cとのデータ転送、高速メモリ1cのメ
モリ空間内でのデータ転送や、高速メモリ1cと低速メ
モリ30b、31b、…とのデータ転送の際に行なわれ
る。In this way, the DMA controller 2a
Only the high-speed memory 1c can be activated when activating the DMA transfer by. In the case of this embodiment,
The DMA controller 2a not only transfers data between the file device 2c and the high-speed memory 1c, transfers data between the file device 2c and the low-speed memories 30b, 31b, ..., but also within the memory space of the low-speed memories 30b, 31b ,. The data transfer, the data transfer within the memory space of the high speed memory 1c, and the data transfer between the high speed memory 1c and the low speed memories 30b, 31b, ... Are also controlled.
The operations shown in (B1) to (B4) are performed by the file device 2c.
Between the high speed memory 1c and the high speed memory 1c, in the memory space of the high speed memory 1c, and between the high speed memory 1c and the low speed memories 30b, 31b ,.
【0030】以上のようにして起動された高速メモリ1
cは、以下のようにして起動解除される。DMAコント
ローラ2aは、高速メモリ1cへのアクセス動作を終了
した場合にはプロセッサバス4のストローブ信号STB
を無効にする。高速メモリ制御回路1bは、ストローブ
信号STBが無効になったことを認識し、高速メモリ1
cの起動を終了させると共に、メモリキャンセル信号線
5のメモリキャンセル信号MCを無効にする。DMAコ
ントローラ2aは、ストローブ信号STBを無効とした
時点から十分な期間を経過したときにプロセッサバス4
のアドレス信号ADDを不確定にし、このとき、高速メ
モリ制御回路1bは選択信号SELを無効にする。High-speed memory 1 activated as described above
c is deactivated as follows. The DMA controller 2a receives the strobe signal STB of the processor bus 4 when the access operation to the high speed memory 1c is completed.
Disable. The high-speed memory control circuit 1b recognizes that the strobe signal STB has become invalid, and the high-speed memory 1b
At the same time as ending the activation of c, the memory cancel signal MC of the memory cancel signal line 5 is invalidated. The DMA controller 2a uses the processor bus 4 when a sufficient period has elapsed since the strobe signal STB was invalidated.
Of the address signal ADD is uncertain, and the high speed memory control circuit 1b invalidates the selection signal SEL at this time.
【0031】従って、上述の実施例によれば、高速メモ
リと主記憶装置内の低速メモリのメモリ空間の連続性を
有する、すなわちメモリ空間の一部が共有する装置にお
いて、転送先又は転送元の少なくとも一方が高速メモリ
であるDMA転送を正確に実行させることができる。Therefore, according to the above-described embodiment, in the device having the continuity of the memory space of the high-speed memory and the low-speed memory in the main memory, that is, in the device in which a part of the memory space is shared, the transfer destination or the transfer source is It is possible to accurately execute a DMA transfer, at least one of which is a high-speed memory.
【0032】このようにDMA転送の正確動作を保証で
きて初めて、高速メモリと主記憶装置内の低速メモリの
メモリ空間の連続性が意味を有する。すなわち、高速メ
モリのメモリ空間の割付けやメモリチップの容量に捕わ
れることなく、また、複数枚の主記憶装置の種別化する
ことなく、さらにソフトウエア構造を変更することなく
高速処理を実現することができる。The continuity of the memory space between the high-speed memory and the low-speed memory in the main storage device becomes significant only after the correct operation of the DMA transfer can be guaranteed. That is, high-speed processing can be realized without being allocated to the memory space of the high-speed memory or the capacity of the memory chip, without classifying a plurality of main storage devices, and without changing the software structure. You can
【0033】なお、上述の実施例におけるファイル制御
装置は、入出力制御装置等をも意味するものである。The file control device in the above embodiment also means an input / output control device and the like.
【0034】また、本発明とは直接関係はしないが、本
発明の特徴である動作と類似した動作を以下の場合に行
なうようにしても良い。主記憶装置に対するメモリ書き
込み保護領域を割付け、この書き込み保護領域に書き込
み動作が発生した場合にも、上述のようなメモリキャン
セル信号を有効にして、主記憶装置へのメモリ書き込み
動作が抑止されるようにして、主記憶装置内の低速メモ
リの内容を保護するようにしても良い。Although not directly related to the present invention, an operation similar to the operation characteristic of the present invention may be performed in the following cases. Even if the memory write protection area for the main memory is allocated and the write operation occurs in this write protected area, the memory cancel signal as described above is enabled to suppress the memory write operation to the main memory. Alternatively, the contents of the low speed memory in the main storage device may be protected.
【0035】[0035]
【発明の効果】以上のように、本発明によれば、高速メ
モリ及び低速メモリで共有しているメモリ空間とのDM
A転送時に、高速メモリのみ起動し、低速メモリの起動
を抑止するようにしたので、高速メモリを転送先及び又
は転送元に含むDMA転送時におけるアクセス動作の正
常動作性を保証することができる。As described above, according to the present invention, DM with a memory space shared by a high speed memory and a low speed memory is used.
Since only the high speed memory is activated at the time of the A transfer and the activation of the low speed memory is suppressed, the normal operability of the access operation at the time of the DMA transfer including the high speed memory as the transfer destination and / or the transfer source can be guaranteed.
【図1】実施例によるDMA転送方式の説明図であっ
て、図1(A)は実施例方式を採用した装置のブロック
図、図1(B1)〜(B4)はその各部タイミングチャ
ートである。FIG. 1 is an explanatory diagram of a DMA transfer system according to an embodiment, FIG. 1 (A) is a block diagram of an apparatus adopting the embodiment system, and FIGS. 1 (B1) to (B4) are timing charts of respective parts thereof. ..
【図2】本発明の前提としてのメモリ空間の割付けの説
明図である。FIG. 2 is an explanatory diagram of memory space allocation as a premise of the present invention.
1…中央処理装置、1a…マイクロプロセッサ、1b…
高速メモリ制御回路、1c…高速メモリ、2…ファイル
制御装置、2a…DMAコントローラ、2b…ファイル
制御回路、2c…ファイル装置、4…プロセッサバス、
5…メモリキャンセル信号線、30、31…主記憶装
置、30a、31a…低速メモリ制御回路、30b、3
1b…低速メモリ。1 ... Central processing unit, 1a ... Microprocessor, 1b ...
High-speed memory control circuit, 1c ... High-speed memory, 2 ... File control device, 2a ... DMA controller, 2b ... File control circuit, 2c ... File device, 4 ... Processor bus,
5 ... Memory cancel signal line, 30, 31 ... Main storage device, 30a, 31a ... Low speed memory control circuit, 30b, 3
1b ... low speed memory.
Claims (1)
空間を自己のメモリ空間の一部と同一にしている低速メ
モリと、DMAコントローラとを少なくとも備えた情報
処理装置における、転送先又は転送元の少なくとも一方
が高速メモリであるDMA転送方式において、 高速メモリ及び低速メモリで共有しているメモリ空間に
対して、DMAコントローラがアクセス動作が開始した
ことを判断してメモリキャンセル信号を出力する高速メ
モリ用のメモリ制御回路と、 高速メモリ及び低速メモリで共有しているメモリ空間に
対して、DMAコントローラがアクセス動作が開始した
ことを判断しても、上記メモリキャンセル信号が与えら
れた場合に低速メモリへの起動を抑止する低速メモリ用
のメモリ制御回路とを備えたことを特徴とするDMA転
送方式。1. A transfer destination or a transfer source in an information processing apparatus comprising at least a high-speed memory, a low-speed memory in which the memory space of this high-speed memory is made part of its own memory space, and a DMA controller. In a DMA transfer method in which at least one is a high-speed memory, for a high-speed memory, the DMA controller judges that an access operation has started for the memory space shared by the high-speed memory and the low-speed memory and outputs a memory cancel signal. Even if the DMA controller determines that the access operation has started to the memory space shared by the memory control circuit of the above and the high speed memory and the low speed memory, the low speed memory is changed to the low speed memory when the above memory cancel signal is given. And a memory control circuit for a low-speed memory that suppresses the activation of the DMA Transmission system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4642691A JPH05282198A (en) | 1991-03-12 | 1991-03-12 | Dma transfer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4642691A JPH05282198A (en) | 1991-03-12 | 1991-03-12 | Dma transfer system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05282198A true JPH05282198A (en) | 1993-10-29 |
Family
ID=12746828
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4642691A Pending JPH05282198A (en) | 1991-03-12 | 1991-03-12 | Dma transfer system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05282198A (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5339022A (en) * | 1976-09-22 | 1978-04-10 | Hitachi Ltd | Information process unit |
| JPS58195916A (en) * | 1982-05-11 | 1983-11-15 | Mitsubishi Electric Corp | Data transfer device |
| JPS59148966A (en) * | 1983-02-14 | 1984-08-25 | Hitachi Ltd | Switching method of priority memory |
| JPS59206958A (en) * | 1983-05-11 | 1984-11-22 | Hitachi Ltd | Memory allocation method |
-
1991
- 1991-03-12 JP JP4642691A patent/JPH05282198A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5339022A (en) * | 1976-09-22 | 1978-04-10 | Hitachi Ltd | Information process unit |
| JPS58195916A (en) * | 1982-05-11 | 1983-11-15 | Mitsubishi Electric Corp | Data transfer device |
| JPS59148966A (en) * | 1983-02-14 | 1984-08-25 | Hitachi Ltd | Switching method of priority memory |
| JPS59206958A (en) * | 1983-05-11 | 1984-11-22 | Hitachi Ltd | Memory allocation method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5497501A (en) | DMA controller using a predetermined number of transfers per request | |
| US5293491A (en) | Data processing system and memory controller for lock semaphore operations | |
| US7062588B2 (en) | Data processing device accessing a memory in response to a request made by an external bus master | |
| US7203781B2 (en) | Bus architecture with primary bus and secondary or slave bus wherein transfer via DMA is in single transfer phase engagement of primary bus | |
| JPS6275860A (en) | Data transfer controller | |
| US6122699A (en) | Data processing apparatus with bus intervention means for controlling interconnection of plural busses | |
| JPH05282198A (en) | Dma transfer system | |
| KR100441996B1 (en) | Direct Memory Access(DMA) Controller and control method | |
| JPH0642227B2 (en) | Data transfer device | |
| JP2860733B2 (en) | Bus connection device | |
| JP3371978B2 (en) | Information processing device | |
| JP2671743B2 (en) | Microcomputer | |
| JPH0434187B2 (en) | ||
| JPS60151894A (en) | Refresh circuit of dynamic ram | |
| JPH06110828A (en) | Memory controller | |
| JPH0245208B2 (en) | BASUKETSUGOSHISUTEMUNODEETATENSOSEIGYOHOSHIKI | |
| JPH04545A (en) | Communication control circuit | |
| JPH11102340A (en) | Processor system and bus access method thereof | |
| JPH0619834A (en) | Information processor | |
| JPS6341973A (en) | Multi-processor system | |
| JPS6345662A (en) | Bus control method | |
| JPH03131955A (en) | memory controller device | |
| JPS626359A (en) | Bus control system | |
| JPH02201559A (en) | Hierarchical memory controller | |
| JPH06175970A (en) | Data communication control circuit |