JPH0364894B2 - - Google Patents

Info

Publication number
JPH0364894B2
JPH0364894B2 JP59181155A JP18115584A JPH0364894B2 JP H0364894 B2 JPH0364894 B2 JP H0364894B2 JP 59181155 A JP59181155 A JP 59181155A JP 18115584 A JP18115584 A JP 18115584A JP H0364894 B2 JPH0364894 B2 JP H0364894B2
Authority
JP
Japan
Prior art keywords
bus
activation
gate
microprogram
signal
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.)
Expired - Lifetime
Application number
JP59181155A
Other languages
Japanese (ja)
Other versions
JPS6159562A (en
Inventor
Haruhiko Tsunoda
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59181155A priority Critical patent/JPS6159562A/en
Publication of JPS6159562A publication Critical patent/JPS6159562A/en
Publication of JPH0364894B2 publication Critical patent/JPH0364894B2/ja
Granted 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/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプログラムで制御される情
報処理装置において、論理装置と転送装置の起動
−応答が1:nのバス結合で動作する場合のイン
タフエース制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device controlled by a microprogram, in which a logic device and a transfer device operate with a 1:n bus connection between activation and response. Related to interface control method.

〔従来の技術〕[Conventional technology]

1台の論理装置と複数台の転送装置との間の起
動−応答が1:iのバス結合で動作する情報処理
装置は、概略第2図のようなシステム配置をと
る。図中、1は論理装置(CPU)、2は起動要求
バス、30〜3iはi台のデータ転送装置
(DCHまたはCHC)である。第3図は1台のデ
ータ転送装置3のインタフエース部の構成図で、
4は自己のCHC機番(DCH機番)0′〜j′と機番バ
ス5を通して受信したCPU1からのDCH機番0
〜jの一致検出をする排他的論理和(EOR)ゲ
ート、6はCPU1からの起動信号0〜kをまと
めるオアゲート、7はEORゲート4の一致出力
でオアゲート6の出力を通過させるアンドゲー
ト、RVはDCH機番および起動信号のレシーバ、
DVは応答信号0〜iをバス8へ送出するドライ
バである。なお第1図では起動要求バス2として
1本の線で示した論理装置と複数個の転送装置と
の間のバスは実際には各々複数本のデータバス
8、機番バス5、及び起動要求バスからなり、時
分割で使用される。0〜i、0〜j、0〜kはデ
ータ、機番、起動信号の各ビツトを示す。起動信
号には転送要求、IPL、割込み刈り取りなど複数
種あるので起動要求バスは複数本とする。起動要
求が上つておればいずれかの線がH(ハイ)レベ
ルなので、ゲート6で起動要求バスの各線の信号
のオアをとることにより起動要求の有無を知るこ
とができる。
An information processing device that operates with a 1:i bus connection between one logical device and a plurality of transfer devices with an activation-response ratio generally has a system arrangement as shown in FIG. In the figure, 1 is a logical device (CPU), 2 is a startup request bus, and 30 to 3i are i data transfer devices (DCH or CHC). FIG. 3 is a configuration diagram of the interface section of one data transfer device 3.
4 is its own CHC machine number (DCH machine number) 0'~j' and DCH machine number 0 from CPU1 received through machine number bus 5.
-j is an exclusive OR (EOR) gate that detects a match, 6 is an OR gate that collects activation signals 0 to k from CPU 1, 7 is an AND gate that passes the output of OR gate 6 with the match output of EOR gate 4, and RV. is the DCH machine number and activation signal receiver,
DV is a driver that sends response signals 0 to i to the bus 8. In FIG. 1, the buses between the logical device and the plurality of transfer devices, which are indicated by one line as the activation request bus 2, are actually multiple data buses 8, machine number buses 5, and activation request buses, respectively. It consists of buses and is used on a time-sharing basis. 0 to i, 0 to j, and 0 to k represent each bit of data, machine number, and start signal. Since there are multiple types of activation signals, such as transfer requests, IPL, and interrupt reaping, there are multiple activation request buses. If the activation request is rising, one of the lines is at H (high) level, so by ORing the signals on each line of the activation request bus at the gate 6, it is possible to know whether there is an activation request.

上記のシステム構成において、従来は論理装置
1より送出されるDCH機番と起動要求信号を受
けて転送装置3が自DCH機番に対応する起動要
求であると判定した場合、該起動要求信号又は
DCH機番が有効である間をバス専用時間とし、
その間に発生する転送装置3側の応答信号をバス
8に送出している。即ち機番バス5上の機番と自
CHC機番が一致すればEORゲート4の出力はL
(ロー)レベル、それがH(ハイ)レベルに反転さ
れてアンドゲート7に入り、一方、起動信号があ
ればオアゲート6の出力はHとなり、従つてアン
ドゲート7はHレベル出力を生じてドライバDV
をアクテイブにし、マイクロプログラムが作成し
た応答信号をバス8へのせる。
In the above system configuration, conventionally, when the transfer device 3 receives the DCH device number and activation request signal sent from the logical device 1 and determines that the activation request corresponds to its own DCH device number, the activation request signal or
The period when the DCH machine number is valid is designated as bus-only time.
A response signal generated on the transfer device 3 side during this time is sent to the bus 8. In other words, the machine number on the machine number bus 5 and the
If the CHC machine numbers match, the output of EOR gate 4 is L.
(low) level, which is inverted to H (high) level and enters the AND gate 7. On the other hand, if there is an activation signal, the output of the OR gate 6 becomes H, so the AND gate 7 produces an H level output and drives the driver. Domestic violence
is activated and a response signal created by the microprogram is placed on bus 8.

論理装置1はこの応答信号を取り込むと起動要
求を下げ、この起動信号の立下りで応答信号0〜
iはクリアされてオール0となる。再び起動信号
が入り、それが自己宛のものであればアンドゲー
ト7はドライバDVをアクテイブにし、またマイ
クロプログラムは応答信号を作成し、ドライバ
DVを通して論理装置へ転送されるようにする。
ところでこれらのタイミングがずれると、まだマ
イクロプログラムが応答信号を用意しないのにド
ライバDVがアクテイブになりそして前回の起動
要求の立下り時のクリヤが不確実でオール0にな
つていないと、0、1からなる本例では(i+
1)ビツトの無意味データがバス8へ送出され、
論理装置はこれを転送装置から送られた正しいデ
ータとして取り込んでしまう恐れがある。尚、前
述のように起動信号には転送要求(CHC
CALL)、IPL、割込み刈り取り等があり、この
転送要求に対する応答信号としてはコールアクセ
プト(CACEPT)とコンデイシヨンコード
(CC)がある。コンデイシヨンコードには0、
1、2、3などの複数種があり、これらで起動成
功、チヤネルは現在ビジーなどを知らせる。
When the logic device 1 receives this response signal, it lowers the activation request, and at the fall of this activation signal, the response signal 0~
i is cleared and becomes all 0s. If the activation signal is received again and it is addressed to itself, the AND gate 7 activates the driver DV, and the microprogram creates a response signal and activates the driver DV.
Transfer to logical device via DV.
By the way, if these timings are shifted, the driver DV becomes active even though the microprogram has not yet prepared a response signal, and if the clear at the falling edge of the previous startup request is uncertain and it is not all 0, 0, In this example, (i+
1) bits of meaningless data are sent to bus 8;
The logical device may take this as correct data sent from the transfer device. As mentioned above, the activation signal includes a transfer request (CHC
CALL), IPL, interrupt reaping, etc., and response signals to these transfer requests include call acceptance (CACEPT) and condition code (CC). 0 for condition code,
There are multiple types such as 1, 2, and 3, and these will notify you that startup has been successful, the channel is currently busy, etc.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の方式によると、ハードウエアが
論理装置からの起動要求を認識すると、すぐにバ
スが専有されて転送装置側の出力がバスに送出さ
れる事になり、マイクロプログラムの意図しない
誤つた信号でもバスに送出される可能性があるの
で、起動シーケンスに関する誤動作の要因となる
欠点がある。本発明は転送装置からバスに信号を
送出できる条件にハードウエアに設けたフラグの
オンを追加し、該フラグを応答信号返送準備を完
了したマイクロプログラムでオンすることにより
上記の問題点を解決しようとするものである。
According to the conventional method described above, when the hardware recognizes an activation request from the logic device, the bus is immediately occupied and the output from the transfer device is sent to the bus, which prevents unintentional errors by the microprogram. Since even a signal may be sent to the bus, this has the disadvantage of causing a malfunction regarding the start-up sequence. The present invention attempts to solve the above problems by adding turning on a flag provided in hardware to the conditions under which signals can be sent from the transfer device to the bus, and turning on the flag by a microprogram that has completed preparations for returning a response signal. That is.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、論理装置より複数の転送装置に対す
る起動を1:nのバス方式で実現するマイクロプ
ログラム制御の情報処理装置のインタフエース制
御方式において、起動を受けた転送装置が該論理
装置へ返す応答信号をバスへのせるタイミング
を、該転送装置が該論理装置よりの起動をマイク
ロプログラムで認識したときセツトするフラグを
ハードウエアに設けて、該フラグがセツトされた
以降にすることを特徴とするものである。
The present invention provides an interface control method for a microprogram-controlled information processing device in which activation of a plurality of transfer devices from a logical device is achieved using a 1:n bus method. A flag is provided in hardware to be set when the transfer device recognizes activation from the logic device by a microprogram, and the signal is placed on the bus after the flag is set. It is something.

〔作 用〕[Effect]

転送装置のインタフエース部にハードウエアに
よるフラグを設け、且つこのフラグのオンをバス
への信号送出可条件に加え、さらに該フラグを起
動要求を認識したマイクロプログラムでオンする
ようにすると、マイクロプログラムが意図しない
信号が誤つてバスへ送出されることを防止でき
る。以下、図示の実施例を参照しながらこれを詳
細に説明する。
If a hardware flag is provided in the interface section of the transfer device, and if this flag is turned on as a condition for enabling signal transmission to the bus, and if the flag is turned on by a microprogram that recognizes a startup request, the microprogram This can prevent unintended signals from being sent to the bus by mistake. This will be explained in detail below with reference to illustrated embodiments.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示す転送装置側イ
ンタフエース部の構成図で、第2図と同一部分に
は同一符号が付してある。本例では、本転送装置
3に対するCPU1からの起動要求があつたとき
それを示す信号を生じる回路つまりEORゲート
4とオアゲート6の出力を受けるアンドゲート7
に加えて、転送装置3のマイクロプログラム(μ
と略記する)に対し起動要求を与えるアンドゲー
ト9と、μが該要求を認識したときセツトするフ
ラグ10とを追加し、フラグ10の出力でアンド
ゲート7,9を排他的に制御する。フラグ10は
フリツプフロツプからなり、セツトされない状態
ではアンドゲートに開信号を、アンドゲート7に
は閉信号を与える。従つて、起動要求をハードウ
エアが認識した段階、つまりゲート4,6の出力
が共に1になつた段階ではゲート9が開いてμへ
の起動要求を出すが、ゲート7は開かないのでド
ライバDVはオンとならず、バス8へは何も送信
されない。ドライバDVがオンとなるのはフラグ
10がセツトされた後であり、この段階ではμが
起動要求を受けて動作し、バス8に送信すべき応
答信号をセツトしておく。従つてバス8へは正し
い応答信号をのせることができる。論理装置がデ
ータを受取つて起動信号を立下げればオアゲート
6の出力はLレベルになり、ゲート7,9が閉じ
てドライバDVはオフとなり、バス8は解放され
る。またこのとき応答信号及びフラグ10のリセ
ツトが行なわれる。
FIG. 1 is a configuration diagram of a transfer device side interface section showing an embodiment of the present invention, and the same parts as in FIG. 2 are given the same reference numerals. In this example, an AND gate 7 receives the outputs of the EOR gate 4 and the OR gate 6, which is a circuit that generates a signal indicating the activation request from the CPU 1 to the transfer device 3.
In addition to the transfer device 3 microprogram (μ
An AND gate 9 that issues an activation request to the system (abbreviated as ) and a flag 10 that is set when μ recognizes the request are added, and the output of the flag 10 exclusively controls the AND gates 7 and 9. The flag 10 consists of a flip-flop, and when it is not set, it gives an open signal to the AND gate and a close signal to the AND gate 7. Therefore, at the stage when the hardware recognizes the startup request, that is, when the outputs of gates 4 and 6 both become 1, gate 9 opens and issues a startup request to μ, but gate 7 does not open, so driver DV is not turned on and nothing is sent to bus 8. The driver DV is turned on after the flag 10 is set, and at this stage μ operates in response to the activation request and sets a response signal to be transmitted to the bus 8. Therefore, a correct response signal can be placed on the bus 8. When the logic device receives the data and lowers the activation signal, the output of the OR gate 6 becomes L level, gates 7 and 9 are closed, the driver DV is turned off, and the bus 8 is released. At this time, the response signal and flag 10 are reset.

〔発明の効果〕〔Effect of the invention〕

以上述べたように本発明によれば、ハードウエ
アが起動要求を認識してもまだバス上に転送装置
側の出力が送信されず、マイクロプログラムが論
理装置の要求を認識した旨のフラグをハードウエ
アに設定した時点より送出されるので、常にマイ
クロプログラムの意図した信号がバスに送出さ
れ、意図しない信号送出という前記誤動作を防止
することができる利点がある。
As described above, according to the present invention, even if the hardware recognizes an activation request, the output from the transfer device side is not yet transmitted onto the bus, and the flag indicating that the microprogram has recognized the request from the logic device is sent to the hardware. Since the signal is sent from the time it is set in the software, the signal intended by the microprogram is always sent to the bus, which has the advantage of preventing the above-mentioned malfunction of sending an unintended signal.

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

第1図は本発明の一実施例を示す概略構成図、
第2図はバス結合によるマイクロプログラム制御
の情報処理装置全体の概略ブロツク図、第3図は
従来の転送装置側インタフエース部の概略構成図
である。 図中、1は論理装置、2は起動要求バス、3は
転送装置、4は転送装置番号比較用EORゲート、
5は機番バス、7はドライバ制御用ゲート、8は
応答信号用バス、9はマイクロプログラムへの起
動要求出力ゲート、10はフラグ、DVはドライ
バ、RVはレシーバである。
FIG. 1 is a schematic configuration diagram showing an embodiment of the present invention;
FIG. 2 is a schematic block diagram of the entire microprogram-controlled information processing device using bus connections, and FIG. 3 is a schematic diagram of the configuration of a conventional transfer device side interface section. In the figure, 1 is a logical device, 2 is a startup request bus, 3 is a transfer device, 4 is an EOR gate for comparing transfer device numbers,
5 is a machine number bus, 7 is a driver control gate, 8 is a response signal bus, 9 is a startup request output gate to the microprogram, 10 is a flag, DV is a driver, and RV is a receiver.

Claims (1)

【特許請求の範囲】[Claims] 1 論理装置より複数の転送装置に対する起動を
1:nのバス方式で実現するマイクロプログラム
制御の情報処理装置のインタフエース制御方式に
おいて、起動を受けた転送装置が該論理装置へ返
す応答信号をバスへのせるタイミングを、該転送
装置が該論理装置よりの起動をマイクロプログラ
ムで認識したときセツトするフラグをハードウエ
アに設けて、該フラグがセツトされた以降にする
ことを特徴とするインタフエース制御方式。
1. In an interface control method for a microprogram-controlled information processing device that realizes activation of multiple transfer devices from a logical device using a 1:n bus method, the transfer device that received the activation sends a response signal to the logical device via the bus. A flag is provided in hardware to be set when the transfer device recognizes activation from the logical device by a microprogram, and the timing of the transfer is set after the flag is set. method.
JP59181155A 1984-08-30 1984-08-30 Method for controlling interface Granted JPS6159562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59181155A JPS6159562A (en) 1984-08-30 1984-08-30 Method for controlling interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59181155A JPS6159562A (en) 1984-08-30 1984-08-30 Method for controlling interface

Publications (2)

Publication Number Publication Date
JPS6159562A JPS6159562A (en) 1986-03-27
JPH0364894B2 true JPH0364894B2 (en) 1991-10-08

Family

ID=16095848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59181155A Granted JPS6159562A (en) 1984-08-30 1984-08-30 Method for controlling interface

Country Status (1)

Country Link
JP (1) JPS6159562A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4835414A (en) * 1988-03-14 1989-05-30 Advanced Micro Devices, Inc. Flexible, reconfigurable terminal pin
US6531784B1 (en) 2000-06-02 2003-03-11 Amkor Technology, Inc. Semiconductor package with spacer strips

Also Published As

Publication number Publication date
JPS6159562A (en) 1986-03-27

Similar Documents

Publication Publication Date Title
EP0071747B1 (en) Self-pacing serial keyboard interface for data processing system
KR900005453B1 (en) Shared resource lockout operation method and apparatus
US4271466A (en) Direct memory access control system with byte/word control of data bus
US4797815A (en) Interleaved synchronous bus access protocol for a shared memory multi-processor system
EP0476990A2 (en) Dynamic bus arbitration
EP0576240B1 (en) Computer system and system expansion unit
US5068785A (en) Bus control for small computer system interface with transfer indication preceding final word transfer and buffer empty indication preceding receipt acknowledgement
US5081701A (en) System for controlling data transfer using transfer handshake protocol using transfer complete and transfer inhibit signals
KR850007129A (en) Microcomputer system with bus control
JP2005128747A (en) Integrated circuit device with transmission/reception macro for serial transfer bus
US6175887B1 (en) Deterministic arbitration of a serial bus using arbitration addresses
US6332173B2 (en) UART automatic parity support for frames with address bits
JPH0364894B2 (en)
JPS6339072A (en) Data processing system
JPS6242306B2 (en)
EP0385703A2 (en) Keyboard interface control
EP0576241A1 (en) Computer system and system expansion unit
JPH02207364A (en) Data transfer system
EP0288191B1 (en) Method and apparatus for data transfer handshake pipelining
JPS63146539A (en) Data transmission equipment
JPH09167117A (en) Microcomputer and real time system using the microcomputer
JP2671743B2 (en) Microcomputer
JPH0540728A (en) Bus control method
JPS6049465A (en) Data transfer method between microcomputers
JPS63109565A (en) Automaton for matching a processor with another processor