JP2000174629A - Code modulation method, circuit and information recording and reproducing device using the same - Google Patents

Code modulation method, circuit and information recording and reproducing device using the same

Info

Publication number
JP2000174629A
JP2000174629A JP10341310A JP34131098A JP2000174629A JP 2000174629 A JP2000174629 A JP 2000174629A JP 10341310 A JP10341310 A JP 10341310A JP 34131098 A JP34131098 A JP 34131098A JP 2000174629 A JP2000174629 A JP 2000174629A
Authority
JP
Japan
Prior art keywords
modulation
code
modulation code
overflow
value
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
JP10341310A
Other languages
Japanese (ja)
Inventor
Takashi Hoshino
隆司 星野
Kazuhisa Nara
和久 奈良
Toshifumi Takeuchi
敏文 竹内
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.)
Hitachi Ltd
Hitachi Advanced Digital Inc
Original Assignee
Hitachi Ltd
Hitachi Video and Information System Inc
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 Hitachi Ltd, Hitachi Video and Information System Inc filed Critical Hitachi Ltd
Priority to JP10341310A priority Critical patent/JP2000174629A/en
Publication of JP2000174629A publication Critical patent/JP2000174629A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To correctly conduct succeeding modulation by detecting a line overflow of an arithmetic result and using a selector that selects a succeeding integration DC component on the basis of the comparison result between the detection result and an absolute value so as to allow the selector to select the result substantially to be selected even when the arithmetic result indicates the occurrence of overflow. SOLUTION: A line overflow detection circuit 117 (119) receives a DSV value 101 (105) of a modulation code object A (B), an integral value 102, and an arithmetic result 104 (107) of a computing element 103 (106) and outputs a line overflow discrimination result 118 (120) of the arithmetic result 104 (107). A comparator 108 receives both the arithmetic results 104, 107 and compares the absolute values of them to provide an output of a comparison result 109. A comparison control circuit 121 outputs a line overflow state 123 that denotes whether or not a line overflow place. A selector 110 receives a selection result 122 and the line overflow state 123 as selection control signals and selects and outputs at of three kinds of the input signals that are the arithmetic results 104, 107 and the DSV value 101 being the modulation code object A.

Description

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

【0001】[0001]

【発明の属する技術分野】入力コード列を異なるビット
数で構成される変調コード列に変換する直流成分抑制変
調符号の変調装置において、複数の変調コード候補から
最適な変調コード列を選択する際、選択の判断を行う変
調コード候補の直流成分値(Digital Sum
Value 以下DSV)の計算及び結果の判定制御を
行う方法および回路に関するものである。
BACKGROUND OF THE INVENTION In a DC component suppressing modulation code modulator for converting an input code sequence into a modulation code sequence having a different number of bits, when selecting an optimal modulation code sequence from a plurality of modulation code candidates, A DC component value (Digital Sum) of a modulation code candidate for which selection is determined.
The present invention relates to a method and a circuit for performing calculation of a value (hereinafter referred to as DSV) and controlling the determination of the result.

【0002】[0002]

【従来の技術】直流成分抑制変調符号の変調装置におけ
る従来技術の回路構成を、DVDシステムの8−16変
調符号の変調装置を例に取り図2に示す。
2. Description of the Related Art FIG. 2 shows a prior art circuit configuration of a DC component suppression modulation code modulator using an 8-16 modulation code modulator of a DVD system as an example.

【0003】変調信号の直流成分を抑制するためには、
変調信号の“1”と“0”の数が等しくなるように変調
コードを選ぶ必要が有る。“0”の数と“1”の数の差
を示すものがDSV値であり、例えば“0”が1ビット
有るとDSV値に1を加算し、“1”が1ビット有ると1
を減算することにより、DSV値が“+”のときは
“0”の数が多く、“−”のときは“1”の数が多いこ
とを表す事ができる。8−16変調においては変調を行
うに当たり、8ビット(1ワード)の入力データを16ビ
ットの変調コードに変換しさらにNRZI変調により変
調信号を生成する。公知のように、NRZI変調は入力
データに“1”が現れる毎に出力の変調信号を反転する
変調方式であり、DSV値はこの変調信号に対して計算
される。また、変調信号の周波数成分の帯域幅を制限す
るためにいわゆるランレングスの制限が行われ、これが
2〜10すなわちNRZI変調前における“1”に挟ま
れた“0”の連続数を2〜10の間とし、この結果NRZI
変調後における“1”および“0”の連続数が3〜11に
なるようにしている。これを実現するために8−16変
調においては16ビットの変調コードへの変換に当た
り、1ワードの各データ(0〜255)に対し4ステート
の変調コードを主変換テーブルとして割り当て、さらに
データが0〜87の範囲に対しては副変換テーブルとし
て主変換テーブルのコードとDSVの異なる4ステート
の変調コードを割り当てている。そして各変調コードは
次の変調コードとの接続部でランレングス条件を満たす
ために次の変調コードのステートが指定されている。変
調に当たっては、データが0〜87の範囲の場合一つ前
の変調コードで指定されたステートの変調コードを主変
換テーブルと副変換テーブルから一つずつ選択し、両者
から積算のDSVが小さくなる方の変調コードを選択す
る。データが88〜255のときには、一つ前の変調コ
ードで指定されたステートがステート1またはステート4
であり、かつ主変換テーブルのステート1とステート4の
両方の変調コードでランレングス条件を満たす場合にの
みステート1の変調コードとステート4の変調コードのう
ち積算DSVが小さくなる方のコードを選択する。DS
Vは正負両方を取り得るため、積算を加算のみで実現す
るために負の値は2の補数で扱われる。2つの候補から
1つを選択する場合、一方の変調コード候補を例えばA
とし他方の変調コード候補を例えばBとする。回路は変
調コード候補AのDSV値入力201と積算値202を
加算し演算結果204を出力する演算器203、変調コ
ード候補BのDSV値入力値205と積算値202を加
算し演算結果207を出力する演算器206、演算結果
204と演算結果207を入力しこれらの絶対値を比較
して比較結果209を出力する比較器208、比較結果
209により演算結果204と演算結果207を選択し
出力するセレクタ210、選択した演算結果211を保
持し積算値202を出力するラッチ212、比較結果2
09により変調コード候補A213と変調コード候補B
のコード214を選択して変調コード216を出力する
セレクタ215から構成される。
In order to suppress the DC component of the modulation signal,
It is necessary to select a modulation code such that the number of “1” and “0” of the modulation signal becomes equal. The DSV value indicates the difference between the number of “0” and the number of “1”. For example, when “0” has one bit, 1 is added to the DSV value, and when “1” has 1 bit, 1 is added.
Is subtracted, when the DSV value is “+”, it is possible to indicate that the number of “0” is large, and when the DSV value is “−”, it is possible to indicate that the number of “1” is large. In the 8-16 modulation, when performing modulation, 8-bit (1 word) input data is converted into a 16-bit modulation code, and a modulation signal is generated by NRZI modulation. As is well known, NRZI modulation is a modulation method in which an output modulation signal is inverted every time "1" appears in input data, and a DSV value is calculated for this modulation signal. In order to limit the bandwidth of the frequency component of the modulated signal, a so-called run length is limited, which is 2 to 10, that is, the number of consecutive “0” s sandwiched by “1” before NRZI modulation is 2 to 10 NRZI
The number of continuations of “1” and “0” after modulation is set to 3 to 11. To achieve this, in the 8-16 modulation, when converting to a 16-bit modulation code, a 4-state modulation code is assigned to each data (0 to 255) of one word as a main conversion table. To the range of ~ 87, a 4-state modulation code different from the code of the main conversion table and the DSV is assigned as the sub conversion table. Each modulation code specifies the state of the next modulation code in order to satisfy the run-length condition at the connection with the next modulation code. In the modulation, when the data is in the range of 0 to 87, the modulation code of the state specified by the immediately preceding modulation code is selected one by one from the main conversion table and the sub conversion table, and the DSV of the integration is reduced from both. The other modulation code. When the data is 88 to 255, the state specified by the immediately preceding modulation code is state 1 or state 4
Only when the modulation length of both the state 1 and the state 4 of the main conversion table satisfies the run length condition, the code of the modulation code of the state 1 and the modulation code of the state 4 which has the smaller integrated DSV is selected. I do. DS
Since V can be both positive and negative, negative values are treated as two's complement in order to realize integration only by addition. When one of the two candidates is selected, one of the modulation code candidates is, for example, A
And the other modulation code candidate is, for example, B. The circuit adds the DSV value input 201 of the modulation code candidate A and the integrated value 202 and outputs an operation result 204, and adds the DSV value input value 205 of the modulation code candidate B and the integrated value 202 and outputs the operation result 207. An arithmetic unit 206, a comparator 208 that inputs the operation result 204 and the operation result 207, compares their absolute values and outputs a comparison result 209, and a selector that selects and outputs the operation result 204 and the operation result 207 based on the comparison result 209. 210, a latch 212 for holding a selected operation result 211 and outputting an integrated value 202, a comparison result 2
09, modulation code candidate A 213 and modulation code candidate B
And a selector 215 for selecting the code 214 and outputting a modulation code 216.

【0004】比較器208では演算結果204と演算結
果207を比較し、演算結果204の絶対値が演算結果
207以下ならば比較結果209を0にし、演算結果2
07の絶対値のほうが小さければ比較結果209を1に
する。セレクタ210は比較結果209が0ならば演算
結果204を選択結果211として出力し、比較結果2
09が1ならば演算結果207を選択結果211として
出力する。選択結果211はラッチ212に保持され積
算値202として出力する。保持した積算値202は次
の変調候補の選択に同様に使用する。さらにセレクタ2
15は比較結果209が0ならば変調コード候補Aを選
択し、比較結果209が1ならば変調コード候補Bを選
択して、変調コード216として出力する。このように
して、DSVの積算値を比較して、変調コードを選択し
変調を行う。
The comparator 208 compares the operation result 204 with the operation result 207. If the absolute value of the operation result 204 is smaller than the operation result 207, the comparison result 209 is set to 0, and the operation result 2
If the absolute value of 07 is smaller, the comparison result 209 is set to 1. If the comparison result 209 is 0, the selector 210 outputs the operation result 204 as the selection result 211, and the comparison result 2
If 09 is 1, the operation result 207 is output as the selection result 211. The selection result 211 is held in the latch 212 and output as the integrated value 202. The held integrated value 202 is similarly used for selecting the next modulation candidate. Furthermore, selector 2
Reference numeral 15 selects the modulation code candidate A if the comparison result 209 is 0, and selects the modulation code candidate B if the comparison result 209 is 1 and outputs it as the modulation code 216. In this way, the integrated value of DSV is compared, a modulation code is selected and modulation is performed.

【0005】[0005]

【発明が解決しようとする課題】従来の技術において使
用される演算器203、206の桁は有限なため、以下
に説明する問題点がある。
The arithmetic units 203 and 206 used in the prior art have a finite number of digits, and therefore have the following problems.

【0006】図2において、演算器203、206を桁
数有限の例として符号付き4ビットの演算器とする。積
算値202を符号付き4ビットの値として“+6”、2進
表現で“0110”、変調コード候補AのDSV値入力
201を符号付き4ビットの値として“+7”、2進表現
で“0111”、変調コード候補BのDSV値入力20
5を符号付き4ビットの値として“+1”、2進表現で
“0001”とする。演算器203の演算結果は“+
6”と“+7”を加算して“+13”になるが、2進表
現で“1101”となり、最上位ビット(符号ビット)
に桁上がりが生じるため、負数である“−3”と表現し
てしまう。一方、演算器206の出力は“+6”と“+
1”を加算して“+7”であり、演算結果207は2進
表現で“0111”となり“+7”を表現している。こ
こで演算結果204と207を比較器208で比較して
比較結果209を出力する。絶対値の小さい方を結果と
して出力するため、本来演算結果204が“+13”、
演算結果207が“+7”であるので演算結果207を
選択して比較結果209を1とするべきであるが、演算
結果204を2の補数で表される負数“−3”と解釈
し、演算結果207が“+7”であるので演算結果20
4を選択して比較結果209を0として、DSVが大き
くなるほうのコードを選択してしまう。このように、演
算結果が桁あふれを生じると本来選択するべきコードを
選択できなくなり、また誤って選択した演算結果を次の
積算値とするため以降の直流制御も正しく行われないと
いう問題が発生する。演算器および比較器の桁数を実際
に生じ得るDSVより大きくしておけばこのような問題
は生じないが、DSVの最大値を正確に予測することは
困難であり、また発生頻度が非常に少ない最悪値に合わ
せて大きな桁数を設定することは非効率でもある。
In FIG. 2, arithmetic units 203 and 206 are signed 4-bit arithmetic units as an example of a finite number of digits. The integrated value 202 is “+6” as a 4-bit value with a sign, “0110” in binary representation, the DSV value input 201 of the modulation code candidate A is “+7” as a 4-bit value with a sign, and “0111” in binary representation. ", DSV value input 20 of modulation code candidate B
5 is “+1” as a 4-bit value with a sign, and “0001” in binary representation. The calculation result of the calculator 203 is “+
"+13" is obtained by adding "6" and "+7", but becomes "1101" in binary notation and the most significant bit (sign bit)
Carry-over, the result is expressed as a negative number “−3”. On the other hand, the output of the arithmetic unit 206 is “+6” and “+
The result of addition 207 is “+7”, and the operation result 207 is “0111” in binary notation, representing “+7.” Here, the operation results 204 and 207 are compared by the comparator 208 and the comparison result is obtained. 209. Since the smaller absolute value is output as a result, the operation result 204 is originally “+13”,
Since the operation result 207 is “+7”, the operation result 207 should be selected and the comparison result 209 should be set to 1. However, the operation result 204 is interpreted as a negative number “−3” represented by a two's complement, and the operation result is calculated. Since the result 207 is “+7”, the operation result 20
By selecting 4 and setting the comparison result 209 to 0, the code with the larger DSV is selected. In this way, if the calculation result overflows, the code to be originally selected cannot be selected, and the subsequent DC control is not performed correctly because the incorrectly selected calculation result is used as the next integrated value. I do. If the number of digits of the arithmetic unit and the comparator is made larger than the DSV that can actually occur, such a problem does not occur. However, it is difficult to accurately predict the maximum value of the DSV, and the occurrence frequency is extremely high. Setting a large number of digits to a small worst value is also inefficient.

【0007】本発明は演算結果が桁あふれした場合でも
本来選択するべき結果を選択でき、以降の変調が正しく
行われることを可能とする直流成分抑制制御を伴う符号
変調を提供することを目的とする。
It is an object of the present invention to provide a code modulation with a DC component suppression control that enables a result to be originally selected to be selected even when an arithmetic result overflows, and enables subsequent modulation to be performed correctly. I do.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、演算結果の桁あふれを検出する桁あふれ検出回路
と、桁あふれ検出結果と絶対値比較結果により次の積算
直流成分値を選択するセレクタを設け、直流成分抑制制
御符号変調回路を構成する。
In order to achieve the above object, an overflow detection circuit for detecting overflow of a calculation result and a next integrated DC component value are selected based on the overflow detection result and the absolute value comparison result. A selector is provided to constitute a DC component suppression control code modulation circuit.

【0009】[0009]

【発明の実施の形態】以下、本発明による実施例を図面
を用いて説明する。図1に、本発明による直流成分抑制
制御符号変調回路の第1の実施例を示す。この第1の実
施例は、2種類の変調コード候補からDSV値により一
つの変調コードを選択するものであり、一方の変調コー
ド候補AのDSV値101と積算値102を加算し演算
結果104を出力する演算器103、他方の変調コード
候補BのDSV値105と積算値102を加算し演算結
果107を出力する演算器106、変調コード候補Aの
DSV値101と積算値102と演算結果104を入力
とし演算結果104の桁あふれ判定結果118を出力す
る桁あふれ検出回路117、変調コード候補BのDSV
値入力105と積算値102と演算結果107を入力と
し演算結果107の桁あふれ判定結果120を出力する
桁あふれ検出回路119、演算結果104と演算結果1
07を入力と両者の絶対値を比較して比較結果109を
出力する比較器108、比較結果109と桁あふれ判定
結果118と120を入力しどちらの候補を選ぶかを示
す選択結果122、選択した候補によるDSV積算にお
いて桁あふれを生じたか否かを示す桁あふれステート1
23を出力する比較制御回路121、選択結果122と
桁あふれステート123を選択制御信号として入力し、
演算結果104、演算結果107、変調コード候補Aの
DSV値101の3種類の入力信号から一つの信号を選
択し出力するセレクタ110、選択した演算結果111
(積算直流成分値ともいう)を入力とし積算値102と
して保持するラッチ112、選択結果122を選択制御
信号として入力し、変調コード候補A113と変調コー
ド候補B114のどちらか一方を選択して変調コード1
16を出力するセレクタ115から構成される。またこ
こには図示しないが、変調コード116はNRZI変調
されて変調信号が生成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a first embodiment of a DC component suppression control code modulation circuit according to the present invention. In the first embodiment, one modulation code is selected from the two types of modulation code candidates by the DSV value. The DSV value 101 of one modulation code candidate A and the integrated value 102 are added, and the operation result 104 is obtained. A computing unit 103 to output, a computing unit 106 to add the DSV value 105 of the other modulation code candidate B and the integrated value 102 and to output an operation result 107, and to calculate the DSV value 101, the integrated value 102 and the operation result 104 of the modulation code candidate A An overflow detector 117 that outputs an overflow determination result 118 of the operation result 104 as an input, and a DSV of the modulation code candidate B.
An overflow detection circuit 119 which receives a value input 105, an integrated value 102, and an operation result 107 as an input and outputs an overflow judgment result 120 of the operation result 107, an operation result 104, and an operation result 1
07, the comparator 108 compares the absolute values of the two, and outputs a comparison result 109. The comparator 108 inputs the comparison result 109 and the overflow judgment results 118 and 120, and the selection result 122 indicating which candidate is selected. Digit overflow state 1 indicating whether digit overflow has occurred in DSV integration by candidates
23, a comparison control circuit 121 that outputs 23, a selection result 122 and an overflow state 123 that are input as selection control signals,
A selector 110 that selects and outputs one signal from three types of input signals, that is, an operation result 104, an operation result 107, and a DSV value 101 of the modulation code candidate A, and a selected operation result 111
(Also referred to as an integrated DC component value) and a latch 112 for holding as an integrated value 102, a selection result 122 as a selection control signal, and selecting one of a modulation code candidate A113 and a modulation code candidate B114 to select a modulation code. 1
16 is provided. Although not shown here, the modulation code 116 is subjected to NRZI modulation to generate a modulation signal.

【0010】次に第1の実施例の動作について説明す
る。各変調コード候補のDSV値は、初期値を0とし、
先頭ビットから最初の“1”が現れるまでのビット数を
加算、次の“1”が現れるまでのビット数を減算、次の
“1”が現れるまでのビット数を加算、というように1
6ビット長計算した値であり正の値と負の値を取り得
る。したがって、前のNRZI変調が“0”で終了した
場合には積算のDSV値は変調コード候補のDSV値そ
のままでよいが、前の変調が“1”で終了した場合にお
いては、変調コード候補のDSV値の符号反転が必要で
あり、符号反転回路(図示せず)により符号反転が行わ
れている。ここではまず、変調コード候補A側がDSV
値の加算で桁あふれを発生した場合について説明する。
図1において、演算器103、106を桁数有限の例と
して符号付き4ビットの演算器とする。また、DSVの
負数は2の補数であらわされる。積算値102を符号付
き4ビットの値として“+6”、2進表現で“011
0”、変調コード候補AのDSV値入力101を符号付
き4ビットの値として“+7”、2進表現で“011
1”、変調コード候補BのDSV値入力105を符号付
き4ビットの値として“+1”、2進表現で“0001”
とする。演算器103の出力は“+6”と“+7”を加
算して“+13”であるが、演算結果104は2進表現
では“1101”となり、符号ビットである最上位ビッ
トが“1”であるため“−3”の2の補数を表現してい
る。演算器106の出力は“+6”と“+1”を加算し
て“+7”であり、演算結果107は2進表現では“0
111”となり、符号ビットである最上位ビットが
“0”であるため“+7”を表現している。比較器10
8は演算結果104と107を絶対値比較し、|演算結
果104|>|演算結果107|のとき比較結果109
は“1”、|演算結果104|<|演算結果107|の
とき比較結果109は“0”を出力する。今の例では、
本来「|演算結果104(“+13”)|>|演算結果
107(“+7”)|」であるので比較結果109は
“1”となるべきであるが、比較器108は演算結果1
04を“−3”として扱うので、比較結果109は
“0”となる。桁あふれ検出回路117では積算値10
2の符号ビットである最上位ビットと変調コード候補A
のDSV値入力値101の符号ビットである最上位ビッ
トが同じで(ここでは“0”)、かつ演算結果104の
符号ビットである最上位ビットが異なること(“1”)
より桁あふれを検出し、桁あふれ判定結果118は桁あ
ふれを検出したことを示す(“1”)。一方、桁あふれ
検出回路119では積算値102の符号ビットである最
上位ビットと変調コード候補BのDSV値入力値105
の符号ビットである最上位ビットが同じで(ここでは
“0”)、かつ演算結果107の符号ビットである最上
位ビットも同じであること(“0”)より桁あふれが無
いことを検出し、桁あふれ判定結果120は桁あふれが
無いことを示す(“0”)。比較制御回路121は比較
結果109(“0”)、桁あふれ判定結果118
(“1”)、桁あふれ判定結果120(“0”)が入力
される。この例では変調コード候補A側の桁あふれ判定
結果118が“1”で桁あふれを示し、変調コード候補
B側の桁あふれ判定結果120が“0”で桁あふれをし
ていないことを示しているので、変調コード候補A側の
計算が正常でなく変調コード候補B側の計算は正常であ
ると判断し選択結果122として変調コード候補B側を
選択ことを示す“1”、正常計算値を選択したので桁あ
ふれステート123は桁あふれが無いことを示す“0”
を出力する。セレクタ110は選択結果122
(“1”)、桁あふれステート123(“0”)が入力
され、桁あふれが無い変調コード候補B側を選択し、選
択した演算結果111には変調コード候補B側の演算結
果107を出力する。セレクタ115は選択結果122
(“1”)が入力され変調コード候補Bのコード114
を変調コード116として出力する。
Next, the operation of the first embodiment will be described. The DSV value of each modulation code candidate has an initial value of 0,
Add the number of bits from the first bit until the first "1" appears, subtract the number of bits until the next "1" appears, add the number of bits until the next "1" appears, and so on.
This is a value calculated with a 6-bit length, and can take a positive value or a negative value. Therefore, when the previous NRZI modulation ends with “0”, the integrated DSV value may be the same as the DSV value of the modulation code candidate, but when the previous modulation ends with “1”, the modulation code candidate The sign of the DSV value needs to be inverted, and the sign is inverted by a sign inversion circuit (not shown). Here, first, the modulation code candidate A side is DSV
A case where an overflow occurs in addition of values will be described.
In FIG. 1, arithmetic units 103 and 106 are signed 4-bit arithmetic units as an example of a finite number of digits. Further, the negative number of the DSV is represented by a two's complement. The integrated value 102 is “+6” as a 4-bit value with a sign, and “011” in binary notation.
0 ”, the DSV value input 101 of the modulation code candidate A is“ +7 ”as a signed 4-bit value, and“ 011 ”in binary representation.
1 ”, the DSV value input 105 of the modulation code candidate B is“ +1 ”as a signed 4-bit value, and“ 0001 ”in binary representation.
And The output of the arithmetic unit 103 is “+13” by adding “+6” and “+7”, but the arithmetic result 104 is “1101” in the binary representation, and the most significant bit as the sign bit is “1”. Therefore, the two's complement of "-3" is expressed. The output of the arithmetic unit 106 is “+7” by adding “+6” and “+1”, and the arithmetic result 107 is “0” in the binary representation.
111 ”, which indicates“ +7 ”because the most significant bit, which is the sign bit, is“ 0 ”.
8 compares the operation results 104 and 107 with absolute values, and when | operation result 104 |> | operation result 107 |, the comparison result 109
Is "1", and when | operation result 104 | <| operation result 107 |, the comparison result 109 outputs "0". In our example,
The comparison result 109 should be “1” because “| the operation result 104 (“ +13 ”) |> | the operation result 107 (“ +7 ”) |” originally.
Since 04 is treated as “−3”, the comparison result 109 becomes “0”. In the digit overflow detection circuit 117, the integrated value 10
2 and the modulation code candidate A
Are the same (here, "0") as the sign bit of the DSV value input value 101, and are different ("1") as the sign bit of the operation result 104.
The digit overflow is detected, and the digit overflow determination result 118 indicates that the digit overflow is detected ("1"). On the other hand, in the overflow detector 119, the most significant bit which is the sign bit of the integrated value 102 and the DSV value input value 105 of the modulation code candidate B are output.
Since the most significant bit, which is the sign bit of the operation result 107, is the same (here, “0”), and the most significant bit, which is the sign bit of the operation result 107, is also the same (“0”), it is detected that there is no overflow. , The digit overflow determination result 120 indicates that there is no digit overflow (“0”). The comparison control circuit 121 outputs the comparison result 109 (“0”), the digit overflow determination result 118
(“1”), the digit overflow determination result 120 (“0”) is input. In this example, the digit overflow determination result 118 on the modulation code candidate A side indicates "1" to indicate digit overflow, and the digit overflow determination result 120 on the modulation code candidate B side indicates "0", indicating no digit overflow. Therefore, it is determined that the calculation on the modulation code candidate A side is not normal and the calculation on the modulation code candidate B side is normal, and the selection result 122 indicates that the modulation code candidate B side is to be selected. Since the selection has been made, the overflow state 123 is "0" indicating that there is no overflow.
Is output. The selector 110 selects the selection result 122
(“1”), the overflow state 123 (“0”) is input, the modulation code candidate B having no overflow is selected, and the operation result 107 of the modulation code candidate B is output as the selected operation result 111. I do. The selector 115 selects the selection result 122
(“1”) is input and the code 114 of the modulation code candidate B
Is output as a modulation code 116.

【0011】次に、変調コード候補B側がDSV値の加
算で桁あふれを発生した場合について説明する。積算値
102を符号付き4ビットの値として“+6”、2進表現
で“0110”、変調コード候補AのDSV値入力10
1を符号付き4ビットの値として“+1”、2進表現で
“0001”、変調コード候補BのDSV値入力105
を符号付き4ビットの値として“+7”、2進表現で“0
111”とする。演算器106の出力は“+6”と“+
7”を加算して“+13”であるが、2進表現では“1
101”となり符号ビットが“1”になるため“−3”
の2の補数になる。演算器103の出力は“+6”と
“+1”を加算して“+7”であり、2進表現では“0
111”となり符号ビットが“0”になるため“+7”
になる。比較器108は演算結果104と107の絶対
値を比較して比較結果109を出力する。本来「|演算
結果104|<|演算結果107|」であるので比較結
果109が“0”となるべきであるが、比較器108内
では演算結果107が“−3”、演算結果104が“+
7”と扱われるので「|演算結果104|>|演算結果
107|」となり比較結果109が“1”となる。桁あ
ふれ検出回路119では積算値102の符号ビットであ
る最上位ビットと変調コード候補BのDSV値入力値1
05の符号ビットである最上位ビットが同じで(ここで
“0”)、かつ演算結果107の符号ビットである最上
位ビットが異なること(ここでは“1”)より桁あふれ
を検出し、桁あふれ判定結果120を“1”とする。一
方、桁あふれ検出回路117では積算値102の符号ビ
ットである最上位ビットと変調コード候補AのDSV値
入力値101の符号ビットである最上位ビットが同じで
(ここでは“0”)、かつ演算結果104の符号ビット
である最上位ビットも同じであること(“0”)より桁
あふれが無いことを検出し、桁あふれ判定結果118を
“0”とする。比較制御回路121は、比較結果109
が“1”、桁あふれ判定結果118が“0”、桁あふれ
判定結果120が“1”が入力され、変調コード候補B
側の桁あふれ判定結果120が“1”で桁あふれを示
し、変調コード候補A側の桁あふれ判定結果118が
“0”で桁あふれをしていないことを示しているので、
変調コード候補B側の計算が正常でなく変調コード候補
A側の計算は正常であると判断し選択結果122を変調
コード候補A側を選択ことを示す“0”、正常計算値を
選択したので桁あふれステート123は桁あふれが無い
ことを示す“0”とする。セレクタ110には選択結果
122が“0”、桁あふれステート123が“0”を入
力されるので、変調コード候補Aを選択し、選択した演
算結果111には変調コード候補A側の演算結果104
を出力する。セレクタ115は選択結果122として
“0”が入力されるので、変調コード候補Aのコード1
13を変調コード116に出力する。以上説明したよう
に、片方の変調コード候補のDSV積算で桁あふれが生
じても他方の正常計算している候補を選択するためDS
Vの積算は正常に行われ、直流成分抑制制御が実現され
る。
Next, a case where the modulation code candidate B generates overflow due to the addition of the DSV value will be described. The integrated value 102 is “+6” as a signed 4-bit value, “0110” in binary representation, and the DSV value input 10 of the modulation code candidate A
“1” as a 4-bit value with “1”, “0001” in binary notation, and DSV value input 105 for modulation code candidate B
Is “+7” as a signed 4-bit value, and “0” in binary
111. The output of the arithmetic unit 106 is “+6” and “+
7 ”is added to obtain“ +13 ”, but“ 1 ”is used in the binary representation.
101 "and the sign bit becomes" 1 ", so" -3 "
2's complement. The output of the arithmetic unit 103 is “+7” by adding “+6” and “+1”, and is “0” in the binary representation.
111 ”and the sign bit becomes“ 0 ”, so“ +7 ”
become. The comparator 108 compares the absolute values of the operation results 104 and 107 and outputs a comparison result 109. The comparison result 109 should be “0” because “| operation result 104 | <| operation result 107 |” originally. However, in the comparator 108, the operation result 107 is “−3” and the operation result 104 is “ +
7 ", the result is" | operation result 104 |> | operation result 107 | ", and the comparison result 109 becomes" 1 ". In the overflow detector 119, the most significant bit which is the sign bit of the integrated value 102 and the DSV value input value 1 of the modulation code candidate B
Since the most significant bit, which is the sign bit of 05, is the same (here, “0”) and the most significant bit, which is the sign bit of the operation result 107, is different (here, “1”), overflow is detected. The overflow determination result 120 is set to “1”. On the other hand, in the overflow detection circuit 117, the most significant bit which is the sign bit of the integrated value 102 and the most significant bit which is the sign bit of the DSV value input value 101 of the modulation code candidate A are the same (here, “0”), and Since the most significant bit which is the sign bit of the operation result 104 is the same (“0”), it is detected that there is no overflow, and the overflow determination result 118 is set to “0”. The comparison control circuit 121 calculates the comparison result 109
Is input, the digit overflow determination result 118 is input as “0”, and the digit overflow determination result 120 is input as “1”.
The overflow judgment result 120 on the side of "1" indicates overflow, and the overflow determination result 118 on the modulation code candidate A side is "0", indicating that overflow has not occurred.
It is determined that the calculation on the modulation code candidate B side is not normal and the calculation on the modulation code candidate A side is normal, and the selection result 122 is “0” indicating that the modulation code candidate A side is selected. The digit overflow state 123 is set to “0” indicating that there is no digit overflow. Since the selection result 122 is input to the selector 110 with “0” and the overflow state 123 is input with “0”, the modulation code candidate A is selected, and the selected calculation result 111 is the calculation result 104 of the modulation code candidate A side.
Is output. Since “0” is input to the selector 115 as the selection result 122, the code 1 of the modulation code candidate A
13 is output to the modulation code 116. As described above, even if overflow occurs in the DSV integration of one modulation code candidate, the other candidate for which the normal calculation is normally performed is selected.
The integration of V is performed normally, and DC component suppression control is realized.

【0012】次に、変調コード候補A側、B側共にDS
V値の加算で桁あふれを発生した場合について説明す
る。積算値102を符号付き4ビットの値として“+
6”、2進表現で“0110”、変調コード候補AのD
SV値101を符号付き4ビットの値として“+6”、2
進表現で“0110”、変調コード候補BのDSV値1
05を符号付き4ビットの値として“+7”、2進表現で
“0111”とする。変調コード候補AのDSV値10
1と積算値102の演算結果は“+6”と“+6”を加
算して“+12”であるが、演算器103の演算結果1
04は2進表現で“1100”となり符号ビットが
“1”になるため“−4”の2の補数になる。変調コー
ド候補BのDSV値105と積算値102の演算結果は
“+6”と“+7”を加算して“+13”であるが、演
算器106の演算結果107は2進表現で“1101”
となり符号ビットが“1”になるため“−3”の2の補
数になる。比較器108は演算結果104と107の絶
対値を比較して比較結果109を出力する。本来演算結
果104が“+12”、演算結果107が“+13”で
あるので「|演算結果104|<|演算結果107|」
演算結果104のほうが小さく、比較結果109は
“0”となるべきであるが、比較器108内では演算結
果104が“−4”、演算結果107が“−3”として
扱われるため演算結果107のほうが小さいと判断し、
比較結果109が“1”になる。桁あふれ検出回路11
7では積算値102の符号ビットである最上位ビットと
変調コード候補AのDSV値入力値101の符号ビット
である最上位ビットが同じで(ここでは“0”)、かつ
演算結果104の符号ビットである最上位ビットが異な
ること(ここでは“1”)より桁あふれを検出し、桁あ
ふれ判定結果118を“1”とする。一方、桁あふれ検
出回路119でも積算値102の符号ビットである最上
位ビットと変調コード候補BのDSV値入力値105の
符号ビットである最上位ビットが同じで(ここでは
“0”)、かつ演算結果107の符号ビットである最上
位ビットが異なること(ここでは“1”)より桁あふれ
を検出し、桁あふれ判定結果120を“1”とする。比
較制御回路121は比較結果109(“1”)、桁あふ
れ判定結果118(“1”)、桁あふれ判定結果120
(“1”)が入力され、変調コード候補A側、B側共に
桁あふれ判定定結果118、120が“1”で桁あふれ
を示しているので、変調コード候補A側、B側共に計算
が正常でないと判断し、選択結果122を変調コード候
補A側を選択したことを示す“0”、桁あふれした計算
値しか選択できなかったので桁あふれステート123は
桁あふれがあることを示す“1”とする。セレクタ11
0は選択結果122(“0”)、桁あふれステート12
3(“1”)が入力され、どちらの変調コード候補にお
いても正しいDSVの積算が行われなかったので、選択
結果122にかかわらず、変調コード候補A側のDSV
値入力101を演算結果111に出力する。セレクタ1
15は選択結果122(“0”)が入力され変調候補A
のコード113を変調コード116として出力する。こ
のように変調コード候補のDSV計算で両候補共に桁あ
ふれが生じた場合にはあらかじめ定めておいた側の変調
コード候補を変調コードとして選択し、この選択した変
調コードのDSV値をこれまでの積算値と置き換えて積
算値を初期化し以降の計算を継続する。このようにする
ことにより、これ以降のDSV積算は正常に行われるた
め、DSV積算値の桁あふれが以降に影響しない。以上
の動作についてセレクタ110の動作真理値表を表1に
示す。なお、これまでの説明は加算により桁あふれを生
じた場合に付いてのみ説明しているが、2の補数同士の
加算時の桁あふれによる異常計算結果に対しても同様に
適用されるものである。
Next, both the modulation code candidates A and B have DS values.
A case where an overflow occurs in the addition of the V value will be described. The integrated value 102 is expressed as a signed 4-bit value “+”.
6 ”,“ 0110 ”in binary notation, D of modulation code candidate A
SV value 101 is a signed 4-bit value of “+6”, 2
"0110" in hexadecimal notation, DSV value 1 of modulation code candidate B
05 is “+7” as a signed 4-bit value, and is “0111” in binary notation. DSV value of modulation code candidate A 10
The calculation result of 1 and the integrated value 102 is “+12” by adding “+6” and “+6”.
04 is "1100" in binary notation and the sign bit is "1", so it is a two's complement of "-4". The calculation result of the DSV value 105 and the integrated value 102 of the modulation code candidate B is “+13” by adding “+6” and “+7”, but the calculation result 107 of the calculator 106 is “1101” in binary notation.
And the sign bit becomes "1", so that it becomes a two's complement of "-3". The comparator 108 compares the absolute values of the operation results 104 and 107 and outputs a comparison result 109. Since the operation result 104 is originally “+12” and the operation result 107 is “+13”, “| operation result 104 | <| operation result 107 |”
Although the operation result 104 is smaller and the comparison result 109 should be "0", the operation result 104 is treated as "-4" and the operation result 107 is treated as "-3" in the comparator 108. Is smaller than
The comparison result 109 becomes “1”. Digit overflow detection circuit 11
7, the most significant bit which is the sign bit of the integrated value 102 and the most significant bit which is the sign bit of the DSV value input value 101 of the modulation code candidate A are the same (here, “0”), and the sign bit of the operation result 104 Is detected (here, "1"), the overflow is detected, and the overflow determination result 118 is set to "1". On the other hand, in the overflow detector 119, the most significant bit, which is the sign bit of the integrated value 102, is the same as the most significant bit, which is the sign bit of the DSV value input value 105 of the modulation code candidate B (here, "0"), and An overflow is detected based on the difference (here, “1”) of the most significant bit as a sign bit of the operation result 107, and the overflow determination result 120 is set to “1”. The comparison control circuit 121 outputs a comparison result 109 (“1”), a digit overflow determination result 118 (“1”), and a digit overflow determination result 120.
("1") is input, and the overflow determination determination results 118 and 120 on both the modulation code candidate A side and the B side are "1" indicating overflow, so that both the modulation code candidate A and the B side can calculate. It is determined that the result is not normal, and the selection result 122 is “0” indicating that the modulation code candidate A has been selected, and the overflow state 123 is “1” indicating that there is an overflow because only the overflowed calculated value could be selected. ". Selector 11
0 is the selection result 122 (“0”), the digit overflow state 12
3 (“1”) is input, and correct DSV integration was not performed for either modulation code candidate. Therefore, regardless of the selection result 122, the DSV on the modulation code candidate A side
The value input 101 is output to the operation result 111. Selector 1
Reference numeral 15 denotes a modulation candidate A to which the selection result 122 (“0”) is input.
Is output as a modulation code 116. As described above, when overflow occurs in both candidates in the DSV calculation of the modulation code candidates, the modulation code candidate on the predetermined side is selected as the modulation code, and the DSV value of the selected modulation code is set to the previous value. Initialize the integrated value by replacing it with the integrated value and continue the subsequent calculations. By doing so, the subsequent DSV integration is performed normally, and the overflow of the DSV integrated value does not affect the subsequent DSV integration. Table 1 shows an operation truth table of the selector 110 for the above operation. Note that the description so far has been made only on the case where overflow occurs due to addition. However, the same applies to an abnormal calculation result due to overflow when adding two's complements. is there.

【0013】[0013]

【表1】 [Table 1]

【0014】第2の実施例として、変調コード候補A、
B共にDSV値の演算で桁あふれを生じた場合の別のセ
レクタ110の実施例を図3にて説明する。図1の第1
の実施例では桁あふれステート123が1の場合に選択
した演算結果111には変調コード候補A側のDSV値
入力101を出力していたが、図3の第2の実施例にお
いては、変調コード候補A側のDSV値入力101の代
わりに変調コード候補B側のDSV値入力105を入力
し、桁あふれステート123が1の場合に選択した演算
結果111には変調コード候補B側のDSV値入力10
5を出力する。図3のセレクタ110について入力選択
結果122と桁あふれステート123に対する出力選択
した演算結果111の内容を動作真理値表として表2に
示す。
As a second embodiment, modulation code candidates A,
An embodiment of another selector 110 in the case where overflow occurs in the calculation of the DSV value for both B will be described with reference to FIG. 1 of FIG.
In the embodiment, the DSV value input 101 of the modulation code candidate A is output as the calculation result 111 selected when the overflow state 123 is 1, but in the second embodiment of FIG. The DSV value input 105 on the modulation code candidate B side is input instead of the DSV value input 101 on the candidate A side, and the DSV value input on the modulation code candidate B side is included in the calculation result 111 selected when the overflow state 123 is 1. 10
5 is output. The contents of the input selection result 122 and the operation result 111 output-selected for the overflow state 123 for the selector 110 of FIG. 3 are shown in Table 2 as an operation truth table.

【0015】[0015]

【表2】 [Table 2]

【0016】第3の実施例として、変調コード候補A、
B共にDSV値の演算で桁あふれを生じた場合の別の実
施例を図4にて説明する。なおこの図では、第1の実施
例および第2の実施例と異なる動作をするセレクタ11
0についてのみ記載している。
As a third embodiment, modulation code candidates A,
Another embodiment in which overflow occurs in the calculation of the DSV value for both B will be described with reference to FIG. In this figure, the selector 11 which operates differently from the first embodiment and the second embodiment is shown.
Only 0 is described.

【0017】図4において、セレクタ110の入力は演
算結果104と演算結果107のみであり、桁あふれス
テート123が"0"の場合には選択結果122が示す方
の入力演算結果を演算結果111に出力するが、桁あふ
れステート123が“1”の場合には選択した演算結果
111には全ビット“0”を出力する。或いはあらかじ
め定めた固定値を出力することもできる。この場合変調
コードとしては任意の側の候補を採用すればよい。図4
のセレクタ110について入力選択結果122と桁あふ
れステート123に対する出力選択した演算結果111
の内容を動作真理値表として表3に示す。
In FIG. 4, the input of the selector 110 is only the operation result 104 and the operation result 107. When the overflow state 123 is "0", the input operation result indicated by the selection result 122 is converted to the operation result 111. When the overflow state 123 is “1”, all bits “0” are output to the selected operation result 111. Alternatively, a predetermined fixed value can be output. In this case, a candidate on an arbitrary side may be adopted as the modulation code. FIG.
Of the input selection result 122 and the output selection operation result 111 for the overflow state 123 for the selector 110
Are shown in Table 3 as an operation truth table.

【0018】[0018]

【表3】 [Table 3]

【0019】次に、第4の実施例を図5に示す。ここ
で、図1と同一の部分に関しては同一の番号を付してい
る。この例において、入力コード100および後述する
選択結果122をアドレスとして、各入力コードそれぞ
れに対応する二つの変調コード候補を格納しその中から
一つの変調コードを出力する変調メモリ124、入力コ
ード100をアドレスとして、二つの変調コード候補の
DSV値を同時に出力するDSVメモリ125、DSV
メモリ125の出力である変調コード候補AおよびBの
DSV値をNRZI変調の最終値により符号反転する符
号反転回路126、符号反転回路を経由した一方の変調
コード候補AのDSV値101と積算値102を加算し
演算結果104を出力する演算器103、同様に他方の
変調コード候補BのDSV値105と積算値102を加
算し演算結果107を出力する演算器106、変調コー
ド候補AのDSV値入力101と積算値102と演算結
果104とを入力とし演算結果104の桁あふれ判定結
果118を出力する桁あふれ検出回路117、変調コー
ド候補BのDSV値105と積算値102と演算結果1
07とを入力し演算結果107の桁あふれ判定結果12
0を出力する桁あふれ検出回路119、演算結果104
と演算結果107を入力とし両者の絶対値を比較して比
較結果109を出力する比較器108、比較結果10
9、桁あふれ判定結果118、120を入力とし選択結
果122と桁あふれステート123を出力する比較制御
回路121、選択結果122と桁あふれステート123
により演算結果104と演算結果107と変調コード候
補AのDSV値入力101を選択し出力するセレクタ1
10、選択した演算結果111を保持し積算値102を
出力するラッチ112から構成される。入力コードに対
応する変調コードのDSV値は、0を初期値として先頭
ビットから最初に“1”が現れるまでのビット数を加
算、次の“1”が現れるまでのビット数を減算、次の
“1”が現れるまでのビット数を加算というように加算
と減算を交互に繰り返して16ビット演算を行った値で
あり、正の値と負の値を取り得る。変調コード116は
NRZI変調回路(図示せず)においてNRZI変調が
行われ、変調コードのビットに“1”が現れる毎に変調
信号のレベルが反転する。したがって、一つ前の変調コ
ードのNRZI変調結果が“0”で終了している場合は
DSVメモリ125に記憶されているDSV値をそのま
ま用いて積算を行えばよいが、一つ前の変調コードのN
RZI変調結果が“1”で終了している場合はDSVメ
モリ125に記憶されているDSV値を符号反転して積
算を行う。符号反転回路126はNRZI変調回路(図
示せず)より出力される変調状態信号127によりDS
Vメモリ125の出力をそのまま出力するか或いは符号
を反転して出力する。符号反転の例を図7に、符号反転
回路126の一例を図8に示す。この例では2入力から
1つを選択するマルチプレクサと、1ビット演算器によ
り構成されており、各1ビット演算器は一方の入力がこ
のマルチプレクサ出力、もう一方の入力が下位の演算器
のキャリー(Cout)になっており、最下位の1ビット演
算器には変調状態信号127が入力されている。符号反
転は、入力131A、131Bに対して、2の補数を生
成することで実現している。すなわち、変調状態信号1
27が“1”のときはマルチプレクサはインバータを経
由した反転信号を選択出力し、1ビット演算器に入力さ
れるので、出力101、105には入力131A、13
1Bの2の補数が出力される。変調状態信号127が
“0”のときは、マルチプレクサは入力131A、13
1Bを選択出力し、1ビット演算器では“0”が加算さ
れるのみであるので、出力101、105には入力13
1A、131Bがそのまま出力される。なお、図8にお
いては2系統のDSVメモリ125の出力の一系当分の
み記載しているが、実際には2系統分で構成される。ま
た、この例ではDSV値が4ビットの場合で説明してい
るが、他のビット数でも同様であり、回路構成も図8の
例に限定されるものではない。この符号反転回路126
の出力であるDSV値101および105は、前述のよ
うに負数の場合に2の補数であらわされるため、加算回
路によって加算と減算を行うことができる。DSV演算
時の動作は図1の実施例と同じであり、候補AのDSV
積算において桁あふれが生じた場合には候補Bの変調コ
ードを採用し、DSV積算値として候補B側のDSV積
算値を採用する。候補BのDSV積算において桁あふれ
が生じた場合には候補Aの変調コードを採用し、DSV
積算値として候補A側のDSV積算値を採用する。両候
補のDSV積算において桁あふれが生じた場合には、変
調コードとしてはAの側のコードを選択し、DSV積算
値としては選択した変調コードの単独のDSV値を採用
するが、第2の実施例と同様にBの側のコードを選択す
ることもできる。或いは第3の実施例と同様に固定値に
設定することもできる。選択結果122は変調メモリ1
24のアドレスとなっており、“0”のとき入力コード
100に対応する二つの変調コードのうち候補Aの変調
コードを選択して出力し、“1”のときは候補Bの変調
コードを選択して出力する。
Next, a fourth embodiment is shown in FIG. Here, the same portions as those in FIG. 1 are denoted by the same reference numerals. In this example, using the input code 100 and a selection result 122 to be described later as addresses, a modulation memory 124 that stores two modulation code candidates corresponding to each input code and outputs one modulation code from them is used as an input code 100. DSV memory 125, which simultaneously outputs DSV values of two modulation code candidates as addresses, DSV
A sign inverting circuit 126 that inverts the DSV values of the modulation code candidates A and B output from the memory 125 according to the final value of the NRZI modulation, a DSV value 101 and an integrated value 102 of one of the modulation code candidates A passing through the sign inversion circuit. , And outputs a calculation result 104. Similarly, a calculation unit 106 adds the DSV value 105 of the other modulation code candidate B and the integrated value 102 and outputs a calculation result 107, and inputs a DSV value of the modulation code candidate A. A digit overflow detection circuit 117 which receives 101, the integrated value 102, and the operation result 104 as input and outputs an overflow judgment result 118 of the operation result 104, the DSV value 105 of the modulation code candidate B, the integrated value 102, and the operation result 1
07 and the result 12 of the overflow of the calculation result 107
Overflow detection circuit 119 that outputs 0, operation result 104
And a comparator 108 which receives as input the operation result 107, compares the absolute values of the two, and outputs a comparison result 109,
9, a comparison control circuit 121 which receives the overflow judgment results 118 and 120 as input and outputs a selection result 122 and an overflow state 123, a selection result 122 and an overflow state 123
Selector 1 for selecting and outputting operation result 104, operation result 107 and DSV value input 101 of modulation code candidate A according to
10. A latch 112 which holds the selected operation result 111 and outputs the integrated value 102. The DSV value of the modulation code corresponding to the input code is obtained by adding the number of bits from the first bit to the first appearance of “1”, subtracting the number of bits until the next appearance of “1” from the first bit with 0 as the initial value. This is a value obtained by performing a 16-bit operation by alternately repeating addition and subtraction, such as adding the number of bits until “1” appears, and can take a positive value and a negative value. The modulation code 116 is subjected to NRZI modulation in an NRZI modulation circuit (not shown), and the level of the modulation signal is inverted each time "1" appears in the modulation code bit. Therefore, when the NRZI modulation result of the immediately preceding modulation code ends with “0”, the integration may be performed using the DSV value stored in the DSV memory 125 as it is, but the integration is performed using the immediately preceding modulation code. N
When the result of the RZI modulation ends with "1", the DSV value stored in the DSV memory 125 is inverted and the integration is performed. The sign inverting circuit 126 uses the modulation state signal 127 output from the NRZI modulation circuit (not shown) to generate DS.
The output of the V memory 125 is output as it is, or the output is inverted in sign. An example of sign inversion is shown in FIG. 7, and an example of the sign inversion circuit 126 is shown in FIG. In this example, a multiplexer for selecting one from two inputs and a 1-bit operation unit are provided. One input of each 1-bit operation unit is the output of the multiplexer, and the other input is a carry of a lower operation unit. Cout), and the modulation state signal 127 is input to the least significant 1-bit arithmetic unit. The sign inversion is realized by generating two's complements for the inputs 131A and 131B. That is, the modulation state signal 1
When 27 is "1", the multiplexer selects and outputs the inverted signal passed through the inverter and is input to the 1-bit arithmetic unit.
1B 2's complement is output. When the modulation state signal 127 is “0”, the multiplexers operate on the inputs 131A and 131A.
1B is selected and output, and only “0” is added in the 1-bit operation unit.
1A and 131B are output as they are. Although FIG. 8 shows only one system output of the two systems of DSV memory 125, it is actually composed of two systems. In this example, the case where the DSV value is 4 bits has been described, but the same applies to other numbers of bits, and the circuit configuration is not limited to the example of FIG. This sign inversion circuit 126
As described above, the DSV values 101 and 105 are represented by two's complement in the case of a negative number as described above, so that addition and subtraction can be performed by an adder circuit. The operation at the time of DSV calculation is the same as that of the embodiment of FIG.
If an overflow occurs in the integration, the modulation code of candidate B is used, and the DSV integrated value of candidate B is used as the DSV integrated value. If an overflow occurs in the DSV integration of the candidate B, the modulation code of the candidate A is adopted and the DSV
The DSV integrated value of the candidate A is adopted as the integrated value. When overflow occurs in the DSV integration of both candidates, the code on the side of A is selected as the modulation code, and the single DSV value of the selected modulation code is adopted as the DSV integration value. Similarly to the embodiment, the code on the B side can be selected. Alternatively, it can be set to a fixed value as in the third embodiment. The selection result 122 is the modulation memory 1
The address is 24, and when "0", the modulation code of candidate A is selected and output from the two modulation codes corresponding to input code 100, and when "1", the modulation code of candidate B is selected. And output.

【0020】第5の実施例を図6に示す。同図において
も、図1及び図5と同一の部分には同一の番号を付して
いる。この実施例と第4の実施例との違いは、NRZI
変調後の変調状態信号127を変調コード116の
“1”の数を計数することにより求める点に有る。最終
的に選択された変調コード116はNRZI変調回路
(図示せず)に送られるとともにデータラッチ128に
保持される。保持された変調コード130は計数回路1
29に送られコード内の“1”の数を計数する。NRZ
I変調においては、入力コードに“1”が現れる毎に変
調出力が反転するから、変調コード130内の“1”の
数が偶数であればこの変調コードのNRZI変調終了時
の変調出力状態は開始時と同一になる。逆に“1”の数
が奇数であれば、終了時の状態は開始時と逆になる。計
数回路129は変調データ130の“1”の数を計数し
偶数か奇数かを判定して、判定結果を変調状態信号12
7として符号反転回路125に出力する。符号反転回路
125の動作は第4の実施例と同じである。この構成に
よれば、図示していないNRZI変調回路の変調結果を
待つことなく変調終了状態を知ることができるため、次
の入力コードの処理を迅速に開始することが出来、一連
のDSV制御処理が容易に行える利点を有す。
FIG. 6 shows a fifth embodiment. Also in this figure, the same parts as those in FIGS. 1 and 5 are denoted by the same reference numerals. The difference between this embodiment and the fourth embodiment is that NRZI
The point lies in that the modulation state signal 127 after the modulation is obtained by counting the number of "1" in the modulation code 116. The modulation code 116 finally selected is sent to an NRZI modulation circuit (not shown) and held in a data latch 128. The held modulation code 130 is the counting circuit 1
Sent to 29, the number of "1" s in the code is counted. NRZ
In the I-modulation, the modulation output is inverted every time "1" appears in the input code. Therefore, if the number of "1" in the modulation code 130 is an even number, the modulation output state at the end of the NRZI modulation of this modulation code is Same as at the start. Conversely, if the number of “1” is odd, the state at the end is opposite to the state at the start. The counting circuit 129 counts the number of “1” in the modulation data 130 and determines whether the modulation data 130 is an even number or an odd number.
7 is output to the sign inversion circuit 125. The operation of the sign inversion circuit 125 is the same as that of the fourth embodiment. According to this configuration, since the modulation end state can be known without waiting for the modulation result of the NRZI modulation circuit (not shown), the processing of the next input code can be started quickly, and a series of DSV control processing can be performed. Has the advantage that it can be easily performed.

【0021】第6の実施例を図9に示す。同図において
も、図1と同一の部分に関しては同一の番号を付してい
る。この実施例と第1の実施例との違いは図1の桁あふ
れ検出回路117及び119の出力が桁あふれ判定結果
118、120であったところをオーバーフローしたこ
とを示すオーバーフロー判定結果132、134、アン
ダーフローしたことを示すアンダーフロー判定結果13
3、135とし、比較制御回路121の出力に桁あふれ
がオーバーフローかアンダーフローかを示すオーバーフ
ロー・アンダーフローステート136を追加し、セレク
タ110の入力にオーバーフロー・アンダーフローステ
ート136を追加したことにより、桁あふれを起こした
変調コード候補を選択した場合にセレクタ110の出力で
ある選択した演算結果111に出力する値をオーバーフ
ロー・アンダーフローの違いにより変える点にある。例
えば、積算値102の符号ビットが”0”、加算するD
SV値入力値101または105の符号ビットが”
0”、対応する演算結果104または107が”1”な
らばオーバーフローしたことを判別でき、桁あふれ検出
回路117または119はオーバーフローを検出したこ
と示すためオーバーフロー判定結果132または134
を”1”、アンダーフロー判定結果133または135
を”0”とする。この時、オーバーフローした候補を選
択することになった場合には比較制御回路121の出力
オーバーフロー・アンダーフローステートはオーバーフ
ローを示す”1”となる。一方、積算値102の符号ビ
ットが”1”、加算するDSV値入力値101または1
05の符号ビットが”1”、対応する演算結果104ま
たは107が”0”ならばアンダーフローしたことを判
別でき、桁あふれ検出回路117または119はアンダ
ーフローを検出したこと示すためオーバーフロー判定結
果132または134を”0”、アンダーフロー判定結
果133または135を”1”とする。この時、アンダ
ーフローした候補を選択することになった場合には比較
制御回路121の出力オーバーフロー・アンダーフロー
ステートはアンダーフローを示す”0”となる。第1の
実施例と同様の加算が行われたとして、桁あふれを場合
分けして説明する。
FIG. 9 shows a sixth embodiment. Also in this figure, the same parts as those in FIG. 1 are given the same numbers. The difference between this embodiment and the first embodiment is that the overflow determination results 132 and 134 indicating that the outputs of the overflow detectors 117 and 119 in FIG. Underflow determination result 13 indicating that underflow has occurred
3, 135, and an overflow / underflow state 136 indicating whether overflow is an overflow or an underflow is added to the output of the comparison control circuit 121, and an overflow / underflow state 136 is added to the input of the selector 110. When the overflowed modulation code candidate is selected, the value output to the selected operation result 111 which is the output of the selector 110 is changed depending on the difference between the overflow and the underflow. For example, the sign bit of the integrated value 102 is “0”,
The sign bit of the SV value input value 101 or 105 is "
If "0" and the corresponding operation result 104 or 107 is "1", it can be determined that an overflow has occurred, and the overflow detection circuit 117 or 119 indicates that an overflow has been detected.
To “1”, the underflow judgment result 133 or 135
Is set to “0”. At this time, if an overflow candidate is to be selected, the output overflow / underflow state of the comparison control circuit 121 becomes “1” indicating an overflow. On the other hand, the sign bit of the integrated value 102 is “1”, and the DSV value input value 101 or 1 to be added.
If the sign bit of 05 is “1” and the corresponding operation result 104 or 107 is “0”, it is possible to determine that an underflow has occurred, and the overflow detection circuit 117 or 119 indicates that an underflow has been detected. Alternatively, 134 is set to “0”, and the underflow determination result 133 or 135 is set to “1”. At this time, if an underflow candidate is to be selected, the output overflow / underflow state of the comparison control circuit 121 becomes “0” indicating underflow. Assuming that the same addition as that in the first embodiment has been performed, overflow will be described in each case.

【0022】まず、変調コード候補A側がDSV値の加
算でオーバーフローし、DSV積算値の絶対値が小さい
方を選択する場合について説明する。この時、変調コー
ド候補A側の桁あふれ検出回路117はオーバーフロー
を検出したので出力としてオーバーフロー判定結果13
2を”1”、アンダーフロー判定結果133を”0”、
変調コード候補B側の桁あふれ検出回路119は桁あふ
れを検出しないので出力としてオーバーフロー判定結果
134を”0”、アンダーフロー判定結果135を”
0”とする。比較制御回路121は比較器108の比較
結果109がA側を選択することを示す”0”としても
オーバーフロー判定結果132がオーバーフローを示し
ているので選択結果122として変調候補B側を選択す
ることを示す”1”、正常計算値を選択し桁あふれステ
ート123を桁あふれが無いことを示す”0”とする。
オーバーフロー・アンダーフローステート136はどち
らでもよい。セレクタ110は選択結果122(”
1”)、桁あふれステート123(”0”)が入力さ
れ、桁あふれが無い変調コード候補B側を選択し、選択
した演算結果111には変調コード候補B側の演算結果
107を出力する。セレクタ115は選択結果12
2(”1”)が入力され変調コード候補Bのコード11
4を変調コード116として出力する。
First, a case will be described where the modulation code candidate A side overflows due to the addition of the DSV value and selects the one with the smaller absolute value of the DSV integrated value. At this time, the digit overflow detection circuit 117 on the modulation code candidate A side has detected an overflow, so that the overflow determination result 13
2 is “1”, the underflow determination result 133 is “0”,
Since the digit overflow detection circuit 119 on the modulation code candidate B side does not detect an overflow, the overflow determination result 134 is output as "0" and the underflow determination result 135 is output as "0".
The comparison control circuit 121 sets the modulation candidate B side as the selection result 122 since the overflow determination result 132 indicates an overflow even if the comparison result 109 of the comparator 108 indicates "0" indicating that the A side is selected. Is selected, and the normal calculation value is selected, and the overflow state 123 is set to "0", which indicates that there is no overflow.
The overflow / underflow state 136 may be either. The selector 110 selects the selection result 122 ("
1 "), the overflow state 123 (" 0 ") is input, the modulation code candidate B side without overflow is selected, and the operation result 107 of the modulation code candidate B side is output as the selected operation result 111. The selector 115 selects the selection result 12
2 (“1”) is input and the code 11 of the modulation code candidate B
4 is output as a modulation code 116.

【0023】次に変調コード候補A側がDSV値の加算
でアンダーフローし、DSV積算値の絶対値が小さい方
を選択する場合について説明する。この時、変調コード
候補A側の桁あふれ検出回路117はアンダーフローを
検出したので出力としてオーバーフロー判定結果132
を”0”、アンダーフロー判定結果133を”1”、変
調コード候補B側の桁あふれ検出回路119は桁あふれ
を検出しないので出力としてオーバーフロー判定結果1
34を”0”、アンダーフロー判定結果135を”0”
とする。比較制御回路121は比較器108の比較結果
109がA側を選択することを示す”0”としてもアン
ダーフロー判定結果133がアンダーフローを示してい
るので選択結果122として変調候補B側を選択するこ
とを示す”1”、正常計算値を選択し桁あふれステート
123を桁あふれが無いことを示す”0”とする。オー
バーフロー・アンダーフローステート136はどちらで
もよい。セレクタ110は選択結果122(”1”)、
桁あふれステート123(”0”)が入力され、桁あふ
れが無い変調コード候補B側を選択し、選択した演算結
果111には変調コード候補B側の演算結果107を出
力する。セレクタ115は選択結果122(”1”)が
入力され変調コード候補Bのコード114を変調コード
116として出力する。
Next, a case will be described in which the modulation code candidate A side underflows due to the addition of the DSV value and selects the one with the smaller absolute value of the DSV integrated value. At this time, the overflow detection circuit 117 on the modulation code candidate A side detects the underflow, and outputs the overflow determination result 132 as an output.
Is “0”, the underflow judgment result 133 is “1”, and the digit overflow detection circuit 119 on the modulation code candidate B side does not detect the digit overflow.
34 is “0” and the underflow determination result 135 is “0”.
And The comparison control circuit 121 selects the modulation candidate B as the selection result 122 because the underflow determination result 133 indicates an underflow even if the comparison result 109 of the comparator 108 indicates “0” indicating that the A side is selected. The normal calculation value is selected, and the overflow state 123 is set to "0" indicating that there is no overflow. The overflow / underflow state 136 may be either. The selector 110 selects the selection result 122 (“1”),
The overflow state 123 (“0”) is input, the modulation code candidate B side without overflow is selected, and the operation result 107 of the modulation code candidate B side is output to the selected operation result 111. The selector 115 receives the selection result 122 (“1”) and outputs the modulation code candidate B code 114 as the modulation code 116.

【0024】次に変調コード候補A側がDSV値の加算
でオーバーフローし、変調コード候補A側を選択する場
合について説明する。この時、変調コード候補A側の桁
あふれ検出回路117はオーバーフローを検出したので
出力としてオーバーフロー判定結果132を”1”、ア
ンダーフロー判定結果133を”0”、変調コード候補
B側の桁あふれ検出回路119は桁あふれを検出しない
ので出力としてオーバーフロー判定結果134を”
0”、アンダーフロー判定結果135を”0”とする。
比較制御回路121は他の入力条件により変調コード候
補A側を選択する場合、選択結果122として変調候補
A側を選択することを示す”0”、オーバーフロー判定
結果132が”1”なので桁あふれステート123を桁
あふれがあることを示す”1”、オーバーフロー・アン
ダーフローステート136はオーバーフローであること
を示す”1”とする。セレクタ110は選択結果122
(”0”)、桁あふれステート123(”1”)、オー
バーフロー・アンダーフローステート136(”1”)
が入力され、桁あふれがある変調コード候補A側を選択
し、選択した演算結果111には表示桁数で示すことが
可能な最大値例えばここでは符号付き4ビットとしてい
るので”+7”、2進表示では”0111”を出力す
る。セレクタ115は選択結果122(”0”)が入力
され変調コード候補Aのコード113を変調コード11
6として出力する。
Next, the case where the modulation code candidate A overflows due to the addition of the DSV value and the modulation code candidate A is selected will be described. At this time, the overflow detection circuit 117 on the modulation code candidate A side has detected an overflow, so the overflow determination result 132 is "1", the underflow determination result 133 is "0", and the overflow on the modulation code candidate B side is detected. Since the circuit 119 does not detect overflow, the overflow determination result 134 is output as an output.
0, and the underflow determination result 135 is set to “0”.
When selecting the modulation code candidate A side according to other input conditions, the comparison control circuit 121 sets “0” indicating that the modulation candidate A side is selected as the selection result 122, and the overflow determination result 132 is “1”, so that the overflow state occurs. 123 is set to “1” indicating that there is an overflow, and the overflow / underflow state 136 is set to “1” indicating that an overflow has occurred. The selector 110 selects the selection result 122
(“0”), overflow state 123 (“1”), overflow / underflow state 136 (“1”)
Is selected, and the modulation code candidate A having overflow is selected, and the selected operation result 111 is the maximum value that can be indicated by the number of display digits, for example, since “signed 4 bits”, “+7”, 2 In hexadecimal display, “0111” is output. The selector 115 receives the selection result 122 (“0”) and inputs the code 113 of the modulation code candidate A to the modulation code 11.
Output as 6.

【0025】次に変調コード候補A側がDSV値の加算
でアンダーフローし、変調コード候補A側を選択する場
合について説明する。この時、変調コード候補A側の桁
あふれ検出回路117はアンダーフローを検出したので
出力としてオーバーフロー判定結果132を”0”、ア
ンダーフロー判定結果133を”1”、変調コード候補
B側の桁あふれ検出回路119は桁あふれを検出しない
ので出力としてオーバーフロー判定結果134を”
0”、アンダーフロー判定結果135を”0”とする。
比較制御回路121は他の入力条件により変調コード候
補A側を選択する場合、選択結果122として変調候補
A側を選択することを示す”0”、アンダーフロー判定
結果133が”1”なので桁あふれステート123を桁
あふれがあることを示す”1”、オーバーフロー・アン
ダーフローステート136はアンダーフローであること
を示す”0”とする。セレクタ110は選択結果122
(”0”)、桁あふれステート123(”1”)、オー
バーフロー・アンダーフローステート136(”0”)
が入力され、桁あふれがある変調コード候補A側を選択
し、選択した演算結果111には表示桁数で示すことが
可能な最小値例えばここでは符号付き4ビットとしてい
るので”−8”、2の補数表示では”1000”を出力
する。セレクタ115は選択結果122(”0”)が入
力され変調コード候補Aのコード113を変調コード1
16として出力する。
Next, a case where the modulation code candidate A side underflows due to the addition of the DSV value and selects the modulation code candidate A side will be described. At this time, the overflow detection circuit 117 on the modulation code candidate A side detects an underflow, so that the overflow determination result 132 is "0", the underflow determination result 133 is "1", and the overflow on the modulation code candidate B side is an output. Since the detection circuit 119 does not detect overflow, the overflow determination result 134 is output as "
0, and the underflow determination result 135 is set to “0”.
When selecting the modulation code candidate A side according to other input conditions, the comparison control circuit 121 overflows because the selection result 122 indicates that the modulation candidate A side is to be selected and the underflow determination result 133 is "1". The state 123 is set to “1” indicating that there is overflow, and the overflow / underflow state 136 is set to “0” indicating that there is an underflow. The selector 110 selects the selection result 122
(“0”), overflow state 123 (“1”), overflow / underflow state 136 (“0”)
Is selected, and the modulation code candidate A having overflow is selected, and the selected calculation result 111 is the minimum value that can be indicated by the number of display digits, for example, "-8" because it is a signed 4 bit here. In the two's complement display, "1000" is output. The selector 115 receives the selection result 122 (“0”) and inputs the code 113 of the modulation code candidate A to the modulation code 1.
Output as 16.

【0026】次に変調コード候補B側がDSV値の加算
でオーバーフローし、DSV積算値の絶対値が小さい方
を選択する場合について説明する。この時、変調コード
候補A側の桁あふれ検出回路117は桁あふれを検出し
ないので出力としてオーバーフロー判定結果132を”
0”、アンダーフロー判定結果133を”0”、変調コ
ード候補B側の桁あふれ検出回路119はオーバーフロ
ーを検出したので出力としてオーバーフロー判定結果1
34を”1”、アンダーフロー判定結果135を”0”
とする。比較制御回路121は比較器108の比較結果
109がB側を選択することを示す”1”としてもオー
バーフロー判定結果134がオーバーフローを示してい
るので選択結果122として変調候補A側を選択するこ
とを示す”0”、正常計算値を選択し桁あふれステート
123を桁あふれが無いことを示す”0”とする。オー
バーフロー・アンダーフローステート136はどちらで
もよい。セレクタ110は選択結果122(”0”)、
桁あふれステート123(”0”)が入力され、桁あふ
れが無い変調コード候補A側を選択し、選択した演算結
果111には変調コード候補A側の演算結果104を出
力する。セレクタ115は選択結果122(”0”)が
入力され変調コード候補Aのコード113を変調コード
116として出力する。
Next, a case will be described in which the modulation code candidate B side overflows due to the addition of the DSV value and selects the one with the smaller absolute value of the DSV integrated value. At this time, since the digit overflow detection circuit 117 on the modulation code candidate A side does not detect the digit overflow, the overflow judgment result 132 is output as an output.
0, the underflow judgment result 133 is “0”, and the overflow detection circuit 119 on the modulation code candidate B side has detected an overflow, so the overflow judgment result 1 is output as an output.
34 is “1” and the underflow determination result 135 is “0”.
And The comparison control circuit 121 selects the modulation candidate A as the selection result 122 because the overflow determination result 134 indicates an overflow even if the comparison result 109 of the comparator 108 indicates “1” indicating that the B side is selected. The normal calculation value is selected, and the digit overflow state 123 is set to "0" indicating that there is no overflow. The overflow / underflow state 136 may be either. The selector 110 selects the selection result 122 (“0”),
The overflow state 123 (“0”) is input, the modulation code candidate A having no overflow is selected, and the operation result 104 of the modulation code candidate A is output as the selected operation result 111. The selector 115 receives the selection result 122 (“0”) and outputs the code 113 of the modulation code candidate A as the modulation code 116.

【0027】次に変調コード候補B側がDSV値の加算
でアンダーフローし、DSV積算値の絶対値が小さい方
を選択する場合について説明する。この時、変調コード
候補A側の桁あふれ検出回路117は桁あふれを検出し
ないので出力としてオーバーフロー判定結果132を”
0”、アンダーフロー判定結果133を”0”、変調コ
ード候補B側の桁あふれ検出回路119はアンダーフロ
ーを検出したので出力としてオーバーフロー判定結果1
34を”0”、アンダーフロー判定結果135を”1”
とする。比較制御回路121は比較器108の比較結果
109がB側を選択することを示す”1”としてもアン
ダーフロー判定結果135がアンダーフローを示してい
るので選択結果122として変調候補A側を選択するこ
とを示す”0”、正常計算値を選択し桁あふれステート
123を桁あふれが無いことを示す”0”とする。オー
バーフロー・アンダーフローステート136はどちらで
もよい。セレクタ110は選択結果122(”0”)、
桁あふれステート123(”0”)が入力され、桁あふ
れが無い変調コード候補A側を選択し、選択した演算結
果111には変調コード候補A側の演算結果104を出
力する。セレクタ115は選択結果122(”0”)が
入力され変調コード候補Aのコード113を変調コード
116として出力する。
Next, a case will be described in which the modulation code candidate B side underflows due to the addition of the DSV value and selects the one with the smaller absolute value of the DSV integrated value. At this time, since the digit overflow detection circuit 117 on the modulation code candidate A side does not detect the digit overflow, the overflow judgment result 132 is output as an output.
0, the underflow determination result 133 is “0”, and the overflow detection circuit 119 on the modulation code candidate B side has detected an underflow, so the overflow determination result 1 is output as an output.
34 is “0” and the underflow determination result 135 is “1”.
And The comparison control circuit 121 selects the modulation candidate A as the selection result 122 because the underflow determination result 135 indicates the underflow even if the comparison result 109 of the comparator 108 indicates “1” indicating that the B side is selected. The normal calculation value is selected, and the overflow state 123 is set to "0" indicating that there is no overflow. The overflow / underflow state 136 may be either. The selector 110 selects the selection result 122 (“0”),
The overflow state 123 (“0”) is input, the modulation code candidate A having no overflow is selected, and the operation result 104 of the modulation code candidate A is output as the selected operation result 111. The selector 115 receives the selection result 122 (“0”) and outputs the code 113 of the modulation code candidate A as the modulation code 116.

【0028】次に変調コード候補B側がDSV値の加算
でオーバーフローし、変調コード候補B側を選択する場
合について説明する。この時、変調コード候補A側の桁
あふれ検出回路117は桁あふれを検出しないので出力
としてオーバーフロー判定結果132を”0”、アンダ
ーフロー判定結果133を”0”、変調コード候補B側
の桁あふれ検出回路119はオーバーフローを検出した
ので出力としてオーバーフロー判定結果134を”
1”、アンダーフロー判定結果135を”0”とする。
比較制御回路121は他の入力条件により変調コード候
補B側を選択する場合、選択結果122として変調候補
B側を選択することを示す”1”、オーバーフロー判定
結果134が”1”なので桁あふれステート123を桁
あふれがあることを示す”1”、オーバーフロー・アン
ダーフローステート136はオーバーフローであること
を示す”1”とする。セレクタ110は選択結果122
(”1”)、桁あふれステート123(”1”)、オー
バーフロー・アンダーフローステート136(”1”)
が入力され、桁あふれがある変調コード候補B側を選択
し、選択した演算結果111には表示桁数で示すことが
可能な最大値例えばここでは符号付き4ビットとしてい
るので”+7”、2進表示では”0111”を出力す
る。セレクタ115は選択結果122(”1”)が入力
され変調コード候補Bのコード114を変調コード11
6として出力する。
Next, the case where the modulation code candidate B side overflows due to the addition of the DSV value and the modulation code candidate B side is selected will be described. At this time, since the digit overflow detection circuit 117 on the modulation code candidate A side does not detect an overflow, the overflow determination result 132 is “0”, the underflow determination result 133 is “0”, and the digit overflow on the modulation code candidate B side is output. Since the detection circuit 119 has detected an overflow, the overflow judgment result 134 is output as an output.
1 ", and the underflow determination result 135 is" 0 ".
When selecting the modulation code candidate B side based on other input conditions, the comparison control circuit 121 indicates “1” indicating that the modulation candidate B side is to be selected as the selection result 122, and the overflow determination result 134 is “1”, so that the overflow state occurs. 123 is set to “1” indicating that there is an overflow, and the overflow / underflow state 136 is set to “1” indicating that an overflow has occurred. The selector 110 selects the selection result 122
("1"), overflow state 123 ("1"), overflow / underflow state 136 ("1")
Is input, and the modulation code candidate B having overflow is selected, and the selected operation result 111 is the maximum value that can be indicated by the number of display digits, for example, "+7", 2 In hexadecimal display, “0111” is output. The selector 115 receives the selection result 122 (“1”) and inputs the code 114 of the modulation code candidate B to the modulation code 11.
Output as 6.

【0029】次に変調コード候補B側がDSV値の加算
でアンダーフローし、変調コード候補B側を選択する場
合について説明する。この時、変調コード候補A側の桁
あふれ検出回路117は桁あふれを検出しないので出力
としてオーバーフロー判定結果132を”0”、アンダ
ーフロー判定結果133を”0”、変調コード候補B側
の桁あふれ検出回路119はアンダーフローを検出した
ので出力としてオーバーフロー判定結果134を”
0”、アンダーフロー判定結果135を”1”とする。
比較制御回路121は他の入力条件により変調コード候
補B側を選択する場合、選択結果122として変調候補
B側を選択することを示す”1”、アンダーフロー判定
結果135が”1”なので桁あふれステート123を桁
あふれがあることを示す”1”、オーバーフロー・アン
ダーフローステート136はアンダーフローであること
を示す”0”とする。セレクタ110は選択結果122
(”1”)、桁あふれステート123(”1”)、オー
バーフロー・アンダーフローステート136(”0”)
が入力され、桁あふれがある変調コード候補B側を選択
し、選択した演算結果111には表示桁数で示すことが
可能な最小値例えばここでは符号付き4ビットとしてい
るので”−8”、2の補数表示では”1000”を出力
する。セレクタ115は選択結果122(”1”)が入
力され変調コード候補Bのコード114を変調コード1
16として出力する。
Next, the case where the modulation code candidate B side underflows due to the addition of the DSV value and selects the modulation code candidate B side will be described. At this time, since the digit overflow detection circuit 117 on the modulation code candidate A side does not detect an overflow, the overflow determination result 132 is “0”, the underflow determination result 133 is “0”, and the digit overflow on the modulation code candidate B side is output. Since the detection circuit 119 has detected an underflow, the overflow determination result 134 is output as an output.
0 ", and the underflow determination result 135 is" 1 ".
When selecting the modulation code candidate B side based on other input conditions, the comparison control circuit 121 overflows since the selection result 122 indicates that the modulation candidate B side is to be selected, and the underflow determination result 135 is "1". The state 123 is set to “1” indicating that there is overflow, and the overflow / underflow state 136 is set to “0” indicating that there is an underflow. The selector 110 selects the selection result 122
("1"), overflow state 123 ("1"), overflow / underflow state 136 ("0")
Is input, and the modulation code candidate B side with overflow is selected, and the selected calculation result 111 is the minimum value that can be indicated by the number of display digits, for example, "-8" because it is 4 bits with a sign here. In the two's complement display, "1000" is output. The selector 115 receives the selection result 122 (“1”) and inputs the code 114 of the modulation code candidate B to the modulation code 1.
Output as 16.

【0030】次に変調コード候補A側、B側が共にDS
V値の加算でオーバーフローした場合について説明す
る。この時、変調コード候補A側の桁あふれ検出回路1
17はオーバーフローを検出したので出力としてオーバ
ーフロー判定結果132を”1”、アンダーフロー判定
結果133を”0”、変調コード候補B側の桁あふれ検
出回路119もオーバーフローを検出したので出力とし
てオーバーフロー判定結果134を”1”、アンダーフ
ロー判定結果135を”0”とする。比較制御回路12
1は比較器108の比較結果109にかかわらずオーバ
ーフロー判定結果132、134が共にオーバーフロー
を示しているのでどちらを選択しても計算が正常でない
と判断し、1つ前の変調コードで指定されたステートを
他の入力条件の1つとして入力されており、指定された
ステート側の候補を選択する。ここでは変調コード候補
A側とする。選択結果122として変調候補A側を選択
することを示す”0”、オーバーフロー判定結果13
2、134が”1”なので桁あふれステート123を桁
あふれがあることを示す”1”、オーバーフロー・アン
ダーフローステート136はオーバーフローを示す”
1”とする。セレクタ110は選択結果122(”
0”)、桁あふれステート123(”1”)、オーバー
フロー・アンダーフローステート136(”1”)が入
力され、桁あふれがある変調コード候補A側を選択し、
選択した演算結果111には表示桁数で示すことが可能
な最大値例えばここでは符号付き4ビットとしているの
で”+7”、2進表示では”0111”を出力する。セ
レクタ115は選択結果122(”0”)が入力され変
調コード候補Aのコード113を変調コード116とし
て出力する。
Next, the modulation code candidates A and B are both DS
A case where overflow occurs due to the addition of the V value will be described. At this time, the digit overflow detection circuit 1 on the modulation code candidate A side
Reference numeral 17 indicates that the overflow determination result 132 is “1”, the underflow determination result 133 is “0” as an output because the overflow has been detected, and the overflow detection circuit 119 on the modulation code candidate B side has also detected an overflow. 134 is “1”, and the underflow determination result 135 is “0”. Comparison control circuit 12
1 indicates that both the overflow determination results 132 and 134 indicate overflow irrespective of the comparison result 109 of the comparator 108, so that the calculation is not normal regardless of which one is selected, and is designated by the immediately preceding modulation code. The state is input as one of the other input conditions, and a candidate for the specified state is selected. Here, it is the modulation code candidate A side. “0” indicating that the modulation candidate A side is selected as the selection result 122, and the overflow determination result 13
Since 2 and 134 are "1", the overflow state 123 indicates "1" indicating that overflow occurs, and the overflow / underflow state 136 indicates overflow.
The selector 110 sets the selection result 122 ("
0 ”), the overflow state 123 (“ 1 ”) and the overflow / underflow state 136 (“ 1 ”) are input, and the modulation code candidate A having overflow is selected.
The selected calculation result 111 outputs the maximum value that can be represented by the number of display digits, for example, “+7” because it is 4 bits with a sign, and “0111” in binary display. The selector 115 receives the selection result 122 (“0”) and outputs the code 113 of the modulation code candidate A as the modulation code 116.

【0031】次に変調コード候補A側、B側が共にDS
V値の加算でアンダーフローした場合について説明す
る。この時、変調コード候補A側の桁あふれ検出回路1
17はアンダーフローを検出したので出力としてオーバ
ーフロー判定結果132を”0”、アンダーフロー判定
結果133を”1”、変調コード候補B側の桁あふれ検
出回路119もアンダーフローを検出したので出力とし
てオーバーフロー判定結果134を”0”、アンダーフ
ロー判定結果135を”1”とする。比較制御回路12
1は比較器108の比較結果109にかかわらずアンダ
ーフロー判定結果133、135が共にアンダーフロー
を示しているのでどちらを選択しても計算が正常でない
と判断し、1つ前の変調コードで指定されたステートを
他の入力条件の1つとして入力されており、指定された
ステート側の候補を選択する。ここでは変調コード候補
B側とする。セレクタ110は選択結果122(”
1”)、桁あふれステート123(”1”)、オーバー
フロー・アンダーフローステート136(”0”)が入
力され、桁あふれがある変調コード候補B側を選択し、
選択した演算結果111には表示桁数で示すことが可能
な最小値例えばここでは符号付き4ビットとしているの
で”−8”、2の補数表示では”1000”を出力す
る。セレクタ115は選択結果122(”1”)が入力
され変調コード候補Bのコード114を変調コード11
6として出力する。第6の実施例のセレクタ110の動
作真理値表を表4に示す。
Next, the modulation code candidates A and B are both DS.
A case where an underflow occurs due to the addition of the V value will be described. At this time, the digit overflow detection circuit 1 on the modulation code candidate A side
Reference numeral 17 indicates that the overflow determination result 132 is "0", the underflow determination result 133 is "1", and the overflow detection circuit 119 on the modulation code candidate B side has detected an underflow. The determination result 134 is “0”, and the underflow determination result 135 is “1”. Comparison control circuit 12
1 indicates that the underflow determination results 133 and 135 both indicate an underflow regardless of the comparison result 109 of the comparator 108, so that the calculation is not normal regardless of which one is selected, and is designated by the immediately preceding modulation code. The specified state is input as one of the other input conditions, and a candidate for the specified state is selected. Here, it is the modulation code candidate B side. The selector 110 selects the selection result 122 ("
1 "), the overflow state 123 (" 1 ") and the overflow / underflow state 136 (" 0 ") are inputted, and the modulation code candidate B side with overflow is selected.
The selected calculation result 111 outputs the minimum value that can be represented by the number of display digits, for example, “−8” because it is a signed 4 bit here, and “1000” in the two's complement display. The selector 115 receives the selection result 122 (“1”) and inputs the code 114 of the modulation code candidate B to the modulation code 11.
Output as 6. Table 4 shows an operation truth table of the selector 110 according to the sixth embodiment.

【0032】[0032]

【表4】 [Table 4]

【0033】以上、第6の実施例において、片方のDS
V値の加算に桁あふれが生じても他方の正常計算してい
る候補を選択し、引き続きDSVの積算が正常に行われ
直流成分抑制制御が実現される。さらに、変調コード候
補すべてのDSVの加算に桁あふれが生じても、1つ前
の変調コードで指定されたステートにより候補を選択し
た場合、またはDSVの加算に桁あふれを生じた候補を
選択した場合は、DSVの積算値をオーバーフローの場
合は最大値、アンダーフローの場合は最小値とすること
で引き続き正常な変調コードの選択を行い、次回の変調
コードの選択において桁あふれを生じない候補を選択し
た場合はDSVの積算値の絶対値を小さくし、桁あふれ
を生じた候補を選択した場合はDSVの積算値に最大値
または最小値を保持することでこの場合も引き続き引き
続きDSVの積算が正常に行われ直流成分抑制制御が実
現される。
As described above, in the sixth embodiment, one DS
Even if an overflow occurs in the addition of the V value, the other candidate for which normal calculation is performed is selected, DSV integration is normally performed, and DC component suppression control is realized. Furthermore, even if an overflow occurs in the addition of the DSVs of all the modulation code candidates, if a candidate is selected according to the state specified by the immediately preceding modulation code, or a candidate that has an overflow in the addition of the DSV is selected. In this case, the DSV integrated value is set to the maximum value in the case of overflow and the minimum value in the case of underflow, and a normal modulation code is continuously selected, and a candidate which does not cause overflow in the next modulation code selection is selected. When the selected value is selected, the absolute value of the integrated value of the DSV is reduced, and when a candidate having overflow is selected, the maximum value or the minimum value is held in the integrated value of the DSV. Normally, DC component suppression control is realized.

【0034】第7の実施例として、第6の実施例と異な
る動作をする桁あふれ検出回路117、119を図10
に示す。第6の実施例の桁あふれ検出回路117および
119の出力は、桁あふれが発生したかしないか、発生
した場合はオーバーフローかアンダーフローかを示すこ
とがかのうであればよいので図10のようにしてもよ
い。桁あふれ検出回路117の出力を、桁あふれが生じ
た場合に”1”、しない場合の”0”を示す桁あふれス
テート137、桁あふれがオーバーフローの場合に”
1”、アンダーフローの場合に”0”を示すオーバーフ
ロー・アンダーフローステート138としてもよい。同
様に桁あふれ検出回路119の出力を、桁あふれが生じ
た場合に”1”、しない場合の”0”を示す桁あふれス
テート139、桁あふれがオーバーフローの場合に”
1”、アンダーフローの場合に”0”を示すオーバーフ
ロー・アンダーフローステート140としてもよい。
As a seventh embodiment, the overflow detectors 117 and 119 which operate differently from the sixth embodiment are shown in FIG.
Shown in The outputs of the digit overflow detection circuits 117 and 119 of the sixth embodiment need only indicate whether an overflow has occurred or not, and if an overflow has occurred, indicate whether an overflow or an underflow has occurred. You may. The output of the digit overflow detection circuit 117 is "1" when digit overflow occurs, "0" when no digit overflow occurs, and 137 when the overflow occurs.
An overflow / underflow state 138 indicating "1" or "0" in the case of an underflow may be used. Similarly, the output of the overflow detector 119 may be set to "1" when an overflow occurs and to "0" when no overflow occurs. "The digit overflow state 139 indicates that the overflow occurs."
The overflow / underflow state 140 may indicate “1” or “0” in the case of underflow.

【0035】以上に述べた実施例においては、いずれに
おいても説明を簡易にするため、DSVの演算判定を4
ビットで行う例について説明したが、本発明はこのビッ
ト数に限定されるものではなく、任意のビット数におい
ても同様に適用できるものである。
In each of the above-described embodiments, in order to simplify the explanation in each case, the DSV calculation judgment is made in 4 steps.
Although an example in which the number of bits is used has been described, the present invention is not limited to this number of bits, and can be similarly applied to an arbitrary number of bits.

【0036】次に、本発明による符号変調回路を情報記
録再生装置に適用した例を図11に示す。同図におい
て、301が情報の記録が行われる媒体である光ディス
ク、302が情報の記録再生を行うレーザ光を照射しま
たその反射光を検出する光ピックアップ、303が媒体
を一定回転数あるいは一定線速度で回転させるスピンド
ルモータ、304が光ピックアップで検出された反射光
から情報信号及びサーボ信号を検出するリードチャネ
ル、305がリードチャネルで検出された情報信号を復
調する符号復調回路、306がリードチャネルで検出さ
れたサーボ信号からサーボ動作を行うサーボ回路、30
7がサーボ回路の出力によりフォーカシングアクチュエ
ータ(図示せず)、トラッキングアクチュエータ(図示せ
ず)、スレッドモータ(図示せず)、スピンドルモータを
駆動するサーボドライバである。符号復調回路305で
復調された情報は、誤り訂正符号生成/訂正回路308
で訂正が行われ、ホストインターフェイス310を介し
て上位装置に転送される。メモリ309は誤り訂正符号
生成/訂正回路308で生成/訂正を行う際に一時的に
情報を蓄えておくものである。情報の記録に際しては、
上位装置からホストインターフェイス310を介して転
送された情報に、誤り訂正符号生成/訂正回路308に
おいて誤り訂正符号を生成付加し、本発明による符号変
調方法を用いた符号変調回路312で直流成分の抑圧さ
れた記録信号に変換され、レーザドライバ311により
光ピックアップ302内のレーザを変調して光ディスク
301に記録される。これまでに説明したように、本発
明による符号変調回路を用いれば、様々な記録情報に対
して直流成分の抑圧が可能であり、再生側の光ピックア
ップ、リードチャネル、符号復調回路の負担を軽減し、
必要な性能・回路規模を低減する。特に、符号変調回路
単体あるいは他の回路と併せて集積回路化する場合に、
集積回路規模を低減する事が出来る。なお、図11の実
施例においては、光変調記録方式の光ディスク装置を例
に挙げて説明したが、本発明の適用範囲はこれに限定さ
れるものではなく、光変調記録方式による光磁気ディス
ク装置、磁界変調記録方式による光磁気ディスク装置、
さらには磁気ディスク装置、磁気テープ装置などにも広
く適用が可能である。
Next, FIG. 11 shows an example in which the code modulation circuit according to the present invention is applied to an information recording / reproducing apparatus. In the figure, an optical disk 301 is a medium on which information is recorded, an optical pickup 302 irradiates a laser beam for recording and reproducing information and detects reflected light, and a reference numeral 303 denotes a medium rotating at a constant rotational speed or a constant line. A spindle motor rotating at a speed; 304, a read channel for detecting information signals and servo signals from reflected light detected by the optical pickup; 305, a code demodulation circuit for demodulating the information signal detected by the read channel; A servo circuit for performing a servo operation from the servo signal detected in the step 30,
Reference numeral 7 denotes a servo driver that drives a focusing actuator (not shown), a tracking actuator (not shown), a sled motor (not shown), and a spindle motor based on the output of the servo circuit. The information demodulated by the code demodulation circuit 305 is output to an error correction code generation / correction circuit 308.
Are corrected and transferred to the host device via the host interface 310. The memory 309 temporarily stores information when the error correction code generation / correction circuit 308 performs generation / correction. When recording information,
An error correction code is generated and added by an error correction code generation / correction circuit 308 to the information transferred from the host device via the host interface 310, and the DC component is suppressed by the code modulation circuit 312 using the code modulation method according to the present invention. The laser signal in the optical pickup 302 is modulated by the laser driver 311 and recorded on the optical disk 301. As described above, by using the code modulation circuit according to the present invention, it is possible to suppress the DC component of various recording information, and reduce the load on the optical pickup, read channel, and code demodulation circuit on the reproduction side. And
Reduce required performance and circuit scale. In particular, when forming an integrated circuit together with a code modulation circuit alone or other circuits,
The scale of the integrated circuit can be reduced. In the embodiment shown in FIG. 11, the optical disk device of the optical modulation recording system has been described as an example, but the scope of the present invention is not limited to this. , A magneto-optical disk device using a magnetic field modulation recording method,
Further, the present invention can be widely applied to magnetic disk devices, magnetic tape devices, and the like.

【0037】[0037]

【発明の効果】本発明により直流成分抑制制御の過程で
DSV値の積算結果に桁あふれが生じた場合でも判断誤
りを生じることなく、正常に変調を続行することが可能
となる。あるいはDSV値の積算結果に桁あふれが生
じ、正しい値を得ることができない場合においても、そ
の影響が継続することが無い。
According to the present invention, it is possible to continue the modulation normally without causing a judgment error even when the integration result of the DSV value overflows in the process of the DC component suppression control. Alternatively, even when an overflow occurs in the integration result of the DSV value and a correct value cannot be obtained, the influence does not continue.

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

【図1】桁あふれ検出回路付き符号変調回路の第1の実
施例のブロック図
FIG. 1 is a block diagram of a first embodiment of a code modulation circuit with a digit overflow detection circuit.

【図2】従来例の符号変調回路のブロック図FIG. 2 is a block diagram of a conventional code modulation circuit.

【図3】図1の実施応用例である第2の実施例のセレク
タのブロック図
FIG. 3 is a block diagram of a selector according to a second embodiment which is an application example of FIG. 1;

【図4】図1の実施応用例である第3の実施例のセレク
タのブロック図
FIG. 4 is a block diagram of a selector according to a third embodiment which is an application example of FIG. 1;

【図5】第4の実施例のブロック図FIG. 5 is a block diagram of a fourth embodiment.

【図6】第5の実施例のブロック図FIG. 6 is a block diagram of a fifth embodiment.

【図7】符号反転動作の説明図FIG. 7 is an explanatory diagram of a sign inversion operation.

【図8】符号反転回路の実施例FIG. 8 shows an embodiment of a sign inversion circuit.

【図9】第6の実施例のブロック図FIG. 9 is a block diagram of a sixth embodiment.

【図10】図9の実施応用例である第7の実施例の桁あ
ふれ検出回路のブロック図
FIG. 10 is a block diagram of a digit overflow detection circuit according to a seventh embodiment which is an application example of FIG. 9;

【図11】符号変調回路を情報記録再生装置に適用した
FIG. 11 shows an example in which a code modulation circuit is applied to an information recording / reproducing device.

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

101‥‥変調コード候補A側DSV値入力、102‥
‥DSV積算値、103‥‥演算器、104‥‥演算結
果、105‥‥変調コード候補B側DSV値入力、10
6‥‥演算器、107‥‥演算結果、108‥‥比較
器、109‥‥比較結果、110‥‥セレクタ、111
‥‥選択した演算結果、112‥‥ラッチ、113‥‥
変調コード候補A、114‥‥変調コード候補B、11
5‥‥セレクタ、116‥‥選択した変調コード、11
7、119‥‥桁あふれ検出回路、118、120‥‥
桁あふれ判定結果、121‥‥比較制御回路、122‥
‥選択結果、123‥‥桁あふれステート、124‥‥
変調メモリ、125‥‥DSVメモリ、126‥‥符号
反転回路、127‥‥変調状態信号、128‥‥データ
ラッチ、129‥‥計数回路、130‥‥変調コード、
131‥‥入力、132、134‥‥オーバーフロー判
定結果、133、135‥‥アンダーフロー判定結果、
136‥‥オーバーフロー・アンダーフローステート、
137、139‥‥桁あふれステート、138、140
‥‥オーバーフロー・アンダーフローステート 301‥‥光ディスク、302‥‥光ピックアップ、3
03‥‥スピンドルモータ、304‥‥リードチャネ
ル、305‥‥符号復調回路、306‥‥サーボ回路、
307‥‥サーボドライバ、308‥‥誤り訂正符号生
成/訂正回路、309‥‥メモリ、310‥‥ホストイ
ンターフェイス、311‥‥レーザドライバ、312‥
‥符号変調回路
101 {modulation code candidate A side DSV value input, 102}
{DSV integrated value, 103} arithmetic unit, 104} arithmetic result, 105 {modulation code candidate B side DSV value input, 10}
6 operation unit, 107 operation result, 108 comparator, 109 comparison result, 110 selector, 111
{Selected operation result, 112} Latch, 113}
Modulation code candidate A, 114 {modulation code candidate B, 11
5 ‥‥ selector, 116 ‥‥ selected modulation code, 11
7, 119 ° digit overflow detection circuit, 118, 120 °
Overflow determination result, 121 {comparison control circuit, 122}
{Selection result, 123} Digit overflow state, 124
Modulation memory, 125 DSV memory, 126 sign inverting circuit, 127 modulation state signal, 128 data latch, 129 counting circuit, 130 modulation code,
131 input, 132, 134 overflow determination result, 133, 135 underflow determination result,
136 ‥‥ overflow / underflow state,
137, 139 Overflow state, 138, 140
‥‥ Overflow / underflow state 301 ‥‥ Optical disk, 302 ‥‥ Optical pickup, 3
03 spindle motor, 304 read channel, 305 code demodulation circuit, 306 servo circuit,
307 servo driver, 308 error correction code generation / correction circuit, 309 memory, 310 host interface, 311 laser driver, 312
‥ Code modulation circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 奈良 和久 神奈川県横浜市戸塚区吉田町292番地株式 会社日立画像情報システム内 (72)発明者 竹内 敏文 神奈川県横浜市戸塚区吉田町292番地株式 会社日立製作所マルチメディアシステム開 発本部内 Fターム(参考) 5D044 GL01 GL21  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Kazuhisa Nara 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside Hitachi Image Information System (72) Toshifumi Takeuchi 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Co., Ltd. F-term in Hitachi Multimedia Systems Development Division (reference) 5D044 GL01 GL21

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】所定ビット数で1ワードを構成する入力コ
ード列を、異なるビット数で構成される変調コード列に
変換する際に、複数の変調コード候補から、積算直流成
分値がもっとも小さくなる変調コードを選択する符号変
調方法において、複数の変調コード候補それぞれについ
て、直流成分の積算演算時に、積算直流成分値が取り扱
い可能な範囲を超えてしまうオーバーフローあるいはア
ンダーフローの発生を検出することを特徴とする符号変
調方法。
When converting an input code string comprising one word with a predetermined number of bits into a modulation code string having a different number of bits, an integrated DC component value is minimized from a plurality of modulation code candidates. In the code modulation method for selecting a modulation code, for each of a plurality of modulation code candidates, at the time of DC component integration calculation, occurrence of an overflow or underflow in which an integrated DC component value exceeds a handleable range is detected. Code modulation method.
【請求項2】請求項1記載の符号変調方法において、オ
ーバーフローあるいはアンダーフローが発生していない
変調コード候補を変調コードとして採用することを特徴
とする符号変調方法。
2. The code modulation method according to claim 1, wherein a modulation code candidate in which no overflow or underflow has occurred is adopted as a modulation code.
【請求項3】請求項1記載の符号変調方法において、全
ての変調コード候補でオーバーフローあるいはアンダー
フローが発生したとき、任意の変調コード候補を変調コ
ードとして採用することを特徴とする符号変調方法。
3. The code modulation method according to claim 1, wherein when overflow or underflow occurs in all modulation code candidates, an arbitrary modulation code candidate is adopted as a modulation code.
【請求項4】請求項3記載の符号変調方法において、前
記任意の変調コード単独による直流成分値を前記積算直
流成分値として採用することを特徴とする符号変調方
法。
4. The code modulation method according to claim 3, wherein a DC component value based on said arbitrary modulation code alone is adopted as said integrated DC component value.
【請求項5】請求項3記載の符号変調方法において、所
定の値を前記積算直流成分値として採用することを特徴
とする符号変調方法。
5. The code modulation method according to claim 3, wherein a predetermined value is adopted as said integrated DC component value.
【請求項6】請求項3記載の符号変調方法において、全
ての変調コード候補でオーバーフローが発生したとき、
または全ての変調コード候補でアンダーフローが発生し
たとき、変調コード候補の内、直流成分値の絶対値が最
大のものを前記積算直流成分値として採用することを特
徴とする符号変調方法。
6. The code modulation method according to claim 3, wherein when overflow occurs in all modulation code candidates,
Alternatively, when an underflow has occurred in all modulation code candidates, a modulation code candidate having the largest absolute value of a DC component value among the modulation code candidates is adopted as the integrated DC component value.
【請求項7】所定ビット数で1ワードを構成する入力コ
ード列を、異なるビット数で構成される変調コード列に
変換する際に、複数の変調コード候補から、積算がもっ
とも小さくなる変調コードを選択する符号変調回路にお
いて、第一の変調コード候補の直流成分値と後述するそ
れ以前迄の直流成分の積算値とを加算する第一の演算器
と、第二の変調コード候補の直流成分値と後述するそれ
以前迄の直流成分の積算値とを加算する第二の演算器
と、該第一及び第二の演算器の演算結果を絶対値比較
し、比較結果を出力する比較器と、第一の変調コード候
補の直流成分値とそれ以前迄の変調コードの直流成分の
積算値及び該第一の演算器の演算結果を入力してオーバ
ーフローあるいはアンダーフローを検出する第一の桁あ
ふれ検出回路と、第二の変調コード候補の直流成分値と
それ以前迄の変調コードの直流成分の積算値及び該第二
の演算器の演算結果を入力してオーバーフローあるいは
アンダーフローを検出する第二の桁あふれ検出回路と、
該比較器の出力結果と該第一及び第二の桁あふれ検出回
路の出力結果と他の選択に必要な判定条件を入力し判定
結果を出力する比較制御回路と、比較制御回路の出力結
果に応じて、該第一の演算器の演算結果と該第二の演算
器の演算結果と前記第一の変調コード候補の積算直流成
分値と前記第二の変調コード候補の積算直流成分値とか
らいずれか一つを選択し、直流成分の積算値として出力
する第一のセレクタと、該第一のセレクタの出力である
直流成分の積算値を保持するラッチと、該比較制御回路
の出力結果に応じて、前記第一の変調コード候補と前記
第二の変調コード候補を選択して出力する第二のセレク
タから構成される符号変調回路。
7. When converting an input code sequence constituting one word with a predetermined number of bits into a modulation code sequence having a different number of bits, a modulation code with the smallest integration is determined from a plurality of modulation code candidates. A first arithmetic unit for adding a DC component value of a first modulation code candidate and an integrated value of a DC component up to that point to be described later, and a DC component value of a second modulation code candidate in a selected code modulation circuit; And a second computing unit that adds the integrated value of the DC component up to that and a later-described computing unit, a comparator that compares the computation results of the first and second computing units in absolute value, and outputs a comparison result, First digit overflow detection for detecting an overflow or an underflow by inputting a DC component value of a first modulation code candidate, an integrated value of DC components of a modulation code up to that, and an operation result of the first arithmetic unit. Circuit and the second A second digit overflow detection circuit for detecting an overflow or an underflow by inputting the DC component value of the modulation code candidate and the integrated value of the DC component of the modulation code up to that and the operation result of the second arithmetic unit;
A comparison control circuit that inputs an output result of the comparator, an output result of the first and second digit overflow detection circuits, and a determination condition necessary for another selection and outputs a determination result, and an output result of the comparison control circuit. Accordingly, from the calculation result of the first calculator, the calculation result of the second calculator, the integrated DC component value of the first modulation code candidate, and the integrated DC component value of the second modulation code candidate. A first selector that selects any one of them and outputs the integrated value of the DC component, a latch that holds the integrated value of the DC component output from the first selector, and an output result of the comparison control circuit. A code modulation circuit comprising a second selector for selecting and outputting the first modulation code candidate and the second modulation code candidate in response to the request.
【請求項8】所定ビット数で1ワードを構成する入力コ
ード列を、異なるビット数で構成される変調コード列に
変換する際に、複数の変調コード候補から直流成分がも
っとも小さくなる変調コードを選択する符号変調回路に
おいて、該入力コード列をアドレス入力とし、第一及び
第二の変調コード候補の直流成分値を出力する第一のメ
モリ回路、該第一のメモリ回路の出力である第一及び第
二の変調コード候補の直流成分値の符号を必要に応じて
反転する符号反転回路、該符号反転回路を経由する第一
の変調コード候補の直流成分値と後述するそれ以前迄の
直流成分の積算値とを加算する第一の演算器と、第二の
変調コード候補の直流成分値と後述するそれ以前迄の直
流成分の積算値とを加算する第二の演算器と、該第一及
び第二の演算器の演算結果を絶対値比較し、比較結果を
出力する比較器と、第一の変調コード候補の直流成分値
とそれ以前迄の変調コードの直流成分の積算値及び該第
一の演算器の演算結果を入力してオーバーフローあるい
はアンダーフローを検出する第一の桁あふれ検出回路
と、第二の変調コード候補の直流成分値とそれ以前迄の
変調コードの直流成分の積算値及び該第二の演算器の演
算結果を入力してオーバーフローあるいはアンダーフロ
ーを検出する第二の桁あふれ検出回路と、該比較器の出
力結果と該第一及び第二の桁あふれ検出回路の出力結果
を入力とし判定結果を出力する比較制御回路と、比較制
御回路の出力結果に応じて、該第一の演算器の演算結果
と該第二の演算器の演算結果と前記第一の変調コード候
補の直流成分値と前記第二の変調コード候補の直流成分
値とからいずれか一つを選択し、直流成分の積算値とし
て出力する第一のセレクタと、該第一のセレクタの出力
である直流成分の積算値を保持するラッチと、該比較制
御回路の出力結果をアドレスの一部とし、他のアドレス
として前記入力コード列が入力され、変調コードを出力
する第二のメモリ回路から構成される符号変調回路。
8. When converting an input code sequence comprising one word with a predetermined number of bits into a modulation code sequence having a different number of bits, a modulation code having the smallest DC component is selected from a plurality of modulation code candidates. In a selected code modulation circuit, a first memory circuit that outputs the DC component values of the first and second modulation code candidates using the input code string as an address input and a first memory circuit that is an output of the first memory circuit. And a sign inversion circuit for inverting the sign of the DC component value of the second modulation code candidate as necessary, a DC component value of the first modulation code candidate passing through the sign inversion circuit, and a DC component up to that point described later. A first computing unit that adds the integrated value of the first modulation component, a second computing unit that adds the DC component value of the second modulation code candidate and the integrated value of the DC component up to that time, which will be described later, And the second computing unit A comparator for comparing the absolute values of the calculation results and outputting the comparison results; a DC component value of the first modulation code candidate and an integrated value of the DC components of the modulation codes up to that; and a calculation result of the first arithmetic unit A first overflow detector for detecting an overflow or an underflow, a DC component value of a second modulation code candidate, an integrated value of a DC component of a modulation code up to that, and the second arithmetic unit. A second digit overflow detection circuit for inputting the operation result and detecting an overflow or an underflow; an output result of the comparator and an output result of the first and second overflow detection circuits as inputs; A comparison control circuit to output, in accordance with an output result of the comparison control circuit, a calculation result of the first calculator, a calculation result of the second calculator, a DC component value of the first modulation code candidate, and Second modulation code A first selector that selects one of the complementary DC component values and outputs the integrated value of the DC component, a latch that holds an integrated value of the DC component that is the output of the first selector, A code modulation circuit comprising a second memory circuit that receives a result of the output of the comparison control circuit as a part of an address, receives the input code string as another address, and outputs a modulation code.
【請求項9】所定ビット数で1ワードを構成する入力コ
ード列を、異なるビット数で構成される変調コード列に
変換する際に、複数の変調コード候補から直流成分がも
っとも小さくなる変調コードを選択する符号変調回路に
おいて、該入力コード列をアドレス入力とし、第一及び
第二の変調コード候補の直流成分値を出力する第一のメ
モリ回路と、該第一のメモリ回路の出力である第一及び
第二の変調コード候補の直流成分値の符号を後述する計
数回路の出力に応じて反転する符号反転回路と、該符号
反転回路を経由する第一の変調コード候補の直流成分値
と後述するそれ以前迄の直流成分の積算値とを加算する
第一の演算器と、第二の変調コード候補の直流成分値と
後述するそれ以前迄の直流成分の積算値とを加算する第
二の演算器と、該第一及び第二の演算器の演算結果を絶
対値比較し、比較結果を出力する比較器と、第一の変調
コード候補の直流成分値とそれ以前迄の変調コードの直
流成分の積算値及び該第一の演算器の演算結果を入力し
てオーバーフローあるいはアンダーフローを検出する第
一の桁あふれ検出回路と、第二の変調コード候補の直流
成分値とそれ以前迄の変調コードの直流成分の積算値及
び該第二の演算器の演算結果を入力してオーバーフロー
あるいはアンダーフローを検出する第二の桁あふれ検出
回路と、該比較器の出力結果と該第一及び第二の桁あふ
れ検出回路の出力結果を入力とし判定結果を出力する比
較制御回路と、比較制御回路の出力結果に応じて、該第
一の演算器の演算結果と該第二の演算器の演算結果と前
記第一の変調コード候補の直流成分値と前記第二の変調
コード候補の直流成分値とからいずれか一つを選択し、
直流成分の積算値として出力する第一のセレクタと、該
第一のセレクタの出力である直流成分の積算値を保持す
るラッチと、該比較制御回路の出力結果をアドレスの一
部とし、他のアドレスとして前記入力コード列が入力さ
れ、変調コードを出力する第二のメモリ手段と、該第二
のメモリ手段の出力を保持する保持回路と、該保持回路
に保持されている変調コードの“1”の数を計数しその
数が奇数或いは偶数であることを識別し前記符号反転回
路への制御信号を出力する計数回路とにより構成される
符号変調回路。
9. A method of converting an input code sequence forming one word with a predetermined number of bits into a modulation code sequence having a different number of bits, the modulation code having the smallest DC component from a plurality of modulation code candidates. In the selected code modulation circuit, a first memory circuit that receives the input code string as an address input and outputs DC component values of first and second modulation code candidates, and a first memory circuit that is an output of the first memory circuit. A sign inverting circuit for inverting the sign of the DC component value of the first and second modulation code candidates in accordance with the output of a counting circuit described later, and a DC component value of the first modulation code candidate passing through the sign inverting circuit; A first arithmetic unit that adds the integrated value of the DC component up to that time, and a second arithmetic unit that adds the DC component value of the second modulation code candidate and the integrated value of the DC component up to that time, which will be described later. An arithmetic unit and the second A comparator for comparing the calculation results of the first and second calculators with absolute values and outputting the comparison result; a DC component value of the first modulation code candidate and an integrated value of the DC component of the modulation code up to that; A first overflow detection circuit for detecting an overflow or underflow by inputting the operation result of the first arithmetic unit, and integrating the DC component value of the second modulation code candidate and the DC component of the modulation code up to that value A second digit overflow detection circuit for inputting a value and an operation result of the second arithmetic unit to detect an overflow or an underflow; an output result of the comparator and an output result of the first and second overflow detectors; A comparison control circuit that receives the output result as an input and outputs a determination result, and, in accordance with the output result of the comparison control circuit, the operation result of the first operation unit, the operation result of the second operation unit, and the first modulation DC component value of code candidate Selects one of the DC component value of the second modulation code candidates,
A first selector that outputs the integrated value of the DC component, a latch that holds the integrated value of the DC component that is the output of the first selector, and the output result of the comparison control circuit as a part of the address. A second memory unit that receives the input code string as an address and outputs a modulation code, a holding circuit that holds an output of the second memory unit, and “1” of the modulation code held in the holding circuit. And a counting circuit that counts the number of "", identifies whether the number is odd or even, and outputs a control signal to the sign inverting circuit.
【請求項10】情報を符号変調手段で所定の符号変調方
法に基づき符号変換して記録媒体への記録ならびに再生
を行う情報記録再生装置において、該符号変調手段は、
複数の変調コード候補から、積算直流成分値がもっとも
小さくなる変調コードを選択する符号変調手段であり、
複数の変調コード候補それぞれによる、直流成分の積算
演算手段におけるオーバーフローあるいはアンダーフロ
ーを検出し、オーバーフローあるいはアンダーフローが
発生していない変調コード候補を変調コードとして採用
し、かつこの変調コードによる積算直流成分値を採用し
て以降の変調を行うことを特徴とする情報記録再生装
置。
10. An information recording / reproducing apparatus for performing code conversion of information by code modulation means based on a predetermined code modulation method and performing recording and reproduction on a recording medium, wherein the code modulation means comprises:
Code modulation means for selecting a modulation code having the smallest integrated DC component value from a plurality of modulation code candidates,
An overflow or an underflow in the DC component integration calculating means by each of the plurality of modulation code candidates is detected, a modulation code candidate in which no overflow or underflow has occurred is adopted as a modulation code, and an integration DC component by the modulation code is used. An information recording / reproducing apparatus characterized by performing subsequent modulation by employing a value.
【請求項11】情報を符号変調手段で所定の符号変調方
法に基づき符号変換して記録媒体への記録ならびに再生
を行う情報記録再生装置において、該符号変調手段は、
複数の変調コード候補から、積算直流成分値がもっとも
小さくなる変調コードを選択する符号変調手段であり、
複数の変調コード候補それぞれによる、直流成分の積算
演算手段におけるオーバーフローあるいはアンダーフロ
ーを検出し、全ての変調コード候補でオーバーフローあ
るいはアンダーフローが発生した場合に、前記複数の変
調コード候補から任意の変調コードを採用し、かつ所定
の値で積算直流成分値を置き換えて以降の変調を行うこ
とを特徴とする情報記録再生装置。
11. An information recording / reproducing apparatus for performing code conversion of information by code modulation means based on a predetermined code modulation method and recording and reproducing the information on and from a recording medium, wherein the code modulation means comprises:
Code modulation means for selecting a modulation code having the smallest integrated DC component value from a plurality of modulation code candidates,
Each of the plurality of modulation code candidates detects an overflow or an underflow in the DC component integration calculating means, and when an overflow or an underflow occurs in all the modulation code candidates, an arbitrary modulation code is obtained from the plurality of modulation code candidates. An information recording / reproducing apparatus characterized in that the following modulation is performed and the subsequent modulation is performed by replacing the integrated DC component value with a predetermined value.
【請求項12】情報を符号変調手段で所定の符号変調方
法に基づき符号変換して記録媒体への記録ならびに再生
を行う情報記録再生装置において、該符号変調手段は、
複数の変調コード候補から、積算直流成分値がもっとも
小さくなる変調コードを選択する符号変調手段であり、
複数の変調コード候補それぞれによる、直流成分の積算
演算手段におけるオーバーフローあるいはアンダーフロ
ーを検出し、全ての変調コード候補でオーバーフローが
発生したとき、または全ての変調コード候補でアンダー
フローが発生したとき、前記複数の変調コード候補から
任意の変調コードを採用し、かつ前記変調コード候補の
内、直流成分値の絶対値が最大のものを前記積算直流成
分値として採用して以降の変調を行うことを特徴とする
情報記録再生装置。
12. An information recording / reproducing apparatus for performing code conversion of information by code modulation means based on a predetermined code modulation method and recording and reproducing information on and from a recording medium, wherein the code modulation means comprises:
Code modulation means for selecting a modulation code having the smallest integrated DC component value from a plurality of modulation code candidates,
By each of a plurality of modulation code candidates, to detect overflow or underflow in the DC component integration calculation means, when overflow occurs in all modulation code candidates, or when underflow occurs in all modulation code candidates, An arbitrary modulation code is adopted from a plurality of modulation code candidates, and of the modulation code candidates, the one having the largest absolute value of the DC component value is adopted as the integrated DC component value, and subsequent modulation is performed. Information recording and reproducing apparatus.
JP10341310A 1998-12-01 1998-12-01 Code modulation method, circuit and information recording and reproducing device using the same Pending JP2000174629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10341310A JP2000174629A (en) 1998-12-01 1998-12-01 Code modulation method, circuit and information recording and reproducing device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10341310A JP2000174629A (en) 1998-12-01 1998-12-01 Code modulation method, circuit and information recording and reproducing device using the same

Publications (1)

Publication Number Publication Date
JP2000174629A true JP2000174629A (en) 2000-06-23

Family

ID=18345072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10341310A Pending JP2000174629A (en) 1998-12-01 1998-12-01 Code modulation method, circuit and information recording and reproducing device using the same

Country Status (1)

Country Link
JP (1) JP2000174629A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100724354B1 (en) * 2001-03-24 2007-06-04 엘지전자 주식회사 Method for modulating digital data and apparatus therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100724354B1 (en) * 2001-03-24 2007-06-04 엘지전자 주식회사 Method for modulating digital data and apparatus therefor

Similar Documents

Publication Publication Date Title
US6148043A (en) Viterbi decoder and viterbi decoding method
US6023234A (en) EFM encoder and DSV calculator
JPH08172366A (en) Branchmetric operation circuit in viterbi decoder
JP3012357B2 (en) Shift amount detection circuit
JP2000174629A (en) Code modulation method, circuit and information recording and reproducing device using the same
US4910517A (en) Digital data detector
US6718511B2 (en) Method and apparatus to detect a signal received from a channel signal
CN111290790B (en) Conversion device for converting fixed point into floating point
JPH0511980A (en) Overflow detecting method and circuit
JPH09247137A (en) Phase error detection circuit and digital pll circuit
JP2509279B2 (en) Floating point number-fixed point number converter
JP2694403B2 (en) Digital data detector
CN115833845B (en) Position output device and position output method
JP2927278B2 (en) Discontinuous signal interpolation circuit
US6288657B1 (en) Encoding apparatus and method, decoding apparatus and method, and distribution media
GB2275355A (en) Detection of exponent underflow and overflow in a floating point adder
JP2752564B2 (en) Leading one prediction device and floating point addition / subtraction device
JP3512700B2 (en) Floating point arithmetic unit
JP3611359B2 (en) EFM modulator
KR100370279B1 (en) Digital data phase detector
JP3557366B2 (en) Size comparison method and device
JP3615063B2 (en) Method and apparatus for calculating DSV in digital modulator
JP3343606B2 (en) Viterbi decoder
JPH1040073A (en) Digital signal processor
JP2001092634A (en) Functional unit and computing method and processor