JPS59200328A - Central processing unit incorporating data transfer circuit - Google Patents

Central processing unit incorporating data transfer circuit

Info

Publication number
JPS59200328A
JPS59200328A JP7308483A JP7308483A JPS59200328A JP S59200328 A JPS59200328 A JP S59200328A JP 7308483 A JP7308483 A JP 7308483A JP 7308483 A JP7308483 A JP 7308483A JP S59200328 A JPS59200328 A JP S59200328A
Authority
JP
Japan
Prior art keywords
signal
address
data transfer
data
transfer
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
JP7308483A
Other languages
Japanese (ja)
Inventor
Hiromitsu Yagi
八木 広満
Toyofumi Takahashi
豊文 高橋
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7308483A priority Critical patent/JPS59200328A/en
Publication of JPS59200328A publication Critical patent/JPS59200328A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To exclude a special pin which is used for control of data transfer and to obtain simple and miniature constitution of a data transfer circuit, by using a means for delivering address of both the transfer destination and the transferer of data, a means for counting the number of data transfer words, etc. CONSTITUTION:A means for delivering addresses of both the transfer destination and the transferer of data is provided together with a means for counting the number of data transfer words. For instance, the addresses of the transferer and transfer destination of data and the number of transfer words are written in the 1st and 2nd address generating parts 3 and 4 of a data transfer circuit part 2 as well as to a word number counter 6 by the program of a CPU part 1'. At the same time, a BUSY signal 10 is set at ''1'' together with the holding signal and a holding confirmation answer signal 11 of the part 1'. Then a DMAEN signal 12 is set at ''1'', and the output of the part 3 is enabled when an SELR signal 14 is set at ''1''. The signal 14 is delivered as the address of the transferer. When the signal 12 and an SELW signal 15 are set at ''1'', the address of transfer destination is delivered in the same way.

Description

【発明の詳細な説明】 炎LLL 本発明は半導体回路に関し、より詳細には、マイクロコ
ンピュータシステムに於ける入出力装置とメモリとの間
及びメモリとメモリとの間等に於いてデータ転送を行な
うためのデータ転送回路を内蔵した中央処理装置に関す
るものである。
[Detailed Description of the Invention] Flame LLL The present invention relates to a semiconductor circuit, and more specifically, to a semiconductor circuit that performs data transfer between an input/output device and a memory, and between memories, etc. in a microcomputer system. The present invention relates to a central processing unit with a built-in data transfer circuit for the purpose of processing.

従来技術 従来、CPtJを介さずにデータ転送を行なうDMA(
ダイレクトメモリアクセス)転送には、DMAコントロ
ーラを使用するのが一般的であるが、この場合DMAコ
ントローラとCPU間の制御信号ライン及びDMAコン
トローラとデータ転送素子間の制御信号ラインが必要で
あり、回路構成が複雑になるという問題があった。
Prior Art Conventionally, DMA (
A DMA controller is generally used for direct memory access (direct memory access) transfer, but in this case, a control signal line between the DMA controller and the CPU and a control signal line between the DMA controller and the data transfer element are required, and the circuit There was a problem that the configuration became complicated.

目  的 本発明は演算部、メモリ、I10ポート等を有するディ
ジタル回路に於いて、簡単な回路構成で且つCPUから
DMA制御信号の為のビンを省略することの可能なりM
A転送方式を提供して、回路の簡略化と小型化を図る事
を目的とする。
Purpose The present invention provides a simple circuit configuration in a digital circuit having an arithmetic unit, memory, I10 port, etc., and it is possible to omit bins for DMA control signals from the CPU.
The purpose is to provide an A transfer method to simplify and downsize the circuit.

一1 本発明の構成について、以下具体的な実施例に基づいて
説明する。第1図は、データ転送回路を内蔵した本発明
CPU1の内部構成を示したブロック図、第2図はその
タイミングチャートである。
11 The configuration of the present invention will be described below based on specific examples. FIG. 1 is a block diagram showing the internal configuration of a CPU 1 of the present invention incorporating a data transfer circuit, and FIG. 2 is a timing chart thereof.

CPU1は従来公知の演算機能等を有するCPU部1′
の他に、データ転送回路部2を内蔵している。CPU1
は、アドレス出力信号、データ入出力信号、リード/ラ
イト信号、システムクロック入力信号等、一般的なCP
U機能を実現するための端子を有しているが、データ転
送時にバスの占有をコントロールするための例えば、ホ
ールド要求信号及びホールド確認応答信号の端子が省略
されている。
The CPU 1 is a CPU section 1' having conventionally known arithmetic functions, etc.
In addition, a data transfer circuit section 2 is built-in. CPU1
is a general CP such as address output signal, data input/output signal, read/write signal, system clock input signal, etc.
Although it has a terminal for realizing the U function, terminals for, for example, a hold request signal and a hold acknowledgment signal for controlling bus occupancy during data transfer are omitted.

データ転送回路部2は、第1アドレス発生部3゜第2ア
ドレス発生部4.データバラフッ51語数カウンタ6、
タイミング作成回路7.書込信号発生回路8からなって
いる。書込信号発生回路8はアドレスデコーダとゲート
回路からなり、CPU部1′からのアドレス信号をデコ
ードしリード/ライト信号9のタイミングで第1アドレ
ス発生部3、第2アドレス発生部42語数カウンタ6に
対する書込信号を発生する。即ち、これによってCPU
部1′からプログラムにより所望のデータがそれぞれ設
定される。第1アドレス発生部3は16ビツトのカウン
タから成りデータ転送元アドレス設定用である。一方、
第2アドレス発生部4は16ビツトのレジスタから成り
データ転送先アドレス設定用である。出力は、何れも三
状態出力であって、CPLI部1′のアドレス信号16
ビツトと共にCPU1のAO〜A+s端子17に接続さ
れている。語数カウンタ6は転送語数設定用であり、1
語転送毎にカウントを行ない、設定語数が終了したら終
了信号13を発生する。語数カウンタ6はアップカウン
タを使用し、転送語数設定は補数でセットして、カウン
タがOになったとき終了信号が発生するようにするとよ
い。≠−タバツファ5は8ビツトのレジスタからなり、
入出力ともCPU部1′のデータ信号8ビツトと共にC
PLI 1のDo〜D7端子18に接続されており、出
力は三状態出力である。タイミング作成回路7はフリッ
プ70ツブとゲート回路からなり、CPUIのシステム
クロックφ1端子20から入力されるクロック信号φ1
から、偶数番目のパルスからなるφ22倍と、奇数番目
のパルスからなるφ33倍を作成する。即ち、繰返し周
期がφ1の2倍であるようなノンクロスオーバクロック
φ2.φ3を作成する(第2図参照)。また、書込信号
発生回路8からの書込信号により転送語数を指示されて
から語数カウンタ6から終了信号13が発生するまでの
間111 I+であって、それ以外は゛0″であるよう
なりUSY信号10を作成する。BLISY信号10は
CPU部1′のホールド信号端子に接続される。又、B
USY信号が“1″で且つCPU部1′からのホールド
確認応答信号11も1″のとき、11111となるよう
なりMAEN信号12を作成する。更に、前記φ3の立
上りで“1″となり、前記φ3の立上りで“O″となる
ような5ELW信号15と、その反転による5ELR信
号14を作成する(第2図参照)。又、DMAEN信号
12が“0″の時はCPLI部1′のリード/ライト信
号9が出力され、DMAEN信号が“1″の時は5EL
R信号14が出力されるような、CPUIのR/W信号
端子19に接続するための信号を作成する。
The data transfer circuit section 2 includes a first address generation section 3, a second address generation section 4. Data balance 51 word counter 6,
Timing creation circuit 7. It consists of a write signal generation circuit 8. The write signal generation circuit 8 is composed of an address decoder and a gate circuit, and decodes the address signal from the CPU section 1' and uses the first address generation section 3, the second address generation section 42, and the word counter 6 at the timing of the read/write signal 9. Generates a write signal for. That is, this allows the CPU
Desired data is set by the program from section 1'. The first address generating section 3 consists of a 16-bit counter and is used to set a data transfer source address. on the other hand,
The second address generating section 4 consists of a 16-bit register and is used to set a data transfer destination address. All outputs are three-state outputs, and the address signal 16 of the CPLI section 1'
It is connected to the AO to A+s terminals 17 of the CPU 1 together with the bits. The word counter 6 is for setting the number of words to be transferred, and is 1
A count is performed every time a word is transferred, and an end signal 13 is generated when the set number of words is completed. It is preferable that an up counter is used as the word counter 6, and the number of transferred words is set as a complement so that the end signal is generated when the counter reaches 0. ≠-The buffer 5 consists of an 8-bit register,
Both input and output are C
It is connected to the Do to D7 terminals 18 of PLI 1, and the output is a three-state output. The timing generation circuit 7 consists of a flip 70 block and a gate circuit, and receives a clock signal φ1 input from the system clock φ1 terminal 20 of the CPUI.
From this, φ22 times consisting of even-numbered pulses and φ33 times consisting of odd-numbered pulses are created. That is, a non-crossover clock φ2. whose repetition period is twice that of φ1. Create φ3 (see Figure 2). In addition, it is 111 I+ from when the number of words to be transferred is instructed by the write signal from the write signal generation circuit 8 until the end signal 13 is generated from the word number counter 6, and is ``0'' otherwise. A signal 10 is created.The BLISY signal 10 is connected to the hold signal terminal of the CPU section 1'.
When the USY signal is "1" and the hold confirmation response signal 11 from the CPU section 1' is also 1", the MAEN signal 12 becomes 11111, and the MAEN signal 12 is created.Furthermore, it becomes "1" at the rising edge of φ3, and the A 5ELW signal 15 which becomes "O" at the rising edge of φ3 and a 5ELR signal 14 by its inversion are created (see Figure 2).Also, when the DMAEN signal 12 is "0", the CPLI section 1' is read. /Write signal 9 is output and DMAEN signal is “1”, 5EL
A signal for connection to the R/W signal terminal 19 of the CPUI is created so that the R signal 14 is output.

次に、本実施例に於けるデータ転送の動作について説明
する。まず、プログラムによりデータ転送元アドレスの
初期値、データ転送先アドレス。
Next, the data transfer operation in this embodiment will be explained. First, the initial value of the data transfer source address and the data transfer destination address are determined by the program.

転送語数が、それぞれ第1アドレス発生部3.第2アド
レス発生部49語数カウンタ6に書込まれる。語数カウ
ンタ6に対する書込信号は、同時にBUSY信号10を
“1″とするから、CPU部1′のホールド信号が“1
″となる。その後、CPU部1′のホールド確認応答信
号11がll I I+となりDMAEN信号12も1
11 I+になる。DMAEN信号12が1″で且つ5
ELR信号14が1″の時第1アドレス発生部3の出力
がイネーブルとなり\転送元アドレスとしてCPLII
のAo〜A+s端子17に出力される。又、DMAEN
信号12が“1″で且つ5ELW信号15が1″の時第
2アドレス発生部4の出力がイネーブルとなり、転送先
アドレスとしてcpuiのAO〜A+s端子17に出力
される。5ELW信号15は語数カウンタ6をカウント
アツプすると共に、第1アドレス発生部3に1を加えて
転送元アドレスを更新する。データ転送の間、CPU1
のR/W端子19には5ELR信@14が出力され転送
元、転送先の制御に使われる。即ち、DMAEN信号1
2が1111+で且つ5ELR信号14が“1″のとき
転送データは転送元からCP(lのDo=D7端子18
を介してデータバッファ5に取込まれ、一方、DMAE
N信号12が“1′°で且つ5ELR信号14力(″0
″の時データバッファ5からCPU1のDo〜D7端子
18に出力されて転送先に伝達される。語数カウンタ6
から終了信号13が発生すると、BUSY信号10がO
11となり、第1アドレス発生部3.第2アドレス発生
部4.データバッファ5の出力がディスエーブルになる
と共に、CPU部1′のホールド状態が解除される。
The number of words to be transferred is determined by the first address generation unit 3. The second address generator 49 is written into the word counter 6. Since the write signal to the word counter 6 simultaneously sets the BUSY signal 10 to "1", the hold signal of the CPU section 1' becomes "1".
After that, the hold confirmation response signal 11 of the CPU section 1' becomes ll I I+, and the DMAEN signal 12 also becomes 1.
11 Becomes I+. DMAEN signal 12 is 1″ and 5
When the ELR signal 14 is 1'', the output of the first address generator 3 is enabled and CPLII is used as the transfer source address.
It is output to Ao to A+s terminals 17 of. Also, DMAEN
When the signal 12 is "1" and the 5ELW signal 15 is 1", the output of the second address generator 4 is enabled and is output to the AO to A+s terminals 17 of the CPU as a transfer destination address. The 5ELW signal 15 is a word counter. 6, and adds 1 to the first address generator 3 to update the transfer source address.During data transfer, the CPU 1
The 5ELR signal @14 is output to the R/W terminal 19 of the transfer source and is used to control the transfer source and transfer destination. That is, DMAEN signal 1
When 2 is 1111+ and 5ELR signal 14 is “1”, transfer data is transferred from the transfer source to CP (Do of l = D7 terminal 18
is taken into the data buffer 5 via DMAE.
N signal 12 is "1'° and 5ELR signal 14 power ("0
'', the data is output from the data buffer 5 to the Do-D7 terminals 18 of the CPU 1 and transmitted to the transfer destination.Word counter 6
When the end signal 13 is generated, the BUSY signal 10 becomes O.
11, and the first address generating section 3. Second address generator 4. The output of the data buffer 5 is disabled and the hold state of the CPU section 1' is released.

尚、本実施例では転送先アドレスを固定としたが、M2
アドレス発生部4もカウンタを使用し、1語転送毎にカ
ウントアツプすれば、転送先アドレスの更新も可能とな
る。即ち、メモリ間の転送も可能となる。又、第1アド
レス発生部3を固定とし、第2アドレス発生部4を更新
可能として、I10デバイスコントローラからメモリへ
の転送を行なうこともできる。メモリアドレスの設定を
上位8ビツトのみ行ない、下位8ビツトとして語数カウ
ンタ6の出力を使用すれば一層回路は簡単になる。その
場合例えば、語数カウンタはオールゼロからカウントア
ツプして256語転送した後終了信号を発生するように
すればよい。
In this embodiment, the transfer destination address is fixed, but M2
If the address generating section 4 also uses a counter and counts up each time one word is transferred, the transfer destination address can be updated. That is, transfer between memories is also possible. It is also possible to transfer data from the I10 device controller to the memory by making the first address generation section 3 fixed and the second address generation section 4 updatable. If the memory address is set only in the upper 8 bits and the output of the word counter 6 is used as the lower 8 bits, the circuit becomes even simpler. In that case, for example, the word counter may count up from all zeros and generate an end signal after 256 words have been transferred.

更に、本実施例では、CPU部1′はホールド信号によ
りアドレスバス及びデータバスをフローティングにする
機能を有しているものを使用している。しかし、ホール
ド機能を有していない場合にも、レディ信号によりCP
U部1′を待ち状態とし、CPU部1′からのアドレス
出力信号ラインに、DMAEN信号が1″の開信号をカ
ットオフするためのスイッチを設けることにより、本実
施例と同じデータ転送機能を実現することが可能である
Furthermore, in this embodiment, the CPU section 1' has a function of floating the address bus and data bus by means of a hold signal. However, even if it does not have a hold function, the ready signal will cause the CP to
The same data transfer function as in this embodiment can be achieved by setting the U section 1' in a waiting state and providing a switch for cutting off the open signal of 1'' of the DMAEN signal on the address output signal line from the CPU section 1'. It is possible to achieve this.

効  果 本発明により、データ転送制御の為の特別のビン、例え
ばホールド信号、ホールド確認応答信号等を中央処理装
置から省略することが可能になる。
Effects According to the present invention, special bins for data transfer control, such as hold signals, hold acknowledgment signals, etc., can be omitted from the central processing unit.

又、転送回路がCPUに内蔵されているため任意のディ
ジタル回路に於いてデータ転送の為の特別の回路構成を
必要とすることなく、本CPUを使用することにより回
路設計が簡単化されしかも高速なデータ転送が可能とな
る。従って、実装面積を縮小し、装置を小型化すること
ができる。
In addition, since the transfer circuit is built into the CPU, there is no need for a special circuit configuration for data transfer in any digital circuit.Using this CPU simplifies circuit design and enables high-speed operation. data transfer becomes possible. Therefore, the mounting area can be reduced and the device can be made smaller.

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

第1図は本発明のデータ転送回路を内蔵したCPUの内
部構成を示すブロック図、第2図はそのタイミングチャ
ート図である。 (符号の説明) 1 : データ転送回路内蔵CPU 1’:CPL1部 2 : データ転送回路部 3 : 第1アドレス発生部 4 : 第2アドレス発生部 5 : データバッファ 6 : 語数カウンタ 7 : タイミング作成回路 8 : 書込信号発生回路 特許出願人   株式会社  リ  コ  −七ノ1/
FIG. 1 is a block diagram showing the internal configuration of a CPU incorporating the data transfer circuit of the present invention, and FIG. 2 is a timing chart thereof. (Explanation of symbols) 1: CPU with built-in data transfer circuit 1': CPL1 section 2: Data transfer circuit section 3: First address generation section 4: Second address generation section 5: Data buffer 6: Word counter 7: Timing generation circuit 8: Write signal generation circuit patent applicant Rico Co., Ltd. - Nanano 1/

Claims (1)

【特許請求の範囲】 1、データ転送元アドレスを出力するための第1アドレ
ス発生部と、データ転送先アドレスを出力するための第
2アドレス発生部と、データ転送語数をカウントするた
めの語数カウンタと、前記第1アドレス発生部、前記M
2アドレス発生部及び前記語数カウンタに初期設定を行
なう為の書込信号発生回路と、転送用データを一時保持
するためのデータバッフ1と、データ転送のタイミング
を作成する為のタイミング作成回路とを内蔵しているこ
とを特徴とする中央処理装置。 2、上記第1項に於いて、語数カウンタが第1アドレス
発生部又は第2アドレス発生部内にあることを特徴とす
る中央処理装置。
[Claims] 1. A first address generation section for outputting a data transfer source address, a second address generation section for outputting a data transfer destination address, and a word counter for counting the number of data transfer words. and the first address generating section, the M
2, a write signal generation circuit for initializing the address generation unit and the word counter, a data buffer 1 for temporarily holding data for transfer, and a timing creation circuit for creating timing for data transfer. A central processing unit characterized by having a built-in central processing unit. 2. The central processing unit according to item 1 above, wherein the word counter is located in the first address generation section or the second address generation section.
JP7308483A 1983-04-27 1983-04-27 Central processing unit incorporating data transfer circuit Pending JPS59200328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7308483A JPS59200328A (en) 1983-04-27 1983-04-27 Central processing unit incorporating data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7308483A JPS59200328A (en) 1983-04-27 1983-04-27 Central processing unit incorporating data transfer circuit

Publications (1)

Publication Number Publication Date
JPS59200328A true JPS59200328A (en) 1984-11-13

Family

ID=13508109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7308483A Pending JPS59200328A (en) 1983-04-27 1983-04-27 Central processing unit incorporating data transfer circuit

Country Status (1)

Country Link
JP (1) JPS59200328A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0749842A (en) * 1993-12-27 1995-02-21 Hitachi Ltd Parallel processing computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0749842A (en) * 1993-12-27 1995-02-21 Hitachi Ltd Parallel processing computer

Similar Documents

Publication Publication Date Title
JPH0612863A (en) Dual port DRAM
JPH06203563A (en) Data-output buffer of synchronous semiconductor memory device
KR960013841B1 (en) Ram and controlling method of ram and digital signal processing device with ram
JP2549601B2 (en) Register control circuit
JPS59200328A (en) Central processing unit incorporating data transfer circuit
JPH057738B2 (en)
JP2563679B2 (en) Bidirectional input / output signal separation circuit
TW425527B (en) Microcomputer device
JP2578144B2 (en) Parallel data port selection method and device
JP2845115B2 (en) Digital signal processing circuit
EP0325423A2 (en) An error detecting circuit for a decoder
JPS6047612B2 (en) Microinstruction output control method
JPS633392B2 (en)
JPS6232818B2 (en)
JPS5824819B2 (en) Hiyoji Seigiyohoushiki
JPH0194588A (en) Memory device
JPS62210559A (en) Dma circuit
JPH09219089A (en) Shift register
JPS6253020A (en) Integrated circuit
JPH01143097A (en) Read only memory
JPH0318771B2 (en)
JPS61112272A (en) Microcomputer applied device
JPH07200456A (en) External device interface of CPU
JPH08137789A (en) Bus output method
JPH03122743A (en) Dma control device