[go: up one dir, main page]

JPH08181577A - Digital signal generator - Google Patents

Digital signal generator

Info

Publication number
JPH08181577A
JPH08181577A JP6335721A JP33572194A JPH08181577A JP H08181577 A JPH08181577 A JP H08181577A JP 6335721 A JP6335721 A JP 6335721A JP 33572194 A JP33572194 A JP 33572194A JP H08181577 A JPH08181577 A JP H08181577A
Authority
JP
Japan
Prior art keywords
flip
flop
exclusive
digital signal
output signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6335721A
Other languages
Japanese (ja)
Inventor
Fujihiko Omiya
不二彦 大宮
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.)
Tektronix Japan Ltd
Original Assignee
Sony Tektronix 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 Sony Tektronix Corp filed Critical Sony Tektronix Corp
Priority to JP6335721A priority Critical patent/JPH08181577A/en
Publication of JPH08181577A publication Critical patent/JPH08181577A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To generate a digital signal similarly to the case with driving the generator by a clock signal frequency being a K-fold without changing the clock signal frequency. CONSTITUTION: Flip-flop circuits D1, D3, D5, D7, D9, D11, D13, D15 are connected in cascade to form a 1st shift register and flip-flop circuits D2, D4, D6, D8, D10, D12, D14 are connected in cascade to form a 2nd shift register. An exclusive OR gate E2 receives an output signal of the flip-flop circuits D14, D15 and provides an output signal subject to logic processing to the flip-flop D2. An exclusive OR gate E1 receives an output signal of the flip-flop circuits D13, D14 and provides an output signal subject to logic processing to the flip- flop D1. The 1st and 2nd shift registers are shifted and a pseudo random digital signal is obtained from a desired flip-flop.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はデジタル信号発生器、特
に、疑似ランダム・デジタル信号を発生するデジタル信
号発生器に関する。
FIELD OF THE INVENTION This invention relates to digital signal generators, and more particularly to digital signal generators for generating pseudo-random digital signals.

【0002】[0002]

【従来の技術】疑似ランダム・デジタル信号は、種々の
分野に利用されている。例えば、通信回線のエラーを試
験する際には、PRBS手法により発生した疑似ランダ
ム・デジタル信号を試験用デジタル信号として通信回線
に供給し、この通信回線からの出力信号を監視する。ま
た、疑似ランダム・デジタル信号は、種々のデジタル回
路の試験にも利用できる。
2. Description of the Related Art Pseudo-random digital signals are used in various fields. For example, when testing an error in a communication line, a pseudo-random digital signal generated by the PRBS method is supplied to the communication line as a test digital signal and the output signal from this communication line is monitored. The pseudo-random digital signal can also be used to test various digital circuits.

【0003】図5は、PRBS手法により疑似ランダム
・デジタル信号を発生する従来のデジタル信号発生器を
示す。D型フリップ・フロップD1〜D15を縦続接
続、即ち、前段のフリップ・フロップのQ出力端子を次
段のフリップ・フロップのD入力端子に接続して、シフ
ト・レジスタとする。排他的オア・ゲートは、フリップ
・フロップD15の入力信号及び出力信号を排他的論理
和処理をするロジック回路であり、処理した出力信号を
フリップ・フロップD1の入力端子に供給する。なお、
図示しないが、フリップ・フロップD1〜D15の各々
のクロック端子には、共通のクロック信号が供給され
る。
FIG. 5 shows a conventional digital signal generator which generates a pseudo-random digital signal by the PRBS method. The D-type flip-flops D1 to D15 are connected in cascade, that is, the Q output terminal of the flip-flop of the previous stage is connected to the D input terminal of the flip-flop of the next stage to form a shift register. The exclusive OR gate is a logic circuit that performs an exclusive OR processing of the input signal and the output signal of the flip-flop D15, and supplies the processed output signal to the input terminal of the flip-flop D1. In addition,
Although not shown, a common clock signal is supplied to each clock terminal of the flip-flops D1 to D15.

【0004】図5の回路動作において、先ず、フリップ
・フロップD1〜D15の総てを1にプリセットする。
次に、クロック信号によりフリップ・フロップD1〜D
15に蓄積されたデジタル・データを順次シフトする。
この状態を表1に示す。
In the circuit operation of FIG. 5, first, all the flip-flops D1 to D15 are preset to 1.
Next, the flip-flops D1 to D are driven by the clock signal.
The digital data stored in 15 are sequentially shifted.
This state is shown in Table 1.

【表1】 この表1において、最上行の1〜15は、フリップ・フ
ロップの番号を表し、左端縦行は、クロックの発生回数
に応じた状態番号を表す。すなわち、最初の状態1で
は、フリップ・フロップD1〜D15の総ての蓄積状
態、即ち、出力デジタル状態が総て1である。次に、ク
ロック信号により蓄積したデジタル信号を1段だけシフ
トして状態2にすると、フリップ・フロップD1のみに
蓄積されたデジタル信号が0となり、他のフリップ・フ
ロップのデジタル信号は1となる。以下、順次同様な動
作を繰り返す。出力信号は、フリップ・フロップD15
の出力信号を受ける出力端子10から得る。図5のデジ
タル信号発生器では、フリップ・フロップが15段なの
で、2の15乗マイナス1のクロック信号により1巡す
る疑似ランダムのデジタル・パターン(総てが0の場合
を除く)が得られる。もちろん、用途に応じて、1個又
は複数の任意のフリップ・フロップから出力信号を得て
もよい。
[Table 1] In Table 1, 1 to 15 in the top row represent the flip-flop numbers, and the leftmost vertical row represents the state numbers corresponding to the number of clock generations. That is, in the first state 1, all the storage states of the flip-flops D1 to D15, that is, the output digital states are all 1. Next, when the digital signal accumulated by the clock signal is shifted by one stage to the state 2, the digital signal accumulated only in the flip-flop D1 becomes 0, and the digital signals of the other flip-flops become 1. Hereinafter, the same operation is sequentially repeated. The output signal is the flip-flop D15.
Is obtained from the output terminal 10 for receiving the output signal of. In the digital signal generator of FIG. 5, since there are 15 stages of flip-flops, a pseudo-random digital pattern (excluding the case where all are 0) makes one round by a clock signal of 2 15 −1. Of course, the output signal may be obtained from one or more arbitrary flip-flops depending on the application.

【0005】PRBS手法により発生した疑似ランダム
・デジタル信号を用いて通信回線の試験を行う場合に、
この疑似ランダム・デジタル信号を更にCRC−5手法
で処理した後に、通信回線に供給する場合がある。この
CRC−5手法において、例えば、CRCメッセージ・
ブロック(CMB)は、第1フレームの第1ビットから
始まり、第4フレームの第784ビットで終わる連続し
た3151ビットのシーケンスである。メッセージ・ブ
ロック・チェック・ビット(CRC−5ビット)e1、
e2、e3、e4及びe5は、マルチフレームの最後の
5ビットに配置する。S番目のマルチフレームにおいて
伝送されるチェック・ビット列e1〜e5は、S番目の
CMBにX**5(Xの5乗)を乗じ、しかる後に生成多
項式X**5+X**4+X**2+1で除した(モジュロ
2)の余りである。このようなチェック・ビット列e1
〜e5であるデジタル信号を発生する従来回路を図6に
示す。
When a communication line is tested using a pseudo-random digital signal generated by the PRBS method,
The pseudo random digital signal may be further processed by the CRC-5 method and then supplied to the communication line. In this CRC-5 method, for example, a CRC message
A block (CMB) is a continuous 3151-bit sequence that starts at the first bit of the first frame and ends at the 784th bit of the fourth frame. Message block check bit (CRC-5 bit) e1,
e2, e3, e4 and e5 are placed in the last 5 bits of the multiframe. The check bit strings e1 to e5 transmitted in the Sth multiframe are obtained by multiplying the Sth CMB by X ** 5 (X to the 5th power), and then using the generator polynomial X ** 5 + X ** 4 + X ** 2 + 1. It is the remainder of the division (modulo 2). Such a check bit string e1
FIG. 6 shows a conventional circuit for generating a digital signal of .about.e5.

【0006】図6において、入力端子22は、図5の出
力端子10からの疑似ランダム・デジタル信号を受け
る。排他的オア・ゲート23は、入力端子22からの疑
似ランダム・デジタル信号を受け、その出力信号をフリ
ップ・フロップD21のD入力端子と、排他的オア・ゲ
ート24及び26とに供給する。フリップ・フロップ2
1のQ出力信号をフリップ・フロップD22のD入力端
子に供給し、フリップ・フロップD22のQ出力信号を
排他的オア・ゲート24に供給する。フリップ・フロッ
プD23は、排他的オア・ゲート24の出力信号をD入
力端子に受け、そのQ出力信号をフリップ・フロップD
24のD入力端子に供給する。フリップ・フロップD2
4のQ出力信号を排他的オア・ゲート26に供給し、そ
の出力信号をフリップ・フロップD25に供給する。フ
リップ・フロップD25のQ出力信号は、排他的オア・
ゲート23に戻す。これら回路構成において、図5に用
いるのと同じクロック信号をフリップ・フロップD21
〜D25に供給することにより、8回のクロック毎に、
CRC−5手法である上述のチェック・ビット列e1〜
e5を、フリップ・フロップD25、D24、D23、
D22及びD21のQ出力端子から得ることができる。
In FIG. 6, input terminal 22 receives a pseudo-random digital signal from output terminal 10 of FIG. Exclusive-OR gate 23 receives the pseudo-random digital signal from input terminal 22 and provides its output signal to the D input terminal of flip-flop D21 and exclusive-OR gates 24 and 26. Flip flop 2
The Q output signal of 1 is supplied to the D input terminal of the flip-flop D22, and the Q output signal of the flip-flop D22 is supplied to the exclusive OR gate 24. The flip-flop D23 receives the output signal of the exclusive OR gate 24 at its D input terminal and receives its Q output signal at the flip-flop D23.
It is supplied to the 24 D input terminals. Flip flop D2
The Q output signal of 4 is supplied to the exclusive OR gate 26 and its output signal is supplied to the flip-flop D25. The Q output signal of flip-flop D25 is exclusive OR
Return to gate 23. In these circuit configurations, the same clock signal as that used in FIG.
By supplying to D25, every 8th clock,
The above-mentioned check bit string e1 to be the CRC-5 method
e5 to flip-flops D25, D24, D23,
It can be obtained from the Q output terminals of D22 and D21.

【0007】[0007]

【発明が解決しようとする課題】ところで、図5のデジ
タル信号発生器から得られる疑似ランダム・デジタル信
号のビット・レートを高くするためには、各デジタル信
号発生器内のフリップ・フロップに供給するクロック周
波数を高くすればよい。しかし、このデジタル信号発生
器と共に用いる装置との関係で、クロック周波数を変更
できない場合がある。また、クロック周波数を任意に設
定できる場合でも、各回路素子の動作速度の限界から、
ある一定周波数以上では回路が動作しなくなる場合があ
る。
By the way, in order to increase the bit rate of the pseudo-random digital signal obtained from the digital signal generator of FIG. 5, it is supplied to the flip-flop in each digital signal generator. The clock frequency should be increased. However, there are cases where the clock frequency cannot be changed due to the relationship with the device used with this digital signal generator. In addition, even if the clock frequency can be set arbitrarily, due to the operating speed limit of each circuit element,
The circuit may not operate above a certain frequency.

【0008】したがって、本発明の目的は、クロック周
波数を変化させずに、所定倍数のクロック周波数で駆動
した場合と同様なデジタル信号を発生できるデジタル信
号発生器の提供にある。本発明の別の目的は、回路構成
素子の動作速度以上の速度で等価的に変化するデジタル
信号を発生できるデジタル信号発生器の提供にある。
Therefore, an object of the present invention is to provide a digital signal generator capable of generating a digital signal similar to that when driven at a clock frequency of a predetermined multiple without changing the clock frequency. Another object of the present invention is to provide a digital signal generator capable of generating a digital signal that equivalently changes at a speed equal to or higher than the operating speed of circuit components.

【0009】[0009]

【課題を解決するための手段】本発明のデジタル信号発
生器は、N個(Nは2以上の整数)のフリップ・フロッ
プと、K個(KはNより小さい整数)の排他的オア・ゲ
ートとを具えている。P番目(Pは1から1ずつ順次増
加しN−Kまでの数)のフリップ・フロップは、その出
力信号をK+P番目のフリップ・フロップの入力端子に
供給する。また、Q番目(Qは1から1ずつ順次増加し
Kまでの数)の排他的オア・ゲートは、その出力信号を
Q番目のフリップ・フロップの入力端子に供給し、N−
K+Q−1番目及びN−K+Q番目のフリップ・フロッ
プの出力信号を受ける。
SUMMARY OF THE INVENTION A digital signal generator of the present invention comprises N (N is an integer greater than or equal to 2) flip-flops and K (K is an integer less than N) exclusive OR gates. It is equipped with The P-th flip-flop (P is a number sequentially increasing from 1 by 1 to N−K) supplies its output signal to the input terminal of the K + P-th flip-flop. Further, the Q-th (Q is a number sequentially increasing from 1 to 1 up to K) exclusive OR gate supplies its output signal to the input terminal of the Q-th flip-flop, and N-
It receives the output signals of the K + Q-1th and NK + Qth flip-flops.

【0010】[0010]

【実施例】図1は、図5に示すデジタル信号発生器が発
生する疑似ランダム・デジタル信号と同様なデジタル信
号を発生する本発明のデジタル信号発生器のブロック図
である。D型フリップ・フロップD1、D3、D5、D
7、D9、D11、D13及びD15を縦続接続し、第
1シフト・レジスタを構成する。同様に、D型フリップ
・フロップD2、D4、D6、D8、D10、D12及
びD14を縦続接続して、第2シフト・レジスタを構成
する。なお、図1では、図5の従来例と対比するため
に、第1及び第2シフト・レジスタが入り組んで、フリ
ップ・フロップD1〜D15を順次並べて示してある。
排他的論理和動作を行う論理回路である排他的オア・ゲ
ートE2は、第1及び第2シフト・レジスタの最終段の
フリップ・フロップD14及びD15の出力信号を受
け、排他的論理和処理をした出力信号を第2シフト・レ
ジスタの初段のフリップ・フロップD2のD入力端子に
供給する。排他的オア・ゲートE1は、第1シフト・レ
ジスタの第2最終段のフリップ・フロップD13の出力
信号と、第2シフト・レジスタの最終段のフリップ・フ
ロップD14の出力信号とを受けて、排他的論理和処理
をした出力信号を第1シフト・レジスタの初段のフリッ
プ・フロップD1のD入力端子に供給する。
1 is a block diagram of a digital signal generator of the present invention which produces a digital signal similar to the pseudo-random digital signal produced by the digital signal generator shown in FIG. D-type flip-flops D1, D3, D5, D
7, D9, D11, D13 and D15 are cascaded to form a first shift register. Similarly, the D-type flip-flops D2, D4, D6, D8, D10, D12 and D14 are cascaded to form a second shift register. 1, the first and second shift registers are intricately shown and the flip-flops D1 to D15 are sequentially arranged in order to compare with the conventional example of FIG.
The exclusive OR gate E2, which is a logic circuit that performs an exclusive OR operation, receives the output signals of the final stage flip-flops D14 and D15 of the first and second shift registers, and performs an exclusive OR processing. The output signal is supplied to the D input terminal of the first-stage flip-flop D2 of the second shift register. The exclusive OR gate E1 receives the output signal of the flip-flop D13 of the second final stage of the first shift register and the output signal of the flip-flop D14 of the final stage of the second shift register, and outputs an exclusive signal. The output signal subjected to the logical OR processing is supplied to the D input terminal of the first stage flip-flop D1 of the first shift register.

【0011】図1の回路では、図示しないが、フリップ
・フロップD1〜D15の各々にはクロック信号が供給
されて、夫々のシフト・レジスタにてシフト動作を行
う。この際の各フリップ・フロップの蓄積内容、即ち、
Q出力信号を表2に示す。
In the circuit of FIG. 1, although not shown, a clock signal is supplied to each of the flip-flops D1 to D15, and a shift operation is performed in each shift register. The accumulated contents of each flip-flop at this time, that is,
The Q output signal is shown in Table 2.

【表2】 この表からも判るように、排他的オア・ゲートE1及び
E2が2つの帰還を同時に行い、フリップ・フロップD
1及びD2は、帰還により得られるデジタル信号を同時
に受ける。よって、フリップ・フロップD1〜D15の
1クロック分のシフトにより、2クロック分のシフトを
同時に行ったことと等価になる。
[Table 2] As can be seen from this table, the exclusive OR gates E1 and E2 perform two feedbacks at the same time, and the flip-flop D
1 and D2 simultaneously receive the digital signal obtained by the feedback. Therefore, shifting one clock of the flip-flops D1 to D15 is equivalent to simultaneously shifting two clocks.

【0012】この動作を更に詳細に説明すれば、表2
は、図5の動作を示す表1と同じ構成の表である。表1
及び表2の比較から理解できるように、表2の状態1は
表1の状態1と同じであり、表2の状態2は表1の状態
3と同じであり、以下同様に、表2のK番目の状態は、
表1の2K−1番目の状態と同じである。すなわち、表
2の各状態は、表1の状態を1つおきにしたものと同じ
である。よって、図1及び図5のデジタル信号発生器の
クロック周波数が同じならば、本発明の図1のデジタル
信号発生器では、図5の従来の場合に比較して、疑似ラ
ンダム・デジタル信号が2倍の速度で変化することにな
る。なお、図1のデジタル信号発生器では、表1の偶数
番目の状態が得られないが、奇数番目の状態のデジタル
信号が必要な場合、例えば、図2に示すCRC−5手法
のチェック・ビット列を発生する場合には、偶数番目の
状態のデジタル信号は不要である。
This operation will be described in more detail with reference to Table 2.
Is a table having the same configuration as Table 1 showing the operation of FIG. Table 1
And as can be understood from the comparison of Table 2, the state 1 of Table 2 is the same as the state 1 of Table 1, the state 2 of Table 2 is the same as the state 3 of Table 1, and so on. The Kth state is
This is the same as the 2K-1th state in Table 1. That is, each state in Table 2 is the same as the alternate state of Table 1. Therefore, if the clock frequencies of the digital signal generators of FIGS. 1 and 5 are the same, the digital signal generator of FIG. 1 of the present invention produces two pseudo random digital signals as compared with the conventional case of FIG. It will change at twice the speed. Although the digital signal generator of FIG. 1 cannot obtain the even-numbered states of Table 1, if a digital signal of the odd-numbered states is required, for example, the check bit string of the CRC-5 method shown in FIG. When generating, the even numbered digital signals are not required.

【0013】よって、図1に示す本発明のデジタル信号
発生器では、従来と同じクロック周波数により、従来よ
りも変化速度が2倍だけ早い疑似ランダム・デジタル信
号を発生できる。また、クロック周波数が同じなので、
回路素子の限界動作速度に対応したクロック信号を用い
ることより、回路素子の限界動作速度の2倍の速度で変
化する疑似ランダム・デジタル信号を発生できる。
Therefore, the digital signal generator of the present invention shown in FIG. 1 can generate a pseudo-random digital signal whose rate of change is twice as fast as the conventional one, by the same clock frequency as the conventional one. Also, because the clock frequency is the same,
By using the clock signal corresponding to the limit operating speed of the circuit element, it is possible to generate a pseudo-random digital signal that changes at a speed twice the limit operating speed of the circuit element.

【0014】図1に示す本発明のデジタル信号発生器で
は、フリップ・フロップD15のQ出力信号を出力する
出力端子14から得られるデジタル信号列は図5の場合
と異なるので、CRC−5手法のチェック・ビット列を
発生するのに、図6の信号発生器を利用できない。そこ
で、本発明で発生した疑似ランダム・デジタル信号を用
いて、CRC−5手法の処理を行うには、図6に示す信
号発生器の代わりに図2に示す信号発生器を用いる。
In the digital signal generator of the present invention shown in FIG. 1, the digital signal train obtained from the output terminal 14 for outputting the Q output signal of the flip-flop D15 is different from that in FIG. The signal generator of FIG. 6 cannot be used to generate the check bit string. Therefore, in order to perform the processing of the CRC-5 method using the pseudo random digital signal generated in the present invention, the signal generator shown in FIG. 2 is used instead of the signal generator shown in FIG.

【0015】図2において、排他的オア・ゲート34
は、端子34及び14を介して図1のフリップ・フロッ
プD15の出力信号を受け、排他的オア・ゲート32
は、端子28及び16を介して図1のフリップ・フロッ
プD14の出力信号を受ける。D型フリップ・フロップ
21は、排他的オア・ゲート32の出力信号を受け、排
他的オア・ゲート36は、フリップ・フロップD21の
出力信号及び排他的オア・ゲート32の出力信号を受け
る。フリップ・フロップD22は、排他的オア・ゲート
34の出力信号を受け、排他的オア・ゲート38は、フ
リップ・フロップD22及び排他的オア・ゲート34の
出力信号を受ける。フリップ・フロップD23は、排他
的オア・ゲート36の出力信号を受け、排他的オア・ゲ
ート42は、フリップ・フロップD23及び排他的オア
・ゲート32の出力信号を受ける。
In FIG. 2, exclusive OR gate 34
Receives the output signal of the flip-flop D15 of FIG. 1 through terminals 34 and 14 and receives the exclusive OR gate 32.
Receives the output signal of flip-flop D14 of FIG. 1 via terminals 28 and 16. The D-type flip-flop 21 receives the output signal of the exclusive OR gate 32, and the exclusive OR gate 36 receives the output signal of the flip-flop D21 and the output signal of the exclusive OR gate 32. Flip-flop D22 receives the output signal of exclusive-OR gate 34, and exclusive-OR gate 38 receives the output signals of flip-flop D22 and exclusive-OR gate 34. Flip-flop D23 receives the output signal of exclusive-OR gate 36, and exclusive-OR gate 42 receives the output signals of flip-flop D23 and exclusive-OR gate 32.

【0016】また、フリップ・フロップD24は、排他
的オア・ゲート38の出力信号を受け、排他的オア・ゲ
ート44は、フリップ・フロップD24及び排他的オア
・ゲート34の出力信号を受ける。フリップ・フロップ
D25の出力信号を排他的オア・ゲート34に供給し、
排他的オア・ゲート44の出力信号を排他的オア・ゲー
ト32に供給する。かかる構成により、4回のクロック
毎に、CRC−5手法である上述のチェック・ビット列
e1〜e5を、フリップ・フロップD25、D24、D
23、D22及びD21のQ出力端子から得ることがで
きる。このチェック・ビット列は、図4の場合と同じ内
容である。よって、本発明のデジタル信号発生器を用い
て疑似ランダム・デジタル信号を発生した場合でも、C
RC−5手法を使用できる。
The flip-flop D24 receives the output signal of the exclusive OR gate 38, and the exclusive OR gate 44 receives the output signals of the flip-flop D24 and the exclusive OR gate 34. The output signal of the flip-flop D25 is supplied to the exclusive OR gate 34,
The output signal of the exclusive OR gate 44 is supplied to the exclusive OR gate 32. With such a configuration, the above-described check bit strings e1 to e5, which are the CRC-5 method, are flip-flops D25, D24, D every four clocks.
It can be obtained from the Q output terminals of 23, D22 and D21. This check bit string has the same contents as in the case of FIG. Therefore, even if a pseudo-random digital signal is generated using the digital signal generator of the present invention, C
The RC-5 technique can be used.

【0017】図3は、本発明のデジタル信号発生器の第
2実施例のブロック図である。図1に示した本発明の第
1実施例では、1クロック毎に図5の場合に対して2倍
の速度の疑似ランダム・デジタル信号を発生したが、図
3の第2実施例では4倍の速度の疑似ランダム・デジタ
ル信号を発生する。そのために、フリップ・フロップD
1〜D15の接続関係は図1の場合と同じである。しか
し、排他的オア・ゲートE1はフリップ・フロップD1
1及びD12の出力信号を受け、論理和処理をした後、
フリップ・フロップD1の入力端子に供給する。排他的
オア・ゲートE2は、フリップ・フロップD12及びD
13の出力信号を受け、論理和出力信号をフリップ・フ
ロップD2の入力端子に供給する。また、排他的オア・
ゲートE3は、フリップ・フロップD13及びD14の
出力信号を受け、論理和出力信号をフリップ・フロップ
D3の入力端子に供給し、排他的オア・ゲートE4は、
フリップ・フロップD14及びD15の出力信号を受
け、論理和出力信号をフリップ・フロップD4の入力端
子に供給する。
FIG. 3 is a block diagram of a second embodiment of the digital signal generator of the present invention. In the first embodiment of the present invention shown in FIG. 1, a pseudo-random digital signal having a speed twice that of the case of FIG. 5 is generated every one clock, but in the second embodiment of FIG. Generates a pseudo-random digital signal at a speed of. Therefore, flip-flop D
The connection relationship of 1 to D15 is the same as in the case of FIG. However, exclusive OR gate E1 is flip-flop D1
After receiving the output signals of 1 and D12 and performing OR processing,
It is supplied to the input terminal of the flip-flop D1. Exclusive-OR gate E2 has flip-flops D12 and D12.
It receives the output signal of 13 and supplies the logical sum output signal to the input terminal of the flip-flop D2. Also exclusive or
The gate E3 receives the output signals of the flip-flops D13 and D14 and supplies an OR output signal to the input terminal of the flip-flop D3, and the exclusive OR gate E4 is
The output signals of the flip-flops D14 and D15 are received and the logical sum output signal is supplied to the input terminal of the flip-flop D4.

【0018】排他的オア・ゲートE1、E2、E3及び
E4が4つの帰還を同時に行い、フリップ・フロップD
1、D2、D3及びD4は、帰還により得られるデジタ
ル信号を同時に受ける。よって、フリップ・フロップD
1〜D15の1クロック分のシフトにより、4クロック
分のシフトを同時に行ったことと等価になる。したがっ
て、図5の従来のデジタル信号発生器よりも4倍だけ高
速な疑似ランダム・デジタル信号が得られる。
Exclusive OR gates E1, E2, E3, and E4 provide four feedbacks simultaneously, and flip-flop D
1, D2, D3 and D4 simultaneously receive digital signals obtained by feedback. Therefore, flip-flop D
The shift of 1 clock of 1 to D15 is equivalent to the shift of 4 clocks being performed at the same time. Thus, a pseudo-random digital signal that is four times faster than the conventional digital signal generator of FIG. 5 is obtained.

【0019】本発明の第1及び第2実施例を一般化した
第3実施例を図4に示す。この実施例では、N個のフリ
ップ・フロップ及びK個の排他的オア・ゲートを用い
て、従来例に比較してK倍だけ高速の疑似ランダム・デ
ジタル信号を発生する。そのために、N個のフリップ・
フロップは、K個おきに接続する。すなわち、フリップ
・フロップD1の出力信号をK+1番目のフリップ・フ
ロップに供給し、フリップ・フロップD2の出力信号を
K+2番目のフリップ・フロップに供給し、以下同様に
接続すが、N−K+3番目以降のフリップ・フロップの
出力端子は別のフリップ・フロップの入力端子には接続
しない。
A third embodiment, which is a generalization of the first and second embodiments of the present invention, is shown in FIG. In this embodiment, N flip-flops and K exclusive-OR gates are used to generate a pseudo-random digital signal that is K times faster than the conventional example. Therefore, N flips
Every K flops are connected. That is, the output signal of the flip-flop D1 is supplied to the (K + 1) th flip-flop, the output signal of the flip-flop D2 is supplied to the (K + 2) th flip-flop, and the same connection is made. Do not connect the output terminal of another flip-flop to the input terminal of another flip-flop.

【0020】また、排他的オア・ゲートE1は、N−K
番目及びN−K+1番目のフリップ・フロップの出力信
号を受けて、排他的論理和処理を行い、処理出力信号を
フリップ・フロップD1の入力端子に供給する。以下、
同様に、K−1番目の排他的オア・ゲートは、N−2番
目及びN−1番目のフリップ・フロップの出力信号を受
け、排他的論理和処理した信号をK−1番目のフリップ
・フロップに入力し、K番目の排他的オア・ゲートは、
N−1番目及びN番目のフリップ・フロップの出力信号
を受け、排他的論理和処理した信号をK番目のフリップ
・フロップに入力する。
The exclusive OR gate E1 is NK
The output signals of the first and (N−K + 1) th flip-flops are received, the exclusive OR processing is performed, and the processed output signal is supplied to the input terminal of the flip-flop D1. Less than,
Similarly, the (K-1) th exclusive OR gate receives the output signals of the (N-2) th and (N-1) th flip-flops and outputs the signal obtained by the exclusive OR processing to the (K-1) th flip-flop. And the Kth exclusive OR gate is
The output signals of the (N-1) th and Nth flip-flops are received, and the signals subjected to the exclusive OR processing are input to the Kth flip-flop.

【0021】図4の実施例では、K個の排他的オア・ゲ
ートがK個の帰還を同時に行い、フリップ・フロップD
1〜DKは、帰還により得られるデジタル信号を同時に
受ける。よって、N個のフリップ・フロップの1クロッ
ク分のシフトにより、Kクロック分のシフトを同時に行
ったことと等価になり、図5の従来のデジタル信号発生
器よりもK倍だけ高速な疑似ランダム・デジタル信号が
得られる。
In the embodiment of FIG. 4, K exclusive OR gates provide K feedbacks simultaneously, and flip-flop D
1 to DK simultaneously receive digital signals obtained by feedback. Therefore, the shift of N flip-flops by one clock is equivalent to the shift of K clocks at the same time, and the pseudo-random number is K times faster than the conventional digital signal generator of FIG. A digital signal is obtained.

【0022】なお、図4の実施例の構成を一般化して表
せば、次のようになる。すなわち、N個(Nは2以上の
整数)のフリップ・フロップと、K個(KはNより小さ
い整数)の排他的オア・ゲートとを設ける。P番目(P
は1から1ずつ順次増加しN−Kまでの数)のフリップ
・フロップは、その出力信号をK+P番目のフリップ・
フロップの入力端子に供給する。また、Q番目(Qは1
から1ずつ順次増加しKまでの数)の排他的オア・ゲー
トは、その出力信号をQ番目のフリップ・フロップの入
力端子に供給し、N−K+Q−1番目及びN−K+Q番
目のフリップ・フロップの出力信号を受ける。
The general construction of the embodiment shown in FIG. 4 is as follows. That is, N (N is an integer of 2 or more) flip-flops and K (K is an integer smaller than N) exclusive OR gates are provided. Pth (P
Are sequentially increased from 1 by 1 and the number of flip-flops from N to K) is equal to the output signal of the K + Pth flip-flop.
Supply to the input terminal of the flop. Also, the Qth (Q is 1
The number of exclusive OR gates sequentially increasing by 1 from 1 to K) supplies its output signal to the input terminal of the Qth flip-flop, and the N−K + Q−1th and N−K + Qth flip-flops. Receives the output signal of the flop.

【0023】[0023]

【発明の効果】上述の如く本発明によれば、従来技術と
同じ周波数のクロック信号を用いて、従来技術よりも変
化速度がK倍のデジタル信号を発生できる。よって、ク
ロック周波数を変更できない場合や、各回路素子の動作
速度の限界からある一定周波数以上では回路が動作しな
くなる場合でも、変化速度がK倍のデジタル信号を発生
できる。
As described above, according to the present invention, a clock signal having the same frequency as that of the prior art can be used to generate a digital signal whose rate of change is K times that of the prior art. Therefore, even if the clock frequency cannot be changed, or even if the circuit does not operate at a certain frequency or higher due to the operating speed limit of each circuit element, it is possible to generate a digital signal with a changing speed of K times.

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

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

【図2】図1により発生した疑似ランダム・デジタル信
号を用いてCRC−5手法のチェック・ビット列を発生
するデジタル信号発生器の回路図である。
FIG. 2 is a circuit diagram of a digital signal generator that generates a check bit string of the CRC-5 method using the pseudo random digital signal generated in FIG.

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

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

【図5】疑似ランダム・デジタル信号を発生する従来の
デジタル信号発生器の回路図である。
FIG. 5 is a circuit diagram of a conventional digital signal generator that generates a pseudo-random digital signal.

【図6】図5の従来回路で発生したランダム・デジタル
信号を用いてCRC−5手法のチェック・ビット列を発
生する従来のデジタル信号発生器の回路図である。
6 is a circuit diagram of a conventional digital signal generator that generates a check bit string of a CRC-5 method by using a random digital signal generated by the conventional circuit of FIG.

【符号の説明】 D1〜D(N) フリップ・フロップ E1〜E(K) 排他的オア・ゲート[Description of Reference Signs] D1 to D (N) flip-flops E1 to E (K) exclusive OR gates

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 N個(Nは2以上の整数)のフリップ・
フロップと、 K個(KはNより小さい整数)の排他的オア・ゲートと
を具え、 P番目(Pは1から1ずつ順次増加しN−Kまでの数)
の上記フリップ・フロップは、その出力信号をK+P番
目の上記フリップ・フロップの入力端子に供給し、 Q番目(Qは1から1ずつ順次増加しKまでの数)の上
記排他的オア・ゲートは、その出力信号をQ番目の上記
フリップ・フロップの入力端子に供給し、N−K+Q−
1番目及びN−K+Q番目の上記フリップ・フロップの
出力信号を受けることを特徴とするデジタル信号発生
器。
1. N (N is an integer of 2 or more) flips
It has a flop and K exclusive OR gates (K is an integer smaller than N), and it is the P-th (P is a number sequentially increasing from 1 to NK).
The flip-flop of the above supplies the output signal to the input terminal of the K + Pth flip-flop, and the Q-th (Q is a number sequentially increasing from 1 to K) exclusive OR gate is , Its output signal is supplied to the input terminal of the Qth flip-flop, and N−K + Q−
A digital signal generator which receives the output signals of the first and NK + Qth flip-flops.
JP6335721A 1994-12-21 1994-12-21 Digital signal generator Pending JPH08181577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6335721A JPH08181577A (en) 1994-12-21 1994-12-21 Digital signal generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6335721A JPH08181577A (en) 1994-12-21 1994-12-21 Digital signal generator

Publications (1)

Publication Number Publication Date
JPH08181577A true JPH08181577A (en) 1996-07-12

Family

ID=18291732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6335721A Pending JPH08181577A (en) 1994-12-21 1994-12-21 Digital signal generator

Country Status (1)

Country Link
JP (1) JPH08181577A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008142735A1 (en) * 2007-05-21 2008-11-27 Fujitsu Limited Method and device for generating binary pseudo random data
CN115220694A (en) * 2022-06-22 2022-10-21 长鑫存储技术有限公司 Random data generation circuit and read-write training circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008142735A1 (en) * 2007-05-21 2008-11-27 Fujitsu Limited Method and device for generating binary pseudo random data
US7812636B2 (en) 2007-05-21 2010-10-12 Fujitsu Limited Method and device for generating pseudo-random binary data
CN115220694A (en) * 2022-06-22 2022-10-21 长鑫存储技术有限公司 Random data generation circuit and read-write training circuit
CN115220694B (en) * 2022-06-22 2025-09-05 长鑫存储技术有限公司 Random data generation circuit and read-write training circuit

Similar Documents

Publication Publication Date Title
US7290190B2 (en) Semiconductor integrated circuit with a test circuit
EP0438322A2 (en) Linear feedback shift register
JP2598866B2 (en) Circuit for generating a controllable weighted binary sequence
EP0372226A2 (en) Parallel pseudorandom pattern generator with varying phase shift and method for simulating such a generator
US4691291A (en) Random sequence generators
O'Reilly Series-parallel generation of m-sequences
US6401226B1 (en) Electronic system with self-test function and simulation circuit for electronic system
JPH0651028A (en) Test pattern generator
TWI405122B (en) Linear feedback shift register system and method for generating output stream
JP6423270B2 (en) Random number generation apparatus and random number generation method
KR940011036B1 (en) Shift register
JPH10320181A (en) Non-linear feedback shift register circuit
US7412636B2 (en) Scan string segmentation for digital test compression
JPH08181577A (en) Digital signal generator
JP6379032B2 (en) Random number generation device and random number generation method
EP0280802B1 (en) Generation of trigger signals
US9116764B2 (en) Balanced pseudo-random binary sequence generator
CN112821889B (en) Output control circuit, data transmission method and electronic device
US10776079B2 (en) True random number generation device and generation method thereof
JP4869879B2 (en) Semiconductor integrated circuit
JPH04212521A (en) Ring counter
US5767706A (en) Rate generator
CN110609672B (en) Real random number generating device and generating method
JP3514020B2 (en) Rate generator
JP3425163B2 (en) Random number generator