JPH01314022A - Digital signal processing circuit - Google Patents

Digital signal processing circuit

Info

Publication number
JPH01314022A
JPH01314022A JP14627988A JP14627988A JPH01314022A JP H01314022 A JPH01314022 A JP H01314022A JP 14627988 A JP14627988 A JP 14627988A JP 14627988 A JP14627988 A JP 14627988A JP H01314022 A JPH01314022 A JP H01314022A
Authority
JP
Japan
Prior art keywords
bit
shift register
data
bits
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14627988A
Other languages
Japanese (ja)
Inventor
Manabu Tsukamoto
学 塚本
Kazuhito Endo
和仁 遠藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP14627988A priority Critical patent/JPH01314022A/en
Publication of JPH01314022A publication Critical patent/JPH01314022A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To obtain a circuit corresponding to the 16-bit mode and the 12-bit mode with a comparatively small scale by using a shift register required also for the 16-bit mode in common with the expansion of the 12-bit mode. CONSTITUTION:The circuit consists of a shift register 5 converting serially a 1-word 16-bit parallel data and a shift control circuit 4 controlling the shift clock of the shift register 5. In case of the 16-bit mode, tie data of the shift register 5 is outputted as it is and in case of the 12-bit mode, the number of times of shifting is decided from the high-order 4-bit in the 12-bit data, the remaining 8-bit and a fixed 8-bit are loaded to the shift register 5, the shift register 5 is shifted by number of times to generate and output the 16-bit data. Thus, a circuit corresponding to both the 16-bit and 12-bit modes is obtained with a comparatively small circuit scale.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は回転ヘッド式ディジタルオーディオテープレ
コーダ(以下DATと称す)などに適用されるもので、
16ビツトのモードと12ビツトのモードの両モードを
実現するように構成したディジタル信号処理回路に関す
るものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention is applied to rotary head type digital audio tape recorders (hereinafter referred to as DAT), etc.
The present invention relates to a digital signal processing circuit configured to realize both a 16-bit mode and a 12-bit mode.

〔従来の技術〕[Conventional technology]

−従来、一般のDATにおいてはメモリからの出力をデ
ィジタル・アナログ変換回路(以下D/A変換回路と称
す)に入力する場合、8ビツトのパラレルデータを16
ビツトのシリアルデータに変換している。第4図はこの
8ビツトのパラレルデ−夕を16ビツトのシリアルデー
タに変換する回路(以下、D/Aインタフェース回路と
称す)を示す0図において、1はメモリと接続されたデ
ータバス、21.22は8ビツトのDタイプ・ランチ(
以下ラッチと称す)、5はパラレル人力/シリアル出力
の16ビツトシフトレジスタ(以下シフトレジスタと称
す)である。
- Conventionally, in a general DAT, when inputting the output from the memory to a digital-to-analog conversion circuit (hereinafter referred to as a D/A conversion circuit), 8-bit parallel data is
Converts to bit serial data. FIG. 4 shows a circuit for converting this 8-bit parallel data into 16-bit serial data (hereinafter referred to as a D/A interface circuit), in which 1 is a data bus connected to the memory, 21. 22 is an 8-bit D-type launch (
5 is a parallel manual/serial output 16-bit shift register (hereinafter referred to as shift register).

次に動作について説明する。メモリから出力された8ビ
ツトのパラレルデータを、8ビツトずつラッチ21,2
2にラッチし、その後16ビツトまとめてシフトレジス
タ5にロードし、シリアルに出力する。
Next, the operation will be explained. The 8-bit parallel data output from the memory is transferred to latches 21 and 2, 8 bits at a time.
2, then load all 16 bits into the shift register 5 and output them serially.

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

以上のように、従来の回路では16ビツトのモードにの
み対応しており、12ビツトのモードには対応していな
かった。
As described above, the conventional circuit supports only the 16-bit mode, but not the 12-bit mode.

そこで本発明は上記のような問題点を解消するためにな
されたもので、16ビツトのモードと12ビツトのモー
ドの両モードに対応し、かつ回路の共用化を行った、デ
ィジタル信号処理回路のD/Aインタフェース回路を得
ることを目的とする。
Therefore, the present invention has been made to solve the above-mentioned problems, and is a digital signal processing circuit that is compatible with both 16-bit mode and 12-bit mode and that can share circuits. The purpose is to obtain a D/A interface circuit.

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

この発明に係るディジタル信号処理回路は1ワード16
ビツトのパラレルデータをシリアルに変換するシフトレ
ジスタと、該シフトレジスタのシフトクロックを制御す
るシフト制御回路を備え、16ビツトモードの時はシフ
トレジスタのデータをそのまま出力し、12ビツトモー
ドの時は12ビツトデータの上位4ビツトからシフト回
数を決定し、12ビツトデータの下位8ビツトと固定の
8ビツトとをシフトレジスタにロードし、該シフトレジ
スタを上記回数だけシフトして16ビツトデータを生成
し、出力するようにしたものである。
The digital signal processing circuit according to the present invention has 16 words per word.
It is equipped with a shift register that converts bit parallel data into serial data and a shift control circuit that controls the shift clock of the shift register.When in 16-bit mode, the shift register data is output as is, and when in 12-bit mode, it outputs the 12-bit data. The number of shifts is determined from the upper 4 bits of the 12-bit data, the lower 8 bits of the 12-bit data and the fixed 8 bits are loaded into the shift register, and the shift register is shifted the above number of times to generate and output 16-bit data. This is how it was done.

〔作用〕[Effect]

この発明におけるディジタル信号処理回路は12ビツト
の伸長に16ビツトモードにも必要なシフトレジスタを
兼用しているので、比較的回路規模の小さな16ビツト
モード及び12ビツトモード対応の回路を実現できる。
Since the digital signal processing circuit of the present invention doubles as a shift register necessary for 16-bit mode as well as 12-bit decompression, it is possible to realize a circuit compatible with 16-bit mode and 12-bit mode with a relatively small circuit scale.

〔実施例〕〔Example〕

ここでDATにより規格化されている16ビツトのデー
タを12ビツトに圧縮する規則及び12ビツトのオーデ
ィオデータワード(以下ワードと称す)を8ビツトのオ
ーディオデータシンボル(以下シンボルと称す)に変換
する規則について説明する。
Here, the rules for compressing 16-bit data into 12 bits and the rules for converting 12-bit audio data words (hereinafter referred to as words) into 8-bit audio data symbols (hereinafter referred to as symbols) are standardized by DAT. I will explain about it.

まず、16ビツトのデータを12ビツトに圧縮する規則
を第5図に示し、特に極性が正のものについての説明図
を第6図に示す、ここで圧縮規則について第6図に沿っ
て説明する。第6図において、′0”、′l”は各ビッ
トのデータを表わし、丸材数字は16ビツトデータのビ
ット位置を示しており、最下位ビット(以下LSBと称
す)を■として表現したものであり、いずれも値は“O
”又は“1”である、圧縮規則はまず16ビツトデータ
の上位8ビツトから、MSBの連続する回数により12
ビツトデータの上位4ビツトは一意的に決定される0次
にMSBと極性が反転した次のビットから8ビツトをと
り、これを12ビツトデータの下位8ビツトとする。こ
のようにして16ビツトデータを12ビツトに圧縮する
First, the rules for compressing 16-bit data to 12 bits are shown in Figure 5, and an explanatory diagram especially for positive polarity is shown in Figure 6.The compression rules will now be explained along Figure 6. . In Figure 6, '0'' and 'l'' represent the data of each bit, and the round numbers indicate the bit positions of 16-bit data, and the least significant bit (hereinafter referred to as LSB) is expressed as ■. Yes, the value is “O” in both cases.
” or “1”, the compression rule starts with the upper 8 bits of 16-bit data, and then divides the data into 12 bits depending on the number of consecutive MSBs.
The upper 4 bits of the bit data are the 8 bits from the next bit whose polarity is inverted from the uniquely determined 0th MSB, and these are taken as the lower 8 bits of the 12-bit data. In this way, 16 bit data is compressed to 12 bits.

次に12ビツトのワードを8ビツトのシンボルに変換す
る規則について説明する。前記規則を第7図に示す、第
7図において、2チヤンネルのワードのうち1番目の一
方のチャンネルをAt、他方をBiとし、前記2チヤン
ネルのワードから3つのシンボルを作成し、それぞれの
ワードの上位8ビツトを1つのシンボルとしくAiu、
Btu)それぞれのワードの下位4ビツトを合成して1
つのシンボル(AB i f)を生成している。
Next, the rules for converting 12-bit words into 8-bit symbols will be explained. The above rules are shown in FIG. 7. In FIG. 7, one of the first two channel words is set to At and the other is Bi, three symbols are created from the two channel words, and each word The upper 8 bits of Aiu are taken as one symbol,
Btu) The lower 4 bits of each word are combined and
One symbol (AB i f) is generated.

以上のことより圧縮された12ピントデータを16ビツ
トに伸長する場合、12とットデータの上位4ビツトか
らMSHの連続する回数を決定し、MSBを連続させた
後、極性が反転したビットを1ビツト付加し、その後に
12ビツトデータの下位8ビツトを続け、16ビツトに
不足する部分は下位に“0”を付加する0以上のように
して12ビツトに圧縮されたデータを伸長して16ビフ
トデータを作成する。
From the above, when compressed 12-bit data is expanded to 16 bits, the number of consecutive MSHs is determined from the upper 4 bits of the 12-bit data, and after the MSB is consecutive, the bit whose polarity has been reversed is 1 bit. After that, the lower 8 bits of the 12-bit data are added, and if there is a shortage of 16 bits, add "0" to the lower part. create.

以下、この発明の一実施例を図面にもとづいて説明する
Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図において、1はメモリと接続されたデータバス、
21.22は8ビツトのラッチ、31はセレクタで、A
chとBchを切り換える。32はセレクタで、16ビ
ツトのモードと12ビツトのモードを切り換える。5は
シフトレジスタ、4はシフト制御回路で、詳細は第3図
に示し、ここでシフトレジスタ5のシフトの制御を行っ
ている。
In FIG. 1, 1 is a data bus connected to memory;
21 and 22 are 8-bit latches, 31 is a selector, and A
Switch between ch and Bch. 32 is a selector for switching between 16-bit mode and 12-bit mode. 5 is a shift register, and 4 is a shift control circuit, the details of which are shown in FIG. 3, and which control the shifting of the shift register 5.

また、第2図にこの回路を動作させるクロックのタイミ
ングチャートを示す、CHCKはチャンネルクロックで
、“0°はAチャンネル、“1″はBチャンネルを表し
ている。
Further, FIG. 2 shows a timing chart of a clock for operating this circuit. CHCK is a channel clock, "0°" represents the A channel, and "1" represents the B channel.

次にシフト制御回路を第3図に示す。このシフト制御回
路4はカウンタ41,3人力N0R42゜0R43,A
ND44、それに3つのEXNOR45で構成されてい
る。
Next, the shift control circuit is shown in FIG. This shift control circuit 4 has a counter 41, 3 manual power N0R42°0R43, A
It consists of an ND44 and three EXNOR45s.

次に上記構成の回路動作を説明する。Next, the operation of the circuit having the above configuration will be explained.

16ビツトモードの場合はセレクタ32でAを選択し、
1..1.でデータバス1より8ビツトのパラレルデー
タをラッチ21.22に貯え、t。
In the case of 16-bit mode, select A with selector 32,
1. .. 1. 8-bit parallel data from data bus 1 is stored in latches 21 and 22 at t.

で16ビツトデータをシフトレジスタ5にロードし、C
LK 1によりシリアルに出力する。
Load the 16-bit data into shift register 5 with C
Outputs serially using LK1.

また12ビン、トモードの場合はセレクタ32でBを選
択する。まずt+?Aチャンネルの上位8ビツトをラッ
チ21に貯え、t2でAチャンネルとBチャンネル、そ
れぞれの下位4ピントをラッチ22に貯える。そしてt
、でAチャンネルの上位4ビツトをカウンタ41にロー
ドしMSBが連続する回数を決定する。また同時にセレ
クタ31でA側のAチャンネル下位4ビット(d7〜d
4)を選択し、これをdll−d8およびアース電位の
8ビツトとともにセレクタ32により1.でシフトレジ
スタ5にロードする。そして5FCKによりシフトレジ
スタ5をシフトすると同時にカウンタ41をダウンカウ
ントし、カウンタの出力がオール“0”になった時、つ
まりゲート42の出力が“l”になった時、ゲート43
は5FCKの出力を停止し、シフトレジスタ5にはクロ
ックが供給されずに、シフト動作を停止する0例えば1
2ビツトデータが第6図に示す(111のデータである
場合を例にあげると、カウンタ41にはMSBを除いた
0の数である“4″がロードされ、シフトレジスタ5を
4回シフトする0次にCLK 1によりシフトレジスタ
5内の伸長された16ビフトデータをシリアルに出力す
る。
In addition, in the case of 12-bin mode, select B with the selector 32. First of all, t+? The upper 8 bits of the A channel are stored in the latch 21, and the lower 4 bits of each of the A channel and the B channel are stored in the latch 22 at t2. and t
, the upper 4 bits of the A channel are loaded into the counter 41 to determine the number of consecutive MSBs. At the same time, the selector 31 selects the lower 4 bits of the A channel on the A side (d7 to d).
4), and selects 1. Load it into shift register 5. Then, at the same time as the shift register 5 is shifted by 5FCK, the counter 41 is down-counted, and when the output of the counter becomes all "0", that is, when the output of the gate 42 becomes "L", the gate 43
0 stops the output of 5FCK, no clock is supplied to the shift register 5, and the shift operation is stopped.
For example, if the 2-bit data is data 111 as shown in FIG. 0th order, the expanded 16-bit data in the shift register 5 is serially outputted by CLK1.

次にt4でBチャンネルの上位8ビツトをラッチ21に
貯え、t、でAチャンネルの場合と同様、Bチャンネル
の上位4ビツトをカウンタ41にロードし、また同時に
セレクタ31でB側のBチャンネル下位4ビット(d3
〜40)を選択し、これをdll〜d8およびアース電
位の8ビツトとともにセレクタ32によりシフトレジス
タ5にロードし、Aチャンネルと同様にシフト動作を行
った後、CLK lにより伸長された16ビツトデータ
をシリアルに出力する。
Next, at t4, the upper 8 bits of the B channel are stored in the latch 21, and at t, the upper 4 bits of the B channel are loaded into the counter 41, as in the case of the A channel. 4 bits (d3
~40) is loaded into the shift register 5 by the selector 32 along with 8 bits of dll~d8 and ground potential, and after performing a shift operation in the same way as the A channel, the 16 bit data expanded by CLK1 is loaded. output serially.

なお、上記実施例のシフト制御回路4においてはカウン
タ41をダウンカウントしているが、入出力を反転(4
2に3人力AND、45にEORを用いる)し、アンプ
カウントしてもよい。
In the shift control circuit 4 of the above embodiment, the counter 41 is counted down, but the input/output is inverted (4
(Use 3 manual AND for 2 and EOR for 45) and count the amps.

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

以上のように、この発明によれば1ワード16ビツトの
パラレルデータをシリアルに変換するシフトレジスタと
、8亥シフトレジスタのシフトクロックを制御するシフ
ト制御回路を備え、16ビツトモードの時はシフトレジ
スタのデータをそのまま出力し、12ビツトモードの時
は12ビツトデータの上位4ビツトからシフト回数を決
定し、残り8ビツトと固定の8ビツトをシフトレジスタ
にロードし、シフトレジスタを上記回数シフトして16
ビツトデータを生成し、出力するようにしたので、比較
的少ない回路規模で、16ビー/ )モード及び12ビ
ツトモードの両モードに対応する回路を実現できる効果
がある。
As described above, the present invention includes a shift register that converts one word of 16-bit parallel data into serial data, and a shift control circuit that controls the shift clock of the 8-bit shift register. Output the data as is, and in the 12-bit mode, determine the number of shifts from the upper 4 bits of the 12-bit data, load the remaining 8 bits and the fixed 8 bits into the shift register, shift the shift register the above number of times, and then
Since bit data is generated and output, it is possible to realize a circuit compatible with both the 16 bit mode and the 12 bit mode with a relatively small circuit scale.

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

第1図はこの発明の一実施例によるD/Aインタフェー
ス回路の構成を示すブロック図、第2図は第1図の回路
を動作させるクロックのタイミングチャート図、第β図
はシフト制御回路の詳細図、第4図は従来の回路のブロ
ック図、第5図はDATにおいて規格化されているデー
タ圧縮の規則を表す図、第6図はデータ圧縮規則の説明
図、第7図はワードをシンボルに変換する規則を表す図
である。 図において、5はシフトレジスタ、4はシフト制御回路
、31.32はセレクタ、21.22はラッチ、1はデ
ータバスである。 なお図中同一符号は同−又は相当部分を示す。
Fig. 1 is a block diagram showing the configuration of a D/A interface circuit according to an embodiment of the present invention, Fig. 2 is a timing chart of a clock that operates the circuit of Fig. 1, and Fig. β shows details of a shift control circuit. Figure 4 is a block diagram of a conventional circuit, Figure 5 is a diagram showing the data compression rules standardized in DAT, Figure 6 is an explanatory diagram of the data compression rules, and Figure 7 is a symbol for words. FIG. In the figure, 5 is a shift register, 4 is a shift control circuit, 31.32 is a selector, 21.22 is a latch, and 1 is a data bus. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] (1)m(mは正の整数)ビットまたはmビットを圧縮
したp(pはp<mなる正の整数)ビットのデータを入
力とし、mビットのデータを出力するディジタル信号処
理回路において、 入力されるデータを貯えるパラレル/シリアル変換機能
を有するmビット長のシフトレジスタ手段と、 mビットデータが入力されるモードのときには前記シフ
トレジスタ手段に対しパラレル入力データとしてそのm
ビットデータを与え、pビットデータが入力されるモー
ドのときには、前記シフトレジスタ手段に対しパラレル
入力データとして入力pビットデータの下位(p−l)
ビットを上位ビットとし(m−p+l)ビットの所定の
固定の値を下位ビットとして与えるセレクタ手段と、m
ビットデータ入力モード時には前記シフトレジスタ手段
のシフトを禁止し、pビットデータ入力モード時には入
力pビットデータの上位l(lはl<pなる正の整数)
ビットを入力とし該lビットの値に対応した回数だけ前
記シフトレジスタ手段を下位ビット方向にシフトするシ
フト制御手段とを備えたことを特徴とするディジタル信
号処理回路。
(1) In a digital signal processing circuit that receives m (m is a positive integer) bit data or p (p is a positive integer where p<m) bit data obtained by compressing m bits as input and outputs m bit data, m-bit length shift register means having a parallel/serial conversion function for storing input data, and when in a mode in which m-bit data is input, the m-bit length is input to the shift register means as parallel input data.
bit data, and when in a mode in which p bit data is input, the lower order (p-l) of the input p bit data is input as parallel input data to the shift register means.
selector means for giving bits as upper bits and a predetermined fixed value of (m-p+l) bits as lower bits;
In the bit data input mode, shifting of the shift register means is prohibited, and in the p-bit data input mode, the upper l of input p-bit data (l is a positive integer such that l<p)
1. A digital signal processing circuit comprising: shift control means for inputting bits and shifting said shift register means in the direction of lower bits by a number of times corresponding to the value of said l bit.
JP14627988A 1988-06-13 1988-06-13 Digital signal processing circuit Pending JPH01314022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14627988A JPH01314022A (en) 1988-06-13 1988-06-13 Digital signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14627988A JPH01314022A (en) 1988-06-13 1988-06-13 Digital signal processing circuit

Publications (1)

Publication Number Publication Date
JPH01314022A true JPH01314022A (en) 1989-12-19

Family

ID=15404128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14627988A Pending JPH01314022A (en) 1988-06-13 1988-06-13 Digital signal processing circuit

Country Status (1)

Country Link
JP (1) JPH01314022A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0461667A (en) * 1990-06-27 1992-02-27 Matsushita Electric Ind Co Ltd Data extending circuit
US5325240A (en) * 1990-06-27 1994-06-28 Matsushita Electric Industrial Co., Ltd. Data compression and expansion apparatus for audio recorders

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0461667A (en) * 1990-06-27 1992-02-27 Matsushita Electric Ind Co Ltd Data extending circuit
US5325240A (en) * 1990-06-27 1994-06-28 Matsushita Electric Industrial Co., Ltd. Data compression and expansion apparatus for audio recorders

Similar Documents

Publication Publication Date Title
EP0098153B1 (en) Digital data code conversion circuit for variable-word-length data code
JPH06181438A (en) Digital delta-sigma modulator
US6191720B1 (en) Efficient two-stage digital-to-analog converter using sample-and-hold circuits
KR920009642B1 (en) Data condensing circuit
JPH01314022A (en) Digital signal processing circuit
EP0266159B1 (en) Digital muting circuit
JP2766133B2 (en) Parallel-serial data conversion circuit
JPH01314023A (en) Digital signal processing circuit
JPH10117147A (en) Data generating circuit for error check
JP2593662B2 (en) Punctured coding circuit
JP2573746B2 (en) Data compression device
JP4545272B2 (en) Digital attenuator and digital attenuation processing method
JP3501701B2 (en) D / A converter device and D / A conversion method
KR970010528B1 (en) Digital modulation method and apparatus thereof
JPH0461667A (en) Data extending circuit
JP3600234B2 (en) Audio equipment
JPS6156523A (en) Digital expander
JP2001308719A (en) Signal processor
KR930004340B1 (en) Audio data expanding circuit and method for dat
KR0143245B1 (en) 2&#39;s complement type serial data operating device using latch
JPS585838A (en) Shift circuit
JPS6043744A (en) Division circuit
JPH08102657A (en) Parallel data counter circuit
JP2003243992A (en) Code generation circuit
JPH01221918A (en) Variable length code converter