JPS62184557A - Microprocessor bus interface circuit - Google Patents

Microprocessor bus interface circuit

Info

Publication number
JPS62184557A
JPS62184557A JP2724586A JP2724586A JPS62184557A JP S62184557 A JPS62184557 A JP S62184557A JP 2724586 A JP2724586 A JP 2724586A JP 2724586 A JP2724586 A JP 2724586A JP S62184557 A JPS62184557 A JP S62184557A
Authority
JP
Japan
Prior art keywords
bus
data
general
control signal
circuit
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.)
Granted
Application number
JP2724586A
Other languages
Japanese (ja)
Other versions
JPH0754503B2 (en
Inventor
Masao Ikeda
昌夫 池田
Osamu Miyagishi
宮岸 修
Naofumi Nagai
直文 永井
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP61027245A priority Critical patent/JPH0754503B2/en
Publication of JPS62184557A publication Critical patent/JPS62184557A/en
Publication of JPH0754503B2 publication Critical patent/JPH0754503B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the reduction of the scale of a hardware, and the modification or addition of functions, by dividing each function part of an interface circuit, and communicating between divided functions with a general control signal in which the difference among the classes of processors are absorbed. CONSTITUTION:A data transfer circuit 201 informs the presence of an output data from a functional block to a bus control signal generation circuit 202 with a general control signal RQO. The circuit 202, in an I/O transfer, requests an interruption to output to a control bus 203. A general purpose microprocessor 204, when receiving the interruption, sends a reading control signal onto the bus 203. A bus control signal conversion circuit 205, after converting the control signal to a general control signal DO within the inside of a functional module corresponding to the classes of the general purpose microprocessors, outputs it to the circuit 201, and the circuit 201 outputs a data according to the signal DO to a data bus 206. The data is received by the processor 204. Adversely, when the processor 204 outputs the data, the circuit 201 receives the data almost in a reverse action.

Description

【発明の詳細な説明】 (1)発明の属する技術分野 本発明は機能ブロックとその機能ブロックが組み込まれ
る宅内機器の汎用マイクロプロセッサ・バスとを接続す
るための1機能ブロックに含まれるマイクロプロセッサ
・バス・インタフェース回路に関するものである。
Detailed Description of the Invention (1) Technical field to which the invention pertains The present invention relates to a microprocessor bus included in one functional block for connecting a functional block and a general-purpose microprocessor bus of household equipment in which the functional block is incorporated. This invention relates to bus interface circuits.

(2)従来の技術 従来このようなマイクロプロセッサ・バス・インタフェ
ース回路は、バス・インタフェース回路□に接続する対
象のマイクロプロセッサの種別を限定して設計していた
。このためデータ転送を行う機能とマイクロプロセッサ
・バスの制御信号に対応する機能とを一体として構成し
たり、データ転送を行う機能とマイクロプロセッサ・バ
スの制御信号に対応する機能との間をマイクロプロセッ
サ・バス・インタフェース回路が対象とするマイクロプ
ロセッサのバス制御信号に依存した内部信号で連絡する
等の構成となっていた。
(2) Prior Art Conventionally, such microprocessor bus interface circuits have been designed to limit the type of microprocessor to be connected to the bus interface circuit □. For this reason, a function that performs data transfer and a function that corresponds to control signals of the microprocessor bus may be integrated, or a microprocessor - The bus interface circuit was configured to communicate using internal signals that depended on the bus control signals of the target microprocessor.

またデータ転送方式についても予め回路設計時にI10
転送方式あるいはDMA転送方式に設定し、アドレス発
生部やバス制御信号の生成部の設計を行っていた。この
ためデータの転送を行う機能とマイクロプロセッサ・バ
スへ出力するバス制御信号生成の機能等を一体として構
成したり1機能の一部を共用する等の構成となっていた
Also, regarding the data transfer method, I10
The transfer method or DMA transfer method was set, and the address generation section and bus control signal generation section were designed. For this reason, the function of transferring data and the function of generating bus control signals to be output to the microprocessor bus have been integrated, or a part of one function has been shared.

第4図は従来の技術によるI10転送の例を説明する図
であって、100は従来技術によるマイクロプロセッサ
・インタフェース回路、101は機能ブロック内のマイ
クロプロセッサ、102はデータバス、103はコント
ロールバス、104はデータ転送回路、105はデータ
転送制御回路。
FIG. 4 is a diagram illustrating an example of I10 transfer according to the conventional technique, in which 100 is a microprocessor interface circuit according to the conventional technique, 101 is a microprocessor in a functional block, 102 is a data bus, 103 is a control bus, 104 is a data transfer circuit, and 105 is a data transfer control circuit.

106は機能ブロックが接続された汎用マイクロプロセ
ッサ、107はコントロールバス、108はデータバス
である。
106 is a general-purpose microprocessor to which functional blocks are connected, 107 is a control bus, and 108 is a data bus.

これの動作を説明すると、マイクロプロセ・ノサ101
がデータバス102に機能ブロックから出力したいデー
タをのせ、コントロールバス103によってデータ転送
回路104にデータを書き込む。データ転送回路104
はコントロールバス103を監視し、書き込みの指示を
検出すると、データバス102からデータを引き取る。
To explain the operation of this, Microprocessor Nosa 101
puts data to be output from the functional block onto the data bus 102 and writes the data into the data transfer circuit 104 via the control bus 103. Data transfer circuit 104
monitors the control bus 103, and when it detects a write instruction, takes data from the data bus 102.

データ転送制御回路105はマイクロプロセッサ101
から書き込まれたデータをデータ転送回路104の内部
で転送・保持する。データ転送回路104の内部に汎用
マイクロプロセッサ106へ出力するデータがある場合
、データ転送制御回路105は汎用マイクロプロセッサ
106にデータを引き取らせるため、コントロールバス
107に引き取り要求の信号をのせる。汎用マイクロプ
ロセッサ106は引き取り要求に応答し、コントロール
バス107にデータ読み取りの制御信号をのせる。デー
タ転送回路104はコントロールバス107を監視し、
読み取りの指示を検出すると、データバス108にデー
タを出力し、汎用マイクロプロセッサ106はデータバ
ス108を通じてデータを引き取る。データ転送制御回
路105は汎用マイクロプロセッサ106が引き取り要
求に応答したことを検出した後、引き取り要求を取り下
げる。
The data transfer control circuit 105 is a microprocessor 101
The data written from the data transfer circuit 104 is transferred and held within the data transfer circuit 104. If there is data to be output to the general-purpose microprocessor 106 inside the data transfer circuit 104, the data transfer control circuit 105 puts a take-over request signal on the control bus 107 in order to make the general-purpose microprocessor 106 take over the data. General-purpose microprocessor 106 responds to the take-over request and places a data read control signal on control bus 107. The data transfer circuit 104 monitors the control bus 107,
When a read instruction is detected, the data is output to the data bus 108 and the general purpose microprocessor 106 receives the data over the data bus 108 . After detecting that the general-purpose microprocessor 106 has responded to the take-up request, the data transfer control circuit 105 cancels the take-up request.

データ転送制御回路105はコントロールバス107を
監視してデータ読み取りのシーケンスが終了した後、つ
ぎに出力するデータをデータ転送回路104の内部で転
送させ引き取りの要求をコントロールバス107に出力
する。汎用マイクロプロセッサ106が機能ブロックに
データを書き込む場合は、データバス108にデータを
のせコントロールバス107に書き込みの制御信号をの
せる。データ転送回路104はコントロールバス107
を監視し読み込みの指示を検出するとデータバス108
からデータを引き取る。データ転送制m回路105はコ
ントロールバス107を監視して、データ転送回路10
4にデータが書き込まれたことを検出すると、データ転
送回路104の内部のデータを転送・保持させ、マイク
ロブロセ・ノサ101にデータを引き取らせるためコン
トロールバス103に引き取り要求の信号をのせる。マ
イクロプロセッサ101は引き取り要求に応答してコン
トロールバス103にデータ読み取りの制御信号をのせ
、データ転送回路104からデータバス102を通じて
データを引き取る。データ転送回路104やデータ転送
制御回路105は、汎用マイクロプロセッサ106から
コントロールバス107に出力されるバス制御信号を監
視してデータの入力・出力および転送を行い、さらに汎
用マイクロプロセッサ106に対応した引き取り要求信
号を作成しコントロールバス107に出力する等この機
能ブロックが対象とするマイクロプロセッサの種別に専
用の回路となる。
The data transfer control circuit 105 monitors the control bus 107 and, after the data reading sequence is completed, transfers the next data to be output within the data transfer circuit 104 and outputs a takeover request to the control bus 107. When the general-purpose microprocessor 106 writes data to a functional block, the data is placed on the data bus 108 and a write control signal is placed on the control bus 107. The data transfer circuit 104 is a control bus 107
is monitored and when a reading instruction is detected, the data bus 108
Retrieve data from. The data transfer system m circuit 105 monitors the control bus 107 and
When it detects that data has been written to the microprocessor 101, it transfers and holds the data inside the data transfer circuit 104, and sends a takeover request signal to the control bus 103 in order to make the microprocessor 101 take over the data. In response to the take-back request, the microprocessor 101 puts a data read control signal on the control bus 103 and takes the data from the data transfer circuit 104 via the data bus 102. The data transfer circuit 104 and the data transfer control circuit 105 monitor bus control signals output from the general-purpose microprocessor 106 to the control bus 107 to input/output and transfer data, and also perform data transfer corresponding to the general-purpose microprocessor 106. This functional block, which creates a request signal and outputs it to the control bus 107, is a dedicated circuit for the type of microprocessor targeted.

このような構成をとっていたために、マイクロプロセッ
サ・バス・インタフェース回路が対象としていない種別
のマイクロプロセッサへの対応は不可能であったり1機
能ブロックの外部にバス・インタフェースの変換を行う
回路を付加してマイクロプロセッサ・バスに接続する等
の必要があった。また機能ブロックを改造してマイクロ
プロセッサ・バス・インタフェース回路の対象とするマ
イクロプロセッサの種別を変更する場合やデータ転送方
式をDMAにする等の転送方式を変更する場合には、新
たなマイクロプロセッサのバス制御信号に依存して変更
を要する部分が一部にとどまらず、データの転送機能部
等も関連して大幅な改造を必要とし、また複数のマイク
ロプロセッサのバス制御信号に対応するためにはマイク
ロプロセッサ・バス・インタフェース回路内にマイクロ
プロセッサに対応するバス制御信号の種類だけこれらの
バス制御信号対応部とデータ転送機能部等を用意しなけ
ればならなかったり、複数のデータ転送方式へ対応する
ためにデータ転送の種類だけインタフェース回路を必要
としていた。
Because of this configuration, it was impossible to support types of microprocessors that the microprocessor bus interface circuit was not intended for, or it was necessary to add a circuit to convert the bus interface outside of one functional block. and connected to the microprocessor bus. In addition, when modifying the functional block to change the type of microprocessor targeted by the microprocessor bus interface circuit, or when changing the data transfer method such as changing the data transfer method to DMA, a new microprocessor must be installed. Not only some parts depend on the bus control signals, but also the data transfer functions require major modification, and in order to correspond to the bus control signals of multiple microprocessors, In the microprocessor bus interface circuit, it is necessary to prepare a bus control signal support section and a data transfer function section for each type of bus control signal that corresponds to the microprocessor, or to support multiple data transfer methods. Only the type of data transfer required an interface circuit.

(3)発明の目的 本発明の目的はマイクロプロセッサ・バス・インタフェ
ース回路が複数のマイクロプロセッサのバス制御信号に
対応するためにマイクロプロセッサ・バス・インタフェ
ース回路内に複数の制御信号対応部やデータ転送機能部
等が必要であったり。
(3) Purpose of the Invention The purpose of the present invention is to provide a microprocessor bus interface circuit with a plurality of control signal handling units and data transfer units in order to enable the microprocessor bus interface circuit to handle bus control signals of a plurality of microprocessors. Functional parts etc. may be required.

マイクロプロセッサ・バス・インタフェース回路が対応
するバス制御信号及びデータ転送方式を変更あるいは追
加する場合に大幅な改造・追加が必要となる点を解決し
たマイクロプロセッサ・バス・インタフェース回路を提
供することにある。
An object of the present invention is to provide a microprocessor bus interface circuit that solves the problem that major modifications and additions are required when changing or adding bus control signals and data transfer methods supported by the microprocessor bus interface circuit. .

(4)発明の構成 (4−1)発明の特徴と従来の技術との差本発明はマイ
クロプロセッサ・バス・インタフェース回路を構成する
各機能部を分割し、それらの機能部の間をそのマイクロ
プロセッサ・バス・インタフェース回路が対応しようと
するマイクロプロセッサの制御信号と異なり、各々のプ
ロセッサ種別の差を吸収した汎用制御信号で連絡するこ
とを最も主要な特徴とする。従来の技術とは!1)マイ
クロプロセッサ・バス・インタフェース回路内の個々の
データ転送等の機能部を他のマイクロプロセッサ制御信
号対応の機能部と分離させている。
(4) Structure of the invention (4-1) Differences between the characteristics of the invention and the conventional technology The present invention divides each functional section constituting a microprocessor bus interface circuit, and connects the microprocessor bus interface circuit between the functional sections. Unlike the control signals of the microprocessor to which the processor bus interface circuit is intended to correspond, the most important feature is that communication is performed using general-purpose control signals that absorb the differences between the types of processors. What is conventional technology? 1) Functional sections such as individual data transfer within the microprocessor bus interface circuit are separated from other functional sections corresponding to microprocessor control signals.

(2)各機能部はマイクロプロセッサ・バス・インクフ
ェース回路内においてインタフェース回路が対応するマ
イクロプロセッサのバス制御信号と異なり、各々のプロ
セッサ種別の差を吸収した汎用制御信号に従って動作を
行っている。(3)マイクロブ0セツサ・バス・インタ
フェース回路内の各機能部の内、インタフェース回路が
対応する汎用マイクロプロセッサの種類によって影響を
受ける機能部は、■マイクロプロセッサが出力したバス
制御信号をマイクロプロセッサ・バス・インタフェース
回路内で用いる汎用制御信号に変換する機能部と■バス
・インタフェース回路内の汎用制御信号からマイクロプ
ロセッサに対応したバス制御信号を生成する機能部等に
限定するように構成する。
(2) Each functional unit operates in accordance with a general-purpose control signal that is different from the bus control signal of the microprocessor to which the interface circuit corresponds in the microprocessor bus ink interface circuit, and which absorbs the differences between the types of processors. (3) Of the functional units in the microprocessor bus interface circuit, the functional units that are affected by the type of general-purpose microprocessor that the interface circuit supports are: The configuration is limited to a functional unit that converts the general-purpose control signal used within the bus interface circuit, and (2) a functional unit that generates a bus control signal compatible with the microprocessor from the general-purpose control signal within the bus interface circuit.

等の点が異なる。etc. are different.

(4−2)実施例 第1図は本発明の第一の実施例を説明する図であって、
200は本実施例によるマイクロプロセッサ・インタフ
ェース回路、201はデータ転送回路、202はバス制
御信号作成回路、203は機能ブロックが接続された汎
用マイクロプロセッサのコントロールバス、204は汎
用マイクロプロセッサ、205はバス制御信号変換回路
、206はデータバス、207はアドレスバス9208
はアドレス作成回路、209は外部アドレスバスツ7.
210はメモリ、211は制御レジスタである。
(4-2) Example FIG. 1 is a diagram explaining the first example of the present invention,
200 is a microprocessor interface circuit according to this embodiment, 201 is a data transfer circuit, 202 is a bus control signal generation circuit, 203 is a control bus of a general-purpose microprocessor to which functional blocks are connected, 204 is a general-purpose microprocessor, and 205 is a bus Control signal conversion circuit, 206 is a data bus, 207 is an address bus 9208
209 is an address generation circuit, and 209 is an external address bus 7.
210 is a memory, and 211 is a control register.

(1)  I10転送の場合 機能ブロック外部から汎用マイクロプロセッサの入出力
命令によるアクセス(I10転送)を行う場合、これを
動作するにはデータ転送回路2゜1が機能ブロックから
出力するデータがあることを汎用制御信号RQOにより
バス制御信号作成回路202に知らせる。信号RQOを
受は取ったバス制御信号作成回路202はI10転送の
場合コントロールバス203に出力要求の割込みをあげ
(1) In the case of I10 transfer When accessing (I10 transfer) using input/output commands of a general-purpose microprocessor from outside the functional block, there must be data output by the data transfer circuit 2゜1 from the functional block in order to operate this. is notified to the bus control signal generation circuit 202 using the general-purpose control signal RQO. The bus control signal generation circuit 202 that receives the signal RQO sends an output request interrupt to the control bus 203 in the case of I10 transfer.

1汎用マイクロプロセツサ204の入力動作を待つ。1. Waits for the input operation of the general-purpose microprocessor 204.

汎用マイクロプロセッサ204はバス制御信号作成回路
202から出力要求の割込みを受は取ると。
The general-purpose microprocessor 204 receives an output request interrupt from the bus control signal generation circuit 202.

コントロールバス203に読み取りの制御信号をのせる
。バス制御信号変tf11回!205はコントロールバ
ス203から入力した制御信号を汎用マイクロプロセッ
サの種別に対応して機能モジュール内部の汎用制御信号
DOに変換した後データ転送回路201に出力し、デー
タ転送回路201は汎用制御信号に従ってデータバス2
06にデータを出力する。データバス206に出力され
たデータは、汎用マイクロプロセッサ204に引き取ら
れる。逆に汎用マイクロプロセッサ204がデータを出
力すると、バス制御信号変換回路205がコントロール
バス203から入力した出力制御信号を汎用マイクロプ
ロセッサの種別に対応して汎用制御信号DIに変換した
後データ転送回路201に出力し、データ転送回路20
1はデータバス206からデータを引き取る。データ転
送回路201は引き取ったデータを処理した後汎用制御
信号RQIによりバス制御信号作成回路202に処理完
了を知らせ、信号RQfを受は取ったバス制御信号作成
回路202はデータ書き込みレディの割込みを汎用マイ
クロプロセッサ204にあげる。
A reading control signal is placed on the control bus 203. Bus control signal change tf 11 times! 205 converts the control signal input from the control bus 203 into a general-purpose control signal DO inside the functional module according to the type of general-purpose microprocessor, and outputs it to the data transfer circuit 201, and the data transfer circuit 201 converts the data according to the general-purpose control signal. bus 2
Data is output to 06. Data output to data bus 206 is received by general-purpose microprocessor 204. Conversely, when the general-purpose microprocessor 204 outputs data, the bus control signal conversion circuit 205 converts the output control signal input from the control bus 203 into a general-purpose control signal DI corresponding to the type of general-purpose microprocessor, and then the data transfer circuit 201 output to the data transfer circuit 20
1 receives data from the data bus 206. After processing the received data, the data transfer circuit 201 notifies the bus control signal generation circuit 202 of the completion of the processing using the general-purpose control signal RQI, and the bus control signal generation circuit 202, which has received the signal RQf, generates a data write ready interrupt for the general purpose. to the microprocessor 204.

(2>  DMA転送の場合 機能ブロック外部に対して機能ブロックがバスマスクと
なってDMA転送を行う場合、これの動作を説明すると
、データ転送回路201は機能ブ0ツクから出力するデ
ータがあることを汎用制御信号RQOによりバス制御信
号作成回路202に知らせ、信号RQOを受は取ったバ
ス制御信号作成回路202はDMA転送の場合コントロ
ールバス203に汎用マイクロプロセッサに応じたバス
マスタ権獲得の制御信号をあげ、コントロールバス20
内、データバス206.アドレスバス207のバス権を
汎用マイクロプロセッサ204から獲得する。バス制御
信号作成回路202はまたアドレス作成回路208に機
能ブロック外部への出刃先アドレスの発生を汎用制御信
号OAを用いて要求し、アドレス作成回路208は外部
アドレスバッファ209にアドレスをセットする。バス
制御信号作成回路202はバス権を獲得した後、メモリ
210へデータをDMA転送方式で出力するためコント
ロールバス203に汎用マイクロプロセッサの種別に対
応したメモリ書込みの制御信号を出力するとともに、デ
ータ転送回路201と外部アドレスバッファ209とに
汎用マイクロプロセッサの種別に対応したタイミングで
汎用制御信号Do及びAOを出力して、データバス20
6とアドレスバス207とにデータ及びアドレスを出力
する。メモリ210からDMA転送方式で入力する場合
は、データ転送回路201の入力バッファが空きである
ことをRQIにより知ったバス制御信号作成回路202
は、DMA転送の場合コントロールバス203に汎用マ
イクロプロセッサに応じたバスマスタ権獲得の制御信号
をあげ、コントロールバス203.データバス206.
アドレスバス207のバス権を汎用マイクロプロセッサ
204から獲得する。バス制御信号作成回路202はま
たアドレス作成回路20Bに機能ブロック外部への入力
アドレスの発生を汎用制御信号IAを用いて要求し、ア
ドレス作成回路208は外部アドレスバッファ209に
アドレスをセットする。
(2> In the case of DMA transfer When performing DMA transfer with the functional block acting as a bus mask to the outside of the functional block, the operation of this is explained as follows: The data transfer circuit 201 has data output from the functional block. is notified to the bus control signal generation circuit 202 by the general-purpose control signal RQO, and the bus control signal generation circuit 202 that receives the signal RQO sends a control signal to the control bus 203 for acquiring bus mastership according to the general-purpose microprocessor in the case of DMA transfer. Age, control bus 20
Among them, data bus 206. Bus ownership of address bus 207 is acquired from general-purpose microprocessor 204. The bus control signal generation circuit 202 also requests the address generation circuit 208 to generate a cutting edge address outside the functional block using the general-purpose control signal OA, and the address generation circuit 208 sets the address in the external address buffer 209. After acquiring the bus right, the bus control signal generation circuit 202 outputs a memory write control signal corresponding to the type of general-purpose microprocessor to the control bus 203 in order to output data to the memory 210 using the DMA transfer method, and also transfers data. General-purpose control signals Do and AO are output to the circuit 201 and the external address buffer 209 at timings corresponding to the type of general-purpose microprocessor, and the data bus 20
6 and address bus 207. When inputting from the memory 210 using the DMA transfer method, the bus control signal generation circuit 202 learns from RQI that the input buffer of the data transfer circuit 201 is empty.
In the case of DMA transfer, the control bus 203 sends a control signal for acquiring bus mastership according to the general-purpose microprocessor to the control bus 203. Data bus 206.
Bus ownership of address bus 207 is acquired from general-purpose microprocessor 204. Bus control signal generation circuit 202 also requests address generation circuit 20B to generate an input address to the outside of the functional block using general-purpose control signal IA, and address generation circuit 208 sets the address in external address buffer 209.

バス制御信号作成回路202はバス権を獲得した後、メ
モリ210からデータをDMA転送方式で入力するため
、コントロールバス203に汎用マイクロプロセッサの
種別に対応したメモリ読み込みの制御信号を出力すると
ともに、データ転送回路201と外部アドレスバッファ
209とに汎用マイクロプロセッサの種別に対応したタ
イミングで汎用制御信号DI、AOを出力してアドレス
バス207にアドレスを出力し、データバス206から
データを入力させる。
After acquiring the bus right, the bus control signal generation circuit 202 outputs a memory read control signal corresponding to the type of general-purpose microprocessor to the control bus 203 in order to input data from the memory 210 using the DMA transfer method. General-purpose control signals DI and AO are output to the transfer circuit 201 and external address buffer 209 at timings corresponding to the type of general-purpose microprocessor, an address is output to the address bus 207, and data is input from the data bus 206.

また機能ブロックを宅内機器が制御するため制御レジス
タ211にコントロール情報を書き込む場合は、汎用マ
イクロプロセッサ204がコントロール情報をデータバ
ス206に出力すると、バス制御信号変換回路205が
コントロールバス203から入力した汎用マイクロプロ
セッサ204の出力制御信号を汎用マイクロプロセッサ
の種別に対応して汎用制御信号DIに変換した後制御レ
ジスタ211に出力し、制御レジスタ211はデータバ
ス206からコントロール情報を引き取る。
In addition, when writing control information to the control register 211 so that a functional block is controlled by in-home equipment, when the general-purpose microprocessor 204 outputs the control information to the data bus 206, the bus control signal conversion circuit 205 converts the general-purpose The output control signal of the microprocessor 204 is converted into a general-purpose control signal DI according to the type of general-purpose microprocessor and then output to the control register 211, and the control register 211 receives control information from the data bus 206.

この様な構成になっているから、同一のデータ処理機能
部を複数の汎用マイクロプロセッサ種別及びデータ転送
方式に対して共用でき、新たな種別の汎用マイクロプロ
セッサに対してもバス・インタフェース回路の内、バス
制御信号変換回路205及びバス制御信号作成回路20
2を追加・変更するだけで対処できる。
With this configuration, the same data processing function unit can be shared by multiple general-purpose microprocessor types and data transfer methods, and the internal bus interface circuit can also be used for new types of general-purpose microprocessors. , bus control signal conversion circuit 205 and bus control signal generation circuit 20
This can be solved by simply adding or changing 2.

また汎用マイクロプロセッサからデータの転送以外に制
御情報等を設定する場合においても、バス制御信号変換
回路205をデータ処理機能部と制御レジスタとで共用
できるためハード規模の増加を抑えることが可能である
Furthermore, even when setting control information etc. in addition to transferring data from a general-purpose microprocessor, the bus control signal conversion circuit 205 can be shared between the data processing function section and the control register, making it possible to suppress an increase in hardware size. .

第2図は本発明の第二の実施例を説明する図であって、
300は本実施例によるマイクロプロセッサ・インタフ
ェース回路、301は機能ブロック内部のマイクロプロ
セッサ、302はデータバス、303はコントロールバ
ス、304はデータ転送回路である。
FIG. 2 is a diagram illustrating a second embodiment of the present invention,
300 is a microprocessor interface circuit according to this embodiment, 301 is a microprocessor inside a functional block, 302 is a data bus, 303 is a control bus, and 304 is a data transfer circuit.

(1)  I10転送の場合 機能ブロック外部から汎用マイクロプロセッサの入出力
命令によるアクセス(I10転送)を行う場合、これの
動作を説明すると、マイクロプロセッサ301が機能ブ
ロックの外部に出力するデータをデータバス302に出
力し、コントロールバス303に書き込みの制御信号を
のせデータ転送回路304に書き込みを行う。データ転
送回路304は機能ブロックから出力するデータがある
ことを汎用制御信号RQOによりバス制御信号作成回路
202に知らせる。RQOを受は取ったバス制御信号作
成回路202は、I10転送の場合コントロールバス2
03に出力要求の割込みをあげ、汎用マイクロプロセッ
サ204の入力動作を待つ。汎用マイクロプロセッサ2
04はバス制御信号作成回路202から出力要求の割込
みを受は取ると、コントロールバス203に読み取りの
制御信号をのせる。バス制御信号変換回路205はコン
トロールバス203から入力した制御信号を汎用マイク
ロプロセッサの種別に対応して機能モジュール内部の汎
用制御信号DOに変換した後データ転送回路304に出
力し、データ転送回路304は汎用制御信号に従ってデ
ータバス206にデータを出力する。データバス206
に出力されたデータは、汎用マイクロプロセッサ204
に引き取られる。逆に汎用マイクロプロセッサ204が
データを出力すると、バス制御信号変換回路205がコ
ントロールバス203から入力した出力制御信号を汎用
マイクロプロセッサの種別に対応して汎用制御信号DI
に変換した後データ転送回路304に出力し、データ転
送回路304はデータバス206からデータを引き取る
。データ転送回路304は機能ブロック外部から取り込
んだデータがあることをコント9−ルバス303を通じ
てマイクロプロセッサ301に知らせ、マイクロプロセ
ッサ301はデータ転送回路304からデータバス30
2を通じてデータを引き取る。データ転送回路304は
引き取ったデータをマイクロプロセッサ301に出力し
た後、汎用制御信号RQlによりバス制御信号作成回路
202に処理完了を知らせ、RQIを受は取ったバス制
御信号作成回路202はデータ書込みレディの割込みを
コントロールバス203を通じて汎用マイクロプロセッ
サ204にあげる。
(1) In the case of I10 transfer When accessing (I10 transfer) using input/output instructions of a general-purpose microprocessor from outside the functional block, the operation is as follows. 302 , a write control signal is placed on the control bus 303 , and the data is written to the data transfer circuit 304 . The data transfer circuit 304 notifies the bus control signal generation circuit 202 by the general-purpose control signal RQO that there is data to be output from the functional block. In the case of I10 transfer, the bus control signal generation circuit 202 that has received the RQO
03 and waits for the input operation of the general-purpose microprocessor 204. General-purpose microprocessor 2
04 receives an output request interrupt from the bus control signal generation circuit 202 and puts a read control signal on the control bus 203. The bus control signal conversion circuit 205 converts the control signal input from the control bus 203 into a general-purpose control signal DO inside the functional module according to the type of general-purpose microprocessor, and then outputs it to the data transfer circuit 304. Data is output to data bus 206 in accordance with the general-purpose control signal. data bus 206
The data output to the general-purpose microprocessor 204
will be taken over. Conversely, when the general-purpose microprocessor 204 outputs data, the bus control signal conversion circuit 205 converts the output control signal input from the control bus 203 into a general-purpose control signal DI corresponding to the type of general-purpose microprocessor.
After converting the data into a data bus 206, the data is output to the data transfer circuit 304, and the data transfer circuit 304 receives the data from the data bus 206. The data transfer circuit 304 notifies the microprocessor 301 via the control bus 303 that there is data fetched from outside the functional block.
2. Receive data through 2. After outputting the received data to the microprocessor 301, the data transfer circuit 304 notifies the bus control signal generation circuit 202 of the completion of processing using the general-purpose control signal RQl, and the bus control signal generation circuit 202 that has received the RQI is ready for data writing. The interrupt is sent to the general-purpose microprocessor 204 via the control bus 203.

+21  DMA転送の場合 機能ブロック外部に対して機能ブロックがバスマスクと
なってDMA転送を行う場合、これの動作を説明すると
、マイクロプロセッサ301は機能ブロック外部に出力
するデータをデータバス302に出力し、コントロール
バス303に書き込みの制御信号をのせてデータ転送回
路304に書き込む。データ転送回路304は出力する
データがあることを汎用制御信号RQOによりバス制御
信号作成回路202に知らせ、RQOを受は取ったバス
制御信号作成回路202は、DMA転送の場合コントロ
ールバス203に汎用マイクロプロセッサに応じたバス
マスタ権獲得の制御信号をあケ、コントロールバス20
3.データバス206゜、アドレスバス207のバス権
を汎用マイクロプロセッサ204から獲得する。バス制
御信号作成回路202はまたアドレス作成回路208に
機能ブロック外部への出刃先アドレスの発生を汎用制御
信号OAを用いて要求し、アドレス作成回路208は外
部アドレスバッファ209にアドレスをセットする。バ
ス制御信号作成回路202はバス権を獲得した後、メモ
リ210ヘデータをDMA転送方式で出力するためコン
トロールバス203に汎用マイクロプロセッサの種別に
対応したメモリ書込みの制御信号を出力するとともに、
データ転送回路304と外部アドレスバツフプ209と
に汎用マイクロプロセッサの種別に対応したタイミング
で汎用制御信号Do及びAOを出力して、データバス2
06とアドレスバス207とにデータ及びアドレスを出
力する。メモリ210からDMA転送方式で入力する場
合は、データ転送回路304の入カバソファが空きであ
ることをRQIにより知ったバス制御信号作成回路20
2は、  DMA転送の場合コントロールバス203に
汎用マイクロプロセッサに応じたバスマスタ権獲得の制
御(1t−あげ、コントロールバス203.データバス
206.アドレスバス207のバス権を汎用マイクロプ
ロセッサ204から獲得する。バス制御信号作成回路2
02はまたアドレス作成回路208に機能ブロック外部
への入力アドレスの発生を汎用制御信号IAを用いて要
求し、アドレス作成回路208は外部アドレスバッファ
209にアドレスをセットする。バス制御信号作成回路
202はバス権を獲得した後、メモリ210からデータ
をDMA転送方式で入力するため、コントロールバス2
03に汎用マイクロプロセッサの種別に対応したメモリ
読み込みの制御信号を出力するとともに、データ転送回
路304と外部アドレスバツツア209とに汎用マイク
ロプロセッサの種別に対応したタイミングで汎用制御信
号AO,DIを出力して、アドレスバス207にアドレ
スを出力し、データバス206からデータ転送回路30
4にデータを入力させる。
+21 In the case of DMA transfer When performing DMA transfer with the functional block acting as a bus mask to the outside of the functional block, the operation will be explained as follows: The microprocessor 301 outputs data to be output to the outside of the functional block to the data bus 302. , a write control signal is placed on the control bus 303 and written to the data transfer circuit 304. The data transfer circuit 304 notifies the bus control signal generation circuit 202 that there is data to be output using the general-purpose control signal RQO. The control bus 20 receives a control signal for acquiring bus mastership according to the processor.
3. Bus rights to the data bus 206° and address bus 207 are acquired from the general-purpose microprocessor 204. The bus control signal generation circuit 202 also requests the address generation circuit 208 to generate a cutting edge address outside the functional block using the general-purpose control signal OA, and the address generation circuit 208 sets the address in the external address buffer 209. After acquiring the bus right, the bus control signal generation circuit 202 outputs a memory write control signal corresponding to the type of general-purpose microprocessor to the control bus 203 in order to output data to the memory 210 using the DMA transfer method, and
General-purpose control signals Do and AO are output to the data transfer circuit 304 and the external address buffer 209 at timings corresponding to the type of general-purpose microprocessor, and the data bus 2
06 and address bus 207. When inputting data from the memory 210 using the DMA transfer method, the bus control signal generation circuit 20 learns from RQI that the input buffer of the data transfer circuit 304 is empty.
2, in the case of DMA transfer, the control bus 203 is controlled (1t-) to acquire bus mastership according to the general-purpose microprocessor, and the bus mastership of the control bus 203, data bus 206, and address bus 207 is acquired from the general-purpose microprocessor 204. Bus control signal generation circuit 2
02 also requests the address generation circuit 208 to generate an input address to the outside of the functional block using the general-purpose control signal IA, and the address generation circuit 208 sets the address in the external address buffer 209. After acquiring the bus right, the bus control signal generation circuit 202 inputs data from the memory 210 using the DMA transfer method.
A memory read control signal corresponding to the type of general-purpose microprocessor is output to 03, and general-purpose control signals AO and DI are output to the data transfer circuit 304 and external address buffer 209 at timings corresponding to the type of general-purpose microprocessor. and outputs the address to the address bus 207, and transfers the address from the data bus 206 to the data transfer circuit 30.
4 to input data.

また機能ブロックを宅内機器が制御するため制御レジス
タ211にコントロール情報を書き込む場合は、汎用マ
イクロプロセッサ204がコントロール情報をデータバ
ス206に出力すると、バス制御信号変換回路205が
コントロールバス203から入力した汎用マイクロプロ
セッサ204の出力制御信号を汎用マイクロプロセッサ
の種別に対応して汎用制御信号DIに変換した後制御レ
ジスタ211に出力し、制御レジスタ211はデータバ
ス206からコントロール情報を引き取る。
In addition, when writing control information to the control register 211 so that a functional block is controlled by in-home equipment, when the general-purpose microprocessor 204 outputs the control information to the data bus 206, the bus control signal conversion circuit 205 converts the general-purpose The output control signal of the microprocessor 204 is converted into a general-purpose control signal DI according to the type of general-purpose microprocessor and then output to the control register 211, and the control register 211 receives control information from the data bus 206.

この様な構成になっているから、同一のデータ転送機能
部を複数の汎用マイクロプロセッサ種別及びデータ転送
方式に対して共用でき、新たな種別の汎用マイクロプロ
セッサに対してもバス・インタフェース回路の内、バス
制御信号変換回路及びバス制御信号作成回路を追加・変
更するだけで対処できる。
With this configuration, the same data transfer function unit can be shared by multiple general-purpose microprocessor types and data transfer methods, and the internal bus interface circuit can also be used for new types of general-purpose microprocessors. This problem can be solved by simply adding or changing the bus control signal conversion circuit and bus control signal generation circuit.

また汎用マイクロプロセッサからデータの転送以外に制
御情報等を設定する場合においても、バス制御信号変換
回路をデータ転送機能部と制御レジスタとで共用できる
ため、ハード規模の増加を抑えることが可能である。
Furthermore, even when setting control information in addition to data transfer from a general-purpose microprocessor, the bus control signal conversion circuit can be shared between the data transfer function section and the control register, making it possible to suppress an increase in hardware size. .

第3図は本発明の第三の実施例を説明する図であって、
400は本実施例によるマイクロプロセッサ・インタフ
ェース回路、401は機能ブロック内のメモリ、402
はバス制御信号作成回路。
FIG. 3 is a diagram illustrating a third embodiment of the present invention,
400 is a microprocessor interface circuit according to this embodiment, 401 is a memory in a functional block, 402
is a bus control signal generation circuit.

403はアドレス作成回路、404は内部アドレス・バ
ッファ、405は機能ブロック内部のアドレスバス、4
06はデータ転送回路である。
403 is an address generation circuit, 404 is an internal address buffer, 405 is an address bus inside the functional block, 4
06 is a data transfer circuit.

(1)  I10転送の場合 機能ブロック外部から汎用マイクロプロセッサの入出力
命令によるアクセス(■10転送)を行う場合、これの
動作を説明すると1機能ブロックからデータを出力する
には、マイクロプロセッサ301が1機能ブロックの外
部に出力するデータをメモリ401にセットした後、コ
ントロールバス303を通じてバス制御信号作成回路4
02にデータの転送を要求する。データ転送要求を受け
たバス制御信号作成回路402は、信号A1によりアド
レス作成回路403に対してメモリ401からデータ転
送を行うためのアドレスの発生を要求し、アドレス作成
回路403は内部アドレス・バッファ404にアドレス
をセットする。バス制御信号作成回路402はまたコン
トロールバス303を通じてマイクロプロセッサ301
にバスマスタ権獲得の制御信号を出力し、データバス3
02、コントロールバス303.アドレスバス405の
バス権を獲iした後、コントロールバス303にメモリ
への出力の制御信号を出力するとともに、信号A3によ
ってアドレスバス405に転送データのアドレスを出力
して、メモリ401よりデータをコントロールバス30
3に出力させる。
(1) In the case of I10 transfer When accessing by input/output instructions of the general-purpose microprocessor from outside the functional block (■10 transfer), the operation is explained. To output data from one functional block, the microprocessor 301 must After setting the data to be output to the outside of one functional block in the memory 401, the bus control signal generation circuit 4 passes through the control bus 303.
02 to request data transfer. Upon receiving the data transfer request, the bus control signal generation circuit 402 uses signal A1 to request the address generation circuit 403 to generate an address for transferring data from the memory 401. Set the address to . The bus control signal generation circuit 402 also connects the microprocessor 301 through the control bus 303.
A control signal for acquiring bus mastership is output to data bus 3.
02, control bus 303. After acquiring the bus right of the address bus 405, a control signal for outputting to the memory is output to the control bus 303, and the address of the transfer data is output to the address bus 405 using the signal A3 to control data from the memory 401. bus 30
Output to 3.

バス制御信号作成回路402は、データ転送回路406
も同時に制御し、コントロールバス303に出力された
データをデータ転送回路406に入力させる。データ転
送回路406は機能ブロックから出力するデータがある
ことをRQOを通じてバス制御信号作成回路402に知
らせる。RQOを受は取ったバス制御信号作成回路40
2は、I10転送の場合、コントロールバス203に出
力要求の割込みをあげ、汎用マイクロプロセッサ204
の入力動作を待つ。汎用マイクロプロセッサ204はバ
ス制御信号作成回路402から出力要求の割込みを受は
取ると、コントロールバス203に読み取りの制御信号
をのせる。バス制御信号変換回路205はコントロール
バス203から入力した制御信号を汎用マイクロプロセ
ッサの種別に対応して機能モジュール内部の汎用制御信
号DOに変換した後データ転送回路406に出力し。
The bus control signal generation circuit 402 includes a data transfer circuit 406
It simultaneously controls the data output to the control bus 303 and inputs the data to the data transfer circuit 406. The data transfer circuit 406 notifies the bus control signal generation circuit 402 through RQO that there is data to be output from the functional block. Bus control signal generation circuit 40 that receives and receives RQO
2, in the case of I10 transfer, sends an output request interrupt to the control bus 203, and sends an output request interrupt to the general-purpose microprocessor 204.
Wait for input operation. When the general-purpose microprocessor 204 receives an output request interrupt from the bus control signal generation circuit 402, it puts a read control signal on the control bus 203. The bus control signal conversion circuit 205 converts the control signal input from the control bus 203 into a general-purpose control signal DO inside the functional module in accordance with the type of general-purpose microprocessor, and then outputs it to the data transfer circuit 406.

データ転送回路406は汎用制御信号に従ってデータバ
ス206にデータを出力する。データバス206に出力
されたデータは、汎用マイクロプロセッサ204に引き
取られる。逆に汎用マイクロプロセッサ204がデータ
を出力すると、バス制御信号変換回路205がコントロ
ールバス203から入力した出力制御信号を汎用マイク
ロプロセッサの種別に対応して汎用制御信号DIに変換
した後データ転送回路406に出力し、データ転送回路
406はデータバス206からデータを引き取る。デー
タ転送回路406は機能ブロック外部から取り込んだデ
ータがあることを信号RQ2によりバス制御信号作成回
路402に知らせ、バス制御信号作成回路402は信号
A2によりアドレス作成回路403に対してメモリ40
1へデータ転送を行うためのアドレスの発生を要求し、
アドレス作成回路403は内部アドレス・バッファ40
4にアドレスをセットする。バス制御信号作成回路40
2は、またコントロールバス303を通じてマイクロプ
ロセッサ301にバスマスク権獲得の制御信号を出力し
、データバス302.コントロールバス303.アドレ
スバス405のバス権を獲得した後、コントロールバス
303にメモリへの入力の制御信号を出力するとともに
、信号A3によって内部アドレス・バッファ404に転
送データのアドレスを出力する。またバス制御信号作成
回路402はデータ転送回路406を制御し、データバ
ス302にデータを出力させ、データバス302を通じ
てメモリ401にデータを入力させる。データ転送回路
406は2機能ブロック外部から入力したデータをメモ
リ401に出力した後汎用制御信号RQIによりバス制
御信号作成回路402に処理完了を知らせ、信号RQI
を受は取ったバス制御信号作成回路402はデータ書込
みレディの割込みをコントロールバス203を通じて汎
用マイクロプロセッサ204にあげる。
Data transfer circuit 406 outputs data to data bus 206 in accordance with the general-purpose control signal. Data output to data bus 206 is received by general-purpose microprocessor 204. Conversely, when the general-purpose microprocessor 204 outputs data, the bus control signal conversion circuit 205 converts the output control signal input from the control bus 203 into a general-purpose control signal DI corresponding to the type of general-purpose microprocessor, and then the data transfer circuit 406 The data transfer circuit 406 receives the data from the data bus 206. The data transfer circuit 406 notifies the bus control signal generation circuit 402 with the signal RQ2 that there is data fetched from outside the functional block, and the bus control signal generation circuit 402 sends the memory 40 to the address generation circuit 403 with the signal A2.
Request generation of an address for data transfer to 1,
The address generation circuit 403 is an internal address buffer 40
Set the address to 4. Bus control signal generation circuit 40
2 also outputs a bus mask right acquisition control signal to the microprocessor 301 via the control bus 303, and the data buses 302. Control bus 303. After acquiring the bus right to the address bus 405, it outputs a control signal for inputting to the memory to the control bus 303, and outputs the address of the transfer data to the internal address buffer 404 using the signal A3. The bus control signal generation circuit 402 also controls the data transfer circuit 406 to output data to the data bus 302 and input data to the memory 401 via the data bus 302. After the data transfer circuit 406 outputs the data input from the outside of the two functional blocks to the memory 401, it notifies the bus control signal generation circuit 402 of the completion of processing using the general-purpose control signal RQI, and then outputs the data input from outside the two functional blocks to the memory 401.
The bus control signal generation circuit 402 which received the data write ready interrupt sends a data write ready interrupt to the general-purpose microprocessor 204 via the control bus 203.

(2)  DMA転送の場合 機能ブロック外部に対して機能ブロックがバスマスタと
なってDMA転送を行う場合、これの動作を説明すると
、マイクロプロセッサ301が機能ブロックの外部に出
力するデータをメモリ401にセットした後、コントロ
ールバス303を通じてバス制御信号作成回路402に
データの転送を要求する。データ転送要求を受けたバス
制御信号作成回路402は信号AIによりアドレス作成
回路403に対してメモリ401からデータ転送を行う
ためのアドレスの発生を要求し、アドレス作成回路40
3は内部アドレス・バッファ404にアドレスをセット
する。バス制御信号作成回路402は、またコントロー
ルバス303を通じてマイクロプロセッサ301にバス
マスタ権獲得の制御信号を出力し、データバス302.
コントロールバス303.アドレスバス405のバス権
を獲得した後、コントロールバス303にメモリへの出
力の制御信号を出力するとともに、信号A3によってア
ドレスバス4’05に転送データのアドレスを出力して
、メモリ401よりデータをコントロールバス303に
出力させる。バス制御信号作成回路402は、データ転
送回路406も同時に制御し、データバス302に出力
されたデータをデータ転送回路406に入力させる。デ
ータ転送回路406は出力するデータがあることを汎用
制御信号RQOによりバス制御信号作成回路402に知
らせ、RQOを受は取ったバス制御信号作成回路402
は、DMA転送の場合コントロールバス203に汎用マ
イクロプロセッサに応じたバスマスタ権獲得の制御信号
をあげ、コントロールバス203.データバス206.
アドレスバス207のバス権を汎用マイクロプロセッサ
204から獲得する。バス制御信号作成回路402はま
たアドレス作成回路403に機能ブロック外部への出刃
先アドレスの発生を汎用制御信号OAを用いて要求し、
アドレス作成回路403は外部アドレスバッファ209
にアドレスをセットする。バス制御信号作成回路402
は、バス権を獲得した後。
(2) In the case of DMA transfer When the functional block acts as a bus master and performs DMA transfer to the outside of the functional block, the operation is explained as follows: The microprocessor 301 sets data to be output to the outside of the functional block in the memory 401. After that, a request is made to the bus control signal generation circuit 402 via the control bus 303 to transfer data. Upon receiving the data transfer request, the bus control signal generation circuit 402 uses the signal AI to request the address generation circuit 403 to generate an address for data transfer from the memory 401.
3 sets an address in internal address buffer 404. The bus control signal generation circuit 402 also outputs a control signal for acquiring bus mastership to the microprocessor 301 via the control bus 303, and the data bus 302.
Control bus 303. After acquiring the bus right of the address bus 405, a control signal for outputting to the memory is output to the control bus 303, and the address of the transfer data is output to the address bus 4'05 by the signal A3, so that the data is transferred from the memory 401. It is output to the control bus 303. The bus control signal generation circuit 402 also controls the data transfer circuit 406 at the same time, and inputs the data output to the data bus 302 to the data transfer circuit 406. The data transfer circuit 406 notifies the bus control signal generation circuit 402 that there is data to be output using the general-purpose control signal RQO, and the bus control signal generation circuit 402 receives the RQO.
In the case of DMA transfer, the control bus 203 sends a control signal for acquiring bus mastership according to the general-purpose microprocessor to the control bus 203. Data bus 206.
Bus ownership of address bus 207 is acquired from general-purpose microprocessor 204. The bus control signal generation circuit 402 also requests the address generation circuit 403 to generate a cutting edge address outside the functional block using the general-purpose control signal OA,
Address creation circuit 403 is external address buffer 209
Set the address to . Bus control signal generation circuit 402
After acquiring bus rights.

メモリ210ヘデータをDMA転送方式で出力するため
コントロールバス203に汎用マイクロプロセッサの種
別に対応したメモリ書込みの制御信号を出力するととも
に、データ転送回路406と外部アドレスバッファ20
9とに汎用マイクロ10セツサの種別に対応したタイミ
ングで汎用制御信号DO及びAOを出力して、データバ
ス206とアドレスバス207とにデータ及びアドレス
を出力する。メモリ210からDMA転送方式で入力す
る場合は、データ転送回路406の入カバソファが空き
であることをRQIにより知ったバス制御信号作成回路
402は、DMA転送の場合コントロールバス203に
汎用マイクロプロセッサに応じたバスマスタ権獲得の制
御信号をあげ、コントロールバス203.データバス2
06.アドレスバス207のバス権を汎用マイクロプロ
セッサ204から獲得する。バス制御信号作成回路40
2はまたアドレス作成回路403に機能ブロック外部へ
の入力アドレスの発生を汎用制御信号■Aを用いて要求
し、アドレス作成回路403は外部アドレスバッファ2
09にアドレスをセントする。バス制御信号作成回路4
02は、バス権を獲得した後、メモリ210からデータ
をDMA転送方式で入力するためコントロールバス20
3に汎用マイクロプロセッサの種別に対応したメモリ読
み込みの制御信号を出力するとともに、データ転送回路
406と外部アドレスバッファ209とに汎用マイクロ
プロセッサの種別に対応したタイミングで汎用制御信号
AO,DIを出力してアドレスバス207にアドレスを
出力し、データバス206からデータ転送回路406に
データを入力させる。
In order to output data to the memory 210 using the DMA transfer method, a memory write control signal corresponding to the type of general-purpose microprocessor is output to the control bus 203, and the data transfer circuit 406 and external address buffer 20
General-purpose control signals DO and AO are output to the general-purpose micro 10 setter 9 and 9 at timings corresponding to the type of the general-purpose micro 10 setter, and data and addresses are output to the data bus 206 and the address bus 207. When inputting from the memory 210 using the DMA transfer method, the bus control signal generation circuit 402, which learns from RQI that the input bus of the data transfer circuit 406 is empty, sends an input signal to the control bus 203 according to the general-purpose microprocessor in the case of DMA transfer. The control signal for acquiring bus mastership is raised, and the control bus 203. data bus 2
06. Bus ownership of address bus 207 is acquired from general-purpose microprocessor 204. Bus control signal generation circuit 40
2 also requests the address generation circuit 403 to generate an input address to the outside of the functional block using the general-purpose control signal ■A, and the address generation circuit 403 uses the external address buffer 2
Add the address to 09. Bus control signal generation circuit 4
02 uses the control bus 20 to input data from the memory 210 using the DMA transfer method after acquiring the bus right.
3 outputs a memory read control signal corresponding to the type of general-purpose microprocessor, and outputs general-purpose control signals AO and DI to the data transfer circuit 406 and external address buffer 209 at a timing corresponding to the type of general-purpose microprocessor. The address is output to the address bus 207, and data is input from the data bus 206 to the data transfer circuit 406.

また機能ブロックを宅内機器が制御するため制御レジス
タ211にコントロール情報を書き込む場合は、汎用マ
イクロプロセッサ204がコントロール情報をデータバ
ス206に出力すると、バス制御信号変換回路205が
コント11−ルバス203から入力した汎用マイクロプ
ロセッサ204の出力制御信号を汎用マイクロプロセ・
ノサの種別に対応して汎用制御信号DIに変換した後制
御レジスタ211に出力し、制御レジスタ211はデー
タバス206からコントロール情報を引き取る。
In addition, when writing control information to the control register 211 so that the functional block is controlled by in-house equipment, when the general-purpose microprocessor 204 outputs the control information to the data bus 206, the bus control signal conversion circuit 205 inputs the control information from the control bus 203. The output control signal of the general-purpose microprocessor 204
The signal is converted into a general-purpose control signal DI in accordance with the type of signal and output to the control register 211, and the control register 211 receives the control information from the data bus 206.

この様な構成になっているから同一のデータ転送機能部
を複数の汎用マイクロプロセッサ種別及びデータ転送方
式に対して共用でき、新たな種別の汎用マイクロプロセ
ッサに対してもバス・インタフェース回路の内、バス制
御信号変換回路及びバス制御信号作成回路を追加・変更
するだけで対処できる。
With this configuration, the same data transfer function unit can be shared by multiple general-purpose microprocessor types and data transfer methods, and even for new types of general-purpose microprocessors, the bus interface circuit This problem can be solved by simply adding or changing the bus control signal conversion circuit and bus control signal generation circuit.

また汎用マイクロプロセッサからデータの転送以外に制
御情報等を設定する場合においても、バス制御信号変換
回路をデータ転送機能部と制御レジスタとで共用できる
ため、ハード規模の増加を抑えることが可能である。
Furthermore, even when setting control information in addition to data transfer from a general-purpose microprocessor, the bus control signal conversion circuit can be shared between the data transfer function section and the control register, making it possible to suppress an increase in hardware size. .

さらにDMA転送を行うために必要となるアドレス発生
部を機能ブロック内部のDMA転送と機能ブロック外部
へのDMA転送との間で共用できるため、DMA転送に
関わるハードウェア規模の増加を抑えることが可能であ
る。
Furthermore, since the address generator required for DMA transfer can be shared between DMA transfer inside the functional block and DMA transfer outside the functional block, it is possible to suppress the increase in hardware scale related to DMA transfer. It is.

これらの説明から明らかなように、従来の技術に比べて
9本発明においては複数の種別の汎用マイクロプロセッ
サ及び複数のデータ転送方式に対応する場合3機能ブロ
ック内のひとつのデータ転送機能部に対してマイクロプ
ロセッサ対応部を選択・tFII御して用いるので1機
能ブロックの重複がなくなり、ハードウェア規模を縮小
でき、また新たな汎用マイクロプロセッサ種別に対応す
る場合もデータ転送機能部はそのままでマイクロプロセ
ッサ対応部のみの変更で対処でき、追加・変更が容易で
ある等の改善効果がある。データ転送機能部以外でもこ
の構成に準することで、バス・インタフェース回路内の
マイクロプロセッサ対応部やアドレス発生部を共用でき
9機能ブロックのハードウェア規模を縮小でき、さらに
データ転送機能部自体の機能追加や変更を行う場合はマ
イクロプロセッサ対応部と独立に行えるので追加変更が
容易である。
As is clear from these descriptions, compared to the conventional technology, in the present invention, when supporting multiple types of general-purpose microprocessors and multiple data transfer methods, it is possible to Since the microprocessor compatible part is selected and used under tFII control, there is no duplication of one functional block and the hardware scale can be reduced.Also, when supporting a new general-purpose microprocessor type, the data transfer function part remains the same and the microprocessor is used. This problem can be solved by changing only the corresponding part, and there are improvements such as easy additions and changes. By following this configuration in areas other than the data transfer function section, the microprocessor support section and address generation section in the bus interface circuit can be shared, reducing the hardware scale of the nine function blocks, and furthermore, the function of the data transfer function section itself can be reduced. Additions and changes can be made independently of the microprocessor compatible section, making additions and changes easy.

(5)発明の詳細 な説明したように2本発明によれば、マイクロプロセッ
サ・インタフェース回路の構成を対応する汎用マイクロ
プロセッサの種別やデータの転送方式に依存して選択・
制御されるマイクロプロセッサ対応部と、入出力したデ
ータの回路内の転送や出力アドレスの生成等、対応する
汎用マイク0プロセツサの種別やデータの転送方式に独
立なデータ転送機能部とに分離・独立した構成としたた
め、複数の汎用マイクロプロセッサに対応する場合にマ
イクロプロセッサ・バス・インタフェース回路のハード
ウェア規模を縮小でき、また各々の機能を変更・追加す
る場合においても、容易に実現できるとともにハードウ
ェアを共用できハードウェア規模の増加を抑えることが
できる等の利点がある。
(5) As described in detail, according to the present invention, the configuration of the microprocessor interface circuit can be selected depending on the type of general-purpose microprocessor and the data transfer method.
It is separated and independent into a controlled microprocessor compatible part and a data transfer function part that is independent of the type of general-purpose microphone processor and data transfer method, such as transfer of input/output data within the circuit and generation of output addresses. Because of this configuration, it is possible to reduce the hardware scale of the microprocessor bus interface circuit when supporting multiple general-purpose microprocessors, and when changing or adding functions, it is easy to implement and the hardware There are advantages such as being able to share information and suppressing the increase in hardware scale.

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

第1図は本発明の第一の実施例を説明する図。 第2図は本発明の第二の実施例を説明する図、第3図は
本発明の第三の実施例を説明する図、第4図は従来の技
術によるI10転送の例を説明する図を示す。 図中の符号200は本実施例によるマイクロプロセッサ
・インタフェース回路、2o1はデータ転送回路、20
2はバス制御信号作成回路、203は機能ブロックが接
続された汎用マイクロプロセッサのコントロールバス、
204は汎用マイクロプロセッサ、205はバス制御信
号変換回路。 206はデータバス、207はアドレスバス、208は
アドレス作成回路、209は外部アドレスバッファ、2
10はメモリ、211は制御レジスタ、300は本実施
例によるマイクロプロセッサ・インタフェース回路、3
01は機能ブロック内部のマイクロプロセッサ、302
はデータバス。 303はコントロールバス、304はデータ転送回路、
400は本実施例によるマイクロプロセッサ・インタフ
ェース回路、401は機能ブロック内のメモリ、402
はバス制御信号作成回路、403はアドレス作成回路、
404は内部アドレス・バッファ、405は機能ブロッ
ク内部のアドレスバス、406はデータ転送回路である
FIG. 1 is a diagram explaining a first embodiment of the present invention. FIG. 2 is a diagram for explaining a second embodiment of the present invention, FIG. 3 is a diagram for explaining a third embodiment of the present invention, and FIG. 4 is a diagram for explaining an example of I10 transfer according to the conventional technology. shows. In the figure, reference numeral 200 is a microprocessor interface circuit according to this embodiment, 2o1 is a data transfer circuit, and 20
2 is a bus control signal generation circuit; 203 is a control bus of a general-purpose microprocessor to which functional blocks are connected;
204 is a general-purpose microprocessor, and 205 is a bus control signal conversion circuit. 206 is a data bus, 207 is an address bus, 208 is an address generation circuit, 209 is an external address buffer, 2
10 is a memory, 211 is a control register, 300 is a microprocessor interface circuit according to this embodiment, 3
01 is a microprocessor inside the functional block, 302
is a data bus. 303 is a control bus, 304 is a data transfer circuit,
400 is a microprocessor interface circuit according to this embodiment, 401 is a memory in a functional block, 402
403 is a bus control signal generation circuit; 403 is an address generation circuit;
404 is an internal address buffer, 405 is an address bus inside the functional block, and 406 is a data transfer circuit.

Claims (1)

【特許請求の範囲】 汎用マイクロプロセッサを応用した宅内機器に組み込ん
で機能を提供する機能ブロックと該宅内機器の汎用マイ
クロプロセッサ・バスとを接続し、該機能ブロックと該
汎用マイクロプロセッサ・バスとの間でデータの転送を
行う、該機能ブロック内のマイクロプロセッサ・バス・
インタフェース回路において、 機能ブロックが組み込まれた宅内機器内の汎用マイクロ
プロセッサの種別に依存するバス・タイミングを含むタ
イミングを整合し、該機能ブロックを該宅内機器の汎用
マイクロプロセッサ・バスに直接接続すべく、 制御信号の変換・作成を行う汎用マイクロプロセッサ対
応部と、 該機能ブロック内におけるデータの保持・転送、DMA
転送のためのアドレス計算、該汎用マイクロプロセッサ
対応部が出力した制御信号による該宅内機器の汎用マイ
クロプロセッサ・バスへのデータの入出力、及び該汎用
マイクロプロセッサ対応部がDMA転送のために出力し
た制御信号による該宅内機器の汎用マイクロプロセッサ
・バスへのアドレスの出力を含む処理の全てまたはこれ
らの一部を行うデータ転送機能部とをそなえ、機能ブロ
ックが組み込まれる宅内機器の汎用マイクロプロセッサ
の種別またはデータの転送方式に従って汎用マイクロプ
ロセッサ対応部を選択・制御して、同一のデータ転送機
能部を複数種類の汎用マイクロプロセッサや複数のデー
タ転送方式に対して適用するようにした ことを特徴とするマイクロプロセッサ・バス・インタフ
ェース回路。
[Scope of Claims] A functional block that is built into a household device to which a general-purpose microprocessor is applied to provide a function is connected to a general-purpose microprocessor bus of the household device; The microprocessor bus within the functional block that transfers data between
In the interface circuit, the timing including the bus timing that depends on the type of general-purpose microprocessor in the home equipment in which the functional block is installed is aligned, and the functional block is directly connected to the general-purpose microprocessor bus of the home equipment. , a general-purpose microprocessor compatible part that converts and creates control signals, and data retention and transfer within the functional block, DMA
Address calculation for transfer, input/output of data to the general-purpose microprocessor bus of the home equipment based on control signals output by the general-purpose microprocessor compatible unit, and data output by the general-purpose microprocessor compatible unit for DMA transfer. A type of general-purpose microprocessor for home equipment in which a functional block is incorporated, which is equipped with a data transfer function unit that performs all or part of the processing including outputting an address to the general-purpose microprocessor bus of the home equipment using control signals. Alternatively, the general-purpose microprocessor compatible section is selected and controlled according to the data transfer method, so that the same data transfer function section can be applied to multiple types of general-purpose microprocessors and multiple data transfer methods. Microprocessor bus interface circuit.
JP61027245A 1986-02-10 1986-02-10 Microprocessor bus interface circuit Expired - Fee Related JPH0754503B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61027245A JPH0754503B2 (en) 1986-02-10 1986-02-10 Microprocessor bus interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61027245A JPH0754503B2 (en) 1986-02-10 1986-02-10 Microprocessor bus interface circuit

Publications (2)

Publication Number Publication Date
JPS62184557A true JPS62184557A (en) 1987-08-12
JPH0754503B2 JPH0754503B2 (en) 1995-06-07

Family

ID=12215692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61027245A Expired - Fee Related JPH0754503B2 (en) 1986-02-10 1986-02-10 Microprocessor bus interface circuit

Country Status (1)

Country Link
JP (1) JPH0754503B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05127692A (en) * 1991-10-01 1993-05-25 Internatl Business Mach Corp <Ibm> Speech recognizing apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59147236U (en) * 1984-02-16 1984-10-02 富士電機株式会社 Interface control device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59147236U (en) * 1984-02-16 1984-10-02 富士電機株式会社 Interface control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05127692A (en) * 1991-10-01 1993-05-25 Internatl Business Mach Corp <Ibm> Speech recognizing apparatus

Also Published As

Publication number Publication date
JPH0754503B2 (en) 1995-06-07

Similar Documents

Publication Publication Date Title
EP0559408B1 (en) A method and apparatus for performing bus arbitration using an arbiter in a data processing system
JP3189139B2 (en) Information transfer system and method
US6078742A (en) Hardware emulation
JPS62184557A (en) Microprocessor bus interface circuit
US20020174282A1 (en) Multiprocessor system
JPS599767A (en) Multiprocessor
JPH0358163A (en) Loosely coupled multiprocessor system
JP3211264B2 (en) External bus control method
JPH02101560A (en) Bus interface device
EP0439594B1 (en) Device for interfacing a main processor bus connected to a main processor to a peripheral bus having a number of peripheral devices connected thereto
JP3098550B2 (en) Bus control method
JP2002175262A (en) Hierarchical bus system
JPH0348305A (en) Robot control device
JPS6362068A (en) Inter-processor interface circuit
JPH06131258A (en) Extension storage device of multiple information processing system
JP3878097B2 (en) Bus control system and computer system
JP2822414B2 (en) Dual port memory
JPH06161947A (en) Computer system
JPH07120329B2 (en) Bus controller
JPH07334453A (en) Memory access system
JP2001022710A (en) System with plural bus controllers
JPS5999522A (en) Input and output control system
JPH02211571A (en) Information processor
JPH03282954A (en) Device for transferring direct memory access data
JPH01243146A (en) System for accessing shared memory

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees