JPS61112272A - Microcomputer applied device - Google Patents

Microcomputer applied device

Info

Publication number
JPS61112272A
JPS61112272A JP23394084A JP23394084A JPS61112272A JP S61112272 A JPS61112272 A JP S61112272A JP 23394084 A JP23394084 A JP 23394084A JP 23394084 A JP23394084 A JP 23394084A JP S61112272 A JPS61112272 A JP S61112272A
Authority
JP
Japan
Prior art keywords
circuit
signal
dmac
direct memory
bus
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
JP23394084A
Other languages
Japanese (ja)
Inventor
Michio Yoshioka
吉岡 道雄
Takayoshi Shimizu
孝祥 清水
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric 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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP23394084A priority Critical patent/JPS61112272A/en
Publication of JPS61112272A publication Critical patent/JPS61112272A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To simplify the design of an I/O as well as the constitution of a microcomputer applied device by using a circuit which corrects the working of a direct memory addressing unit in response to each peripheral device. CONSTITUTION:A correction circuit 20 is provided to a DMAC (direct memory access controller) 2 to correct the working (bus cycle duration, control signal timing) of the DMAC 2 in response to I/O3 and 4 respectively. The circuit 20 is connected to a control bus connected to a CPU 1 and also supplies the DTACK signal given from a wait controller 7 together with signals ACK1 and K2 delivered to the I/O3 and 4 from the DMAC 2. Then the circuit 20 delays the signal DTACK for the insertion of a wait state. At the same time, the circuit 20 delays the data strobe signal DS to attain the proper action timing.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ダイレクトメモリアクセスコントローラ([
) rrect MemoryΔccess Cont
roller ;以下、DMACと略す)を含むマイク
ロコンピュータ応用装置に関する。
Detailed Description of the Invention (Field of Industrial Application) The present invention provides a direct memory access controller ([
) rrect MemoryΔaccess Cont
The present invention relates to a microcomputer application device including a DMAC (hereinafter abbreviated as DMAC).

(従来の技1も) マイクロコンピュータとこれに結合する周)11デバイ
ス(Ilo)とで構成されるマイクロコンピュータ応用
装置において、【710には応答時間の短いものも長い
ものもある。低速のI 、、、、/ Oとの時間的整合
をとるためには、通常、ウェイトスティt−(Wait
 S tate)の挿入(1命令ナイクル中に、余分な
りロックサイクルを追加して時間を嫁ぐ)という手法が
採られている。一般に、各1、−、/ Oそれぞれに必
要なウェイト(Wait)数は異なるから、その判別に
は、制御信号だけでなくアドレス情報が用いられる。
(Conventional Technique 1 also) In a microcomputer application device consisting of a microcomputer and 11 devices (Ilo) connected to it, some [710] have short response times and some have long response times. In order to achieve time alignment with the slow I, , , , /O, it is usually
A method of inserting (state) (adding an extra lock cycle to one instruction cycle to increase time) is adopted. Generally, the number of waits required for each of 1, -, and /O is different, so not only the control signal but also address information is used for determination.

セントラルプロセッシングユニット<cpu>だけがI
loにアクセスするのであれば、このような手法で問題
はない。しかしながら、同一バス上にDMACが存在し
、シングル・アドレス・モードのDMA(メモリ(−→
I 、’ 0間のデータ転送を1バスサイクル(13L
IS  Cycle)内でCPUを介さず行う)が行わ
れる場合には、状況が異なる。
Only the central processing unit (cpu) is I
If you want to access lo, there is no problem with this method. However, there is a DMAC on the same bus, and single address mode DMA (memory (-→
Data transfer between I and '0 takes one bus cycle (13L
The situation is different when the process is performed within the IS Cycle (without using the CPU).

シングル・アドレス・モードでは、ノアドレスバスに出
力されるのはメモリのアドレスなので、この    ゛
ような手法ではIloに対応したウェイト数を設定する
ことができないのひある。
In single address mode, it is the memory address that is output to the address bus, so it may not be possible to set the wait number corresponding to Ilo using this method.

第5図は、従来のDMACを含むマイクロコンピュータ
応用装置の構成図である。この図において、1はCPU
、2はDMACl3.4はそれぞれI、10.5はメモ
リで、これらはいずれもデータバスとアドレスバスを介
して互いに結合している。6はデコーダで、アドレスバ
スと制御信号がのっている制御バスに結合している。7
はウェイトコントローラで、デコーダ6からの信号及び
制御バスを介して印加される制御信号を入力し、CPU
1及びDMAC2にDTACK信号を出力する。
FIG. 5 is a block diagram of a microcomputer application device including a conventional DMAC. In this figure, 1 is the CPU
, 2 is an I, DMACl 3.4 is I, and DMACl 10.5 is a memory, which are all coupled to each other via a data bus and an address bus. 6 is a decoder, which is coupled to an address bus and a control bus carrying control signals. 7
is a weight controller that inputs signals from the decoder 6 and control signals applied via the control bus, and controls the CPU.
DTACK signal is output to DMAC1 and DMAC2.

(発明が解決しようとする問題点) このような構成の従来装置においては、メモリの同一の
ウェイトステイト数でも動くように、各1、、.103
,4ごとに、複雑な外部回路30.40を設け、これに
よりI 、/ OへのIll (it 信号の先出し等
を11う必要があった。このために、全体構成が?!雑
になるという問題点があった。
(Problems to be Solved by the Invention) In the conventional device having such a configuration, each of 1, . 103
, 4, a complicated external circuit 30, 40 was provided, and this required advance delivery of the Ill (it) signal to the I, /O, etc. This made the overall configuration complex! There was a problem.

本発明は、このような従来の装置におシジる問題点に鑑
みてなされたちので、その目的は、OMΔCを含んだマ
イクロコンピュータ応用装置を簡単な構成で実現するこ
とにある。
The present invention has been made in view of the problems encountered in conventional devices, and its purpose is to realize a microcomputer-applied device including an OMΔC with a simple configuration.

(問題点を解決するための手段) このような問題点を解決する本発明は、互いにデータバ
スとアドレスバスとを介して結合するセントラルプロセ
ッシングユニットと、ダイレクト・メモリアクセスコン
トローラと、周辺デバイス及びメモリとを含んで構成さ
れる装置において、前記ダイレクトメモリアドレッシン
グユニットに当該ダイレクトメモリアドレッシングユニ
ットの動作を前記各周辺デバイスに合わせて補正する補
正回路を設けたことを特徴とするものである。
(Means for Solving the Problems) The present invention solves the above problems by connecting a central processing unit, a direct memory access controller, peripheral devices and memory, which are coupled to each other via a data bus and an address bus. The device is characterized in that the direct memory addressing unit is provided with a correction circuit that corrects the operation of the direct memory addressing unit in accordance with each of the peripheral devices.

(実施例) 以下、図面を用いて本発明の実施例を詳細に説明する。(Example) Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明の一実施例の構成図である。この装置
と第5図に示した従来装置との異    ゛(バスサイ
クルの長さ、otwg号のタイミング)を、各i、’0
3,4に合わせて補正する補正回路20を設けた点と、
各I、103,4の制御回路30.40が自重な構成と
なって、小さくなっている点である。補正回路2′○は
、CPtJlに連結する制御バスに接続され、又、ウェ
イトコントローラ7からのDTACK信号を入力すると
共に、DMAC2から各1、、−’03 、4に出力さ
れる信号ACK1.△CK2を入力している。この補正
回路20は、PLAを含む数個のICで構成されている
FIG. 1 is a configuration diagram of an embodiment of the present invention. The differences between this device and the conventional device shown in Fig. 5 (length of bus cycle, timing of otwg signal) are expressed as
A correction circuit 20 is provided to correct according to 3 and 4.
The point is that the control circuits 30 and 40 of each I, 103, and 4 have a bulky configuration and are small. The correction circuit 2'○ is connected to the control bus connected to CPtJl, and also inputs the DTACK signal from the weight controller 7, and also receives the signals ACK1. △CK2 is input. This correction circuit 20 is composed of several ICs including a PLA.

このように構成されたDMACを含むマイクロコンピュ
ータ応用装置では、各f、、103,4やメモリ5のア
クセス(よ、CPU 1によるものと、DMAC2によ
るもの(DMA)とがある。
In a microcomputer application device including a DMAC configured in this way, there are accesses to each f, , 103, 4 and memory 5 (by the CPU 1 and access by the DMAC 2 (DMA)).

CPU 1によるアクセスと、D !vl A C2に
よるアクセスとの間には、本質的な違いがある。叩ら、
メモリへのデータの書酋込み(WRITE>動作を例に
とれば、CPU1によるアクセスでは、アドレス、制御
信号、データが全てホスト(CPU1又はDMAC2)
側から出るのに対し、DMAC2によるものでは、アド
レス、iIIew信号はホスト側から、データはi’o
@から出力される。このために、DMAC2よりアクセ
スする場合は、制御信号とデータの時間関係がIloの
応答速度に影響され、一意的になり得ない。
Access by CPU 1 and D! There is an essential difference between access by vl A C2. Beaten,
Taking the example of writing data into memory (WRITE> operation), when accessed by CPU1, the address, control signal, and data are all sent to the host (CPU1 or DMAC2).
In contrast, with the DMAC2, the address and iIIew signals come from the host side, and the data comes from the i'o side.
Output from @. For this reason, when accessing from DMAC2, the time relationship between the control signal and data is affected by the response speed of Ilo and cannot be unique.

本発明の装置においては、補正回路20が、DMAC2
の動作、例えばバス・サイクルの長さ。
In the device of the present invention, the correction circuit 20 includes the DMAC2
behavior, e.g. bus cycle length.

制御信号のタイミングを各1.103.4に合わせて補
正することにより、DMAC2によりアクセスする場合
にも、fltlJ m信号とデータの時間関係を規定す
ることができるようにしている。
By correcting the timing of the control signals in accordance with 1.103.4, it is possible to define the time relationship between the fltlJ m signal and data even when accessing by DMAC2.

以下、本発明装置の動作を、第2図乃至第4図を参照し
ながら、[、−’ 03のDMA−ライト(I・′03
→メモリ5のデータ転送)の場合を例にとって説明する
Hereinafter, the operation of the device of the present invention will be described with reference to FIGS. 2 to 4.
→ Data transfer of memory 5) will be explained using an example.

第2図は、本来のDMA−ライト的の動作タイミングを
示す各信号の波形図、第3図(ユ+ 、、’ 03の用
箔で、ある。
FIG. 2 is a waveform diagram of each signal showing the original DMA-write operation timing, and FIG.

DMA時に、I 、、/ 03が選択されたことを知ら
せるのは、DMAC2から出ツノされる(ご号△CK1
だけであるから、1 ′03のリード(Rcad)信号
はこれを用いて作らなければならない。
At the time of DMA, the notification that I,.../03 has been selected is output from DMAC2 (number △CK1).
Therefore, the read (Rcad) signal of 1'03 must be created using this.

しかしながら、第2図に示す動作タイミングでは、単純
なグー1−回路だけで、第3図に示すような規格を満た
すリード信号を、ACKIから作ることはできない。又
、正常動作のためには、メモリ5のライト信号の立上が
りでデータが確定していなければならないが、第2図に
示す動作タイミングでは、これも満たさない。
However, with the operation timing shown in FIG. 2, it is not possible to create a read signal that satisfies the standards shown in FIG. 3 from ACKI using only a simple Go1- circuit. Further, for normal operation, data must be determined at the rise of the write signal of the memory 5, but this is not satisfied with the operation timing shown in FIG.

第1図装置において、補正回路20は、ウェイトコント
ローラ7から出力される(g号DTACKを、第4図(
イ)に示すように遅らせることによって、ウェイトステ
ートを挿入すると共に、データストローブ信号DSを遅
らせ、第4図に示すような!lJ作タイミングを実現し
ている。ここでウェイトステートの長さは、各1′Oご
とに変えられる。このような動作タイミングは、第3図
に示す1 ′03の規格を満たすもので、i’03(1
104)の制御回路30 (40)は、l!I単な構成
となる。
In the apparatus shown in FIG.
By delaying as shown in FIG. 4, a wait state is inserted and the data strobe signal DS is delayed, resulting in the delay as shown in FIG. The timing of LJ production has been achieved. Here, the length of the wait state is changed every 1'O. Such operation timing satisfies the standard of 1'03 shown in Fig. 3, and i'03(1'03).
The control circuit 30 (40) of l! I has a simple configuration.

〈発明の効果) 以上説明したように、本発明によれば、各■ ′Oの制
御回路の構成を簡単にすることができ、[5′Oの設計
を容易にすると共に、システム全体の構成を簡単にでき
る。又、各[710に適したD〜1八動へが行え、(2
)別に複雑な制御をしなくてよいので、DMAチャンネ
ル間の干渉等のトラブルが解:肖できる。
<Effects of the Invention> As explained above, according to the present invention, it is possible to simplify the configuration of the control circuit of each 5'O, simplify the design of 5'O, and improve the overall system configuration. can be done easily. Also, you can perform D to 1 eight movements suitable for each [710, (2
) Since there is no need for complicated control, problems such as interference between DMA channels can be solved.

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

第1図は本発明の一実施例装雷の偶成図、第2図乃至第
4図はその動作タイミングを示す波形図。 第5図は従来装置の構成図である。 1・・・CPU       2・・・DMAC5,4
・・・■、10    5・・・メモリ6・・・デコー
ダ 7・・・ウェイトコントローラ 20・・・補正回路 )t。 舶2図 (イ)                      
 DTACに(ロ)                
         ADDRESS(A)      
         As (Address 5tro
be)(: )               C5−
memory (Chip 5elect)°   (
ホ)                    ACに
1Cへ)                     
 O5(Data 5trobe)(ト)      
                RAMのWntef
!j%第3図 (ロ)                     D
ATA第4図
FIG. 1 is a combination diagram of an embodiment of the present invention, and FIGS. 2 to 4 are waveform diagrams showing its operation timing. FIG. 5 is a block diagram of a conventional device. 1...CPU 2...DMAC5,4
... ■, 10 5... Memory 6... Decoder 7... Weight controller 20... Correction circuit) t. Vessel diagram 2 (a)
To DTAC (b)
ADDRESS(A)
As (Address 5tro
be) (: ) C5-
memory (Chip 5 select) ° (
e) To AC to 1C)
O5 (Data 5trobe) (G)
RAM Wntef
! j% Figure 3 (b) D
ATA Figure 4

Claims (1)

【特許請求の範囲】[Claims] 互いにデータバスとアドレスバスとを介して結合するセ
ントラルプロセッシングユニットと、ダイレクトメモリ
アクセスコントローラと、周辺デバイス及びメモリとを
含んで構成される装置において、前記ダイレクトメモリ
アドレッシングユニットに当該ダイレクトメモリアドレ
ッシングユニットの動作を前記各周辺デバイスに合わせ
て補正する補正回路を設けたことを特徴とするマイクロ
コンピュータ応用装置。
In an apparatus including a central processing unit, a direct memory access controller, peripheral devices and a memory, which are coupled to each other via a data bus and an address bus, the direct memory addressing unit is configured to operate the direct memory addressing unit. A microcomputer application device, comprising: a correction circuit that corrects the difference according to each of the peripheral devices.
JP23394084A 1984-11-06 1984-11-06 Microcomputer applied device Pending JPS61112272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23394084A JPS61112272A (en) 1984-11-06 1984-11-06 Microcomputer applied device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23394084A JPS61112272A (en) 1984-11-06 1984-11-06 Microcomputer applied device

Publications (1)

Publication Number Publication Date
JPS61112272A true JPS61112272A (en) 1986-05-30

Family

ID=16962997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23394084A Pending JPS61112272A (en) 1984-11-06 1984-11-06 Microcomputer applied device

Country Status (1)

Country Link
JP (1) JPS61112272A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6408353B1 (en) 1998-10-09 2002-06-18 Nec Corporation Microcomputer having sampling function of retry requesting signal in syncronization with strobe signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6408353B1 (en) 1998-10-09 2002-06-18 Nec Corporation Microcomputer having sampling function of retry requesting signal in syncronization with strobe signal

Similar Documents

Publication Publication Date Title
EP0506021A1 (en) Method and apparatus for providing initial instructions in a multiple computer system
JPS61112272A (en) Microcomputer applied device
US20020188771A1 (en) Direct memory access controller for carrying out data transfer by determining whether or not burst access can be utilized in an external bus and access control method thereof
US7065669B2 (en) System and method for providing a write strobe signal to a receiving element before both an address and data signal
JPH04323755A (en) Dma device
JPH09311812A (en) Microcomputer
JP2570271B2 (en) Semiconductor memory controller
JPS59189433A (en) Data erasing system by direct memory access
JPS59231639A (en) Terminal interface device
KR890005288B1 (en) Inter face circuit
JP2555580B2 (en) Storage device control system
JPH0142017B2 (en)
KR100690597B1 (en) Single mode direct memory access application method using cpu applying dual mode direct memory access
JPS63168758A (en) Multi-bus control system
JPH03191460A (en) Shared memory system
JPH02294863A (en) Direct memory access system
JPS63201810A (en) Time system for information processing system
JPH0340057A (en) Data transfer device
JPH0423145A (en) Memory access control circuit for risc processor
JPH0581445A (en) Microcomputer lsi
JPH02144753A (en) Ready signal production circuit
JPH07200456A (en) External device interface for cpu
JPH027140A (en) Memory access system
JPS598184A (en) Memory
JPS63196968A (en) Input/output controller