JPH0936711A - Scramble signal generating circuit - Google Patents
Scramble signal generating circuitInfo
- Publication number
- JPH0936711A JPH0936711A JP7200287A JP20028795A JPH0936711A JP H0936711 A JPH0936711 A JP H0936711A JP 7200287 A JP7200287 A JP 7200287A JP 20028795 A JP20028795 A JP 20028795A JP H0936711 A JPH0936711 A JP H0936711A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- data
- output
- scramble
- input
- 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
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
(57)【要約】
【目的】 バイト単位のデータの形式変換を行なわずに
スクランブル処理できるスクランブルデータを発生する
信号発生回路を提供する。
【構成】 ディジタルデータに加算されるスクランブル
データを出力するスクランブル信号発生回路において、
n個のレジスタ10〜19と、このレジスタの複数の出力が
組合されて入力されるm個の1ビット加算回路30〜37
(n≧m:n、mは整数)とを設け、この1ビット加算
回路の各出力をm個のレジスタ12〜19に入力し、1ビッ
ト加算回路の出力が入力されないn−m個のレジスタ1
0、11に、異なるレジスタ18、19の出力を入力し、n個
のレジスタの内のm個のレジスタ10〜17の出力をmビッ
ト分のスクランブルデータとして同時に出力するように
構成する。バイトクロック52の入力に応じてmビット分
のスクランブル信号が一度に出力され、高速のビットク
ロックを用いることなくスクランブル処理を行なうこと
ができる。
(57) [Abstract] [Purpose] To provide a signal generation circuit for generating scrambled data that can be scrambled without converting the format of byte data. In a scramble signal generation circuit for outputting scramble data to be added to digital data,
n registers 10 to 19 and m 1-bit adder circuits 30 to 37 to which a plurality of outputs of this register are combined and input
(N ≧ m: n, m is an integer) and each output of the 1-bit adder circuit is input to m registers 12 to 19, and the output of the 1-bit adder circuit is not input. 1
The outputs of different registers 18 and 19 are input to 0 and 11, and the outputs of m registers 10 to 17 of the n registers are simultaneously output as scramble data for m bits. According to the input of the byte clock 52, a scramble signal for m bits is output at one time, and scramble processing can be performed without using a high speed bit clock.
Description
【0001】[0001]
【産業上の利用分野】本発明は、記録再生するディジタ
ルデータのパワースペクトルを分散させたりするために
スクランブル信号を発生するスクランブル回路に関し、
特に、バイト単位でのスクランブル信号の発生を可能に
したものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scramble circuit for generating a scramble signal in order to disperse the power spectrum of digital data to be recorded / reproduced,
In particular, it makes it possible to generate a scramble signal in byte units.
【0002】[0002]
【従来の技術】近年、ディジタル信号の記録再生は、コ
ンピュータ用のフロッピーディスク、ハードディスク、
PCM信号を記録再生するコンパクトディスク、ディジ
タルテープレコーダーなど、幅広い分野で行なわれてい
る。2. Description of the Related Art In recent years, recording / reproduction of digital signals has been carried out by using floppy disks, hard disks, and
It is used in a wide range of fields such as compact discs for recording and reproducing PCM signals and digital tape recorders.
【0003】これらの記録再生では、記録信号に既知の
スクランブル信号を加えて記録媒体に記録し、再生時に
は、デスクランブルして再生データを得る記録再生方式
が一部に用いられている。これは、記録媒体に特定パタ
ーンの記録信号が連続的に記録されることを防ぐための
措置であり、例えば入力データとして“0”が連続する
場合、それをそのまま記録すると、記録信号が特定のパ
ターンに固定化され、その結果、再生時にクロック情報
の抽出が困難になり、また、記録信号のパワースペクト
ルが特定の周波数に集中し、直流成分等の影響で再生さ
れる波形に歪を生じ、読みとりデータの誤り率が劣化す
るなどの現象が発生する。スクランブル信号を加えるこ
とは、こうした弊害を避けるために行なわれる。In these recording / reproducing, a recording / reproducing system is used in which a known scramble signal is added to a recording signal to record on a recording medium, and at the time of reproducing, descrambling to obtain reproduced data. This is a measure for preventing the recording signal of the specific pattern from being continuously recorded on the recording medium. For example, when “0” is continuously input data, if it is recorded as it is, the recording signal becomes a specific signal. It is fixed to the pattern, as a result, it becomes difficult to extract the clock information at the time of reproduction, and the power spectrum of the recording signal is concentrated at a specific frequency, causing distortion in the reproduced waveform due to the influence of the DC component, etc. A phenomenon such as deterioration of the error rate of the read data occurs. The addition of the scramble signal is performed to avoid such a bad effect.
【0004】このスクランブル信号を発生する従来のス
クランブル信号発生回路は、図3に示すように、ビット
クロック50が入力するごとにデータを1ビットずつシフ
トするシフトレジスタ80と、プリセット信号51が入力す
るとシフトレジスタ80に初期データをセットするプリセ
ット回路81と、シフトレジスタ80から出力されたデータ
とシフトレジスタ80の途中(d1)から取り出したデー
タとを加算する1ビットの加算回路(つまり、排他的論
理和回路)82とを備えており、この加算回路82の出力が
シフトレジスタ80にフィードバックされる。As shown in FIG. 3, a conventional scramble signal generating circuit for generating this scramble signal receives a shift register 80 for shifting data by 1 bit each time a bit clock 50 is input and a preset signal 51. A preset circuit 81 that sets initial data in the shift register 80, and a 1-bit addition circuit that adds the data output from the shift register 80 and the data extracted from the middle (d1) of the shift register 80 (that is, exclusive logic). Summing circuit) 82, and the output of the adding circuit 82 is fed back to the shift register 80.
【0005】また、シフトレジスタ80の出力83は、1ビ
ットの加算回路84にも入力し、加算回路84は、入力する
シリアルデータ71とシフトレジスタ80から出力されたス
クランブル信号83との排他的論理和を算出し、その結果
をシリアルデータ出力端子72から出力する。The output 83 of the shift register 80 is also input to a 1-bit adder circuit 84, and the adder circuit 84 performs an exclusive logic of the input serial data 71 and the scramble signal 83 output from the shift register 80. The sum is calculated and the result is output from the serial data output terminal 72.
【0006】なお、ここでは説明を簡略化するため、シ
フトレジスタ80のビット数を10としている。In order to simplify the description, the number of bits of the shift register 80 is 10.
【0007】このスクランブル信号発生回路では、ま
ず、初期データの設定を指令するプリセット信号51が入
力すると、プリセット回路81が、シフトレジスタ80の初
期設定を実行する。この例では、初期設定で“0000
000001”の10ビットのデータがシフトレジスタ
80にセットされる。In this scramble signal generating circuit, first, when a preset signal 51 for instructing the setting of initial data is input, the preset circuit 81 executes the initial setting of the shift register 80. In this example, the initial setting is "0000
10-bit data of 000001 "is a shift register
Set to 80.
【0008】次に、ビットクロック50が入力すると、シ
フトレジスタ80の中のデータが1ビット右へシフトす
る。このときシフトレジスタ80の左端に新たに入力する
データは加算回路82の出力信号であり、加算回路82には
シフトレジスタ80のd0とd1とが入力しているので、
この例では、d0+d1=1が新しくシフトレジスタ80
に入力することになる。なお、この加算は排他論理和回
路で行なわれる。Next, when the bit clock 50 is input, the data in the shift register 80 is shifted right by 1 bit. At this time, the data newly input to the left end of the shift register 80 is the output signal of the addition circuit 82, and since d0 and d1 of the shift register 80 are input to the addition circuit 82,
In this example, d0 + d1 = 1 is a new shift register 80
Will be entered. It should be noted that this addition is performed by an exclusive OR circuit.
【0009】初期設定時からのシフトレジスタ80の内容
を、ビットクロックの変化毎に見ていくと、次のように
なる。The contents of the shift register 80 from the time of initial setting are as follows when the bit clock is changed.
【0010】 0000000001 1000000000 0100000000 0010000000 0001000000 0000100000 0000010000 0000001000 0000000100 0000000010 1000000001 1100000000 0110000000 0011000000 0001100000 0000110000 0000011000 0000001100 0000000110 1000000011 0100000001 1010000000 : : このシフトレジスタ80の右端の出力がスクランブル信号
出力83として加算回路84に入力する。加算回路84は、こ
のスクランブル信号発生回路部の出力と、入力するシリ
アルデータ71とを順次加算し、スクランブルされたシリ
アル信号をデータ出力端子72に出力する。この信号が同
期信号と共に記録媒体に記録される。00100001 1000000000 010000000 0010000000 001000000 0000100000000 00000010000 0000001000 0000000000100 0000000010 1000000001 1100000000 0110000000 0011000000 0001100000 00001010000 80000011000 0000100100 000010110 10080001110 01000010001 The adder circuit 84 sequentially adds the output of the scramble signal generation circuit section and the input serial data 71, and outputs the scrambled serial signal to the data output terminal 72. This signal is recorded on the recording medium together with the synchronization signal.
【0011】再生時には同期信号でタイミングを合わせ
て、記録時と全く同じスクランブル信号を再度排他論理
加算することにより、スクランブルを解除して、入力デ
ータ71と同じデータを再生することができる。When reproducing, the same data as the input data 71 can be reproduced by synchronizing the timing with the synchronization signal at the time of reproduction and by performing the exclusive logical addition of the same scramble signal as at the time of recording again.
【0012】このスクランブル回路は、スクランブル信
号83をビットクロックに合わせてビット単位で出力す
る。そのため、スクランブルを掛けるバイト単位のデー
タについても、シリアルデータの形に換えて、1ビット
ずつ加算回路84に入力する必要がある。This scramble circuit outputs the scramble signal 83 in bit units according to the bit clock. Therefore, it is also necessary to convert the byte-unit data to be scrambled into the adder circuit 84 bit by bit, in the form of serial data.
【0013】そこで、このスクランブル回路の周辺に
は、図4に示すように、入力する8ビットのパラレルデ
ータ53をシリアルデータに変換する並列直列変換器61
と、スクランブル回路62から出力されたシリアル出力72
を8ビットのパラレルデータ54に変換して出力する直列
並列変換器63とが設けられ、この並列直列変換器61及び
直列並列変換器63に、動作クロックとしてバイトクロッ
ク52とビットクロック50とが与えられる。Therefore, around the scramble circuit, as shown in FIG. 4, a parallel / serial converter 61 for converting the input 8-bit parallel data 53 into serial data.
And the serial output 72 output from the scramble circuit 62
And a serial-parallel converter 63 for converting the data into 8-bit parallel data 54 and outputting the parallel data 54. The byte-clock 52 and the bit clock 50 are given to the parallel-serial converter 61 and the serial-parallel converter 63 as operation clocks. To be
【0014】パラレルデータ53にスクランブルを掛ける
場合には、並列直列変換器61が、入力するデータ単位ご
とのバイトクロック52で8ビットのパラレルデータ53を
一旦取り込み、それをビット単位のビットクロック50の
タイミングでシリアルデータ71に変換し、スクランブル
回路62に出力する。When scrambling the parallel data 53, the parallel / serial converter 61 temporarily fetches the 8-bit parallel data 53 with the byte clock 52 for each input data unit and stores it in the bit clock 50 for each bit. It is converted to serial data 71 at a timing and output to the scramble circuit 62.
【0015】スクランブル回路62は、このシリアルデー
タ71に対して、先に説明した手順ででスクランブルを掛
け、それをシリアルデータ72として出力する。直列並列
変換器63は、ビットクロック50に同期して出力されたシ
リアルデータ72を順次内部レジスタに貯め、そのレジス
タのデータが8ビット分まとまると、バイトクロック52
に従ってパラレルデータ54として出力する。The scramble circuit 62 scrambles the serial data 71 by the procedure described above and outputs it as the serial data 72. The serial-parallel converter 63 sequentially stores the serial data 72 output in synchronization with the bit clock 50 in the internal register, and when the data of the register is collected for 8 bits, the byte clock 52
Output as parallel data 54.
【0016】[0016]
【発明が解決しようとする課題】このように、従来のス
クランブル信号発生回路は、スクランブル信号83を高速
のビットクロック50に従ってビット単位で出力する構成
であるため、スクランブルを掛けようとするデータをシ
リアルデータ71の形に換えて1ビットずつこの回路に与
える必要がある。そのため、この回路が、バイト単位で
処理されることの多い他のブロックとデータの受け渡し
を行なうためには、データの形式を変換する回路が必要
になり、そのため回路規模が大きくなるという問題点が
ある。As described above, since the conventional scramble signal generation circuit is configured to output the scramble signal 83 bit by bit in accordance with the high speed bit clock 50, the data to be scrambled is serialized. It is necessary to change the form of the data 71 and to give it to this circuit bit by bit. Therefore, in order for this circuit to transfer data to and from other blocks that are often processed in byte units, a circuit for converting the format of data is required, which causes a problem that the circuit scale becomes large. is there.
【0017】また、ビットクロック50を用いる場合は、
バイト単位の処理に比較して最低でも8倍の周波数の高
速クロックでの処理が必要になり、それだけ高精度の回
路が要求されるという問題点がある。When the bit clock 50 is used,
There is a problem that a high-speed clock having a frequency of at least 8 times as high as that of the byte unit processing is required, and a circuit with high precision is required accordingly.
【0018】本発明は、こうした従来の問題点を解決す
るものであり、バイト単位のデータに対して、その形式
変換を行なわずにスクランブル処理を施すことが可能な
スクランブルデータを発生するスクランブル信号発生回
路を提供することを目的としている。The present invention solves the above-mentioned conventional problems, and scramble signal generation for generating scrambled data capable of performing scramble processing on data in byte units without performing format conversion. It is intended to provide a circuit.
【0019】[0019]
【課題を解決するための手段】そこで、本発明では、デ
ィジタルデータに加算されるスクランブルデータを出力
するスクランブル信号発生回路において、n個のレジス
タと、このレジスタの複数の出力が組合されて入力され
るm個の1ビット加算回路(n≧m:n、mは整数)と
を設け、この1ビット加算回路の各出力をm個のレジス
タに入力し、1ビット加算回路の出力が入力されないn
−m個のレジスタに、異なるレジスタの出力を入力し、
n個のレジスタの内のm個のレジスタの出力をmビット
分のスクランブルデータとして同時に出力するように構
成している。Therefore, in the present invention, in a scramble signal generating circuit for outputting scramble data to be added to digital data, n registers and a plurality of outputs of the registers are combined and input. M 1-bit adder circuits (n ≧ m: n, m is an integer) are provided, each output of the 1-bit adder circuit is input to m registers, and the output of the 1-bit adder circuit is not input n
-Input the output of different register to m registers,
The outputs of the m registers out of the n registers are simultaneously output as scrambled data for m bits.
【0020】[0020]
【作用】そのため、n個のレジスタの出力からmビット
分のスクランブル信号を一度に出力することが可能にな
り、高速のビットクロックを用いることなくスクランブ
ル処理を行なうことができる。Therefore, the scramble signal for m bits can be output at a time from the outputs of the n registers, and the scramble processing can be performed without using a high speed bit clock.
【0021】[0021]
【実施例】本発明の実施例におけるスクランブル信号発
生回路は、図1に示すように、10個のレジスタ10〜19
を持つ記憶回路1と、論理和回路20と論理積回路21〜29
とを持つプリセット回路2と、8個の1ビット加算回路
30〜37を持つ加算回路3とを備えている。また、記憶回
路1の各レジスタ10〜19にはバイトクロック52が入力
し、また、プリセット回路2の論理和回路20及び論理積
回路21〜29にはプリセット信号51が入力する(但し、論
理積回路21〜29にはプリセット信号が反転して入力す
る)。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A scramble signal generating circuit according to an embodiment of the present invention has ten registers 10 to 19 as shown in FIG.
With a memory circuit 1, an OR circuit 20 and AND circuits 21 to 29
And a preset circuit 2 having eight 1-bit addition circuits
And an adder circuit 3 having 30 to 37. Further, the byte clock 52 is input to each register 10 to 19 of the memory circuit 1, and the preset signal 51 is input to the logical sum circuit 20 and the logical product circuits 21 to 29 of the preset circuit 2 (however, the logical product is The preset signal is inverted and input to the circuits 21 to 29).
【0022】このスクランブル信号発生回路の周辺に
は、図2に示すように、スクランブル信号発生回路4の
出力を受け入れる加算回路42がある。この加算回路42
は、1ビットの加算回路が8個並列に並んでおり、具体
的には8個のEXORゲートで構成される。Around the scramble signal generating circuit, there is an adder circuit 42 for receiving the output of the scramble signal generating circuit 4, as shown in FIG. This adder circuit 42
Is composed of eight 1-bit adder circuits arranged in parallel, and is specifically composed of eight EXOR gates.
【0023】スクランブル信号発生回路4は、バイトク
ロック52が入力すると、それに同期して8ビットのスク
ランブル信号41を出力する。加算回路42は、この8ビッ
トのスクランブル信号と、入力する8ビットのパラレル
データ53とを、各ビット毎に排他的論理和演算し、各ビ
ットの出力をまとめた8ビットのスクランブルされたデ
ータを出力端子54から出力する。When the byte clock 52 is input, the scramble signal generating circuit 4 outputs an 8-bit scramble signal 41 in synchronization with it. The adder circuit 42 performs an exclusive OR operation for each bit of the 8-bit scrambled signal and the input 8-bit parallel data 53 to obtain 8-bit scrambled data in which the output of each bit is collected. Output from the output terminal 54.
【0024】スクランブル信号発生回路4の記憶回路1
における各レジスタ10〜19は、バイトクロック52の入力
に応じて、保持しているデータを出力する。ここでレジ
スタ10の出力するデータをd0、レジスタ11の出力する
データをd1、レジスタ12の出力するデータをd2、
‥、レジスタ19の出力するデータをd9とすると、加算
回路42には、この内のd0からd7までのデータが8ビ
ットのスクランブル信号41として出力される。また、各
レジスタ10〜19の出力は、図1に示すように、スクラン
ブル信号発生回路の加算回路3またはプリセット回路2
の一部にフィードバックされる。即ち、レジスタ10の出
力d0は加算回路3の1ビット加算回路30に、レジスタ
11の出力d1は加算回路3の1ビット加算回路30と31
に、‥、レジスタ18の出力d8は加算回路3の1ビット
加算回路37とプリセット回路2の論理和回路20に、レジ
スタ19の出力d9はプリセット回路2の論理積回路21に
それぞれ入力する。Storage circuit 1 of scramble signal generating circuit 4
Each of the registers 10 to 19 in 1 outputs the held data in response to the input of the byte clock 52. Here, the data output from the register 10 is d0, the data output from the register 11 is d1, the data output from the register 12 is d2,
If the data output from the register 19 is d9, the data from d0 to d7 in this is output to the adder circuit 42 as an 8-bit scramble signal 41. The outputs of the registers 10 to 19 are, as shown in FIG. 1, added to the adder circuit 3 or the preset circuit 2 of the scramble signal generation circuit.
Feedback on some of the. That is, the output d0 of the register 10 is sent to the 1-bit addition circuit 30 of the addition circuit 3
The output d1 of 11 is the 1-bit addition circuits 30 and 31 of the addition circuit 3.
The output d8 of the register 18 is input to the 1-bit addition circuit 37 of the adder circuit 3 and the logical sum circuit 20 of the preset circuit 2, and the output d9 of the register 19 is input to the logical product circuit 21 of the preset circuit 2.
【0025】各レジスタ10〜19の出力のフィードバック
先をこのように規定することにより、8個のレジスタ10
〜17の出力は、従来のスクランブル信号発生回路(図
3)のシフトレジスタ80から8ビットクロックに渡って
連続して出力されるスクランブル信号83と同じになる。By defining the feedback destination of the output of each register 10 to 19 in this way, eight registers 10
The outputs from 17 to 17 are the same as the scramble signal 83 continuously output from the shift register 80 of the conventional scramble signal generation circuit (FIG. 3) over the 8-bit clock.
【0026】この点について、さらに詳しく説明する。
図3のスクランブル信号発生回路は、ビット数(n)が
10のシフトレジスタ80の第10番目のレジスタの出力
値と第9番目のレジスタの出力値との加算値(排他的論
理和)をシフトレジスタ80にフィードバックし(これ
は、一般的にXn+Xn-1をフィードバックするシフトレ
ジスタと表すことができる)、このシフトレジスタ80か
らの出力をスクランブル信号83として出力する構成であ
るから、ある時点でシフトレジスタ80に記憶されている
データを順にd9、d8、‥、d1、d0とすると、ス
クランブル信号出力83は、ビットクロックが入力するご
とに、次のように変化することになる。This point will be described in more detail.
The scramble signal generation circuit of FIG. 3 shifts the addition value (exclusive OR) of the output value of the 10th register and the output value of the 9th register of the shift register 80 having the bit number (n) of 10. This is because the configuration is such that feedback is made to the register 80 (this can be generally expressed as a shift register which feeds back X n + X n−1 ) and the output from this shift register 80 is output as the scramble signal 83. Assuming that the data stored in the shift register 80 is d9, d8, ..., D1, d0 in this order, the scramble signal output 83 changes as follows each time the bit clock is input.
【0027】 0 d0 1 d1 2 d2 3 d3 4 d4 5 d5 6 d6 7 d7 8 d8 9 d9 10 d0+d1 11 d1+d2 12 d2+d3 13 d3+d4 14 d4+d5 15 d5+d6 16 d6+d7 17 d7+d8 18 d8+d9 19 d9+d0+d1 20 d0+d1+d1+d2 21 d1+d2+d2+d3 : : このように、ある時点でのシフトレジスタ80の内容が分
かると、その後のスクランブル信号出力83は原理的に計
算できる。[0027] 0 d0 1 d1 2 d2 3 d3 4 d4 5 d5 6 d6 7 d7 8 d8 9 d9 10 d0 + d1 11 d1 + d2 12 d2 + d3 13 d3 + d4 14 d4 + d5 15 d5 + d6 16 d6 + d7 17 d7 + d8 18 d8 + d9 19 d9 + d0 + d1 20 d0 + d1 + d1 + d2 21 d1 + d2 + d2 + d3:: The Thus, if the contents of the shift register 80 at a certain point of time are known, the subsequent scramble signal output 83 can be calculated in principle.
【0028】この計算を最少の回路で行なっているの
が、図1の回路である。この回路にプリセット信号51が
入力すると、プリセット回路2の論理和回路20からは1
が、また、その他の論理積回路21〜29からは0が出力さ
れ、“0000000001”に相当する初期データが
記憶回路1のレジスタ10〜19に記憶される。この初期デ
ータの設定は、従来のスクランブル信号発生回路におけ
るシフトレジスタ80への初期データ設定と同じである。
なお、プリセット回路2の論理和回路は、初期データと
して1を設定するレジスタ10〜19に対応させて配置す
る。例えば、初期データを“0000000010”と
する場合には、プリセット回路2の論理和回路20と論理
積回路21との位置を入替える。The circuit shown in FIG. 1 performs this calculation with the minimum number of circuits. When the preset signal 51 is input to this circuit, the OR circuit 20 of the preset circuit 2 outputs 1
However, 0 is output from the other AND circuits 21 to 29, and the initial data corresponding to "0000000001" is stored in the registers 10 to 19 of the storage circuit 1. This initial data setting is the same as the initial data setting in the shift register 80 in the conventional scramble signal generation circuit.
The OR circuit of the preset circuit 2 is arranged corresponding to the registers 10 to 19 that set 1 as the initial data. For example, when the initial data is "0000000010", the positions of the logical sum circuit 20 and the logical product circuit 21 of the preset circuit 2 are exchanged.
【0029】記憶回路1のレジスタ10〜19に記憶された
データは、バイトクロック52の入力により出力される。
ある時点での各レジスタ10〜19の出力をd0〜d9とす
ると、この内の8ビット分のd0〜d7がスクランブル
データ41として加算回路42に出力され、また、各レジス
タ10〜19の出力d0〜d9がフィードバックされてスク
ランブル信号発生回路の加算回路3とプリセット回路2
の一部とに入力する。その結果、記憶回路1のレジスタ
10には次のデータとしてd8がセットされ、同様に、レ
ジスタ11にはd9が、レジスタ12にはd0+d1が、レ
ジスタ13にはd1+d2が、‥、レジスタ17にはd5+
d6が、レジスタ18にはd6+d7が、レジスタ19には
d7+d8がそれぞれセットされる。そして、次のバイ
トクロック52が入力すると、レジスタ10〜17にセットさ
れたd8、d9、d0+d1、‥、d5+d6が8ビッ
ト分のスクランブルデータとして出力され、また、各レ
ジスタ10〜19の出力がスクランブル信号発生回路の加算
回路3及びプリセット回路2の一部にフィードバックさ
れる。The data stored in the registers 10 to 19 of the memory circuit 1 are output by the input of the byte clock 52.
Assuming that the outputs of the registers 10 to 19 at a certain point are d0 to d9, 8 bits d0 to d7 of these are output to the adder circuit 42 as scrambled data 41, and the outputs d0 of the registers 10 to 19 are also output. To d9 are fed back, and the adder circuit 3 and the preset circuit 2 of the scramble signal generating circuit are fed back.
And part of. As a result, the register of the memory circuit 1
Next, d8 is set as the next data in 10, and similarly, d9 is stored in the register 11, d0 + d1 is stored in the register 12, d1 + d2 is stored in the register 13, and d5 + is stored in the register 17.
d6, d6 + d7 are set in the register 18, and d7 + d8 are set in the register 19. When the next byte clock 52 is input, d8, d9, d0 + d1, ..., d5 + d6 set in the registers 10 to 17 are output as scrambled data for 8 bits, and the outputs of the registers 10 to 19 are scrambled. It is fed back to a part of the adding circuit 3 and the preset circuit 2 of the signal generating circuit.
【0030】そのため、例えば、レジスタ13に注目する
と、レジスタ11から出力されたd9と、レジスタ12から
出力されたd0+d1とを加算したd9+d0+d1の
排他的論理和が次の出力データとしてセットされること
になる。他のレジスタでも同様のセットが行なわれ、次
のバイトクロックの入力により、レジスタ10〜17から、
8ビット分のスクランブルデータとして、d6+d7、
d7+d8、d8+d9、d9+d0+d1、d0+d
1+d1+d2、‥、d3+d4+d4+d5が出力さ
れる。Therefore, for example, paying attention to the register 13, the exclusive OR of d9 + d0 + d1 obtained by adding d9 output from the register 11 and d0 + d1 output from the register 12 is set as the next output data. Become. The same setting is performed in other registers, and the next byte clock input causes registers 10 to 17 to
As scrambled data for 8 bits, d6 + d7,
d7 + d8, d8 + d9, d9 + d0 + d1, d0 + d
1 + d1 + d2, ..., D3 + d4 + d4 + d5 are output.
【0031】実施例のスクランブル信号発生回路は、こ
うした処理を繰り返すことにより、従来のシフトレジス
タがビットクロック50を8回変化させて計算していた8
ビット分のスクランブルデータを、バイトクロックの変
化時に一度に計算して出力することができる。In the scramble signal generating circuit of the embodiment, the conventional shift register calculates the bit clock 50 by changing the bit clock 50 eight times by repeating such processing.
The scrambled data for bits can be calculated and output at one time when the byte clock changes.
【0032】このように、実施例のスクランブル信号発
生回路は、並列直列変換器や直列並列変換器を併用する
ことなくスクランブル処理を実現できるので、トータル
で見た回路規模は従来のもの(図4)に比べて小さくな
る。また、8ビット単位で処理することができるので、
スクランブル処理をマイコン等のソフトウエアで実現す
る場合にも、本発明のスクランブル信号発生回路のアル
ゴリズムを使用することで、処理のステップ数を削減す
ることが可能となる。As described above, in the scramble signal generating circuit of the embodiment, the scramble processing can be realized without using the parallel-serial converter or the serial-parallel converter, so that the total circuit scale is the conventional one (see FIG. 4). ) Is smaller than. Also, since it can be processed in 8-bit units,
Even when the scramble processing is realized by software such as a microcomputer, it is possible to reduce the number of processing steps by using the algorithm of the scramble signal generating circuit of the present invention.
【0033】実施例では、記憶回路1のレジスタ10〜19
の数n=10、加算回路3の1ビット加算回路30〜37の
数m=8の場合について説明しているが、n、mの値は
この数に限定されない。この1ビット加算回路の数m
は、出力するスクランブル信号のビット数と同数に設定
する。そして、各1ビット加算回路には、シフトレジス
タ80においてフィードバックされる加算値に対応するレ
ジスタ10〜19の出力を入力し、また、各1ビット加算回
路の出力は、記憶回路1の順番が後ろに位置するm個の
レジスタに入力する。In the embodiment, the registers 10 to 19 of the memory circuit 1 are
The number n of m = 10 and the number m of the 1-bit addition circuits 30 to 37 of the addition circuit 3 = 8 are described, but the values of n and m are not limited to this number. Number of 1-bit addition circuits m
Is set to the same number as the number of bits of the scrambled signal to be output. Then, the outputs of the registers 10 to 19 corresponding to the added value fed back in the shift register 80 are input to the respective 1-bit addition circuits, and the outputs of the respective 1-bit addition circuits are in the order of the storage circuit 1. To the m registers located at.
【0034】記憶回路1の順番が前にあるn−m個のレ
ジスタには、記憶回路1の順番が後ろにあるn−m個の
レジスタの出力をそのまま入力する。これは、前の回の
スクランブル信号の出力に際して、出力されなかった信
号を次の回で上位の順序で出力するためである。そし
て、記憶回路1の順番が前にあるm個のレジスタの出力
をmビット分のスクランブル信号として同時に出力す
る。The outputs of the mn registers of the storage circuit 1 in the order are input to the nm registers in the order of the storage circuit 1 as they are. This is because, when the scramble signal is output in the previous round, the signals that have not been output are output in the higher order in the next round. Then, the outputs of the m registers in the previous order of the storage circuit 1 are simultaneously output as m-bit scramble signals.
【0035】n、mの値を変える場合は、こうした考え
方に沿って回路構成を変更する。例えば、n=15、m
=8の場合には、図1における論理積回路21及びレジス
タ11から成る回路部分を5個分追加した形の回路にな
る。また、n=8、m=8の場合には、図1における、
論理和回路20及びレジスタ10、論理積回路21及びレジス
タ11を削除した形の回路になる。また、n=10、m=
4の場合、つまり4ビット単位のスクランブル信号を出
力する場合には、加算回路3の1ビット加算回路を34〜
37の4個だけに減らし、これらの1ビット加算回路34〜
37にはレジスタ10〜13の出力を組合せて入力し、プリセ
ット回路2の論理和回路20及び論理積回路21〜25にはレ
ジスタ14〜19の出力を入力する。そして、スクランブル
出力を記憶回路1のレジスタ10〜13から取り出す。When changing the values of n and m, the circuit configuration is changed in accordance with this idea. For example, n = 15, m
In the case of = 8, the circuit has a form in which five circuit parts including the AND circuit 21 and the register 11 in FIG. 1 are added. When n = 8 and m = 8,
This is a circuit in which the logical sum circuit 20 and the register 10, the logical product circuit 21 and the register 11 are deleted. Also, n = 10, m =
In the case of 4, that is, when outputting a scrambled signal in units of 4 bits, the 1-bit addition circuit of the addition circuit 3
It is reduced to only 4 of 37, and these 1-bit addition circuits 34-
The outputs of the registers 10 to 13 are combined and input to 37, and the outputs of the registers 14 to 19 are input to the logical sum circuit 20 and the logical product circuits 21 to 25 of the preset circuit 2. Then, the scrambled output is taken out from the registers 10 to 13 of the storage circuit 1.
【0036】また、このスクランブル信号発生回路は、
加算回路3の1ビット加算回路への入力を代えることに
より、Xn+Xn-1以外のフィードバックを行なうシフト
レジスタに対応するスクランブル信号を並列的に発生す
ることができる。Further, this scramble signal generating circuit is
By changing the input to the 1-bit adder circuit of the adder circuit 3, a scramble signal corresponding to a shift register for feedback other than X n + X n-1 can be generated in parallel.
【0037】[0037]
【発明の効果】以上の実施例の説明から明らかなよう
に、本発明のスクランブル信号発生回路は、8ビットや
4ビット単位のスクランブルデータを発生することがで
きる。そのため、他のブロックから出力されることの多
い8ビットや4ビット単位のデータに対して、形式の変
換を行なわずに、そのままの形でスクランブルを掛ける
ことができる。その結果、データの形式変換の回路が不
要になり、全体としての回路規模を小さくすることがで
きる。As is apparent from the above description of the embodiments, the scramble signal generating circuit of the present invention can generate scramble data in units of 8 bits or 4 bits. Therefore, it is possible to scramble the 8-bit or 4-bit unit data, which is often output from other blocks, as it is without converting the format. As a result, a circuit for converting the format of data becomes unnecessary, and the circuit scale as a whole can be reduced.
【0038】また、このスクランブル処理は、ビットク
ロックに比べて、遥かに低速で処理することができ、回
路構成に厳しい精度が要求されない。Further, this scramble processing can be processed at a much lower speed than the bit clock, and strict accuracy is not required for the circuit configuration.
【図1】本発明の実施例におけるスクランブル信号発生
回路の概略図、FIG. 1 is a schematic diagram of a scramble signal generation circuit according to an embodiment of the present invention,
【図2】実施例のスクランブル信号発生回路を用いたス
クランブル処理回路のブロック図、FIG. 2 is a block diagram of a scramble processing circuit using the scramble signal generation circuit of the embodiment,
【図3】従来のスクランブル信号発生回路の概略図、FIG. 3 is a schematic diagram of a conventional scramble signal generation circuit,
【図4】従来のスクランブル信号発生回路を用いたスク
ランブル処理回路のブロック図である。FIG. 4 is a block diagram of a scramble processing circuit using a conventional scramble signal generation circuit.
1 記憶回路 2、81 プリセット回路 3、42、82、84 加算回路 4、62 スクランブル信号発生回路 10〜19 レジスタ 20 論理和回路 21〜29 論理積回路 30〜37 1ビット加算回路 41、83 スクランブル信号出力 50 ビットクロック入力 51 プリセット信号入力 52 バイトクロック入力 53 パラレルデータ入力 54 パラレルデータ出力 61 並列直列変換回路 63 直列並列変換回路 71 シリアルデータ入力 72 シリアルデータ出力 80 シフトレジスタ 1 memory circuit 2, 81 preset circuit 3, 42, 82, 84 adder circuit 4, 62 scramble signal generation circuit 10-19 register 20 logical sum circuit 21-29 logical product circuit 30-37 1-bit adder circuit 41, 83 scramble signal Output 50 Bit clock input 51 Preset signal input 52 Byte clock input 53 Parallel data input 54 Parallel data output 61 Parallel / serial conversion circuit 63 Serial / parallel conversion circuit 71 Serial data input 72 Serial data output 80 Shift register
Claims (1)
ブルデータを出力するスクランブル信号発生回路におい
て、 n個のレジスタと、前記レジスタの複数の出力が組合さ
れて入力されるm個の1ビット加算回路(n≧m:n、
mは整数)とを備え、 前記1ビット加算回路の各出力がm個の前記レジスタに
入力され、1ビット加算回路の出力が入力されないn−
m個の前記レジスタに、異なる前記レジスタの出力が入
力され、前記n個のレジスタの内のm個のレジスタの出
力がmビット分のスクランブルデータとして同時に出力
されることを特徴とするスクランブル信号発生回路。1. A scramble signal generation circuit for outputting scramble data to be added to digital data, wherein n registers and m 1-bit adder circuits (n where n outputs are combined and input) are combined. ≧ m: n,
m is an integer), each output of the 1-bit adder circuit is input to m registers, and the output of the 1-bit adder circuit is not input n−
The scramble signal generation, wherein the outputs of the different registers are input to the m registers and the outputs of the m registers of the n registers are simultaneously output as scramble data for m bits. circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7200287A JPH0936711A (en) | 1995-07-14 | 1995-07-14 | Scramble signal generating circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7200287A JPH0936711A (en) | 1995-07-14 | 1995-07-14 | Scramble signal generating circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0936711A true JPH0936711A (en) | 1997-02-07 |
Family
ID=16421811
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7200287A Pending JPH0936711A (en) | 1995-07-14 | 1995-07-14 | Scramble signal generating circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0936711A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100416478B1 (en) * | 2001-12-29 | 2004-01-31 | 디지피아(주) | Parallel scrambler for dvb-t |
-
1995
- 1995-07-14 JP JP7200287A patent/JPH0936711A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100416478B1 (en) * | 2001-12-29 | 2004-01-31 | 디지피아(주) | Parallel scrambler for dvb-t |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4387364A (en) | Method and apparatus for reducing DC components in a digital information signal | |
| US4918638A (en) | Multiplier in a galois field | |
| JPH0391167A (en) | Information transmission equipment | |
| EP1211682A2 (en) | Data recording / reproduction method and apparatus using random series for scrambling input data | |
| JPH0452020B2 (en) | ||
| EP0748089B1 (en) | Data scrambling/descrambling method and apparatus | |
| US5966447A (en) | Data scrambling method, data scrambling apparatus, data descrambling method, and data descrambling apparatus | |
| JPH0936711A (en) | Scramble signal generating circuit | |
| JP3025270B2 (en) | Method and apparatus for reducing distortion in a binary coded data signal | |
| US6044053A (en) | Dc-balance-value calculation circuit and recording signal generator using the same | |
| JP2578405B2 (en) | Data transmission system | |
| JPH07325667A (en) | Data transfer method and disk control LSI | |
| JP3031920B2 (en) | Multitrack digital magnetic recording device | |
| JP3192268B2 (en) | Signal processing system | |
| JP3368914B2 (en) | Clock circuit and magnetic disk drive using the same | |
| KR970010528B1 (en) | Digital Modulation Method and Apparatus | |
| JP2708994B2 (en) | Delta-sigma D / A converter | |
| US5984521A (en) | Method and apparatus for generating descrambling data for CD-ROM decoder | |
| JP3243137B2 (en) | Data conversion method | |
| SU1037336A1 (en) | Digital data recording and reproducing device | |
| JPS62252575A (en) | Digital data recording/playback device | |
| SU1661829A1 (en) | Method for digital data magnetic recording | |
| JP2962027B2 (en) | Information conversion method and information recording device | |
| JP2713011B2 (en) | Information conversion method and information recording device / information reproducing device | |
| SU1089614A1 (en) | Process for recording digital information on mobile magnetic medium |