JPH0628016A - Sequence control stopping circuit - Google Patents

Sequence control stopping circuit

Info

Publication number
JPH0628016A
JPH0628016A JP20438992A JP20438992A JPH0628016A JP H0628016 A JPH0628016 A JP H0628016A JP 20438992 A JP20438992 A JP 20438992A JP 20438992 A JP20438992 A JP 20438992A JP H0628016 A JPH0628016 A JP H0628016A
Authority
JP
Japan
Prior art keywords
circuit
sequence control
sequence
output
stop
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
JP20438992A
Other languages
Japanese (ja)
Inventor
Hidemasa Toda
英正 戸田
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP20438992A priority Critical patent/JPH0628016A/en
Publication of JPH0628016A publication Critical patent/JPH0628016A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To easily set up a stop condition code by reducing the bit width of a state value to be stopped in the case of stopping a sequence with a certain state value in a sequence control FF group in a data processor controlled by a hardware sequence control circuit. CONSTITUTION:This sequence control stopping circuit is provided with a coding circuit 40 for previously coding and outputting respective state values of the sequence control FF group 1 to (n). Each coded output is set up to the number of bits smaller than (n). A stopping condition storing part 41 has bit width equal to the number of bits of the coded output and previously stores a pattern code 46 to be stopped at its sequence. When a comparator 42 detects coincidence between the output of the circuit 40 and the output of the storing part 41, the clock of a clock supplying circuit 44 is stopped.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【技術分野】本発明はシーケンス制御停止回路に関し、
特にシーケンス制御のためのシーケンス制御回路を構成
するフリップフロップ(以下単にFFと称す)群の状態
値に応じてシーケンス制御動作を停止させるためのシー
ケンス制御停止回路に関するものである。
TECHNICAL FIELD The present invention relates to a sequence control stop circuit,
In particular, the present invention relates to a sequence control stop circuit for stopping the sequence control operation in accordance with the state value of a group of flip-flops (hereinafter simply referred to as FF) forming a sequence control circuit for sequence control.

【0002】[0002]

【従来技術】従来のこの種のシーケンス制御停止回路の
一例を図4に示す。図において、総数nビットからなる
シーケンス制御FF1〜nは夫々対応入力信号11〜1
nをクロックに同期して取込みセットする。n個のデー
タレジスタ21〜2nはシーケンス制御FF1〜nの対
応出力信号をセット有効信号として対応データ31〜3
nをクロックに同期して取込みセットする。クロック供
給回路44はこれ等FF1〜n及びデータレジスタ21
〜2nの動作クロックを供給する。
2. Description of the Related Art An example of a conventional sequence control stop circuit of this type is shown in FIG. In the figure, sequence control FFs 1 to n each consisting of a total of n bits are corresponding input signals 11 to 1 respectively.
n is fetched and set in synchronization with the clock. The n data registers 21 to 2n use the corresponding output signals of the sequence control FFs 1 to n as a set valid signal and the corresponding data 31 to 3n.
n is fetched and set in synchronization with the clock. The clock supply circuit 44 includes the FFs 1 to n and the data register 21.
Supply an operating clock of 2n.

【0003】シーケンス制御を停止させる場合、シーケ
ンス制御FFのビット幅と同一ビット幅nを有しかつ停
止させたい状態値コード46を、停止条件記憶部41に
予めセットしておく。そして、比較器42にてこの状態
値コードとシーケンス制御FF1〜nの状態値パターン
とを比較して一致したときに、アンドゲート43の一入
力を論理“1”とする。
When the sequence control is stopped, a state value code 46 having the same bit width n as the bit width of the sequence control FF and desired to be stopped is set in the stop condition storage unit 41 in advance. Then, the comparator 42 compares the state value code with the state value patterns of the sequence control FFs 1 to n, and when they match, one input of the AND gate 43 is set to logic "1".

【0004】このときのアンドゲート43の他入力に
は、停止条件イネーブル信号45として論理“1”に予
め設定したものが印加されている。従って、比較器42
からの一致出力である論理“1”の供給に応答してアン
ドゲート43はクロック供給回路44に対してクロック
抑止信号を生成して、クロックの供給を停止させること
で、データ処理装置のシーケンス制御動作が停止可能と
なるのである。そしてこの停止の後に、ハードウェアの
診断や解析を行うようになっている。
At this time, to the other input of the AND gate 43, a signal which is preset to logic "1" is applied as the stop condition enable signal 45. Therefore, the comparator 42
In response to the supply of the logic "1" which is the coincidence output from the AND gate 43, the AND gate 43 generates a clock inhibition signal to the clock supply circuit 44 to stop the supply of the clock, thereby controlling the sequence of the data processing device. The operation can be stopped. After this stop, the hardware is diagnosed and analyzed.

【0005】例えば、n=20ビットのシーケンス制御
FF1〜20の状態値が(00000000 1001
0001 0110)のパターンになったときに、シ
ーケンス停止を行う場合、停止条件記憶部41に与える
状態値コードは、やはり20ビットでかつ(0000
0000 1001 0001 0110)のパターン
となる必要がある。
For example, the state value of the sequence control FFs 1 to 20 of n = 20 bits is (00000000 1001).
(0001 0110), when the sequence is stopped, the state value code given to the stop condition storage unit 41 is also 20 bits and (0000
0000 1001 0001 0110).

【0006】この様な従来のシーケンス制御停止回路で
は、シーケンス制御を停止させる条件の状態値コード
が、シーケンス制御FF群の状態値パターンと同一であ
る必要があるために、そのFF群の数nが多くなると、
停止条件の設定が複雑化する。また、状態値パターンの
数が極めて多数となり、実際に全ての状態値パターンに
おいて停止させる必要はなく、ある限られた数個の状態
値パターンのみで停止させれば良いことが多い場合に
は、停止条件の設定に無駄があるという欠点がある。
In such a conventional sequence control stop circuit, since the state value code of the condition for stopping the sequence control needs to be the same as the state value pattern of the sequence control FF group, the number n of the FF group is n. The more
Setting the stop condition becomes complicated. In addition, when the number of state value patterns becomes extremely large, it is not necessary to actually stop in all state value patterns, and in many cases it is sufficient to stop only in a limited number of state value patterns, There is a drawback that there is a waste of setting the stop condition.

【0007】[0007]

【発明の目的】本発明の目的は、シーケンス制御の停止
条件の状態値コードを実際の使用条件に合致させて無駄
を省いて極力少ないビット数の状態値コードで設定可能
としたシーケンス制御停止回路を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a sequence control stop circuit in which a state value code of a stop condition of sequence control can be set with a state value code having a bit number as small as possible by eliminating waste and conforming to actual use conditions. Is to provide.

【0008】[0008]

【発明の構成】本発明によるシーケンス制御停止回路
は、データ処理装置におけるシーケンス制御のためのシ
ーケンス制御回路を構成する制御シーケンスフリップフ
ロップ群と、前記フリップフロップ群の全ての値を入力
として、これ等入力値の各組合わせパターンに夫々対応
した制御シーケンス上の各状態を示す状態値コードを生
成して出力するコード化手段と、前記データ処理装置を
制御シーケンス上のある状態で停止させるコード化され
た停止条件を予め格納する停止条件格納手段と、この停
止条件格納手段の出力と前記コード化手段の出力との一
致を検出して前記データ処理装置のシーケンス制御動作
を停止制御する手段とを含むことを特徴とする。
A sequence control stop circuit according to the present invention receives a control sequence flip-flop group constituting a sequence control circuit for sequence control in a data processing device and all values of the flip-flop group as inputs. Coding means for generating and outputting a state value code indicating each state on the control sequence corresponding to each combination pattern of input values, and coded for stopping the data processing device in a certain state on the control sequence. Stop condition storing means for storing the stop condition in advance, and means for detecting the coincidence between the output of the stop condition storing means and the output of the encoding means to stop control the sequence control operation of the data processing device. It is characterized by

【0009】[0009]

【実施例】以下、図面を参照しつつ本発明の実施例につ
いて詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0010】図1は本発明の実施例の回路ブロック図で
あり、図4と同等部分は同一符号により示す。図4の従
来例と異なる部分についてのみ述べると、コード化回路
40はシーケンス制御FF1〜nの各状態値を入力と
し、これ等状態値の組合わせパターンに夫々対応して制
御シーケンス上の各状態値を示す状態値コードを生成し
て出力するものである。この状態値コードのビット幅は
FF1〜nのビット幅であるnよりも小とし、n=20
の場合は、コードのビット幅は例えば3とする。
FIG. 1 is a circuit block diagram of an embodiment of the present invention, and the same portions as those in FIG. 4 are designated by the same reference numerals. To describe only the parts different from the conventional example of FIG. 4, the coding circuit 40 receives the respective state values of the sequence control FF1 to FFn and inputs the respective state values on the control sequence corresponding to the respective combination patterns of these state values. A state value code indicating a value is generated and output. The bit width of this state value code is smaller than n, which is the bit width of FF1 to n, and n = 20.
In this case, the bit width of the code is set to 3, for example.

【0011】従って、停止条件記憶部41も3ビットの
停止条件コード46を予め設定できるようになってお
り、この停止条件コードとコード化回路40の出力コー
ドとが比較回路42にて比較される。そして、両者が一
致したとき、アンドゲート43を介してクロック供給回
路44のクロック供給動作が抑止されるようになってい
る。
Therefore, the stop condition storage unit 41 can also set the 3-bit stop condition code 46 in advance, and this stop condition code and the output code of the encoding circuit 40 are compared by the comparison circuit 42. . When the two match, the clock supply operation of the clock supply circuit 44 is suppressed via the AND gate 43.

【0012】他の構成は図4の回路と同一であるので、
その説明は省略する。
Since the other structure is the same as that of the circuit shown in FIG.
The description is omitted.

【0013】図2は図1のコード化回路40の具体例を
示す回路図であり、n=20として3ビットコード出力
を生成する場合のものである。図3はこのコード化回路
の入出力論理値表である。
FIG. 2 is a circuit diagram showing a specific example of the encoding circuit 40 shown in FIG. 1, which is for generating a 3-bit code output with n = 20. FIG. 3 is an input / output logical value table of this coding circuit.

【0014】実際のシーケンス停止条件においては、F
F1〜20の各状態値が“1”をとることはなく、ある
限られた数個の状態値のみが“1”をとるときに停止さ
せれば良いことが多い。
Under the actual sequence stop condition, F
Each of the F1 to F20 state values does not take "1", and it is often sufficient to stop the operation when only a limited number of state values take "1".

【0015】そこで、本例では、図3の論理値表に示す
如く、FF1,5,9,13,15及び17の6個の状
態値のみが“1”をとり、他のFFについては“1”を
とることはなく、全て“0”に固定して考えることがで
きるものとしている。
Therefore, in the present example, as shown in the logical value table of FIG. 3, only the six state values of FF1, 5, 9, 13, 15, and 17 take "1", and the other FFs show "1". It is assumed that all values can be fixed at "0" without taking "1".

【0016】例えば、FF13と17との状態値が
“1”で他は全て“0”のときコード化信号は“00
1”となり、またFF13と15との状態値が“1”で
他は全て“0”のときコード化信号は“010”とな
る。
For example, when the state values of the FFs 13 and 17 are "1" and all others are "0", the coded signal is "00".
When the state values of the FFs 13 and 15 are "1" and all others are "0", the coded signal becomes "010".

【0017】この真理値表の関係から図2に示す論理回
路が得られるものであり、論理“1”をとる可能性のあ
るFF1,5,9,13,15,17の各出力をノアゲ
ート51〜57により夫々組合わせ、他のFFの各出力
をオアゲート58〜60,ノアゲート61により組合わ
せる。そして、これ等全てのノアゲート51〜57,6
1の各出力をアンドゲート62〜68により組合わせ、
これ等アンドゲート62〜68の各出力をオアゲート6
9〜71により組合わせて、これ等3つのオアゲート6
9〜71の出力を3ビットのコード化信号としている。
The logic circuit shown in FIG. 2 is obtained from the relationship of the truth table, and the NOR gate 51 outputs the outputs of the FFs 1, 5, 9, 13, 15, and 17 which may take the logic "1". To 57, respectively, and the outputs of the other FFs are combined by OR gates 58 to 60 and NOR gate 61. And all of these NOR gates 51-57, 6
Each output of 1 is combined by AND gates 62 to 68,
The outputs of the AND gates 62 to 68 are connected to the OR gate 6
These three OR gates 6 are combined by 9 to 71.
The outputs of 9 to 71 are 3-bit coded signals.

【0018】いま、FF13と17との状態値が共に
“1”で他のFFの状態値が全て“0”であるときにシ
ーケンス制御停止を行う場合、予め停止条件記憶部41
に3ビットの“001”をセットしておく。
When the sequence control stop is performed when the state values of the FFs 13 and 17 are both "1" and the state values of the other FFs are all "0", the stop condition storage unit 41 is previously set.
Is set to 3-bit "001".

【0019】この状態で、装置が処理実行中にFF13
と17との各値が共に“1”で他のFFの値は全て
“0”になると、コード化回路40は停止条件のコード
化信号“001”を生成して出力する。
In this state, the FF 13
When the values of 1 and 17 are both "1" and the values of the other FFs are all "0", the coding circuit 40 generates and outputs the coded signal "001" of the stop condition.

【0020】比較回路42はこの時両コードの一致を検
出するので、その一致出力は“1”となり、アンドゲー
ト43を介してクロック供給回路44にクロック抑止指
令が供給されることになる。これにより、シーケンス制
御動作が停止され、このときのハードウェア回路の診断
や解析が行われるのである。
Since the comparison circuit 42 detects the coincidence of both codes at this time, the coincidence output becomes "1", and the clock inhibition command is supplied to the clock supply circuit 44 through the AND gate 43. As a result, the sequence control operation is stopped, and the hardware circuit at this time is diagnosed and analyzed.

【0021】図2に示したコード化回路はエンコーダの
ゲート回路であり、IC1個を用いて構成される。この
例以外に、コード化回路としては、ROMやRAM等の
メモリを用い、そのアドレス入力としてシーケンス制御
FF群1〜nの各状態値を与えるようにしても良い。
The coding circuit shown in FIG. 2 is a gate circuit of an encoder and is constructed by using one IC. Other than this example, a memory such as a ROM or a RAM may be used as the encoding circuit and each state value of the sequence control FF groups 1 to n may be given as an address input.

【0022】[0022]

【発明の効果】以上述べた如く、本発明によれば、シー
ケンス制御FF群の状態値を予め定められた手法でコー
ド化することにより、停止条件のためのコードパターン
を少ないビット数とすることができ、停止条件のコード
設定が容易となると共にそのコード設定用のメモリが少
ない容量で済むという効果がある。
As described above, according to the present invention, the code value for the stop condition is made to have a small number of bits by coding the state value of the sequence control FF group by a predetermined method. As a result, the code for the stop condition can be easily set, and the memory for the code setting can be small in capacity.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】図1のコード化回路の一例を示す図である。FIG. 2 is a diagram showing an example of the encoding circuit of FIG.

【図3】図2のコード化回路の入出力関係を示す図であ
る。
FIG. 3 is a diagram showing an input / output relationship of the encoding circuit of FIG.

【図4】従来のシーケンス制御停止回路の例を示す図で
ある。
FIG. 4 is a diagram showing an example of a conventional sequence control stop circuit.

【符号の説明】[Explanation of symbols]

1〜n シーケンス制御FF群 21〜2n データレジスタ群 40 コード化回路 41 停止条件記憶部 42 比較回路 43 アンドゲート 44 クロック供給回路 1-n sequence control FF group 21-2n data register group 40 coding circuit 41 stop condition storage unit 42 comparison circuit 43 AND gate 44 clock supply circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データ処理装置におけるシーケンス制御
のためのシーケンス制御回路を構成する制御シーケンス
フリップフロップ群と、前記フリップフロップ群の全て
の値を入力として、これ等入力値の各組合わせパターン
に夫々対応した制御シーケンス上の各状態を示す状態値
コードを生成して出力するコード化手段と、前記データ
処理装置を制御シーケンス上のある状態で停止させるコ
ード化された停止条件を予め格納する停止条件格納手段
と、この停止条件格納手段の出力と前記コード化手段の
出力との一致を検出して前記データ処理装置のシーケン
ス制御動作を停止制御する手段とを含むことを特徴とす
るシーケンス制御停止回路。
1. A control sequence flip-flop group that constitutes a sequence control circuit for sequence control in a data processing device, and all values of the flip-flop group are input, and each combination pattern of these input values is input. Encoding means for generating and outputting a state value code indicating each state on the corresponding control sequence, and a stop condition for storing in advance a coded stop condition for stopping the data processing device in a certain state on the control sequence. A sequence control stop circuit comprising: storage means and means for detecting a match between the output of the stop condition storage means and the output of the encoding means to stop control the sequence control operation of the data processing device. .
JP20438992A 1992-07-08 1992-07-08 Sequence control stopping circuit Pending JPH0628016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20438992A JPH0628016A (en) 1992-07-08 1992-07-08 Sequence control stopping circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20438992A JPH0628016A (en) 1992-07-08 1992-07-08 Sequence control stopping circuit

Publications (1)

Publication Number Publication Date
JPH0628016A true JPH0628016A (en) 1994-02-04

Family

ID=16489732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20438992A Pending JPH0628016A (en) 1992-07-08 1992-07-08 Sequence control stopping circuit

Country Status (1)

Country Link
JP (1) JPH0628016A (en)

Similar Documents

Publication Publication Date Title
US4237534A (en) Bus arbiter
US4975641A (en) Integrated circuit and method for testing the integrated circuit
US4037213A (en) Data processor using a four section instruction format for control of multi-operation functions by a single instruction
US3931505A (en) Program controlled data processor
US5125011A (en) Apparatus for masking data bits
JPH0628016A (en) Sequence control stopping circuit
US5623648A (en) Controller for initiating insertion of wait states on a signal bus
JPS638493B2 (en)
JPS5853099A (en) Effective use for memory
JPH01130615A (en) Pulse output device
JP3166239B2 (en) Clock signal supply device
US5828898A (en) Microcomputer for outputting data to the outside of the microcomputer in real time in response to a RTP output request signal received from outside the microcomputer
JP2002091901A (en) Priority encoder
KR100207481B1 (en) Detecting time adjustment equipment to detect data during desire period
JP2582414B2 (en) Interrupt processing device
JP2754786B2 (en) Information processing device
JPH0512036A (en) Interrupt control circuit
KR0163726B1 (en) Multiple RAM brake condition setting circuit using external memory
JP2532072Y2 (en) Pattern generator
JP2847741B2 (en) Microcomputer
JPH01222363A (en) Multi-port memory controller
JPH01201760A (en) Dma controller
JPH04141734A (en) Internal register access circuit
JPS61109154A (en) Error detecting system for fixed data register
JPH04180144A (en) Register file control system