JPH0254340A - Preventing circuit for erroneous setting action - Google Patents

Preventing circuit for erroneous setting action

Info

Publication number
JPH0254340A
JPH0254340A JP63205459A JP20545988A JPH0254340A JP H0254340 A JPH0254340 A JP H0254340A JP 63205459 A JP63205459 A JP 63205459A JP 20545988 A JP20545988 A JP 20545988A JP H0254340 A JPH0254340 A JP H0254340A
Authority
JP
Japan
Prior art keywords
circuit
clock
setting
shift register
output
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
JP63205459A
Other languages
Japanese (ja)
Inventor
Yoshikazu Arino
有野 好和
Noriyuki Ito
伊藤 範行
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 DENKI TRANSMISSION ENG KK
NEC Corp
Original Assignee
NIPPON DENKI TRANSMISSION ENG KK
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 NIPPON DENKI TRANSMISSION ENG KK, NEC Corp filed Critical NIPPON DENKI TRANSMISSION ENG KK
Priority to JP63205459A priority Critical patent/JPH0254340A/en
Publication of JPH0254340A publication Critical patent/JPH0254340A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the erroneous logical setting actions when a substrate is loaded and unloaded by deciding the data stored in a shift register and using this deciding output to control the prevention and the transmission of a clock. CONSTITUTION:A logical setting switch 1 is set at L and this setting information is inputted to a shift register SR 3. Then the setting information is sampled by a clock received from a clock generating circuit 2 and stored. The Q outputs of FF1-FFn of the SR 3 are all set at 0 with the output of an EX.NOR circuit 9 set at 1 respectively. Thus a NAND circuit 7 transmits the clock to input it to an FF 8. The FF 8 fetches correctly the final data on the SR 3 and then outputs it after retiming. When the extraction of a substrate 10 out of a connection state between both substrates 10 and 20 is started, the setting contents of the substrate 10 are changed by the chattering. The output of the circuit 9 is set at 0 and the circuit 7 prevents the clock. While the FF 8 holds the data obtained before the chattering is produced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ディジタル回路の論理設定回路、特に論理設
定における誤設定防止回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic setting circuit for a digital circuit, and particularly to a circuit for preventing incorrect setting in logic setting.

〔従来の技術〕[Conventional technology]

通常、この種の論理設定回路は、動作するディジタル回
路に論理レベルで“1”または“O”の直流信号をスイ
ッチ等で与える構成となっている。
Normally, this type of logic setting circuit has a configuration in which a DC signal of logic level "1" or "O" is applied to an operating digital circuit using a switch or the like.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の論理設定回路は、同一基板内のディジタル回路に
対する設定だけなら何ら問題はない。すなわち、基板と
基板の接続が配線で固定されており分割できない場合は
、単純な直流レベルの論理設定を与えるだけでよい。
Conventional logic setting circuits pose no problem if they are only used for setting digital circuits on the same board. That is, if the connection between the boards is fixed by wiring and cannot be divided, it is sufficient to provide a simple DC level logic setting.

しかし、設定されるディジタル回路が他の基板にもあり
、1個所から基板間配線を通して設定を行う場合には、
次のような問題を生じる。
However, if the digital circuit to be set is on another board and the settings are to be made from one place through inter-board wiring,
The following problems arise.

第2図は、設定基板10に論理設定用スイッチが設けら
れており、被設定基板20に論理設定すべきディジタル
回路があり、論理設定10と被論理設定20とがコネク
タ(図示せず)により接続されていて、容易に基板の挿
脱ができる場合を示している。
In FIG. 2, a setting board 10 is provided with a switch for logic setting, a board 20 to be set has a digital circuit for which logic is to be set, and the logic setting 10 and the logic setting target 20 are connected by a connector (not shown). This shows a case where the board is connected and the board can be easily inserted and removed.

このような場合には、基板の挿脱時の瞬間において、チ
ャックリングにより論理設定が不定となるという問題が
あった。
In such a case, there is a problem that the logic setting becomes unstable due to the chuck ring at the moment when the board is inserted or removed.

本発明の目的は、上述のような問題を回避するための誤
設定防止回路を提供することにある。
An object of the present invention is to provide an erroneous setting prevention circuit for avoiding the above-mentioned problems.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の誤設定防止回路は、 複数段のフリップフロップよりなり、クロックで論理設
定をサンプリングしデータを蓄えるシフトレジスタと、 このシフトレジスタの各フリップフロップに蓄えられた
データがすべて一致しているか否かを判定する判定回路
と、 この判定回路の出力で前記クロックの阻止あるいは通過
を制御するゲート回路と、 このゲート回路を通過したクロックで、前記シフトレジ
スタの最終段のフリップフロップのデータを保持して出
力する保持回路とを備えることを特徴としている。
The erroneous setting prevention circuit of the present invention includes a shift register that samples logic settings using a clock and stores data, which is composed of multiple stages of flip-flops, and checks whether all data stored in each flip-flop of this shift register matches. a gate circuit that controls blocking or passage of the clock using the output of this determination circuit; and a gate circuit that uses the clock that has passed through this gate circuit to hold the data of the flip-flop in the final stage of the shift register. The device is characterized by comprising a holding circuit that outputs the data.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示す回路図である。FIG. 1 is a circuit diagram showing one embodiment of the present invention.

本実施例の誤設定防止回路は、論理設定すべきディジタ
ル回路が設けられている基板(被設定基板)20に備え
られる。
The erroneous setting prevention circuit of this embodiment is provided on a board (substrate to be set) 20 on which a digital circuit whose logic is to be set is provided.

この誤設定防止回路は、論理設定をクロックでサンプリ
ングしディジタルを蓄えるシフトレジスタ3と、シフト
レジスタ3の出力がすべて一致しているか否かを判定す
る排他的否定論理和回路(Exclusive NOR
、以下EX −NOR回路と言う)9と、このEX −
NOR回路の出力で前記クロックを阻止するクロック制
御用NAND回路7と、シフトレジスタ3の最終データ
をEX −NOR回路9の出力で制御されたクロックで
リタイミングする出力用フリップフロップ(FF)8と
で構成されている。
This incorrect setting prevention circuit consists of a shift register 3 that samples logic settings using a clock and stores digital data, and an exclusive NOR circuit that determines whether all outputs of the shift register 3 match.
, hereinafter referred to as EX-NOR circuit)9, and this EX-
A clock control NAND circuit 7 that blocks the clock with the output of the NOR circuit, and an output flip-flop (FF) 8 that retimes the final data of the shift register 3 with a clock controlled by the output of the EX-NOR circuit 9. It is made up of.

シフトレジスタ3は、n段(nは3以上の整数)のフリ
ップフロップFF、、FFZ、・・・、FF11で構成
され、EX −NOR回路9は、AND回路4と、NO
R回路5と、OR回路6とで構成されている。
The shift register 3 is composed of flip-flops FF, FFZ, .
It is composed of an R circuit 5 and an OR circuit 6.

シフトレジスタ3の各フリップフロップFF。Each flip-flop FF of shift register 3.

〜FF、のQ出力は、AND回路4およびNOR回路5
の入力にそれぞれ接続され、最終段のフリップフロップ
FF、lのQ出力は、さらにフリップフロップ8の0人
力に接続されている。
~FF, the Q output of AND circuit 4 and NOR circuit 5
The Q outputs of the final stage flip-flops FF and 1 are further connected to the zero input of the flip-flop 8.

コネクタ(図示せず)を介して挿脱可能な設定基板10
には、論理設定用スイッチ1と、サンプリング用クロッ
ク発生回路2が設けられている。論理設定用スイッチ1
は、コネクタを介してシフトレジスタ3の初段OF F
 + のD入力に接続でき、クロック発生回路2はコネ
クタを介して、シフトレジスタ3の各フリップフロップ
のクロック入力CKおよびクロック制御用NAND回路
7の一方の入力に接続できる。
Setting board 10 that can be inserted and removed via a connector (not shown)
A logic setting switch 1 and a sampling clock generation circuit 2 are provided. Logic setting switch 1
is the first stage OF of shift register 3 via the connector.
The clock generation circuit 2 can be connected to the clock input CK of each flip-flop of the shift register 3 and one input of the clock control NAND circuit 7 via a connector.

EX −NOR回路9において、AND回路4およびN
OR回路5の出力は、OR回路6の入力に接続され、O
R回路6の出力は、NAND回路7の他方の入力に接続
されている。NAND回路7の出力は、フリップフロッ
プ8のクロック入力CKに接続されている。
In the EX-NOR circuit 9, AND circuit 4 and N
The output of the OR circuit 5 is connected to the input of the OR circuit 6, and the output of the OR circuit 5 is connected to the input of the OR circuit 6.
The output of the R circuit 6 is connected to the other input of the NAND circuit 7. The output of the NAND circuit 7 is connected to the clock input CK of the flip-flop 8.

次に、本実施例の動作を第3図のタイムチャートをも参
照しながら説明する。なお、第3図は論理設定用スイッ
チ1をロウ(Low)レベルに設定した基板10を基F
i20に挿脱したときの動作を説明するタイムチャート
であ名。
Next, the operation of this embodiment will be explained with reference to the time chart of FIG. Note that FIG. 3 is based on the board 10 with the logic setting switch 1 set to the low level.
The name is a time chart that explains the operation when inserted and removed from the i20.

サンプリング用クロック発生回路2は、基板挿脱に要す
る時間より短い周期のクロック(10ktlz以下)を
発生するようにする。
The sampling clock generation circuit 2 is designed to generate a clock having a cycle shorter than the time required for inserting and removing the board (10 ktlz or less).

まず、設定基板10が被設定基板20に挿入されている
状態での誤設定防止回路の動作を説明する。
First, the operation of the erroneous setting prevention circuit in a state where the setting board 10 is inserted into the setting target board 20 will be explained.

論理設定用スイッチ1は第3図(a)に示すようにロウ
レベルに設定されており、この設定情報(論理設定)が
シフトレジスタ3に入力され、サンプリング用クロック
発生回路3からのクロック(第3図(b))によりサン
プリングされて蓄えられる。サンプリング後のシフトレ
ジスタ3内のデータを、第3図(C)に示す。この場合
、シフトレジスタ3の各フリップフロップFF、〜FF
fiにQ出力はすべて0”であり、したがって、EX 
−NOR回路9の出力は第3図(d)に示すように1”
となる。これにより、NAND回路7は、クロック発生
回路2からのクロックを通過させ、フリップフロップ8
のクロック入力CKに入力される(第3図(e))。こ
のクロックで、フリップフロップ8はシフトレジスタ3
の最終データ(クロックFFnのデータ)を正しく取込
み、リタイミングして出力する。フリップフロップ8の
Q出力を、第3図(f)に示している。
The logic setting switch 1 is set to a low level as shown in FIG. 3(a), and this setting information (logic setting) is input to the shift register 3, and the clock (third The data is sampled and stored according to Figure (b)). The data in the shift register 3 after sampling is shown in FIG. 3(C). In this case, each flip-flop FF, ~FF of the shift register 3
The Q outputs on fi are all 0'', so EX
-The output of the NOR circuit 9 is 1" as shown in FIG. 3(d).
becomes. As a result, the NAND circuit 7 passes the clock from the clock generation circuit 2 and the flip-flop 8
(FIG. 3(e)). With this clock, flip-flop 8 moves shift register 3
The final data (data of clock FFn) is taken in correctly, retimed, and output. The Q output of the flip-flop 8 is shown in FIG. 3(f).

基板10と20とが接続された状態から、第3図(a)
に示すように時刻t1で基板10を引き抜き始めると、
設定基板10による設定内容はチャツタリングにより変
化する。第3図(b)に示すようにクロックも断となる
ため、シフトレジスタ3内は第3図(c)に示すように
l”と0″が混在した形で停止し、EX −NOR回路
9の出力は第3図(d)に示すように“0”となり、し
たがってNAND回路7はクロックを阻止するため、フ
リップフロップ8はチャックリングを起こす前のデータ
、すなわち“0”を保持している。したがって、フリッ
プフロップ8のQ出力は第3図(f)に示すようにロウ
(Low)のままに保たれる。
From the state where the boards 10 and 20 are connected, FIG. 3(a)
When the board 10 is started to be pulled out at time t1 as shown in FIG.
The settings made by the setting board 10 change due to chatter. Since the clock is also cut off as shown in FIG. 3(b), the inside of the shift register 3 stops with a mixture of l" and 0" as shown in FIG. 3(c), and the EX-NOR circuit 9 The output of the ? . Therefore, the Q output of the flip-flop 8 is kept low as shown in FIG. 3(f).

また逆に、第3図(a)に示すように、時刻t2で設定
基板10を挿入し始める場合にも、設定基板10による
設定内容は第3図(b)に示すようにチャックリングに
より変化する。したがって、シフトレジスタ3内は第3
図(C)に示すように“1”と“0″が混在し、第3図
(d)に示すようにEX−NOR回路9の出力を1”と
することはできず、NAND回路7はクロックを阻止す
る。この状態では、第3図(f)に示すようにフリップ
フロップ8は“0”を保持したままである。
Conversely, even when the setting board 10 is started to be inserted at time t2 as shown in FIG. 3(a), the setting contents of the setting board 10 are changed by the chuck ring as shown in FIG. 3(b). do. Therefore, in shift register 3, the third
As shown in FIG. 3(C), "1" and "0" are mixed, and as shown in FIG. 3(d), the output of EX-NOR circuit 9 cannot be set to "1", and NAND circuit 7 is The clock is blocked. In this state, the flip-flop 8 remains at "0" as shown in FIG. 3(f).

シフトレジスタ3内がすべて同一データ“0”となった
ときに、第3図(d)に示すようにEX・NOR回路9
の出力が“1″となり、NAND回路7を介して出力用
フリップフロップ8にクロック(第3図(e))が入力
される。このとき論理設定用スイッチ1による設定内容
は“0”であり、フリップフロップ8の出力は第3図(
f)に示すように0”である。
When all the data in the shift register 3 becomes the same data "0", the EX/NOR circuit 9 is activated as shown in FIG. 3(d).
The output becomes "1", and a clock (FIG. 3(e)) is input to the output flip-flop 8 via the NAND circuit 7. At this time, the setting content by the logic setting switch 1 is "0", and the output of the flip-flop 8 is as shown in FIG.
f), it is 0''.

以上のように本実施例によれば、基板10の挿脱にかか
わらず、フリップフロップ8の出力はロウレベルのまま
であり、挿脱時の論理設定の誤りは起こらない。
As described above, according to this embodiment, the output of the flip-flop 8 remains at a low level regardless of whether the board 10 is inserted or removed, and no error in logic setting occurs when the board 10 is inserted or removed.

以上の実施例は、論理設定用スイッチ1をロウレベルに
設定した基板10を挿脱する場合であるが、ハイ (H
igh)  レベルに設定した基板10を挿脱する場合
にあっても、同様に論理設定の誤りを防止することがで
きる。
In the above embodiment, the board 10 with the logic setting switch 1 set to the low level is inserted or removed.
igh) Even when inserting or removing the board 10 set at the same level, errors in logic setting can be similarly prevented.

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

以上説明したように本発明によれば、別基板のスイッチ
等で設定した設定内容が、基板の挿脱をしても変化しな
い、すなわち挿脱時の論理設定の誤設定を防止できると
いう効果がある。
As explained above, according to the present invention, the settings set by switches etc. on a separate board do not change even if the board is inserted or removed, that is, it is possible to prevent incorrect logical settings when inserting or removing the board. be.

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

第1図は本発明の誤設定防止回路の一実施例を示す図、 第2図は従来の論理設定回路を示す図、第3図はロウレ
ベルに設定した基板を挿脱したときの動作を説明するタ
イムチャートである。 l・・・・論理設定用スイッチ ・サンプリング用クロック発生回路 ・シフトレジスタ ・AND回路 ・NOR回路 ・OR回路 ・NANDAN D回路ップフロップ ・EX −NOR回路 ・設定基板 ・被設定基板
Fig. 1 is a diagram showing an embodiment of the erroneous setting prevention circuit of the present invention, Fig. 2 is a diagram showing a conventional logic setting circuit, and Fig. 3 explains the operation when a board set to low level is inserted or removed. This is a time chart. l...Logic setting switch, sampling clock generation circuit, shift register, AND circuit, NOR circuit, OR circuit, NANDAND D circuit flip-flop, EX-NOR circuit, setting board, setting board

Claims (1)

【特許請求の範囲】[Claims] (1)複数段のフリップフロップよりなり、クロックで
論理設定をサンプリングしデータを蓄えるシフトレジス
タと、 このシフトレジスタの各フリップフロップに蓄えられた
データがすべて一致しているか否かを判定する判定回路
と、 この判定回路の出力で前記クロックの阻止あるいは通過
を制御するゲート回路と、 このゲート回路を通過したクロックで、前記シフトレジ
スタの最終段のフリップフロップのデータを保持して出
力する保持回路とを備えることを特徴とする誤設定防止
回路。
(1) A shift register consisting of multiple stages of flip-flops that samples the logic settings using a clock and stores the data, and a judgment circuit that determines whether all the data stored in each flip-flop of this shift register matches. a gate circuit that controls blocking or passing of the clock using the output of this determination circuit; and a holding circuit that holds and outputs the data of the flip-flop in the final stage of the shift register using the clock that has passed through the gate circuit. An erroneous setting prevention circuit characterized by comprising:
JP63205459A 1988-08-18 1988-08-18 Preventing circuit for erroneous setting action Pending JPH0254340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63205459A JPH0254340A (en) 1988-08-18 1988-08-18 Preventing circuit for erroneous setting action

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63205459A JPH0254340A (en) 1988-08-18 1988-08-18 Preventing circuit for erroneous setting action

Publications (1)

Publication Number Publication Date
JPH0254340A true JPH0254340A (en) 1990-02-23

Family

ID=16507228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63205459A Pending JPH0254340A (en) 1988-08-18 1988-08-18 Preventing circuit for erroneous setting action

Country Status (1)

Country Link
JP (1) JPH0254340A (en)

Similar Documents

Publication Publication Date Title
WO1997006491A1 (en) Synchronizing logic avoiding metastability
JPH0660932B2 (en) Diagnostic circuit for digital system
KR100711131B1 (en) Data transfer apparatus for system having plural clock domains
JPH0254340A (en) Preventing circuit for erroneous setting action
JPH1185304A (en) Clock input control circuit
JPH04132414A (en) Prevention circuit for unstable setting
JPH04101535A (en) Interface circuit
JPH0450657Y2 (en)
JP2810584B2 (en) Serial data transfer circuit
JPH10163821A (en) Initialization circuit
JP3116832B2 (en) LSI inspection method
KR100298350B1 (en) Automatic wan cable type detection circuit
JP2528219B2 (en) Status register device
KR950009571B1 (en) Self-check device in digital output port
JP2000259323A (en) Input signal control circuit
JPH0546105Y2 (en)
JPH06224714A (en) Chattering elimination circuit
JPH11296400A (en) Mode setting circuit
KR100438535B1 (en) Output selection circuit for communication system
US6601182B1 (en) Optimized static sliding-window for ACK sampling
JPH11224136A (en) Sampling circuit
JPH03255714A (en) Latch circuit with reset function
JPH05243916A (en) Flip-flop circuit provided with logic inversion error preventing function
JP2005236787A (en) Digital noise eliminator
JPH02139629A (en) Fifo buffer device