JP3856016B2 - Signal processing device - Google Patents
Signal processing device Download PDFInfo
- Publication number
- JP3856016B2 JP3856016B2 JP2004184744A JP2004184744A JP3856016B2 JP 3856016 B2 JP3856016 B2 JP 3856016B2 JP 2004184744 A JP2004184744 A JP 2004184744A JP 2004184744 A JP2004184744 A JP 2004184744A JP 3856016 B2 JP3856016 B2 JP 3856016B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- input
- signal processing
- register
- data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Communication Control (AREA)
Description
本発明はディジタル信号の記録・再生・送信・受信を処理する信号処理装置に係るものであり、特に異常状態やデータエラー等の処理に関するものである。 The present invention relates to a signal processing apparatus that processes recording / reproduction / transmission / reception of a digital signal, and particularly relates to processing of an abnormal state or a data error.
ディジタル信号処理装置における処理動作に関しては、エラー発生等の異常状態を考慮した設計が通常なされている。例えば、異常事態の発生を考慮して、適宜定期的にリセットを行い、信号処理装置が異常状態に入っても正しいデータが入力されれば、元通り正しく動作するしくみが考えられている。特許文献1には、このような手法の一例としてデータ内部の所定のコードパターンを検出すれば回路をリセットする手法が示されている。
しかしながら、入力データ内に定期的にリセットに用いられる所定のコードパターンが挿入されている場合には、特許文献1に記載の方法を用いて、所定のコードパターンを検出した時点でリセットを行うと装置内部のレジスタ等の記憶回路にある正しいデータまでも消去してしまう事になり、正しく信号処理を行うことができないという点で大きな課題があった。
However, when a predetermined code pattern used for reset periodically is inserted in the input data, if the predetermined code pattern is detected using the method described in
本発明は上記課題に鑑み、入力データ内に定期的にリセットに用いられる所定のコードパターンが挿入されている場合にも、リセットを行う事ができ、信号処理装置が異常状態に陥っても、正しいデータが入力されれば正しく動作するしくみを備えることを目的とする。 In view of the above problems, the present invention can perform reset even when a predetermined code pattern used for reset periodically is inserted in the input data, and even if the signal processing device falls into an abnormal state, The purpose is to provide a mechanism that operates correctly when correct data is input.
また、従来の信号処理装置において、入力許可信号を用いて入力信号を制御する信号処理装置においては、入力許可信号が非アクティブになれば、内部回路においてもデータがホールドされる状態になっていた。 Further, in the conventional signal processing device, in the signal processing device that controls the input signal using the input permission signal, when the input permission signal becomes inactive, the data is also held in the internal circuit. .
しかしながら、入力許可信号が非アクティブになった後もデータが入力されてしまうような装置では、入力許可信号が非アクティブになった後のデータが欠落してしまうという大きな課題があった。 However, in a device in which data is input even after the input permission signal becomes inactive, there is a big problem that data after the input permission signal becomes inactive is lost.
本発明は上記課題に鑑み、入力許可信号が非アクティブになった後もデータが入力されてしまうような装置においても、入力許可信号が非アクティブになった後のデータを欠落させることなく、首尾よく処理することができる信号処理装置を提供するものである。 The present invention has been made in view of the above problems, and even in an apparatus in which data is input even after the input permission signal becomes inactive, the data after the input permission signal becomes inactive is not lost without being lost. The present invention provides a signal processing apparatus that can process well.
第1の目的を達成するために、本発明に係る信号処理装置は、内部の処理が完了し、定期的に入力されるパターンでリセットを行うかもしくは内部処理が完了していない時点でリセットが行われるパターンが入力された場合は、リセット待機を行い、内部処理終了後にリセットを行うことを特徴としている。 In order to achieve the first object, the signal processing apparatus according to the present invention is reset when the internal processing is completed and the pattern is periodically input or the internal processing is not completed. When a pattern to be performed is input, a reset standby is performed, and the reset is performed after the internal processing is completed.
また、他の目的を達成するために、本発明に係る信号処理装置は、入力許可信号が非アクティブになった後のデータを記憶装置に保持し、入力許可信号がアクティブになるまで、出力しないことを特徴としている。 In order to achieve another object, the signal processing device according to the present invention holds the data after the input permission signal becomes inactive in the storage device and does not output it until the input permission signal becomes active. It is characterized by that.
本発明に係る信号処理装置によれば、入力データ内に定期的にリセットに用いられる所定のコードパターンが挿入されている場合にもリセットを行う事ができ、装置が異常状態に陥っても正しいデータが入力されれば正しく動作する。 According to the signal processing device of the present invention, it is possible to perform reset even when a predetermined code pattern used for reset periodically is inserted in the input data, and it is correct even if the device falls into an abnormal state. Works correctly if data is entered.
さらに、入力許可信号が非アクティブになった後にデータが入力されてしまう場合においても、入力許可信号が非アクティブになった後のデータを欠落させる事無く、首尾良く処理することができる。 Further, even when data is input after the input permission signal becomes inactive, the data after the input permission signal becomes inactive can be processed successfully without being lost.
第1の発明の信号処理装置においては、入力データ内に定期的にリセットに用いられる所定のコードパターンが挿入されている場合にも、リセットを行う事ができ、装置が異常状態に陥っても、正しいデータが入力されれば、正しく動作するしくみを備えている。 In the signal processing device according to the first aspect of the present invention, even when a predetermined code pattern used for reset periodically is inserted in the input data, the reset can be performed, and even if the device falls into an abnormal state If correct data is input, it has a mechanism to operate correctly.
本発明に係る第1の発明の信号処理装置は、入力許可信号が非アクティブになった後、高々cシンボル分の信号が入力され、入力信号を一度にbシンボル分処理して出力すると共に、自身内部のオーバーフロー状態を通知する信号処理手段と、前記信号処理手段の信号処理能力がオーバーフロー状態であれば、前記入力許可信号を非アクティブにして出力する入力許可信号生成手段と、前記入力信号をaシンボル分保持し、前記入力許可信号がアクティブの場合にbシンボルを前記信号処理手段に出力し、前記aと前記bと前記cの関係が、必ずa≧(b+c)であり、前記入力許可信号を1ラッチした信号と前記入力許可信号との論理和を演算した信号をロード信号として用いるレジスタと、を具備することを特徴とするものである。 The signal processing device according to the first aspect of the present invention receives at most c symbols after the input permission signal becomes inactive, processes the input signal for b symbols at a time, and outputs the processed signal . signal processing means for notifying its own internal overflow condition if the signal processing capability overflow state of said signal processing means, and the input enable signal generating means for outputting the input permission signal inactive, the input signal When the input permission signal is active, b symbols are output to the signal processing means, and the relationship between a, b, and c is always a ≧ (b + c), and the input permission is retained. it is characterized in that it comprises a register using the calculated signal the logical sum of the first latch signal and said input enable signal the signal as a load signal.
第1の発明の信号処理装置においては、入力許可信号が非アクティブになった後のデータを欠落させる事無く、首尾良く処理することができる。 In the signal processing device according to the first aspect of the present invention, the data after the input permission signal becomes inactive can be processed without being lost.
なお、ここでシンボルとは、バイトあるいはワード等の処理単位を表す。 Here, the symbol represents a processing unit such as a byte or a word.
本発明に係る第2の発明の信号処理装置は、入力許可信号が非アクティブになった後、高々cシンボル分の信号が入力され、入力信号に対して処理を施して出力すると共に、前記入力信号を受け入れることが可能かどうかを通知する信号を出力する信号処理手段と、前記入力信号を記憶し前記信号処理手段に出力するメモリと、前記信号処理手段が信号を受け入れ可能な場合に、前記メモリからデータを読み出すように前記メモリを制御し、読み出されていないデータを上書きしないように書込み制御をしつつ、書込みアドレスと読み出しアドレスを出力する書込み読み出し制御手段と、前記書込み読み出し制御手段からの前記書込みアドレスと前記読み出しアドレスとの差違で示される書込み余裕量が少なくともcシンボルになった場合に、前記入力許可信号を非アクティブにして出力する入力許可信号生成手段と、を具備することを特徴とするものである。 In the signal processing device according to the second aspect of the present invention, after the input permission signal becomes inactive, a signal of at most c symbols is input, the input signal is processed and output, and the input signal processing means for outputting a signal for notifying whether it is possible to accept the signal, a memory for output to the signal processing means stores the input signal, when the signal processing means which can accept the signal, the Write / read control means for controlling the memory so as to read data from the memory and outputting the write address and the read address while performing write control so as not to overwrite unread data, and the write / read control means when said write allowance represented by difference of the write address and said read address becomes at least c symbol It is characterized in that it comprises a an input permission signal generating means for outputting the input permission signal inactive.
第2の発明の信号処理装置においては、入力許可信号が非アクティブになった後のデータを欠落させる事無く首尾良く処理することができる。 In the signal processing device according to the second aspect of the present invention, the data after the input permission signal becomes inactive can be processed successfully without loss of data.
以下、本発明に係る信号処理装置の実施の形態について、図面に基づいて詳細に説明する。 Embodiments of a signal processing apparatus according to the present invention will be described below in detail with reference to the drawings.
(実施の形態1)
まず、本発明の実施の形態1に係る信号処理装置について説明する。具体例として、DVD機器を想定する。図1は本発明に係る信号処理装置の構成を示すブロック図である。図1において、1は先頭パターン検出器、2はリセット生成および入力許可信号生成回路、3は信号処理回路、5は第1のレジスタ、6は第2のレジスタ、7は第3のレジスタ、8は第4のレジスタである。
(Embodiment 1)
First, the signal processing apparatus according to
図1を用いて、本発明の実施の形態の動作説明を行う。 The operation of the embodiment of the present invention will be described with reference to FIG.
本実施の形態1を容易に理解するために、入力信号のデータフォーマットは1バイトの8ビットパラレル入力とし、2048バイトを一単位とし、先頭パターンを32ビット(4バイト)の000001BA(16進数)と仮定する。これは、DVD Recording規格やDVDビデオやDVDオーディオプレーヤ等のDVD機器のフォーマットに準拠している。 In order to easily understand the first embodiment, the data format of the input signal is 8-byte parallel input of 1 byte, 2048 bytes is a unit, and the head pattern is 32 bits (4 bytes) 000001BA (hexadecimal) Assume that This conforms to the DVD recording standard and the format of DVD equipment such as DVD video and DVD audio player.
2048バイトが一単位のデータが順次1バイトずつ入力されていく。入力データが第1のレジスタ5、第2のレジスタ6、第3のレジスタ7、第4のレジスタ8に順次保持されていく。そして、4バイト単位で、第1のレジスタ5、第2のレジスタ6、第3のレジスタ7、第4のレジスタ8から同時に信号処理回路3に入力され処理が施されて出力される。信号処理回路3では、各レジスタからの信号を処理して出力するばかりでなく、回路自身が動作中かそうでないか、すなわち信号を処理中か処理を完了しているかを、信号処理状態通知信号としてリセット生成および入力許可信号生成回路2に通知する。また先頭パターン検出器1は、第1のレジスタ5、第2のレジスタ6、第3のレジスタ7、第4のレジスタ8のデータを監視して、先頭パターンである000001BA(16進数)を検出すれば、先頭パターンが検出できた事を、リセット生成および入力許可信号生成回路2に通知する。リセット生成および入力許可信号生成回路2は信号処理回路3が信号の処理を完了している通知を受けた状態で、先頭パターン検出器1から先頭パターン検出の通知を受ければ、信号処理回路3にリセット信号を出力する。一方、信号処理回路3が信号の処理を完了していない状態で、リセット生成および入力許可信号生成回路2が先頭パターン検出の通知を受ければ、入力許可信号を非アクティブにして入力信号を停止させ、リセットを行う準備ができていることを示す信号を内部で保持する。このリセットを行う準備ができていることを示す信号を内部で保持していることをリセット待機と呼ぶ。リセット待機状態で、信号処理回路3が処理完了通知を行えば、リセット生成および入力許可信号生成回路2は、リセット信号を信号処理回路3に出力すると共にリセット待機状態を解除する。また、リセット生成および入力許可信号生成回路2は信号処理回路3がオーバーフローになる際には、入力許可信号を非アクティブにして、入力信号を停止させる。
One byte of data is sequentially input in units of 2048 bytes. Input data is sequentially held in the
なお、一単位を2048バイトとしたが、1024バイトや188バイトや194バイト等、任意の値でも良い。さらに、先頭パターンを32ビットの000001BA(16進数)としたが、例えば、32ビットの000001BB,00000100(16進数)、28ビットの000001e(16進数)、8ビットの47(16進数)等、任意の値で良い。また、信号処理回路3が分割されて複数の信号処理装置で構成されていても良い。 Although one unit is 2048 bytes, it may be any value such as 1024 bytes, 188 bytes, 194 bytes. Furthermore, although the head pattern is 32 bits of 000001BA (hexadecimal), for example, 32 bits of 000001BB, 00000100 (hexadecimal), 28 bits of 000001e (hexadecimal), 8 bits of 47 (hexadecimal), etc. Good value. Further, the signal processing circuit 3 may be divided and configured by a plurality of signal processing devices.
以上により、定期的にリセットを行う事ができ、装置が異常状態に陥っても、正しいデータが入力されれば、正しく動作するしくみを備えることができる。 As described above, it is possible to periodically perform resetting, and even when the apparatus falls into an abnormal state, it is possible to provide a mechanism for operating correctly if correct data is input.
(実施の形態2)
次に、本発明の実施の形態2に係る信号処理装置について図2および図6を用いて説明する。図2は本実施の形態2の信号処理装置のブロック図である。図6は、入力信号と入力許可信号とレジスタ5からレジスタ10までの回路におけるタイミングチャートである。なお、図6では、入力許可信号がネゲートされた場合について示してある。図2において、4は信号処理回路、5は第1のレジスタ、6は第2のレジスタ、7は第3のレジスタ、8は第4のレジスタ、9は第5のレジスタ、10は第6のレジスタ、11は入力許可信号生成回路、21は論理和、22は1ラッチレジスタである。本発明の実施の形態2が実施の形態1と異なる所を以下に述べる。実施の形態1は定期的にリセットを行う事ができ、装置が異常状態に陥っても、正しいデータが入力されれば、正しく動作するしくみを備えることを目的としていたのに対して、実施の形態2は、入力許可信号が非アクティブになった後にデータが入力されてしまう場合において、入力許可信号が非アクティブになった後のデータを欠落させる事無く、首尾良く処理することを目的としている。
(Embodiment 2)
Next, a signal processing apparatus according to
図2を用いて、本発明の実施の形態2の動作説明を行う。
The operation of
実施の形態2を容易に理解するために、信号処理装置には、8ビットパラレルの1バイト単位で入力され、入力許可信号が非アクティブ後、1バイトが入力されると仮定する。入力データが第1のレジスタ5、第2のレジスタ6、第3のレジスタ7、第4のレジスタ8、第5のレジスタ9、第6のレジスタ10に順次保持されていく。そして、第3のレジスタ7、第4のレジスタ8、第5のレジスタ9、第6のレジスタ10のデータ4バイト分が同時に信号処理回路4に入力され、処理が施されて出力される。信号処理回路4では、入力データを処理して、データを出力するばかりでなく、オーバーフローが起こるひとつ前の状態をオーバーフロー通知信号として入力許可信号生成回路11に通知する。なお、オーバーフローの具体的な発生状況は、本発明の特徴としないところであるが一例を挙げておく。信号処理回路4では、入力信号をレジスタに保持して演算を行っている。その処理速度は一定とする。一方、入力信号の入力速度が可変の場合、一時的に入力速度が信号処理回路4の処理速度を超える場合がある。このような場合に、信号処理回路4のレジスタがオーバーフローすることが発生する。オーバーフロー通知信号が入力許可信号生成回路11に入力されれば、入力許可信号生成回路11は非アクティブにした入力許可信号を出力する。以降のデータの流れを図6のタイミングチャートを用いて説明する。非アクティブの入力許可信号により、実施の形態2の信号処理装置に入力される入力データは停止されるが、1バイトのデータが第1のレジスタ5に入力される(図6中入力信号D8)。レジスタ5からレジスタ10までのレジスタはロード信号によって制御されている。入力許可信号を1ラッチした信号(図2中レジスタ22出力)と入力許可信号とを論理和(図2中論理和21出力)した結果をロード信号としている。
In order to easily understand the second embodiment, it is assumed that the signal processing device is input in units of one byte of 8-bit parallel, and one byte is input after the input permission signal is inactive. Input data is sequentially held in the
図6中タイミングAで信号処理回路4がオーバーフローを検知する。すると1クロック後、すなわちタイミングBで入力許可信号が非アクティブ(ネゲート)される。この時、入力信号であるD7は入力されるので、第1のレジスタ5に取り込まなければならない。第1のレジスタ5はロード信号によって制御される。タイミングAでは、ロード信号はアクティブである。従って、入力信号D7は第1のレジスタ5に首尾よく取り込まれる。さらに、タイミングBで入力許可信号が非アクティブ(ネゲート)になった時、1バイト(D8)が入力信号として入力される。この時ロード信号はアクティブであるので首尾良くこの信号(D8)を取り込むことができる。タイミングCになった時点では、入力信号も停止している。信号処理回路4のオーバーフローが解除されて、入力許可信号がアクティブになるタイミングであるタイミングDで入力信号が復活する(D9)。この信号の流れを示した図6において、入力許可信号が非アクティブ(ネゲート)されていても、信号処理回路4に入力される第3のレジスタ7から第6のレジスタ10の出力信号は連続しており入力データの欠落が無い事が分かる。
The signal processing circuit 4 detects an overflow at timing A in FIG. Then, after one clock, that is, at timing B, the input permission signal is deactivated (negated). At this time, the input signal D7 is input and must be taken into the
なお、8ビットパラレルを1バイトとしてバイト単位でデータが入力されること及び、入力許可信号が非アクティブ後、1バイトのデータが信号処理装置に入力されると仮定したが、入力単位、入力許可信号が非アクティブ後の入力されるデータ量は任意でよい。 Although it is assumed that data is input in bytes with 8-bit parallel as 1 byte and that 1-byte data is input to the signal processing device after the input permission signal is inactive, the input unit, input permission The amount of input data after the signal is inactive may be arbitrary.
以上説明したように、本実施の形態の信号処理装置では、入力許可信号が非アクティブになった後にデータが入力されてしまう場合において、入力許可信号が非アクティブになった後のデータを欠落させる事無く首尾良く処理することが可能となる。 As described above, in the signal processing device of this embodiment, when data is input after the input permission signal becomes inactive, data after the input permission signal becomes inactive is dropped. It can be processed successfully without any problems.
(実施の形態3)
次に、本発明の実施の形態3に係る信号処理装置について図3を用いて説明する。図3において、1は先頭パターン検出器、5は第1のレジスタ、6は第2のレジスタ、7は第3のレジスタ、8は第4のレジスタ、9は第5のレジスタ、10は第6のレジスタ、12は書込み読み出し制御回路、13はレジスタ、17は信号処理回路、18はリセット生成および入力許可信号生成回路、21は論理和、22は1ラッチレジスタである。本実施の形態3が実施の形態1および実施の形態2と異なるのは、図1および図2で示す信号処理回路3,4を書込み読み出し制御回路12およびレジスタ13および信号処理回路17に分割した構成となっている点である。従って、実施の形態2では入力許可信号がアクティブの場合に第3のレジスタ7から第6のレジスタ10までのデータが出力されていたが、本実施の形態3では、入力許可信号がアクティブという点を書込み読み出し制御回路12が書込み許可の条件として用いることと、さらに実施の形態1のしくみとを複合させた点である。
(Embodiment 3)
Next, a signal processing apparatus according to Embodiment 3 of the present invention will be described with reference to FIG. In FIG. 3, 1 is a head pattern detector, 5 is a first register, 6 is a second register, 7 is a third register, 8 is a fourth register, 9 is a fifth register, and 10 is a sixth register. , 12 is a write / read control circuit, 13 is a register, 17 is a signal processing circuit, 18 is a reset generation and input permission signal generation circuit, 21 is a logical sum, and 22 is a 1 latch register. The third embodiment is different from the first and second embodiments in that the signal processing circuits 3 and 4 shown in FIGS. 1 and 2 are divided into a write /
図3を用いて、本実施の形態3の動作を説明する。 The operation of the third embodiment will be described with reference to FIG.
本実施の形態3の動作を容易に理解するために、入力信号は8ビットパラレルの1バイトとし、2048バイトを一単位とし、先頭パターンを32ビット(4バイト)の000001BA(16進数)と仮定し、入力許可信号が非アクティブになった後、1バイトが入力されると仮定する。なお、2048バイトを一単位とし、先頭パターンを32ビット(4バイト)の000001BA(16進数)との仮定は、DVDレコーディング規格およびDVDビデオ規格およびDVDオーディオ規格に準ずるものである。 In order to easily understand the operation of the third embodiment, the input signal is assumed to be 1 byte of 8-bit parallel, 2048 bytes as one unit, and the head pattern is 32 bits (4 bytes) of 000001BA (hexadecimal). Assume that one byte is input after the input permission signal becomes inactive. The assumption that 2048 bytes are a unit and the leading pattern is 32 bits (4 bytes) of 000001BA (hexadecimal number) is in accordance with the DVD recording standard, the DVD video standard, and the DVD audio standard.
2048バイトが一単位のデータが順次1バイトずつ入力されてくる。入力データが第1のレジスタ5、第2のレジスタ6、第3のレジスタ7、第4のレジスタ8、第5のレジスタ9、第6のレジスタ10に順次保持されていく。そして、第3のレジスタ7から第6のレジスタ10までの4レジスタの出力をレジスタ13に書き込ませる。レジスタ13の制御は書込み読み出し制御回路12が行う。レジスタ13に書込み可能な領域が存在すれば、書込み読み出し制御回路12は書込みを許可しデータの書込みを開始する。そしてレジスタ13にまだ読み出しされていないデータが存在していれば、書込み読み出し制御回路12は、読み出されていないデータをレジスタ13から読み出して信号処理回路17に出力する。さらに、書込み読み出し制御回路12はまだレジスタ13内の読み出していないデータの領域にデータを書き込もうとすれば、書込みを禁止すると同時に、書込み禁止であることをリセット生成および入力許可信号生成回路18に書込み禁止通知信号で通知する。更に、書込み読み出し制御回路12はレジスタ13内の読み出せていないデータが存在するかしないかをリセット生成および入力許可信号生成回路18に、未読み出しデータ残留通知信号で通知する。レジスタ13からの出力は信号処理回路17に入力される。信号処理回路17は、入力された信号に対して処理を行い出力させると共にオーバーフローになれば書込み読み出し制御回路12に読み出し停止を読み出し停止信号で指示する。さらに、信号処理回路17の内部に処理中のデータが残留していなければ、信号処理回路17は、リセット生成および入力許可信号生成回路18に処理完了信号で、処理中のデータが残留していないことを通知する。リセット生成および入力許可信号生成回路18では、書込み禁止の通知を受ければ、直ちに、入力許可信号を非アクティブにして、入力信号を停止させる。入力許可信号が非アクティブになった後のレジスタ5からレジスタ10までの動作は本発明の実施の形態2と同一なので、ここでは割愛する。
One byte of data is sequentially input in units of 2048 bytes. Input data is sequentially held in the
一方、先頭パターン検出器1は第1のレジスタ5、第2のレジスタ6、第3のレジスタ7、第4のレジスタ8を監視して、一単位の先頭パターンである000001BA(16進数)を検出すれば、一単位の先頭パターンを検出できたことをリセット生成および入力許可信号生成回路18に通知する。リセット生成および入力許可信号生成回路18では、書込み読み出し制御回路12からレジスタ13内に読み出せていないデータがレジスタ13に存在しないことの通知を受けている状態かつ信号処理回路17の内部に処理中のデータが存在していないことの通知を受けている状態で、先頭パターン検出器1から先頭パターンを検出できたことの通知を受ければ、書込み読み出し制御回路12および信号処理回路17にリセット信号を出力する。また、先頭パターン検出器1から先頭パターンを検出できたことの通知を受けた時、書込み読み出し制御回路12から読み出せていないデータがレジスタ13に存在することの通知を受けているかもしくは、信号処理回路17からデータが処理中であることの通知を受けているかの少なくとも一方の通知を受けていれば、リセット待機とし、入力許可信号を非アクティブにして、入力を停止させる。ここでリセット待機の意味と動作は実施の形態1と同様である。書込み読み出し制御回路12から読み出せていないデータがレジスタ13に存在しないとの通知と信号処理回路17から処理完了の通知を受ければ、リセット生成および入力許可信号生成回路18は、書込み読み出し制御回路12と信号処理回路17にリセット信号を出力しリセット待機状態を解除する。それと同時に、入力許可信号をアクティブにする。
On the other hand, the
なお、実施の形態1と同様に一単位の先頭パターンが本実施の形態3で示した先頭パターン以外でも良いことは言うまでもない。さらに、一単位が2048バイト以外でも良い。更に、入力許可信号が非アクティブになった後1バイト以上の入力があっても良い。但し、この場合は入力レジスタの段数を増やす必要がある。 Needless to say, the head pattern of one unit may be other than the head pattern shown in the third embodiment as in the first embodiment. Further, one unit may be other than 2048 bytes. Furthermore, there may be an input of 1 byte or more after the input permission signal becomes inactive. However, in this case, it is necessary to increase the number of input register stages.
以上により、本実施の形態に係る信号処理装置によれば、定期的にリセットを行う事ができ、装置が異常状態に陥っても、正しいデータが入力されれば、正しく動作するしくみを備えるとともに、入力許可信号が非アクティブになった後にデータが入力されてしまう場合において、入力許可信号が非アクティブになった後のデータを欠落させる事無く、首尾良く処理することができるしくみが有機的に結合されているという効果を有する。 As described above, according to the signal processing device according to the present embodiment, it is possible to perform resetting periodically, and even if the device falls into an abnormal state, it has a mechanism that operates correctly if correct data is input. In the case where data is input after the input permission signal becomes inactive, a mechanism that can be processed successfully without losing data after the input permission signal becomes inactive It has the effect of being combined.
(実施の形態4)
次に、本発明の実施の形態4に係る信号処理装置について図4を用いて説明する。図4において、14は入力許可信号生成回路、15は書込み読み出し制御回路、16はメモリ、19は信号処理回路である。本発明の実施の形態4が実施の形態3と異なるところは、入力許可信号が非アクティブになった後のデータの処理をレジスタでなくFIFO(First In First Out)形式のメモリ、あるいは同様のアドレス制御を行うメモリで行う点である。
(Embodiment 4)
Next, a signal processing device according to Embodiment 4 of the present invention will be described with reference to FIG. In FIG. 4, 14 is an input permission signal generation circuit, 15 is a write / read control circuit, 16 is a memory, and 19 is a signal processing circuit. The fourth embodiment of the present invention differs from the third embodiment in that the processing of data after the input permission signal becomes inactive is not a register but a FIFO (First In First Out) type memory or a similar address. This is a point that is performed by a memory that performs control.
本実施の形態4を容易に理解するために、4バイト(32ビットパラレル)単位で入力され、入力許可信号が非アクティブ後、4バイトが入力されると仮定する。 In order to easily understand the fourth embodiment, it is assumed that 4 bytes are input in units of 4 bytes (32 bits parallel), and 4 bytes are input after the input permission signal is inactive.
メモリ16に信号が順次入力されている。書込み読み出し制御回路15により、メモリ16は制御されている。書込み読み出し制御回路15は、入力信号が存在すれば書込みを許可する。またメモリ16に読み出し可能なデータが存在し信号処理回路19が受け入れ可能であれば、書込み読み出し制御回路15は、読み出しを開始してメモリ16から信号処理回路19に出力する。さらに、書込み読み出し制御回路15は、読み出しアドレスと書込みアドレスを入力許可信号生成回路14に通知する。入力許可信号生成回路14は、読み出しアドレスと書込みアドレスの差違が2となれば、入力許可信号を非アクティブにして入力信号を停止させる。入力許可信号が非アクティブになった後、4バイトが入力されるが、これはメモリ16の1アドレス分であるので、メモリ16に書き込まれても、読み出しアドレスと書込みアドレスが同一値を示す事が無い。すなわち、まだ読み出せていないデータを上書きすることが無い。読み出しアドレスが進み、読み出しアドレスと書込みアドレスの差違が2を超えた時に、入力許可信号がアクティブになる。これにより、入力許可信号が非アクティブになった後の4バイトを欠落させる事が無い。信号処理回路19では、入力されたデータを処理して出力する。更に、信号処理回路19はオーバーフローになるひとつ手前で書込み読み出し制御回路15に読み出し停止を指示する。
Signals are sequentially input to the
なお、入力データの一単位のサイズ等は他の実施の形態と同様仮定以外のパラメータでも良いことは言うまでもない。 Needless to say, the unit size of the input data may be a parameter other than the assumption as in the other embodiments.
以上により、入力許可信号が非アクティブになった後にデータが入力されてしまう場合において、入力許可信号が非アクティブになった後のデータを欠落させる事無く首尾良く処理することができる。 As described above, when data is input after the input permission signal becomes inactive, the data after the input permission signal becomes inactive can be processed successfully without being lost.
(実施の形態5)
次に、本発明の実施の形態5に係る信号処理装置について図5を用いて説明する。図5において、1は先頭パターン検出器、5は第1のレジスタ、6は第2のレジスタ、7は第3のレジスタ、8は第4のレジスタ、18はリセット生成および入力許可信号生成回路、15は書込み読み出し制御回路、16はメモリ、20は信号処理回路である。本発明の実施の形態5が実施の形態4と異なるところは、実施の形態4と実施の形態3とを複合させた点である。
(Embodiment 5)
Next, a signal processing device according to
本実施の形態5を容易に理解するために、入力信号は8ビットパラレルの1バイトとし、2048バイトを一単位とし、先頭パターンを32ビット(4バイト)の000001BA(16進数)と仮定し、入力許可信号が非アクティブになった後、1バイトが入力されると仮定する。さらに、メモリ16は32ビットデータバスであることを仮定する。
In order to easily understand the fifth embodiment, it is assumed that the input signal is 1 byte of 8-bit parallel, 2048 bytes are a unit, and the head pattern is 32 bits (4 bytes) of 000001BA (hexadecimal), Assume that 1 byte is input after the input permission signal becomes inactive. Further assume that
信号が順次、第1のレジスタ5、第2のレジスタ6、第3のレジスタ7、第4のレジスタ8に入力されていく。ここで、先頭パターン検出器1の動作は本実施の形態1と同様のためここでは割愛する。そして、第1のレジスタ5から第4のレジスタ8までのデータが同時にメモリ16に書き込まれていく。メモリ16の書込み、読み出し制御は書込み読み出し制御回路15が行う。書込み読み出し制御回路15の動作は実施の形態3と同様なのでここでは割愛する。メモリから読み出されたデータは信号処理回路20に入力される。信号処理回路20も実施の形態4と同様であるのでここでは割愛する。そして、リセット生成および入力許可信号生成回路18の動作も実施の形態4と同様であるのでここでは割愛する。リセット動作は実施の形態3と同様であるのでここでは割愛する。以下、入力許可信号が非アクティブになった時の動作が異なるのでその点について説明する。
Signals are sequentially input to the
メモリ16に信号が入力され、読み出しアドレスと書込みアドレスの差違が2となり、入力許可信号が非アクティブとなったとする。この時点で、入力データは1バイト入力されているので、第1のレジスタ5にはデータが存在している。さらに、入力許可信号が非アクティブになった後、1バイトの入力があるので第1のレジスタ5および第2のレジスタ6にデータが存在することになる。程なく、読み出しアドレスと書込みアドレスの差違が3以上となれば入力許可信号がアクティブとなり信号が入力される。
Assume that a signal is input to the
以上により、定期的にリセットを行う事ができ、装置が異常状態に陥っても、正しいデータが入力されれば、正しく動作するしくみを備えるばかりでなく、入力許可信号が非アクティブになった後にデータが入力されてしまう場合において、入力許可信号が非アクティブになった後のデータを欠落させる事無く、首尾良く処理することができるしくみが有機的に結合されている。なお、本実施の形態の場合は、さらに1バイトの余裕がある。すなわち、入力許可信号が非アクティブとなった後、2バイトまでは、入力信号を受け付けることができる。 As described above, it can be reset periodically, and even if the device falls into an abnormal state, if correct data is input, it will not only have a mechanism to operate correctly but also after the input permission signal becomes inactive. In the case where data is input, a mechanism that can be processed successfully without missing data after the input permission signal becomes inactive is organically coupled. In the case of this embodiment, there is an additional 1 byte. That is, after the input permission signal becomes inactive, the input signal can be accepted up to 2 bytes.
本発明の信号処理装置は、ディジタル信号の記録・再生・送信・受信を処理する信号処理装置において、異常状態やデータエラー等が発生した場合の処理に有用である。 The signal processing apparatus of the present invention is useful for processing when an abnormal state or a data error occurs in a signal processing apparatus that processes recording / reproduction / transmission / reception of a digital signal.
1 先頭パターン検出器
2 リセット生成および入力許可信号生成回路
3 信号処理回路
4 信号処理回路
5 第1のレジスタ
6 第2のレジスタ
7 第3のレジスタ
8 第4のレジスタ
9 第5のレジスタ
10 第6のレジスタ
11 入力許可信号生成回路
12 書込み読み出し制御回路
13 レジスタ
14 入力許可信号生成回路
15 書込み読み出し制御回路
16 メモリ
17 信号処理回路
18 リセット生成および入力許可信号生成回路
19 信号処理回路
20 信号処理回路
21 論理和
22 1ラッチレジスタ
DESCRIPTION OF
Claims (4)
入力信号を一度にbシンボル分処理して出力すると共に、自身内部のオーバーフロー状態を通知する信号処理手段と、
前記信号処理手段の信号処理能力がオーバーフロー状態であれば、前記入力許可信号を非アクティブにして出力する入力許可信号生成手段と、
前記入力信号をaシンボル分保持し、前記入力許可信号がアクティブの場合にbシンボルを前記信号処理手段に出力し、前記aと前記bと前記cの関係が、必ずa≧(b+c)であり、前記入力許可信号を1ラッチした信号と前記入力許可信号との論理和を演算した信号をロード信号として用いるレジスタと、
を具備することを特徴とする信号処理装置。 After the input permission signal becomes inactive, a signal for at most c symbols is input,
With an input signal b symbol processing and outputs at a time, and signal processing means for notifying its own internal overflow condition,
If the signal processing capability overflow state of said signal processing means, and the input enable signal generating means for outputting the input permission signal inactive,
Said input signal retaining a symbol, the input enable signal to output the b symbol in the case of the active to the signal processing means, the relationship of the a and the b and the c are located at always a ≧ (b + c) A register that uses, as a load signal, a signal obtained by calculating a logical sum of a signal obtained by latching the input permission signal and the input permission signal ;
A signal processing apparatus comprising:
入力信号に対して処理を施して出力すると共に、前記入力信号を受け入れることが可能かどうかを通知する信号を出力する信号処理手段と、
前記入力信号を記憶し前記信号処理手段に出力するメモリと、
前記信号処理手段が信号を受け入れ可能な場合に、前記メモリからデータを読み出すように前記メモリを制御し、読み出されていないデータを上書きしないように書込み制御をしつつ、書込みアドレスと読み出しアドレスを出力する書込み読み出し制御手段と、
前記書込み読み出し制御手段からの前記書込みアドレスと前記読み出しアドレスとの差違で示される書込み余裕量が少なくともcシンボルになった場合に、前記入力許可信号を非アクティブにして出力する入力許可信号生成手段と、
を具備することを特徴とする信号処理装置。 After the input permission signal becomes inactive, a signal for at most c symbols is input,
Outputs by performing processing on the input signal, a signal processing means for outputting a signal for notifying whether it is possible to receive the input signal,
A memory for storing the input signal and outputting it to the signal processing means;
When the signal processing means can accept a signal, the memory is controlled to read data from the memory, and the write address and the read address are set while performing write control so as not to overwrite unread data. Write / read control means for outputting;
When the write margin amount indicated by the difference between the write address and the read address from the write read control means becomes at least c symbol, the input enable signal generating means for outputting the input permission signal inactive ,
A signal processing apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004184744A JP3856016B2 (en) | 2004-06-23 | 2004-06-23 | Signal processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004184744A JP3856016B2 (en) | 2004-06-23 | 2004-06-23 | Signal processing device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000203375A Division JP3633450B2 (en) | 2000-06-29 | 2000-07-05 | Signal processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004357310A JP2004357310A (en) | 2004-12-16 |
JP3856016B2 true JP3856016B2 (en) | 2006-12-13 |
Family
ID=34056335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004184744A Expired - Fee Related JP3856016B2 (en) | 2004-06-23 | 2004-06-23 | Signal processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3856016B2 (en) |
-
2004
- 2004-06-23 JP JP2004184744A patent/JP3856016B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004357310A (en) | 2004-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7822906B2 (en) | Data flush methods | |
JP2004062630A (en) | Fifo memory and semiconductor device | |
JP4576391B2 (en) | FIFO memory device having nonvolatile storage stage | |
JP3856016B2 (en) | Signal processing device | |
JP3633450B2 (en) | Signal processing device | |
US6697889B2 (en) | First-in first-out data transfer control device having a plurality of banks | |
JP4821628B2 (en) | Packet buffer FIFO memory device | |
US7822905B2 (en) | Bridges capable of controlling data flushing and methods for flushing data | |
JP2004348627A (en) | Microcomputer system | |
JP4569163B2 (en) | Data input / output device and data input / output method | |
JP3402581B2 (en) | Data restoration device | |
JP3584566B2 (en) | Data error correction device | |
JP2007249667A (en) | Data transfer device, and data transfer system | |
JP4103452B2 (en) | Data input control device for serial EEPROM | |
JP2604482B2 (en) | FIFO register | |
JP2009110284A (en) | Signal processor, card type device, and fault reproduction method | |
JP3082577B2 (en) | First in first out memory device | |
JP2000003332A (en) | Bi-directional bus size conversion circuit | |
JPH09274599A (en) | Buffer memory device | |
KR100253730B1 (en) | Backup device of non-continuous multi-source digital data | |
JP2010020815A (en) | Fifo access circuit | |
US20070174738A1 (en) | Disk device, method of writing data in disk device, and computer product | |
JPH0535443A (en) | Buffer control system | |
JP3256464B2 (en) | Asynchronous transfer control method | |
JP2814980B2 (en) | Cell buffer control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20050711 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060530 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060613 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060728 |
|
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: 20060822 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060904 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090922 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100922 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110922 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120922 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130922 Year of fee payment: 7 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |