JPH01240960A - Dma transfer control circuit - Google Patents

Dma transfer control circuit

Info

Publication number
JPH01240960A
JPH01240960A JP6862188A JP6862188A JPH01240960A JP H01240960 A JPH01240960 A JP H01240960A JP 6862188 A JP6862188 A JP 6862188A JP 6862188 A JP6862188 A JP 6862188A JP H01240960 A JPH01240960 A JP H01240960A
Authority
JP
Japan
Prior art keywords
data
control circuit
peripheral device
control
main 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
JP6862188A
Other languages
Japanese (ja)
Inventor
Toshifumi Matsuo
松尾 敏文
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 JP6862188A priority Critical patent/JPH01240960A/en
Publication of JPH01240960A publication Critical patent/JPH01240960A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To perform data transfer between peripheral devices without deteriorating the performance of a microprocessor bus by generating the address of a main memory circuit by an address counter when data of the data width of the microprocessor bus is held at a data buffer, and writing it in a main memory. CONSTITUTION:In a processing for reading out the data from the peripheral device 6 by a DMA transfer request from a peripheral LSI 5, the data read out from the peripheral device 6 is held at the data buffer 10 via the peripheral LSI 5 and a peripheral LSI control circuit 12. When the data of the data width is held at the data buffer 10, the address of the main memory circuit 2 is generated by the address counter 8, and the data in the data buffer 10 is written in the main memory circuit 2 via a bus control circuit 7. At the time of accessing the peripheral LSI 5 by a microprocessor 1, the read/write of control data is performed via a control data buffer 11. In such a way, the data transfer can be performed without deteriorating the performance of the microprocessor bus.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、 DMA転送制御回路に関し、特に、周辺装
置制御LSfの転送データ幅に比べてマイクロプロセッ
サの転送データ幅の大きいDMA転送制御回路に関する
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a DMA transfer control circuit, and more particularly to a DMA transfer control circuit whose transfer data width of a microprocessor is larger than that of a peripheral device control LSf.

従来の技術 従来のDMA転送制御回路においては、周辺装置制御L
SIは、マイクロプロセッサバスに接続され、マイクロ
プロセッサバスのデータ幅より小さいデータ幅で主記憶
回路にデータを転送していた。
Prior Art In a conventional DMA transfer control circuit, peripheral device control L
The SI was connected to the microprocessor bus and transferred data to the main memory circuit with a data width smaller than that of the microprocessor bus.

発明が解決しようとする課題 上述したように、従来のDMA転送制御回路では、周辺
装置制御LSIから主記憶回路へのデータ転送を行う場
合に、マイクロプロセッサバスの性能を低下させるとい
う欠点がある。
Problems to be Solved by the Invention As described above, the conventional DMA transfer control circuit has the disadvantage that it degrades the performance of the microprocessor bus when transferring data from the peripheral device control LSI to the main memory circuit.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することを可能とした新規なりMA転送制御回路
を提供することにある。
The present invention has been made in view of the above-mentioned conventional situation,
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a novel MA transfer control circuit which makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.

課題を解決するための手段 上記目的を達成する為に、本発明に係るDMA転送制御
回路は、マイクロプロセッサバスの制御を行うマイクロ
プロセッサバス制御回路と、DMA転送のために主記憶
回路のアドレスを生成するアドレスカウンタと、データ
転送数をカウントするデータカウンタと、データ転送の
ためにデータを一時保持しマイタロプロセッサバスと周
辺制御LSIとのデータ幅の変換を行うデータバッファ
と1周辺袋筒制御1.S1の制御データを一時保持する
制御データバッファと、周辺装置制御LSIを制御する
周辺装置4制御LSI制御回路とを有している。マイタ
ロプロセッサが周辺装置制御LSIをアクセスする際に
は、制御データバッファを介して制御データの読み書き
を行う。周辺装置制御LSIよりのDMA転送要求より
周辺g置からデータを読み出す際には、周辺装置制御L
SI制御回路を介してデータバッファにデータを保持し
、マイクロプロセッサバスのデータ幅だけデータがデー
タバッファに保持された時点でアドレスカウンタにより
主記憶回路のアドレスを生成し、マイクロプロセッサバ
ス制御回路を介して、データバッファのデータを主記憶
装置に書込む。
Means for Solving the Problems In order to achieve the above object, a DMA transfer control circuit according to the present invention includes a microprocessor bus control circuit that controls a microprocessor bus, and a main memory circuit address for DMA transfer. An address counter to generate, a data counter to count the number of data transfers, a data buffer that temporarily holds data for data transfer and converts the data width between the Mitaro processor bus and the peripheral control LSI, and one-periphery cylinder control. 1. It has a control data buffer that temporarily holds control data of S1, and a peripheral device 4 control LSI control circuit that controls the peripheral device control LSI. When the Mitaro processor accesses the peripheral device control LSI, it reads and writes control data via the control data buffer. When reading data from the peripheral device due to a DMA transfer request from the peripheral device control LSI, the peripheral device control LSI
The data is held in the data buffer via the SI control circuit, and when the data is held in the data buffer for the data width of the microprocessor bus, an address for the main memory circuit is generated by the address counter, and the data is stored in the data buffer via the microprocessor bus control circuit. and writes the data in the data buffer to the main memory.

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

第4図は本発明に係るDMA転送制御回路を含む情報処
理システムの一実施例を示すブロック構成図である。
FIG. 4 is a block diagram showing an embodiment of an information processing system including a DMA transfer control circuit according to the present invention.

第」図を参照するに、本発明に係るDMA転送制御回路
4は、マイクロプロセッサバス3(以後バスと略記する
)の制御を行うマイクロプロセッサバス制御回路7(以
後バス制御回路と略記する)と、 DMA転送のために
主記憶回路2のアドレスを生成するアドレスカウンタ8
と、データ転送数をカラン1−するデータカウンタ9と
、データ転送のためにデータを一時保持し、バス3と周
辺装置制御LSI5(以後周辺LSIと略記する)との
データ幅の変換を行うデータバッファ10と1周辺LS
I5の制御データを一時保持する制御データバッファ1
1と1周辺LSI5を制御する周辺装置制御LSI制御
回路12(以後周辺LSI制御回路と略記する)とを含
む。マイクロプロセッサ1と主記憶回路2とDMA転送
制御回路4は、バス3を介して相互に接続されている。
Referring to FIG. 1, a DMA transfer control circuit 4 according to the present invention includes a microprocessor bus control circuit 7 (hereinafter abbreviated as a bus control circuit) that controls a microprocessor bus 3 (hereinafter abbreviated as a bus). , an address counter 8 that generates the address of the main memory circuit 2 for DMA transfer.
, a data counter 9 that counts the number of data transfers by one, and data that temporarily holds data for data transfer and converts the data width between the bus 3 and the peripheral device control LSI 5 (hereinafter abbreviated as peripheral LSI). Buffer 10 and 1 peripheral LS
Control data buffer 1 that temporarily holds control data of I5
1 and a peripheral device control LSI control circuit 12 (hereinafter abbreviated as peripheral LSI control circuit). The microprocessor 1, main memory circuit 2, and DMA transfer control circuit 4 are interconnected via a bus 3.

周辺装置6は1周辺LSI5を介してDMA転送制御回
路4に接続されている。通常1周辺LSI5のデータ幅
はハス3のデータ幅に比へて小さいために、ハス3に周
辺しSI5を接続して1周辺LSI5からのデータ幅の
ままバス3を介して主記憶回路2とのデータ転送を行う
と、バス3の性能を低下させることになる。
The peripheral device 6 is connected to the DMA transfer control circuit 4 via one peripheral LSI 5. Normally, the data width of the first peripheral LSI 5 is smaller than that of the lotus 3, so by connecting the peripheral SI 5 to the lotus 3, the data width from the first peripheral LSI 5 is connected to the main memory circuit 2 via the bus 3. If this data transfer is performed, the performance of the bus 3 will be degraded.

周辺LSI5よりのDMA転送要求により周辺装置6か
らデータを読み出す処理において1周辺装置6から読み
出されたデータは、周辺しSI5と周辺LSI制御回路
12を介して、データバッファ10に保持される。この
データがバス3のデータ幅だけデータバッファ10に保
持された時点で、アドレスカウンタ8により主記憶回路
2のアドレスを生成し、バス制御回路7を介してデータ
バッファ10のデータを主記憶回路2に書込む。
In the process of reading data from the peripheral device 6 in response to a DMA transfer request from the peripheral LSI 5, data read from one peripheral device 6 is held in the data buffer 10 via the peripheral SI 5 and the peripheral LSI control circuit 12. When this data is held in the data buffer 10 by the data width of the bus 3, the address counter 8 generates an address for the main memory circuit 2, and the data in the data buffer 10 is transferred to the main memory circuit 2 via the bus control circuit 7. write to.

マイクロプロセッサ1が周辺LSI5をアクセスする際
には制御データバッファ11を介して制御データの読み
書きを行う。
When the microprocessor 1 accesses the peripheral LSI 5, it reads and writes control data via the control data buffer 11.

発明の詳細 な説明したように1本発明のDMA転送制御回路によれ
ば、ハート量の増加を最小にして、マイクロプロセッサ
バスの性能を低下させることなく。
DETAILED DESCRIPTION OF THE INVENTION As described above, the DMA transfer control circuit of the present invention minimizes the increase in heart rate and does not degrade the performance of the microprocessor bus.

周辺装置とのデータ転送を行うことが可能である。It is possible to transfer data to and from peripheral devices.

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

第1図は本発明に係るDMA転送制御回路を含むデータ
処理システムの一実施例を示すブロック構成図である。 100.マイクロプロセッサ、209.主記憶回路、3
00.マイクロプロセッサバス、4.、。 IJMA転送制御回路、5310周辺装置制御L制御、
6゜90周辺装置、701.マイクロプロセッサバス制
御回路、806.アドレスカウンタ、90.。 データカウンタ、io、 、 、データバッファ、11
.。 、制御データバッファ、12. 、 、周辺装置制御L
SI制御回路
FIG. 1 is a block diagram showing an embodiment of a data processing system including a DMA transfer control circuit according to the present invention. 100. Microprocessor, 209. Main memory circuit, 3
00. Microprocessor bus, 4. ,. IJMA transfer control circuit, 5310 peripheral device control L control,
6゜90 Peripheral equipment, 701. Microprocessor bus control circuit, 806. Address counter, 90. . data counter, io, , data buffer, 11
.. . , control data buffer, 12. , , peripheral device control L
SI control circuit

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサ、主記憶回路、マイクロプロセッサ
バス、DMA転送制御回路、周辺装置制御LSIおよび
周辺装置を含む情報処理システムにおいて、前記マイク
ロプロセッサ、前記主記憶回路および前記DMA転送制
御回路は前記マイクロプロセッサバスに接続され、前記
DMA転送制御回路は、前記マイクロプロセッサバスの
制御を行うマイクロプロセッサバス制御回路と、DMA
転送のために前記主記憶回路のアドレスを生成するアド
レスカウンタと、データ転送数をカウントするデータカ
ウンタと、データ転送のためにデータを一時保持し前記
マイクロプロセッサバスと前記周辺装置制御LSIとの
データ幅の変換を行うデータバッファと、前記周辺装置
制御LSIの制御データを一時保持する制御データバッ
ファと、前記周辺装置制御LSIを制御する周辺装置制
御LSI制御回路とを有し、前記マイクロプロセッサが
前記周辺装置制御LSIをアクセスする際には前記制御
データバッファを介して制御データの読み書きを行い、
前記周辺装置制御LSIよりのDMA転送要求により前
記周辺装置からデータを読み出す際には前記周辺装置制
御LSI制御回路を介して前記データバッファにデータ
を保持し、前記マイクロプロセッサバスのデータ幅だけ
データが前記データバッファに保持された時点で前記ア
ドレスカウンタにより前記主記憶回路のアドレスを生成
し、前記マイクロプロセッサバス制御回路を介して前記
データバッファのデータを前記主記憶装置に書込むこと
を特徴とするDMA転送制御回路。
In an information processing system including a microprocessor, a main memory circuit, a microprocessor bus, a DMA transfer control circuit, a peripheral device control LSI, and a peripheral device, the microprocessor, the main memory circuit, and the DMA transfer control circuit connect to the microprocessor bus. The DMA transfer control circuit is connected to a microprocessor bus control circuit that controls the microprocessor bus, and a DMA transfer control circuit that controls the microprocessor bus.
an address counter that generates an address in the main memory circuit for transfer, a data counter that counts the number of data transfers, and a data counter that temporarily holds data for data transfer between the microprocessor bus and the peripheral device control LSI. The microprocessor includes a data buffer that performs width conversion, a control data buffer that temporarily holds control data for the peripheral device control LSI, and a peripheral device control LSI control circuit that controls the peripheral device control LSI. When accessing the peripheral device control LSI, read and write control data via the control data buffer,
When reading data from the peripheral device in response to a DMA transfer request from the peripheral device control LSI, the data is held in the data buffer via the peripheral device control LSI control circuit, and the data is read by the data width of the microprocessor bus. The address counter generates an address for the main memory circuit when the data is held in the data buffer, and the data in the data buffer is written to the main memory device via the microprocessor bus control circuit. DMA transfer control circuit.
JP6862188A 1988-03-23 1988-03-23 Dma transfer control circuit Pending JPH01240960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6862188A JPH01240960A (en) 1988-03-23 1988-03-23 Dma transfer control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6862188A JPH01240960A (en) 1988-03-23 1988-03-23 Dma transfer control circuit

Publications (1)

Publication Number Publication Date
JPH01240960A true JPH01240960A (en) 1989-09-26

Family

ID=13379010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6862188A Pending JPH01240960A (en) 1988-03-23 1988-03-23 Dma transfer control circuit

Country Status (1)

Country Link
JP (1) JPH01240960A (en)

Similar Documents

Publication Publication Date Title
JPS6375955A (en) Program mode access control system
JPH01240960A (en) Dma transfer control circuit
JPH03152651A (en) Information transmission system
JP2574821B2 (en) Direct memory access controller
JP2768022B2 (en) Memory controller
JP3019323B2 (en) Direct access to image memory
JPS586172B2 (en) Interface method
JPH01237865A (en) Dma transfer control circuit
JPH0137019B2 (en)
JP2642087B2 (en) Data transfer processing mechanism between main storage devices
JPH04333950A (en) Information processing system
JPS6217879Y2 (en)
JPH06161947A (en) Computer system
JPH03228163A (en) Data transfer equipment
JPS616754A (en) Direct memory access transfer system
JPH0334043A (en) Information processor including master and slave devices connected to each other via system bus
JPH02301851A (en) System bus accessing system
JPS61127025A (en) Optical disk controller
JPS61253570A (en) Bus control system
JPH07271517A (en) Information processor
JPS6121543A (en) Data transfer device
JPS63146148A (en) Bus system
JPS62173689A (en) Storage device
JPS60117361A (en) Memory connection system
JPS63186358A (en) Data transfer system