JPH0537312Y2 - - Google Patents

Info

Publication number
JPH0537312Y2
JPH0537312Y2 JP1987177324U JP17732487U JPH0537312Y2 JP H0537312 Y2 JPH0537312 Y2 JP H0537312Y2 JP 1987177324 U JP1987177324 U JP 1987177324U JP 17732487 U JP17732487 U JP 17732487U JP H0537312 Y2 JPH0537312 Y2 JP H0537312Y2
Authority
JP
Japan
Prior art keywords
address
memory access
direct memory
register
access controller
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 - Lifetime
Application number
JP1987177324U
Other languages
Japanese (ja)
Other versions
JPH0184154U (en
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 filed Critical
Priority to JP1987177324U priority Critical patent/JPH0537312Y2/ja
Publication of JPH0184154U publication Critical patent/JPH0184154U/ja
Application granted granted Critical
Publication of JPH0537312Y2 publication Critical patent/JPH0537312Y2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【考案の詳細な説明】 『産業上の利用分野』 本考案は、計算機システムに設置されるダイレ
クト・メモリ・アクセス制御装置に関するもので
あり、特にアクセス時の機能の向上を図るもので
ある。
[Detailed Description of the Invention] "Field of Industrial Application" The present invention relates to a direct memory access control device installed in a computer system, and is particularly intended to improve functionality during access.

『従来の技術』 計算機システム内に設置される、マイクロプロ
セツサを含むダイレクト・メモリ・アクセス制御
装置において、ダイレクト・メモリ・アクセス・
コントローラ(以下DMACと呼ぶ)は、メモリ
と入出力部またはメモリとメモリとの間で高速に
データ転送を行う機能を有するLSIである。
``Prior art'' A direct memory access control device including a microprocessor installed in a computer system.
A controller (hereinafter referred to as DMAC) is an LSI that has a function of transferring data at high speed between a memory and an input/output unit or between memories.

このDMACは、データ転送先のメモリ・アド
レスを出力する機能と、メモリ及び入出力部等の
制御信号線を制御する機能を有している。
This DMAC has a function of outputting a memory address of a data transfer destination and a function of controlling control signal lines for the memory, input/output section, etc.

また、LSI化されたこのDMACはアドレス幅が
通常23ビツト(A23〜A1)であり、このアド
レス幅を越えるような、例えばアドレス幅が31ビ
ツト(A31〜A1)の計算機システムにこの
DMACを適用する場合には、第3図に示すよう
な装置を構成する。
Additionally, this LSI-based DMAC usually has an address width of 23 bits (A23 to A1), and this DMAC can be used in computer systems that exceed this address width, for example, with an address width of 31 bits (A31 to A1).
When applying DMAC, a device as shown in FIG. 3 is configured.

即ち、マイクロプロセツサμP1は31ビツト・
アドレス・バスAB,16ビツト・データ・バス
DBを有し、DMAC2を通じて例えばメモリ3と
入出力部4との間でデータ転送を制御する。
In other words, the microprocessor μP1 is a 31-bit processor.
Address bus AB, 16-bit data bus
It has a DB and controls data transfer between, for example, the memory 3 and the input/output unit 4 via the DMAC 2.

このとき、DMAC2はアドレス幅がMAR<
7:1>,MAR<15:8>,MAR<23:16>
の23ビツトしかサポートせず、これを補うために
8ビツト分の拡張用のメモリ・アドレス・レジス
タ5(拡張レジスタ5,MAR<31:24>)をア
ドレス・バスABに外付けする。
At this time, DMAC2 has an address width of MAR<
7:1>, MAR<15:8>, MAR<23:16>
To compensate for this, an 8-bit expansion memory address register 5 (extension register 5, MAR<31:24>) is externally connected to the address bus AB.

このようなシステムでDMAが起動すると、マ
イクロプロセツサμP1から発生したダイレク
ト・メモリ・アクセス指定アドレス31ビツトに従
つて、DMAC2が23ビツト・アドレスを送出し、
拡張レジスタ5が8ビツト・アドレスを送出して
31ビツト・アドレスを構成し、DMA動作が行わ
れる。
When DMA is activated in such a system, DMAC2 sends out a 23-bit address in accordance with the 31-bit direct memory access designation address generated from microprocessor μP1.
Extension register 5 sends out an 8-bit address
Constructs a 31-bit address and performs DMA operations.

『考案が解決しようとする問題点』 以上のようなシステムにあつては、拡張レジス
タ5の内容は常に固定であり、DMA転送中は上
位8ビツトMAR<31:24>の内容を更新できな
いため、アドレスが24ビツト境界を越えるような
メモリ領域のDMA転送ができないという欠点が
あつた。
``Problem that the invention attempts to solve'' In the above system, the contents of the extension register 5 are always fixed, and the contents of the upper 8 bits MAR<31:24> cannot be updated during DMA transfer. However, the drawback was that DMA transfer of memory areas whose addresses exceeded the 24-bit boundary was not possible.

即ち、DMA指定アドレスが、例えば#
00FFFF00番地から#010001FF番地までの時、
上位8ビツト・アドレスが拡張レジスタ5に
“00”と固定されるため、上位桁“00”から“01”
の更新が不可となり、このようなアドレスを指定
するDMA転送はできなかつた。
That is, if the DMA specified address is, for example, #
From address 00FFFF00 to address #010001FF,
Since the upper 8-bit address is fixed to “00” in extension register 5, the upper digits “00” to “01”
update was no longer possible, and DMA transfers specifying such addresses were no longer possible.

本考案は上記のような問題を解決するものであ
り、DMA指定アドレスの値にかかわらず常に
DMA転送を行えるダイレクト・メモリ・アクセ
ス制御装置を実現することを目的とする。
This invention solves the above-mentioned problem, and it always
The purpose is to realize a direct memory access control device that can perform DMA transfer.

『問題を解決するための手段』 以上の問題を解決した本考案は、拡張用のレジ
スタの内容を変化させるようにしたものであり、
その具体的な構成は次の通りである。
``Means for solving the problem'' The present invention that solves the above problems changes the contents of the expansion register,
Its specific configuration is as follows.

即ち、マイクロプロセツサと、システムのアド
レス幅より小さいアドレス幅を有しデータ転送を
制御するダイレクト・メモリ・アクセス・コント
ローラとがアドレス・バス及びデータ・バスによ
り接続されてなるダイレクト・メモリ・アクセス
制御装置において、ダイレクト・メモリ・アクセ
ス転送中に前記ダイレクト・メモリ・アクセス・
コントローラのアドレス幅の上位側に付加される
上位アドレス・ビツトが設定される拡張レジスタ
と、ダイレクト・メモリ・アクセス転送中に送出
されているアドレスが前記ダイレクト・メモリ・
アクセス・コントローラが有するアドレス幅の境
界を越えていることを検出し前記ダイレクト・メ
モリ・アクセス・コントローラの内部アドレス・
カウンタをインクリメントする制御回路と、前記
制御回路にてアドレス幅が境界に達したことを検
出した信号により前記拡張レジスタ内の値を取り
込んで+1インクリメントしその値を前記拡張レ
ジスタへ転送する演算器とを設けたことを特徴と
するダイレクト・メモリ・アクセス制御回路であ
る。
That is, a direct memory access control system in which a microprocessor and a direct memory access controller, which has an address width smaller than the system address width and controls data transfer, are connected by an address bus and a data bus. In the device, the direct memory access transfer is performed during the direct memory access transfer.
An extension register in which the upper address bits added to the upper side of the address width of the controller are set, and an extension register in which the upper address bits added to the upper side of the address width of the controller are set, and
It is detected that the address width boundary of the access controller is exceeded, and the internal address of the direct memory access controller is
a control circuit that increments a counter; and an arithmetic unit that takes in a value in the extension register, increments it by +1, and transfers the value to the extension register based on a signal that the control circuit detects that the address width has reached a boundary. This is a direct memory access control circuit characterized in that it is provided with a.

『作用』 本考案のダイレクト・メモリ・アクセス制御装
置は、DMA転送動作中、DMAアドレスが所定
のアドレス幅の境界を越した際、演算器が拡張レ
ジスタの内容を1インクリメントし、この拡張レ
ジスタ内の値とダイレクト・メモリ・アクセス・
コントローラのアドレス・ビツトを合成してアド
レスを送出し、DMAアクセスを行う。
"Operation" In the direct memory access control device of the present invention, when a DMA address exceeds the boundary of a predetermined address width during a DMA transfer operation, the arithmetic unit increments the contents of the extension register by 1, The value of and direct memory access
Combines the address bits of the controller, sends the address, and performs DMA access.

『実施例』 第1図は本考案を実施したダイレクト・メモ
リ・アクセス制御装置の構成を表わすブロツク図
である。
Embodiment FIG. 1 is a block diagram showing the configuration of a direct memory access control device embodying the present invention.

この図において、1,2はそれぞれ第3図に示
した従来の装置と同一のマイクロプロセツサμP、
ダイレクト・メモリ・アクセス・コントローラ
DMACである。
In this figure, 1 and 2 are microprocessors μP and 2, respectively, which are the same as the conventional device shown in FIG.
direct memory access controller
It is DMAC.

そして、6はアドレス上位8ビツト(MAR<
31:24>)拡張用のレジスタ、7は拡張レジスタ
6の出力(A31〜A24)を取り込みこれに+
1した値を出力するインクリメント用の演算器、
8はマイクロプロセツサμP1の指定により拡張
レジスタ6に初期値を設定する初期値バツフア、
9は拡張レジスタ6、演算器7、初期値バツフア
8の各回路を制御する制御回路である。
6 is the upper 8 bits of the address (MAR<
31:24>) Extension register 7 takes in the output (A31 to A24) of extension register 6 and inputs it to +
an incrementing arithmetic unit that outputs a value of 1;
8 is an initial value buffer that sets an initial value in the expansion register 6 according to the specification of the microprocessor μP1;
Reference numeral 9 denotes a control circuit that controls the expansion register 6, the arithmetic unit 7, and the initial value buffer 8.

制御回路9は、マイクロプロセツサμP1から
拡張レジスタ6に初期値を設定する際に、初期値
バツフア8の出力をイネーブルとし、拡張レジス
タ6の書き込みクロツクCLKをアクテイブとす
る。また、DMA転送のメモリ・アドレスが24ビ
ツト境界を越えるのを検出すると、拡張レジスタ
6の内容の更新が必要となり、演算器7の出力を
イネーブルとし、拡張レジスタ6に書き込みクロ
ツクCLKを与える。
When the microprocessor μP1 sets an initial value in the extension register 6, the control circuit 9 enables the output of the initial value buffer 8 and makes the write clock CLK of the extension register 6 active. Furthermore, when it is detected that the memory address for DMA transfer exceeds the 24-bit boundary, it is necessary to update the contents of the extension register 6, so the output of the arithmetic unit 7 is enabled and the write clock CLK is applied to the extension register 6.

以上のように構成された本考案のダイレクト・
メモリ・アクセス制御装置の動作を第2図のフロ
ーチヤートを用いて詳しく説明する。
The direct communication system of the present invention configured as described above
The operation of the memory access control device will be explained in detail using the flowchart of FIG.

はじめに、μP1はDMAC2にMAR<23:1
>(アドレス23ビツト)を含む、各種パラメータ
を設定する。同時にμP1は上位アドレス・ビツ
トMAR<31:24>(8ビツト)を初期値バツフ
ア8に設定する。更に、この初期値は制御回路9
の書き込みタイミングにより拡張レジスタ6に設
定される。
First, μP1 connects DMAC2 with MAR<23:1
> (address 23 bits) and other parameters. At the same time, μP1 sets upper address bits MAR<31:24> (8 bits) to initial value buffer 8. Furthermore, this initial value is
is set in the extension register 6 at the write timing.

そして、DMAC2は内部レジスタに設定され
るアドレスMAR<23:1>及び拡張レジスタ8
のアドレスMAR<31:24>によりDMAを起動
する。
Then, DMAC2 is the address MAR<23:1> set in the internal register and extension register 8.
DMA is activated by address MAR<31:24>.

DMA転送中は、1ワード転送毎にDMAC2か
らアドレスMAR<23:1>が送出され、拡張レ
ジスタ6から上位アドレスMAR<31:24>が送
出される。
During DMA transfer, the DMAC 2 sends out the address MAR<23:1> and the extension register 6 sends out the upper address MAR<31:24> for each word transfer.

DMA転送終了かどうかはDMAC2の内部カウ
ンタによりDMAC2自身が行つている。
The DMAC 2 itself determines whether the DMA transfer is completed using an internal counter of the DMAC 2.

制御回路9は、常に、送出されているアドレス
が24ビツト境界(A23〜A1全てが1の状態)
であるかの判断をハード的に行つていて、24ビツ
ト境界であるときはDMAC2の内部アドレス・
カウンタ及び演算器7をインクリメントする。そ
して、次のタイミングで演算器7の出力は拡張レ
ジスタ6に与えられ、拡張レジスタ6の内容は+
1インクリメントされる。この拡張レジスタ6の
送出アドレスとDMAC2からの送出アドレスに
より、24ビツト境界をまたがつてアドレスを送出
することができ、DMA転送を続行できる。
The control circuit 9 always sends an address on a 24-bit boundary (A23 to A1 are all 1).
If it is a 24-bit boundary, the internal address of DMAC2 is determined by hardware.
The counter and arithmetic unit 7 are incremented. Then, at the next timing, the output of the arithmetic unit 7 is given to the extension register 6, and the contents of the extension register 6 are +
Incremented by 1. By using the sending address of the extension register 6 and the sending address from the DMAC 2, it is possible to send an address across the 24-bit boundary, and DMA transfer can be continued.

一方、送出されているアドレスが24ビツト境界
に達していない場合は、DMAC2は内部アドレ
ス・カウンタのみをインクリメントしDMA転送
を続ける。
On the other hand, if the address being sent does not reach the 24-bit boundary, the DMAC 2 increments only the internal address counter and continues the DMA transfer.

以上のように、本考案のダイレクト・メモリ・
アクセス制御装置はDMAC2から送出される23
ビツト・アドレスのみでなく、拡張レジスタ6の
内容を更新により、24ビツト境界を越えるアドレ
スについてもDMA動作を行うことができる。
As mentioned above, the direct memory of this invention
The access control device is sent from DMAC223
By updating the contents of the extension register 6, DMA operations can be performed not only on bit addresses but also on addresses that exceed 24-bit boundaries.

『考案の効果』 本考案のダイレクト・メモリ・アクセス制御装
置は、DMA転送動作中、DMAアドレスが所定
のアドレス幅を越した際、演算器が拡張レジスタ
の内容を1インクリメントし、この拡張レジスタ
内の値とダイレクト・メモリ・アクセス・コント
ローラのアドレス・ビツトを合成してアドレスを
送出しDMAアクセスを行うので、DMA指定ア
ドレスの値を意識することなく、常にDMA転送
を円滑に実行することができる。
``Effect of the invention'' In the direct memory access control device of the invention, during a DMA transfer operation, when a DMA address exceeds a predetermined address width, the arithmetic unit increments the contents of the extension register by 1, and DMA access is performed by combining the value of the address bit of the direct memory access controller and sending the address, so DMA transfer can always be executed smoothly without being aware of the value of the DMA specified address. .

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

第1図は本考案を実施したダイレクト・メモ
リ・アクセス制御装置の構成を表わすブロツク
図、第2図は本考案装置の動作を示すフローチヤ
ート、第3図は従来のダイレクト・メモリ・アク
セス制御装置の構成を表わすブロツク図である。 1……マイクロプロセツサμP、2……ダイレ
クト・メモリ・アクセス・コントローラDMAC、
3……メモリ、4……入出力部、5,6……拡張
レジスタ、7……演算器、8……初期値バツフ
ア、9……制御回路。
Fig. 1 is a block diagram showing the configuration of a direct memory access control device implementing the present invention, Fig. 2 is a flowchart showing the operation of the device of the present invention, and Fig. 3 is a conventional direct memory access control device. FIG. 1... Microprocessor μP, 2... Direct memory access controller DMAC,
3... Memory, 4... Input/output unit, 5, 6... Extension register, 7... Arithmetic unit, 8... Initial value buffer, 9... Control circuit.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] マイクロプロセツサと、システムのアドレス幅
より小さいアドレス幅を有しデータ転送を制御す
るダイレクト・メモリ・アクセス・コントローラ
とがアドレス・バス及びデータ・バスにより接続
されてなるダイレクト・メモリ・アクセス制御装
置において、ダイレクト・メモリ・アクセス転送
中に前記ダイレクト・メモリ・アクセス・コント
ローラのアドレス幅の上位側に付加される上位ア
ドレス・ビツトが設定される拡張レジスタと、ダ
イレクト・メモリ・アクセス転送中に送出されて
いるアドレスが前記ダイレクト・メモリ・アクセ
ス・コントローラが有するアドレス幅の境界を越
えていることを検出し前記ダイレクト・メモリ・
アクセス・コントローラの内部アドレス・カウン
タをインクリメントする制御回路と、前記制御回
路にてアドレス幅が境界に達したことを検出した
信号により前記拡張レジスタ内の値を取り込んで
+1インクリメントしその値を前記拡張レジスタ
へ転送する演算器とを設けたことを特徴とするダ
イレクト・メモリ・アクセス制御回路。
In a direct memory access control device in which a microprocessor and a direct memory access controller having an address width smaller than the system address width and controlling data transfer are connected by an address bus and a data bus. , an extension register in which upper address bits added to the upper side of the address width of the direct memory access controller are set during a direct memory access transfer; detects that the address in the direct memory access controller exceeds the address width boundary of the direct memory access controller;
A control circuit that increments an internal address counter of the access controller, and a signal that detects that the address width has reached a boundary in the control circuit, takes in the value in the expansion register, increments it by +1, and transfers the value to the expansion register. A direct memory access control circuit characterized by being provided with an arithmetic unit that transfers data to a register.
JP1987177324U 1987-11-20 1987-11-20 Expired - Lifetime JPH0537312Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987177324U JPH0537312Y2 (en) 1987-11-20 1987-11-20

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987177324U JPH0537312Y2 (en) 1987-11-20 1987-11-20

Publications (2)

Publication Number Publication Date
JPH0184154U JPH0184154U (en) 1989-06-05
JPH0537312Y2 true JPH0537312Y2 (en) 1993-09-21

Family

ID=31468992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987177324U Expired - Lifetime JPH0537312Y2 (en) 1987-11-20 1987-11-20

Country Status (1)

Country Link
JP (1) JPH0537312Y2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56157520A (en) * 1980-05-06 1981-12-04 Fujitsu Ltd Dma system without cycle steal
JPS60262260A (en) * 1984-06-07 1985-12-25 Fujitsu Ltd Direct memory access and address extension system
JPS61112268A (en) * 1984-11-06 1986-05-30 Yokogawa Hokushin Electric Corp Dma controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56157520A (en) * 1980-05-06 1981-12-04 Fujitsu Ltd Dma system without cycle steal
JPS60262260A (en) * 1984-06-07 1985-12-25 Fujitsu Ltd Direct memory access and address extension system
JPS61112268A (en) * 1984-11-06 1986-05-30 Yokogawa Hokushin Electric Corp Dma controller

Also Published As

Publication number Publication date
JPH0184154U (en) 1989-06-05

Similar Documents

Publication Publication Date Title
JPH05204820A (en) Microcessor, processing system and bus interface
JPS5925254B2 (en) Digital data processing equipment
US4344130A (en) Apparatus to execute DMA transfer between computing devices using a block move instruction
JPH0537312Y2 (en)
US6070210A (en) Timing mode selection apparatus for handling both burst mode data and single mode data in a DMA transmission system
JP3016788B2 (en) Device communication / cache matching processing method
JPH07334476A (en) Program transferring device
JP2565916B2 (en) Memory access controller
JP3201439B2 (en) Direct memory access control circuit
JPS6362064A (en) Bus converter
JPH04264652A (en) Dma control system
JPS6269348A (en) Data transfer device
JP2563807B2 (en) Direct memory access control circuit
JPH04160458A (en) Dma controller peripheral circuit
JPH07334451A (en) Direct memory access controller system
JPH0594404A (en) Direct memory access controller
JPH03282667A (en) Computer device
JPS61183764A (en) Direct memory access controlling system
JPS63186358A (en) Data transfer system
JPS61251943A (en) Data processor
JPS62224849A (en) Data processing system
JPH0222756A (en) Dma transfer data width converting device
US20090222597A1 (en) Data transfer device
JPS6140658A (en) Data processor
JPS6340955A (en) Direct memory access controller