JP2000115186A - Parameter setting circuit - Google Patents

Parameter setting circuit

Info

Publication number
JP2000115186A
JP2000115186A JP28232798A JP28232798A JP2000115186A JP 2000115186 A JP2000115186 A JP 2000115186A JP 28232798 A JP28232798 A JP 28232798A JP 28232798 A JP28232798 A JP 28232798A JP 2000115186 A JP2000115186 A JP 2000115186A
Authority
JP
Japan
Prior art keywords
output
circuit
clock
main signal
parameter
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.)
Withdrawn
Application number
JP28232798A
Other languages
Japanese (ja)
Inventor
Minoru Sekiguchi
稔 関口
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP28232798A priority Critical patent/JP2000115186A/en
Publication of JP2000115186A publication Critical patent/JP2000115186A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a parameter setting circuit capable of preventing the racing generation of the input data and input clock of an F/F for outputting an operation parameter to the circuit of a main signal processing system and eliminating the possibility of setting an erroneous parameter to the F/F for outputting the operation parameter to the circuit of the main signal processing system. SOLUTION: The F/F 3 tentatively holds the information of the operation parameter set from an asynchronously operated device control system CPU completely different from a main signal processing system clock 101 as being asynchronous as it is. A differentiation circuit 5 monitors the clock input signals of the F/F 3, the rising edge of the clock input signals is detected, the output of a 2-1 selector 6 connected to the output of the F/F 3 is switched by the detection signals of the rising edge, the information of the set operation parameter is outputted to the F/F 4 and the information is held in the F/F 4.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はパラメータ設定回路
に関し、特にB−ISDN[BroadbandAsp
ects of ISDN(Integrated S
ervicesDigital Network):広
帯域ISDN]を実現するためのATM(Asynch
ronous Transfer Mode:非同期転
送モード)ネットワークにおいて用いられるATM伝送
装置のパラメータ設定回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parameter setting circuit, and more particularly to a B-ISDN [BroadbandAsp].
ects of ISDN (Integrated S
services Digital Network (ATM): ATM (Asynch) for Realizing Broadband ISDN]
TECHNICAL FIELD The present invention relates to a parameter setting circuit of an ATM transmission device used in a network (asynchronous transfer mode).

【0002】[0002]

【従来の技術】従来、この種のATM伝送装置は、B−
ISDNを実現するためのATMネットワークにおい
て、複数のATM伝送路相互間を接続し、ATMセルの
多重化処理や集線分離処理等を行い、バーチャルパスを
実現するために使用される装置である。
2. Description of the Related Art Conventionally, this type of ATM transmission apparatus has
In an ATM network for realizing ISDN, this is a device used for connecting a plurality of ATM transmission lines, performing multiplexing processing and line separation processing of ATM cells, and realizing a virtual path.

【0003】また、ATM伝送装置は非ATM信号であ
るデータや音声等の信号をATMネットワークを使用し
て伝送する場合に、非ATM信号をATMセル化してA
TM伝送路に送出し、ATM伝送路から受信したATM
セルから非ATM信号を再生するCLAD(Cell
Assembly and Dis−assembl
y)と呼ばれる機能を実現するための装置である。
[0003] When an ATM transmission device transmits a signal such as data or voice, which is a non-ATM signal, using an ATM network, the ATM transmission device converts the non-ATM signal into an ATM cell and transmits the data to an ATM cell.
ATM sent to TM transmission line and received from ATM transmission line
CLAD (Cell) for reproducing non-ATM signals from cells
Assembly and Dis-assembl
This is a device for realizing a function called y).

【0004】上記のATM伝送装置のようなディジタル
伝送装置において、主信号処理系の回路に対して装置制
御系CPU(中央処理装置)から動作パラメータを設定
するパラメータ設定回路としては、図5に示すような構
成となっている。すなわち、パラメータ設定回路はデコ
ーダ1と、オア(OR)ゲート2と、フリップフロップ
(以下、F/Fとする)3,4とから構成されている。
In a digital transmission device such as the above-described ATM transmission device, a parameter setting circuit for setting operation parameters from a device control system CPU (central processing unit) to a circuit of a main signal processing system is shown in FIG. It has such a configuration. That is, the parameter setting circuit includes a decoder 1, an OR (OR) gate 2, and flip-flops (hereinafter, referred to as F / F) 3, 4.

【0005】動作パラメータは一般的に複数種類あるた
め、夫々が別のアドレスに配置される制御系CPUのI
/O(入出力)レジスタとして用意されるのが、従来か
らの手法である。図5においてはF/F3がI/Oレジ
スタに相当する。
Generally, there are a plurality of types of operation parameters.
The conventional method is prepared as an / O (input / output) register. In FIG. 5, F / F3 corresponds to an I / O register.

【0006】デコーダ1は制御系アドレスバスをデコー
ドし、目的I/Oレジスタへのアクセス信号を生成す
る。オアゲート2はデコーダ1の出力信号と制御系CP
U(図示せず)からのライト信号とのオアを行う。F/
F3は制御系データバス102から目的のパラメータを
取込んで保持する。F/F4はF/F3の出力301を
主信号処理系クロック101に同期化する。ここで、F
/F3及びF/F4はクロック(CLK)信号の立上り
エッジでデータを保持するDフリップフロップである。
The decoder 1 decodes a control system address bus and generates an access signal to a target I / O register. The OR gate 2 outputs the output signal of the decoder 1 and the control system CP.
OR with a write signal from U (not shown). F /
F3 fetches and holds target parameters from the control system data bus 102. The F / F 4 synchronizes the output 301 of the F / F 3 with the main signal processing system clock 101. Where F
/ F3 and F / F4 are D flip-flops that hold data at the rising edge of the clock (CLK) signal.

【0007】一般的に制御系CPUの動作クロックは主
信号処理系クロック101とは全く非同期に動作してい
る。パラメータ設定回路では制御系CPUからの動作パ
ラメータを非同期のまま一旦F/F3に保持し、その後
にF/F3から主信号処理系クロック101で動作する
F/F4に出力して保持する。このようにして主信号処
理系クロック101に同期したパラメータ情報としてF
/F4から主信号処理系の回路(図示せず)に対して出
力される。
Generally, the operation clock of the control system CPU operates completely asynchronously with the main signal processing system clock 101. The parameter setting circuit temporarily holds the operation parameter from the control CPU in the F / F3 while keeping it asynchronous, and thereafter outputs and holds the operation parameter from the F / F3 to the F / F4 operated by the main signal processing system clock 101. As described above, the parameter information synchronized with the main signal processing system clock 101 is F
/ F4 to the main signal processing circuit (not shown).

【0008】ここで、デコーダ1は動作パラメータが複
数種類存在し、それらを取込んで保持するF/F3も複
数存在する場合に、どのF/F3で保持すべき動作パラ
メータかを判別するための信号を生成するのに用意され
た回路である。制御系CPUでは複数の動作パラメータ
の設定箇所をアドレスを分けて管理するのである。
Here, when there are a plurality of types of operation parameters and there are a plurality of F / Fs 3 which fetch and hold the operation parameters, the decoder 1 determines which F / F 3 is the operation parameter to be held. This is a circuit provided to generate a signal. The control CPU manages the setting locations of the plurality of operation parameters by dividing the addresses.

【0009】図5に示す設定回路の動作を図6のタイム
チャートに示す。ここでは、あるアドレスのF/F3に
ついての動作例を示すために制御系アドレスバスは省略
している。図6において、F/F3はオアゲート2の出
力信号の立上りエッジで制御系データバス102のデー
タをラッチして保持している。最初の立上りエッジでは
“7”という値を保持し、2番目の立上りエッジでは
“4”という値を保持している。
The operation of the setting circuit shown in FIG. 5 is shown in a time chart of FIG. Here, a control system address bus is omitted to show an operation example of F / F3 of a certain address. In FIG. 6, the F / F 3 latches and holds data on the control system data bus 102 at the rising edge of the output signal of the OR gate 2. The value “7” is held at the first rising edge, and the value “4” is held at the second rising edge.

【0010】次に、F/F4は主信号処理系クロック1
01のクロックパルスCK7の立上りエッジで“7”と
いう値を保持しているが、クロックパルスCK16の立
上りエッジではF/F3の出力301の変化点と競合す
るためにレーシングが発生し、“4”という値を保持す
べきところが“5”という値を保持してしまい、次のク
ロックパルスCK17の立上りエッジで正常な値である
“4”を保持している。この1クロックの間の“5”と
いう値によって主信号処理系の回路では誤動作を引起こ
す可能性が生じてしまうという問題がある。
Next, the F / F 4 is the main signal processing system clock 1
Although the value “7” is held at the rising edge of the clock pulse CK7 of “01”, racing occurs at the rising edge of the clock pulse CK16 because it competes with the change point of the output 301 of the F / F3, and “4” The value "5" is held where the value should be held, and the normal value "4" is held at the next rising edge of the clock pulse CK17. There is a problem that the value of "5" during one clock may cause a malfunction in the circuit of the main signal processing system.

【0011】この例では、パラメータ情報が0〜7まで
の値を持つ3ビット情報であり、クロックパルスCK1
6の立上りエッジではそのうちの最下位ビットがレーシ
ング発生のために“0”を保持すべきところ、前の値の
“1”を保持してしまった例である。
In this example, the parameter information is 3-bit information having a value from 0 to 7, and the clock pulse CK1
In the example of the rising edge of 6, the least significant bit should retain "0" for the occurrence of racing, but retain the previous value "1".

【0012】このように、図5に示すようなパラメータ
設定回路ではF/F3とF/F4との動作クロックが全
く非同期であった場合にレーシングが発生してしまうこ
とは避けられず、誤ったパラメータ情報が主信号処理系
の回路に出力されてしまうことは避けられないのであ
る。
As described above, in the parameter setting circuit as shown in FIG. 5, when the operation clocks of the F / F3 and the F / F4 are completely asynchronous, it is inevitable that racing will occur and an erroneous operation will occur. It is inevitable that the parameter information is output to the circuit of the main signal processing system.

【0013】[0013]

【発明が解決しようとする課題】上述した従来のディジ
タル伝送装置では、図5に示すような設定回路を用いて
主信号処理系の回路に対して装置制御系CPUから動作
パラメータを設定しているので、装置制御系CPUから
動作パラメータを受取るF/Fと主信号処理系の回路に
対して動作パラメータを出力するF/Fとのクロック立
上りエッジを検出し、その検出が競合した場合にレーシ
ングが発生し、誤ったパラメータ情報が主信号処理系の
回路に対して動作パラメータを出力するF/Fに設定さ
れてしまう可能性がある。
In the above-mentioned conventional digital transmission apparatus, the operation parameters are set by the apparatus control system CPU for the main signal processing system circuit using the setting circuit as shown in FIG. Therefore, the rising edge of the clock between the F / F that receives the operation parameter from the device control system CPU and the F / F that outputs the operation parameter to the circuit of the main signal processing system is detected. This may cause erroneous parameter information to be set in the F / F that outputs operation parameters to the main signal processing circuit.

【0014】そこで、本発明の目的は上記の問題点を解
消し、主信号処理系の回路に対して動作パラメータを出
力するF/Fの入力データと入力クロックとのレーシン
グ発生を防止することができ、主信号処理系の回路に対
して動作パラメータを出力するF/Fに誤ったパラメー
タが設定される可能性を排除することができるパラメー
タ設定回路を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems and to prevent occurrence of racing between input data of an F / F for outputting an operation parameter and an input clock to a circuit of a main signal processing system. It is another object of the present invention to provide a parameter setting circuit that can eliminate the possibility that an erroneous parameter is set in an F / F that outputs an operation parameter to a circuit of a main signal processing system.

【0015】[0015]

【課題を解決するための手段】本発明によるパラメータ
設定回路は、装置制御系の中央処理装置から主信号処理
系の回路に対する動作パラメータの設定を前記主信号系
の回路の動作とは非同期に設定するパラメータ設定回路
であって、前記装置制御系の中央処理装置から動作パラ
メータを受取って保持する第1の保持手段と、前記第1
の保持手段の保持内容を受取って前記主信号系の回路に
出力する第2の保持手段と、前記第1の保持手段と前記
第2の保持手段との間に配設されかつ前記第1の保持手
段の出力及び前記第2の保持手段の出力のうちの一方を
選択して前記第2の保持手段に出力する選択手段と、前
記装置制御系の中央処理装置からの動作パラメータの前
記第1の保持手段への設定を検出しかつ当該設定の検出
時に前記選択手段への切替信号を出力する検出手段とを
備えている。
A parameter setting circuit according to the present invention sets operation parameters for a main signal processing circuit from a central processing unit of an apparatus control system asynchronously with the operation of the main signal processing circuit. A first holding unit for receiving and holding an operation parameter from a central processing unit of the device control system;
A second holding means for receiving the content held by the holding means and outputting the content to the main signal system circuit; and a second holding means provided between the first holding means and the second holding means, and Selecting means for selecting one of the output of the holding means and the output of the second holding means and outputting the selected output to the second holding means; and the first control parameter of the operation parameter from the central processing unit of the apparatus control system. And detecting means for detecting a setting to the holding means and outputting a switching signal to the selecting means when the setting is detected.

【0016】ATM伝送装置において、主信号処理系の
回路の動作クロックと制御系CPU回路の動作クロック
とは一般的に全く別の非同期動作で動作するクロック信
号である。この場合、装置制御系CPUから主信号処理
系に対する動作パラメータの設定は主信号系回路動作と
全く非同期に設定される。
In the ATM transmission apparatus, the operation clock of the main signal processing circuit and the operation clock of the control CPU circuit are generally clock signals that operate in completely different asynchronous operations. In this case, the setting of the operation parameters from the device control system CPU to the main signal processing system is set completely asynchronously with the operation of the main signal system circuit.

【0017】本発明ではこの非同期に設定される動作パ
ラメータ情報を主信号系の動作クロックに乗せ換える回
路において、パラメータ設定が行われたタイミングが主
信号処理系の動作クロックと競合した場合でも主信号処
理系の動作に悪影響を与えず、誤動作が発生しないよう
にしたパラメータ設定回路を実現している。
According to the present invention, in the circuit for transferring the operation parameter information set asynchronously to the operation clock of the main signal system, the main signal is set even when the timing of the parameter setting conflicts with the operation clock of the main signal processing system. A parameter setting circuit that does not adversely affect the operation of the processing system and does not cause a malfunction is realized.

【0018】本発明は、従来例と同様に、ディジタル伝
送装置における主信号処理系の回路に対する装置制御系
CPUからの動作パラメータ設定回路に関するものであ
る。本発明は従来例の設定回路において、装置制御系C
PUから動作パラメータを受取る第1のF/Fと主信号
処理系の回路に対して動作パラメータを出力する第2の
F/Fとの間に2−1セレクタを追加し、さらに第1の
F/Fのクロック入力信号を微分回路に接続し、その出
力信号を2−1セレクタのセレクト信号に接続する構成
をとっている。
The present invention relates to an operation parameter setting circuit from a device control system CPU to a circuit of a main signal processing system in a digital transmission device as in the conventional example. According to the present invention, a device control system C
A 2-1 selector is added between a first F / F that receives an operation parameter from the PU and a second F / F that outputs an operation parameter to a circuit of the main signal processing system. A / F clock input signal is connected to a differentiating circuit, and its output signal is connected to a 2-1 selector select signal.

【0019】本発明では主信号処理系の回路の動作クロ
ックと全く別の非同期で動作する装置制御系CPUから
設定される動作パラメータの情報を第1のF/Fに非同
期のまま一旦保持する。これは従来例の場合と同様であ
る。
In the present invention, information on operation parameters set by the device control system CPU which operates completely asynchronously with the operation clock of the circuit of the main signal processing system is once held as asynchronous with the first F / F. This is the same as in the conventional example.

【0020】この第1のF/Fのクロック入力信号を微
分回路で監視し、第1のF/Fのクロック入力信号の立
上りエッジを検出する。この立上りエッジの検出信号に
よって、第1のF/Fの出力に接続された2−1セレク
タの出力を切替え、設定された動作パラメータの情報を
第2のF/Fに対して出力し、その第2のF/Fがそれ
を保持するようになっている。
The clock input signal of the first F / F is monitored by a differentiating circuit to detect a rising edge of the clock input signal of the first F / F. In response to the rising edge detection signal, the output of the 2-1 selector connected to the output of the first F / F is switched, and information on the set operation parameters is output to the second F / F. The second F / F holds it.

【0021】これによって、主信号処理系の回路に対す
るパラメータ情報の設定は第1のF/Fに対して装置制
御系CPUから設定されたことを検出した時にだけ、第
2のF/Fがパラメータ情報を取込むこととなり、第1
のF/Fの出力データの変化点と主信号処理系クロック
との間にレーシングが発生することがなくなり、従来例
で説明したように誤った値のパラメータ情報が主信号処
理系の回路に対して出力されることがなくなるのであ
る。
Accordingly, the setting of the parameter information for the circuit of the main signal processing system is performed only when the second F / F detects the setting of the first F / F from the device control system CPU. The information will be captured, and the first
No lacing occurs between the change point of the output data of the F / F and the clock of the main signal processing system, and parameter information having an incorrect value is transmitted to the main signal processing system circuit as described in the conventional example. It is no longer output.

【0022】[0022]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
るパラメータ設定回路の構成を示す図である。図におい
て、本発明の一実施例によるパラメータ設定回路はデコ
ーダ1と、オア(OR)ゲート2と、フリップフロップ
(以下、F/Fとする)3,4と、微分回路5と、2−
1セレクタ6とから構成されている。ここで、F/F3
は制御系CPU(図示せず)のI/Oレジスタ(図示せ
ず)に相当する。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a configuration of a parameter setting circuit according to one embodiment of the present invention. In the figure, a parameter setting circuit according to one embodiment of the present invention includes a decoder 1, an OR (OR) gate 2, flip-flops (hereinafter referred to as F / F) 3, 4, a differentiating circuit 5,
And one selector 6. Here, F / F3
Corresponds to an I / O register (not shown) of the control system CPU (not shown).

【0023】デコーダ1は制御系アドレスバスをデコー
ドし、目的のI/Oレジスタへのアクセス信号104を
生成する。オアゲート2はデコーダ1の出力信号104
と制御系CPUからのライト信号とのオアをとり、目的
のI/Oレジスタへの書込み信号201を生成する。
The decoder 1 decodes a control system address bus and generates an access signal 104 for accessing a target I / O register. OR gate 2 is the output signal 104 of decoder 1
And a write signal from the control system CPU to generate a write signal 201 to the target I / O register.

【0024】F/F3は制御系データバス信号102か
ら目的のパラメータ情報を取込んで保持する。F/F4
はパラメータ情報を主信号処理系クロック101に同期
化する。微分回路5はオアゲート2の出力信号201の
立上りエッジを検出する。
The F / F 3 takes in target parameter information from the control system data bus signal 102 and holds it. F / F4
Synchronizes the parameter information with the main signal processing system clock 101. The differentiating circuit 5 detects a rising edge of the output signal 201 of the OR gate 2.

【0025】2−1セレクタ6はF/F3の出力とF/
F4の入力との間に配置され、微分回路5の出力信号5
01によってF/F3の出力信号301をF/F4に対
して供給する。
The 2-1 selector 6 outputs the output of the F / F3 and the F / F
The output signal 5 of the differentiating circuit 5 is arranged between the input of F4
01 supplies an output signal 301 of the F / F3 to the F / F4.

【0026】2−1セレクタ6のA側入力にはF/F4
の出力信号すなわち主信号処理系へ出力されるパラメー
タ情報103が接続され、B側入力にはF/F3の出力
信号301が接続されている。2−1セレクタ6のセレ
クト制御信号には微分回路5の出力信号501が接続さ
れており、この出力信号501によって2−1セレクタ
6の出力が制御される。
2-1 F / F4 is input to the A side input of the selector 6
, Ie, parameter information 103 output to the main signal processing system, and an output signal 301 of the F / F 3 is connected to the B-side input. The output signal 501 of the differentiating circuit 5 is connected to the select control signal of the 2-1 selector 6, and the output of the 2-1 selector 6 is controlled by the output signal 501.

【0027】微分回路5は主信号処理系クロック101
で動作する2個の直列接続されたF/F5A,5Bと、
F/F5AのQ出力502とF/F5BのQバー出力
(反転出力)503とのアンド(AND)をとるアンド
ゲート5Cとから構成されている。微分回路5ではこれ
らの回路によってF/F5Aに入力される信号の立上り
エッジが検出され、アンドゲート5Cの出力すなわち微
分回路の出力501として出力される。
The differentiating circuit 5 has a main signal processing system clock 101.
Two series-connected F / Fs 5A and 5B operating on
It comprises an AND gate 5C for ANDing the Q output 502 of the F / F 5A and the Q bar output (inverted output) 503 of the F / F 5B. In the differentiating circuit 5, the rising edge of the signal input to the F / F 5A is detected by these circuits and output as the output of the AND gate 5C, that is, the output 501 of the differentiating circuit.

【0028】この出力501は主信号処理系クロック1
01の1クロック幅の“H”のパルスとなる。図1に示
す回路では微分回路5の入力にオアゲート2の出力20
1が接続されているので、微分回路5の出力501はF
/F3に対して制御系CPUからパラメータ情報が設定
されたことを示す信号となる。
This output 501 is the main signal processing system clock 1
It becomes a pulse of “H” having one clock width of 01. In the circuit shown in FIG. 1, the output of the OR gate 2 is
1 is connected, the output 501 of the differentiating circuit 5 is F
/ F3 is a signal indicating that parameter information has been set from the control system CPU.

【0029】この微分回路5の出力501で2−1セレ
クク6の出力制御を行っているため、F/F3に対して
制御系CPUからパラメータ情報が設定された直後の1
クロック幅の間だけ2−1セレクタ6の出力にはB側の
入力が選択され、制御系CPUからF/F3に設定され
たパラメータ情報が出力される。
Since the output 501 of the differentiating circuit 5 controls the output of the 2-1 select 6, the 1 immediately after the control system CPU sets the parameter information for the F / F3.
The input on the B side is selected as the output of the 2-1 selector 6 only during the clock width, and the control system CPU outputs the parameter information set in the F / F3.

【0030】次の主信号系処理クロック101の立上り
エッジでそれがF/F4に保持されることとなる。その
後は2−1セレクタ6の出力には再びA側入力が選択さ
れて出力されるため、F/F4は値を保持し続けること
になる。
At the next rising edge of the main signal processing clock 101, it is held in the F / F4. Thereafter, the A-side input is again selected and output as the output of the 2-1 selector 6, so that the F / F 4 keeps holding the value.

【0031】このF/F4の出力は2−1セレクタ6の
A側入力としてフィードバックされるだけでなく、パラ
メータ情報103として主信号処理系の回路(図示せ
ず)に対して出力される。
The output of the F / F 4 is not only fed back as an A-side input of the 2-1 selector 6 but also output as parameter information 103 to a main signal processing system circuit (not shown).

【0032】図2は本発明の一実施例によるパラメータ
設定回路の動作を示すタイムチャートである。図におい
て、CK1〜CK19の符号は主信号処理系クロック1
01の個々のパルスを示すために便宜上つけた符号であ
る。
FIG. 2 is a time chart showing the operation of the parameter setting circuit according to one embodiment of the present invention. In the figure, reference numerals CK1 to CK19 denote main signal processing system clock 1
This is a reference numeral added for convenience to indicate 01 individual pulses.

【0033】また、図2においてはある特定のアドレス
のI/OレジスタであるF/F3に対しての制御系CP
Uからのパラメータ情報の設定を示しているので、制御
系アドレスバス及びチップセレクト信号のデコーダ1の
動作に関する信号は省略している。すなわち、デコーダ
1の出力信号104は“L”レベルがでていると仮定し
ている。また、この場合、ライト信号入力もそのままオ
アゲート2の出力201となるので省略している。
In FIG. 2, the control system CP for the F / F3, which is an I / O register at a specific address, is shown.
Since the setting of the parameter information from U is shown, the control system address bus and the signal relating to the operation of the decoder 1 of the chip select signal are omitted. That is, it is assumed that the output signal 104 of the decoder 1 has an "L" level. In this case, the write signal input is also omitted as it is the output 201 of the OR gate 2 as it is.

【0034】図2においてオアゲート2の出力信号20
1の立上りエッジでF/F3は制御系データバス102
からのデータをラッチして保持している。最初の立上り
エッジでは“7”という値を保持し、2番目の立上りエ
ッジでは“4”という値を保持している。これを表して
いるのがF/F3の出力301である。ここで、“X”
という値は何でも良いことを示しており、図2のタイム
チャートで書き現す以前の時間に設定されたパラメータ
の値である。
In FIG. 2, the output signal 20 of the OR gate 2 is shown.
1 at the rising edge of the control system data bus 102
And latches and holds the data. The value “7” is held at the first rising edge, and the value “4” is held at the second rising edge. This is indicated by the output 301 of F / F3. Where "X"
Indicates that any value may be used, and is a value of a parameter set at a time before writing in the time chart of FIG.

【0035】また、F/F5Aがオアゲート2の出力2
01を主信号処理系クロック101でラッチした信号が
F/F5AのQ出力502である。図2ではオアゲート
2の出力201の2番目の立下りがクロックパルスCK
13の立上りと、またその立上りがクロックパルスCK
16の立上りと夫々レーシングを起こす可能性がある
が、F/F5AがクロックパルスCK15,CK17の
立上りで正常にラッチできるので問題とならない。
The F / F 5A is connected to the output 2 of the OR gate 2.
A signal obtained by latching 01 with the main signal processing system clock 101 is the Q output 502 of the F / F 5A. In FIG. 2, the second falling edge of the output 201 of the OR gate 2 corresponds to the clock pulse CK.
13 and the rising edge of the clock pulse CK
There is a possibility that racing may occur at the rising edge of the clock pulse 16, but no problem occurs because the F / F 5 A can be normally latched at the rising edge of the clock pulses CK 15 and CK 17.

【0036】次に、F/F5Aの出力502を主信号処
理系クロック101でラッチしたF/F5BのQバー出
力が503である。これらの出力502,503をアン
ドしたものがアンドゲート5Cの出力501である。こ
の出力501で2−1セレクタ6を制御している。
Next, the output Q of the F / F 5B obtained by latching the output 502 of the F / F 5A with the main signal processing system clock 101 is 503. The AND of these outputs 502 and 503 is the output 501 of the AND gate 5C. The output 501 controls the 2-1 selector 6.

【0037】出力501が“H”である時に2−1セレ
クタ6の出力601にはF/F3の出力301が選ば
れ、それをF/F4が主信号処理系クロック101でラ
ッチした出力が103である。図2ではクロックパルス
CK8の立上りで“7”、クロックパルスCK18の立
上りで“4”を夫々ラッチしている。ここでのF/F4
の入力は2−1セレクタ6で選択されたF/F3の出力
301の値である。
When the output 501 is "H", the output 301 of the F / F 3 is selected as the output 601 of the 2-1 selector 6, and the output 301 latched by the F / F 4 with the main signal processing system clock 101 is 103. It is. In FIG. 2, "7" is latched at the rising edge of the clock pulse CK8, and "4" is latched at the rising edge of the clock pulse CK18. F / F4 here
Is the value of the output 301 of the F / F 3 selected by the 2-1 selector 6.

【0038】また、出力501は主信号処理系クロック
101で動作するF/Fの出力で生成された信号である
ため、その変化点は主信号処理系クロック101の立上
りエッジよりも遅れている。さらに、この出力501で
選択される2−1セレクタ6の出力601はさらに遅延
が加わっている。これらのことから、F/F4ではレー
シングが発生しない。
Since the output 501 is a signal generated at the output of the F / F operating on the main signal processing system clock 101, its change point is later than the rising edge of the main signal processing system clock 101. Further, the output 601 of the 2-1 selector 6 selected by the output 501 is further delayed. For these reasons, no racing occurs in the F / F4.

【0039】従来例の動作を示す図6のタイムチャート
ではオアゲート2の出力201の立上りエッジとクロッ
クパルスCK16の立上りエッジとが競合し、レーシン
グが発生してF/F4の出力103に“5”という誤っ
た値が発生しているが、本発明の一実施例の動作を示す
図2のタイムチャートではオアゲート2の出力201の
立上りエッジとクロックパルスCK16の立上りエッジ
とが競合しても、F/F4でレーシングが発生すること
はなく、その出力103に誤った値が発生することはな
い。
In the time chart of FIG. 6 showing the operation of the conventional example, the rising edge of the output 201 of the OR gate 2 and the rising edge of the clock pulse CK16 compete with each other, so that racing occurs and the output 103 of the F / F 4 becomes "5". In the time chart of FIG. 2 showing the operation of the embodiment of the present invention, even if the rising edge of the output 201 of the OR gate 2 and the rising edge of the clock pulse CK16 conflict with each other, No racing occurs at / F4, and no erroneous value occurs at its output 103.

【0040】尚、本発明の一実施例において主信号処理
系クロック101で動作する各F/Fの間ではレーシン
グが起きないように遅延計算がされ、その計算結果にし
たがって各F/Fが配置されているものとする。
In one embodiment of the present invention, a delay calculation is performed between each F / F operated by the main signal processing system clock 101 so that no racing occurs, and each F / F is arranged according to the calculation result. It is assumed that

【0041】本発明の一実施例では上述したように動作
するが、本発明の一実施例によるパラメータ設定回路を
適用するためには重要な条件があるため、その条件につ
いて以下に説明する。
In the embodiment of the present invention, the operation is performed as described above. However, there are important conditions for applying the parameter setting circuit according to the embodiment of the present invention, and these conditions will be described below.

【0042】本発明の一実施例では微分回路5において
主信号処理系クロック101で動作するF/Fを使用
し、微分回路5の入力であるオアゲート2の出力201
の立上りエッジ検出パルスを生成しているが、この微分
回路5の構成で入力信号の立上りエッジを確実に検出す
るためには、微分回路5の動作クロックの周期、本発明
の一実施例によるパラメータ設定回路では主信号処理系
クロック101の周期以上の時間の“L”の区間と
“H”の区間とが入力信号には必要である。また、入力
信号が一旦立下ってから次に立下るまでの周期にもある
時間が必要である。
In one embodiment of the present invention, an F / F operated by the main signal processing system clock 101 is used in the differentiating circuit 5, and an output 201 of the OR gate 2 which is an input of the differentiating circuit 5 is used.
In order to reliably detect the rising edge of the input signal in the configuration of this differentiating circuit 5, the period of the operation clock of the differentiating circuit 5, the parameter according to one embodiment of the present invention, In the setting circuit, an “L” section and an “H” section that are longer than the period of the main signal processing system clock 101 are required for the input signal. Also, a certain period is required in a cycle from the fall of the input signal to the fall of the input signal.

【0043】図3は本発明の一実施例によるパラメータ
設定回路の一例が適用可能な条件を説明するための図で
あり、図4は本発明の一実施例によるパラメータ設定回
路の一例が適用不可能な条件を説明するための図であ
る。
FIG. 3 is a diagram for explaining conditions to which an example of a parameter setting circuit according to an embodiment of the present invention can be applied. FIG. 4 does not apply to an example of a parameter setting circuit according to an embodiment of the present invention. It is a figure for explaining a possible condition.

【0044】本発明の一実施例によるパラメータ設定回
路において、主信号処理系クロック101の周期をtと
し、オアゲート2の出力201の“L”である時間をt
1、またある立下りエッジから次の立下りエッジまでの
周期をt2とした時、t1≧tであり、t2≧3tでな
ければならない。
In the parameter setting circuit according to one embodiment of the present invention, the period of the main signal processing system clock 101 is t, and the time when the output 201 of the OR gate 2 is "L" is t.
1, and when the period from one falling edge to the next falling edge is t2, t1 ≧ t and t2 ≧ 3t must be satisfied.

【0045】すなわち、制御系CPUからのライト信号
は“L”である時間が主信号処理系クロック101の周
期以上であり、かつ制御系CPUからの同一のI/Oレ
ジスタに対するパラメータ設定の最低周期は主信号処理
系クロック101の周期の3倍以上でなけれぼならない
ということである。
That is, the time during which the write signal from the control CPU is "L" is equal to or longer than the cycle of the main signal processing clock 101, and the minimum cycle of parameter setting for the same I / O register from the control CPU. Means that the period of the main signal processing system clock 101 must be three times or more.

【0046】図3はt1=t,t2=3tの場合の微分
回路5のタイムチャートである。すなわち、図3は本発
明の一実施例によるパラメータ設定回路の一例が適用可
能な条件を説明するための図である。
FIG. 3 is a time chart of the differentiating circuit 5 when t1 = t and t2 = 3t. That is, FIG. 3 is a diagram for explaining conditions to which an example of the parameter setting circuit according to one embodiment of the present invention can be applied.

【0047】図3ではオアゲート2の出力201の
“L”及び“H”の時間がいずれもt以上であるため、
F/F5Aがオアゲート2の出力の“L”及び“H”を
確実にラッチすることができており、各信号はタイムチ
ャートのようになり、正常に微分回路5の出力も生成さ
れ、F/F4はクロックパルスCK31,CK32の立
上りエッジで正常にF/F3の出力をラッチすることが
できる。
In FIG. 3, since the "L" and "H" times of the output 201 of the OR gate 2 are both longer than t,
The F / F 5A can reliably latch the "L" and "H" of the output of the OR gate 2, and each signal becomes as shown in a time chart, and the output of the differentiating circuit 5 is normally generated. F4 can normally latch the output of F / F3 at the rising edge of clock pulses CK31 and CK32.

【0048】図4がt1=t,t2=2tの場合の微分
回路5のタイムチャートである。すなわち、図4は本発
明の一実施例によるパラメータ設定回路の一例が適用不
可能な条件を説明するための図である。
FIG. 4 is a time chart of the differentiating circuit 5 when t1 = t and t2 = 2t. That is, FIG. 4 is a diagram for explaining conditions to which an example of the parameter setting circuit according to one embodiment of the present invention cannot be applied.

【0049】図4ではオアゲート2の出力201の
“L”及び“H”の時間がいずれもt以上であるため、
F/F5Aがオアゲート2の出力の“L”及び“H”を
確実にラッチすることができており、各信号はタイムチ
ャートのようになり、正常に微分回路5の出力も生成さ
れる。
In FIG. 4, since the "L" and "H" times of the output 201 of the OR gate 2 are both equal to or longer than t,
The F / F 5A can surely latch "L" and "H" of the output of the OR gate 2, and each signal becomes as shown in a time chart, and the output of the differentiating circuit 5 is normally generated.

【0050】しかしながら、クロックパルスCK41の
立上りエッジでF/F4がF/F3の出力をラッチする
時、同時にF/F3のクロック入力すなわちオアゲート
2の出力201も立上るため、F/F4でレーシングが
発生してしまい、F/F4が誤った値をラッチする可能
性がある。したがって、t1=t,t2=2tの条件の
場合、本発明の一実施例によるパラメータ設定回路は適
用できないのである。
However, when the F / F4 latches the output of the F / F3 at the rising edge of the clock pulse CK41, the clock input of the F / F3, that is, the output 201 of the OR gate 2 also rises at the same time. This may cause the F / F 4 to latch an erroneous value. Therefore, when t1 = t and t2 = 2t, the parameter setting circuit according to the embodiment of the present invention cannot be applied.

【0051】上記の内容が本発明の一実施例によるパラ
メータ設定回路への適用が可能となる条件であるが、A
TM伝送装置の場合、主信号処理系クロック101は非
常に高速であるため、制御系CPUの動作クロックより
も早いのが一般的である。また、主信号処理系に対する
動作パラメータ設定が頻繁に必要なこともありえないこ
となので、これらの条件は問題とはならないのである。
The above conditions are conditions that can be applied to the parameter setting circuit according to one embodiment of the present invention.
In the case of a TM transmission device, the main signal processing system clock 101 is very high-speed, so that it is generally faster than the operation clock of the control system CPU. In addition, since it is unlikely that the operation parameter setting for the main signal processing system is frequently required, these conditions do not cause any problem.

【0052】このように、装置制御系CPUから動作パ
ラメータを受取るF/F3と主信号処理系の回路に対し
て動作パラメータを出力するF/F4との間に2−1セ
レクタ6を追加し、さらにF/F3のクロック入力信号
を微分回路5に接続し、その出力信号501を2−1セ
レクタ6のセレクト信号に接続している。
As described above, the 2-1 selector 6 is added between the F / F 3 for receiving the operation parameters from the device control system CPU and the F / F 4 for outputting the operation parameters to the main signal processing system circuit. Further, the clock input signal of the F / F 3 is connected to the differentiating circuit 5, and the output signal 501 is connected to the select signal of the 2-1 selector 6.

【0053】つまり、主信号処理系クロック101と全
く別の非同期で動作する装置制御系CPUから設定され
る動作パラメータの情報をF/F3に非同期のまま一旦
保持し、F/F3のクロック入力信号を微分回路5で監
視し、F/F3のクロック入力信号の立上りエッジを検
出し、その立上りエッジの検出信号によってF/F3の
出力に接続された2−1セレクタ6の出力を切替え、設
定された動作パラメータの情報をF/F4に対して出力
し、そのF/F4がそれを保持することによって、主信
号処理系の回路に対するパラメータ情報の設定がF/F
3に対して装置制御系CPUから設定されたことを検出
した時にだけ、F/F4がパラメータ情報を取込むこと
となる。
That is, the information of the operation parameter set from the device control system CPU which operates completely asynchronously with the main signal processing system clock 101 is temporarily held in the F / F3 as asynchronous, and the clock input signal of the F / F3 is held. Is monitored by the differentiating circuit 5, the rising edge of the clock input signal of the F / F3 is detected, and the output of the 2-1 selector 6 connected to the output of the F / F3 is switched and set by the detection signal of the rising edge. The information of the operating parameters is output to the F / F 4, and the F / F 4 holds the information, so that the setting of the parameter information for the circuit of the main signal processing system is performed by the F / F 4.
The F / F 4 takes in the parameter information only when it is detected that the setting has been made by the device control system CPU with respect to 3.

【0054】したがって、F/F3の出力データの変化
点と主信号処理系クロック101との間にレーシングす
ることがなくなり、従来例で説明したように誤った値の
パラメータ情報が主信号処理系の回路に対して出力され
ることがなくなる。
Therefore, no racing occurs between the change point of the output data of the F / F 3 and the main signal processing system clock 101, and the parameter information of an erroneous value is stored in the main signal processing system as described in the conventional example. No signal is output to the circuit.

【0055】上記の如く、微分回路5でF/F3のクロ
ック入力のパルスでF/F3とF/F4との間に配置し
た2−1セレクタ6を制御することで、F/F4の入力
データと入力クロックとのレーシング発生を防止し、F
/F4に誤ったパラメータが設定される可能性を排除す
ることができる。
As described above, by controlling the 2-1 selector 6 disposed between F / F3 and F / F4 by the pulse of the clock input of F / F3 by the differentiating circuit 5, the input data of F / F4 is controlled. Prevents the occurrence of racing between the input clock and
It is possible to eliminate the possibility that an incorrect parameter is set in / F4.

【0056】[0056]

【発明の効果】以上説明したように本発明によれば、装
置制御系の中央処理装置から主信号処理系の回路に対す
る動作パラメータの設定を主信号系の回路の動作とは非
同期に設定するパラメータ設定回路において、装置制御
系の中央処理装置から動作パラメータを受取って保持す
る第1のF/Fと、第1のF/Fの保持内容を受取って
主信号系の回路に出力する第2のF/Fとの間に第1の
F/Fの出力及び第2のF/Fの出力のうちの一方を選
択して第2のF/Fに出力する2−1セレクタを配設
し、装置制御系の中央処理装置からの動作パラメータの
第1のF/Fへの設定を検出した時に2−1セレクタへ
の切替信号を出力することによって、第2のF/Fの入
力データと入力クロックとのレーシング発生を防止する
ことができ、第2のF/Fに誤ったパラメータが設定さ
れる可能性を排除することができるという効果がある。
As described above, according to the present invention, the parameter for setting the operation parameters for the circuit of the main signal processing system from the central processing unit of the device control system asynchronously with the operation of the circuit of the main signal system. A setting circuit for receiving a first operating parameter from the central processing unit of the apparatus control system and holding the first operating mode; and a second F / F for receiving the stored content of the first F / F and outputting to the main signal system circuit A 2-1 selector for selecting one of the output of the first F / F and the output of the second F / F and outputting the selected output to the second F / F between the F / F; When a setting of an operation parameter from the central processing unit of the device control system to the first F / F is detected, a switching signal to the 2-1 selector is output, so that input data and input of the second F / F are input. The occurrence of racing with the clock can be prevented, and the second / Wrong parameter F is an effect that it is possible to eliminate the possibility of setting.

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

【図1】本発明の一実施例によるパラメータ設定回路の
構成を示す図である。
FIG. 1 is a diagram showing a configuration of a parameter setting circuit according to one embodiment of the present invention.

【図2】本発明の一実施例によるパラメータ設定回路の
動作を示すタイムチャートである。
FIG. 2 is a time chart showing an operation of a parameter setting circuit according to one embodiment of the present invention.

【図3】本発明の一実施例によるパラメータ設定回路の
一例が適用可能な条件を説明するための図である。
FIG. 3 is a diagram for explaining conditions to which an example of a parameter setting circuit according to an embodiment of the present invention can be applied;

【図4】本発明の一実施例によるパラメータ設定回路の
一例が適用不可能な条件を説明するための図である。
FIG. 4 is a diagram for explaining conditions to which an example of a parameter setting circuit according to an embodiment of the present invention cannot be applied;

【図5】従来例によるパラメータ設定回路の構成を示す
図である。
FIG. 5 is a diagram showing a configuration of a parameter setting circuit according to a conventional example.

【図6】従来例によるパラメータ設定回路の動作を示す
タイムチャートである。
FIG. 6 is a time chart showing an operation of a parameter setting circuit according to a conventional example.

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

1 デコーダ 2 オアゲート 3,4 フリップフロップ 5 微分回路 6 2−1セレクタ Reference Signs List 1 decoder 2 OR gate 3, 4 flip-flop 5 differentiating circuit 6 2-1 selector

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 装置制御系の中央処理装置から主信号処
理系の回路に対する動作パラメータの設定を前記主信号
系の回路の動作とは非同期に設定するパラメータ設定回
路であって、前記装置制御系の中央処理装置から動作パ
ラメータを受取って保持する第1の保持手段と、前記第
1の保持手段の保持内容を受取って前記主信号系の回路
に出力する第2の保持手段と、前記第1の保持手段と前
記第2の保持手段との間に配設されかつ前記第1の保持
手段の出力及び前記第2の保持手段の出力のうちの一方
を選択して前記第2の保持手段に出力する選択手段と、
前記装置制御系の中央処理装置からの動作パラメータの
前記第1の保持手段への設定を検出しかつ当該設定の検
出時に前記選択手段への切替信号を出力する検出手段と
を有することを特徴とするパラメータ設定回路。
1. A parameter setting circuit for setting operation parameters for a circuit of a main signal processing system from a central processing unit of a device control system asynchronously with the operation of the circuit of the main signal system. A first holding unit for receiving and holding an operation parameter from the central processing unit of the above, a second holding unit for receiving the held content of the first holding unit and outputting the received content to a circuit of the main signal system, And one of the output of the first holding means and the output of the second holding means is selected between the holding means and the second holding means, and is selected by the second holding means. Selecting means for outputting,
Detecting means for detecting a setting of the operation parameter from the central processing unit of the apparatus control system to the first holding means and outputting a switching signal to the selecting means when the setting is detected. Parameter setting circuit.
【請求項2】 前記検出手段は、前記第1の保持手段へ
のクロック入力信号の立上りエッジを検出する手段を含
み、この立上りエッジの検出時に前記選択手段への切替
信号を出力するようにしたことを特徴とする請求項1記
載のパラメータ設定回路。
2. The apparatus according to claim 1, wherein said detecting means includes means for detecting a rising edge of a clock input signal to said first holding means, and outputs a switching signal to said selecting means when said rising edge is detected. 2. The parameter setting circuit according to claim 1, wherein:
【請求項3】 前記検出手段は、前記立上りエッジを検
出する微分回路からなることを特徴とする請求項2記載
のパラメータ設定回路。
3. The parameter setting circuit according to claim 2, wherein said detecting means comprises a differentiating circuit for detecting said rising edge.
【請求項4】 前記選択手段は、前記検出手段からの前
記切替信号の入力時に前記第1の保持手段の保持内容を
前記第2の保持手段に出力するよう構成したことを特徴
とする請求項1から請求項3のいずれか記載のパラメー
タ設定回路。
4. The apparatus according to claim 1, wherein said selection means outputs the contents held by said first holding means to said second holding means when said switching signal is input from said detection means. The parameter setting circuit according to any one of claims 1 to 3.
JP28232798A 1998-10-05 1998-10-05 Parameter setting circuit Withdrawn JP2000115186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28232798A JP2000115186A (en) 1998-10-05 1998-10-05 Parameter setting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28232798A JP2000115186A (en) 1998-10-05 1998-10-05 Parameter setting circuit

Publications (1)

Publication Number Publication Date
JP2000115186A true JP2000115186A (en) 2000-04-21

Family

ID=17650979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28232798A Withdrawn JP2000115186A (en) 1998-10-05 1998-10-05 Parameter setting circuit

Country Status (1)

Country Link
JP (1) JP2000115186A (en)

Similar Documents

Publication Publication Date Title
US6493818B2 (en) Technique for pipelining synchronization to maintain throughput across two asynchronous clock domain boundaries
US5274678A (en) Clock switching apparatus and method for computer systems
EP1040404B1 (en) Method and apparatus for coupling signals between two circuits operating in different clock domains
US4835728A (en) Deterministic clock control apparatus for a data processing system
US4740891A (en) Asynchronous state machine
US6249875B1 (en) Interface circuit using plurality of synchronizers for synchronizing respective control signals over a multi-clock environment
EP0226017A2 (en) Data synchronizer between a source system and a sink system
JP2002507856A (en) System and method for multiplexing serial links
US5857005A (en) Method and apparatus for synchronizing transfer of data between memory cells
JPH07147573A (en) Dynamic clock switching circuit
US5781802A (en) First-in-first-out (FIFO) controller for buffering data between systems which are asynchronous and free of false flags and internal metastability
US4672646A (en) Direct-injection FIFO shift register
EP0080902B1 (en) Semiconductor memory device
US4500953A (en) Data transfer abnormality processing system
JPS61128180A (en) Self-testing equipment
US9218030B2 (en) Programming interface and method
JPH11163864A (en) Cell buffer circuit
JP2000115186A (en) Parameter setting circuit
JPH09306162A (en) Control system for dram
JP3765547B2 (en) FIFO status indicator
KR100337059B1 (en) Elastic bus interface data buffer
US6055588A (en) Single stage FIFO memory with a circuit enabling memory to be read from and written to during a single cycle from a single clock
EP0891581A1 (en) Fifo memory system
JP2752806B2 (en) Cell phase transfer circuit
JP2000029563A (en) System having operation timing control function

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060110