JPS62186345A - Microprocessor i/o address circuit - Google Patents

Microprocessor i/o address circuit

Info

Publication number
JPS62186345A
JPS62186345A JP2849486A JP2849486A JPS62186345A JP S62186345 A JPS62186345 A JP S62186345A JP 2849486 A JP2849486 A JP 2849486A JP 2849486 A JP2849486 A JP 2849486A JP S62186345 A JPS62186345 A JP S62186345A
Authority
JP
Japan
Prior art keywords
processor
microcomputer
circuit
address
signal line
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
JP2849486A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Horikoshi
堀越 快之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2849486A priority Critical patent/JPS62186345A/en
Publication of JPS62186345A publication Critical patent/JPS62186345A/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

Landscapes

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

Abstract

PURPOSE:To easily increase number of I/O addresses without expanding the circuit scale remarkably by providing a decoder decoding an address signal of a microcomputer and a strap circuit leading its output to an I/O processor into an I/O device. CONSTITUTION:A bus signal line 1 is connected to the microcomputer. An address signal on an address signal line 2 branched from the bus signal line 1 is decoded by a decoder 5, a required component is selected by the strap circuit 9 and sent to an I/O processor 6. Since a specific decoding output is inputted to an input circuit of a specific I/O processor by the operation of the strap 9, the function of the I/O processor 6 is selected by an address signal from the microcomputer. The I/O processor 6 selects an external input data signal line 10 to reset a flip-flop 8 after the line 10 is finished being set to the data bus signal line 3 thereby having only to restart the operation of the microcomputer.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、マイクロコンピュータのI/O装置のI/O
アドレス検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention is directed to the I/O
This invention relates to an address detection circuit.

(従来の技術) 従来、マイクロコンピュータの工/Oアドレスの識別は
、I/O装置内にI/O番号を設定するための複数のア
ドレススイッチ、マイクロコンピュータ本体から出力さ
れるアドレス信号を入力するためのI/Oグロセサのよ
うな入力回路、およびその両者の比較を行うための複数
の比較器を備え、上記アドレス情報がスイッチ設定値と
一致するか否かを判定して行っていた。また、斯かる動
作をする回路は、一つのI/O装置内で必要に応じた数
だけ並列的に置かれているのが現状である。
(Prior Art) Conventionally, the identification of the F/O address of a microcomputer involves inputting a plurality of address switches for setting an I/O number in an I/O device and an address signal output from the microcomputer main body. The device is equipped with an input circuit such as an I/O grosser for the input circuit, and a plurality of comparators for comparing the two, and determines whether or not the address information matches the switch setting value. Furthermore, the current situation is that circuits that perform such operations are placed in parallel as many times as necessary within one I/O device.

第2図は、斯かる従来技術によるI/Oアドレス回路の
一例を示すブロック図である。第2図において、121
〜123はそれぞれ比較器、41’3’1〜133はそ
れぞれアドレススイッチ、15はI/Oプロセサである
FIG. 2 is a block diagram showing an example of such a conventional I/O address circuit. In Figure 2, 121
123 are comparators, 41'3'1 to 133 are address switches, and 15 is an I/O processor.

第2図において、マイクロコンピュータ(図示してない
)のパス信号線11のうちのアドレスバス信号が比較器
121〜123に取込まれ、アドレススイッチ131−
133によって設定された値と比較される。上記両者が
一致したとき、一致信号として信号線14を介してI/
OプロセサIs(特定の論理回路でもよい)に取込まれ
る。
In FIG. 2, address bus signals of path signal lines 11 of a microcomputer (not shown) are taken in by comparators 121 to 123, and address switches 131 to
133. When the above two match, the I/O signal is sent via the signal line 14 as a match signal.
It is taken into the O processor Is (which may be a specific logic circuit).

I/Oプロセサ15では必要な外部データ信号線、・1
6を選択してデータバス信号線17上に出力する。第2
図に示す方式では、必要なI/O番号の数に応じて複数
個のアドレススイッチと比較器とが必要でおる。
In the I/O processor 15, necessary external data signal lines, 1
6 is selected and output onto the data bus signal line 17. Second
The system shown in the figure requires a plurality of address switches and comparators depending on the number of required I/O numbers.

(発明が解決しようとする問題点) 上述した従来のマイクロコンピュータのI/Oアドレス
を識別する方式では、一つのI/Oアドレスの識別に対
してそれぞれ一組のアドレススイッチと比較器とが必要
であった。
(Problems to be Solved by the Invention) The conventional method for identifying I/O addresses of microcomputers described above requires a set of address switches and a comparator for each I/O address identification. Met.

したがって、従来の方式では複数個のI/Oアドレスを
識別するには、単純に見積っても複数組のアドレススイ
ッチと比較器とが必要であるため、特に識別の対象とな
るアドレス数が非常に多いシステムでは使用部品数も多
くなって不経済であるという欠点があった。
Therefore, in the conventional method, in order to identify multiple I/O addresses, multiple sets of address switches and comparators are required, even if it is simply estimated, so the number of addresses to be identified is extremely large. A system with a large number of parts has the disadvantage of being uneconomical due to the large number of parts used.

本発明の目的は、I/O装置内にマイクロコンピュータ
のアドレスをデコードするためのデコーダと、その出力
をI/Oプロセサに導くためのストラップ回路とを設け
ることによって上記欠点を除去し、経済的に構成したマ
イクロプロセサエ/Oアドレス回路を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above disadvantages by providing a decoder for decoding the address of a microcomputer in an I/O device and a strap circuit for guiding its output to an I/O processor. An object of the present invention is to provide a microprocessor/O address circuit configured as follows.

(問題点を解決する念めの手段) 本発明によるマイクロプロセサI/Oアドレス回路は、
デコーダと、ストラップ回路と、待ち要求手段と、I/
Oプロセサとを具備して構成したものである。
(Preliminary means to solve the problem) The microprocessor I/O address circuit according to the present invention has the following features:
a decoder, a strap circuit, a wait request means, an I/
It is configured to include an O processor.

デコーダは、マイクロコンピュータからのI/    
’0アドレス情報を必要な数だけ解読することが可能な
ものである。
The decoder receives I/O from the microcomputer.
It is possible to decode as many pieces of '0 address information as necessary.

ストラップ回路は、デコーダの出力を選択してI/Oプ
ロセサの入力回路に導くためのものである。
The strap circuit is for selecting the output of the decoder and directing it to the input circuit of the I/O processor.

待ち要求手段は、ストラップ回路により選択されたデコ
ード信号によりマイクロコンピュータの処理の一時停止
を要求するためのものである。
The wait request means is for requesting a temporary stop of the processing of the microcomputer using the decoded signal selected by the strap circuit.

I/Oプロセサは、I/O装置内で処理を行うためのも
のである。
An I/O processor is used to perform processing within an I/O device.

上記構成においてマイクロコンピュータの入出力動作に
伴って出力されるアドレス情報は、工/O装置の内部で
デコーダによりN個の出力に分解される。このとき、デ
コーダの出力数Nはシステムに必要なI/O数を示すも
ので、このようなデコーダは集積回路により容易に構成
できるものである。トラップ回路によJ)I/Oプロセ
サの機能別に分けられた入力回路に接続されているので
、I/O装置に必要なI/O番号に相当するデコーダ出
力信号は、I/Oプロセサへの入出力機能指定信号とな
る。また、待ち要求手段はI/Oプロセサの処理速度の
遅さを克服するためのものであって、ストラップ回路に
よって選択されたデコーダ出力信号によりマイクロコン
ピュータ本体に対して待ち要求を送出し、I/Oプロセ
サが対応する入出力データの準備ができた時点で要求を
解除させるものである。
In the above configuration, the address information outputted along with the input/output operation of the microcomputer is decomposed into N outputs by a decoder inside the E/O device. At this time, the number of outputs N of the decoder indicates the number of I/Os required for the system, and such a decoder can be easily constructed using an integrated circuit. Since the trap circuit is connected to the input circuits divided by function of the I/O processor, the decoder output signal corresponding to the I/O number required for the I/O device is sent to the I/O processor. Serves as input/output function designation signal. The wait request means is intended to overcome the slow processing speed of the I/O processor, and sends a wait request to the microcomputer body using the decoder output signal selected by the strap circuit. The request is released when the O processor is ready for the corresponding input/output data.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明によるマイクロプロセサエ/Oアドレ
ス回路の一実施例を示すブロック図である。第1図にお
いて、Sはデコーダ、6はI/Oプロセサ、フはORゲ
ート、8はツリツブフロップ、9はストラップ回路であ
る。
FIG. 1 is a block diagram showing one embodiment of a microprocessor/O address circuit according to the present invention. In FIG. 1, S is a decoder, 6 is an I/O processor, F is an OR gate, 8 is a tree flop, and 9 is a strap circuit.

第1図において、マイクロコンピュータ(図示してない
)にはパス信号線lが接続されている。
In FIG. 1, a path signal line l is connected to a microcomputer (not shown).

バス信号線lから分岐し九アドレス信号線2上でアドレ
ス信号はデコーダ5によって解読され、必要な成分がス
トラップ回路9によって選択され、I/Oプロセサ6に
伝えられている。
An address signal on a nine address signal line 2 branched from a bus signal line 1 is decoded by a decoder 5, and necessary components are selected by a strap circuit 9 and transmitted to an I/O processor 6.

I/Oプロセサ6はM個(M:正の整数)の入力回路を
もつが、それぞれの入力回路には異なった機能が付与さ
れている。したがって、ストラ′ツブ9の作用により、
特定の解読出力が特定の工/Oプロセサの入力回路に入
力されるので、マイクロコンピュータからのアドレス信
号でI/Oプロセサ60機能が選択されることになる。
The I/O processor 6 has M input circuits (M: positive integer), and each input circuit is assigned a different function. Therefore, due to the action of strut 9,
Since a particular decoding output is input to a particular I/O processor input circuit, an address signal from the microcomputer will select an I/O processor 60 function.

本実施例ではM個の入力を選択してデータバス信号線3
に出力するが、一般にプロセサの動作は純ハードウェア
論理回路の動作速度よシも遅いので、正しいデータをデ
ータバス信号線3上に出力fるtで、マイクロコンピュ
ータの入力動作の一時停止をツリツブフロップ8によっ
て要求する必要がある。
In this embodiment, M inputs are selected and the data bus signal line 3 is
However, in general, the operation speed of a processor is slower than that of a pure hardware logic circuit, so by outputting correct data onto the data bus signal line 3, the input operation of the microcomputer can be temporarily stopped using the flop flop. Must be requested by 8.

クリップフロップ8は、工/Oプロセサ6の入力信号で
セットされる。I/Oプロセサ6では外部入力データ信
号線/Oを選択してデータバス信号線3にセットし終え
てからフリップフロップ8をリセットし、マイクロコン
ピュータの動作を再開させればよい。このようにしてマ
イクロコンピュータから発せられたI/O命令によるア
ドレス信号を、デコーダ5とストラップ回路9とにより
取出すことによって複数個のアドレス選択機能をもつマ
イクロコンピュータのI/Oアドレス回路が容易に構成
できる。
The clip-flop 8 is set by the input signal of the I/O processor 6. After the I/O processor 6 selects the external input data signal line /O and sets it to the data bus signal line 3, the flip-flop 8 is reset to restart the operation of the microcomputer. In this way, by extracting address signals based on I/O commands issued from the microcomputer using the decoder 5 and the strap circuit 9, an I/O address circuit of a microcomputer having multiple address selection functions can be easily configured. can.

(発明の効果) 以上説明したように本発明は、工/O装置内にマイクロ
コンピュータのアドレス信号を解読するためのデコーダ
と、その出力をI/Oプロセサに導くためのストラップ
回路とを設けることによって回路規模を大幅に拡大する
ことなく、容易にI/Oアドレス数を増加させることが
できるという効果がある。
(Effects of the Invention) As explained above, the present invention provides a decoder for decoding the address signal of the microcomputer and a strap circuit for guiding the output to the I/O processor in the engineering/O device. This has the effect that the number of I/O addresses can be easily increased without significantly increasing the circuit scale.

また、I/O装置を一枚の標準的な寸法のプリント回路
基板上に構成すれば、本発明により16組のI/Oアド
レスを解読するのに一個のICと16組のストラップ端
子とで済むという効果がある。
Additionally, if the I/O device is constructed on a single standard size printed circuit board, the present invention requires only one IC and 16 pairs of strap terminals to decode 16 pairs of I/O addresses. It has the effect of finishing.

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

第1図は、本発明によるマイクロプロセサエ/Oアドレ
ス回路の一実施例を示すブロック図である。 第2図は、従来技術によるI/Oアドレス回路の一例を
示すブロック図である。 5・虐・デコーダ 6.15−・・I/Oグロセサ 7・拳・ORゲート 8自・・クリップフロップ 9+1−・ストラップ回路 121−123−−・比較器
FIG. 1 is a block diagram showing one embodiment of a microprocessor/O address circuit according to the present invention. FIG. 2 is a block diagram showing an example of an I/O address circuit according to the prior art. 5. Decoder 6.15--I/O grosser 7-Fist-OR gate 8--Clip flop 9+1--Strap circuit 121-123--Comparator

Claims (1)

【特許請求の範囲】[Claims] マイクロコンピュータからのI/Oアドレス情報を必要
な数だけ解読するためのデコーダと、前記デコーダの出
力を選択してI/Oプロセサの入力回路に導くためのス
トラップ回路と、前記ストラップ回路により選択された
デコード信号により前記マイクロコンピュータの処理の
一時停止を要求するための待ち要求手段と、内部処理を
行うためのI/Oプロセサとを具備して構成したことを
特徴とするマイクロプロセサI/Oアドレス回路。
a decoder for decoding a required number of I/O address information from the microcomputer; a strap circuit for selecting the output of the decoder and guiding it to the input circuit of the I/O processor; A microprocessor I/O address comprising a wait request means for requesting a temporary stop of processing of the microcomputer by a decoded signal, and an I/O processor for performing internal processing. circuit.
JP2849486A 1986-02-12 1986-02-12 Microprocessor i/o address circuit Pending JPS62186345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2849486A JPS62186345A (en) 1986-02-12 1986-02-12 Microprocessor i/o address circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2849486A JPS62186345A (en) 1986-02-12 1986-02-12 Microprocessor i/o address circuit

Publications (1)

Publication Number Publication Date
JPS62186345A true JPS62186345A (en) 1987-08-14

Family

ID=12250223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2849486A Pending JPS62186345A (en) 1986-02-12 1986-02-12 Microprocessor i/o address circuit

Country Status (1)

Country Link
JP (1) JPS62186345A (en)

Similar Documents

Publication Publication Date Title
JPS62186345A (en) Microprocessor i/o address circuit
KR890004237A (en) Bus error handling system
JPH0319974B2 (en)
JP2797760B2 (en) Parallel processing computer system
JPH02287857A (en) Method for processing instruction sequence for computer apparatus
JPH0675819A (en) Microprocessor
JPS59123933A (en) Address comparison system
JPS58101360A (en) Data processor
JPS63174133A (en) Interruption controller
JP2503210B2 (en) Micro program controller
JPS6436352A (en) Memory error processing system
US20040143692A1 (en) Method for controlling interrupts and auxiliary control circuit
KR890001798B1 (en) Data signal processing apparatus
JPS5696353A (en) Multiprocessor control device
JPH01189749A (en) Interruption control method
JPH01191916A (en) System resetting control circuit
JPH05143366A (en) Interruption control circuit
JPS63197260A (en) Memory device control system
JPS615330A (en) Information processor
JPH052494A (en) Interruption control system
JPH10143364A (en) Processing unit
JPH07129435A (en) Processor with runaway monitoring function
JPS63174132A (en) Interruption controller
JPS60128535A (en) Interruption processing unit
JPS61161552A (en) Microprocessor analyzer