JP2009136025A - Semi-fixed circuit - Google Patents

Semi-fixed circuit Download PDF

Info

Publication number
JP2009136025A
JP2009136025A JP2009070409A JP2009070409A JP2009136025A JP 2009136025 A JP2009136025 A JP 2009136025A JP 2009070409 A JP2009070409 A JP 2009070409A JP 2009070409 A JP2009070409 A JP 2009070409A JP 2009136025 A JP2009136025 A JP 2009136025A
Authority
JP
Japan
Prior art keywords
circuit
signal
output
flip
eor
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.)
Granted
Application number
JP2009070409A
Other languages
Japanese (ja)
Other versions
JP4814969B2 (en
Inventor
Seiichi Nishijima
誠一 西島
Katsuhiro Yoda
勝洋 依田
Daisuke Fujita
大介 藤田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2009070409A priority Critical patent/JP4814969B2/en
Publication of JP2009136025A publication Critical patent/JP2009136025A/en
Application granted granted Critical
Publication of JP4814969B2 publication Critical patent/JP4814969B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semi-fixed circuit for actualizing circuits of different types as one circuit, even in the circuits having the same function such as scramblers. <P>SOLUTION: The semi-fixed circuit can performs simultaneous processing of a plurality of bits in a plurality of types of CRC (Cycle Redundancy Check) circuits. It includes a plurality of flip-flops, a first exclusive OR circuit for selectively computing exclusive OR in accordance with first input bit signals and output signals from the plurality of flip-flops and outputting output signals equivalent to first-time shift, and a second exclusive OR circuit for selectively computing exclusive OR in accordance with second input bit signals and the output signals equivalent to the first-time shift and outputting output signals equivalent to second-time shift. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、準固定回路に関し、特に複数種類の回路動作が可能な準固定回路に関する。   The present invention relates to a quasi-fixed circuit, and more particularly to a quasi-fixed circuit capable of a plurality of types of circuit operations.

従来、多くの通信規格、例えば移動通信規格W-CDMA、無線LAN規格IEEE802.11a及びIEEE802.11bで必要とされるデータ処理として、拡散器(スクランブラ)、畳み込み符号化器(畳み込みエンコーダ)、誤り検出方式CRC(Cyclic Redundancy check)回路、線型帰還シフトレジスタによる疑似ランダム符号生成器が使用される。また、ビタビ復号器、マッチトフィルタ、複素乗算と複素加算を実行するバタフライ演算から構成される高速フーリエ変換(FFT)が使用される。   Conventionally, as data processing required in many communication standards such as mobile communication standard W-CDMA, wireless LAN standards IEEE802.11a and IEEE802.11b, spreaders (scramblers), convolutional encoders (convolutional encoders), A pseudo random code generator using an error detection CRC (Cyclic Redundancy Check) circuit and a linear feedback shift register is used. In addition, a fast Fourier transform (FFT) composed of a Viterbi decoder, a matched filter, and a butterfly operation that performs complex multiplication and addition is used.

下記の特許文献1及び2には、線形帰還シフトレジスタを用いた疑似乱数発生回路が記載されている。下記の特許文献3には、可変CRC発生回路が記載されている。   Patent Documents 1 and 2 below describe a pseudo random number generation circuit using a linear feedback shift register. Patent Document 3 below describes a variable CRC generation circuit.

特開昭63−67628号公報JP-A 63-67628 特開昭63−204919号公報JP 63-204919 A 特開平4−292018号公報JP-A-4-292018

スクランブラ及び畳み込みエンコーダ等は、処理内容が異なるため、別々の固定回路で構成される。また、同じスクランブラであっても、異なる規格のスクランブラは、別々の固定回路で構成される。これらを全て別々の固定回路で構成することは、ハードウエア資源の使用効率が悪い。   The scrambler, the convolutional encoder, and the like are configured by separate fixed circuits because the processing contents are different. Further, even if the scrambler is the same, scramblers of different standards are constituted by separate fixed circuits. It is inefficient to use hardware resources if they are all configured by separate fixed circuits.

本発明の目的は、スクランブラ及び畳み込みエンコーダ等の異なる機能の回路を1つの回路で実現することができる準固定回路を提供することである。
本発明の他の目的は、スクランブラ等の同じ機能の回路であっても、異なる種類の回路を1つの回路で実現することができる準固定回路を提供することである。
An object of the present invention is to provide a semi-fixed circuit capable of realizing circuits having different functions such as a scrambler and a convolutional encoder with a single circuit.
Another object of the present invention is to provide a quasi-fixed circuit capable of realizing different types of circuits with a single circuit even if the circuit has the same function, such as a scrambler.

本発明の一観点によれば、複数種類のCRC(Cycle Redundancy Check)回路の複数ビット同時処理が可能である準固定回路であって、複数のフリップフロップと、第1の入力ビット信号及び複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト1回目に相当する出力信号を出力するための第1の排他的論理和回路と、第2の入力ビット信号及びシフト1回目に相当する出力信号を基に選択的に排他的論理和を演算し、シフト2回目に相当する出力信号を出力するための第2の排他的論理和回路とを有する準固定回路が提供される。
本発明の他の観点によれば、複数種類のスクランブラ又はデスクランブラの複数ビット同時処理が可能である準固定回路であって、複数のフリップフロップと、第1の入力ビット信号及び複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト1回目に相当する出力信号を出力するための第1の排他的論理和回路と、第2の入力ビット信号及び複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト2回目に相当する出力信号を出力するための第2の排他的論理和回路とを有する準固定回路が提供される。
本発明のさらに他の観点によれば、複数種類の符号化率で畳み込み符号化された符号化データをビタビデコードすることが可能な準固定回路であって、畳み込み符号化された符号化データをビタビデコードするための複数のブランチメトリックを演算し、符号化率に応じたブランチメトリックを選択して出力するブランチメトリック演算回路と、複数のブランチメトリックから必要なものを選択してパスメトリックを演算するパストリック演算回路とを有する準固定回路が提供される。
本発明のさらに他の観点によれば、マッチトフィルタ及びバタフライ演算回路の動作が可能である準固定回路であって、シフトレジスタと、乗算を行うための複数の乗算器と、加算を行うための複数の加算器と、シフトレジスタ、複数の乗算器及び複数の加算器の接続を制御するための接続回路とを有し、接続回路の接続に応じて、マッチトフィルタ及びバタフライ演算回路の動作が可能である準固定回路が提供される。
According to one aspect of the present invention, a quasi-fixed circuit capable of simultaneous processing of a plurality of bits of a plurality of types of CRC (Cycle Redundancy Check) circuits, including a plurality of flip-flops, a first input bit signal, and a plurality of A first exclusive OR circuit for selectively calculating an exclusive OR based on the output signal of the flip-flop and outputting an output signal corresponding to the first shift, a second input bit signal, and a shift Provided is a semi-fixed circuit having a second exclusive OR circuit for selectively calculating an exclusive OR based on an output signal corresponding to the first time and outputting an output signal corresponding to the second shift. Is done.
According to another aspect of the present invention, there is provided a semi-fixed circuit capable of simultaneously processing a plurality of bits of a plurality of types of scramblers or descramblers, including a plurality of flip-flops, a first input bit signal, and a plurality of flip-flops. A first exclusive OR circuit for selectively calculating an exclusive OR based on the output signal of the group and outputting an output signal corresponding to the first shift, a second input bit signal, and a plurality of There is provided a semi-fixed circuit having a second exclusive OR circuit for selectively calculating an exclusive OR based on the output signal of the flip-flop and outputting an output signal corresponding to the second shift. .
According to yet another aspect of the present invention, a quasi-fixed circuit capable of Viterbi decoding encoded data that has been convolutionally encoded at a plurality of types of coding rates, wherein the encoded data that has been convolutionally encoded is Calculates multiple branch metrics for Viterbi decoding, selects branch metrics according to coding rate and outputs them, and calculates path metrics by selecting necessary branch metrics A quasi-fixed circuit having a pathtric operation circuit is provided.
According to still another aspect of the present invention, a quasi-fixed circuit capable of operating a matched filter and a butterfly operation circuit, for performing a shift register, a plurality of multipliers for performing multiplication, and performing addition And a connection circuit for controlling connection of the shift register, the plurality of multipliers, and the plurality of adders, and the operation of the matched filter and the butterfly operation circuit according to the connection of the connection circuit A quasi-fixed circuit is provided.

スクランブラ、デスクランブラ又はビタビデコーダ等の同じ機能の回路であっても、異なる種類の回路を1つの準固定回路で実現することができる。また、マッチトフィルタ及びバタフライ演算回路等の異なる機能の回路を1つの準固定回路で実現することができる。また、複数種類のスクランブラ、デスクランブラ又はCRC回路等の複数ビット同時処理が1つの準固定回路で実現することができる。これにより、ハードウエア資源を共用することができるので、ハードウエア資源の使用効率を向上させることができる。また、1つの準固定回路で、複数の回路を実現することができる。   Even with a circuit having the same function, such as a scrambler, a descrambler, or a Viterbi decoder, different types of circuits can be realized by one semi-fixed circuit. In addition, circuits having different functions such as a matched filter and a butterfly operation circuit can be realized by one semi-fixed circuit. Further, simultaneous processing of multiple bits such as multiple types of scramblers, descramblers, or CRC circuits can be realized by one semi-fixed circuit. Thereby, since hardware resources can be shared, the utilization efficiency of hardware resources can be improved. In addition, a plurality of circuits can be realized with one semi-fixed circuit.

図1(A)は無線LAN規格IEEE802.11aの送信機の構成例を示す図であり、図1(B)は無線LAN規格IEEE802.11aの受信機の構成例を示す図である。FIG. 1A is a diagram showing a configuration example of a transmitter of the wireless LAN standard IEEE 802.11a, and FIG. 1B is a diagram showing a configuration example of a receiver of the wireless LAN standard IEEE 802.11a. 図2(A)は無線LAN規格IEEE802.11bの送信機の構成例を示す図であり、図2(B)は無線LAN規格IEEE802.11bの受信機の構成例を示す図である。2A is a diagram illustrating a configuration example of a transmitter of the wireless LAN standard IEEE802.11b, and FIG. 2B is a diagram illustrating a configuration example of a receiver of the wireless LAN standard IEEE802.11b. 無線LAN規格IEEE802.11aのスクランブラの構成例を示す図である。It is a figure which shows the structural example of the scrambler of the wireless LAN specification IEEE802.11a. 無線LAN規格IEEE802.11bのスクランブラの構成例を示す図である。It is a figure which shows the structural example of the scrambler of the wireless LAN specification IEEE802.11b. 無線LAN規格IEEE802.11bのデスクランブラの構成例を示す図である。1 is a diagram illustrating a configuration example of a descrambler of a wireless LAN standard IEEE 802.11b. 本発明の第1の実施形態による準固定回路の構成例を示す図である。It is a figure which shows the structural example of the semi-fixed circuit by the 1st Embodiment of this invention. 本発明の第2の実施形態による準固定回路の構成例を示す図である。It is a figure which shows the structural example of the semi-fixed circuit by the 2nd Embodiment of this invention. 入力EOR回路の構成例を示す図である。It is a figure which shows the structural example of an input EOR circuit. 中段EOR回路の構成例を示す図である。It is a figure which shows the structural example of a middle stage EOR circuit. CRC回路の構成例を示す図である。It is a figure which shows the structural example of a CRC circuit. 本発明の第3の実施形態による準固定回路の構成例を示す図である。It is a figure which shows the structural example of the semi-fixed circuit by the 3rd Embodiment of this invention. フリップフロップ回路の構成例を示す図である。It is a figure which shows the structural example of a flip-flop circuit. IEEE802.11aの符号化率1/2畳み込みエンコーダの構成例を示す図である。FIG. 2 is a diagram illustrating a configuration example of an IEEE 802.11a coding rate 1/2 convolutional encoder. 本発明の第4の実施形態による準固定回路の構成例を示す図である。It is a figure which shows the structural example of the semi-fixed circuit by the 4th Embodiment of this invention. 入力EOR回路の構成例を示す図である。It is a figure which shows the structural example of an input EOR circuit. W−CDMA規格の線形帰還シフトレジスタ(LFSR)の構成例を示す図である。It is a figure which shows the structural example of the linear feedback shift register (LFSR) of W-CDMA specification. 本発明の第5の実施形態による準固定回路の構成例を示す図である。It is a figure which shows the structural example of the semi-fixed circuit by the 5th Embodiment of this invention. 入力EOR回路の構成例を示す図である。It is a figure which shows the structural example of an input EOR circuit. 図19(A)及び(B)は第1のタイプのスクランブラ又はデスクランブラの構成例を示す図である。FIGS. 19A and 19B are diagrams illustrating a configuration example of a first type scrambler or descrambler. 図20(A)及び(B)は第2のタイプのスクランブラ又はデスクランブラの構成例を示す図である。20A and 20B are diagrams showing a configuration example of a second type scrambler or descrambler. 図21(A)及び(B)は第3のタイプのスクランブラ又はデスクランブラの構成例を示す図である。FIGS. 21A and 21B are diagrams illustrating a configuration example of a third type of scrambler or descrambler. 図22(A)及び(B)は本発明の第6の実施形態による準固定回路の構成例を示す図である。22A and 22B are diagrams showing a configuration example of the semi-fixed circuit according to the sixth embodiment of the present invention. 符号化率1/2の畳み込みエンコーダの構成例を示す図である。It is a figure which shows the structural example of the convolutional encoder of coding rate 1/2. 1シフトにつきNビット同時処理することができる畳み込みエンコーダの準固定回路の構成例を示す図である。It is a figure which shows the structural example of the semi-fixed circuit of the convolutional encoder which can process N bit simultaneously per shift. 図24の演算器の構成例を示す図である。It is a figure which shows the structural example of the calculator of FIG. 図16のW−CDMA規格の線形帰還シフトレジスタ(LFSR)を4個の演算器に分割することを示す図である。It is a figure which shows dividing | segmenting the linear feedback shift register (LFSR) of the W-CDMA specification of FIG. 16 into four calculators. Nビット同時一括処理することができるLFSRの構成例を示す図である。It is a figure which shows the structural example of LFSR which can perform N bit simultaneous batch processing. 図28(A)及び(B)は図27の第1の演算器の構成例を示す図である。FIGS. 28A and 28B are diagrams illustrating a configuration example of the first arithmetic unit in FIG. フリップフロップ32段及び入力セレクタを含む回路の構成例を示す図である。It is a figure which shows the structural example of the circuit containing 32 stages of flip-flops, and an input selector. 図30(A)〜(C)は入力セレクタの構成例を示す図である。30A to 30C are diagrams showing a configuration example of the input selector. 第1のEOR演算器の内部構成例を示す図である。It is a figure which shows the internal structural example of a 1st EOR operator. 第2のEOR演算器の内部構成例を示す図である。It is a figure which shows the example of an internal structure of a 2nd EOR operator. 本発明の第8の実施形態による準固定回路の構成例を示す図である。It is a figure which shows the structural example of the semi-fixed circuit by the 8th Embodiment of this invention. 図33の第1の演算器の構成例を示す図である。It is a figure which shows the structural example of the 1st calculator of FIG. フリップフロップ32段及び入力セレクタを含む回路の構成例を示す図である。It is a figure which shows the structural example of the circuit containing 32 stages of flip-flops, and an input selector. 図36(A)〜(F)は入力セレクタの構成例を示す図である。FIGS. 36A to 36F are diagrams showing configuration examples of the input selector. 第1のEOR演算器の内部構成例を示す図である。It is a figure which shows the internal structural example of a 1st EOR operator. 第2のEOR演算器の内部構成例を示す図である。It is a figure which shows the example of an internal structure of a 2nd EOR operator. 本発明の第9の実施形態による準固定回路の構成例を示す図である。It is a figure which shows the structural example of the semi-fixed circuit by the 9th Embodiment of this invention. ブランチメトリック演算部の構成例を示す図である。It is a figure which shows the structural example of a branch metric calculating part. ACS部の構成例を示す図である。It is a figure which shows the structural example of an ACS part. セレクタ及びACSの構成例を示す図である。It is a figure which shows the structural example of a selector and ACS. 図43(A)及び(B)はマッチトフィルタの構成例を示す図である。43A and 43B are diagrams showing a configuration example of the matched filter. バタフライ演算器の構成例を示す図である。It is a figure which shows the structural example of a butterfly calculator. 高速フーリエ変換(FFT)回路の構成例を示す図である。It is a figure which shows the structural example of a fast Fourier transform (FFT) circuit. マッチトフィルタ及びバタフライ演算を選択的に実現可能な準固定回路の構成例を示す図である。It is a figure which shows the structural example of the semi-fixed circuit which can selectively implement | achieve a matched filter and a butterfly calculation. バタフライ演算器の構成例を示す図である。It is a figure which shows the structural example of a butterfly calculator. 図47の乗算器の内部構成例を示す図である。It is a figure which shows the example of an internal structure of the multiplier of FIG. 本発明の第11の実施形態による準固定回路を含むLSIの全体構成例を示す図である。It is a figure which shows the example of whole structure of LSI containing the semi-fixed circuit by the 11th Embodiment of this invention.

(第1の実施形態)
図1(A)は、無線LAN規格IEEE802.11aの送信機の構成例を示す。入力データは、順に、スクランブラ101、畳み込みエンコーダ102、インターリーブ処理回路103、変調回路104、逆FFT回路105、D/A変換回路106及びRF回路107を介して、無線で送信信号として送信される。スクランブラ101は、同じビットが入力されることによって、特定の周波数に電力が集中することを防ぐためにスクランブル処理を行う。畳み込みエンコーダ102は、誤り訂正(ビタビデコード)のための冗長符号化を行う。インターリーブ処理回路103は、ビタビデコードが送信時のバースト(連続)誤りに弱く、ランダム誤りに強い特性があるため、予め送信ビットを規則に沿って並び替える。変調回路104は、入力データに基づいて変調する。逆FFT回路105は、変調されたデータを逆高速フーリエ変換する。D/A変換回路106は、デジタル形式からアナログ形式に信号を変換する。RF回路107は、無線周波数の信号に変換する。
(First embodiment)
FIG. 1A shows a configuration example of a transmitter of the wireless LAN standard IEEE802.11a. Input data is wirelessly transmitted as a transmission signal via a scrambler 101, a convolutional encoder 102, an interleave processing circuit 103, a modulation circuit 104, an inverse FFT circuit 105, a D / A conversion circuit 106, and an RF circuit 107 in order. . The scrambler 101 performs a scramble process in order to prevent power from being concentrated on a specific frequency when the same bits are input. The convolutional encoder 102 performs redundant encoding for error correction (Viterbi decoding). The interleave processing circuit 103 rearranges transmission bits in accordance with the rules in advance because Viterbi decoding is weak against burst (continuous) errors during transmission and strong against random errors. The modulation circuit 104 modulates based on input data. The inverse FFT circuit 105 performs inverse fast Fourier transform on the modulated data. The D / A conversion circuit 106 converts a signal from a digital format to an analog format. The RF circuit 107 converts the signal into a radio frequency signal.

図1(B)は、無線LAN規格IEEE802.11aの受信機の構成例を示す。無線で受信した信号は、順に、RF回路111、A/D変換回路112、同期処理回路113、FFT回路114、復調回路115、デインターリーブ処理回路116、ビタビデコーダ117及びデスクランブラ118を介して、データとして出力される。RF回路111は、無線周波数の信号を所定周波数の信号に変換する。A/D変換回路112は、アナログ形式からデジタル形式に信号を変換する。同期処理回路113は、マッチトフィルタを含み、フレームの先頭位置として開始(同期)ポイントを検出する。FFT回路114は、高速フーリエ変換する。復調回路115は、変調信号とタイミング同期をとった上で復調する。デインターリーブ処理回路116は、ビット順序をインターリーブする前の並びに戻す。ビタビデコーダ117は、畳み込み符号化された冗長ビットから送信ビットを復号する。デスクランブラ118は、スクランブルされたデータを元に戻す。   FIG. 1B shows a configuration example of a receiver of the wireless LAN standard IEEE802.11a. The signals received wirelessly are sequentially passed through the RF circuit 111, the A / D conversion circuit 112, the synchronization processing circuit 113, the FFT circuit 114, the demodulation circuit 115, the deinterleave processing circuit 116, the Viterbi decoder 117, and the descrambler 118. Output as data. The RF circuit 111 converts a radio frequency signal into a predetermined frequency signal. The A / D conversion circuit 112 converts a signal from an analog format to a digital format. The synchronization processing circuit 113 includes a matched filter and detects a start (synchronization) point as the head position of the frame. The FFT circuit 114 performs fast Fourier transform. The demodulating circuit 115 demodulates after taking timing synchronization with the modulation signal. The deinterleave processing circuit 116 returns the bit order before interleaving. The Viterbi decoder 117 decodes transmission bits from the convolutionally coded redundant bits. The descrambler 118 restores the scrambled data.

図2(A)は、無線LAN規格IEEE802.11bの送信機の構成例を示す。入力データは、順に、CRCビット付加処理回路201、スクランブラ202、変調回路203、拡散回路204及び送信回路205を介して、無線で送信信号として送信される。拡散符号発生回路206は、拡散符号を生成して拡散回路204に出力する。CRCビット付加処理回路201は、データの誤り判定用のCRCビットを付加する。CRCビットは、データに基づき決定される。そして、送信機は、伝送データを多項式とみなし、これをあらかじめ決められた生成多項式で除算したときの余りを検査用の符号として伝送データに付加する。受信機は、受信データを生成多項式で除算し、割り切れるか否かで誤りの有無を判断する。拡散回路204は、変調信号をスペクトラム拡散する。送信回路205は、D/A変換回路及びRF回路を含む。   FIG. 2A shows a configuration example of a transmitter of the wireless LAN standard IEEE802.11b. The input data is sequentially transmitted as a transmission signal wirelessly through the CRC bit addition processing circuit 201, the scrambler 202, the modulation circuit 203, the spreading circuit 204, and the transmission circuit 205 in order. The spreading code generation circuit 206 generates a spreading code and outputs it to the spreading circuit 204. The CRC bit addition processing circuit 201 adds a CRC bit for data error determination. The CRC bit is determined based on the data. Then, the transmitter regards the transmission data as a polynomial, and adds the remainder obtained by dividing the transmission data by a predetermined generator polynomial to the transmission data as a test code. The receiver divides the received data by the generator polynomial, and determines whether there is an error depending on whether it is divisible. The spreading circuit 204 spreads the modulation signal. The transmission circuit 205 includes a D / A conversion circuit and an RF circuit.

図2(B)は、無線LAN規格IEEE802.11bの受信機の構成例を示す。無線で受信した信号は、順に、受信回路211、逆拡散回路212、復調回路213、CRC処理回路214及びデスクランブラ215を介して、データとして出力される。拡散符号発生回路216は、拡散符号を生成して逆拡散回路212に出力する。受信回路211は、RF回路及びA/D変換回路を含む。逆拡散回路212は、拡散符号と同じ符号を受信信号に乗算することにより、受信信号が逆拡散され、拡散前の信号を復元する。CRC処理回路214は、CRCビットを算出して誤りの有無をチェックする。   FIG. 2B shows a configuration example of a receiver of the wireless LAN standard IEEE802.11b. The signals received wirelessly are output as data via the reception circuit 211, the despreading circuit 212, the demodulation circuit 213, the CRC processing circuit 214, and the descrambler 215 in this order. The spreading code generation circuit 216 generates a spreading code and outputs it to the despreading circuit 212. The reception circuit 211 includes an RF circuit and an A / D conversion circuit. The despreading circuit 212 multiplies the received signal by the same code as the spreading code, thereby despreading the received signal and restoring the signal before spreading. The CRC processing circuit 214 calculates a CRC bit and checks whether there is an error.

図3は、無線LAN規格IEEE802.11aのスクランブラ101(図1(A))の構成例を示す。例えば7個のフリップフロップFF1〜FF7が直列に接続される。排他的論理和(以下、EORという)回路302は、フリップフロップFF4及びFF7の出力信号のEOR演算を行って出力する。フリップフロップFF1は、EOR回路302の出力信号を入力する。EOR回路301は、入力信号INPUT及びEOR回路302の出力信号のEOR演算を行い、それを出力信号OUTPUTとして出力する。図1(B)のデスクランブラ118も、図3のスクランブラと同一の構成である。初期値が同じで、同期していれば、同じ符号を出力信号OUTPUTとして出力できるからである。フリップフロップの内部状態と入力信号INPUTとの相関はない。   FIG. 3 shows a configuration example of the scrambler 101 (FIG. 1A) of the wireless LAN standard IEEE802.11a. For example, seven flip-flops FF1 to FF7 are connected in series. An exclusive OR (hereinafter referred to as EOR) circuit 302 performs an EOR operation on the output signals of the flip-flops FF4 and FF7 and outputs the result. The flip-flop FF1 inputs the output signal of the EOR circuit 302. The EOR circuit 301 performs an EOR operation on the input signal INPUT and the output signal of the EOR circuit 302 and outputs it as an output signal OUTPUT. The descrambler 118 in FIG. 1B has the same configuration as the scrambler in FIG. This is because if the initial values are the same and are synchronized, the same code can be output as the output signal OUTPUT. There is no correlation between the internal state of the flip-flop and the input signal INPUT.

図4は、無線LAN規格IEEE802.11bのスクランブラ202(図2(A))の構成例を示す。例えば7個のフリップフロップFF1〜FF7が直列に接続される。EOR回路402は、フリップフロップFF4及びFF7の出力信号のEOR演算を行って出力する。EOR回路401は、入力信号INPUT及びEOR回路402の出力信号のEOR演算を行い、出力信号OUTPUTとして出力すると共に、フリップフロップFF1に出力する。   FIG. 4 shows a configuration example of the scrambler 202 (FIG. 2A) of the wireless LAN standard IEEE802.11b. For example, seven flip-flops FF1 to FF7 are connected in series. The EOR circuit 402 performs EOR operation on the output signals of the flip-flops FF4 and FF7 and outputs the result. The EOR circuit 401 performs an EOR operation on the input signal INPUT and the output signal of the EOR circuit 402, and outputs it as an output signal OUTPUT and also outputs it to the flip-flop FF1.

図5は、無線LAN規格IEEE802.11bのデスクランブラ215(図2(B))の構成例を示す。例えば7個のフリップフロップFF1〜FF7が直列に接続される。フリップフロップFF1は、入力信号INPUTを入力する。EOR回路502は、フリップフロップFF4及びFF7の出力信号のEOR演算を行って出力する。EOR回路501は、入力信号INPUT及びEOR回路502の出力信号のEOR演算を行い、出力信号OUTPUTとして出力する。   FIG. 5 shows a configuration example of the descrambler 215 (FIG. 2B) of the wireless LAN standard IEEE802.11b. For example, seven flip-flops FF1 to FF7 are connected in series. The flip-flop FF1 receives the input signal INPUT. The EOR circuit 502 performs EOR operation on the output signals of the flip-flops FF4 and FF7 and outputs the result. The EOR circuit 501 performs an EOR operation on the input signal INPUT and the output signal of the EOR circuit 502 and outputs the result as an output signal OUTPUT.

IEEE802.11bでは、図4のスクランブラと図5のデスクランブラの構成が異なる。フリップフロップの数は、両者とも7個で同じである。図4のスクランブラは、フリップフロップの初期値が同じでも、入力信号INPUTのビット列が異なれば、異なる出力信号(符号)OUTPUTを出力する。入力信号INPUTとフリップフロップの内部状態とは相関がある。受信機のデクランブラで、送信機のスクランブラの入力信号INPUTを復元するには、送信機のスクランブラのフリップフロップの内部状態を受信機(デスクランブラ)でも再現したうえで、その受信機(デスクランブラ)のフリップフロップ出力と送信機(スクランブラ)の出力信号OUTPUT(図5のデスクランブラの入力信号INPUT)のEORをとればよい。これを実現したのが、図5のデスクランブラである。図5では、入力信号INPUTをそのままフリップフロップFF1に入力することにより図4のスクランブラのフリップフロップの内部状態を再現している。   In IEEE 802.11b, the configurations of the scrambler in FIG. 4 and the descrambler in FIG. 5 are different. The number of flip-flops is the same for both of them. The scrambler of FIG. 4 outputs a different output signal (sign) OUTPUT if the bit string of the input signal INPUT is different even if the initial values of the flip-flops are the same. There is a correlation between the input signal INPUT and the internal state of the flip-flop. In order to restore the input signal INPUT of the transmitter scrambler by the receiver scrambler, the internal state of the flip-flop of the transmitter scrambler is reproduced by the receiver (descrambler) and then the receiver (desk The EOR of the flip-flop output of the scrambler and the output signal OUTPUT of the transmitter (scrambler) (the descrambler input signal INPUT of FIG. 5) may be taken. This is achieved by the descrambler shown in FIG. In FIG. 5, the input signal INPUT is directly input to the flip-flop FF1, thereby reproducing the internal state of the flip-flop of the scrambler of FIG.

図6は、本発明の第1の実施形態による準固定回路の構成例を示す。この準固定回路は、図3の無線LAN規格IEEE802.11aのスクランブラ(デスクランブラ)、図4の無線LAN規格IEEE802.11bのスクランブラ、及び図5の無線LAN規格IEEE802.11bのデスクランブラの動作が可能である。   FIG. 6 shows a configuration example of a semi-fixed circuit according to the first embodiment of the present invention. This semi-fixed circuit includes the scrambler (descrambler) of the wireless LAN standard IEEE802.11a in FIG. 3, the scrambler of the wireless LAN standard IEEE802.11b in FIG. 4, and the descrambler of the wireless LAN standard IEEE802.11b in FIG. Operation is possible.

J個のフリップフロップFF1〜FFJが直列に接続される。各フリップフロップの間の接続線には、それぞれ中段EOR回路602が接続される。図9に示すように、中段EOR回路602は、フリップフロップの出力信号A1及び前隣の中段EOR回路602の出力信号(フィードバック信号)A3を入力する。EOR回路901は、信号A1及びA3のEOR演算を行って信号A2として出力する。セレクタ902は、選択信号SELECTに応じて、信号A1、A2又はA3を択一的に選択して、後隣の中段EOR回路602に出力する。例えば、図3のEOR回路302、図4のEOR回路402及び図5のEOR回路502に相当する中段EOR回路602では、セレクタ902は信号A2を選択して出力する。また、最終段フリップフロップFF7に接続される中段EOR回路602では、セレクタ902は信号A1を選択して出力する。その他の中段EOR回路602では、セレクタ902はフィードバック信号A3を選択して出力する。   J flip-flops FF1 to FFJ are connected in series. A middle stage EOR circuit 602 is connected to a connection line between the flip-flops. As shown in FIG. 9, the middle stage EOR circuit 602 receives the output signal A1 of the flip-flop and the output signal (feedback signal) A3 of the preceding middle stage EOR circuit 602. The EOR circuit 901 performs EOR operation on the signals A1 and A3 and outputs the result as a signal A2. The selector 902 selectively selects the signal A 1, A 2, or A 3 according to the selection signal SELECT and outputs it to the subsequent middle stage EOR circuit 602. For example, in an EOR circuit 602 corresponding to the EOR circuit 302 in FIG. 3, the EOR circuit 402 in FIG. 4, and the EOR circuit 502 in FIG. 5, the selector 902 selects and outputs the signal A2. In the middle stage EOR circuit 602 connected to the final stage flip-flop FF7, the selector 902 selects and outputs the signal A1. In the other middle stage EOR circuit 602, the selector 902 selects and outputs the feedback signal A3.

フリップフロップFF1及びFF2間に接続される中段EOR回路602の出力信号(フィードバック信号)FBは、入力EOR回路601に入力される。図8に示すように、入力EOR回路601は、フィードバック信号FB及び入力信号INPUTを入力する。EOR回路801は、フィードバック信号FB及び入力信号INPUTのEOR演算を行い、信号A2を出力する。フィードバック信号FBを信号A1とし、入力信号INPUTを信号A3とすると、セレクタ802は、選択信号SELECTに応じて、信号A1、A2又はA3を択一的に選択して、フリップフロップFF1に出力する。また、信号A2は、出力信号OUTPUTになる。図3の場合、セレクタ802は、信号A1を選択する。図4の場合、セレクタ802は、信号A2を選択する。図5の場合、セレクタ802は、信号A3を選択する。   An output signal (feedback signal) FB of the middle stage EOR circuit 602 connected between the flip-flops FF1 and FF2 is input to the input EOR circuit 601. As shown in FIG. 8, the input EOR circuit 601 receives the feedback signal FB and the input signal INPUT. The EOR circuit 801 performs an EOR operation on the feedback signal FB and the input signal INPUT and outputs a signal A2. When the feedback signal FB is the signal A1 and the input signal INPUT is the signal A3, the selector 802 alternatively selects the signal A1, A2 or A3 according to the selection signal SELECT and outputs it to the flip-flop FF1. The signal A2 becomes the output signal OUTPUT. In the case of FIG. 3, the selector 802 selects the signal A1. In the case of FIG. 4, the selector 802 selects the signal A2. In the case of FIG. 5, the selector 802 selects the signal A3.

図6において、イネーブル信号ENABLEは、フリップフロップFF1〜FFJをイネーブル状態にするか否かを制御するための信号である。例えば、フリップフロップFF1〜FF7のみがイネーブル状態になる。初期値信号LOADは、フリップフロップFF1〜FFJに初期値を設定するための信号である。以上のように、選択信号SELECTに応じて、入力EOR回路601及び中段EOR回路602の選択状態を制御することにより、図3〜図5のスクランブラ及びデスクランブラを択一的に選択して動作させることができる。   In FIG. 6, an enable signal ENABLE is a signal for controlling whether or not to enable the flip-flops FF1 to FFJ. For example, only the flip-flops FF1 to FF7 are enabled. The initial value signal LOAD is a signal for setting initial values in the flip-flops FF1 to FFJ. As described above, by controlling the selection state of the input EOR circuit 601 and the middle stage EOR circuit 602 in accordance with the selection signal SELECT, the scrambler and descrambler shown in FIGS. Can be made.

固定回路のスクランブラは、シフトレジスタ長、EOR回路に入力されるタップ位置、EOR回路に入力されるタップ数といったパラメータに依存したハードウエアの構造であり、それらのパラメータが変わるとこれとは別にハードウエアを用意しなければならないという問題があった。本実施形態の準固定回路によれば、入力EOR回路601及び中段EOR回路602を設けることにより、図3〜図5の3つのスクランブラ又はデスクランブラを含め、1つの準固定回路で種々のスクランブラ及びデスクランブラの動作を可能にすることができる。   The fixed circuit scrambler has a hardware structure that depends on parameters such as the shift register length, the tap position input to the EOR circuit, and the number of taps input to the EOR circuit. There was a problem that hardware had to be prepared. According to the quasi-fixed circuit of the present embodiment, by providing the input EOR circuit 601 and the middle-stage EOR circuit 602, various scrambles can be achieved with one quasi-fixed circuit including the three scramblers or descramblers of FIGS. Bra and descrambler operations can be enabled.

(第2の実施形態)
図7は、本発明の第2の実施形態による準固定回路の構成例を示す。この準固定回路は、図6の準固定回路に、デコーダ701を追加したものである。デコーダ701は、L+1ビットの選択信号SELECTを基に、2L+2ビットの信号を出力し、L個の中段EOR回路602及び1個の入力EOR回路601の選択状態を制御する。
(Second Embodiment)
FIG. 7 shows a configuration example of a semi-fixed circuit according to the second embodiment of the present invention. This semi-fixed circuit is obtained by adding a decoder 701 to the semi-fixed circuit of FIG. The decoder 701 outputs a 2L + 2 bit signal based on the L + 1 bit selection signal SELECT, and controls the selection state of the L middle stage EOR circuits 602 and one input EOR circuit 601.

本来、L個の中段EOR回路602及び1個の入力EOR回路601を制御するためには、2L+2ビットの選択信号SELECTが必要であるが、全パターン数のうち使用するフリップフロップ及び中段EOR回路602と、使用しないフリップフロップ及び中段EOR回路602とにグループ分けして使用しないグループ内の設定の組み合わせパターンを全パターン数から引いて数えた結果、(2の(L−1)乗)×3通りのパターンであることを利用して、選択信号SELECTをL+1ビットとすることができる。   Originally, in order to control L middle stage EOR circuits 602 and one input EOR circuit 601, a 2L + 2 bit selection signal SELECT is required. Of all patterns, flip-flops and middle stage EOR circuits 602 are used. As a result of subtracting from the total number of patterns the combination patterns of the groups that are not used after being grouped into unused flip-flops and middle-stage EOR circuits 602, the result is (2 (L-1)) × 3 ways Using this pattern, the selection signal SELECT can be made L + 1 bits.

以上のように、デコーダ701は、ビット数が少ない入力信号SELECTをデコードしてビット数が多い出力信号を出力し、中段EOR回路602及び入力EOR回路601を選択する。デコーダ701を用いることにより、選択信号の量を減らすことができる。   As described above, the decoder 701 decodes the input signal SELECT with a small number of bits, outputs an output signal with a large number of bits, and selects the middle stage EOR circuit 602 and the input EOR circuit 601. By using the decoder 701, the amount of selection signals can be reduced.

(第3の実施形態)
図10は、CRCビット付加処理回路201(図2(A))及びCRC処理回路214(図2(B))内のCRC回路の構成例を示す。EOR回路1001は、入力信号IN及び最後段のフリップフロップFFからのフィードバック信号のEORを演算し、初段のフリップフロップFFに出力する。例えば4個のフリップフロップFFがそれぞれEOR回路1002を介して直列に接続される。各EOR回路1002は、EOR回路1001の出力信号及び前段のフリップフリップFFの出力信号のEORを演算し、後段のフリップフロップFFに出力する。各フリップフロップFFの出力信号が、それぞれ出力信号OUT0,OUT1,OUT2,OUT3になる。
(Third embodiment)
FIG. 10 shows a configuration example of a CRC circuit in the CRC bit addition processing circuit 201 (FIG. 2A) and the CRC processing circuit 214 (FIG. 2B). The EOR circuit 1001 calculates the EOR of the input signal IN and the feedback signal from the last flip-flop FF, and outputs it to the first flip-flop FF. For example, four flip-flops FF are connected in series via the EOR circuit 1002, respectively. Each EOR circuit 1002 calculates EOR of the output signal of the EOR circuit 1001 and the output signal of the preceding flip-flop FF, and outputs it to the subsequent flip-flop FF. The output signals of the flip-flops FF become output signals OUT0, OUT1, OUT2, and OUT3, respectively.

図10のCRC回路は、簡単化のため、4タップですべてのフリップフロップ間にEOR回路を挿入した例を説明したが、実際のCRC回路の構成ではタップ数は例えばIEEE802.11bは16であり、EOR回路1002はフリップフロップFF間に飛び飛びに挿入されるものである。   For the sake of simplicity, the CRC circuit in FIG. 10 has been described with an example in which an EOR circuit is inserted between all flip-flops with 4 taps. However, in the actual CRC circuit configuration, the number of taps is 16, for example, IEEE802.11b. The EOR circuit 1002 is inserted between the flip-flops FF.

図11は、本発明の第3の実施形態による準固定回路の構成例を示す。この準固定回路は、第1の実施形態の準固定回路(図6)に、図10のCRC回路の機能を付加した回路である。本実施形態の準固定回路は、基本的に第1の実施形態の準固定回路と同じであるので、第1の実施形態と異なる点のみ説明する。なお、フリップフロップ回路1101の数に相当するタップ数Iは16を基本とする。   FIG. 11 shows a configuration example of a semi-fixed circuit according to the third embodiment of the present invention. This semi-fixed circuit is a circuit obtained by adding the function of the CRC circuit of FIG. 10 to the semi-fixed circuit (FIG. 6) of the first embodiment. Since the semi-fixed circuit of this embodiment is basically the same as the semi-fixed circuit of the first embodiment, only differences from the first embodiment will be described. The number of taps I corresponding to the number of flip-flop circuits 1101 is basically 16.

複数のフリップフロップ回路1101は、図6と異なり、それぞれ図12の構成を有する。EOR回路1201は、入力EOR回路601からの入力データ及び前段のフリップフロップの出力信号A2のEORを演算し、信号A1を出力する。セレクタ1203は、選択信号FF_SELECTに応じて、信号A1又はA2を選択してフリップフロップ1204に出力する。フリップフロップ1204は、セレクタ1203の出力信号を入力し、出力する。   The plurality of flip-flop circuits 1101 has the configuration shown in FIG. 12, unlike FIG. The EOR circuit 1201 calculates EOR of the input data from the input EOR circuit 601 and the output signal A2 of the preceding flip-flop, and outputs a signal A1. The selector 1203 selects the signal A1 or A2 according to the selection signal FF_SELECT and outputs it to the flip-flop 1204. The flip-flop 1204 inputs and outputs the output signal of the selector 1203.

図10のCRC回路を実現するためには、セレクタ1203は信号A1を選択して出力すればよい。図6の回路を実現するためには、セレクタ1203は信号A2を選択して出力すればよい。   In order to realize the CRC circuit of FIG. 10, the selector 1203 may select and output the signal A1. In order to realize the circuit of FIG. 6, the selector 1203 may select and output the signal A2.

また、図10のCRC回路において、出力信号OUT0〜OUT3をそのまま出力する場合と、それらの出力を反転して出力する場合がある。そのため、図11において、EOR回路1102,1103が付加されている。反転信号INV_OUTが1のときには反転出力となり、0のときには非反転出力となる。EOR回路1103は、入力EOR回路601の出力信号及び反転信号INV_OUTのEORを演算し、出力する。複数のEOR回路1102は、それぞれ、各フリップフロップ1101の出力信号及び反転信号INV_OUTのEORを演算し、出力する。   In the CRC circuit of FIG. 10, the output signals OUT0 to OUT3 may be output as they are, or the outputs may be inverted and output. Therefore, EOR circuits 1102 and 1103 are added in FIG. When the inversion signal INV_OUT is 1, it is an inverted output, and when it is 0, it is a non-inverted output. The EOR circuit 1103 calculates and outputs EOR of the output signal of the input EOR circuit 601 and the inverted signal INV_OUT. Each of the plurality of EOR circuits 1102 calculates and outputs the EOR of the output signal of each flip-flop 1101 and the inverted signal INV_OUT.

固定回路のCRC回路等は、パラメータに依存したハードウエアの構造であり、それらのパラメータが変わるとこれとは別にハードウエアを用意しなければならないという問題があった。本実施形態によれば、1つの準固定回路で任意の構成のスクランブラ及び任意の構成のCRC回路を実現できる。   The CRC circuit or the like of the fixed circuit has a hardware structure depending on parameters, and there is a problem that hardware must be prepared separately when these parameters change. According to this embodiment, a scrambler having an arbitrary configuration and a CRC circuit having an arbitrary configuration can be realized with one semi-fixed circuit.

(第4の実施形態)
図13は、IEEE802.11aの符号化率1/2畳み込みエンコーダ102(図1(A))の構成例を示す。例えば6個のフリップフロップFF1〜FF6が直列に接続される。入力信号INPUTは、初段のフリップフロップFF1に入力される。EOR回路1301は、入力信号INPUT、フリップフロップFF2,FF3,FF5,FF6の出力信号のEORを演算し、出力信号OUTPUT1を出力する。EOR回路1302は、入力信号INPUT、フリップフロップFF1,FF2,FF3,FF6の出力信号のEORを演算し、出力信号OUTPUT2を出力する。
(Fourth embodiment)
FIG. 13 shows an example of the configuration of the IEEE 802.11a coding rate 1/2 convolutional encoder 102 (FIG. 1A). For example, six flip-flops FF1 to FF6 are connected in series. The input signal INPUT is input to the first flip-flop FF1. The EOR circuit 1301 calculates the EOR of the input signal INPUT and the output signals of the flip-flops FF2, FF3, FF5, and FF6, and outputs an output signal OUTPUT1. The EOR circuit 1302 calculates the EOR of the input signal INPUT and the output signals of the flip-flops FF1, FF2, FF3, and FF6, and outputs an output signal OUTPUT2.

図14は、本発明の第4の実施形態による準固定回路の構成例を示す。この準固定回路は、第3の実施形態の準固定回路(図11)に、図13の畳み込みエンコーダの機能を付加した回路である。本実施形態の準固定回路は、基本的に第3の実施形態の準固定回路と同じであるので、第3の実施形態と異なる点のみ説明する。   FIG. 14 shows a configuration example of a semi-fixed circuit according to the fourth embodiment of the present invention. This semi-fixed circuit is a circuit obtained by adding the function of the convolutional encoder of FIG. 13 to the semi-fixed circuit (FIG. 11) of the third embodiment. Since the semi-fixed circuit of this embodiment is basically the same as the semi-fixed circuit of the third embodiment, only differences from the third embodiment will be described.

第3の実施形態では中段EOR回路602をフリップフロップ1101の下段のみに設けたが、第4の実施形態では中段EOR回路602をフリップフロップ1101の下段と同様に上段にも設ける。上段の中段EOR回路602は、図13のEOR回路1301に相当する。下段の中段EOR回路602は、図13のEOR回路1302に相当する。   In the third embodiment, the middle stage EOR circuit 602 is provided only in the lower stage of the flip-flop 1101. However, in the fourth embodiment, the middle stage EOR circuit 602 is provided in the upper stage as well as the lower stage of the flip-flop 1101. The middle EOR circuit 602 in the upper stage corresponds to the EOR circuit 1301 in FIG. The lower middle EOR circuit 602 corresponds to the EOR circuit 1302 of FIG.

入力EOR回路1401は、図11の入力EOR回路601の代わりに設けられ、図15の構成を有する。入力EOR回路1401には、入力信号INPUT、上段の中段EOR回路602からのフィードバック信号FB1、及び下段の中段EOR回路602からのフィードバック信号FB2が入力される。フィードバック信号FB1は信号A1、入力信号INPUTは信号A3、フィードバック信号FB2は信号A5としてセレクタ1503に入力される。   The input EOR circuit 1401 is provided in place of the input EOR circuit 601 in FIG. 11, and has the configuration in FIG. The input EOR circuit 1401 receives an input signal INPUT, a feedback signal FB1 from the upper middle EOR circuit 602, and a feedback signal FB2 from the lower middle EOR circuit 602. The feedback signal FB1 is input to the selector 1503 as the signal A1, the input signal INPUT is the signal A3, and the feedback signal FB2 is the signal A5.

EOR回路1501は、フィードバック信号FB1及び入力信号INPUTのEORを演算し、信号A2を出力する。信号A2は、出力信号OUTPUT1として出力される。EOR回路1502は、フィードバック信号FB2及び入力信号INPUTのEORを演算し、信号A4を出力する。信号A4は、出力信号OUTPUT2として出力される。図14のデコーダ1402は、図7のデコーダ701と同様に、選択信号SELECTをデコードして選択信号を出力する。セレクタ1503は、デコーダ1402の出力信号に応じて、信号A1〜A5の中から択一的に選択し、初段のフリップフロップFF1に出力する。図13の畳み込みデコーダを実現するためには、デコーダ1503は、信号A3を選択して出力すればよい。   The EOR circuit 1501 calculates EOR of the feedback signal FB1 and the input signal INPUT and outputs a signal A2. The signal A2 is output as the output signal OUTPUT1. The EOR circuit 1502 calculates EOR of the feedback signal FB2 and the input signal INPUT, and outputs a signal A4. The signal A4 is output as the output signal OUTPUT2. The decoder 1402 in FIG. 14 decodes the selection signal SELECT and outputs the selection signal, similarly to the decoder 701 in FIG. The selector 1503 selects one of the signals A1 to A5 according to the output signal of the decoder 1402 and outputs it to the flip-flop FF1 at the first stage. In order to realize the convolutional decoder in FIG. 13, the decoder 1503 may select and output the signal A3.

固定回路の畳み込みエンコーダ等は、パラメータに依存したハードウエアの構造であり、それらのパラメータが変わるとこれとは別にハードウエアを用意しなければならないという問題があった。本実施形態によれば、1つの準固定回路で任意の構成のスクランブラ、任意の構成のCRC回路、及び任意の構成の畳み込みエンコーダを実現できる。   The fixed circuit convolutional encoder or the like has a hardware structure depending on parameters, and if these parameters change, there is a problem that hardware must be prepared separately. According to this embodiment, a scrambler having an arbitrary configuration, a CRC circuit having an arbitrary configuration, and a convolutional encoder having an arbitrary configuration can be realized with one semi-fixed circuit.

(第5の実施形態)
図16は、W−CDMA規格の線形帰還シフトレジスタ(LFSR)の構成例を示す。線形帰還シフトレジスタは、W−CDMA規格での拡散符号発生回路に用いられている。W−CDMA規格の拡散符号発生回路の位置は、図2(A)、(B)のIEEE802.11bの拡散符号発生回路206,216と同様である。線型帰還シフトレジスタは、入力データを取り込まず、フリップフロップに初期設定された値に基づき再現性のあるビット演算処理をシフト操作する。
(Fifth embodiment)
FIG. 16 shows a configuration example of a linear feedback shift register (LFSR) of the W-CDMA standard. The linear feedback shift register is used in a spread code generation circuit in the W-CDMA standard. The position of the W-CDMA standard spread code generation circuit is the same as that of the spread code generation circuits 206 and 216 of IEEE802.11b in FIGS. The linear feedback shift register shifts the reproducible bit operation processing based on the value initially set in the flip-flop without taking in the input data.

線形帰還シフトレジスタ(以下、LFSRという)は、第1の回路1611及び第2の回路1612を有する。まず、第1の回路1611について説明する。複数のフリップフロップFFが直列に接続されている。EOR回路1604は、最後段(左端)のフリップフロップFF及びその他のフリップフロップFFの信号のEORを演算し、最初段(右端)のフリップフロップFFにフィードバックして入力する。EOR回路1603は、3個のフリップフロップFFの信号のEORを演算し、出力する。   The linear feedback shift register (hereinafter referred to as LFSR) includes a first circuit 1611 and a second circuit 1612. First, the first circuit 1611 is described. A plurality of flip-flops FF are connected in series. The EOR circuit 1604 calculates the EOR of the signals of the last stage (left end) flip-flop FF and the other flip-flops FF, and feeds it back to the first stage (right end) flip-flop FF. The EOR circuit 1603 calculates and outputs EOR of the signals of the three flip-flops FF.

次に、第2の回路1612について説明する。複数のフリップフロップFFが直列に接続されている。EOR回路1606は、4個のフリップフロップFFの信号のEORを演算し、最初段(右端)のフリップフロップFFにフィードバックして入力する。EOR回路1605は、3個のフリップフロップFFの信号のEORを演算し、出力する。   Next, the second circuit 1612 will be described. A plurality of flip-flops FF are connected in series. The EOR circuit 1606 calculates the EOR of the signals of the four flip-flops FF, and feeds it back to the flip-flop FF at the first stage (right end). The EOR circuit 1605 calculates and outputs EOR of the signals of the three flip-flops FF.

EOR回路1601は、第1の回路1611及び第2の回路1612の最後段のフリップフロップFFの出力信号のEORを演算し、出力信号OUTPUT1を出力する。EOR回路1602は、EOR回路1603及び1605の出力信号のEORを演算し、出力信号OUTPUT2を出力する。   The EOR circuit 1601 calculates EOR of the output signal of the last stage flip-flop FF of the first circuit 1611 and the second circuit 1612, and outputs an output signal OUTPUT1. The EOR circuit 1602 calculates EOR of the output signals of the EOR circuits 1603 and 1605 and outputs an output signal OUTPUT2.

図17は、本発明の第5の実施形態による準固定回路の構成例を示す。この準固定回路は、第4の実施形態の準固定回路(図14)に、図16のLFSRの機能を付加した回路である。本実施形態の準固定回路が第4の実施形態と異なる点のみ説明する。   FIG. 17 shows a configuration example of a semi-fixed circuit according to the fifth embodiment of the present invention. This semi-fixed circuit is a circuit obtained by adding the function of the LFSR of FIG. 16 to the semi-fixed circuit (FIG. 14) of the fourth embodiment. Only the difference between the semi-fixed circuit of the present embodiment and the fourth embodiment will be described.

本実施形態の準固定回路は、第1の回路1711及び第2の回路1712を有する。第1の回路1711及び第2の回路1712は、それぞれ図16の第1の回路1611及び第2の回路1612に相当し、それぞれが図14の回路に相当する。   The semi-fixed circuit of this embodiment includes a first circuit 1711 and a second circuit 1712. The first circuit 1711 and the second circuit 1712 correspond to the first circuit 1611 and the second circuit 1612 in FIG. 16, respectively, and each correspond to the circuit in FIG.

入力EOR回路1701は、図14の入力EOR回路1401の代わりに設けられ、図18の構成を有する。入力信号1725及び1726は、任意のフリップフロップ1101の出力から、今回構成するLFSRの段数に応じて最後段となるフリップフロップ1101の出力を選択した信号である。入力信号1721及び1722は、上段の中段EOR回路602の出力信号である。入力信号INPUT1及びINPUT2は、図16のLFSRでは使用せず、上記の第4の実施形態の入力信号INPUTに相当する。入力信号1723及び1724は、下段の中段EOR回路602の出力信号である。   The input EOR circuit 1701 is provided instead of the input EOR circuit 1401 of FIG. 14, and has the configuration of FIG. Input signals 1725 and 1726 are signals obtained by selecting the output of the last flip-flop 1101 from the outputs of arbitrary flip-flops 1101 according to the number of stages of the LFSR configured this time. Input signals 1721 and 1722 are output signals of the middle EOR circuit 602 in the upper stage. The input signals INPUT1 and INPUT2 are not used in the LFSR of FIG. 16 and correspond to the input signal INPUT of the fourth embodiment. Input signals 1723 and 1724 are output signals of the lower middle EOR circuit 602.

EOR回路1801は、信号1721,1722及び入力信号INPUT1,INPUT2のEORを演算して出力する。EOR回路1802は、信号1723,1724及び入力信号INPUT1,INPUT2のEORを演算して出力する。   The EOR circuit 1801 calculates and outputs EOR of the signals 1721 and 1722 and the input signals INPUT1 and INPUT2. The EOR circuit 1802 calculates and outputs EOR of the signals 1723 and 1724 and the input signals INPUT1 and INPUT2.

図17において、デコーダ1702は、選択信号SELECTをデコードして選択信号を出力し、第1の回路1711の入力EOR回路1701及び中段EOR回路602の選択状態を制御する。デコーダ1703は、選択信号SELECTをデコードして選択信号を出力し、第2の回路1712の入力EOR回路1701及び中段EOR回路602の選択状態を制御する。   In FIG. 17, a decoder 1702 decodes the selection signal SELECT and outputs a selection signal, and controls the selection states of the input EOR circuit 1701 and the middle EOR circuit 602 of the first circuit 1711. The decoder 1703 decodes the selection signal SELECT and outputs a selection signal, and controls the selection states of the input EOR circuit 1701 and the middle stage EOR circuit 602 of the second circuit 1712.

図18において、セレクタ1804は、選択信号に応じて、信号1725,1726、信号1721,1722、及びEOR回路1801の出力信号の中から信号を択一的に選択して出力信号1732,1733を出力する。セレクタ1805は、選択信号に応じて、信号1725,1726、信号1723,1724、及びEOR回路1802の出力信号の中から信号を択一的に選択して出力信号1734,1735を出力する。セレクタ1803は、選択信号に応じて、信号1721,1722、EOR回路1801の出力信号、入力信号INPUT1,INPUT2、EOR回路1802の出力信号、及び信号1723,1724の中から信号を択一的に選択して出力信号1731を最初段のフリップフロップFF1に出力する。   In FIG. 18, a selector 1804 selectively selects a signal from signals 1725 and 1726, signals 1721 and 1722, and an output signal of the EOR circuit 1801 in accordance with a selection signal, and outputs output signals 1732 and 1733. To do. The selector 1805 selectively selects a signal from signals 1725 and 1726, signals 1723 and 1724, and an output signal of the EOR circuit 1802 in accordance with the selection signal, and outputs output signals 1734 and 1735. The selector 1803 selectively selects a signal from the signals 1721 and 1722, the output signal of the EOR circuit 1801, the input signals INPUT1 and INPUT2, the output signal of the EOR circuit 1802, and the signals 1723 and 1724 in accordance with the selection signal. The output signal 1731 is output to the first flip-flop FF1.

図17において、EOR回路1704は、信号1732及び1733のEORを演算し、出力信号OUTPUT1を出力する。EOR回路1705は、信号1734及び1735のEORを演算し、出力信号OUTPUT2を出力する。信号1733は出力信号OUTPUT3、信号1735は出力信号OUTPUT4として出力される。   In FIG. 17, an EOR circuit 1704 calculates EOR of signals 1732 and 1733 and outputs an output signal OUTPUT1. The EOR circuit 1705 calculates EOR of the signals 1734 and 1735, and outputs an output signal OUTPUT2. The signal 1733 is output as the output signal OUTPUT3, and the signal 1735 is output as the output signal OUTPUT4.

図16のLFSRを実現するためには、第1の回路1711の入力EOR回路1701において、セレクタ1804は入力信号1725を選択して出力し、セレクタ1803は入力信号1721を選択して出力し、セレクタ1805は入力信号1723を選択して出力する。また、第2の回路1712の入力EOR回路1701においては、セレクタ1804は入力信号1726を選択して出力し、セレクタ1803は入力信号1722を選択して出力し、セレクタ1805は入力信号1724を選択して出力する。   In order to realize the LFSR of FIG. 16, in the input EOR circuit 1701 of the first circuit 1711, the selector 1804 selects and outputs the input signal 1725, and the selector 1803 selects and outputs the input signal 1721. 1805 selects and outputs the input signal 1723. In the input EOR circuit 1701 of the second circuit 1712, the selector 1804 selects and outputs the input signal 1726, the selector 1803 selects and outputs the input signal 1722, and the selector 1805 selects the input signal 1724. Output.

準固定回路のLFSR等は、パラメータに依存したハードウエアの構造であり、それらのパラメータが変わるとこれとは別にハードウエアを用意しなければならないという問題があった。本実施形態によれば、1つの準固定回路で任意の構成のスクランブラ、任意の構成のCRC回路、任意の構成の畳み込みエンコーダ、任意の構成のLFSRを実現できる。   The semi-fixed circuit LFSR or the like has a hardware structure depending on parameters, and if these parameters change, there is a problem that hardware must be prepared separately. According to the present embodiment, an arbitrary configuration scrambler, an arbitrary configuration CRC circuit, an arbitrary configuration convolution encoder, and an arbitrary configuration LFSR can be realized by one semi-fixed circuit.

(第6の実施形態)
図22(A)は、本発明の第6の実施形態による準固定回路の構成例を示す。この準固定回路は、図10のCRC回路等の複数種類のCRC回路を選択的に実現することができ、かつ、図10のように1ビットずつシフトさせながら入力するのではなく、複数ビットを同時に入力して一度に数回シフト分を先見処理する。
(Sixth embodiment)
FIG. 22A shows a configuration example of a semi-fixed circuit according to the sixth embodiment of the present invention. This quasi-fixed circuit can selectively realize a plurality of types of CRC circuits such as the CRC circuit of FIG. 10 and does not input while shifting one bit at a time as shown in FIG. Input simultaneously and look ahead for several shifts at a time.

例えば6ビットずつパラレルに入力信号IN[0]〜IN[5]を入力する。フリップフロップFF1〜FF4には、それぞれセレクタ2201〜2204の出力信号が入力される。このフリップフロップFF1〜FF4の出力信号OUT0〜OUT3は、シフト0回目に相当する初期設定値になる。複数のE回路2211は、それぞれ図22(B)の構成を有し、信号A1及び信号B1を入力する。EOR回路2231は、信号A1及びB1のEORを演算し、信号A2を出力する。セレクタ2232は、信号A1又はA2を選択して出力する。   For example, input signals IN [0] to IN [5] are input in parallel by 6 bits. The output signals of the selectors 2201 to 2204 are input to the flip-flops FF1 to FF4, respectively. The output signals OUT0 to OUT3 of the flip-flops FF1 to FF4 have initial setting values corresponding to the 0th shift. Each of the plurality of E circuits 2211 has the configuration illustrated in FIG. 22B and inputs the signal A1 and the signal B1. The EOR circuit 2231 calculates EOR of the signals A1 and B1 and outputs a signal A2. The selector 2232 selects and outputs the signal A1 or A2.

データD00,D01,D02,D03は、シフト1回目に相当する出力信号である。データD10,D11,D12,D13は、シフト2回目に相当する出力信号である。データD20,D21,D22,D23は、シフト3回目に相当する出力信号である。データD30,D31,D32,D33は、シフト4回目に相当する出力信号である。データD40,D41,D42,D43は、シフト5回目に相当する出力信号である。データD50,D51,D52,D53は、シフト6回目に相当する出力信号である。   Data D00, D01, D02, and D03 are output signals corresponding to the first shift. Data D10, D11, D12, and D13 are output signals corresponding to the second shift. Data D20, D21, D22, and D23 are output signals corresponding to the third shift. Data D30, D31, D32, and D33 are output signals corresponding to the fourth shift. Data D40, D41, D42, and D43 are output signals corresponding to the fifth shift. Data D50, D51, D52, and D53 are output signals corresponding to the sixth shift.

セレクタ2201は、データD00,D10,D20,D30,D40,D50の中からデータを択一的に選択してフリップフロップFF1に出力する。セレクタ2202は、データD01,D11,D21,D31,D41,D51の中からデータを択一的に選択してフリップフロップFF2に出力する。セレクタ2203は、データD02,D12,D22,D32,D42,D52の中からデータを択一的に選択してフリップフロップFF3に出力する。セレクタ2204は、データD03,D13,D23,D33,D43,D53の中からデータを択一的に選択してフリップフロップFF4に出力する。   The selector 2201 selectively selects data from the data D00, D10, D20, D30, D40, and D50 and outputs the selected data to the flip-flop FF1. The selector 2202 selectively selects data from the data D01, D11, D21, D31, D41, and D51 and outputs the selected data to the flip-flop FF2. The selector 2203 selectively selects data from the data D02, D12, D22, D32, D42, and D52 and outputs the selected data to the flip-flop FF3. The selector 2204 selectively selects data from the data D03, D13, D23, D33, D43, and D53 and outputs the data to the flip-flop FF4.

この準固定回路は、1ビット〜6ビットのパラレル入力を選択することができる。例えば6ビットパラレル入力信号IN[0]〜IN[5]を入力する場合には、セレクタ2201〜2204は、データD50,D51,D52,D53を選択する。5ビットパラレル入力信号IN[0]〜IN[4]を入力する場合には、セレクタ2201〜2204は、データD40,D41,D42,D43を選択する。   This semi-fixed circuit can select a 1-bit to 6-bit parallel input. For example, when 6-bit parallel input signals IN [0] to IN [5] are input, the selectors 2201 to 2204 select data D50, D51, D52, and D53. When inputting the 5-bit parallel input signals IN [0] to IN [4], the selectors 2201 to 2204 select the data D40, D41, D42, and D43.

E回路2211を設けることにより、図10のEOR回路1002が飛び飛びに挿入されるCRC回路を実現することが可能になる。E回路2211では、EOR回路を挿入する場合には信号A2を選択し、挿入しない場合には信号A1を選択すればよい。   By providing the E circuit 2211, it is possible to realize a CRC circuit in which the EOR circuit 1002 of FIG. In the E circuit 2211, the signal A2 may be selected when the EOR circuit is inserted, and the signal A1 may be selected when the EOR circuit is not inserted.

ここでは、一度に出力できる最大の先見シフト数を6として構成している。このとき、同時にIN[0]からIN[5]まで6ビットを一度に入力する。すると、フリップフロップFF1〜FF4の初期設定時の出力信号OUT0〜OUT3が求められる。同時に、シフト回数1〜6までの出力Dtbが得られる。tは(シフト回数−1)を表し、bはビットの桁位置を表す。このとき、4つのセレクタ2201〜2204は、それぞれ上から6番目の入力を選択している。すなわち、左から順にD50,D51,D52,D53である。そうすれば、続く6ビットの入力によりシフト回数7〜12までの出力が得られる。もし、入力として5ビットを一度に入力する場合は、回路2222を使わない、つまり、回路2222が存在しないと考えて、入力データ5ビットを一度に取り込むという操作を行う。これを行うため、セレクタ2201〜2204は、上から5番目の入力データを選択して次の5ビット入力信号を入力する。   Here, the maximum number of look-ahead shifts that can be output at one time is set to 6. At this time, 6 bits are simultaneously input from IN [0] to IN [5]. Then, output signals OUT0 to OUT3 at the time of initial setting of the flip-flops FF1 to FF4 are obtained. At the same time, outputs Dtb with the number of shifts 1 to 6 are obtained. t represents (shift count-1), and b represents the digit position of the bit. At this time, each of the four selectors 2201 to 2204 selects the sixth input from the top. That is, they are D50, D51, D52, D53 in order from the left. If it does so, the output to the number of shifts 7-12 will be obtained by the subsequent 6-bit input. If 5 bits are input at a time, the circuit 2222 is not used, that is, the circuit 2222 is not present, and an operation of fetching 5 bits of input data at a time is performed. In order to do this, the selectors 2201 to 2204 select the fifth input data from the top and input the next 5-bit input signal.

本実施形態にて、図 10の最右端のEOR回路1002が挿入されない構成に対応するには、図22(A)の回路2221の全てのE回路2211の設定で信号A1を選択すればよい。   In this embodiment, in order to deal with the configuration in which the rightmost EOR circuit 1002 in FIG. 10 is not inserted, the signal A1 may be selected by setting all the E circuits 2211 in the circuit 2221 in FIG.

なお、図22(A)の構成は、次式に示すように、図10から求められるシフト回数t−1とtとの関係から求められる。ここで、"x"はEORを意味する。   The configuration of FIG. 22A is obtained from the relationship between the number of shifts t-1 and t obtained from FIG. 10, as shown in the following equation. Here, “x” means EOR.

{OUT0[t], OUT1[t], OUT2[t], OUT3[t]}={OUT3[t-1]xIN[t-1],OUT3[t-1]xIN[t-1]xOUT0[t-1],OUT3[t-1]xIN[t-1]xOUT1[t-1],UT3[t-1]xIN[t-1]xOUT2[t-1] }   {OUT0 [t], OUT1 [t], OUT2 [t], OUT3 [t]} = {OUT3 [t-1] xIN [t-1], OUT3 [t-1] xIN [t-1] xOUT0 [ t-1], OUT3 [t-1] xIN [t-1] xOUT1 [t-1], UT3 [t-1] xIN [t-1] xOUT2 [t-1]}

図10のCRC回路は、1ビット入力されると1ビット出力されるシリアルな処理であった。本実施形態では、1ビットシフトを繰り返すのではなく、前もって複数回分のシフト処理を行う回路を持たせることにより、一度に複数のCRC演算を行うことができる。   The CRC circuit of FIG. 10 is a serial process that outputs 1 bit when 1 bit is input. In this embodiment, instead of repeating 1-bit shift, a plurality of CRC operations can be performed at a time by providing a circuit that performs a plurality of shift processes in advance.

(第7の実施形態)
図19(A)は、第1のタイプのスクランブラ(デスクランブラを含む。以下、同じ。)の構成例である。EOR回路1901は、入力信号IN及びEOR回路1902の出力信号のEORを演算し、出力信号OUTを出力する。例えば4個のフリップフロップFF1〜FF4が直列に接続される。フリップフロップFF1には、EOR回路1901の出力信号が入力される。EOR回路1904は、フリップフロップFF3及びFF4の出力信号のEORを演算して出力する。EOR回路1903は、EOR回路1904の出力信号及びフリップフロップFF2の出力信号のEORを演算して出力する。EOR回路1902は、EOR回路1903の出力信号及びフリップフロップFF1の出力信号のEORを演算し、EOR回路1901に出力する。
(Seventh embodiment)
FIG. 19A is a configuration example of a first type scrambler (including a descrambler; the same applies hereinafter). The EOR circuit 1901 calculates EOR of the input signal IN and the output signal of the EOR circuit 1902 and outputs an output signal OUT. For example, four flip-flops FF1 to FF4 are connected in series. The output signal of the EOR circuit 1901 is input to the flip-flop FF1. The EOR circuit 1904 calculates EOR of the output signals of the flip-flops FF3 and FF4 and outputs the result. The EOR circuit 1903 calculates EOR of the output signal of the EOR circuit 1904 and the output signal of the flip-flop FF2 and outputs the result. The EOR circuit 1902 calculates EOR of the output signal of the EOR circuit 1903 and the output signal of the flip-flop FF1 and outputs the result to the EOR circuit 1901.

図19(B)は、図19(A)のスクランブラの複数入力ビットを同時に入力して一度に数回シフト分を先見処理することができるスクランブラの構成例を示す。例えば6ビットずつ入力信号IN[0]〜IN[5]をパラレルに入力する。EOR回路1911は、EOR演算を行って出力する。フリップフロップFF1〜FF4には、それぞれ出力信号OUT[2]〜OUT[5]がフィードバック入力される。出力信号OUT[0]〜OUT[5]は、それぞれ1回目〜6回目のシフトに相当する出力信号である。   FIG. 19B shows a configuration example of a scrambler that can simultaneously input a plurality of input bits of the scrambler of FIG. 19A and perform look-ahead processing for several shifts at a time. For example, input signals IN [0] to IN [5] are input in parallel by 6 bits. The EOR circuit 1911 performs EOR operation and outputs the result. Output signals OUT [2] to OUT [5] are fed back to the flip-flops FF1 to FF4, respectively. The output signals OUT [0] to OUT [5] are output signals corresponding to the first to sixth shifts, respectively.

図20(A)は、第2のタイプのスクランブラの構成例である。EOR回路2001は、入力信号IN及びEOR回路2002の出力信号のEORを演算し、出力信号OUTを出力する。例えば4個のフリップフロップFF1〜FF4が直列に接続される。フリップフロップFF1には、EOR回路2002の出力信号が入力される。EOR回路2004は、フリップフロップFF3及びFF4の出力信号のEORを演算して出力する。EOR回路2003は、EOR回路2004の出力信号及びフリップフロップFF2の出力信号のEORを演算して出力する。EOR回路2002は、EOR回路2003の出力信号及びフリップフロップFF1の出力信号のEORを演算し、EOR回路2001及びフリップフロップFF1に出力する。   FIG. 20A is a configuration example of the second type scrambler. The EOR circuit 2001 calculates EOR of the input signal IN and the output signal of the EOR circuit 2002, and outputs an output signal OUT. For example, four flip-flops FF1 to FF4 are connected in series. The output signal of the EOR circuit 2002 is input to the flip-flop FF1. The EOR circuit 2004 calculates EOR of the output signals of the flip-flops FF3 and FF4 and outputs the result. The EOR circuit 2003 calculates and outputs EOR of the output signal of the EOR circuit 2004 and the output signal of the flip-flop FF2. The EOR circuit 2002 calculates EOR of the output signal of the EOR circuit 2003 and the output signal of the flip-flop FF1, and outputs the result to the EOR circuit 2001 and the flip-flop FF1.

図20(B)は、図20(A)のスクランブラの複数入力ビットを同時に入力して一度に数回シフト分を先見処理することができるスクランブラの構成例を示す。例えば6ビットずつ入力信号IN[0]〜IN[5]をパラレルに入力する。EOR回路2011は、EOR演算を行って出力する。EOR回路2021は、入力信号IN[5]及び出力信号OUT[5]のEORを演算し、フリップフロップFF1に出力する。EOR回路2022は、入力信号IN[4]及び出力信号OUT[4]のEORを演算し、フリップフロップFF2に出力する。EOR回路2023は、入力信号IN[3]及び出力信号OUT[3]のEORを演算し、フリップフロップFF3に出力する。EOR回路2024は、入力信号IN[2]及び出力信号OUT[2]のEORを演算し、フリップフロップFF4に出力する。出力信号OUT[0]〜OUT[5]は、それぞれ1回目〜6回目のシフトに相当する出力信号である。   FIG. 20B shows a configuration example of a scrambler that can simultaneously input a plurality of input bits of the scrambler of FIG. 20A and perform look-ahead processing for several shifts at a time. For example, input signals IN [0] to IN [5] are input in parallel by 6 bits. The EOR circuit 2011 performs EOR operation and outputs the result. The EOR circuit 2021 calculates EOR of the input signal IN [5] and the output signal OUT [5] and outputs the result to the flip-flop FF1. The EOR circuit 2022 calculates EOR of the input signal IN [4] and the output signal OUT [4] and outputs the result to the flip-flop FF2. The EOR circuit 2023 calculates EOR of the input signal IN [3] and the output signal OUT [3] and outputs the result to the flip-flop FF3. The EOR circuit 2024 calculates EOR of the input signal IN [2] and the output signal OUT [2] and outputs the result to the flip-flop FF4. The output signals OUT [0] to OUT [5] are output signals corresponding to the first to sixth shifts, respectively.

図21(A)は、第3のタイプのスクランブラの構成例である。EOR回路2101は、入力信号IN及びEOR回路2102の出力信号のEORを演算し、出力信号OUTを出力する。例えば4個のフリップフロップFF1〜FF4が直列に接続される。フリップフロップFF1には、入力信号INが入力される。EOR回路2104は、フリップフロップFF3及びFF4の出力信号のEORを演算して出力する。EOR回路2103は、EOR回路2104の出力信号及びフリップフロップFF2の出力信号のEORを演算して出力する。EOR回路2102は、EOR回路2103の出力信号及びフリップフロップFF1の出力信号のEORを演算し、EOR回路2101に出力する。   FIG. 21A is a configuration example of a third type scrambler. The EOR circuit 2101 calculates EOR of the input signal IN and the output signal of the EOR circuit 2102 and outputs an output signal OUT. For example, four flip-flops FF1 to FF4 are connected in series. The input signal IN is input to the flip-flop FF1. The EOR circuit 2104 calculates EOR of the output signals of the flip-flops FF3 and FF4 and outputs the result. The EOR circuit 2103 calculates and outputs EOR of the output signal of the EOR circuit 2104 and the output signal of the flip-flop FF2. The EOR circuit 2102 calculates EOR of the output signal of the EOR circuit 2103 and the output signal of the flip-flop FF 1 and outputs the result to the EOR circuit 2101.

図21(B)は、図21(A)のスクランブラの複数入力ビットを同時に入力して一度に数回シフト分を先見処理することができるスクランブラの構成例を示す。例えば6ビットずつ入力信号IN[0]〜IN[5]をパラレルに入力する。EOR回路2111は、EOR演算を行って出力する。フリップフロップFF1〜FF4には、それぞれ入力信号IN[5]〜IN[2]が入力される。出力信号OUT[0]〜OUT[5]は、それぞれ1回目〜6回目のシフトに相当する出力信号である。   FIG. 21B shows a configuration example of a scrambler that can simultaneously input a plurality of input bits of the scrambler of FIG. 21A and perform look-ahead processing for several shifts at a time. For example, input signals IN [0] to IN [5] are input in parallel by 6 bits. The EOR circuit 2111 performs EOR operation and outputs the result. Input signals IN [5] to IN [2] are input to the flip-flops FF1 to FF4, respectively. The output signals OUT [0] to OUT [5] are output signals corresponding to the first to sixth shifts, respectively.

図23は、符号化率1/2の畳み込みエンコーダの構成例を示す。例えば4個のフリップフロップFF1〜FF4が直列に接続される。入力信号INは、初段のフリップフロップFF1に入力される。EOR回路2301は、入力信号INPUT及びフリップフロップFF1〜FF4の出力信号のEORを演算し、出力信号OUT1を出力する。EOR回路2302は、入力信号INPUT及びフリップフロップFF1〜FF4の出力信号のEORを演算し、出力信号OUT2を出力する。この畳み込みエンコーダの動作は、入力のデータ1ビットずつをシフトインして2ビットを出力するものである。   FIG. 23 shows a configuration example of a convolutional encoder with a coding rate of 1/2. For example, four flip-flops FF1 to FF4 are connected in series. The input signal IN is input to the first stage flip-flop FF1. The EOR circuit 2301 calculates EOR of the input signal INPUT and the output signals of the flip-flops FF1 to FF4, and outputs an output signal OUT1. The EOR circuit 2302 calculates EOR of the input signal INPUT and the output signals of the flip-flops FF1 to FF4, and outputs an output signal OUT2. The operation of this convolutional encoder is to shift in each bit of input data and output 2 bits.

図24は、図23の畳み込みエンコーダを1シフトにつきNビット同時処理することができる畳み込みエンコーダの準固定回路の構成例を示す。第1の畳み込み演算器2401は、図23の演算器2311に相当し、Nビットの入力信号を入力し、Nビットの出力信号OUT1を出力する。演算器2311は、フリップフロップFF1〜FF4及びEOR回路2301を含む。第2の畳み込み演算器2402は、図23の演算器2312に相当し、Nビットの入力信号を入力し、Nビットの出力信号OUT2を出力する。演算器2312は、フリップフロップFF1〜FF4及びEOR回路2302を含む。また、図24の準固定回路は、図19(B)、図20(B)及び図21(B)のスクランブラを選択的に実現可能である。   FIG. 24 shows a configuration example of a semi-fixed circuit of a convolutional encoder that can simultaneously process N bits per shift in the convolutional encoder of FIG. The first convolution calculator 2401 corresponds to the calculator 2311 of FIG. 23, receives an N-bit input signal, and outputs an N-bit output signal OUT1. The arithmetic unit 2311 includes flip-flops FF1 to FF4 and an EOR circuit 2301. The second convolution calculator 2402 corresponds to the calculator 2312 of FIG. 23, and receives an N-bit input signal and outputs an N-bit output signal OUT2. The arithmetic unit 2312 includes flip-flops FF1 to FF4 and an EOR circuit 2302. In addition, the semi-fixed circuit of FIG. 24 can selectively realize the scramblers of FIGS. 19B, 20B, and 21B.

図25は、図24の演算器2401及び2402の同一の構成例を示し、複数ビットを同時に入力して一度に数回シフト分を先見処理する。例えば6ビットずつパラレルに入力信号IN[0]〜IN[5]を入力する。フリップフロップFF1〜FF4には、それぞれセレクタ2501〜2504の出力信号が入力され、信号D0〜D3を出力する。E回路2521は、図22(B)の構成を有する。出力信号OUT[0]〜OUT[5]は、それぞれ1回目〜6回目のシフトに相当する出力信号である。フィードバック回路2522では、信号W0〜W5が出力される。   FIG. 25 shows an example of the same configuration of the arithmetic units 2401 and 2402 of FIG. 24, in which a plurality of bits are simultaneously input and a look-ahead process is performed for several shifts at a time. For example, input signals IN [0] to IN [5] are input in parallel by 6 bits. The output signals of the selectors 2501 to 2504 are input to the flip-flops FF1 to FF4, and signals D0 to D3 are output. The E circuit 2521 has the structure of FIG. The output signals OUT [0] to OUT [5] are output signals corresponding to the first to sixth shifts, respectively. The feedback circuit 2522 outputs signals W0 to W5.

セレクタ2501は、信号W0,W1,W2,W3,W4,W5を択一的に選択してフリップフロップFF1に出力する。セレクタ2502は、信号D0,W0,W1,W2,W3,W4を択一的に選択してフリップフロップFF2に出力する。セレクタ2503は、信号D1,D0,W0,W1,W2,W3を択一的に選択してフリップフロップFF3に出力する。セレクタ2504は、信号D2,D1,D0,W0,W1,W2を択一的に選択してフリップフロップFF4に出力する。なお、フィードバック回路2522は、図23の畳み込みエンコーダを実現する場合には使用せず、図19(B)、図20(B)、図21(B)のスクランブラを実現する場合に使用する。   Selector 2501 selectively selects signals W0, W1, W2, W3, W4, and W5 and outputs them to flip-flop FF1. The selector 2502 selectively selects the signals D0, W0, W1, W2, W3, W4 and outputs them to the flip-flop FF2. The selector 2503 selectively selects the signals D1, D0, W0, W1, W2, and W3 and outputs them to the flip-flop FF3. The selector 2504 selectively selects the signals D2, D1, D0, W0, W1, W2 and outputs them to the flip-flop FF4. Note that the feedback circuit 2522 is not used when the convolutional encoder shown in FIG. 23 is realized, but is used when the scramblers shown in FIGS. 19B, 20B, and 21B are realized.

図23では、ある時刻である位置のフリップフロップに蓄積されたデータが1回シフトした後に持つ値は、単純に前段のフリップフロップが現在保持及び出力している値である。また、フリップフロップの個数以上のシフトを行った場合、そのときにフリップフロップの最終段がもつ、最も古い時刻でシフトインしたデータは消えて、新たに入力されたデータに置き換わる。そこで、各時刻においてフリップフロップが保持しているはずのデータ結果が得られるので、後はそのデータの存在するタップ位置でのEOR回路の配置にしたがいEOR演算、すなわち畳み込みエンコードを行う。   In FIG. 23, the value held after the data stored in the flip-flop at the position at a certain time is shifted once is simply the value currently held and output by the previous flip-flop. Further, when shifting is performed more than the number of flip-flops, the data shifted in at the oldest time in the last stage of the flip-flop disappears and replaced with newly input data. Therefore, since the data result that the flip-flop should hold at each time is obtained, the EOR operation, that is, the convolutional encoding is performed according to the arrangement of the EOR circuit at the tap position where the data exists.

5個のセレクタ2511〜2515は、図23の畳み込みエンコーダの場合であればそれぞれ入力信号IN[0]〜IN[4]を選択する設定になる。各シフトタイミングとそのタイミングにおけるシフトイン、シフトアウトするビットの関係をみると、最初のシフトで畳み込み符号化率1/Mの場合、図24の畳み込み演算器2401,2402をM個並べることにより、入力信号INに対応する畳み込みエンコードを1回のシフトインで同時にNビット出力することができる。なお、N=6ビットの入力信号INはIN[0]〜IN[5]で構成され、畳み込みエンコーダで同時に符号化され出力される。   In the case of the convolutional encoder of FIG. 23, the five selectors 2511 to 2515 are set to select the input signals IN [0] to IN [4], respectively. Looking at the relationship between each shift timing and the shift-in and shift-out bits at that timing, when the convolutional coding rate is 1 / M at the first shift, M convolution operators 2401 and 2402 in FIG. N bits of convolutional encoding corresponding to the input signal IN can be simultaneously output by one shift-in. Note that the N = 6 bit input signal IN is composed of IN [0] to IN [5], and is simultaneously encoded and output by the convolutional encoder.

E回路2521の有無は、実現したい畳み込み演算の構成によって決まる。実現したい畳み込みエンコーダがもつフリップフロップのすべての間にEOR回路がある構成をとるならば、全てのE回路2521はEOR演算を行う。   The presence or absence of the E circuit 2521 is determined by the configuration of the convolution operation to be realized. If an EOR circuit is provided between all flip-flops of a convolutional encoder to be realized, all the E circuits 2521 perform an EOR operation.

ここでは、N=6として構成している。6ビットを同時に出力する場合、4つあるセレクタ2501〜2504はそれぞれ上から6番目の入力を選択する。つまり、左から順にW5,W4,W3,W2を選択する。入力は、IN[0]〜IN[5]に6ビットを1セットとして行う。セレクタ2501〜2504の設定により、6ビット以下の同時出力が可能である。また、IN[0]〜IN[5]の入力に対応する出力は、それぞれOUT[0]〜OUT[5]である。   Here, N = 6. When 6 bits are output simultaneously, the four selectors 2501 to 2504 select the sixth input from the top. That is, W5, W4, W3, and W2 are selected in order from the left. Input is performed by setting 6 bits to IN [0] to IN [5] as one set. By setting the selectors 2501 to 2504, simultaneous output of 6 bits or less is possible. Outputs corresponding to inputs IN [0] to IN [5] are OUT [0] to OUT [5], respectively.

図19(B)のスクランブラを実現するには、セレクタ2511〜2515は、真中の信号を選択して出力する。図20(B)のスクランブラを実現するには、セレクタ2511〜2515は、右の信号を選択して出力する。図21(B)のスクランブラを実現するには、セレクタ2511〜2515は、左の信号を選択して出力する。   In order to realize the scrambler of FIG. 19B, the selectors 2511 to 2515 select and output the middle signal. In order to realize the scrambler of FIG. 20B, the selectors 2511 to 2515 select and output the right signal. In order to realize the scrambler of FIG. 21B, the selectors 2511 to 2515 select and output the left signal.

従来のスクランブラ及び畳み込みエンコーダは、1ビット入力されると1ビット出力されるシリアルな処理であった。本実施形態の準固定回路によれば、1ビットシフトを繰り返すのではなく、前もって複数回分のシフト処理を行う回路を持たせることにより一度に複数のスクランブル処理及び畳み込みエンコーダ処理を行うことができる。また、本実施形態の準固定回路は、複数のビット入力を同時処理する任意の構成のスクランブラ、及び任意の構成の畳み込みエンコーダを構成できる。   Conventional scramblers and convolutional encoders are serial processes that output 1 bit when 1 bit is input. According to the quasi-fixed circuit of this embodiment, a plurality of scramble processes and a convolutional encoder process can be performed at a time by providing a circuit for performing a shift process for a plurality of times in advance, instead of repeating the 1-bit shift. In addition, the semi-fixed circuit of the present embodiment can constitute a scrambler having an arbitrary configuration that simultaneously processes a plurality of bit inputs and a convolutional encoder having an arbitrary configuration.

(第8の実施形態)
図26は、図16のW−CDMA規格の線形帰還シフトレジスタ(LFSR)を4個の演算器2701〜2704に分割することを示す図である。第1の回路1611は、演算器2701及び2702に分割される。演算器2701は、複数のフリップフロップFF及びEOR回路1603を含む。演算器2702は、複数のフリップフロップFF及びEOR回路1604を含む。第2の回路1612は、演算器2703及び2704に分割される。演算器2703は、複数のフリップフロップFF及びEOR回路1606を含む。演算器2704は、複数のフリップフロップFF及びEOR回路1605を含む。フリップフロップの数は、例えば25個である。フリップフロップの内部状態を初期設定した後は、その初期値設定に一意に対応したビット系列をシリアルに出力する。
(Eighth embodiment)
FIG. 26 is a diagram showing that the W-CDMA standard linear feedback shift register (LFSR) of FIG. 16 is divided into four arithmetic units 2701 to 2704. The first circuit 1611 is divided into computing units 2701 and 2702. The arithmetic unit 2701 includes a plurality of flip-flops FF and an EOR circuit 1603. The arithmetic unit 2702 includes a plurality of flip-flops FF and an EOR circuit 1604. The second circuit 1612 is divided into computing units 2703 and 2704. The arithmetic unit 2703 includes a plurality of flip-flops FF and an EOR circuit 1606. The arithmetic unit 2704 includes a plurality of flip-flops FF and an EOR circuit 1605. The number of flip-flops is 25, for example. After initial setting of the internal state of the flip-flop, a bit series uniquely corresponding to the initial value setting is serially output.

図27は、図26のLFSRをNビット同時一括処理することができるLFSRの構成例である。第1の回路1611は、第1の演算器2701及び第2の演算器2702を有する。第2の回路1612は、第3の演算器2703及び第4の演算器2704を有する。第1の演算器2701及び第3の演算器2703は、フリップフロップの内部状態のEOR演算を行う。第2の演算器2702及び第4の演算器2704は、フィードバックループを構成してフリップフロップの内部状態を更新する。第1〜第4の演算器2701〜2704は、相互に信号を入出力することができる。第1の演算器2701は、Nビットの出力信号OUTPUT1を出力する。第2の演算器2702は、Nビットの出力信号OUTPUT2を出力する。第1〜第4の演算器2701〜2704は、同じ構成を有する。   FIG. 27 is a configuration example of an LFSR that can simultaneously process N bits of the LFSR of FIG. The first circuit 1611 includes a first calculator 2701 and a second calculator 2702. The second circuit 1612 includes a third computing unit 2703 and a fourth computing unit 2704. The first arithmetic unit 2701 and the third arithmetic unit 2703 perform an EOR operation on the internal state of the flip-flop. The second computing unit 2702 and the fourth computing unit 2704 form a feedback loop to update the internal state of the flip-flop. The first to fourth arithmetic units 2701 to 2704 can input and output signals with each other. The first calculator 2701 outputs an N-bit output signal OUTPUT1. The second computing unit 2702 outputs an N-bit output signal OUTPUT2. The first to fourth arithmetic units 2701 to 2704 have the same configuration.

図28(A)は、図27の第1の演算器2701の構成例を示す。回路2800は、32段のフリップフロップ及びその入力セレクタを含み(図29参照)、信号2850を入力する。信号2850は、信号2849を含み、第1〜第4の演算器のフリップフロップの更新値の8×4ビット信号である。信号2849は、内部状態セレクタ2828から出力される第1の演算器2701のフリップフロップの更新値の信号である。   FIG. 28A shows a configuration example of the first computing unit 2701 in FIG. The circuit 2800 includes a 32-stage flip-flop and its input selector (see FIG. 29), and receives a signal 2850. The signal 2850 includes the signal 2849 and is an 8 × 4 bit signal of the updated value of the flip-flops of the first to fourth arithmetic units. A signal 2849 is an update value signal of the flip-flop of the first arithmetic unit 2701 output from the internal state selector 2828.

図29は、回路2800の構成例を示す。信号2920は、フリップフロップFF0に関するセレクタへの入力信号であり、第1の演算器からの信号2849、第2の演算器からの信号2912、第3の演算器からの信号2913、及び第4の演算器からの信号2914を含む。例えば、第1の演算器からの信号2849は、フリップフロップの更新値を示す8ビットの信号である。回路2901は、セレクタ2907を含み、第1の演算器のフリップフロップFF0の入力用データを選択する。セレクタ2907は、フリップフロップFF0用の更新値セレクタであり、同時並列処理ビット数による選択を行う。   FIG. 29 illustrates a configuration example of the circuit 2800. The signal 2920 is an input signal to the selector relating to the flip-flop FF0, and includes a signal 2849 from the first arithmetic unit, a signal 2912 from the second arithmetic unit, a signal 2913 from the third arithmetic unit, and a fourth The signal 2914 from the arithmetic unit is included. For example, the signal 2849 from the first arithmetic unit is an 8-bit signal indicating the updated value of the flip-flop. The circuit 2901 includes a selector 2907 and selects data for input to the flip-flop FF0 of the first arithmetic unit. A selector 2907 is an update value selector for the flip-flop FF0, and performs selection based on the number of simultaneous parallel processing bits.

第1の演算器のための回路2901と同様に、回路2902は第2の演算器のフリップフロップFF0の入力用データを選択するための回路であり、回路2903は第3の演算器のフリップフロップFF0の入力用データを選択するための回路であり、回路2904は第4の演算器のフリップフロップFF0の入力用データを選択するための回路である。回路2902〜2904には、それぞれ信号2912〜2914が入力される。セレクタ2931は、回路2901〜2904の出力信号を択一的に選択して、フリップフロップFF0へ出力する。フリップフロップFF0は、その信号を保持して出力する。   Similar to the circuit 2901 for the first arithmetic unit, the circuit 2902 is a circuit for selecting the input data of the flip-flop FF0 of the second arithmetic unit, and the circuit 2903 is the flip-flop of the third arithmetic unit. This is a circuit for selecting the input data of FF0, and the circuit 2904 is a circuit for selecting the input data of the flip-flop FF0 of the fourth arithmetic unit. Signals 2912 to 2914 are input to the circuits 2902 to 2904, respectively. The selector 2931 alternatively selects the output signals of the circuits 2901 to 2904 and outputs them to the flip-flop FF0. The flip-flop FF0 holds and outputs the signal.

信号2920と同様に、信号2921はフリップフロップFF1に関するセレクタへの入力信号であり、信号2922はフリップフロップFF31に関するセレクタへの入力信号である。また、回路2901と同様に、回路2905は第1の演算器のフリップフロップFF1の入力用データを選択するための回路であり、回路2906は第1の演算器のフリップフロップFF31の入力用データを選択するための回路である。また、フリップフロップFF1〜FF31にも、入力用データが択一的に選択されて入力される。   Similar to the signal 2920, the signal 2921 is an input signal to the selector relating to the flip-flop FF1, and the signal 2922 is an input signal to the selector relating to the flip-flop FF31. Similarly to the circuit 2901, the circuit 2905 is a circuit for selecting the input data of the flip-flop FF1 of the first arithmetic unit, and the circuit 2906 is the input data of the flip-flop FF31 of the first arithmetic unit. This is a circuit for selecting. Input data is alternatively selected and input to the flip-flops FF1 to FF31.

8ビット一括処理なら、回路2901では、フリップフロップFF0用の更新値セレクタ2907にて、8ビット目のデータをフリップフロップFF0にセットする必要があるので、FF更新値[7]を選ぶ。7ビット一括なら、その上のFF更新値[6]を選ぶ、というように一括処理するビット数により順次上のFF更新値を選ぶ。なお、フリップフロップの初期値は、動作前にフリップフロップFF0〜FF31に別途設定が必要である。   In the case of 8-bit batch processing, the circuit 2901 selects the FF update value [7] because the update value selector 2907 for the flip-flop FF0 needs to set the eighth bit data in the flip-flop FF0. For 7 bits at a time, the FF update value [6] above is selected, and the FF update value at the top is sequentially selected according to the number of bits to be collectively processed. Note that the initial value of the flip-flop needs to be set separately in the flip-flops FF0 to FF31 before the operation.

図30(A)は、回路2905内のフリップフロップFF1用入力セレクタ2907を示す。このセレクタは、フリップフロップFF0の出力値、及び7ビットのFF更新値[0]〜FF更新値[6]の中から選択する。   FIG. 30A shows the input selector 2907 for the flip-flop FF1 in the circuit 2905. This selector selects from the output value of the flip-flop FF0 and the 7-bit FF update value [0] to FF update value [6].

図30(B)は、フリップフロップFF2用入力セレクタ2907を示す。このセレクタは、フリップフロップFF1及びFF0の出力値、及び6ビットのFF更新値[0]〜FF更新値[5]の中から選択する。   FIG. 30B shows an input selector 2907 for the flip-flop FF2. This selector selects from the output values of the flip-flops FF1 and FF0 and the 6-bit FF update value [0] to FF update value [5].

図30(C)は、フリップフロップFFn用入力セレクタ2907を示す。このセレクタは、フリップフロップFF(n−8)〜FF(n−1)の出力値の中から選択する。   FIG. 30C shows the input selector 2907 for the flip-flop FFn. This selector selects from the output values of the flip-flops FF (n−8) to FF (n−1).

図28(A)において、第1のEOR演算器2811は、図31に示すように、32段の選択EOR回路2831a〜2831d等を有する。選択EOR回路2831a〜2831dは、図28(B)に示すように、EOR回路2891及びセレクタ2892を有する。EOR回路2891は、入力信号A1及びB1のEORを演算して信号A2を出力する。セレクタ2892は、信号A1又は信号A2を選択して出力する。   In FIG. 28A, the first EOR operator 2811 includes 32-stage selection EOR circuits 2831a to 2831d and the like as shown in FIG. The selection EOR circuits 2831a to 2831d include an EOR circuit 2891 and a selector 2892 as shown in FIG. The EOR circuit 2891 calculates EOR of the input signals A1 and B1 and outputs a signal A2. The selector 2892 selects and outputs the signal A1 or the signal A2.

図31において、選択EOR回路2831aは、フリップフロップFF0の出力信号3100を入力し、次段の選択EOR回路2831bに出力する。信号3100は、途中結果[0]として内部状態セレクタ2821(図28(A))へ出力される。   In FIG. 31, the selection EOR circuit 2831a receives the output signal 3100 of the flip-flop FF0 and outputs it to the selection EOR circuit 2831b in the next stage. The signal 3100 is output to the internal state selector 2821 (FIG. 28A) as an intermediate result [0].

選択EOR回路2831bは、フリップフロップFF1の出力信号3101及び選択EOR回路2831aの出力信号を入力し、次段の選択EOR回路2831cに出力する。信号3101は、途中結果[1]として内部状態セレクタ2821(図28(A))へ出力される。   The selection EOR circuit 2831b receives the output signal 3101 of the flip-flop FF1 and the output signal of the selection EOR circuit 2831a, and outputs them to the selection EOR circuit 2831c in the next stage. The signal 3101 is output to the internal state selector 2821 (FIG. 28A) as an intermediate result [1].

選択EOR回路2831cは、フリップフロップFF2の出力信号3102及び選択EOR回路2831bの出力信号を入力し、次段の選択EOR回路に出力する。信号3102は、途中結果[2]として内部状態セレクタ2821(図28(A))へ出力される。   The selection EOR circuit 2831c receives the output signal 3102 of the flip-flop FF2 and the output signal of the selection EOR circuit 2831b, and outputs them to the selection EOR circuit in the next stage. The signal 3102 is output to the internal state selector 2821 (FIG. 28A) as an intermediate result [2].

選択EOR回路2831dは、フリップフロップFF31の出力信号3103及び前段の選択EOR回路の出力信号を入力し、信号3104を仮出力[0]として出力する。また、信号3104は、途中結果[31]として内部状態セレクタ2821(図28(A))へ出力される。   The selection EOR circuit 2831d receives the output signal 3103 of the flip-flop FF31 and the output signal of the previous selection EOR circuit, and outputs the signal 3104 as a temporary output [0]. The signal 3104 is output to the internal state selector 2821 (FIG. 28A) as an intermediate result [31].

第1のEOR演算器2811(図28(A))では、仮出力[0]の信号2860が有効となる。途中結果[0]〜[31]の信号2841は有効でない。その代わりに、図27の第2の演算器2702の途中結果[0]〜[31]の信号2841が次段の第2のEOR演算器2812への入力となる。   In the first EOR operator 2811 (FIG. 28A), the signal 2860 of the temporary output [0] is valid. The signal 2841 of the intermediate results [0] to [31] is not valid. Instead, the signal 2841 of the intermediate results [0] to [31] of the second computing unit 2702 in FIG. 27 is input to the second EOR computing unit 2812 in the next stage.

図28(A)において、第1のEOR演算器2811の仮出力[0]の信号2860は、3個の選択EOR回路2831を介して、出力信号OUT[0]として出力される。選択EOR回路2831には、他の演算器の仮出力[0]の信号2870が入力される。   In FIG. 28A, the signal 2860 of the temporary output [0] of the first EOR operator 2811 is output as the output signal OUT [0] via the three selection EOR circuits 2831. The selection EOR circuit 2831 receives a signal 2870 of a temporary output [0] of another arithmetic unit.

また、第1のEOR演算器2811は、32ビットの途中結果出力信号2841を内部状態セレクタ2821へ出力する。内部状態セレクタ2821は、32ビットの途中結果出力信号2841及2851の中から選択して第2のEOR演算器2812へ出力する。途中結果出力信号2851は、フィードバックループをもつ設定の演算器からのEOR演算器の途中結果出力信号である。   The first EOR operator 2811 outputs a 32-bit intermediate result output signal 2841 to the internal state selector 2821. The internal state selector 2821 selects from the 32-bit intermediate result output signals 2841 and 2851 and outputs the selected signal to the second EOR operator 2812. The intermediate result output signal 2851 is an intermediate result output signal of the EOR arithmetic unit from the arithmetic unit set to have a feedback loop.

第2のEOR演算器2812は、図32に示す構成を有する。選択EOR回路2831aは、前段の途中結果[0]の信号3100を入力し、次段の選択EOR回路2831bに出力する。信号3100は、途中結果[0]として出力される。   The second EOR operator 2812 has the configuration shown in FIG. The selection EOR circuit 2831a inputs the signal 3100 of the intermediate result [0] of the previous stage and outputs it to the selection EOR circuit 2831b of the next stage. The signal 3100 is output as an intermediate result [0].

選択EOR回路2831bは、前段の途中結果[1]の信号3101及び選択EOR回路2831aの出力信号を入力し、次段の選択EOR回路に出力する。信号3101は、途中結果[1]として出力される。   The selection EOR circuit 2831b inputs the signal 3101 of the intermediate result [1] of the previous stage and the output signal of the selection EOR circuit 2831a, and outputs them to the selection EOR circuit of the next stage. The signal 3101 is output as an intermediate result [1].

選択EOR回路2831eは、前段の途中結果[30]の信号3105及び前段の選択EOR回路の出力信号を入力し、次段の選択EOR回路2831dに出力する。   The selection EOR circuit 2831e receives the signal 3105 of the intermediate result [30] of the previous stage and the output signal of the selection EOR circuit of the previous stage, and outputs them to the selection EOR circuit 2831d of the next stage.

選択EOR回路2831dは、前段の途中結果[31]の信号3104及び前段の選択EOR回路2831eの出力信号を入力し、信号3201を仮出力[1]として出力する。また、信号3201は途中結果[30]として出力され、信号3104は途中結果[31]として出力される。なお、信号3201は、第nのEOR演算器の番号nが0ならば途中結果[31]の場所に、1ならば途中結果[30]の場所に、7ならば途中結果[24]の場所に1つだけ入る。   The selection EOR circuit 2831d receives the signal 3104 of the intermediate result [31] of the previous stage and the output signal of the selection EOR circuit 2831e of the previous stage, and outputs the signal 3201 as the temporary output [1]. The signal 3201 is output as the intermediate result [30], and the signal 3104 is output as the intermediate result [31]. The signal 3201 indicates the location of the intermediate result [31] if the number n of the nth EOR operator is 0, the location of the intermediate result [30] if it is 1, and the location of the intermediate result [24] if it is 7. Enter only one.

図28(A)において、第2のEOR演算器2812の仮出力[1]の信号2861は、3個の選択EOR回路2831を介して、出力信号OUT[1]として出力される。選択EOR回路2831には、他の演算器の仮出力[1]の信号2871が入力される。また、第2のEOR演算器2812は、32ビットの途中結果信号2842を出力する。   In FIG. 28A, the signal 2861 of the temporary output [1] of the second EOR operator 2812 is output as the output signal OUT [1] through the three selection EOR circuits 2831. The selection EOR circuit 2831 receives the signal 2871 of the temporary output [1] of another arithmetic unit. The second EOR operator 2812 outputs a 32-bit intermediate result signal 2842.

同様に、内部状態セレクタ2827は、途中結果出力信号2847及び2851の中から選択して第8のEOR演算器2818へ出力する。第8のEOR演算器2818は、仮出力[7]の信号2867及び途中結果出力信号2848を出力する。仮出力信号2867は、3個の選択EOR回路2831を介して出力信号OUT[7]として出力される。その選択EOR回路2831には、他の演算器の仮出力[7]の信号2877も入力される。   Similarly, the internal state selector 2827 selects one of the intermediate result output signals 2847 and 2851 and outputs it to the eighth EOR operator 2818. The eighth EOR operator 2818 outputs a temporary output [7] signal 2867 and an intermediate result output signal 2848. The temporary output signal 2867 is output as the output signal OUT [7] via the three selection EOR circuits 2831. The selection EOR circuit 2831 also receives a signal 2877 of a temporary output [7] of another arithmetic unit.

内部状態セレクタ2828は、途中結果出力信号2848及び2851から選択してFF更新値の信号2849を出力する。   The internal state selector 2828 selects from the intermediate result output signals 2848 and 2851 and outputs a signal 2849 of the FF update value.

本実施形態では、フリップフロップの数は32とし、N=8ビットとしている。出力信号OUT[n]は、演算器のnシフト目の出力である。第1〜第4の演算器では、お互いの内部状態信号を選択できる。実用上は、第1及び第2の演算器、第3及び第4の演算器の間でやり取りできれば良い。   In the present embodiment, the number of flip-flops is 32 and N = 8 bits. The output signal OUT [n] is an nth shift output of the arithmetic unit. The first to fourth computing units can select each other's internal state signals. In practice, it is only necessary to be able to exchange between the first and second arithmetic units and the third and fourth arithmetic units.

最終的に、第2及び第4の演算器の出力のEORを出力信号OUTPUT1とする。このため、第2の演算器の内部でそのEORをとり、出力信号OUTPUT1とする。同様に、第1及び第3の演算器の出力のEORを出力信号OUTPUT2とする。このため、第1の演算器の内部でそのEORをとり、出力信号OUTPUT2とする。   Finally, EOR of the outputs of the second and fourth arithmetic units is set as an output signal OUTPUT1. For this reason, the EOR is taken inside the second arithmetic unit to obtain an output signal OUTPUT1. Similarly, EOR of the outputs of the first and third arithmetic units is set as an output signal OUTPUT2. For this reason, the EOR is taken inside the first arithmetic unit to obtain an output signal OUTPUT2.

図33は、本実施形態による準固定回路の構成例を示す。この準固定回路は、図22のCRC回路、図25の畳み込みエンコーダ、図19(B)、図20(B)、図21(B)のスクランブラ、図27のLFSRを選択的に実現することができる。   FIG. 33 shows a configuration example of the semi-fixed circuit according to the present embodiment. This semi-fixed circuit selectively realizes the CRC circuit of FIG. 22, the convolutional encoder of FIG. 25, the scramblers of FIGS. 19B, 20B, and 21B, and the LFSR of FIG. Can do.

第1の演算器3301は、Nビットの入力信号INを入力し、Nビットの出力信号OUT1を出力する。第2の演算器3302は、Nビットの入力信号INを入力し、Nビットの出力信号OUT2を出力する。第3の演算器3303は、Nビットの入力信号INを入力し、Nビットの出力信号OUT3を出力する。第4の演算器3304は、Nビットの入力信号INを入力し、Nビットの出力信号OUT4を出力する。第1〜第4の演算器3301〜3304は、相互に信号を入出力可能である。第1〜第4の演算器3301〜3304は、同じ構成を有する。   The first computing unit 3301 receives an N-bit input signal IN and outputs an N-bit output signal OUT1. The second computing unit 3302 receives an N-bit input signal IN and outputs an N-bit output signal OUT2. The third arithmetic unit 3303 receives an N-bit input signal IN and outputs an N-bit output signal OUT3. The fourth arithmetic unit 3304 receives an N-bit input signal IN and outputs an N-bit output signal OUT4. The first to fourth arithmetic units 3301 to 3304 can input and output signals with each other. The first to fourth arithmetic units 3301 to 3304 have the same configuration.

図34は、図33の第1の演算器3301の構成例を示す。図34の回路は、基本的には図28(A)の回路と同じであるので、図28(A)の回路と異なる点を説明する。なお、図34では省略しているが、図34の回路にも図28(A)の信号2851、内部状態セレクタ2821〜2828が設けられている。回路3410は図28(A)の回路2800に対応し、EOR演算器3411〜3418は図28(A)のEOR演算器2811〜2818に対応する。   FIG. 34 shows a configuration example of the first computing unit 3301 of FIG. The circuit in FIG. 34 is basically the same as the circuit in FIG. 28A, and therefore, differences from the circuit in FIG. 28A will be described. Although not shown in FIG. 34, the circuit in FIG. 34 is also provided with the signal 2851 and the internal state selectors 2821 to 2828 in FIG. The circuit 3410 corresponds to the circuit 2800 in FIG. 28A, and the EOR calculators 3411 to 418 correspond to the EOR calculators 2811 to 2818 in FIG.

回路3410は、信号3450及び3452を入力し、信号3481を出力する。信号3450は、第1〜第4の演算器からのFF更新値を示す8×4ビット信号である。信号3452は、第1〜第4の演算器からのEOR演算器の途中結果出力信号(32×8×4ビット)である。信号3481は、各フリップフロップの出力信号(32ビット)であり、出力反転回路3482で反転され、32ビット出力信号OUT2として出力される。   The circuit 3410 receives the signals 3450 and 3452 and outputs a signal 3481. The signal 3450 is an 8 × 4 bit signal indicating the FF update value from the first to fourth arithmetic units. A signal 3452 is an intermediate result output signal (32 × 8 × 4 bits) of the EOR calculator from the first to fourth calculators. A signal 3481 is an output signal (32 bits) of each flip-flop, inverted by the output inverting circuit 3482, and output as a 32-bit output signal OUT2.

8ビットの入力信号IN[0]〜IN[7]が入力される。第1のEOR演算器3411は、信号3481及び入力信号IN[0]を入力し、仮出力1[0]の信号3460及び途中結果出力信号(32ビット)3441を出力する。信号3460は、3個の選択EOR回路2831を介して、出力信号OUT1[0]を出力する。その選択EOR回路2831には、他の演算器の仮出力1[0]の信号3470も入力される。   An 8-bit input signal IN [0] to IN [7] is input. The first EOR operator 3411 receives the signal 3481 and the input signal IN [0], and outputs the signal 3460 of the temporary output 1 [0] and the intermediate result output signal (32 bits) 3441. The signal 3460 outputs the output signal OUT1 [0] through the three selection EOR circuits 2831. The selection EOR circuit 2831 also receives a signal 3470 of the temporary output 1 [0] of another arithmetic unit.

第2のEOR演算器3412は、信号3441等及び入力信号IN[1]を入力し、仮出力1[1]の信号3461及び途中結果出力信号(32ビット)3442を出力する。信号3461は、3個の選択EOR回路2831を介して、出力信号OUT1[1]を出力する。その選択EOR回路2831には、他の演算器の仮出力1[1]の信号3471も入力される。   The second EOR operator 3412 receives the signal 3441 and the input signal IN [1], and outputs a signal 3461 of the temporary output 1 [1] and an intermediate result output signal (32 bits) 3442. The signal 3461 outputs the output signal OUT1 [1] through the three selection EOR circuits 2831. The selection EOR circuit 2831 also receives the signal 3471 of the temporary output 1 [1] of another arithmetic unit.

第8のEOR演算器3418は、信号3447等及び入力信号IN[7]を入力し、仮出力1[7]の信号3467及び途中結果出力信号(32ビット)3448を出力する。信号3467は、3個の選択EOR回路2831を介して、出力信号OUT1[7]を出力する。その選択EOR回路2831には、他の演算器の仮出力1[7]の信号3477も入力される。   The eighth EOR operator 3418 receives the signal 3447 and the input signal IN [7], and outputs a signal 3467 of the temporary output 1 [7] and an intermediate result output signal (32 bits) 3448. The signal 3467 outputs the output signal OUT1 [7] through the three selection EOR circuits 2831. The selection EOR circuit 2831 also receives the signal 3477 of the temporary output 1 [7] of another arithmetic unit.

途中結果出力信号3441〜3448は、信号3452として回路3410へフィードバックされる。フィードバック入力値セレクタ3480は、8ビットの仮出力信号3460〜3467及び8ビットの入力信号IN[0]〜IN[7]を入力し、8ビットのFF更新値を示す信号3483を出力する。信号3483は、図25のW0〜W5に相当し、信号3450として回路3410にフィードバックされる。   The intermediate result output signals 3441 to 3448 are fed back to the circuit 3410 as a signal 3452. The feedback input value selector 3480 receives the 8-bit temporary output signals 3460 to 3467 and the 8-bit input signals IN [0] to IN [7], and outputs a signal 3383 indicating an 8-bit FF update value. The signal 3383 corresponds to W0 to W5 in FIG. 25 and is fed back to the circuit 3410 as a signal 3450.

図35は、図34の回路3410の構成例を示す。回路3501〜3506は図29の回路2901〜2906に対応し、セレクタ3508は図29のセレクタ2907に対応し、セレクタ3531は図29のセレクタ2931に対応する。   FIG. 35 shows a configuration example of the circuit 3410 of FIG. The circuits 3501 to 3506 correspond to the circuits 2901 to 2906 in FIG. 29, the selector 3508 corresponds to the selector 2907 in FIG. 29, and the selector 3531 corresponds to the selector 2931 in FIG.

信号3520は、フリップフロップFF0に関するセレクタへの入力信号であり、第1〜第4の演算器の信号3511〜3514を含む。第1の演算器の信号3511は、信号3510及び3483を含む。信号3510は、第1〜第8のEOR演算器の途中結果[0]の信号であり、図34の信号3452に相当する。信号3483は、FF更新値[0]〜FF更新値[7]を示す信号であり、図34の信号3450に相当する。   A signal 3520 is an input signal to the selector regarding the flip-flop FF0, and includes signals 3511 to 514 of the first to fourth arithmetic units. The first computing unit signal 3511 includes signals 3510 and 3483. The signal 3510 is a signal of the intermediate result [0] of the first to eighth EOR calculators and corresponds to the signal 3452 in FIG. The signal 3383 is a signal indicating the FF update value [0] to the FF update value [7], and corresponds to the signal 3450 in FIG.

セレクタ3507は、CRC演算用入力セレクタであり、信号3510から選択して出力する。セレクタ3508は、CRC以外の演算用入力セレクタであり、信号3483から選択して出力する。セレクタ3509は、CRC処理のときにはセレクタ3507の出力信号を選択して出力し、CRC処理以外の処理のときにはセレクタ3508の出力信号を選択して出力する。   A selector 3507 is an input selector for CRC calculation, and is selected from the signal 3510 and output. A selector 3508 is an arithmetic input selector other than the CRC, and is selected from the signal 3483 and output. The selector 3509 selects and outputs the output signal of the selector 3507 during CRC processing, and selects and outputs the output signal of the selector 3508 during processing other than CRC processing.

回路3502は、第2の演算器のフリップフロップFF0の入力データ用回路であり、第2の演算器の信号3512を入力する。回路3503は、第3の演算器のフリップフロップFF0の入力データ用回路であり、第3の演算器の信号3513を入力する。回路3504は、第4の演算器のフリップフロップFF0の入力データ用回路であり、第4の演算器の信号3514を入力する。セレクタ3531は、回路3501〜3504の出力信号を選択してフリップフロップFF0へ出力する。このセレクタ3531の機能により、LFSRの動作が可能になる。   A circuit 3502 is a circuit for input data of the flip-flop FF0 of the second arithmetic unit, and receives a signal 3512 of the second arithmetic unit. A circuit 3503 is a circuit for input data of the flip-flop FF0 of the third arithmetic unit, and receives a signal 3513 of the third arithmetic unit. The circuit 3504 is a circuit for input data of the flip-flop FF0 of the fourth arithmetic unit, and receives the signal 3514 of the fourth arithmetic unit. The selector 3531 selects the output signals of the circuits 3501 to 3504 and outputs them to the flip-flop FF0. The function of the selector 3531 enables LFSR operation.

信号3521は、フリップフロップFF1に関するセレクタへの入力信号であり、第1の演算器の信号3511を含む。回路3505は、第1の演算器のフリップフロップFF1の入力用データを選択するための回路であり、信号3511を入力する。   A signal 3521 is an input signal to the selector related to the flip-flop FF1, and includes a signal 3511 of the first arithmetic unit. A circuit 3505 is a circuit for selecting data for input to the flip-flop FF1 of the first arithmetic unit, and receives a signal 3511.

信号3522は、フリップフロップFF31に関するセレクタへの入力信号であり、第1の演算器の信号3511を含む。回路3506は、第1の演算器のフリップフロップFF31の入力用データを選択するための回路であり、信号3511を入力する。   The signal 3522 is an input signal to the selector regarding the flip-flop FF31, and includes the signal 3511 of the first arithmetic unit. A circuit 3506 is a circuit for selecting data for input to the flip-flop FF31 of the first arithmetic unit, and receives a signal 3511.

フリップフロップFF0〜FF31は、セレクタ3531の出力信号を保持して出力する。   The flip-flops FF0 to FF31 hold and output the output signal of the selector 3531.

図36(A)は、図35の回路3505内のフリップフロップFF1用CRC演算用入力セレクタ3507の構成例を示す。セレクタ3507は、第1〜第8のEOR演算器の途中結果[1]から選択して出力する。   FIG. 36A shows a configuration example of the CRC calculation input selector 3507 for the flip-flop FF1 in the circuit 3505 of FIG. The selector 3507 selects and outputs the intermediate result [1] of the first to eighth EOR calculators.

図36(B)は、図35のフリップフロップFF2用CRC演算用入力セレクタ3507の構成例を示す。セレクタ3507は、第1〜第8のEOR演算器の途中結果[2]から選択して出力する。   FIG. 36B shows a configuration example of the CRC calculation input selector 3507 for the flip-flop FF2 of FIG. The selector 3507 selects and outputs the intermediate result [2] of the first to eighth EOR calculators.

図36(C)は、図35のフリップフロップFFn用CRC演算用入力セレクタ3507の構成例を示す。セレクタ3507は、第1〜第8のEOR演算器の途中結果[n]から選択して出力する。   FIG. 36C shows a configuration example of the CRC calculation input selector 3507 for the flip-flop FFn of FIG. The selector 3507 selects and outputs the intermediate result [n] of the first to eighth EOR operators.

図36(D)は、図35の回路3505内のフリップフロップFF1用CRC以外の演算用入力セレクタ3508の構成例を示す。セレクタ3508は、フリップフロップFF0の出力値、FF更新値[0]〜FF更新値[6]から選択して出力する。   FIG. 36D illustrates a configuration example of the calculation input selector 3508 other than the CRC for the flip-flop FF1 in the circuit 3505 in FIG. The selector 3508 selects and outputs from the output value of the flip-flop FF0, FF update value [0] to FF update value [6].

図36(E)は、図35のフリップフロップFF2用CRC以外の演算用入力セレクタ3508の構成例を示す。セレクタ3508は、フリップフロップFF0及びFF1の出力値、FF更新値[0]〜FF更新値[5]から選択して出力する。   FIG. 36E shows a configuration example of an arithmetic input selector 3508 other than the CRC for the flip-flop FF2 in FIG. The selector 3508 selects and outputs from the output values of the flip-flops FF0 and FF1, FF update value [0] to FF update value [5].

図36(F)は、図35のフリップフロップFFn用CRC以外の演算用入力セレクタ3508の構成例を示す。セレクタ3508は、フリップフロップFF(n−8)〜FF(n−1)の出力値から選択して出力する。   FIG. 36F shows a configuration example of an arithmetic input selector 3508 other than the CRC for the flip-flop FFn in FIG. The selector 3508 selects and outputs from the output values of the flip-flops FF (n-8) to FF (n-1).

図36(F)中、「FF(#)出力」の括弧中の# が負になる場合は、「FF(#)出力」を以下の信号で置き換える。   In FIG. 36F, when “#” in the parentheses of “FF (#) output” is negative, “FF (#) output” is replaced with the following signal.

"-1"ならば FF更新値[0]
"-2"ならば FF更新値[1]
"-3"ならば FF更新値[2]
"-4"ならば FF更新値[3]
"-5"ならば FF更新値[4]
"-6"ならば FF更新値[5]
"-7"ならば FF更新値[6]
"-8"ならば FF更新値[7]
If "-1", FF update value [0]
If it is "-2", FF update value [1]
If "-3", FF update value [2]
If "-4", FF update value [3]
If "-5", FF update value [4]
If "-6", FF update value [5]
If "-7", FF update value [6]
If "-8", FF update value [7]

図37は、図34の第1のEOR演算器3411の構成例を示す。選択EOR回路2831a〜2831dは、図28(B)に示す構成を有する。セレクタ3701aは、入力信号IN[0]及び仮出力1[0]を入力し、選択出力する。選択EOR回路2831aは、フリップフロップFF0の出力信号及びセレクタ3701aの出力信号を入力し、出力信号を出力する。セレクタ3702aは、仮出力1[0]及びフリップフロップFF0の出力信号を入力し、選択した信号を途中結果[0]として出力する。   FIG. 37 shows a configuration example of the first EOR operator 3411 in FIG. The selection EOR circuits 2831a to 2831d have the configuration shown in FIG. The selector 3701a receives the input signal IN [0] and the temporary output 1 [0] and selectively outputs them. The selection EOR circuit 2831a receives the output signal of the flip-flop FF0 and the output signal of the selector 3701a, and outputs an output signal. The selector 3702a receives the provisional output 1 [0] and the output signal of the flip-flop FF0, and outputs the selected signal as an intermediate result [0].

セレクタ3701bは、選択EOR回路2831aの出力信号及び仮出力1[0]を入力し、選択出力する。選択EOR回路2831bは、フリップフロップFF1の出力信号及びセレクタ3701bの出力信号を入力し、出力信号を出力する。セレクタ3702bは、選択EOR回路2831aの出力信号及びフリップフロップFF1の出力信号を入力し、選択した信号を途中結果[1]として出力する。   The selector 3701b receives and outputs the output signal of the selection EOR circuit 2831a and the temporary output 1 [0]. The selection EOR circuit 2831b receives the output signal of the flip-flop FF1 and the output signal of the selector 3701b, and outputs an output signal. The selector 3702b receives the output signal of the selection EOR circuit 2831a and the output signal of the flip-flop FF1, and outputs the selected signal as an intermediate result [1].

セレクタ3701cは、選択EOR回路2831bの出力信号及び仮出力1[0]を入力し、選択出力する。選択EOR回路2831cは、フリップフロップFF2の出力信号及びセレクタ3701cの出力信号を入力し、出力信号を出力する。セレクタ3702cは、選択EOR回路2831bの出力信号及びフリップフロップFF2の出力信号を入力し、選択した信号を途中結果[2]として出力する。   The selector 3701c receives the output signal of the selection EOR circuit 2831b and the temporary output 1 [0] and selectively outputs them. The selection EOR circuit 2831c receives the output signal of the flip-flop FF2 and the output signal of the selector 3701c, and outputs an output signal. The selector 3702c receives the output signal of the selection EOR circuit 2831b and the output signal of the flip-flop FF2, and outputs the selected signal as an intermediate result [2].

セレクタ3701dは、入力信号IN[0]及び前段の選択EOR回路の出力信号を入力し、選択出力する。選択EOR回路2831dは、フリップフロップFF31の出力信号及びセレクタ3701dの出力信号を入力し、仮出力1[0]を出力する。セレクタ3703は、入力信号IN[0]、仮出力1[0]、及びフリップフロップFF31の出力信号を入力し、選択出力する。セレクタ3702dは、前段の選択EOR回路の出力信号及びセレクタ3703の出力信号を入力し、選択した信号を途中結果[31]として出力する。   The selector 3701d receives the input signal IN [0] and the output signal of the selection EOR circuit at the previous stage, and selects and outputs it. The selection EOR circuit 2831d receives the output signal of the flip-flop FF31 and the output signal of the selector 3701d, and outputs a temporary output 1 [0]. The selector 3703 receives the input signal IN [0], the temporary output 1 [0], and the output signal of the flip-flop FF31, and selectively outputs them. The selector 3702d receives the output signal of the previous selection EOR circuit and the output signal of the selector 3703, and outputs the selected signal as an intermediate result [31].

図38は、図34の第2のEOR演算器3412の構成例を示す。選択EOR回路2831a〜2831dは、図28(B)に示す構成を有する。セレクタ3701aは、入力信号IN[1]及び仮出力1[1]を入力し、選択出力する。選択EOR回路2831aは、前段の途中結果[0]及びセレクタ3701aの出力信号を入力し、出力信号を出力する。セレクタ3702aは、仮出力1[1]及び前段の途中結果[0]を入力し、選択した信号を途中結果[0]として出力する。   FIG. 38 shows a configuration example of the second EOR operator 3412 of FIG. The selection EOR circuits 2831a to 2831d have the configuration shown in FIG. The selector 3701a receives the input signal IN [1] and the temporary output 1 [1] and selectively outputs them. The selection EOR circuit 2831a receives the intermediate result [0] of the previous stage and the output signal of the selector 3701a, and outputs an output signal. The selector 3702a receives the provisional output 1 [1] and the intermediate result [0] of the previous stage, and outputs the selected signal as the intermediate result [0].

セレクタ3701bは、選択EOR回路2831aの出力信号及び仮出力1[1]を入力し、選択出力する。選択EOR回路2831bは、前段の途中結果[1]及びセレクタ3701bの出力信号を入力し、出力信号を出力する。セレクタ3702bは、選択EOR回路2831aの出力信号及び前段の途中結果[1]を入力し、選択した信号を途中結果[1]として出力する。   The selector 3701b receives and outputs the output signal of the selection EOR circuit 2831a and the temporary output 1 [1]. The selection EOR circuit 2831b receives the intermediate result [1] of the previous stage and the output signal of the selector 3701b, and outputs an output signal. The selector 3702b receives the output signal of the selection EOR circuit 2831a and the intermediate result [1] of the previous stage, and outputs the selected signal as the intermediate result [1].

セレクタ3701cは、前段の選択EOR回路の出力信号及び仮出力1[1]を入力し、選択出力する。選択EOR回路2831cは、前段の途中結果[30]及びセレクタ3701cの出力信号を入力し、出力信号を出力する。セレクタ3703は、入力信号IN[1]、仮出力1[1]、及び前段の途中結果[30]を入力し、選択出力する。セレクタ3702cは、前段の選択EOR回路の出力信号及びセレクタ3703の出力信号を入力し、選択した信号を途中結果[30]として出力する。   The selector 3701c receives and outputs the output signal of the selection EOR circuit in the previous stage and the temporary output 1 [1]. The selection EOR circuit 2831c receives the intermediate result [30] of the previous stage and the output signal of the selector 3701c, and outputs an output signal. The selector 3703 receives the input signal IN [1], the temporary output 1 [1], and the intermediate result [30] of the previous stage and selectively outputs them. The selector 3702c receives the output signal of the selection EOR circuit in the previous stage and the output signal of the selector 3703, and outputs the selected signal as an intermediate result [30].

セレクタ3701dは、入力信号IN[1]及び選択EOR回路2831cの出力信号を入力し、選択出力する。選択EOR回路2831dは、前段の途中結果[31]及びセレクタ3701dの出力信号を入力し、仮出力1[1]を出力する。セレクタ3702dは、選択EOR回路2831cの出力信号及び前段の途中結果[31]を入力し、選択した信号を途中結果[31]として出力する。   The selector 3701d receives the input signal IN [1] and the output signal of the selection EOR circuit 2831c and selectively outputs them. The selection EOR circuit 2831d receives the intermediate result [31] of the previous stage and the output signal of the selector 3701d, and outputs a temporary output 1 [1]. The selector 3702d receives the output signal of the selection EOR circuit 2831c and the intermediate result [31] of the previous stage, and outputs the selected signal as the intermediate result [31].

セレクタ3703は、EOR演算器の入力信号がIN[0]ならば途中結果[31]の場所に、IN[1]ならば途中結果[30]の場所に、IN[7]ならば途中結果[24]の場所に1つだけ入る。   If the input signal of the EOR operator is IN [0], the selector 3703 places the intermediate result [31], IN [1] places the intermediate result [30], and IN [7] gives the intermediate result [ 24] Enter only one place.

ここまでの構成をまとめると、図33の準固定回路は図34の回路を4つ並べた回路である。図34において、出力信号OUT1[0]〜[7]はスクランブラ、CRC回路、畳み込みエンコーダ、LFSRの出力となる。出力信号OUT2は、CRC回路のビット反転出力となる。CRC回路の仕様によっては、出力を反転して出力する必要があるので、出力反転回路3482で対応できるようにする。   In summary, the semi-fixed circuit of FIG. 33 is a circuit in which four circuits of FIG. 34 are arranged. In FIG. 34, output signals OUT1 [0] to [7] are outputs of the scrambler, CRC circuit, convolutional encoder, and LFSR. The output signal OUT2 is a bit inverted output of the CRC circuit. Depending on the specifications of the CRC circuit, it is necessary to invert and output the output, so that the output inversion circuit 3482 can cope with it.

有効な出力範囲について説明する。スクランブラ、畳み込み符号化器、LFSRは入力に対して全てのデータが有効である。しかし、CRC回路は、生成多項式の長さという一定のビット列が入力完了した時点での全メモリの出力が有効である。逆にいえば、予め決まったビット列が入力するまでは無効な出力となる。例えば、16ビットのCRC回路ならば16ビットの入力が16クロックかかって16個のメモリに入力された時点の出力が有効となる。   The effective output range will be described. The scrambler, convolutional encoder, and LFSR are all valid for input. However, in the CRC circuit, the output of all memories at the time when the input of a certain bit string of the length of the generator polynomial is completed is effective. In other words, the output is invalid until a predetermined bit string is input. For example, in the case of a 16-bit CRC circuit, the output when 16-bit input takes 16 clocks and is input to 16 memories becomes valid.

従来の線形帰還シフトレジスタ等は、1ビット入力されると1ビット出力されるシリアルな処理であった。本実施形態によれば、1ビットごとシフト演算ではなく複数シフト分先までを先見処理する回路を1つの準固定回路にして、かつその処理の切り替えをセレクタにより行うことによりスクランブラ、畳み込みエンコーダ、CRC回路、及びLFSRを実現することができる。   A conventional linear feedback shift register or the like is a serial process that outputs 1 bit when 1 bit is input. According to the present embodiment, a circuit that performs look-ahead processing up to a plurality of shift points instead of a bit-by-bit shift operation is made one quasi-fixed circuit, and the processing is switched by a selector, whereby a scrambler, a convolutional encoder, CRC circuit and LFSR can be realized.

(第9の実施形態)
図39は、本発明の第9の実施形態による準固定回路の構成例を示す。この準固定回路は、複数種類のビタビデコーダ117(図1(B))を実現できる。ブランチメトリック演算部3901は、入力信号A〜Cを入力し、トレリス線図におけるブランチメトリック(符号語のハミング距離)を計算する。ACS部3902は、そのブランチメトリックを基にトレリス線図のステップ毎にパスメトリックを求め、生き残りパスとそのパスメトリック値をパスメモリ部3903に書き出す。パスメモリ部3903は、制御部3911及びRAM3912を有する。制御部3911は、ACS部3902から入力されるデータをRAM3912に書き込み、RAM3912内のデータをトレースバック部3904に読み出す。トレースバック部3904は、入力信号がある一定の回数行われたら(もしくは、符号化の終端のために挿入されたダミービットが入力されたら)、トレースバックし、最短のパスメトリックを求める。パスメトリックは、ブランチメトリックのつながりで表現される。最短のパスメトリックが正しい符号語の信号であるとして、デコードすることができる。
(Ninth embodiment)
FIG. 39 shows a configuration example of a semi-fixed circuit according to the ninth embodiment of the present invention. This semi-fixed circuit can realize a plurality of types of Viterbi decoders 117 (FIG. 1B). The branch metric calculation unit 3901 receives the input signals A to C and calculates a branch metric (code word hamming distance) in the trellis diagram. The ACS unit 3902 obtains a path metric for each step of the trellis diagram based on the branch metric, and writes the surviving path and its path metric value to the path memory unit 3903. The path memory unit 3903 includes a control unit 3911 and a RAM 3912. The control unit 3911 writes the data input from the ACS unit 3902 to the RAM 3912 and reads the data in the RAM 3912 to the traceback unit 3904. The traceback unit 3904 traces back when the input signal is performed a certain number of times (or when a dummy bit inserted for the end of encoding is input), and obtains the shortest path metric. The path metric is expressed by a connection of branch metrics. Decoding can be performed assuming that the shortest path metric is a signal of a correct codeword.

具体的に符号化率S/T=1/2,1/3に対応するビタビデコーダを例として、ブランチメトリック演算部3901とACS部3902について説明する。分母Tは入力の信号数に、分子Sは出力の信号数に対応する。使用したいTが3とするならば、必要な入力は3本(A,B,C)の信号となる。   Specifically, the branch metric calculation unit 3901 and the ACS unit 3902 will be described by taking a Viterbi decoder corresponding to the coding rate S / T = 1/2, 1/3 as an example. The denominator T corresponds to the number of input signals, and the numerator S corresponds to the number of output signals. If T to be used is 3, the required inputs are three (A, B, C) signals.

図40は、符号化率1/2及び1/3に対応するブランチメトリック演算部3901の構成例を示す。加算器4001は、入力信号A及びBを加算し、信号BM00を出力する。信号BM00は、入力信号B,Aと符号語「00」とのブランチメトリック値(ハミング距離)を示す。加算器4002は、入力信号Aの反転値及び入力信号Bを加算し、信号BM01を出力する。信号BM01は、入力信号B,Aと符号語「01」とのブランチメトリック値を示す。加算器4003は、入力信号A及び入力信号Bの反転値を加算し、信号BM10を出力する。信号BM10は、入力信号B,Aと符号語「10」とのブランチメトリック値を示す。加算器4004は、入力信号Aの反転値及び入力信号Bの反転値を加算し、信号BM11を出力する。信号BM11は、入力信号B,Aと符号語「11」とのブランチメトリック値を示す。符号化率1/2の場合、セレクタ4021〜4024は、4つのブランチメトリック信号BM00、BM01,BM10,BM11を選択して、信号BM000,BM001,BM010,BM011として出力する。   FIG. 40 shows a configuration example of the branch metric calculation unit 3901 corresponding to the coding rates 1/2 and 1/3. The adder 4001 adds the input signals A and B and outputs a signal BM00. The signal BM00 indicates a branch metric value (Hamming distance) between the input signals B and A and the code word “00”. The adder 4002 adds the inverted value of the input signal A and the input signal B, and outputs a signal BM01. The signal BM01 indicates a branch metric value between the input signals B and A and the code word “01”. The adder 4003 adds the inverted values of the input signal A and the input signal B, and outputs a signal BM10. The signal BM10 indicates a branch metric value between the input signals B and A and the code word “10”. The adder 4004 adds the inverted value of the input signal A and the inverted value of the input signal B, and outputs a signal BM11. The signal BM11 indicates a branch metric value between the input signals B and A and the code word “11”. When the coding rate is 1/2, the selectors 4021 to 4024 select four branch metric signals BM00, BM01, BM10, and BM11 and output them as signals BM000, BM001, BM010, and BM011.

次に、符号化率1/3の場合を説明する。加算器4011は、信号BM00及び入力信号Cを加算し、セレクタ4021を介して信号BM000を出力する。信号BM000は、入力信号C,B,Aと符号語「000」とのブランチメトリック値を示す。加算器4012は、信号BM00及び入力信号Cの反転値を加算し、信号BM100を出力する。信号BM100は、入力信号C,B,Aと符号語「100」とのブランチメトリック値を示す。   Next, a case where the coding rate is 1/3 will be described. The adder 4011 adds the signal BM00 and the input signal C, and outputs a signal BM000 via the selector 4021. A signal BM000 indicates a branch metric value of the input signals C, B, A and the code word “000”. The adder 4012 adds the signal BM00 and the inverted value of the input signal C, and outputs a signal BM100. The signal BM100 indicates a branch metric value of the input signals C, B, A and the code word “100”.

加算器4013は、信号BM01及び入力信号Cを加算し、セレクタ4022を介して信号BM001を出力する。信号BM001は、入力信号C,B,Aと符号語「001」とのブランチメトリック値を示す。加算器4014は、信号BM01及び入力信号Cの反転値を加算し、信号BM101を出力する。信号BM101は、入力信号C,B,Aと符号語「101」とのブランチメトリック値を示す。   The adder 4013 adds the signal BM01 and the input signal C, and outputs a signal BM001 via the selector 4022. A signal BM001 indicates a branch metric value of the input signals C, B, A and the code word “001”. The adder 4014 adds the signal BM01 and the inverted value of the input signal C, and outputs a signal BM101. A signal BM101 indicates a branch metric value of the input signals C, B, A and the code word “101”.

加算器4015は、信号BM10及び入力信号Cを加算し、セレクタ4023を介して信号BM010を出力する。信号BM010は、入力信号C,B,Aと符号語「010」とのブランチメトリック値を示す。加算器4016は、信号BM10及び入力信号Cの反転値を加算し、信号BM110を出力する。信号BM110は、入力信号C,B,Aと符号語「110」とのブランチメトリック値を示す。   The adder 4015 adds the signal BM10 and the input signal C, and outputs a signal BM010 via the selector 4023. A signal BM010 indicates a branch metric value of the input signals C, B, A and the code word “010”. The adder 4016 adds the signal BM10 and the inverted value of the input signal C, and outputs a signal BM110. The signal BM110 indicates a branch metric value of the input signals C, B, A and the code word “110”.

加算器4017は、信号BM11及び入力信号Cを加算し、セレクタ4024を介して信号BM011を出力する。信号BM011は、入力信号C,B,Aと符号語「011」とのブランチメトリック値を示す。加算器4018は、信号BM11及び入力信号Cの反転値を加算し、信号BM111を出力する。信号BM111は、入力信号C,B,Aと符号語「111」とのブランチメトリック値を示す。   The adder 4017 adds the signal BM11 and the input signal C, and outputs a signal BM011 via the selector 4024. The signal BM011 indicates branch metric values of the input signals C, B, A and the code word “011”. The adder 4018 adds the signal BM11 and the inverted value of the input signal C, and outputs a signal BM111. The signal BM111 indicates a branch metric value of the input signals C, B, A and the code word “111”.

セレクタ4021〜4024は、符号化率の選択信号に応じて、選択出力する。ブランチメトリックのとり方の全パターン数は、2のT乗パターンである。ブランチメトリック演算部3901では、符号化率に対応するように全てのブランチメトリックを予め計算してACS部3902に出力する。図40では、1/2と1/3の2つの符号化率に対応しているので出力が多くなる。これを防ぐため、Tが2のときは、BM00,BM01,BM10,BM11をBM000,BM001,BM010,BM011として出力する。   The selectors 4021 to 4024 select and output in accordance with the coding rate selection signal. The total number of patterns for the branch metric is 2 T power patterns. In the branch metric calculation unit 3901, all branch metrics are calculated in advance so as to correspond to the coding rate, and output to the ACS unit 3902. In FIG. 40, since two coding rates of 1/2 and 1/3 are supported, the output increases. To prevent this, when T is 2, BM00, BM01, BM10, and BM11 are output as BM000, BM001, BM010, and BM011.

図41は、ACS部3902の構成例を示す。256個のセレクタ4100〜4102等には、8個のブランチメトリック信号BM000〜BM111及び256個のパスメトリック信号PM000〜PM255を入力し、PM選択信号、BM選択信号及び符号化率選択信号に応じて選択し、パスメトリック信号PM_A、PM_B及びブランチメトリック信号BM_A,BM_Bを出力する。256個のACS4110〜4112等は、パスメトリック信号PM_A、PM_B及びブランチメトリック信号BM_A,BM_Bを入力し、加算、比較及び選択を行い、パスメトリック信号PM000〜PM255及び選択されたパスPATH000〜PATH255を生き残りパスSLとして出力する。   FIG. 41 shows a configuration example of the ACS unit 3902. Eight branch metric signals BM000 to BM111 and 256 path metric signals PM000 to PM255 are input to 256 selectors 4100 to 4102 and the like according to the PM selection signal, the BM selection signal, and the coding rate selection signal. The path metric signals PM_A and PM_B and the branch metric signals BM_A and BM_B are output. 256 ACSs 4110-4112, etc., receive path metric signals PM_A, PM_B and branch metric signals BM_A, BM_B, perform addition, comparison and selection, and survive path metric signals PM000-PM255 and selected paths PATH000-PATH255. Output as path SL.

図42は、セレクタ4100及びACS4110の構成例を示す。まず、セレクタ4100について説明する。セレクタ4201は、PM選択信号及び符号化率選択信号に応じて、パスメトリック信号PM000〜PM255の中から1つを選択し、信号PM_Aとして出力する。セレクタ4202も、PM選択信号及び符号化率選択信号に応じて、パスメトリック信号PM000〜PM255の中から1つを選択し、信号PM_Bとして出力する。セレクタ4203は、BM選択信号及び符号化率選択信号に応じて、ブランチメトリック信号BM000〜BM111の中から1つを選択し、信号BM_Aとして出力する。セレクタ4204も、BM選択信号及び符号化率選択信号に応じて、ブランチメトリック信号BM000〜BM111の中から1つを選択し、信号BM_Bとして出力する。   FIG. 42 shows a configuration example of the selector 4100 and the ACS 4110. First, the selector 4100 will be described. The selector 4201 selects one of the path metric signals PM000 to PM255 according to the PM selection signal and the coding rate selection signal, and outputs it as a signal PM_A. The selector 4202 also selects one of the path metric signals PM000 to PM255 according to the PM selection signal and the coding rate selection signal, and outputs it as a signal PM_B. The selector 4203 selects one of the branch metric signals BM000 to BM111 according to the BM selection signal and the coding rate selection signal, and outputs it as a signal BM_A. The selector 4204 also selects one of the branch metric signals BM000 to BM111 according to the BM selection signal and the coding rate selection signal, and outputs it as a signal BM_B.

次に、ACS4110について説明する。加算器4211は、信号PM_A及びBM_Aを加算し、符号が0のときのパスメトリックを出力する。加算器4221は、信号PM_B及びBM_Bを加算し、符号が1のときのパスメトリックを出力する。比較器4222は、加算器4211の出力信号から加算器4221の出力信号を減算し、その符号をセレクタ4212及びフリップフロップ4223へ出力する。セレクタ4212は、その符号に応じて、加算器4211又は4221の出力信号を選択し、フリップフロップ4213へ出力する。すなわち、小さいパスメトリックを選択して、出力する。フリップフロップ4213は、パスメトリックPM000を記憶して出力する。また、フリップフロップ4223は、符号を記憶し、選択されたパスPATH000を出力する。   Next, the ACS 4110 will be described. The adder 4211 adds the signals PM_A and BM_A, and outputs a path metric when the sign is 0. The adder 4221 adds the signals PM_B and BM_B, and outputs a path metric when the sign is 1. The comparator 4222 subtracts the output signal of the adder 4221 from the output signal of the adder 4211 and outputs the sign to the selector 4212 and the flip-flop 4223. The selector 4212 selects the output signal of the adder 4211 or 4221 according to the sign, and outputs it to the flip-flop 4213. That is, a small path metric is selected and output. The flip-flop 4213 stores and outputs the path metric PM000. The flip-flop 4223 stores the code and outputs the selected path PATH000.

ACS部は、最大の状態数256(000〜256)に対応できる。ACS部中の256個のセレクタ000〜255は、ブランチメトリック演算部3901の出力の中から各々の状態(000〜255)毎に必要なものを選択(PM選択、BM選択、符号化率選択)して対応するACS000〜255に出力する。   The ACS unit can cope with the maximum number of states 256 (000 to 256). The 256 selectors 000 to 255 in the ACS unit select necessary ones for each state (000 to 255) from the outputs of the branch metric calculation unit 3901 (PM selection, BM selection, coding rate selection). And output to corresponding ACS000-255.

3つある回路設定(PM選択、BM選択、符号化率選択)は、符号化データ(図39中の入力信号A,B,C)を生成、出力する畳み込みエンコーダ102(図1(A))の作りが決まれば一意に決まる。出力である次のステップのパスメトリックPM000と選択された(生き残った)パス情報PATHを計算するには、符号化率の分子S=1のときパスメトリックとブランチメトリックが2組(PM_A,BM_AとPM_B,BM_Bの2組)必要となる。一般化すると、2のS乗組のパスメトリックとブランチメトリックを1つのACSに用意すれば良い。   There are three circuit settings (PM selection, BM selection, coding rate selection) that generate and output encoded data (input signals A, B, and C in FIG. 39) (FIG. 1 (A)). It will be decided uniquely if the making of is decided. To calculate the path metric PM000 of the next step as the output and the selected (survived) path information PATH, when the numerator S = 1 of the coding rate, two sets of path metrics and branch metrics (PM_A, BM_A and 2 sets of PM_B and BM_B). To generalize, the path metric and branch metric of 2 S-groups may be prepared in one ACS.

実際には、使用する符号化率としてS1/T1=1/2、S2/T2=1/3、状態数が64、256の2セットを考えるならば、セレクタ4201、4202、4203、4204の入力は256本も必要ない。((2のS1乗)+(2のS2乗))×2セット=8本で良い。使用する符号化率としてS1/T1=1/2、S2/T2=1/3、S3/T3=2/3、状態数が64、256の2セットを考えるならば、((2のS1乗)+(2のS2乗)+(2のS3乗))×2セット=16本で良い。   Actually, if two sets of coding rates to be used are S1 / T1 = 1/2, S2 / T2 = 1/3, and the number of states is 64,256, the inputs of the selectors 4201, 4202, 4203, 4204 are input. 256 are not necessary. ((2 to the power of S1) + (2 to the power of S2)) × 2 sets = 8 is sufficient. If two sets of coding rates to be used are S1 / T1 = 1/2, S2 / T2 = 1/3, S3 / T3 = 2/3, and the number of states is 64, 256, ((2 raised to the S1 power ) + (2 to the square of S) + (2 to the square of S3)) × 2 sets = 16.

以上のように、符号化率と状態数といったパラメータに依存したビタビデコーダでは、予め設計時に決定した状態数だけ用意し、それに対するパスメトリックとブランチメトリックのとり方(選択)を固定化したうえで配線情報を決定し回路化されるが、本実施形態の準固定回路ではこれらのとり方をハードウエア中に予め用意したセレクタ(ブランチメトリック演算部とACS部の内部にある)の設定を変更することにより、とり方に自由度をもたせることができ、あらゆる符号化率、状態数の畳み込み符号を一つのビタビデコーダでデコードできる。   As described above, in a Viterbi decoder that depends on parameters such as coding rate and number of states, the number of states determined in advance is prepared, and the path metric and branch metric selection (selection) are fixed and wiring is performed. Information is determined and circuitized, but in the quasi-fixed circuit of this embodiment, by changing the setting of a selector (inside the branch metric calculation unit and ACS unit) prepared in advance in the hardware. The degree of freedom can be given, and convolutional codes of any coding rate and number of states can be decoded by one Viterbi decoder.

(第10の実施形態)
図43(A)は、図1(B)のマッチトフィルタ113の構成例を示す。このマッチトフィルタは、例えば16タップを有し、16個の遅延素子レジスタ4301を有する。16個のレジスタ4301(Reg00〜Reg15)には、実数成分データDr及び虚数成分データDiが入力データとして入力される。レジスタReg00は、実数成分データDr0及び虚数成分データDi0を複素乗算回路4302に出力する。複素乗算回路4302は、図43(B)の構成を有し、入力データDr0,Di0及び係数Wr0,Wi0を入力し、複素乗算する。係数Wr0は実数成分であり、係数Wi0は虚数成分である。
(Tenth embodiment)
FIG. 43A shows a configuration example of the matched filter 113 in FIG. This matched filter has, for example, 16 taps and 16 delay element registers 4301. Real number component data Dr and imaginary number component data Di are input to 16 registers 4301 (Reg00 to Reg15) as input data. The register Reg00 outputs the real number component data Dr0 and the imaginary number component data Di0 to the complex multiplication circuit 4302. The complex multiplication circuit 4302 has the configuration shown in FIG. 43B, and receives the input data Dr0 and Di0 and the coefficients Wr0 and Wi0 and performs complex multiplication. The coefficient Wr0 is a real number component, and the coefficient Wi0 is an imaginary number component.

図43(B)において、複素乗算回路4302は、4個の乗算器4311〜4314及び2個の加算器4315,4316を有する。乗算器4311は、実数成分データDr0及び実数成分係数Wr0を乗算して出力する。乗算器4312は、虚数成分データDi0及び虚数成分係数Wi0を乗算して出力する。乗算器4313は、実数成分データDr0及び虚数成分係数Wi0を乗算して出力する。乗算器4314は、虚数成分データDi0及び実数成分係数Wr0を乗算して出力する。加算器4315は、乗算器4311の出力に正符号を付与し、乗算器4312の出力に負符号を付与し、両者を加算して出力する。加算器4316は、乗算器4313の出力に正符号を付与し、乗算器4314の出力に正符号を付与し、両者を加算して出力する。   43B, the complex multiplier circuit 4302 includes four multipliers 4311 to 4314 and two adders 4315 and 4316. The multiplier 4311 multiplies the real number component data Dr0 and the real number component coefficient Wr0 and outputs the result. The multiplier 4312 multiplies the imaginary number component data Di0 and the imaginary number component coefficient Wi0 and outputs the result. The multiplier 4313 multiplies the real number component data Dr0 and the imaginary number component coefficient Wi0 and outputs the result. The multiplier 4314 multiplies the imaginary number component data Di0 and the real number component coefficient Wr0 and outputs the result. The adder 4315 gives a positive sign to the output of the multiplier 4311, gives a negative sign to the output of the multiplier 4312, adds both, and outputs the result. The adder 4316 gives a plus sign to the output of the multiplier 4313, gives a plus sign to the output of the multiplier 4314, adds both, and outputs the result.

図43(A)において、複素乗算回路4303も同様に、入力データDr1,Di1及び係数Wr1,Wi1を入力し、複素乗算する。加算器群4304は、2個の加算器を有し、2個の複素乗算回路4302及び4303の出力の対応する成分同士を加算して出力する。加算器群4305は、2個の加算器を有し、隣接する2個の加算器群4304の出力の対応する成分同士を加算して出力する。加算器群4306は、2個の加算器を有し、隣接する2個の加算器群4305の出力の対応する成分同士を加算して出力する。加算器群4307は、2個の加算器を有し、隣接する2個の加算器群4306の出力の対応する成分同士を加算して出力データ(実数成分データ及び虚数成分データを含む)を出力する。   In FIG. 43A, the complex multiplication circuit 4303 similarly receives the input data Dr1, Di1 and the coefficients Wr1, Wi1 and performs complex multiplication. The adder group 4304 has two adders, adds corresponding components of the outputs of the two complex multiplier circuits 4302 and 4303, and outputs the result. The adder group 4305 has two adders, adds corresponding components of the outputs of two adjacent adder groups 4304, and outputs the result. The adder group 4306 has two adders, adds the corresponding components of the outputs of the two adjacent adder groups 4305, and outputs the result. The adder group 4307 has two adders, adds corresponding components of the outputs of two adjacent adder groups 4306, and outputs output data (including real number component data and imaginary number component data). To do.

以上のように、このマッチトフィルタは、複素数入力データDr,Diに対して16タップのフィルタ演算を行い、複素数出力する。複素乗算回路4302等では、乗算器4個と加算器2個で複素乗算を行っている。その出力は、複素成分を別々に加算していくために加算器群4304を1加算単位として加算され最終的に16タップ分の複素乗算結果の和を出力している。よって、使用するリソースは、16個のレジスタ、64個の乗算器、62個の加算器である。   As described above, this matched filter performs a 16-tap filter operation on the complex number input data Dr and Di, and outputs a complex number. In the complex multiplication circuit 4302 and the like, complex multiplication is performed by four multipliers and two adders. The output is added using the adder group 4304 as one addition unit in order to add the complex components separately, and finally the sum of the complex multiplication results for 16 taps is output. Thus, the resources to be used are 16 registers, 64 multipliers, and 62 adders.

図45は、図1(B)のFFT114の構成例を示す。このFFTは、基数2の時間間引き8ポイントFFTの場合を例に示す。入力データa0,a1,…,a7は、複素数データである。出力データは、A0,A1,…,A7である。Wφ=exp((2π/N)×φ))である。ここで、Nはポイント数であり、例えば8である。交点で加算を実行し、Wφの点で複素乗算する。“−”の記号があるところでは減算を実行する。   FIG. 45 illustrates a configuration example of the FFT 114 in FIG. This FFT is an example of a radix-2 time decimation 8-point FFT. The input data a0, a1,..., A7 are complex data. The output data is A0, A1,..., A7. Wφ = exp ((2π / N) × φ)). Here, N is the number of points, for example, 8. Addition is performed at the intersection, and complex multiplication is performed at the point of Wφ. Subtraction is performed where there is a "-" sign.

第1ステージ4501、第2ステージ4502及び第3ステージ4503では、それぞれ4回のバタフライ演算を行う。バタフライ演算は、図44に示すバタフライ演算器により行われ、2個の入力データに対して行われる演算である。例えば、第1ステージ4501の1回目のバタフライ演算では、(a0+a4)×1の演算と(a0−a4)×1の演算が行われる。係数Wの乗算がない場合には、係数W=1として乗算することと等価である。第1ステージ4501の2回目のバタフライ演算では、(a2+a6)×W0の演算と(a2−a6)×W2の演算が行われる。 Each of the first stage 4501, the second stage 4502, and the third stage 4503 performs four butterfly calculations. The butterfly calculation is performed by the butterfly calculator shown in FIG. 44 and performed on two pieces of input data. For example, in the first butterfly computation of the first stage 4501, (a0 + a4) × 1 computation and (a0−a4) × 1 computation are performed. When there is no multiplication of the coefficient W, this is equivalent to multiplication with the coefficient W = 1. In the second butterfly computation of the first stage 4501, (a2 + a6) × W 0 computation and (a2-a6) × W 2 computation are performed.

図44は、バタフライ演算器4400の構成例を示す。図43(A)と同様に、レジスタ4401は、2個の入力データD0(=Dr0+jDi0)及びD1(=Dr1+jDi1)をバタフライ演算器4400に出力する。バタフライ演算器4400は、2個の入力データD0,D1の他に、係数W(=Wr0+jWi0)を入力し、バタフライ演算を行い、次式の出力データD0_out及びD1_outを出力する。ここで、(*)は、複素共役を表す。   FIG. 44 shows a configuration example of the butterfly calculator 4400. Similarly to FIG. 43A, the register 4401 outputs two pieces of input data D0 (= Dr0 + jDi0) and D1 (= Dr1 + jDi1) to the butterfly calculator 4400. The butterfly calculator 4400 receives a coefficient W (= Wr0 + jWi0) in addition to the two pieces of input data D0 and D1, performs a butterfly calculation, and outputs output data D0_out and D1_out of the following equations. Here, (*) represents a complex conjugate.

D0_out=D0+W(*)×D1
D1_out=D0−W(*)×D1
D0_out = D0 + W (*) × D1
D1_out = D0−W (*) × D1

乗算器4411及び4415は、実数成分データDr1及び実数成分係数Wr0を乗算して出力する。乗算器4412及び4416は、虚数成分データDi1及び虚数成分係数Wi0を乗算して出力する。乗算器4413及び4417は、虚数成分データDi1及び実数成分係数Wr0を乗算して出力する。乗算器4414及び4418は、実数成分データDr1及び虚数成分係数Wi0を乗算して出力する。   Multipliers 4411 and 4415 multiply the real number component data Dr1 and the real number component coefficient Wr0 and output the result. Multipliers 4412 and 4416 multiply the imaginary number component data Di1 and the imaginary number component coefficient Wi0 and output the result. Multipliers 4413 and 4417 multiply the imaginary number component data Di1 and the real number component coefficient Wr0 and output the result. Multipliers 4414 and 4418 multiply and output the real number component data Dr1 and the imaginary number component coefficient Wi0.

加算器4421は、乗算器4411の出力に正符号を付与し、乗算器4412の出力に負符号を付与し、両者を加算して出力する。加算器4422は、乗算器4413の出力に正符号を付与し、乗算器4414の出力に正符号を付与し、両者を加算して出力する。加算器4423は、乗算器4415の出力に負符号を付与し、乗算器4416の出力に正符号を付与し、両者を加算して出力する。加算器4424は、乗算器4417の出力に正符号を付与し、乗算器4418の出力に正符号を付与し、両者を加算して出力する。   The adder 4421 gives a positive sign to the output of the multiplier 4411, gives a negative sign to the output of the multiplier 4412, adds both, and outputs the result. The adder 4422 gives a plus sign to the output of the multiplier 4413, gives a plus sign to the output of the multiplier 4414, adds both, and outputs the result. The adder 4423 gives a negative sign to the output of the multiplier 4415, gives a positive sign to the output of the multiplier 4416, adds both, and outputs the result. The adder 4424 gives a positive sign to the output of the multiplier 4417, gives a positive sign to the output of the multiplier 4418, adds both, and outputs the result.

加算器4431は、実数成分データDr0に正符号を付与し、加算器4421の出力に正符号を付与し、両者を加算して実数成分データDr0_outを出力する。加算器4432は、虚数成分データDi0に正符号を付与し、加算器4422の出力に正符号を付与し、両者を加算して虚数成分データDi0_outを出力する。加算器4433は、実数成分データDr0に正符号を付与し、加算器4423の出力に正符号を付与し、両者を加算して実数成分データDr1_outを出力する。加算器4434は、虚数成分データDi0に正符号を付与し、加算器4424の出力に負符号を付与し、両者を加算して虚数成分データDi1_outを出力する。   The adder 4431 adds a positive sign to the real number component data Dr0, adds a positive sign to the output of the adder 4421, adds both, and outputs the real number component data Dr0_out. The adder 4432 gives a positive sign to the imaginary number component data Di0, adds a positive sign to the output of the adder 4422, adds both, and outputs imaginary number component data Di0_out. The adder 4433 adds a positive sign to the real number component data Dr0, adds a positive sign to the output of the adder 4423, adds both, and outputs real number component data Dr1_out. The adder 4434 gives a positive sign to the imaginary number component data Di0, gives a negative sign to the output of the adder 4424, adds both, and outputs imaginary number component data Di1_out.

第1の出力データD0_out及び第2の出力データD1_outは、次式で表される。   The first output data D0_out and the second output data D1_out are expressed by the following equations.

D0_out=Dr0_out+jDi0_out
=Dr0+Wr0×Dr1+Wi0×Di1
+j×(Di0+Wr0×Di1−Wi0×Dr1)
D1_out=Dr1_out+jDi1_out
=Dr0−Wr0×Dr1−Wi0×Di1
+j×(Di0−Wr0×Di1+Wi0×Dr1)
D0_out = Dr0_out + jDi0_out
= Dr0 + Wr0 × Dr1 + Wi0 × Di1
+ J × (Di0 + Wr0 × Di1-Wi0 × Dr1)
D1_out = Dr1_out + jDi1_out
= Dr0-Wr0 * Dr1-Wi0 * Di1
+ J × (Di0−Wr0 × Di1 + Wi0 × Dr1)

このバタフライ演算器4400は、8個の乗算器及び8個の加算器から構成され、基数2のバタフライ演算を1回実行できる。図43のマッチトフィルタと図44のバタフライ演算器は、レジスタ、乗算器と加算器といった素子を用いる点は同じである。両者の異なるパラメータは、乗算に使う係数、素子間のネットワーク情報の設定、加算時の符号である。これらパラメータを再設定できるような回路上の仕組みをもたせることにより、マッチトフィルタ演算及びバタフライ演算を同一回路で対応できるようにする。このとき、図43のマッチトフィルタでの使用リソースをバタフライ演算器とで共有化することを考えて、図43でのリソースに対し加算器を2個追加してバタフライ演算器4400を8個組むことができる。   The butterfly computing unit 4400 includes eight multipliers and eight adders, and can perform a radix-2 butterfly computation once. The matched filter of FIG. 43 and the butterfly calculator of FIG. 44 are the same in that elements such as a register, a multiplier, and an adder are used. The two different parameters are a coefficient used for multiplication, setting of network information between elements, and a sign at the time of addition. By providing a mechanism on the circuit that can reset these parameters, the matched filter operation and the butterfly operation can be handled by the same circuit. At this time, considering that the resources used in the matched filter in FIG. 43 are shared with the butterfly calculator, two adders are added to the resources in FIG. 43 and eight butterfly calculators 4400 are assembled. be able to.

図46は、マッチトフィルタ及びバタフライ演算を選択的に実現可能な準固定回路の構成例を示す。図44に示すように、1個のバタフライ演算器4604は8個の乗算器及び8個の加算器を有する。したがって、8個のバタフライ演算器4604は、64個の乗算器及び64個の加算器を有する。これに対し、図43に示すように、マッチトフィルタでは、そのうち、64個の乗算器及び62個の加算器を用いる。   FIG. 46 shows a configuration example of a semi-fixed circuit that can selectively implement a matched filter and a butterfly operation. As shown in FIG. 44, one butterfly computing unit 4604 has eight multipliers and eight adders. Accordingly, the eight butterfly calculators 4604 have 64 multipliers and 64 adders. On the other hand, as shown in FIG. 43, the matched filter uses 64 multipliers and 62 adders.

入力メモリ(レジスタ)4601は、メモリ制御部4611の制御に応じて、16個の入力データ及び出力メモリ4605の出力データを入力し、セレクタ4602に出力する。セレクタ4602は、セレクタ設定部4612の設定に応じて、入力データの選択を行って演算器部4603内のバタフライ演算器4604に出力する。演算器部4603は、8個のバタフライ演算器4604を有する。係数設定部4613は、セレクタ4602を介して又は直接、バタフライ演算器4604に係数Wを入力する。符号設定部4614は、バタフライ演算器4604に正負符号を設定する。出力メモリ4605は、ワークメモリとしても機能し、バタフライ演算器4604の演算結果を記憶し、出力する。   The input memory (register) 4601 receives 16 pieces of input data and output data from the output memory 4605 under the control of the memory control unit 4611, and outputs them to the selector 4602. The selector 4602 selects input data in accordance with the setting of the selector setting unit 4612 and outputs it to the butterfly calculator 4604 in the calculator unit 4603. The calculator unit 4603 includes eight butterfly calculators 4604. The coefficient setting unit 4613 inputs the coefficient W to the butterfly calculator 4604 via the selector 4602 or directly. The sign setting unit 4614 sets a positive / negative sign in the butterfly calculator 4604. The output memory 4605 also functions as a work memory, stores and outputs the calculation result of the butterfly calculator 4604.

本実施形態では、複素成分入力が64本ある場合、つまり64ポイントのフーリエ変換を考えるのでバタフライ演算が192回必要となるが、8個のバタフライ演算器をもつ演算器部4603を使えば192÷8=24回のループで処理できる。マッチトフィルタは1回で処理が済む。なお、予めどちらの処理を行うか選択して、係数の設定をする係数設定部4613、配線の設定を行うセレクタ設定部4612と符号設定部4614とに反映させておく。   In this embodiment, when there are 64 complex component inputs, that is, 64-point Fourier transform is considered, butterfly computation is required 192 times. However, if an arithmetic unit 4603 having 8 butterfly computation units is used, 192 ÷ It can be processed in 8 = 24 loops. The matched filter can be processed once. Incidentally, in advance by selecting whether to perform processing, the coefficient setting unit 4613 for setting the coefficients, it is reflected in the selector setting unit 4612 and the code setting unit 4614 for setting a wire.

図44のバタフライ演算器4400と図46のバタフライ演算器4604のリソース量は同じである。特に、バタフライ演算器4604に注目してその内部構成を図47に示す。   The amount of resources of the butterfly calculator 4400 of FIG. 44 and the butterfly calculator 4604 of FIG. 46 are the same. In particular, paying attention to the butterfly calculator 4604, its internal configuration is shown in FIG.

図47は、バタフライ演算器4604の構成例を示す。このバタフライ演算器4604は、バタフライ演算器及びマッチトフィルタを共有化した回路である。バタフライ演算器4604は、複素乗算回路4703及び4704を有する。複素乗算回路4703及び4704は、図43(A)の複素乗算回路4302及び4303(図43(B))に対応する。   FIG. 47 shows a configuration example of the butterfly calculator 4604. The butterfly calculator 4604 is a circuit that shares the butterfly calculator and the matched filter. The butterfly calculator 4604 includes complex multiplier circuits 4703 and 4704. Complex multiplication circuits 4703 and 4704 correspond to the complex multiplication circuits 4302 and 4303 (FIG. 43B) in FIG.

入力メモリ(レジスタ)4702及びメモリ制御部4701は、図46の入力メモリ4601及びメモリ制御部4611に対応する。入力メモリ4702は、入力データDr0,Di0,Dr1,Di1をバタフライ演算器4604に出力する。   The input memory (register) 4702 and the memory control unit 4701 correspond to the input memory 4601 and the memory control unit 4611 in FIG. The input memory 4702 outputs the input data Dr0, Di0, Dr1, Di1 to the butterfly calculator 4604.

まず、複素乗算回路4703について説明する。セレクタ4711は、実数成分データDr1又はDr0を選択して出力する。セレクタ4712は、虚数成分データDi1又はDi0を選択して出力する。乗算器4311は、セレクタ4711の出力及び係数Wr0を乗算して出力する。乗算器4312は、セレクタ4712の出力及び係数Wi0を乗算して出力する。乗算器4313は、セレクタ4711の出力及び係数Wi0を乗算して出力する。乗算器4314は、セレクタ4712の出力及び係数Wr0を乗算して出力する。   First, the complex multiplication circuit 4703 will be described. The selector 4711 selects and outputs the real number component data Dr1 or Dr0. The selector 4712 selects and outputs the imaginary number component data Di1 or Di0. The multiplier 4311 multiplies the output of the selector 4711 and the coefficient Wr0 and outputs the result. The multiplier 4312 multiplies the output of the selector 4712 and the coefficient Wi0 and outputs the result. The multiplier 4313 multiplies the output of the selector 4711 and the coefficient Wi0 and outputs the result. The multiplier 4314 multiplies the output of the selector 4712 and the coefficient Wr0 and outputs the result.

セレクタ4731は、複素乗算回路4704内の加算器4315の出力信号4741又はセレクタ4711の出力信号を選択して出力する。加算器4721は、セレクタ4731の出力に正符号を付与し、加算器4315の出力に正符号を付与し、両者を加算して出力する。セレクタ4732は、複素乗算回路4704内の加算器4316の出力信号4742又はセレクタ4712の出力信号を選択して出力する。加算器4722は、セレクタ4732の出力に正符号を付与し、加算器4316の出力に正符号を付与し、両者を加算して出力する。   The selector 4731 selects and outputs the output signal 4741 of the adder 4315 or the output signal of the selector 4711 in the complex multiplication circuit 4704. The adder 4721 gives a plus sign to the output of the selector 4731, gives a plus sign to the output of the adder 4315, adds both, and outputs the result. The selector 4732 selects and outputs the output signal 4742 of the adder 4316 or the output signal of the selector 4712 in the complex multiplication circuit 4704. The adder 4722 gives a plus sign to the output of the selector 4732, gives a plus sign to the output of the adder 4316, adds both, and outputs the result.

次に、複素乗算回路4704について説明する。セレクタ4713は、実数成分係数Wr0又はWr1を選択して出力する。セレクタ4714は、虚数成分係数Wi0又はWi1を選択して出力する。乗算器4311は、セレクタ4713の出力及び実数成分データDr1を乗算して出力する。乗算器4312は、セレクタ4714の出力及び虚数成分データDi1を乗算して出力する。乗算器4313は、セレクタ4714の出力及び実数成分データDr1を乗算して出力する。乗算器4314は、セレクタ4713の出力及び虚数成分データDi1を乗算して出力する。   Next, the complex multiplication circuit 4704 will be described. The selector 4713 selects and outputs the real component coefficient Wr0 or Wr1. The selector 4714 selects and outputs the imaginary component coefficient Wi0 or Wi1. The multiplier 4311 multiplies the output of the selector 4713 and the real number component data Dr1 and outputs the result. The multiplier 4312 multiplies the output of the selector 4714 and the imaginary number component data Di1 and outputs the result. The multiplier 4313 multiplies the output of the selector 4714 and the real number component data Dr1 and outputs the result. The multiplier 4314 multiplies the output of the selector 4713 and the imaginary component data Di1 and outputs the result.

セレクタ4733は、図43の他の加算器群4303等の出力信号4743又はセレクタ4711の出力信号を選択して出力する。加算器4723は、セレクタ4733の出力に正符号を付与し、加算器4315の出力に正符号を付与し、両者を加算して出力する。セレクタ4734は、図43の他の加算器群4303等の出力信号4744又はセレクタ4712の出力信号を選択して出力する。加算器4724は、セレクタ4734の出力に正符号を付与し、加算器4316の出力に正符号を付与し、両者を加算して出力する。   The selector 4733 selects and outputs the output signal 4743 of the other adder group 4303 or the like of FIG. 43 or the output signal of the selector 4711. The adder 4723 gives a plus sign to the output of the selector 4733, gives a plus sign to the output of the adder 4315, adds both, and outputs the result. The selector 4734 selects and outputs the output signal 4744 of the other adder group 4303 in FIG. 43 or the like or the output signal of the selector 4712. The adder 4724 gives a plus sign to the output of the selector 4734, gives a plus sign to the output of the adder 4316, adds both, and outputs the result.

出力メモリ4705は、図46の出力メモリ4605に対応し、加算器4721〜4724の出力信号を記憶する。バタフライ演算の際には、出力メモリ4705の信号が入力メモリ4702にフィードバックされる。   The output memory 4705 corresponds to the output memory 4605 of FIG. 46 and stores the output signals of the adders 4721 to 4724. During the butterfly calculation, the signal of the output memory 4705 is fed back to the input memory 4702.

マッチトフィルタ処理の場合は、最初に係数Wr0、Wi0及びWr1、Wi1が設定される。セレクタ4731、4732、4733、4734、4711、4712、4713、4714は、それぞれ信号4741、信号4742、信号4743、信号4744、データDr0、データDi0、係数Wr1、係数Wi1を選択する。符号設定部4614(図46)は、図47に示す通りに設定する。複素乗算回路4703及び4704での演算後は、その複素出力を残りの加算器4721〜4724と、同じく図46の演算器部4603内の残りのバタフライ演算器4604の加算器を使用して加算するだけである。バタフライ演算器4604では、複素乗算回路4703及び4704の出力4本を加算器4721及び4722(図43の加算器群4304に対応)を使い加算している。加算器4723及び4724は、その他の加算に用いる。   In the case of matched filter processing, the coefficients Wr0, Wi0 and Wr1, Wi1 are set first. The selectors 4731, 4732, 4733, 4734, 4711, 4712, 4713, and 4714 select the signal 4741, the signal 4742, the signal 4743, the signal 4744, the data Dr0, the data Di0, the coefficient Wr1, and the coefficient Wi1, respectively. The code setting unit 4614 (FIG. 46) sets as shown in FIG. After the calculation in the complex multiplication circuits 4703 and 4704, the complex outputs are added using the remaining adders 4721 to 4724 and the adder of the remaining butterfly calculator 4604 in the calculator unit 4603 of FIG. Only. In the butterfly calculator 4604, the four outputs of the complex multiplier circuits 4703 and 4704 are added using adders 4721 and 4722 (corresponding to the adder group 4304 in FIG. 43). Adders 4723 and 4724 are used for other additions.

バタフライ演算処理の場合は入力メモリ4702にデータが入る度に、係数設定でデータに対応した係数Wr0、Wi0が設定される。同時に、セレクタ4731、4732、4733、4734、4711、4712、4713、4714は、それぞれセレクタ4711の出力信号、セレクタ4712の出力信号、セレクタ4711の出力信号、セレクタ47212の出力信号、データDr1、データDi1、係数Wr0、係数Wi0を選択する。符号設定部4614(図46)は、複素乗算回路4704の中の加算器4315への2入力及び加算器4724の入力信号4742の符号極性を反転させる。これらの設定下で、バタフライ演算器4604にて複素数2入力データのバタフライ演算を行い、出力メモリ4705に書き出す。以上を必要なだけ繰り返し、ループ処理する。   In the case of butterfly calculation processing, every time data enters the input memory 4702, coefficients Wr0 and Wi0 corresponding to the data are set in the coefficient setting. At the same time, the selectors 4731, 4732, 4733, 4734, 4711, 4712, 4713, and 4714 are respectively the output signal of the selector 4711, the output signal of the selector 4712, the output signal of the selector 4711, the output signal of the selector 47212, the data Dr1, and the data Di1. , Coefficient Wr0, coefficient Wi0. The sign setting unit 4614 (FIG. 46) inverts the sign polarity of the two inputs to the adder 4315 in the complex multiplier circuit 4704 and the input signal 4742 of the adder 4724. Under these settings, the butterfly computing unit 4604 performs butterfly computation of complex two-input data and writes it to the output memory 4705. The above is repeated as necessary and loop processing is performed.

なお、加算器4721及び4722の出力信号は、バタフライ演算時には出力メモリ4705に出力するが、マッチトフィルタ動作時には実際には出力メモリ4705には出力せずに加算器群4305等(図43)に出力される。マッチトフィルタ時には、入力データが未割り当ての加算器4723及び4724を加算器群4305等に割り当てることができるのでこれに出力する。   Note that the output signals of the adders 4721 and 4722 are output to the output memory 4705 during the butterfly calculation, but are not actually output to the output memory 4705 during the matched filter operation, and are output to the adder group 4305 and the like (FIG. 43). Is output. At the time of the matched filter, the adders 4723 and 4724 to which input data is not assigned can be assigned to the adder group 4305 and the like, and are output to them.

さらに、また別の実施形態として、バタフライ演算器4604への入力データの順番をメモリ制御4701により変更することにより、無線LAN規格IEEE802.11bがもつCCK(Complementary Code Keying)復調処理の一部である複素乗算(位相回転)計算にも応用できる。   Furthermore, as another embodiment, the order of input data to the butterfly calculator 4604 is changed by the memory control 4701, thereby being a part of the CCK (Complementary Code Keying) demodulation process of the wireless LAN standard IEEE802.11b. It can also be applied to complex multiplication (phase rotation) calculations.

図48は、図47の乗算器の内部構成例である。ここでは、新たに入力切り換え用セレクタ4804、係数格納用レジスタ4805、スケジューラ(カウンタ)4806を追加していることを特徴とする。   FIG. 48 shows an example of the internal configuration of the multiplier shown in FIG. Here, an input switching selector 4804, a coefficient storage register 4805, and a scheduler (counter) 4806 are newly added.

まず、係数設定部は、係数格納用レジスタ4805に定数を初期設定時に設定する。セレクタ4804は、入力切り換え設定信号に応じて、入力として外部からの入力2又は係数格納用レジスタ4805内のレジスタ値を選択できる。スケジューラ4806は、カウンタから構成されており、スケジューラ設定信号に応じて、係数格納用レジスタ4805にアドレスを供給している。アドレスは、固定値、又はある設定された数を最大とするカウントの繰り返し出力である。例えば、3と設定するなら0,1,2,3,0,1,2,…というようになる。これは、最初に係数格納用レジスタ4805に定数設定をしておけば、外部との信号のやり取りなしにマッチトフィルタの16タップ分の係数セットを切り換えることができ、時間軸上で高速に複数のマッチトフィルタ演算が可能になることを意味する。係数格納用レジスタ4805は、アドレスに応じて、セレクタ4808に係数を出力する。   First, the coefficient setting unit sets a constant in the coefficient storage register 4805 at the time of initial setting. The selector 4804 can select an external input 2 or a register value in the coefficient storage register 4805 as an input in accordance with an input switching setting signal. The scheduler 4806 includes a counter, and supplies an address to the coefficient storage register 4805 according to the scheduler setting signal. The address is a fixed value or a repeated output of a count that maximizes a certain set number. For example, if 3 is set, 0, 1, 2, 3, 0, 1, 2,. This is because if a constant is first set in the coefficient storage register 4805, the coefficient set for 16 taps of the matched filter can be switched without exchanging signals with the outside. This means that a matched filter operation can be performed. Coefficient storage register 4805 outputs a coefficient to selector 4808 according to the address.

符号設定部4801及び4803は、符号設定信号に応じて、正負符号が設定される。入力1は、符号設定部4801で符号設定され、乗算器4802に出力される。セレクタ4804の出力信号は、符号設定部4803で符号設定され、乗算器4802に出力される。乗算器4802は、符号設定部4801及び4803の出力信号を乗算して出力する。なお、乗算器の場合に限定されず、加算器もレジスタ4805及びスケジューラ4806等により制御してもよい。   The sign setting units 4801 and 4803 are set with positive and negative signs according to the sign setting signal. The input 1 is code-set by the code setting unit 4801 and output to the multiplier 4802. The output signal of the selector 4804 is set by the sign setting unit 4803 and output to the multiplier 4802. Multiplier 4802 multiplies the output signals of code setting sections 4801 and 4803 and outputs the result. Note that the present invention is not limited to the multiplier, and the adder may be controlled by the register 4805 and the scheduler 4806.

以上のように、マッチトフィルタとFFTの間で乗算器、加算器という演算器リソースを共有できるので、別々にリソースをもつ場合に比べて回路規模を削減できる。   As described above, since arithmetic unit resources such as a multiplier and an adder can be shared between the matched filter and the FFT, the circuit scale can be reduced as compared with a case where resources are separately provided.

(第11の実施形態)
図49は、本発明の第11の実施形態による準固定回路を含むLSIの全体構成例を示す。準固定回路は、例えば、第1〜第10の実施形態の準固定回路である。LSI4900は、例えば、CPU4901、準固定回路4904、固定回路4906及びRISC(DSP)4908を有する。設定用バス4902には、CPU4901の他に、設定部4903を介して準固定回路4904、設定部4905を介して固定回路4906、及び設定部4907を介してRISC4908が接続される。CPU4901は、設定部4903,4905,4907の設定又は再設定を行うことができる。
(Eleventh embodiment)
FIG. 49 shows an overall configuration example of an LSI including a semi-fixed circuit according to the eleventh embodiment of the present invention. The semi-fixed circuit is, for example, the semi-fixed circuit of the first to tenth embodiments. The LSI 4900 includes, for example, a CPU 4901, a semi-fixed circuit 4904, a fixed circuit 4906, and a RISC (DSP) 4908. In addition to the CPU 4901, the setting bus 4902 is connected to a semi-fixed circuit 4904 via a setting unit 4903, a fixed circuit 4906 via a setting unit 4905, and a RISC 4908 via a setting unit 4907. The CPU 4901 can set or reset the setting units 4903, 4905, and 4907.

準固定回路4904は、従来のハードウエア(固定回路)4906のように機能を固定された要素として全体を構成しているのではなく、ソフトウエアでその設定を書き換えてやることにより必要に応じて機能を切り換えて全体を構成する。もちろん、必要なければ全体からその機能を切り離す。例えば、複数の機能を時分割で切り換えて使用してもよいし、複数の準固定回路でそれぞれ設定して使用してもよい。   The quasi-fixed circuit 4904 does not constitute the whole as an element whose function is fixed like the conventional hardware (fixed circuit) 4906, but by rewriting the setting by software as needed. Switch functions and configure the whole. Of course, if it is not necessary, the function is separated from the whole. For example, a plurality of functions may be switched and used in a time division manner, or may be set and used by a plurality of semi-fixed circuits.

CPU(設定/再設定用)4901が上位レイヤに相当する外部からの命令を受けて、回路構成設定情報を準固定回路4904、固定回路4906及びRISC4908等のLSI構成要素ブロックに渡す。準固定回路4904をはじめとする要素ブロックは、それぞれに1つ以上の設定のための複数の設定用アドレス空間を持つ。さらに要素ブロックは、CPU4901からの命令により、それぞれの設定用アドレス空間から読み出した回路構成設定情報を参照して自身の設定/再設定を行う。   A CPU (for setting / resetting) 4901 receives an external command corresponding to the upper layer, and passes circuit configuration setting information to LSI component blocks such as the semi-fixed circuit 4904, the fixed circuit 4906, and the RISC 4908. Each element block including the semi-fixed circuit 4904 has a plurality of setting address spaces for setting one or more. Furthermore, the element block performs its own setting / resetting by referring to the circuit configuration setting information read from each setting address space in accordance with an instruction from the CPU 4901.

以上のように、第1〜第11の実施形態によれば、スクランブラ、デスクランブラ又はビタビデコーダ等の同じ機能の回路であっても、異なる種類の回路を1つの準固定回路で実現することができる。また、マッチトフィルタ及びバタフライ演算回路等の異なる機能の回路を1つの準固定回路で実現することができる。また、複数種類のスクランブラ、デクランブラ又はCRC回路等の複数ビット同時処理が1つの準固定回路で実現することができる。これにより、ハードウエア資源を共用することができるので、ハードウエア資源の使用効率を向上させることができる。また、1つの準固定回路で、複数の回路を実現することができる。   As described above, according to the first to eleventh embodiments, different types of circuits can be realized by one quasi-fixed circuit even in a circuit having the same function, such as a scrambler, a descrambler, or a Viterbi decoder. Can do. In addition, circuits having different functions such as a matched filter and a butterfly operation circuit can be realized by one semi-fixed circuit. Further, simultaneous processing of a plurality of bits such as a plurality of types of scramblers, scramblers or CRC circuits can be realized by one semi-fixed circuit. Thereby, since hardware resources can be shared, the utilization efficiency of hardware resources can be improved. In addition, a plurality of circuits can be realized with one semi-fixed circuit.

なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

本発明の実施形態は、例えば以下のように種々の適用が可能である。   The embodiment of the present invention can be applied in various ways as follows, for example.

(付記1)
複数種類のスクランブラ又はデクランブラの動作が可能である準固定回路であって、
直列接続可能な複数のフリップフロップと、
少なくとも入力信号と第1のフィードバック信号との排他的論理和信号、フィードバック信号及び入力信号のうちのいずれか1つの信号を選択して前記複数のフリップフロップのうちの一の第1のフリップフロップに出力可能な第1のセレクタと、
少なくとも前記複数のフリップフロップのうちの一の第2のフリップフロップの出力信号と第2のフィードバック信号との排他的論理和信号、該第2のフリップフロップの出力信号、及び第2のフィードバック信号のうちのいずれか1つの信号を選択して前記第1のセレクタに前記第1のフィードバック信号として出力可能な第2のセレクタと
を有する準固定回路。
(付記2)
前記第1のセレクタ及び前記第2のセレクタの選択に応じて、IEEE802.11a規格のスクランブラ、IEEE802.11b規格のスクランブラ、及びIEEE802.11b規格のデクランブラの動作が可能である付記1記載の準固定回路。
(付記3)
さらに、ビット数が少ない入力信号をデコードしてビット数が多い出力信号を出力し、前記第1のセレクタ及び前記第2のセレクタを選択するためのデコーダを有する付記1記載の準固定回路。
(付記4)
さらに、前記複数のフリップフロップの間に設けられ、前記第1のセレクタの出力信号と前段のフリップフロップの出力信号との排他的論理和信号、又は前段のフリップフロップの出力信号を選択して後段のフリップフロップに出力可能な第3のセレクタを有し、
前記第1〜第3のセレクタの選択に応じて、CRC(Cycle Redundancy Check)回路の動作が可能である付記1記載の準固定回路。
(付記5)
さらに、少なくとも前記第2のフリップフロップの出力信号と第3のフィードバック信号との排他的論理和信号、該第2のフリップフロップの出力信号、及び第3のフィードバック信号のうちのいずれか1つの信号を選択して第4のフィードバック信号を出力可能な第4のセレクタを有し、
前記第1のセレクタは、さらに前記入力信号と前記第4のフィードバック信号との排他的論理和信号、及び前記第4のフィードバック信号を含めた信号の中から択一的に選択して出力可能であり、
前記第1、第2及び第4のセレクタの選択に応じて、畳み込みエンコーダの動作が可能である付記1記載の準固定回路。
(付記6)
前記複数のフリップフロップ、前記第1のセレクタ、前記第2のセレクタ及び前記第4のセレクタの組みを2組設け、
前記第1、第2及び第4のセレクタの選択に応じて、線形帰還シフトレジスタ回路の動作が可能である付記5記載の準固定回路。
(付記7)
さらに、少なくとも前記第2のフリップフロップの出力信号と第3のフィードバック信号との排他的論理和信号、該第2のフリップフロップの出力信号、及び第3のフィードバック信号のうちのいずれか1つの信号を選択して第4のフィードバック信号を出力可能な第4のセレクタを有し、
前記第1のセレクタは、さらに前記入力信号と前記第4のフィードバック信号との排他的論理和信号、及び前記第4のフィードバック信号を含めた信号の中から択一的に選択して出力可能であり、
前記第1〜第4のセレクタの選択に応じて、畳み込みエンコーダの動作が可能である付記4記載の準固定回路。
(付記8)
前記複数のフリップフロップ、前記第1のセレクタ、前記第2のセレクタ、前記第3のセレクタ及び前記第4のセレクタの組みを2組設け、
前記第1〜第4のセレクタの選択に応じて、線形帰還シフトレジスタ回路の動作が可能である付記7記載の準固定回路。
(付記9)
前記第1のフリップフロップ及び前記第2のフリップフロップは、同じ又は異なるフリップフロップである付記1記載の準固定回路。
(付記10)
前記第2のセレクタは、複数あり、それぞれが前記複数のフリップフロップの間の接続線に接続され、
両端を除く各々の第2のセレクタは、一方に隣接する第2のセレクタの出力信号を第2のフィードバック信号として入力し、選択した信号を他方に隣接する第2のセレクタに出力する付記1記載の準固定回路。
(付記11)
複数種類のCRC(Cycle Redundancy Check)回路の複数ビット同時処理が可能である準固定回路であって、
複数のフリップフロップと、
第1の入力ビット信号及び前記複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト1回目に相当する出力信号を出力するための第1の排他的論理和回路と、
第2の入力ビット信号及び前記シフト1回目に相当する出力信号を基に選択的に排他的論理和を演算し、シフト2回目に相当する出力信号を出力するための第2の排他的論理和回路と
を有する準固定回路。
(付記12)
さらに、第nの入力ビット信号及びシフトn−1回目のシフト信号を基に選択的に排他的論理和を演算し、シフトn回目に相当する出力信号を出力するための第nの排他的論理和回路とを有する付記11記載の準固定回路。
(付記13)
前記複数のフリップフロップのうちの一のフリップフロップは、前記第nの排他的論理和回路の出力信号をフィードバック入力する付記12記載の準固定回路。
(付記14)
複数種類のスクランブラ又はデクランブラの複数ビット同時処理が可能である準固定回路であって、
複数のフリップフロップと、
第1の入力ビット信号及び前記複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト1回目に相当する出力信号を出力するための第1の排他的論理和回路と、
第2の入力ビット信号及び前記複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト2回目に相当する出力信号を出力するための第2の排他的論理和回路と
を有する準固定回路。
(付記15)
前記複数のフリップフロップ、前記第1の排他的論理和回路及び前記第2の排他的論理和回路の組みを2組設け、
前記第1及び第2の排他的論理和回路の選択に応じて、畳み込みエンコーダの動作が可能である付記14記載の準固定回路。
(付記16)
前記複数のフリップフロップ、前記第1の排他的論理和回路及び前記第2の排他的論理和回路の組みを4組設け、
前記第1及び第2の排他的論理和回路の選択に応じて、畳み込みエンコーダ及び線形帰還シフトレジスタ回路の動作が可能である付記14記載の準固定回路。
(付記17)
前記第1の排他的論理和回路は、第1の入力ビット信号及び前記複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト1回目に相当する出力信号を出力し、
前記第2の排他的論理和回路は、第2の入力ビット信号及び前記シフト1回目に相当する出力信号を基に選択的に排他的論理和を演算し、シフト2回目に相当する出力信号を出力することにより、複数種類のCRC(Cycle Redundancy Check)回路の複数ビット同時処理が可能である付記16記載の準固定回路。
(付記18)
複数種類の符号化率で畳み込み符号化された符号化データをビタビデコードすることが可能な準固定回路であって、
畳み込み符号化された符号化データをビタビデコードするための複数のブランチメトリックを演算し、符号化率に応じたブランチメトリックを選択して出力するブランチメトリック演算回路と、
前記複数のブランチメトリックから必要なものを選択してパスメトリックを演算するパストリック演算回路と
を有する準固定回路。
(付記19)
マッチトフィルタ及びバタフライ演算回路の動作が可能である準固定回路であって、
シフトレジスタと、
乗算を行うための複数の乗算器と、
加算を行うための複数の加算器と、
前記シフトレジスタ、前記複数の乗算器及び前記複数の加算器の接続を制御するための接続回路とを有し、
前記接続回路の接続に応じて、マッチトフィルタ及びバタフライ演算回路の動作が可能である準固定回路。
(付記20)
前記接続回路の接続に応じて、マッチトフィルタ及び高速フーリエ変換回路の動作が可能である付記19記載の準固定回路。
(付記21)
さらに、前記乗算器又は前記加算器の入力として与えるデータを格納するためのメモリと、
前記メモリ内のデータを前記乗算器又は前記加算器に入力する順番を制御するスケジュール回路と
を有する付記19記載の準固定回路。
(Appendix 1)
A semi-fixed circuit capable of operating multiple types of scramblers or scramblers,
A plurality of flip-flops that can be connected in series;
At least one of the exclusive OR signal of the input signal and the first feedback signal, the feedback signal, and the input signal is selected to be one of the plurality of flip-flops. A first selector capable of outputting;
An exclusive OR signal of an output signal of a second flip-flop of at least one of the plurality of flip-flops and a second feedback signal, an output signal of the second flip-flop, and a second feedback signal A quasi-fixed circuit having a second selector that can select any one of the signals and output the first selector to the first selector as the first feedback signal.
(Appendix 2)
The operation of the IEEE 802.11a standard scrambler, the IEEE 802.11b standard scrambler, and the IEEE 802.11b standard scrambler can be operated according to the selection of the first selector and the second selector. Semi-fixed circuit.
(Appendix 3)
The quasi-fixed circuit according to claim 1, further comprising a decoder for decoding the input signal having a small number of bits to output an output signal having a large number of bits and selecting the first selector and the second selector.
(Appendix 4)
Further, an exclusive OR signal between the output signal of the first selector and the output signal of the preceding stage flip-flop, or the output signal of the preceding stage flip-flop, is provided between the plurality of flip-flops to select the succeeding stage A third selector that can output to the flip-flop of
The quasi-fixed circuit according to supplementary note 1, wherein a CRC (Cycle Redundancy Check) circuit is operable in accordance with selection of the first to third selectors.
(Appendix 5)
Further, at least one of the exclusive-OR signal of the output signal of the second flip-flop and the third feedback signal, the output signal of the second flip-flop, and the third feedback signal And a fourth selector capable of outputting a fourth feedback signal.
The first selector can selectively output an exclusive OR signal of the input signal and the fourth feedback signal and a signal including the fourth feedback signal. Yes,
The semi-fixed circuit according to claim 1, wherein the operation of the convolutional encoder is possible in accordance with the selection of the first, second, and fourth selectors.
(Appendix 6)
Two sets of the plurality of flip-flops, the first selector, the second selector, and the fourth selector are provided,
The quasi-fixed circuit according to appendix 5, wherein the linear feedback shift register circuit can operate in accordance with the selection of the first, second, and fourth selectors.
(Appendix 7)
Further, at least one of the exclusive-OR signal of the output signal of the second flip-flop and the third feedback signal, the output signal of the second flip-flop, and the third feedback signal And a fourth selector capable of outputting a fourth feedback signal.
The first selector can selectively output an exclusive OR signal of the input signal and the fourth feedback signal and a signal including the fourth feedback signal. Yes,
The semi-fixed circuit according to appendix 4, wherein the operation of the convolutional encoder is possible according to the selection of the first to fourth selectors.
(Appendix 8)
Two sets of the plurality of flip-flops, the first selector, the second selector, the third selector, and the fourth selector are provided,
The quasi-fixed circuit according to appendix 7, wherein the linear feedback shift register circuit can operate in accordance with the selection of the first to fourth selectors.
(Appendix 9)
The semi-fixed circuit according to appendix 1, wherein the first flip-flop and the second flip-flop are the same or different flip-flops.
(Appendix 10)
There are a plurality of the second selectors, each connected to a connection line between the plurality of flip-flops,
Each of the second selectors excluding both ends inputs the output signal of the second selector adjacent to one as a second feedback signal, and outputs the selected signal to the second selector adjacent to the other Semi-fixed circuit.
(Appendix 11)
A quasi-fixed circuit capable of simultaneous processing of multiple bits of multiple types of CRC (Cycle Redundancy Check) circuits,
Multiple flip-flops,
A first exclusive OR circuit for selectively calculating an exclusive OR based on the first input bit signal and the output signals of the plurality of flip-flops and outputting an output signal corresponding to the first shift When,
A second exclusive OR for selectively calculating an exclusive OR based on the second input bit signal and the output signal corresponding to the first shift and outputting an output signal corresponding to the second shift. A semi-fixed circuit.
(Appendix 12)
Further, an exclusive OR is selectively calculated based on the nth input bit signal and the shift n-1th shift signal, and an nth exclusive logic for outputting an output signal corresponding to the nth shift is output. The quasi-fixed circuit according to appendix 11, which has a sum circuit.
(Appendix 13)
The quasi-fixed circuit according to appendix 12, wherein one flip-flop of the plurality of flip-flops inputs the output signal of the n-th exclusive OR circuit as feedback.
(Appendix 14)
A quasi-fixed circuit capable of simultaneously processing multiple bits of multiple types of scramblers or scramblers,
Multiple flip-flops,
A first exclusive OR circuit for selectively calculating an exclusive OR based on the first input bit signal and the output signals of the plurality of flip-flops and outputting an output signal corresponding to the first shift When,
A second exclusive OR circuit for selectively calculating an exclusive OR based on the second input bit signal and the output signals of the plurality of flip-flops and outputting an output signal corresponding to the second shift And a semi-fixed circuit.
(Appendix 15)
Two sets of the plurality of flip-flops, the first exclusive OR circuit and the second exclusive OR circuit are provided,
15. The quasi-fixed circuit according to appendix 14, wherein the convolutional encoder can operate according to the selection of the first and second exclusive OR circuits.
(Appendix 16)
Four sets of the plurality of flip-flops, the first exclusive OR circuit and the second exclusive OR circuit are provided,
15. The quasi-fixed circuit according to appendix 14, wherein the convolutional encoder and the linear feedback shift register circuit can operate according to the selection of the first and second exclusive OR circuits.
(Appendix 17)
The first exclusive OR circuit selectively calculates an exclusive OR based on the first input bit signal and the output signals of the plurality of flip-flops, and outputs an output signal corresponding to the first shift. And
The second exclusive OR circuit selectively calculates an exclusive OR based on the second input bit signal and the output signal corresponding to the first shift, and outputs the output signal corresponding to the second shift. The quasi-fixed circuit according to appendix 16, wherein a plurality of types of CRC (Cycle Redundancy Check) circuits can be simultaneously processed by outputting a plurality of bits.
(Appendix 18)
A quasi-fixed circuit capable of Viterbi decoding encoded data convolutionally encoded at a plurality of types of coding rates,
A branch metric calculation circuit that calculates a plurality of branch metrics for Viterbi decoding encoded data that has been subjected to convolution encoding, and selects and outputs a branch metric according to a coding rate;
A quasi-fixed circuit having a path trick operation circuit for selecting a necessary one from the plurality of branch metrics and calculating a path metric;
(Appendix 19)
A quasi-fixed circuit capable of operating a matched filter and a butterfly operation circuit,
A shift register;
A plurality of multipliers for performing multiplication;
A plurality of adders for performing addition;
A connection circuit for controlling connection of the shift register, the plurality of multipliers, and the plurality of adders;
A quasi-fixed circuit capable of operating a matched filter and a butterfly operation circuit according to the connection of the connection circuit.
(Appendix 20)
The quasi-fixed circuit according to appendix 19, wherein the matched filter and the fast Fourier transform circuit can operate according to the connection of the connection circuit.
(Appendix 21)
A memory for storing data to be provided as an input to the multiplier or the adder;
The quasi-fixed circuit according to appendix 19, further comprising a schedule circuit that controls the order in which data in the memory is input to the multiplier or the adder.

101 スクランブラ
102 畳み込みエンコーダ
103 インターリーブ処理回路
104 変調回路
105 逆FFT回路
106 D/A変換回路
107 RF回路
111 RF回路
112 A/D変換回路
113 同期処理回路
114 FFT回路
115 復調回路
116 デインターリーブ処理回路
117 ビタビデコーダ
118 デスクランブラ
201 CRCビット付加処理回路
202 スクランブラ
203 変調回路
204 拡散回路
205 送信回路
206 拡散符号発生回路
211 受信回路
212 逆拡散回路
213 復調回路
214 CRC処理回路
215 デスクランブラ
216 拡散符号発生回路
301,302,401,402,501,502 EOR回路
601 入力EOR回路
602 中段EOR回路
701 デコーダ
801,901 EOR回路
802,902 セレクタ
DESCRIPTION OF SYMBOLS 101 Scrambler 102 Convolutional encoder 103 Interleave processing circuit 104 Modulation circuit 105 Inverse FFT circuit 106 D / A conversion circuit 107 RF circuit 111 RF circuit 112 A / D conversion circuit 113 Synchronization processing circuit 114 FFT circuit 115 Demodulation circuit 116 Deinterleave processing circuit 117 Viterbi decoder 118 Descrambler 201 CRC bit addition processing circuit 202 Scrambler 203 Modulating circuit 204 Spreading circuit 205 Transmitting circuit 206 Spreading code generating circuit 211 Receiving circuit 212 Despreading circuit 213 Demodulating circuit 214 CRC processing circuit 215 Descrambler 216 Spreading code generation Circuits 301, 302, 401, 402, 501, 502 EOR circuit 601 Input EOR circuit 602 Middle stage EOR circuit 701 Decoder 801, 901 EOR circuit 80 , 902 selector

Claims (6)

複数種類のCRC(Cycle Redundancy Check)回路の複数ビット同時処理が可能である準固定回路であって、
複数のフリップフロップと、
第1の入力ビット信号及び前記複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト1回目に相当する出力信号を出力するための第1の排他的論理和回路と、
第2の入力ビット信号及び前記シフト1回目に相当する出力信号を基に選択的に排他的論理和を演算し、シフト2回目に相当する出力信号を出力するための第2の排他的論理和回路と
を有する準固定回路。
A quasi-fixed circuit capable of simultaneous processing of multiple bits of multiple types of CRC (Cycle Redundancy Check) circuits,
Multiple flip-flops,
A first exclusive OR circuit for selectively calculating an exclusive OR based on the first input bit signal and the output signals of the plurality of flip-flops and outputting an output signal corresponding to the first shift When,
A second exclusive OR for selectively calculating an exclusive OR based on the second input bit signal and the output signal corresponding to the first shift and outputting an output signal corresponding to the second shift. A semi-fixed circuit.
複数種類のスクランブラ又はデスクランブラの複数ビット同時処理が可能である準固定回路であって、
複数のフリップフロップと、
第1の入力ビット信号及び前記複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト1回目に相当する出力信号を出力するための第1の排他的論理和回路と、
第2の入力ビット信号及び前記複数のフリップフロップの出力信号を基に選択的に排他的論理和を演算し、シフト2回目に相当する出力信号を出力するための第2の排他的論理和回路と
を有する準固定回路。
A semi-fixed circuit capable of simultaneous processing of multiple bits of multiple types of scramblers or descramblers,
Multiple flip-flops,
A first exclusive OR circuit for selectively calculating an exclusive OR based on the first input bit signal and the output signals of the plurality of flip-flops and outputting an output signal corresponding to the first shift When,
A second exclusive OR circuit for selectively calculating an exclusive OR based on the second input bit signal and the output signals of the plurality of flip-flops and outputting an output signal corresponding to the second shift And a semi-fixed circuit.
前記複数のフリップフロップ、前記第1の排他的論理和回路及び前記第2の排他的論理和回路の組みを2組設け、
前記第1及び第2の排他的論理和回路の選択に応じて、畳み込みエンコーダの動作が可能である請求項2記載の準固定回路。
Two sets of the plurality of flip-flops, the first exclusive OR circuit and the second exclusive OR circuit are provided,
The quasi-fixed circuit according to claim 2, wherein the convolutional encoder is operable in accordance with selection of the first and second exclusive OR circuits.
前記複数のフリップフロップ、前記第1の排他的論理和回路及び前記第2の排他的論理和回路の組みを4組設け、
前記第1及び第2の排他的論理和回路の選択に応じて、畳み込みエンコーダ及び線形帰還シフトレジスタ回路の動作が可能である請求項2記載の準固定回路。
Four sets of the plurality of flip-flops, the first exclusive OR circuit and the second exclusive OR circuit are provided,
3. The quasi-fixed circuit according to claim 2, wherein the convolutional encoder and the linear feedback shift register circuit are operable in accordance with selection of the first and second exclusive OR circuits.
複数種類の符号化率で畳み込み符号化された符号化データをビタビデコードすることが可能な準固定回路であって、
畳み込み符号化された符号化データをビタビデコードするための複数のブランチメトリックを演算し、符号化率に応じたブランチメトリックを選択して出力するブランチメトリック演算回路と、
前記複数のブランチメトリックから必要なものを選択してパスメトリックを演算するパストリック演算回路と
を有する準固定回路。
A quasi-fixed circuit capable of Viterbi decoding encoded data convolutionally encoded at a plurality of types of coding rates,
A branch metric calculation circuit that calculates a plurality of branch metrics for Viterbi decoding encoded data that has been subjected to convolution encoding, and selects and outputs a branch metric according to a coding rate;
A quasi-fixed circuit having a path trick operation circuit for selecting a necessary one from the plurality of branch metrics and calculating a path metric;
マッチトフィルタ及びバタフライ演算回路の動作が可能である準固定回路であって、
シフトレジスタと、
乗算を行うための複数の乗算器と、
加算を行うための複数の加算器と、
前記シフトレジスタ、前記複数の乗算器及び前記複数の加算器の接続を制御するための接続回路とを有し、
前記接続回路の接続に応じて、マッチトフィルタ及びバタフライ演算回路の動作が可能である準固定回路。
A quasi-fixed circuit capable of operating a matched filter and a butterfly operation circuit,
A shift register;
A plurality of multipliers for performing multiplication;
A plurality of adders for performing addition;
A connection circuit for controlling connection of the shift register, the plurality of multipliers, and the plurality of adders;
A quasi-fixed circuit capable of operating a matched filter and a butterfly operation circuit according to the connection of the connection circuit.
JP2009070409A 2009-03-23 2009-03-23 Semi-fixed circuit Expired - Lifetime JP4814969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009070409A JP4814969B2 (en) 2009-03-23 2009-03-23 Semi-fixed circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009070409A JP4814969B2 (en) 2009-03-23 2009-03-23 Semi-fixed circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003330313A Division JP4303548B2 (en) 2003-09-22 2003-09-22 Semi-fixed circuit

Publications (2)

Publication Number Publication Date
JP2009136025A true JP2009136025A (en) 2009-06-18
JP4814969B2 JP4814969B2 (en) 2011-11-16

Family

ID=40867383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009070409A Expired - Lifetime JP4814969B2 (en) 2009-03-23 2009-03-23 Semi-fixed circuit

Country Status (1)

Country Link
JP (1) JP4814969B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013512492A (en) * 2009-11-30 2013-04-11 コミサリアト ア レネルジー アトミクー エ オ エネルジーズ アルタナティヴズ Addition / subtraction hardware computing unit, processor and mobile communication terminal comprising such a computing unit
JP2013512491A (en) * 2009-11-30 2013-04-11 コミサリアト ア レネルジー アトミクー エ オ エネルジーズ アルタナティヴズ Digital data processor and butterfly communication terminal having butterfly computing unit for executing FFT / IFFT
US9524206B2 (en) 2014-08-28 2016-12-20 Fujitsu Limited Decoding device and error detection method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01265332A (en) * 1988-04-18 1989-10-23 Fujitsu Ltd Production of determinant of crc parallel arithmetic circuit
JPH0795096A (en) * 1993-09-20 1995-04-07 Fujitsu Ltd Programmable parallel crc generator
JP2001036414A (en) * 1999-07-21 2001-02-09 Nec Corp Crc code generation circuit and crc error detection circuit
JP2002524904A (en) * 1998-08-26 2002-08-06 テレフオンアクチーボラゲツト エル エム エリクソン(パブル) Parallel CRC generation circuit for generating CRC code
JP2002319867A (en) * 2001-04-19 2002-10-31 Nec Microsystems Ltd Parallel processing circuit and its configuration method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01265332A (en) * 1988-04-18 1989-10-23 Fujitsu Ltd Production of determinant of crc parallel arithmetic circuit
JPH0795096A (en) * 1993-09-20 1995-04-07 Fujitsu Ltd Programmable parallel crc generator
JP2002524904A (en) * 1998-08-26 2002-08-06 テレフオンアクチーボラゲツト エル エム エリクソン(パブル) Parallel CRC generation circuit for generating CRC code
JP2001036414A (en) * 1999-07-21 2001-02-09 Nec Corp Crc code generation circuit and crc error detection circuit
JP2002319867A (en) * 2001-04-19 2002-10-31 Nec Microsystems Ltd Parallel processing circuit and its configuration method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013512492A (en) * 2009-11-30 2013-04-11 コミサリアト ア レネルジー アトミクー エ オ エネルジーズ アルタナティヴズ Addition / subtraction hardware computing unit, processor and mobile communication terminal comprising such a computing unit
JP2013512491A (en) * 2009-11-30 2013-04-11 コミサリアト ア レネルジー アトミクー エ オ エネルジーズ アルタナティヴズ Digital data processor and butterfly communication terminal having butterfly computing unit for executing FFT / IFFT
US9524206B2 (en) 2014-08-28 2016-12-20 Fujitsu Limited Decoding device and error detection method

Also Published As

Publication number Publication date
JP4814969B2 (en) 2011-11-16

Similar Documents

Publication Publication Date Title
KR100439211B1 (en) The arithmetic processing unit
JP3930479B2 (en) Error detection encoding / decoding device and division device
US7506237B2 (en) Reconfigurable bit-manipulation node
US8989242B2 (en) Encoding/decoding processor and wireless communication apparatus
JP4303548B2 (en) Semi-fixed circuit
US5987637A (en) Traceback stage for a viterbi decoder
JP4814969B2 (en) Semi-fixed circuit
WO2005062472A1 (en) Encoding and decoding of reed-solomon codes using look-up tables for galois field multiplications
WO2005011129A1 (en) Viterbi decoder
GB2501091A (en) Calculating a branch metric for received scrambled code bits
KR20030036845A (en) A Decoder For Trellis-Based Channel Encoding
JP2007214918A (en) Viterbi decoding circuit and radio device
US20030074627A1 (en) Convolutional encoder and method of operation
JP3452345B2 (en) Arithmetic processing unit and its utilization device
JP2000311096A (en) Arithmetic processor
US8583998B2 (en) System and method for Viterbi decoding using application specific extensions
JP3191442B2 (en) Arithmetic unit for Viterbi decoding
GB2329557A (en) Viterbi decoder using pre-calculated look-up tables
JP2004282787A (en) Signal transmitting apparatus and encoding apparatus
JP5338506B2 (en) Decoding device and signal processing system
JPH10178356A (en) Arithmetic processing unit and ratio station equipment using the same
JP2006304348A (en) Error correction encoding system
Hanson et al. Cost-Effectively implementing 802.16 SDR using software-configurable architectures
Chu A High Speed Viterbi Decoder For A (64, 40) RM Sub-code
US20080279109A1 (en) Fast error detection system and related methods

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110303

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110823

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110826

R150 Certificate of patent or registration of utility model

Ref document number: 4814969

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140902

Year of fee payment: 3