JPS63204333A - Asynchronous signal generating circuit - Google Patents

Asynchronous signal generating circuit

Info

Publication number
JPS63204333A
JPS63204333A JP3637987A JP3637987A JPS63204333A JP S63204333 A JPS63204333 A JP S63204333A JP 3637987 A JP3637987 A JP 3637987A JP 3637987 A JP3637987 A JP 3637987A JP S63204333 A JPS63204333 A JP S63204333A
Authority
JP
Japan
Prior art keywords
flop
flip
state
asynchronous
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.)
Pending
Application number
JP3637987A
Other languages
Japanese (ja)
Inventor
Hiroshi Ishikura
石倉 浩
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 JP3637987A priority Critical patent/JPS63204333A/en
Publication of JPS63204333A publication Critical patent/JPS63204333A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Landscapes

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

Abstract

PURPOSE:To effectively respond when forced interruption is generated in an asynchronous circuit, by holding the output of a state flip-flop with an interruption state flip-flop responding to a holding timing from a holding information flip-flop sent by responding to the generation of the forced interruption. CONSTITUTION:The interruption state flip-flop 4 which inputs the output signal of the state flip-flop 3, and the holding information flip-flop 6 which sends the holding timing to the interruption state flip-flop 4 by responding to the generation of interruption in the asynchronous circuit, are provided. And by responding to the holding timing from the holding information flip-flop 6, the output signal of the state flip-flop 3 is held with the interruption state flip-flop 4 for a prescribed time. In such a way, it is possible to hold the operating state of an asynchronous signal generation circuit and an asynchronous signal 11, and to respond to the forced interruption in the asynchronous circuit.

Description

【発明の詳細な説明】 逸丘且1 本発明は非同期信号発生回路に関し、特に非同期回路の
動作状態を定義する状態値を保持する状態フリップフロ
ップを有する非同期信号発生回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an asynchronous signal generating circuit, and more particularly to an asynchronous signal generating circuit having a state flip-flop that holds a state value that defines the operating state of the asynchronous circuit.

灸米且薯 従来、この種の非同期信号発生回路は、状態値を保持す
る状態フリップフロップと、状態フリップフロップから
の出力をデコードするデコード回路と、状態変化を認識
する状態変化i!!識回路と、状態変化認識回路への入
力信号を出力する状態起動ビンとから構成され、状態起
動ビンにより非同期信号発生回路が起動されると自動的
に非同期信号が発生され、また自動的に非同期信号が変
化するようになっていた。
Conventionally, this type of asynchronous signal generation circuit has been constructed using a state flip-flop that holds a state value, a decoding circuit that decodes the output from the state flip-flop, and a state change i! that recognizes a state change. ! It consists of a state change recognition circuit and a state activation bin that outputs an input signal to the state change recognition circuit.When the asynchronous signal generation circuit is activated by the state activation bin, an asynchronous signal is automatically generated, and an asynchronous signal is automatically generated. The signal was changing.

このような、従来の非同期信号発生回路では、状態起動
ビンから起動がかかると自動的に非同期信号を発生し、
また自動的に非同期信号が変化するようになっていたの
で、非同期回路に強制割込みが生じた場合には非同期信
号発生回路の動作状態を保持することができず、さらに
は非同期信号も保持することができないため、非同期回
路における強制割込みに対応できないという欠点があっ
た。
In such a conventional asynchronous signal generation circuit, an asynchronous signal is automatically generated when a state activation bin is activated.
In addition, since the asynchronous signal was designed to change automatically, if a forced interrupt occurred in the asynchronous circuit, the operating state of the asynchronous signal generation circuit could not be maintained, and furthermore, the asynchronous signal could not be maintained. This has the disadvantage that it cannot handle forced interrupts in asynchronous circuits.

111とl欝 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、非同期回路における強制割込みに対応す
ることができる非同期信号発生回路を提供することを目
的とする。
The present invention has been made to eliminate the drawbacks of the conventional circuits as described above, and an object of the present invention is to provide an asynchronous signal generating circuit that can cope with forced interrupts in an asynchronous circuit.

11立皇羞 本発明による非同期信号発生回路は、非同期回路の動作
状態を定義する状態値を保持する状態フリップフロップ
を有する非同期信号発生回路であって、前記状態フリッ
プフロップの出力信号を入力とする割込み状態フリップ
フロップと、前記非同期回路における割込みの発生に応
答して前記割込み状態フリップフロップに保持タイミン
グを送出する保持情報フリップフロップとを設け、前記
保持情報フリップフロップからの前記保持タイミングに
応答して前記割込み状態フリップフロップにより前記状
態フリップフロップの出力信号を所定時間保持するよう
にしたことを特徴とする。
11. An asynchronous signal generation circuit according to the present invention has a state flip-flop that holds a state value that defines the operating state of the asynchronous circuit, and receives an output signal of the state flip-flop as an input. an interrupt state flip-flop; and a holding information flip-flop configured to send a holding timing to the interrupt state flip-flop in response to an occurrence of an interrupt in the asynchronous circuit; The interrupt state flip-flop is characterized in that the output signal of the state flip-flop is held for a predetermined period of time.

!11 次に本発明の一実施例について図面を参照して説明する
! 11 Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。図
において、本発明の一実施例は、状態起動ビン1と、状
態起動ビン1の出力×1を入力とする状態変化認識回路
2と、図示せぬ非同期回路の現在の動作状態を定義する
状態値を保持している状態フリップフロップ3と、状態
フリップフロップ3からの出力CG、 CIを入力する
割込み状態フリップフロップ4と、割込み状態フリップ
フロップ4からの出力[)O,[]1をデコードして非
同期信号11を出力するデコーダ回路5と、割込み状態
フリップフロップ4に保持タイミングを送出する保持情
報フリップフロップ6とによって構成されている。ここ
で、非同期信号11は非同期回路全体を制御する信号で
ある。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, one embodiment of the present invention includes a state activation bin 1, a state change recognition circuit 2 whose input is the output of state activation bin 1 x 1, and a state that defines the current operating state of an asynchronous circuit (not shown). Decodes the state flip-flop 3 that holds the value, the output CG from the state flip-flop 3, the interrupt state flip-flop 4 that inputs CI, and the outputs [)O, []1 from the interrupt state flip-flop 4. The circuit includes a decoder circuit 5 which outputs an asynchronous signal 11, and a hold information flip-flop 6 which sends hold timing to the interrupt state flip-flop 4. Here, the asynchronous signal 11 is a signal that controls the entire asynchronous circuit.

非同期信号11と状態起動ピン1の出力×1とによって
状態変化が発生し、状態変化認識回路2で認識された状
態変化が状態フリップフロップ3に伝達される。複数の
状態フリップフロップ3の中で変化の対象となる状態フ
リップフロップ3がセットされたり、あるいはリセット
されて次の状態値が決定される。状態フリップフロップ
3の出力Go、CIが割込み状態フリップフロップ4に
入力され、割込み状態フリップフロップ4の出力DO6
D1をデコーダ回路5でデコードして次の非同期信号1
1を作成する。
A state change occurs due to the asynchronous signal 11 and the output x1 of the state activation pin 1, and the state change recognized by the state change recognition circuit 2 is transmitted to the state flip-flop 3. Among the plurality of state flip-flops 3, the state flip-flop 3 to be changed is set or reset to determine the next state value. The outputs Go and CI of the state flip-flop 3 are input to the interrupt state flip-flop 4, and the output DO6 of the interrupt state flip-flop 4 is input to the interrupt state flip-flop 4.
D1 is decoded by the decoder circuit 5 to generate the next asynchronous signal 1.
Create 1.

このような一連の回路動作によって次の状態値が状態フ
リップフロップ3にセットされ、デコーダ回路5を通し
て次の非同期信号11が出力される。尚、非同期信号E
Oが「1」になると、通常非同期処理が実行開始される
Through this series of circuit operations, the next state value is set in the state flip-flop 3, and the next asynchronous signal 11 is outputted through the decoder circuit 5. Furthermore, the asynchronous signal E
When O becomes "1", normal asynchronous processing starts to be executed.

第2図と第3図とは本発明の一実施例のタイムチャート
である。これら第1図〜第3図を用いて本発明の一実施
例の動作について説明する。
2 and 3 are time charts of one embodiment of the present invention. The operation of one embodiment of the present invention will be explained using these FIGS. 1 to 3.

本発明の一実施例の非同期信号発生回路に割込みが生じ
るい場合には、第2図に示すように、まず状態起動ピン
1の出力×1が「1」になって状態変化認識回路2の出
力ビットA2を「1」に起動し、次に状態変化W1識回
路2の出力ピットA2が状態フリップフロップ3の出力
C1を「1」に起動して割込み状態フリップフロップ4
の出力D1を「1」にセットする。セットされた割込み
状態フリップフロップ4の出力D1がデコードされて、
非同期信号E2が「1」となって非同期回路全体を制御
する。
When an interrupt occurs in the asynchronous signal generation circuit according to the embodiment of the present invention, as shown in FIG. The output bit A2 of the state change W1 recognition circuit 2 activates the output bit A2 to "1", and then the output bit A2 of the state change W1 recognition circuit 2 activates the output C1 of the state flip-flop 3 to "1", causing the interrupt state flip-flop 4 to activate the output bit A2 to "1".
The output D1 of is set to "1". The output D1 of the set interrupt state flip-flop 4 is decoded and
The asynchronous signal E2 becomes "1" and controls the entire asynchronous circuit.

非同期信号E2が「1」となってから一定時間が経過す
ると、状態変化認識回路2の出力AOが「1」となる。
When a certain period of time passes after the asynchronous signal E2 becomes "1", the output AO of the state change recognition circuit 2 becomes "1".

次に、状態変化認識回路2の出力AOが状態フリップフ
ロップ3の出力COを「1」に起動して割込み状態フリ
ップフロップ4の出力Doを「1」にセットする。セッ
トされた割込み状態フリップフロップ°4の出力Doが
デコードされて、非同期信号EOが「1」となって非同
期回路全体を制御し、通常非同期処理21が実行開始さ
れる。
Next, the output AO of the state change recognition circuit 2 activates the output CO of the state flip-flop 3 to "1" and sets the output Do of the interrupt state flip-flop 4 to "1". The output Do of the set interrupt state flip-flop °4 is decoded, the asynchronous signal EO becomes "1", the entire asynchronous circuit is controlled, and the normal asynchronous processing 21 is started.

同様に、非同期信号EOが「1」となってから一定時間
が経過すると状態変化認識回路2の出力A3が「1」と
なり、状態フリップフロップ3の出力C1がrOJとな
り、非同期信号E1が「1」となって非同期回路全体を
制御し、非同期信号E1が「1」となってから一定時間
が経過すると、状態変化認識回路2の出力A1が「1」
となり、状態フリップフロップ3の出力CGがrOJと
なり、非同期信号E3が「1」となって非同期回路全体
を制御する。
Similarly, when a certain period of time passes after the asynchronous signal EO becomes "1", the output A3 of the state change recognition circuit 2 becomes "1", the output C1 of the state flip-flop 3 becomes rOJ, and the asynchronous signal E1 becomes "1". ” and controls the entire asynchronous circuit, and when a certain period of time has passed since the asynchronous signal E1 became “1”, the output A1 of the state change recognition circuit 2 becomes “1”.
Therefore, the output CG of the state flip-flop 3 becomes rOJ, and the asynchronous signal E3 becomes "1" to control the entire asynchronous circuit.

次に、本発明の一実施例の非同期信号発生回路が動作中
に、すなわち非同期信号EOが「1」であるタイミング
に割込みが生じた場合には、第3図に示すように、状態
起動ビン1の出力×1が「1」となって非同期信号EO
が「1」になるまでは、第2図に示したような割込みが
生じない場合のタイムチャートと同様に前述の動作を行
う。
Next, if an interrupt occurs while the asynchronous signal generating circuit according to the embodiment of the present invention is in operation, that is, at a timing when the asynchronous signal EO is "1", the state activation bin is set as shown in FIG. 1 output x 1 becomes "1" and asynchronous signal EO
Until the value becomes "1", the above-described operation is performed in the same way as in the time chart shown in FIG. 2 when no interrupt occurs.

ここで、非同期信@EOが「1」となって割込みが発生
すると、保持情報フリップフロップ6の出力Y1が「1
」となり、まず通常非同期処理21が実行され、次に割
込み処理22が実行される。
Here, when the asynchronous signal @EO becomes "1" and an interrupt occurs, the output Y1 of the held information flip-flop 6 becomes "1".
”, the normal asynchronous processing 21 is executed first, and then the interrupt processing 22 is executed.

ここでは、非同期信号EOが「1」になると、一定時間
後に状態変化認識回路2の出力A3が「1」となり、状
態フリップフロップ3の出力C1がrOJになるが、保
持情報フリップフロップ6の出力Y1が「1」となって
から一定時間、すなわち、割込み処理22の間は割込み
状態フリップフロップ4がホールド状態となり、通常非
同期処理21中の状態フリップフロップ3の出力COと
出力C1との値、すなわち「1」を共に一定時間保持し
、この間に割込み処理22を終了する。
Here, when the asynchronous signal EO becomes "1", the output A3 of the state change recognition circuit 2 becomes "1" after a certain period of time, the output C1 of the state flip-flop 3 becomes rOJ, and the output of the held information flip-flop 6 becomes "1". The interrupt state flip-flop 4 is in a hold state for a certain period of time after Y1 becomes "1", that is, during the interrupt processing 22, and the values of the output CO and the output C1 of the state flip-flop 3 during the normal asynchronous processing 21, That is, "1" is held for a certain period of time, and the interrupt processing 22 is terminated during this period.

本発明の一実施例では、割込み処理22の時間と、状態
フリップフロップ3の出力COと出力C1との保持時間
とを同じにしている。この間、状態フリップフロップ3
の出力Go、CI 、非同期信号EO〜E3に変化が生
じないようにしている。
In one embodiment of the present invention, the time for the interrupt processing 22 and the holding time for the outputs CO and C1 of the state flip-flop 3 are made the same. During this time, state flip-flop 3
The outputs Go, CI, and asynchronous signals EO to E3 are prevented from changing.

一定時間の保持が終了すると、すなわち、割込み処理2
2が終了すると、割込み状態フリップフロップ4のホー
ルドが解除され、割込み状態フリップフロップ4の出力
D1が「0」となり、非同期信号EOを「0」に、非同
期信号E1を「1」にする。この後の動作は第2図に示
す割込みが発生しない場合のタイムチャートと同様の動
作を行う。
When the holding period ends, that is, interrupt processing 2
2, the hold of the interrupt state flip-flop 4 is released, the output D1 of the interrupt state flip-flop 4 becomes "0", the asynchronous signal EO becomes "0", and the asynchronous signal E1 becomes "1". The subsequent operation is similar to the time chart shown in FIG. 2 when no interrupt occurs.

尚、本発明の一実施例では割込み状態フリップフロップ
4の保持時間を一定時間としたが、割込み処理22に対
応してその終了を示す外部指令を出力し、この指令に応
じて割込み状態フリップフロップ4の保持を解除するよ
うにしても良く、一定時間に限定されるものではない。
Incidentally, in one embodiment of the present invention, the holding time of the interrupt state flip-flop 4 is set to a fixed time, but an external command indicating the end of the interrupt processing 22 is outputted, and in response to this command, the interrupt state flip-flop 4 is held for a fixed time. 4 may be released, and is not limited to a certain period of time.

このように、状態フリップフロップ3の出力CO,CI
を、非同期回路における割込みの発生に応答して送出さ
れる保持情報フリップフロップ6からの保持タイミング
に応答して割込み状態フリップフロップ4により保持す
るようにすることによって、非同期信号発生回路の動作
、状態の保持および非同期信号11の保持が可能となっ
て、非同期回路における強制割込みに対応することがで
きる。
In this way, the outputs CO, CI of the state flip-flop 3
is held by the interrupt state flip-flop 4 in response to the holding timing from the held information flip-flop 6 that is sent in response to the occurrence of an interrupt in the asynchronous circuit, thereby controlling the operation and state of the asynchronous signal generating circuit. , and the asynchronous signal 11 can be held, making it possible to cope with forced interrupts in the asynchronous circuit.

発明の詳細 な説明したように本発明によれば、状態フリップフロッ
プの出力を、非同期回路における強制割込みの発生に応
答して送出された保持情報フリップフロップからの保持
タイミングに応答して割込み状態フリップフロップによ
り保持することによって、非同期回路に強制割込みが生
じた場合に有効に対応することができるという効果があ
る。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, the output of the state flip-flop is transferred to the interrupt state flip-flop in response to the holding timing from the held information flip-flop sent in response to the occurrence of a forced interrupt in the asynchronous circuit. This has the effect of being able to effectively respond to the occurrence of a forced interrupt in an asynchronous circuit.

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

第1図は本発明の一実施例を示すブロック図、第2図と
第3図とは本発明の一実施例のタイムチャートである。 主要部分の符号の説明
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIGS. 2 and 3 are time charts of one embodiment of the present invention. Explanation of symbols of main parts

Claims (1)

【特許請求の範囲】[Claims] 非同期回路の動作状態を定義する状態値を保持する状態
フリップフロップを有する非周期信号発生回路であって
、前記状態フリップフロップの出力信号を入力とする割
込み状態フリップフロップと、前記非同期回路における
割込みの発生に応答して前記割込み状態フリップフロッ
プに保持タイミングを送出する保持情報フリップフロッ
プとを設け、前記保持情報フリップフロップからの前記
保持タイミングに応答して前記割込み状態フリップフロ
ップにより前記状態フリップフロップの出力信号を所定
時間保持するようにしたことを特徴とする非同期信号発
生回路。
An aperiodic signal generation circuit having a state flip-flop that holds a state value that defines an operating state of an asynchronous circuit, the circuit comprising: an interrupt state flip-flop that receives an output signal of the state flip-flop; a holding information flip-flop that sends a holding timing to the interrupt state flip-flop in response to an occurrence, and an output of the state flip-flop by the interrupt state flip-flop in response to the holding timing from the holding information flip-flop. An asynchronous signal generation circuit characterized in that a signal is held for a predetermined period of time.
JP3637987A 1987-02-19 1987-02-19 Asynchronous signal generating circuit Pending JPS63204333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3637987A JPS63204333A (en) 1987-02-19 1987-02-19 Asynchronous signal generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3637987A JPS63204333A (en) 1987-02-19 1987-02-19 Asynchronous signal generating circuit

Publications (1)

Publication Number Publication Date
JPS63204333A true JPS63204333A (en) 1988-08-24

Family

ID=12468211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3637987A Pending JPS63204333A (en) 1987-02-19 1987-02-19 Asynchronous signal generating circuit

Country Status (1)

Country Link
JP (1) JPS63204333A (en)

Similar Documents

Publication Publication Date Title
KR890010673A (en) Data processor and its processing control method
JPS63204333A (en) Asynchronous signal generating circuit
US4048622A (en) Programmable sequence controller
JPS63204334A (en) Asynchronous signal generating circuit
JPS62204343A (en) Asynchronous signal generation circuit
JPS62204342A (en) Asynchronous signal generation circuit
JPH01246602A (en) Special function unit for programmable controller
KR920005228B1 (en) Bit arithmetic circuit for programmable controller
JPH0573296A (en) Microcomputer
JPS63211438A (en) Interruption control circuit
JPH05298088A (en) Microcomputer
JPS63200258A (en) Asynchronizing signal generating circuit
JPH08179857A (en) Reset circuit
JPH0934502A (en) Controller
JPS5922145A (en) Interruption control system
JPS62133532A (en) Microprocessor
KR940004366Y1 (en) Bit processing circuit of plc
JPS63153635A (en) Specification system for data transfer speed
JPH0232645B2 (en)
JPS63180103A (en) Method for setting signal of input/output terminal of programmable controller
WO1990013071A1 (en) Programmable controller
JPH05233026A (en) Microcomputer circuit
JPS6334661A (en) Asynchronous signal generation circuit
JPS63129426A (en) Timer module for data flow type computer
JPH04107792A (en) Microcomputer