Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5810782B2 - Asynchronous absorption circuit, image processing apparatus, and program - Google Patents
[go: Go Back, main page]

JP5810782B2 - Asynchronous absorption circuit, image processing apparatus, and program - Google Patents

Asynchronous absorption circuit, image processing apparatus, and program Download PDF

Info

Publication number
JP5810782B2
JP5810782B2 JP2011202819A JP2011202819A JP5810782B2 JP 5810782 B2 JP5810782 B2 JP 5810782B2 JP 2011202819 A JP2011202819 A JP 2011202819A JP 2011202819 A JP2011202819 A JP 2011202819A JP 5810782 B2 JP5810782 B2 JP 5810782B2
Authority
JP
Japan
Prior art keywords
data
clock signal
asynchronous absorption
switching
storage means
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
Application number
JP2011202819A
Other languages
Japanese (ja)
Other versions
JP2013066007A (en
Inventor
基順 上西
基順 上西
秋山 和仁
和仁 秋山
康一 松村
康一 松村
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011202819A priority Critical patent/JP5810782B2/en
Publication of JP2013066007A publication Critical patent/JP2013066007A/en
Application granted granted Critical
Publication of JP5810782B2 publication Critical patent/JP5810782B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明は、非同期吸収回路、画像処理装置及びプログラムに関する。   The present invention relates to an asynchronous absorption circuit, an image processing device, and a program.

例えば半導体集積回路上にFIFO(First−In First−Out)メモリ装置を構成する場合、デュアルポートメモリはシングルポートメモリに対してサイズが大きいという不利益がある。そのため、より多くの回路を集積したい半導体装置においては少しでもサイズの小さいシングルポートSRAM等を搭載し、制御する方法が用いられている(例えば特許文献1参照)。   For example, when a first-in first-out (FIFO) memory device is configured on a semiconductor integrated circuit, there is a disadvantage that the dual port memory is larger in size than the single port memory. For this reason, in a semiconductor device in which more circuits are to be integrated, a method of mounting and controlling a single port SRAM or the like that is as small as possible is used (for example, see Patent Document 1).

また、2つのシングルポートSRAMを使用して、書き込み或いは読み取り動作を行うメモリ制御装置は従来から知られている。従来のメモリ制御装置は画像1フレーム分の書込みおよび読出し動作の完了を検出するアドレス検出手段、及びアドレス検出手段、記憶手段への書込みあるいは読出し動作の一方の動作に優先権を設定する優先権設定手段を設けている。   A memory control device that performs writing or reading operation using two single-port SRAMs is conventionally known. The conventional memory control device has an address detection means for detecting the completion of writing and reading operations for one frame of image, and a priority setting for setting a priority to one of the writing or reading operations to the address detecting means and the storage means. Means are provided.

切替え手段は、優先権の設定されている動作側のアドレス検出手段が1フレーム分の書込みあるいは読出しの完了を検出する毎に記憶手段を切替える。また、優先権の設定されていない動作側の書込みあるいは読出し制御手段は、記憶手段の切替え前後で連続したアドレスへの書込みあるいは読出しを行うようにしている(例えば特許文献2参照)。   The switching means switches the storage means each time the operation-side address detection means for which priority is set detects completion of writing or reading for one frame. Further, the writing or reading control means on the operation side for which priority is not set performs writing or reading to continuous addresses before and after switching of the storage means (see, for example, Patent Document 2).

しかしながら、従来のメモリ制御装置はアドレス検出手段が1フレーム分の書込みあるいは読出しの完了を検出する毎に、切替え手段が少なくとも画像1フレーム分を記憶可能な第1及び第2の記憶手段を切り替えている。したがって、従来のメモリ制御装置は少なくとも画像1フレーム分を記憶可能な二つの記憶手段が必要という問題があった。   However, in the conventional memory control device, every time the address detecting means detects completion of writing or reading for one frame, the switching means switches between the first and second storage means capable of storing at least one frame of image. Yes. Therefore, the conventional memory control device has a problem that it requires two storage means capable of storing at least one frame of an image.

本発明は上記の点に鑑みなされたもので、画像1ライン分よりも少ない記憶容量の複数のシングルポートメモリを用いて非同期吸収を行うことができる非同期吸収回路、画像処理装置及びプログラムを提供することを目的とする。   The present invention has been made in view of the above points, and provides an asynchronous absorption circuit, an image processing apparatus, and a program capable of performing asynchronous absorption using a plurality of single-port memories having a storage capacity smaller than that of one image line. For the purpose.

上記した課題を解決するために、請求項1に記載の非同期吸収回路は、記憶容量がそれぞれ画像1ライン分よりも少ない複数の記憶手段への入力データの書き込み動作を行う書き込み動作手段と、前記記憶手段からの出力データの読み出し動作を行う読み出し動作手段と、前記書き込み動作手段による書き込み及び前記読み出し動作手段による読み出しの対象となる前記記憶手段を切り替える切り替え手段と、画像1ライン分の入力データを複数に分けたブロックデータが前記記憶手段に振り分けられるタイミングに基づき、前記切り替え手段による前記記憶手段の切り替えを制御する切り替え制御手段と、前記読み出し動作手段により読み出されたデータを入力データのクロック信号から出力データのクロック信号に変換して出力する非同期吸収手段とを有することを特徴とする。


To solve the problems described above, asynchronous absorption circuit according to claim 1, a write operation means storage capacity to input data of a write operation to less Ifuku number storage means than the image one line each A read operation means for performing a read operation of output data from the storage means, a switching means for switching the storage means to be written and read by the write operation means, and an input for one image line Based on the timing at which block data divided into a plurality of data is distributed to the storage means, the switching control means for controlling the switching of the storage means by the switching means, and the data read by the read operation means are converted into the input data inhomogeneous for converting the clock signal of the output data from the clock signal And having an absorption unit.


なお、本発明の構成要素、表現または構成要素の任意の組合せを、方法、装置、システム、コンピュータプログラム、記録媒体、データ構造などに適用したものも本発明の態様として有効である。   In addition, what applied the component, expression, or arbitrary combination of the component of this invention to a method, an apparatus, a system, a computer program, a recording medium, a data structure, etc. is also effective as an aspect of this invention.

本発明によれば、画像1ライン分よりも少ない記憶容量の複数のシングルポートメモリを用いて非同期吸収を行うことができる非同期吸収回路、画像処理装置及びプログラムを提供可能である。   According to the present invention, it is possible to provide an asynchronous absorption circuit, an image processing apparatus, and a program capable of performing asynchronous absorption using a plurality of single port memories having a storage capacity smaller than that of one image line.

非同期吸収回路を含む一例のブロック図である。It is a block diagram of an example including an asynchronous absorption circuit. 非同期吸収回路の一例のタイミング図である。It is a timing diagram of an example of an asynchronous absorption circuit. 非同期吸収回路の一例の拡大したタイミング図である。It is the expanded timing diagram of an example of an asynchronous absorption circuit. デュアルポートRAMを使った非同期吸収回路を含む一例のブロック図である。It is an example block diagram including the asynchronous absorption circuit using dual port RAM. デュアルポートRAMを使った非同期吸収回路で必要な記憶容量と遅延時間の計算について表した一例の説明図である。It is explanatory drawing of an example showing calculation of the memory capacity and delay time which are required in the asynchronous absorption circuit using dual port RAM. 本実施の形態の非同期吸収回路を含む一実施例のブロック図である。It is a block diagram of one Example including the asynchronous absorption circuit of this Embodiment. 本実施の形態の非同期吸収回路の一例のタイミング図である。It is a timing diagram of an example of the asynchronous absorption circuit of the present embodiment. 時刻t6から時刻t7における処理の一例の説明図である。It is explanatory drawing of an example of the process from the time t6 to the time t7. 本実施の形態の非同期吸収回路を含む他の実施例のブロック図である。It is a block diagram of the other Example containing the asynchronous absorption circuit of this Embodiment. 本実施の形態の非同期吸収回路の他の例のタイミング図である。It is a timing diagram of the other example of the asynchronous absorption circuit of this Embodiment. 複数のシングルポートRAMから必要なシングルポートRAMの組み合わせを選ぶ方法の一例を示した説明図である。It is explanatory drawing which showed an example of the method of selecting the combination of required single port RAM from several single port RAM. 異なる複数のモードの一例の説明図である。It is explanatory drawing of an example of a several different mode. PCの一例のハードウェア構成図である。It is a hardware block diagram of an example of PC. 2つのシングルポートRAMのビット数及びWord数の一例を表した説明図である。It is explanatory drawing showing an example of the bit number and Word number of two single port RAM. 入力データを分割したブロックデータの一例の説明図である。It is explanatory drawing of an example of the block data which divided | segmented input data. RAM切り替えテーブルの作成手順を示した一例のフローチャートである。It is the flowchart of an example which showed the preparation procedure of RAM switching table. FABにある記憶容量のシングルポートRAMの組み合わせの一例を示した説明図である。It is explanatory drawing which showed an example of the combination of single port RAM of the storage capacity in FAB. 非同期吸収の遅延時間を表した一例の説明図である。It is explanatory drawing of an example showing the delay time of asynchronous absorption. RAM切り替えテーブルを作成するシートの一例の構成図である。It is a block diagram of an example of the sheet | seat which produces RAM switching table. RAM切り替えテーブルを作成するシートの他の例の構成図である。It is a block diagram of the other example of the sheet | seat which produces a RAM switching table.

以下、本発明の実施の形態について、詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail.

本実施の形態における非同期吸収回路は、高速な入力データを低速な出力データに速度変換する。非同期吸収回路は速度変換回路と呼ばれることもある。従来、非同期吸収回路は一般的に、デュアルポートメモリを利用して非同期吸収を行っていた。   The asynchronous absorption circuit in the present embodiment converts the speed of high-speed input data to low-speed output data. The asynchronous absorption circuit is sometimes called a speed conversion circuit. Conventionally, asynchronous absorption circuits generally perform asynchronous absorption using a dual port memory.

しかし、デュアルポートメモリはFAB(ファウンドリ)によって用いることができないこともある。また、デュアルポートメモリは記憶容量に対するチップサイズがシングルポートメモリに比べ、約2倍以上大きく、メモリ以外の制御回路(グレイコードカウンタなど)の規模も大きい。   However, the dual port memory may not be used by FAB (foundry). In addition, the dual port memory has a chip size with respect to the storage capacity that is about twice or more larger than that of the single port memory, and the scale of control circuits (such as a Gray code counter) other than the memory is large.

さらに、デュアルポートメモリは、異なる複数のモードを持つ製品でRAM等のメモリをモード毎に使い分けて回路規模を小さくする、または、消費電力を減少させたくても他に転用できなかった。   Further, the dual port memory cannot be diverted to other products even if it is a product having a plurality of different modes and a memory such as a RAM is properly used for each mode to reduce the circuit scale or reduce the power consumption.

そこで、本実施の形態における非同期吸収回路では、非同期吸収用として複数のシングルポートメモリを用いることでチップサイズを削減し、複数のモードでシングルポートメモリの転用(兼用)を、し易くしている。   Therefore, in the asynchronous absorption circuit according to the present embodiment, the chip size is reduced by using a plurality of single port memories for asynchronous absorption, and the single port memory can be easily diverted (shared) in a plurality of modes. .

図1は非同期吸収回路を含む一例のブロック図である。図1は入力データが80MHzの1280×720(720p)のYUV422の30fps(Frame Per Second)の映像データである。720pはデジタルテレビ放送の映像信号形式の1つである。   FIG. 1 is a block diagram of an example including an asynchronous absorption circuit. FIG. 1 shows video data of 30 fps (Frame Per Second) of YUV422 of 1280 × 720 (720p) with input data of 80 MHz. 720p is one of video signal formats for digital television broadcasting.

YUV422は、色の表現方法であるYUV方式の1つである。YUV422は1ピクセルあたり、輝度情報8ビット、色差情報8ビットの16ビットで色を表現する。fpsは1秒間に何枚の画像を表示するのかを示している。また、図1は出力データが50MHzの720PのYUV422の30fpsの映像データである。   YUV422 is one of the YUV methods, which is a color expression method. YUV422 expresses color with 16 bits of luminance information 8 bits and color difference information 8 bits per pixel. fps indicates how many images are displayed per second. FIG. 1 shows 30 fps video data of 720P YUV422 with 50 MHz output data.

図1の非同期吸収回路11は80MHzの入力データを50MHzの出力データに速度変換する例を表している。入力データは入力データI/F10を介して非同期吸収回路11に入力される。また、出力データは出力データI/F12を介して非同期吸収回路11から出力される。入力データI/F10は80MHzのクロック信号ICLKと同期させて入力データを非同期吸収回路11に入力させる。出力データI/F12は50MHzのクロック信号OCLKと同期させて出力データを非同期吸収回路11から出力させる。   The asynchronous absorption circuit 11 shown in FIG. 1 represents an example in which the speed of 80 MHz input data is converted to 50 MHz output data. Input data is input to the asynchronous absorption circuit 11 via the input data I / F 10. The output data is output from the asynchronous absorption circuit 11 via the output data I / F 12. The input data I / F 10 inputs the input data to the asynchronous absorption circuit 11 in synchronization with the 80 MHz clock signal ICLK. The output data I / F 12 outputs the output data from the asynchronous absorption circuit 11 in synchronization with the 50 MHz clock signal OCLK.

入力データは入力側垂直同期信号VSYNC、入力側水平同期信号HSYNC、入力側輝度情報8ビット及び色差情報8ビットをまとめた16ビットのデータDATAを有している。また、出力データは出力側垂直同期信号OVSYNC、出力側水平同期信号OHSYNC、出力側輝度情報8ビット及び色差情報8ビットをまとめた16ビットのデータODATA、出力側バリッド信号OVALIDを有している。   The input data has 16-bit data DATA in which the input-side vertical synchronization signal VSYNC, the input-side horizontal synchronization signal HSYNC, the input-side luminance information 8 bits, and the color difference information 8 bits are collected. The output data includes an output-side vertical synchronization signal OVSYNC, an output-side horizontal synchronization signal OHSYNC, 16-bit data ODATA that combines output-side luminance information 8 bits and color-difference information 8 bits, and an output-side valid signal OVALID.

図2は非同期吸収回路の一例のタイミング図である。図2のVBLANKは垂直同期信号の間隔を示している。HBLANKは水平同期信号の間隔を示している。図2(a)は入力側垂直同期信号VSYNCのタイミング図である。図2(b)は入力側水平同期信号HSYNCのタイミング図である。図2(c)は16ビットのデータDATAのタイミング図である。   FIG. 2 is a timing diagram of an example of the asynchronous absorption circuit. VBLANK in FIG. 2 indicates the interval of the vertical synchronization signal. HBLANK indicates the interval of the horizontal synchronizing signal. FIG. 2A is a timing chart of the input side vertical synchronization signal VSYNC. FIG. 2B is a timing chart of the input side horizontal synchronization signal HSYNC. FIG. 2C is a timing diagram of 16-bit data DATA.

図2(d)は出力側垂直同期信号OVSYNCのタイミング図である。図2(e)は出力側水平同期信号OHSYNCのタイミング図である。図2(f)は16ビットのデータODATAのタイミング図である。図2(g)は出力側バリッド信号OVALIDのタイミング図である。   FIG. 2D is a timing chart of the output side vertical synchronization signal OVSYNC. FIG. 2E is a timing diagram of the output side horizontal synchronization signal OHSYNC. FIG. 2F is a timing chart of 16-bit data ODATA. FIG. 2G is a timing chart of the output side valid signal OVALID.

図2のタイミング図に示すように、1回の入力側垂直同期信号VSYNCの期間に720ライン分の入力側水平同期信号HSYNCが含まれる。また、1回の入力側水平同期信号HSYNCの期間には1280クロック分(クロック信号ICLK)のデータDATAが含まれる。   As shown in the timing diagram of FIG. 2, the input side horizontal synchronization signal HSYNC for 720 lines is included in the period of one input side vertical synchronization signal VSYNC. Further, the data DATA for 1280 clocks (clock signal ICLK) is included in the period of one input side horizontal synchronization signal HSYNC.

また、1回の出力側垂直同期信号OVSYNCの期間に720ライン分の出力側水平同期信号OHSYNCが含まれる。また、1回の出力側水平同期信号OHSYNCの期間には1280クロック分(クロック信号OCLK)のデータODATA及び出力側バリッド信号OVALIDが含まれる。なお、出力データは入力データに対して遅延している。   Further, the output side horizontal synchronization signal OHSYNC for 720 lines is included in the period of one output side vertical synchronization signal OVSYNC. In addition, a period of one output side horizontal synchronization signal OHSYNC includes data ODATA for 1280 clocks (clock signal OCLK) and an output side valid signal OVALID. The output data is delayed with respect to the input data.

図3は非同期吸収回路の一例の拡大したタイミング図である。図3の拡大したタイミング図では入力側垂直同期信号VSYNC及び出力側垂直同期信号OVSYNCを省略している。   FIG. 3 is an enlarged timing diagram of an example of the asynchronous absorption circuit. In the enlarged timing diagram of FIG. 3, the input-side vertical synchronization signal VSYNC and the output-side vertical synchronization signal OVSYNC are omitted.

図3に示すように、映像データの非同期吸収は通常、1ライン毎に行う。1ライン毎に非同期吸収を行うため、1つのラインの出力が終わる前に次のラインの入力が始まることは好ましくない。なお、非同期吸収回路11の作り方によっては1つのラインの出力が終わる前に次のラインの入力が始まっても対応できるが、平均速度が一定ならばRAMに蓄積されるデータがライン毎に増加し、必要なRAMの記憶容量が増える。   As shown in FIG. 3, asynchronous absorption of video data is usually performed for each line. Since asynchronous absorption is performed for each line, it is not preferable that the input of the next line starts before the output of one line ends. Note that depending on how the asynchronous absorption circuit 11 is made, it is possible to cope with the start of the input of the next line before the output of one line is finished. However, if the average speed is constant, the data stored in the RAM increases for each line. The required RAM storage capacity increases.

一般に、垂直同期信号の間隔VBLANKは、水平同期信号の間隔HBLANKよりも長い。したがって、ライン毎に非同期吸収を行う為には、非同期吸収の遅延時間が水平同期信号の間隔HBLANK以下であればよい。なお、非同期吸収の遅延時間は1ライン中のデータDATAの終了からデータODATAの終了までの時間である。例えば80MHzで720pの映像データは30fpsのとき、20us以上(最大平均約30us)の水平同期信号の間隔HBLANKを持つ。   In general, the vertical synchronization signal interval VBLANK is longer than the horizontal synchronization signal interval HBLANK. Therefore, in order to perform asynchronous absorption for each line, the delay time of asynchronous absorption may be equal to or less than the horizontal synchronization signal interval HBLANK. The asynchronous absorption delay time is the time from the end of data DATA to the end of data ODATA in one line. For example, 720p video data at 80 MHz has a horizontal sync signal interval HBLANK of 20 us or more (maximum average of about 30 us) at 30 fps.

ここでは、本実施の形態における非同期吸収回路の理解を容易とするために、デュアルポートRAMを使った非同期吸収回路について説明する。図4はデュアルポートRAMを使った非同期吸収回路を含む一例のブロック図である。図4は入力データが80MHzの1280クロック分(クロック信号ICLK)の連続データである。また、出力データは50MHzの1280クロック分(クロック信号OCLK)の連続データである。   Here, in order to facilitate understanding of the asynchronous absorption circuit in the present embodiment, an asynchronous absorption circuit using a dual port RAM will be described. FIG. 4 is a block diagram of an example including an asynchronous absorption circuit using a dual port RAM. FIG. 4 shows continuous data for 1280 clocks (clock signal ICLK) of 80 MHz. The output data is continuous data for 1280 clocks (clock signal OCLK) of 50 MHz.

非同期吸収回路11は80MHzのクロック信号ICLKと同期させてデュアルポートRAM13にデータDATAを格納し、50MHzのクロック信号OCLKと同期させてデータODATAをデュアルポートRAM13から取り出す。   The asynchronous absorption circuit 11 stores the data DATA in the dual port RAM 13 in synchronization with the 80 MHz clock signal ICLK, and takes out the data ODATA from the dual port RAM 13 in synchronization with the 50 MHz clock signal OCLK.

図5はデュアルポートRAMを使った非同期吸収回路で必要な記憶容量と遅延時間の計算について表した一例の説明図である。非同期吸収回路11は、入力データの入力が始まると、ほぼ同時に出力データの出力を開始する。正確には、入力データを非同期吸収して取り出すため、入力データより僅かに遅れて出力データの出力が始まる。   FIG. 5 is an explanatory diagram showing an example of calculation of storage capacity and delay time required in an asynchronous absorption circuit using a dual port RAM. Asynchronous absorption circuit 11 starts outputting output data almost simultaneously with the start of input of input data. To be exact, since the input data is asynchronously extracted and output, output of the output data starts slightly later than the input data.

図5の例では入力データのクロック信号ICLKの方が出力データのクロック信号OCLKよりも速いので出力データを出力しきるまで出力側バリッド信号OVALIDがアクティブになる。このため、非同期吸収の遅延時間は入力データの入力時間16usと出力データの出力時間25.6usとの差である9.6usとなる。   In the example of FIG. 5, the clock signal ICLK of input data is faster than the clock signal OCLK of output data, so that the output side valid signal OVALID becomes active until the output data is completely output. For this reason, the delay time of asynchronous absorption is 9.6 us, which is the difference between the input time 16 us of input data and the output time 25.6 us of output data.

入力データの入力が終了した時点で、デュアルポートRAM13には9.6usの時間を掛けて出力する480word分の出力データが記憶されている。なお、480wordは1280wordの9.6us/25.6usである。   At the time when the input of the input data is completed, the dual port RAM 13 stores output data for 480 words to be output over a time of 9.6 us. Note that 480 words is 9.6us / 25.6us of 1280 words.

したがって、デュアルポートRAM13は16ビット×480word=960バイト以上の記憶容量が必要である。なお、実際には(FABによっては)半端なword数のデュアルポートRAM13がないので16ビット×512wordのデュアルポートRAM13が必要である。   Therefore, the dual port RAM 13 needs a storage capacity of 16 bits × 480 words = 960 bytes or more. Actually, since there is no odd number of dual-port RAMs 13 (depending on the FAB), a 16-bit × 512-word dual-port RAM 13 is required.

図6は本実施の形態の非同期吸収回路を含む一実施例のブロック図である。図6に示したように、本実施の形態の非同期吸収回路20は2つのシングルポートRAM0、1を使用する。また、図6は入力データが80MHzの1280クロック分(クロック信号ICLK)の連続データである。出力データは50MHzの1280クロック分(クロック信号OCLK)の連続データである。2つのシングルポートRAM0、1の記憶容量は16ビット×384word=768バイトである。   FIG. 6 is a block diagram of an example including the asynchronous absorption circuit of the present embodiment. As shown in FIG. 6, the asynchronous absorption circuit 20 of the present embodiment uses two single port RAMs 0 and 1. FIG. 6 shows continuous data for 1280 clocks (clock signal ICLK) of 80 MHz. The output data is continuous data for 1280 clocks of 50 MHz (clock signal OCLK). The storage capacity of the two single-port RAMs 0 and 1 is 16 bits × 384 words = 768 bytes.

非同期吸収回路20は同期吸収部21と非同期吸収部22とを有する。非同期吸収部22は内蔵FF(フリップフロップ)部29を有する。内蔵FF部29は、例えば8CLK分の出力データを保持する。内蔵FF部29は例えば16バイトの小さなFFで非同期吸収を行う。また、内蔵FF部29は保持している出力データがフル(FULL)になる前にwait signalで同期吸収部21からの出力データを一時停止する。   The asynchronous absorption circuit 20 includes a synchronous absorption unit 21 and an asynchronous absorption unit 22. The asynchronous absorption unit 22 has a built-in FF (flip-flop) unit 29. The built-in FF unit 29 holds output data for 8 CLK, for example. The built-in FF unit 29 performs asynchronous absorption with a small FF of 16 bytes, for example. Further, the built-in FF unit 29 temporarily stops the output data from the synchronization absorbing unit 21 with a wait signal before the stored output data becomes full (FULL).

同期吸収部21はデータ数(CLK数)カウント部23と、RAM切り替えテーブル24と、スイッチング判定部25と、ライト動作部26と、リード動作部27と、RAMセレクタ部28とを有する。同期吸収部21はwait signalで非同期吸収部22への出力データを一時停止している間も、入力データを確保し続けるためにライト動作を行う。   The synchronization absorption unit 21 includes a data number (CLK number) count unit 23, a RAM switching table 24, a switching determination unit 25, a write operation unit 26, a read operation unit 27, and a RAM selector unit 28. The synchronization absorbing unit 21 performs a write operation in order to continue to secure the input data even while the output data to the asynchronous absorbing unit 22 is temporarily stopped by the wait signal.

データ数カウント部23は80MHzの入力データをカウントして、今が何クロック目の入力データかを認識する。RAM切り替えテーブル24には、予め決められたクロック目で2つのシングルポートRAM0、1のどちらにライト又は2つのシングルポートRAM0、1のどちらからリードするかの情報が記憶されている。   The data number counting unit 23 counts the input data of 80 MHz and recognizes what number of clock input data is now. The RAM switching table 24 stores information on which of the two single-port RAMs 0 and 1 is to be written or read from which of the two single-port RAMs 0 and 1 at a predetermined clock.

例えばRAM切り替えテーブル24には2つのシングルポートRAM0、1のリード及びライトを切り替えるタイミングが記憶されている。スイッチング判定部25はRAM切り替えテーブル24に記憶されているタイミングに基づいて、RAMセレクタ部28のスイッチングを行うことで入力データをシングルポートRAM0、1に振り分ける。   For example, the RAM switching table 24 stores the timing for switching between reading and writing of the two single port RAMs 0 and 1. The switching determination unit 25 distributes the input data to the single port RAMs 0 and 1 by switching the RAM selector unit 28 based on the timing stored in the RAM switching table 24.

ライト動作部26はRAMセレクタ部28のスイッチングに基づいて、2つのシングルポートRAM0、1の一方にデータDATAをライトする。また、リード動作部27はRAMセレクタ部28のスイッチングに基づいて、2つのシングルポートRAM0、1の一方からデータDATAをリードする。リード動作部27はリードしたデータDATAを内蔵FF部29に送信する。   The write operation unit 26 writes data DATA to one of the two single port RAMs 0 and 1 based on switching of the RAM selector unit 28. The read operation unit 27 reads data DATA from one of the two single port RAMs 0 and 1 based on the switching of the RAM selector unit 28. The read operation unit 27 transmits the read data DATA to the built-in FF unit 29.

図7は、本実施の形態の非同期吸収回路の一例のタイミング図である。例えば図7のタイミング図は1280クロック分の連続データである入力データを8つのブロックデータD1−D8に分けている。ブロックデータD1−D8の分け方は等分割でなく、後述する一定のルールの下で分割される。RAM切り替えテーブル24に記憶されている2つのシングルポートRAM0、1のリード及びライトを切り替えるタイミングは後述する一定のルールに基づいて、言い換えればブロックデータD1−D8の分け方に基づいて決められている。   FIG. 7 is a timing diagram of an example of the asynchronous absorption circuit of this embodiment. For example, in the timing chart of FIG. 7, input data which is continuous data for 1280 clocks is divided into eight block data D1-D8. The block data D1-D8 is not divided equally but is divided according to a certain rule described later. The timing for switching between reading and writing of the two single-port RAMs 0 and 1 stored in the RAM switching table 24 is determined based on a certain rule to be described later, in other words, based on how the block data D1 to D8 are divided. .

2つのシングルポートRAM0、1はシングルポートである為、どの時刻においてもライト動作及びリード動作を同時に行わない。また、2つのシングルポートRAM0、1は必ずどちらか一方が、入力データと同じ時刻にデータDATAが書き込まれている。出力データは2つのシングルポートRAM0、1の一方から読み出された後、非同期吸収部22で非同期吸収が行われる。したがって、非同期吸収部22から出力される出力データは2つのシングルポートRAM0、1の何れか一方から出力されるデータDATAよりも僅かに遅延する。   Since the two single port RAMs 0 and 1 are single ports, the write operation and the read operation are not simultaneously performed at any time. In addition, one of the two single port RAMs 0 and 1 is always written with data DATA at the same time as the input data. The output data is read from one of the two single-port RAMs 0 and 1 and then asynchronously absorbed by the asynchronous absorber 22. Therefore, the output data output from the asynchronous absorption unit 22 is slightly delayed from the data DATA output from one of the two single port RAMs 0 and 1.

また、非同期吸収部22はフルになりそうになるとwait signalで同期吸収部21からの出力データを一時停止する。したがって、図7のタイミング図ではシングルポートRAM0、1の何れか一方から読み出されたデータDATAがブロックデータ毎に固まっているが、必ずしもブロックデータ毎に連続してデータDATAを読み出しているわけではない。   When the asynchronous absorption unit 22 is about to become full, the output data from the synchronous absorption unit 21 is temporarily stopped by a wait signal. Therefore, in the timing chart of FIG. 7, the data DATA read from one of the single port RAMs 0 and 1 is set for each block data, but the data DATA is not always read continuously for each block data. Absent.

ブロックデータD1のシングルポートRAM0へのライトは時刻t1に開始され、時刻t2に終了する。次のブロックデータD2はシングルポートRAM1にライトされる。ブロックデータD2のシングルポートRAM1へのライトは時刻t2に開始され、時刻t3に終了する。ブロックデータD1のシングルポートRAM0からのリードは時刻t2から時刻t3の間に行われる。シングルポートRAM0からリードされたブロックデータD1は非同期吸収部22で非同期吸収が行われたあと、出力データとして出力される。   Writing the block data D1 to the single port RAM0 starts at time t1 and ends at time t2. The next block data D2 is written to the single port RAM1. Writing the block data D2 to the single port RAM1 starts at time t2 and ends at time t3. The block data D1 is read from the single port RAM0 between time t2 and time t3. The block data D1 read from the single port RAM0 is asynchronously absorbed by the asynchronous absorber 22 and then output as output data.

以後、非同期吸収回路20は、図7のタイミング図に示すように時刻t1から時刻t3と同様な処理を繰り返し行い、時刻t9でブロックデータD8のシングルポートRAM1へのライトが終了する。   Thereafter, the asynchronous absorption circuit 20 repeatedly performs the same processing from the time t1 to the time t3 as shown in the timing chart of FIG. 7, and the writing of the block data D8 to the single port RAM 1 is completed at the time t9.

図8は時刻t6から時刻t7における処理の一例の説明図である。シングルポートRAM0はデータブロックD5を記憶している。シングルポートRAM0からリードされたブロックデータD5が非同期吸収部22で非同期吸収されたあと、出力データとして出力されるまでに20us(または40us)掛かったとしても、非同期吸収部22の入力側の80MHzの方が出力側の50MHzよりも速いので、出力データはブロックデータD5が終わるまで常にバリッドである。   FIG. 8 is an explanatory diagram of an example of processing from time t6 to time t7. The single port RAM0 stores a data block D5. Even if the block data D5 read from the single port RAM0 is asynchronously absorbed by the asynchronous absorber 22 and it takes 20 us (or 40 us) to be output as output data, the 80 MHz of the input side of the asynchronous absorber 22 Since the output is faster than 50 MHz on the output side, the output data is always valid until the block data D5 ends.

言い換えると、非同期吸収部22は内蔵FF部29の保持している出力データがフルにならないようにリード動作を時々、wait signalで一時停止するが、ブロックデータD5の出力が終わるまで内蔵FF部29の保持している出力データがエンプティになることはない。   In other words, the asynchronous absorber 22 temporarily pauses the read operation with a wait signal so that the output data held by the built-in FF unit 29 does not become full, but the built-in FF unit 29 until the output of the block data D5 ends. The output data held by is never empty.

時刻t6からブロックデータD6のシングルポートRAM1へのライトの完了は233クロック分(クロック信号ICLK)の2912.5nsである。また、時刻t6からブロックデータD5の出力データとしての出力の完了には138クロック分(クロック信号OCLK)の2760nsに、非同期吸収部22から出力データが出力し始めるまでの20usを加算した時間が掛かる。   Completion of the writing of the block data D6 from the time t6 to the single port RAM1 is 2912.5 ns corresponding to 233 clocks (clock signal ICLK). In addition, the completion of the output of the block data D5 as the output data from time t6 takes 2760 ns of the 138 clocks (clock signal OCLK) plus 20 us until the output data starts to be output from the asynchronous absorber 22. .

このように、ブロックデータD6のシングルポートRAM1へのライト動作は時刻t7に終わる。一方、ブロックデータD5をシングルポートRAM0からリードしたあと非同期吸収した出力データとして出力する動作は必ず時刻t7より早く終わる。なお、図7のタイミング図では時刻t8まで必ずリード動作の方がライト動作よりも早く終わるようにRAM切り替えテーブル24が作成されている。   Thus, the write operation of the block data D6 to the single port RAM1 ends at time t7. On the other hand, the operation of reading the block data D5 from the single port RAM0 and outputting it as asynchronously absorbed output data always ends earlier than time t7. In the timing chart of FIG. 7, the RAM switching table 24 is created so that the read operation always ends earlier than the write operation until time t8.

また、時刻t9ではブロックデータD8のシングルポートRAM1へのライト動作が終わる。一方、ブロックデータD7のシングルポートRAM0からのリード動作は時刻t9で終わらない。時刻t9ではリード動作の方がライト動作よりも遅く終わるようにRAM切り替えテーブル24が作成されている。しかし、次のラインのブロックデータD1は水平同期信号の間隔HBLANK(20us)以上経過しないと入力されないため、問題がない。ブロックデータD7のシングルポートRAM0からのリード動作は時刻t10に終わる。   At time t9, the writing operation of the block data D8 to the single port RAM 1 is completed. On the other hand, the read operation of the block data D7 from the single port RAM0 does not end at time t9. The RAM switching table 24 is created such that the read operation ends later than the write operation at time t9. However, since the block data D1 of the next line is not input unless the interval HBLANK (20 us) of the horizontal synchronization signal has elapsed, there is no problem. The read operation of the block data D7 from the single port RAM0 ends at time t10.

ブロックデータD8のシングルポートRAM1からのリード動作は時刻t10から開始されて時刻t11に終了する。シングルポートRAM1からリードされたブロックデータD8が非同期吸収部22で非同期吸収されたあと出力される出力データは、僅かに時刻t11より遅れるが、非同期吸収部22における初めての入力から初めての出力までの時間に等しく20nsまたは40ns程度で1usより十分に小さいので無視できる。   The read operation of the block data D8 from the single port RAM 1 starts at time t10 and ends at time t11. The output data output after the block data D8 read from the single-port RAM 1 is asynchronously absorbed by the asynchronous absorption unit 22 is slightly delayed from the time t11, but from the first input to the first output in the asynchronous absorption unit 22 Since it is sufficiently smaller than 1 us at about 20 ns or 40 ns, it can be ignored.

以上のように、図8の非同期吸収回路20の遅延時間は時刻t11−t9である。時刻t11−t9は(t11−t8)−(t9−t8)と変換できる。t11−t8は50MHzでブロックデータD7、D8を出力する時間である。また、t9−t8は80MHzでブロックデータD8をシングルポートRAM1へライトする時間である。   As described above, the delay time of the asynchronous absorption circuit 20 in FIG. 8 is the time t11-t9. Time t11-t9 can be converted to (t11-t8)-(t9-t8). t11-t8 is the time to output the block data D7 and D8 at 50 MHz. Further, t9-t8 is a time for writing the block data D8 to the single port RAM 1 at 80 MHz.

したがって、20ns×(384+380)−12.5ns×380=10.53usと見積もれる。このように、図6の非同期吸収回路20は遅延時間が10.53usと水平同期信号の間隔HBLANK(20us)よりも十分に小さく、80MHz、720p及び30fpsの映像データを50MHz、720p及び30fpsの映像データに変換できる。   Therefore, it can be estimated that 20 ns × (384 + 380) −12.5 ns × 380 = 10.53 us. As described above, the asynchronous absorption circuit 20 of FIG. 6 has a delay time of 10.53 us, which is sufficiently smaller than the horizontal sync signal interval HBLANK (20 us), and video data of 80 MHz, 720 p, and 30 fps is video of 50 MHz, 720 p, and 30 fps. Can be converted to data.

以上のように、非同期吸収回路20は、従来、16ビット×512wordのデュアルポートRAM13を使って行っていた非同期吸収を、16ビット×384wordの2つのシングルポートRAM0、1を使って実現できる。なお、一般的に、16ビット×384wordの2つのシングルポートRAM0、1の組み合わせは16ビット×512wordのデュアルポートRAM13より回路規模が小さい。   As described above, the asynchronous absorption circuit 20 can realize asynchronous absorption using the 16-bit × 512 word dual-port RAM 13 by using the two single-port RAMs 0, 1 of 16-bit × 384 word. In general, the combination of two single-port RAMs 0 and 1 of 16 bits × 384 words is smaller in circuit scale than the dual-port RAM 13 of 16 bits × 512 words.

図9は本実施の形態の非同期吸収回路を含む他の実施例のブロック図である。図9の非同期吸収回路20Aは以下の点で図6の非同期吸収回路20と異なっている。まず、非同期吸収回路20Aは図6の内蔵FF部29が取り除かれている。また、非同期吸収回路20Aは2つのシングルポートRAM0、1のリード動作及びライト動作を切り替えるだけでなく、動作させる為のクロック信号も切り替えている。   FIG. 9 is a block diagram of another example including the asynchronous absorption circuit of this embodiment. The asynchronous absorption circuit 20A of FIG. 9 is different from the asynchronous absorption circuit 20 of FIG. 6 in the following points. First, the asynchronous absorption circuit 20A has the built-in FF section 29 of FIG. 6 removed. Further, the asynchronous absorption circuit 20A not only switches the read operation and the write operation of the two single port RAMs 0 and 1, but also switches the clock signal for operation.

2つのシングルポートRAM0、1を動作させる為のクロック信号はCLK生成回路30を介して2つのシングルポートRAM0、1に供給される。CLK生成回路30はCLKセレクタ部31を有している。CLKセレクタ部31は80MHzのクロック信号及び50MHzのクロック信号を供給されている。   A clock signal for operating the two single port RAMs 0 and 1 is supplied to the two single port RAMs 0 and 1 via the CLK generation circuit 30. The CLK generation circuit 30 has a CLK selector unit 31. The CLK selector 31 is supplied with an 80 MHz clock signal and a 50 MHz clock signal.

CLKセレクタ部31は2つのシングルポートRAM0、1のうちライト動作を行っている方に80MHzのクロック信号を供給し、リード動作を行っている方に50MHzのクロック信号を供給する。なお、スイッチング判定部25はRAM切り替えテーブル24に記憶されているタイミングに基づき、CLKセレクタ部31から2つのシングルポートRAM0、1に供給される80MHzのクロック信号及び50MHzのクロック信号のスイッチングを行う。   The CLK selector 31 supplies an 80 MHz clock signal to the one performing the write operation of the two single port RAMs 0 and 1 and supplies a 50 MHz clock signal to the one performing the read operation. The switching determination unit 25 performs switching of the 80 MHz clock signal and the 50 MHz clock signal supplied from the CLK selector unit 31 to the two single port RAMs 0 and 1 based on the timing stored in the RAM switching table 24.

このように、2つのシングルポートRAM0、1はライト動作を行っているときに80MHzのクロック信号が供給され、リード動作を行っているときに50MHzのクロック信号が供給される。非同期吸収回路20Aでは2つのシングルポートRAM0、1から50MHzのクロック信号と同期させて出力データが出力されるため、図6の内蔵FF部29が不要となる。   As described above, the two single-port RAMs 0 and 1 are supplied with the 80 MHz clock signal when the write operation is performed, and are supplied with the 50 MHz clock signal when the read operation is performed. In the asynchronous absorption circuit 20A, since the output data is output in synchronization with the clock signals of 50 MHz from the two single port RAMs 0, 1, the built-in FF unit 29 in FIG. 6 is not necessary.

非同期吸収回路20Aの基本的な考え方やタイミング図は図6の非同期吸収回路20と同様である。非同期吸収回路20AはCLKセレクタ部31によるクロック信号の切り替えに要する時間も含めて、リード動作の完了がライト動作の完了よりも早く終わるようにRAM切り替えテーブル24を作成しておく。   The basic concept and timing diagram of the asynchronous absorption circuit 20A are the same as those of the asynchronous absorption circuit 20 of FIG. The asynchronous absorption circuit 20A prepares the RAM switching table 24 so that the completion of the read operation is completed earlier than the completion of the write operation, including the time required for switching the clock signal by the CLK selector unit 31.

例えば非同期吸収回路20AはシングルポートRAM0の50MHzのクロック信号によるリード動作が完了したあと次のライト動作に備えて80MHzのクロック信号に切り替える(または停止しておく)までの時間が、シングルポートRAM1の80MHzのライト動作の完了よりも早い。   For example, the asynchronous absorption circuit 20A has a time until switching to (or stopping) the 80 MHz clock signal in preparation for the next write operation after the read operation by the 50 MHz clock signal of the single port RAM0 is completed. It is earlier than the completion of the 80 MHz write operation.

なお、非同期吸収回路20Aは、図6の非同期吸収回路20と比較して回路規模が小さくなるが、2つのシングルポートRAM0、1に供給する80MHz及び50MHzのクロック信号と、80MHzのクロック信号ICLK及び50MHzのクロック信号OCLKとの同期タイミング調整が必要なために、非同期吸収回路20Aの外のCLK生成回路30にロジックが必要な方式である。   The asynchronous absorption circuit 20A is smaller in circuit scale than the asynchronous absorption circuit 20 of FIG. 6, but the 80 MHz and 50 MHz clock signals supplied to the two single port RAMs 0 and 1 and the 80 MHz clock signal ICLK and Since synchronization timing adjustment with the 50 MHz clock signal OCLK is necessary, the CLK generation circuit 30 outside the asynchronous absorption circuit 20A requires logic.

以上のように、非同期吸収回路20Aは、従来、16ビット×512wordのデュアルポートRAM13を使って行っていた非同期吸収を、16ビット×384wordの2つのシングルポートRAM0、1を使って実現できる。   As described above, the asynchronous absorption circuit 20A can realize asynchronous absorption, which has been conventionally performed by using the 16-bit × 512 word dual-port RAM 13, by using the two single-port RAMs 0, 1 of 16-bit × 384 words.

本実施の形態の非同期吸収回路20は、2つのシングルポートRAM0、1の合計の記憶容量が同じでも実現可能な記憶容量の組み合わせが1つではない。例えば図7のタイミング図と異なるシングルポートRAM0、1の記憶容量の組み合わせの場合、RAM切り替えテーブル24には図7と異なる2つのシングルポートRAM0、1のリード及びライトを切り替えるタイミングが記憶されている。   The asynchronous absorption circuit 20 of the present embodiment does not have a single combination of storage capacities that can be realized even if the total storage capacities of the two single port RAMs 0 and 1 are the same. For example, in the case of a combination of the storage capacities of the single port RAMs 0 and 1 different from the timing chart of FIG. 7, the RAM switching table 24 stores the timing for switching between reading and writing of two single port RAMs 0 and 1 different from FIG. .

図10は本実施の形態の非同期吸収回路の他の例のタイミング図である。以下では図7のタイミング図と同様な部分についての説明を適宜省略する。図10ではシングルポートRAM0の記憶容量が16ビット×512word(449Wordしか使用しない)であり、シングルポートRAM1の記憶容量が16ビット×256wordである。   FIG. 10 is a timing chart of another example of the asynchronous absorption circuit of this embodiment. In the following, description of parts similar to those in the timing chart of FIG. 7 is omitted as appropriate. In FIG. 10, the storage capacity of the single port RAM 0 is 16 bits × 512 words (only 449 words are used), and the storage capacity of the single port RAM 1 is 16 bits × 256 words.

図10における非同期吸収回路20の遅延時間は、図6と同様に50MHzでブロックデータD7、D8を出力する時間から80MHzでブロックデータD8をシングルポートRAM1へライトする時間を引くことで算出できる。   The delay time of the asynchronous absorption circuit 20 in FIG. 10 can be calculated by subtracting the time for writing the block data D8 to the single port RAM 1 at 80 MHz from the time for outputting the block data D7 and D8 at 50 MHz as in FIG.

したがって、20ns×(449+256)−12.5ns×256=10.9usと遅延時間を見積もることができる。このように、図10のタイミング図に示す非同期吸収回路20は遅延時間が10.9usと図6の非同期吸収回路20より僅かに延びるが、水平同期信号の間隔HBLANK(20us)よりも十分に小さく、問題ない。ここで言うRAM切り替えテーブル24は2つのシングルポートRAM0、1として接続されるRAMの記憶容量の情報と、2つのシングルポートRAM0、1のリード及びライトを切り替えるタイミングの情報とを合わせた情報である。   Therefore, the delay time can be estimated as 20 ns × (449 + 256) −12.5 ns × 256 = 10.9 us. As described above, the asynchronous absorption circuit 20 shown in the timing diagram of FIG. 10 has a delay time of 10.9 us, which is slightly longer than the asynchronous absorption circuit 20 of FIG. 6, but is sufficiently smaller than the horizontal synchronization signal interval HBLANK (20 us). ,no problem. The RAM switching table 24 referred to here is information that combines information on the storage capacity of the RAM connected as the two single-port RAMs 0 and 1 and information on timing for switching between reading and writing of the two single-port RAMs 0 and 1. .

なお、異なる複数のモードを持つ製品では、RAM切り替えテーブル24を変更することにより、複数のシングルポートRAMから必要なシングルポートRAMの組み合わせを選んで切り替えることもできる。   In a product having a plurality of different modes, the combination of necessary single port RAMs can be selected and switched from a plurality of single port RAMs by changing the RAM switching table 24.

図11は複数のシングルポートRAMから必要なシングルポートRAMの組み合わせを選ぶ方法の一例を示した説明図である。図11(a)の非同期吸収回路20は書き換え可能なRAM切り替えテーブル24Aを有し、CPU40で書き換え可能なRAM切り替えテーブル24Aを書き換える。RAMセレクタ部41は、書き換え可能なRAM切り替えテーブル24Aにしたがって、シングルポートRAM−A〜シングルポートRAM−DからシングルポートRAM0、1を選択する。図11(a)の非同期吸収回路20は2つのシングルポートRAM0、1のリード及びライトを切り替えるタイミングの情報を書き換えることで、意図的に遅延時間を長くすることもできる。   FIG. 11 is an explanatory diagram showing an example of a method of selecting a necessary combination of single port RAMs from a plurality of single port RAMs. The asynchronous absorption circuit 20 in FIG. 11A has a rewritable RAM switching table 24A, and rewrites the RAM switching table 24A rewritable by the CPU 40. The RAM selector 41 selects the single port RAMs 0 and 1 from the single port RAM-A to the single port RAM-D according to the rewritable RAM switching table 24A. The asynchronous absorption circuit 20 in FIG. 11A can intentionally increase the delay time by rewriting the timing information for switching the reading and writing of the two single-port RAMs 0 and 1.

図11(b)の非同期吸収回路20は予め複数の固定RAM切り替えテーブル24Bを有し、RAM切り替えテーブルセレクタ部42がモード(mode signal)に基づいて、自動で複数の固定RAM切り替えテーブル24Bから1つの固定RAM切り替えテーブル24Bを選択する。RAMセレクタ部41は、固定RAM切り替えテーブル24Bに従い、シングルポートRAM−A〜シングルポートRAM−DからシングルポートRAM0、1を選択する。   The asynchronous absorption circuit 20 in FIG. 11B has a plurality of fixed RAM switching tables 24B in advance, and the RAM switching table selector unit 42 automatically selects one from the plurality of fixed RAM switching tables 24B based on the mode (mode signal). One fixed RAM switching table 24B is selected. The RAM selector unit 41 selects the single port RAMs 0 and 1 from the single port RAM-A to the single port RAM-D according to the fixed RAM switching table 24B.

なお、RAMセレクタ部41は複数のシングルポートRAMを一つのシングルポートRAMとして扱ってもよい。例えばシングルポートRAM−AとシングルポートRAM−Bとを連結してシングルポートRAM0としてもよい。以上のように、異なる複数のモードを持つ製品において、シングルポートRAMを切り替えて別の非同期吸収ができることは大きなメリットを持つ。   The RAM selector unit 41 may treat a plurality of single port RAMs as one single port RAM. For example, the single port RAM-A and the single port RAM-B may be connected to form a single port RAM0. As described above, in a product having a plurality of different modes, it is very advantageous to be able to perform another asynchronous absorption by switching the single port RAM.

図12は異なる複数のモードの一例の説明図である。図12(a)は通常の映像データと輝度情報とをスケールダウンしてグレースケールの映像データを2つ同時に流す2ストリームモードの一例の説明図である。補正ありスケール変換回路50で行う補正ありのスケールダウンには1ライン分(1280×8ビット)の記憶容量を持つRAMが必要であるため、16ビット×640wordのシングルポートRAM−Cを利用する。   FIG. 12 is an explanatory diagram of an example of a plurality of different modes. FIG. 12A is an explanatory diagram of an example of a two-stream mode in which normal video data and luminance information are scaled down and two grayscale video data are simultaneously flowed. A scale down with correction performed by the scale conversion circuit 50 with correction requires a RAM having a storage capacity of one line (1280 × 8 bits), so a 16-bit × 640 word single-port RAM-C is used.

また、図12(b)は出力データを50MHzでなく40MHzまで落とす低消費電力モードの一例の説明図である。図12(b)に示す低消費電力モードを更に持つ場合は非同期吸収回路20がシングルポートRAM0としてシングルポートRAM−Cを選択すると共に、シングルポートRAM1としてシングルポートRAM−Aを選択することで実現できる。   FIG. 12B is an explanatory diagram of an example of a low power consumption mode in which output data is reduced to 40 MHz instead of 50 MHz. When the low power consumption mode shown in FIG. 12B is further provided, the asynchronous absorption circuit 20 selects the single port RAM-C as the single port RAM0 and the single port RAM-A as the single port RAM1. it can.

従来の非同期吸収回路11では低消費電力モードを実現する為に、16ビット×640WordのデュアルポートRAMを持たなければならない。また、従来の非同期吸収回路11では2ストリームモードを実現する為に、補正ありスケール変換回路50が利用するシングルポートRAM−Cを持たなければならない。   In order to realize the low power consumption mode, the conventional asynchronous absorption circuit 11 must have a 16-bit × 640-word dual-port RAM. In addition, the conventional asynchronous absorption circuit 11 must have a single port RAM-C used by the scale conversion circuit with correction 50 in order to realize the two-stream mode.

このように、異なる複数のモードを持つ製品において、従来の非同期吸収回路11は本実施の形態の非同期吸収回路20と比較して回路規模が不利となる。また、異なる複数のモードを持つ製品の中に、非同期吸収しなければならない箇所が複数ある場合は、全ての箇所を本実施の形態の非同期吸収回路20で実現すれば、モードごとにシングルポートRAMを使い分ける選択肢が増え、従来の非同期吸収回路11と比べて回路規模の面で更に有利となる。   Thus, in a product having a plurality of different modes, the conventional asynchronous absorption circuit 11 is disadvantageous in circuit scale as compared with the asynchronous absorption circuit 20 of the present embodiment. In addition, in a product having a plurality of different modes, when there are a plurality of portions that must be asynchronously absorbed, if all the portions are realized by the asynchronous absorption circuit 20 of the present embodiment, a single port RAM is provided for each mode. As a result, there are more choices for different types of circuits, which is more advantageous in terms of circuit scale than the conventional asynchronous absorption circuit 11.

なお、ここまでの説明では入力データが入力側バリッド信号INVALIDを有していなかった。入力側バリッド信号INVALIDを有している場合、入力データはINVALID期間があれば、入力速度が遅くなる。しかし、本実施の形態の非同期吸収回路20には不都合か生じない。RAM切り替えテーブル24は入力データが最大の速度であるときを想定して作成されている。   In the above description, the input data does not have the input side valid signal INVALID. When the input-side valid signal INVALID is included, the input speed of the input data is slow if there is an INVALID period. However, there is no inconvenience in the asynchronous absorption circuit 20 of the present embodiment. The RAM switching table 24 is created assuming that the input data has the maximum speed.

RAM切り替えテーブル24の作成及びシングルポートRAM0、1の記憶容量の選択は例えば図13に示すようなPC(パーソナルコンピュータ)でプログラムを実行することにより実現できる。図13はPCの一例のハードウェア構成図である。PCはバス68で相互に接続されている入力装置61、出力装置62、記録媒体読取装置63、補助記憶装置64、主記憶装置65、演算処理装置66及びインタフェース装置67を有する構成である。   The creation of the RAM switching table 24 and the selection of the storage capacities of the single port RAMs 0 and 1 can be realized, for example, by executing a program on a PC (personal computer) as shown in FIG. FIG. 13 is a hardware configuration diagram of an example of a PC. The PC includes an input device 61, an output device 62, a recording medium reading device 63, an auxiliary storage device 64, a main storage device 65, an arithmetic processing device 66, and an interface device 67 that are mutually connected by a bus 68.

入力装置61はキーボードやマウス等である。入力装置61は各種信号を入力するために用いられる。出力装置62はディスプレイ装置等である。出力装置62は各種ウインドウやデータ等を表示するために用いられる。インタフェース装置67は、モデム、LANカード等である。インタフェース装置67はLANやインターネット等のネットワークに接続するために用いられる。   The input device 61 is a keyboard or a mouse. The input device 61 is used for inputting various signals. The output device 62 is a display device or the like. The output device 62 is used to display various windows and data. The interface device 67 is a modem, a LAN card, or the like. The interface device 67 is used for connecting to a network such as a LAN or the Internet.

RAM切り替えテーブル24の作成やシングルポートRAM0、1の記憶容量の選択を実現するプログラムは、例えば記録媒体69の配布やネットワーク等からのダウンロードなどによって提供される。なお、RAM切り替えテーブル24の作成やシングルポートRAM0、1の記憶容量の選択を実現するプログラムはPCで実行されるプログラムの少なくとも一部である。   A program that realizes creation of the RAM switching table 24 and selection of the storage capacity of the single port RAMs 0 and 1 is provided by, for example, distribution of the recording medium 69 or downloading from a network or the like. A program that realizes creation of the RAM switching table 24 and selection of the storage capacities of the single port RAMs 0 and 1 is at least a part of a program executed on the PC.

記録媒体69はCD−ROM、フレキシブルディスク、光磁気ディスク等の様に情報を光学的、電気的或いは磁気的に記録する記録媒体、ROM、フラッシュメモリ等の様に情報を電気的に記録する半導体メモリ等、様々なタイプの記録媒体を用いることができる。   The recording medium 69 is a recording medium that records information optically, electrically, or magnetically, such as a CD-ROM, a flexible disk, or a magneto-optical disk, or a semiconductor that electrically records information, such as a ROM or flash memory. Various types of recording media such as a memory can be used.

プログラムを記録した記録媒体69が記録媒体読取装置63にセットされると、プログラムは記録媒体69から記録媒体読取装置63を介して補助記憶装置64にインストールされる。ネットワーク等からダウンロードされたプログラムはインタフェース装置67を介して補助記憶装置64にインストールされる。   When the recording medium 69 on which the program is recorded is set in the recording medium reading device 63, the program is installed from the recording medium 69 to the auxiliary storage device 64 via the recording medium reading device 63. A program downloaded from a network or the like is installed in the auxiliary storage device 64 via the interface device 67.

補助記憶装置64はプログラム、必要なファイル、データ等を格納する。主記憶装置65はプログラムの起動時に補助記憶装置64からプログラムを読み出して格納する。演算処理装置66は主記憶装置65に格納されたプログラムに従って各種機能を実現する。   The auxiliary storage device 64 stores programs, necessary files, data, and the like. The main storage device 65 reads the program from the auxiliary storage device 64 and stores it when the program is started. The arithmetic processing unit 66 implements various functions in accordance with programs stored in the main storage device 65.

まず、RAM切り替えテーブル24の作成方法及びシングルポートRAM0、1の記憶容量の選択方法について説明する。   First, a method for creating the RAM switching table 24 and a method for selecting the storage capacity of the single port RAMs 0 and 1 will be described.

図14は2つのシングルポートRAMのビット数及びWord数の一例を表した説明図である。2つのシングルポートRAM0、1は同じビット数(ビット幅)である。シングルポートRAM0のWord数はw0とする。シングルポートRAM1のWord数はw1とする。入力データ及び出力データのビット数はシングルポートRAM0、1と同じとする。シングルポートRAM0のWord数w0及びシングルポートRAM1のWord数w1は以下の式(1)及び式(2)のように定義される。   FIG. 14 is an explanatory diagram showing an example of the number of bits and the number of words of two single-port RAMs. The two single port RAMs 0 and 1 have the same number of bits (bit width). The number of words in the single port RAM0 is w0. The number of words in the single port RAM 1 is w1. The number of bits of input data and output data is the same as that of the single port RAMs 0 and 1. The word number w0 of the single port RAM0 and the word number w1 of the single port RAM1 are defined as in the following equations (1) and (2).

w0≧w1…(1)
w0及びw1は自然数…(2)
式(1)はシングルポートRAM0のWord数w0の方がシングルポートRAM1のWord数w1以上であることを示している。なお、FAB(ファウンドリ)が決まっていれば、式(2)には64の倍数、128の倍数などの条件が追加される。
w0 ≧ w1 (1)
w0 and w1 are natural numbers (2)
Equation (1) indicates that the number of words w0 of the single port RAM0 is greater than or equal to the number of words w1 of the single port RAM1. If FAB (foundry) is determined, conditions such as multiples of 64, multiples of 128, etc. are added to equation (2).

クロック信号ICLKの周波数が可変である場合は遅い周波数でも問題がないので最大周波数で見積もる。クロック信号OCLKの周波数が可変である場合は早い周波数でも問題がないので最低周波数で見積もる。   When the frequency of the clock signal ICLK is variable, there is no problem even with a slow frequency, so the estimation is performed with the maximum frequency. When the frequency of the clock signal OCLK is variable, there is no problem even at an early frequency, so the estimation is performed at the lowest frequency.

クロック信号ICLKの最大周波数はfinとする。また、クロック信号OCLKの最低周波数はfoutとする。クロック信号ICLKの最大周波数とクロック信号OCLKの最低周波数との周波数比率kは以下の式(3)及び式(4)のように定義される。   The maximum frequency of the clock signal ICLK is assumed to be fin. The minimum frequency of the clock signal OCLK is fout. The frequency ratio k between the maximum frequency of the clock signal ICLK and the minimum frequency of the clock signal OCLK is defined as in the following equations (3) and (4).

k=fin/fout…(3)
k>1(fin>0かつfout>0かつfin>fout)…(4)
k≦1のときは入力データのクロック信号ICLKの方が出力データのクロック信号OCLKよりも遅くなる。したがって、k≦1のときは非同期吸収するために大きな記憶容量のメモリを使う必要がないので、説明を省略する。
k = fin / fout (3)
k> 1 (fin> 0 and fout> 0 and fin> fout) (4)
When k ≦ 1, the input data clock signal ICLK is slower than the output data clock signal OCLK. Therefore, when k ≦ 1, it is not necessary to use a memory having a large storage capacity for asynchronous absorption, and thus the description thereof is omitted.

図15は入力データを分割したブロックデータの一例の説明図である。入力データが連続する最大クロック数はIとする。最大クロック数Iをn分割してできたデータブロックの入力クロック数はxnとする。なお、入力クロック数xnの添え字nは先に来るデータブロックに大きい数を付している。最大クロック数Iと入力クロック数xnとの関係は以下の式(5)及び式(6)のように定義される。   FIG. 15 is an explanatory diagram of an example of block data obtained by dividing input data. The maximum number of clocks in which input data continues is I. Assume that the number of input clocks of a data block formed by dividing the maximum clock number I by n is xn. The subscript n of the input clock number xn gives a large number to the data block that comes first. The relationship between the maximum clock number I and the input clock number xn is defined as in the following equations (5) and (6).

I=Σ(m=1からn)xm…(5)
I、n及びxnは自然数…(6)
非同期吸収回路20の場合は、非同期吸収部22の遅延時間をtとする。非同期吸収回路20Aの場合は、2つのシングルポートRAM0、1を動作させる為のクロック信号の切り替えに掛かる遅延時間をtとする。遅延時間tは入力クロック数xnを基準に切り上げて、入力クロック数xnで時間を定義する。なお、遅延時間tは非同期吸収回路20の実装方法によって僅かに異なる。また、本実施の形態では、実数Xを超えない最大の整数を[X]で表すこととする。また、入力クロック数xnは以下の式(7)及び式(8)のように定義される。
I = Σ (m = 1 to n) × m (5)
I, n and xn are natural numbers (6)
In the case of the asynchronous absorption circuit 20, the delay time of the asynchronous absorption unit 22 is t. In the case of the asynchronous absorption circuit 20A, t is a delay time required for switching clock signals for operating the two single port RAMs 0 and 1. The delay time t is rounded up based on the input clock number xn, and the time is defined by the input clock number xn. Note that the delay time t slightly varies depending on the mounting method of the asynchronous absorption circuit 20. In this embodiment, the maximum integer not exceeding the real number X is represented by [X]. The number of input clocks xn is defined as in the following equations (7) and (8).

n≧3のとき、xn=[(xn−1−t)/k](ただし、xnはメモリのword長を超えない。)…(7)
nは自然数で、できるだけ大きくする。xnは自然数でなければならない。nが一定数以上のとき、式(7)よりxnは0又は負数となるが、全て0とする。…(8)
また、以下の説明では式(9)及び式(10)を利用する。
When n ≧ 3, xn = [(x n−1 −t) / k] (where xn does not exceed the word length of the memory) (7)
n is a natural number and is made as large as possible. xn must be a natural number. When n is equal to or greater than a certain number, xn is 0 or a negative number according to the equation (7), but all are 0. ... (8)
Further, in the following description, Expression (9) and Expression (10) are used.

関数f(x)=[(x−t)/k]…(9)
実数a及びbのうち、小さい方をMin(a、b)と記述する。…(10)
以下では決められたメモリの記憶容量で受け入れられる最大の入力データクロック数Lについて考える。2つのシングルポートRAM0、1の記憶容量は、最大の入力データクロック数Lが最大クロック数Iよりも大きくなるようにすればよい。
Function f (x) = [(x−t) / k] (9)
Of the real numbers a and b, the smaller one is described as Min (a, b). (10)
In the following, the maximum number of input data clocks L that can be accepted with the determined storage capacity of the memory will be considered. The storage capacities of the two single port RAMs 0 and 1 may be such that the maximum input data clock number L is larger than the maximum clock number I.

まずは、n分割された最後の入力クロック数x1のデータブロックがシングルポートRAM0に格納されるべきか、シングルポートRAM1に格納されるべきかを考える。   First, consider whether the data block of the last input clock number x1 divided by n should be stored in the single port RAM0 or the single port RAM1.

L=Σ(m=4からn)xm+x3+x2+x1…(11)
n分割された最後の入力クロック数x1のデータブロックがシングルポートRAM0及びシングルポートRAM1のどちらに格納されるとしても、以下の式(12)が成り立つことになる。
L = Σ (m = 4 to n) xm + x3 + x2 + x1 (11)
Regardless of whether the data block of the last input clock number x1 divided by n is stored in either the single port RAM0 or the single port RAM1, the following equation (12) is established.

x2+x1=w1+w0=w0+w1…(12)
式(7)よりx3が大きい方が最大の入力データクロック数Lは大きくなる。最後の入力クロック数x1のデータブロックがシングルポートRAM0に格納されるべきかシングルポートRAM1に格納されるべきか、は以下の式(13)の関係から、最後にシングルポートRAM1に格納されるべきと分かる。
x2 + x1 = w1 + w0 = w0 + w1 (12)
The maximum number of input data clocks L becomes larger when x3 is larger than Expression (7). Whether the data block of the last input clock number x1 should be stored in the single-port RAM0 or the single-port RAM1 should be stored in the single-port RAM1 lastly from the relationship of the following equation (13). I understand.

Min(wo、f(w1))≦Min(w1、f(w0))…(13)
証明:命題Min(wo、f(w1))≦Min(w1、f(w0))
式(1)と式(4)と式(9)によりw0≧w1≧f(w1)により
Min(wo、f(w1))=f(w1)
w1≧f(w1)かつf(w0)≧f(w1)なので
Min(w1、f(w0))≧f(w1)
よって、Min(wo、f(w1))≦Min(w1、f(w0))
上記より、最大の入力データクロック数Lは以下の式(14)となる。
Min (wo, f (w1)) ≦ Min (w1, f (w0)) (13)
Proof: Proposition Min (wo, f (w1)) ≦ Min (w1, f (w0))
From equation (1), equation (4) and equation (9), w0 ≧ w1 ≧ f (w1)
Min (wo, f (w1)) = f (w1)
Since w1 ≧ f (w1) and f (w0) ≧ f (w1)
Min (w1, f (w0)) ≧ f (w1)
Therefore, Min (wo, f (w1)) ≦ Min (w1, f (w0))
From the above, the maximum input data clock number L is expressed by the following equation (14).

L=Σ(m=4からn)xm+Min(w1、f(w0))+wo+w1…(14)
また、RAM切り替えテーブル24は例えば図16に示したフローチャートの手順で作成される。図16はRAM切り替えテーブルの作成手順を示した一例のフローチャートである。図16のフローチャートは非同期吸収回路仕様決定ステージS1と、FAB選定ステージS2と、RAMの組み合わせとRAM切り替えテーブル作成ステージS3とを有する手順を示している。
L = Σ (m = 4 to n) × m + Min (w1, f (w0)) + wo + w1 (14)
Further, the RAM switching table 24 is created, for example, according to the flowchart shown in FIG. FIG. 16 is a flowchart illustrating an example of a procedure for creating the RAM switching table. The flowchart of FIG. 16 shows a procedure including an asynchronous absorption circuit specification determination stage S1, an FAB selection stage S2, a combination of RAMs, and a RAM switching table creation stage S3.

非同期吸収回路仕様決定ステージS1は非同期吸収したいデータの情報を決める手順である。また、FAB選定ステージS2はデータのビット幅のシングルポートRAMでFABにあるWord数のシングルポートRAMを全て選ぶ手順である。また、RAMの組み合わせとRAM切り替えテーブル作成ステージS3は決められた遅延時間内で非同期吸収が可能な使えるシングルポートRAMの組み合わせと、RAM切り替えテーブル24とが出力される手順である。   The asynchronous absorption circuit specification determination stage S1 is a procedure for determining data information to be asynchronously absorbed. The FAB selection stage S2 is a procedure for selecting all the single-port RAMs having the number of Words in the FAB in the single-port RAM having the bit width of the data. The RAM combination and the RAM switching table creation stage S3 are procedures for outputting a usable single port RAM combination capable of asynchronous absorption within a predetermined delay time and the RAM switching table 24.

L=Σ(m=1からn)xm
=Σ(m=1から∞)xm
=Σ(m=4から∞)xm+Min(w1、f(w0))+wo+w1…(15)
式(15)のmの値を増やしていって初めてxmが0になる所の1つ前がnである。Lは表計算ソフトなどを用いて求めることができる。なお、非同期吸収の遅延時間を小さくする為には、最大の入力データクロック数Lと入力データが連続する最大クロック数Iとが等しくなるように入力クロック数x2を小さくすればよい。x2=w0−(L−I)とする。そのときの非同期吸収の遅延時間は以下の式(16)のようになる。
L = Σ (m = 1 to n) × m
= Σ (m = 1 to ∞) xm
= Σ (m = 4 to ∞) xm + Min (w1, f (w0)) + wo + w1 (15)
N is the one before xm becomes 0 only after increasing the value of m in equation (15). L can be obtained using spreadsheet software or the like. In order to reduce the delay time of asynchronous absorption, the input clock number x2 may be reduced so that the maximum input data clock number L is equal to the maximum clock number I of continuous input data. Let x2 = w0− (LI). The asynchronous absorption delay time at that time is expressed by the following equation (16).

(遅延時間)=w1/fin−(w0−(L−I))/fout…(16)
式(15)では、Lが大きくなるように(できるだけ小さいw0とw1でL≧Iを満たせるように)分割数nを可能な限り大きくしている。なお、ハードウェア設計上、一定の切り替え回数以内であって欲しい場合はnの最大値を制限して求める。また、上記では最後にシングルポートRAM1に格納した方が、入力データクロック数Lが大きくなることを証明したが、L≧Iになるならば、最後にシングルポートRAM0に格納するようにしてもよい。
(Delay time) = w1 / fin− (w0− (LI)) / fout (16)
In Expression (15), the division number n is made as large as possible so that L becomes large (so that L ≧ I can be satisfied with w0 and w1 as small as possible). In the hardware design, when it is desired to be within a certain number of switching times, the maximum value of n is limited and obtained. Further, in the above, it has been proved that the number of input data clocks L is larger when stored last in the single-port RAM 1, but if L ≧ I, it may be stored last in the single-port RAM 0. .

以下では非同期吸収回路仕様決定ステージS1、FAB選定ステージS2、RAMの組み合わせとRAM切り替えテーブル作成ステージS3について詳細に説明する。データは理解を容易とするため、1バイト/クロックとする。   Hereinafter, the asynchronous absorption circuit specification determination stage S1, the FAB selection stage S2, the combination of RAM, and the RAM switching table creation stage S3 will be described in detail. Data is assumed to be 1 byte / clock for easy understanding.

1バイト/クロックの場合は、シングルポートRAM0の記憶容量とクロック数とが一致するため、分かり易い。また、同様に、シングルポートRAM0、1のword数と記憶容量とは一致している。また、説明を容易とするため、以下では表計算ソフトの一例としてのExcel(登録商標)の関数を用いて説明を行う。   In the case of 1 byte / clock, the storage capacity of the single-port RAM 0 matches the number of clocks, so that it is easy to understand. Similarly, the number of words and the storage capacity of the single port RAMs 0 and 1 are the same. For ease of explanation, the following description will be made using an Excel (registered trademark) function as an example of spreadsheet software.

非同期吸収回路仕様決定ステージS1では、まず、非同期吸収したいデータの情報としてクロック信号ICLKの最大周波数finと、クロック信号OCLKの最低周波数foutと、入力データが連続する最大クロック数Iと、非同期吸収部22の遅延時間の一例としてのクロック信号の切り替えに掛かる遅延時間tとを以下のように決める。   In the asynchronous absorption circuit specification determination stage S1, first, as the data information to be asynchronously absorbed, the maximum frequency fin of the clock signal ICLK, the minimum frequency fout of the clock signal OCLK, the maximum number of clocks I in which input data continues, The delay time t required for switching the clock signal as an example of the delay time 22 is determined as follows.

fin=80MHz
fout=50MHz
I=1280
t=11clk(fin)
なお、非同期吸収部22の遅延時間tは上記したように図6の非同期吸収回路20であるか図9の非同期吸収回路20Aであるかによって異なる。非同期吸収部22の遅延時間tはデータの非同期吸収に要する時間であるが、クロック信号ICLKの最大周波数finやクロック信号OCLKの最低周波数fout、非同期吸収の仕方(FF2段受け、FF3段受けなど)やプロセスのサイズ(65ナノ、90ナノなど)による。非同期吸収部22の遅延時間tはASICルール等に基づき、多めにとるようにしてもよい。非同期吸収部22の遅延時間tは例えば設計者が使用に応じて決める。
fin = 80MHz
fout = 50MHz
I = 1280
t = 11 clk (fin)
As described above, the delay time t of the asynchronous absorption unit 22 differs depending on whether the asynchronous absorption circuit 20 in FIG. 6 or the asynchronous absorption circuit 20A in FIG. The delay time t of the asynchronous absorption unit 22 is a time required for asynchronous absorption of data, but the maximum frequency fin of the clock signal ICLK, the minimum frequency fout of the clock signal OCLK, and the method of asynchronous absorption (FF two-stage reception, FF three-stage reception, etc.) And the size of the process (65 nano, 90 nano, etc.). The delay time t of the asynchronous absorption unit 22 may be increased based on the ASIC rule or the like. The delay time t of the asynchronous absorber 22 is determined by the designer according to use, for example.

次にFAB選定ステージS2ではデータのビット幅のシングルポートRAMでFABにある記憶容量のシングルポートRAMを以下のように全て選ぶ。128B(バイト)刻みのシングルポートRAMがあるFABでは、例えば128B、256B、384B、512Bの組み合わせでL≧Iになる組み合わせを探す。   Next, in the FAB selection stage S2, all the single-port RAMs having the storage capacity in the FAB with the single-port RAM having the data bit width are selected as follows. In an FAB having a single-port RAM in increments of 128B (bytes), for example, a combination that satisfies L ≧ I is searched for in a combination of 128B, 256B, 384B, and 512B.

例えばデュアルポートRAM13を使った非同期吸収回路11に比べて僅かに遅延時間が増える(実効出力速度が遅い)ということは、入力データのクロック信号ICLKの最大周波数finが変わらないならば、本実施の形態の非同期吸収回路20及び20AのシングルポートRAM0、1の記憶容量の合計がデュアルポートRAM13の記憶容量よりも理論的に大きくなければならない。   For example, the delay time slightly increases (effective output speed is slow) as compared with the asynchronous absorption circuit 11 using the dual port RAM 13, so that the maximum frequency fin of the input data clock signal ICLK does not change. The total storage capacity of the single-port RAMs 0 and 1 of the asynchronous absorption circuits 20 and 20A must be theoretically larger than the storage capacity of the dual-port RAM 13.

デュアルポートRAM13を使った非同期吸収回路11で480B必要なとき、本実施の形態の非同期吸収回路20及び20AのシングルポートRAM0、1の記憶容量の合計が480Bより多く必要であるということは、非同期吸収回路20及び20Aで使用するシングルポートRAM0、1の記憶容量を探す目安になる。   When the asynchronous absorption circuit 11 using the dual port RAM 13 requires 480B, the total storage capacity of the single port RAMs 0 and 1 of the asynchronous absorption circuit 20 and 20A of the present embodiment is more than 480B. It becomes a standard for searching for the storage capacity of the single port RAMs 0 and 1 used in the absorption circuits 20 and 20A.

逆に、本実施の形態の非同期吸収回路20及び20AのシングルポートRAM0、1の記憶容量の合計は、入力データが連続する最大クロック数Iが1280であり、入力しながら出力できる仕様であるため、1280B以上が必要になることはない。   Conversely, the sum of the storage capacities of the single-port RAMs 0 and 1 of the asynchronous absorption circuits 20 and 20A of the present embodiment is a specification that the maximum number of clocks I in which input data continues is 1280 and can be output while being input. , 1280B or more is not required.

図17はFABにある記憶容量のシングルポートRAMの組み合わせの一例を示した説明図である。図17では上記した式(1)に基づきw0<w1の領域を黒で塗りつぶしている。FAB選定ステージではL≧I且つw0+w1が最小になるシングルポートRAMの組み合わせを探す。   FIG. 17 is an explanatory diagram showing an example of a combination of storage capacity single port RAMs in the FAB. In FIG. 17, the area of w0 <w1 is filled with black based on the above equation (1). In the FAB selection stage, a combination of single port RAMs in which L ≧ I and w0 + w1 is minimized is searched for.

図17では、L≧IになるシングルポートRAMの組み合わせのセルに「○」を付すと共に、L<IになるシングルポートRAMの組み合わせのセルに「×」を付す。図17に示されるように「×」のセルから見て右下の領域は「×」である。また「○」のセルから見て左上の領域は「○」である。   In FIG. 17, “◯” is attached to the combination cell of the single port RAM satisfying L ≧ I, and “×” is attached to the combination cell of the single port RAM satisfying L <I. As shown in FIG. 17, the lower right region when viewed from the “×” cell is “×”. The upper left area when viewed from the “◯” cell is “◯”.

結局、図17では384B+384Bの組み合わせか512B+256Bの組み合わせが最小となるシングルポートRAMの記憶容量の組み合わせであることが分かる。参考として、図17は640B+128Bの組み合わせが「○」になる可能性があるようにも見える。しかし、w0及びw1の総記憶容量が減るわけでもないため、特別な事情(例えば640BのシングルポートRAMを他の用途に兼用したいなど)が無い限り、検討する必要はない。なお、非同期吸収の遅延時間は以下の式(17)のようになる。   Eventually, in FIG. 17, it can be seen that the combination of the storage capacities of the single-port RAMs that minimizes the combination of 384B + 384B or 512B + 256B. For reference, FIG. 17 also appears that the combination of 640B + 128B may be “◯”. However, since the total storage capacity of w0 and w1 is not reduced, there is no need to consider unless there is a special circumstance (for example, the 640B single-port RAM is also used for other purposes). The asynchronous absorption delay time is expressed by the following equation (17).

t/fin+(x1+x2)/fout−x1/fin…(17)
式(17)を参照すると、x1+x2が一定ならば、x1が大きいほど、非同期吸収の遅延時間は短くなることが分かる。存在するシングルポートRAMの記憶容量の刻みが十分に大きいならば、x1≒w1、x2≒w0で、w0≧w1であるから、必要最小限のw0及びw1の元で|w0−w1|が大きくなると、非同期吸収の遅延時間は大きくなることが予想される。遅延時間を大きくしたい(実効出力速度を遅くしたい)ときは検討する意味はある。なお、実際に計算すると、640B+128Bの組み合わせはL<Iであるため「×」である。
t / fin + (x1 + x2) / fout−x1 / fin (17)
Referring to equation (17), it can be seen that if x1 + x2 is constant, the greater the x1, the shorter the asynchronous absorption delay time. If the increment of the storage capacity of the existing single-port RAM is sufficiently large, x1≈w1, x2≈w0 and w0 ≧ w1, so | w0−w1 | is large under the minimum w0 and w1. As a result, the delay time of asynchronous absorption is expected to increase. If you want to increase the delay time (decrease the effective output speed), it is worth considering. When actually calculated, the combination of 640B + 128B is “×” because L <I.

「×」のセルから見て右下の領域が「×」であるというルール1及び「○」のセルから見て左上の領域が「○」であるというルール2をもとに、w0+w1が最小の組み合わせを出力するソフトウェアを作成することは可能である。シングルポートRAMの記憶容量の刻みが細かい時に膨大なシングルポートRAMの組み合わせを探索するためにはソフトウェアは便利である。   W0 + w1 is the minimum based on Rule 1 that the lower right area is “X” when viewed from the “×” cell and Rule 2 that the upper left area is “O” when viewed from the “O” cell. It is possible to create software that outputs a combination of The software is convenient for searching for a large number of combinations of single port RAMs when the storage capacity of the single port RAMs is fine.

次にRAMの組み合わせとRAM切り替えテーブル作成ステージS3では決められた遅延時間内で非同期吸収が可能な使えるシングルポートRAMの組み合わせと、RAM切り替えテーブル24とを出力する。以下では、図7及び図10に示したタイミング図のRAM切り替えテーブル24の作成について説明する。   Next, in the RAM combination and RAM switching table creation stage S3, a combination of usable single port RAMs capable of asynchronous absorption within a predetermined delay time and the RAM switching table 24 are output. Hereinafter, the creation of the RAM switching table 24 in the timing chart shown in FIGS. 7 and 10 will be described.

図7のタイミング図の場合は、x1からxnは以下のように表される。   In the case of the timing diagram of FIG. 7, x1 to xn are expressed as follows.

x1=384
x2=384
x3=Max(Min(x1、ROUNDDOWN((x2−t)/k、0))、0)
xn=Max(ROUNDDOWN((xn−1−t)/k、0)、0)
なお、ROUNDDOWN(数値、桁数)は、指定した桁数で切り捨てた数値を返す関数である。桁数0は一の位で切り捨てることを表している。また、後述するROUNDUP(数値、桁数)は指定した桁数に数値を切り上げて返す関数である。
x1 = 384
x2 = 384
x3 = Max (Min (x1, ROUNDDOWN ((x2-t) / k, 0)), 0)
xn = Max (ROUNDDOWN ((x n-1 -t) / k, 0), 0)
Note that ROUNDDOWN (numerical value, number of digits) is a function that returns a numerical value rounded down to the specified number of digits. The number of digits 0 indicates that the value is rounded down to the first decimal place. Also, ROUNDUP (numerical value, number of digits), which will be described later, is a function that rounds up a numerical value to a specified number of digits and returns it.

まずは、384B+384BのシングルポートRAMの組み合わせで受け入れられる最大の入力データクロック数Lを求めると、L=Σxn=1284となる。入力データが連続する最大クロック数I=1280なので、最大の入力データクロック数L=1284のうちの4バイト(クロック)は不要となる。   First, when the maximum number of input data clocks L that can be accepted by a combination of 384B + 384B single-port RAMs is obtained, L = Σxn = 1284. Since the maximum number of clocks I = 1280 in which input data continues, 4 bytes (clocks) out of the maximum number of input data clocks L = 1284 are unnecessary.

そこで、不要な4バイトはx1又はx2から引くことができる。上記した式(17)を参照するとx1+x2が一定ならばx2から引いた方が良いことになるが、x3=233である為、x2はROUNDUP(x3×k+t、0)≧384である必要がある。このため、不要な4バイトはx1から引かれることになる。結果として、表1のようなRAM切り替えテーブル24が作成される。なお、非同期吸収の遅延時間を厳密に最小にするために連立不等式を解いて答えを求めるかは設計者に委ねられる。   Therefore, unnecessary 4 bytes can be subtracted from x1 or x2. Referring to the equation (17), if x1 + x2 is constant, it is better to subtract from x2, but since x3 = 233, x2 needs to satisfy ROUNDUP (x3 × k + t, 0) ≧ 384 . For this reason, unnecessary 4 bytes are subtracted from x1. As a result, a RAM switching table 24 as shown in Table 1 is created. In order to minimize the delay time of asynchronous absorption, it is left up to the designer to solve the simultaneous inequality and obtain the answer.

Figure 0005810782
図10のタイミング図の場合は、x1からxnは以下のように表される。
Figure 0005810782
In the case of the timing diagram of FIG. 10, x1 to xn are expressed as follows.

x1=256
x2=512
x3=Max(Min(x1、ROUNDDOWN((x2−t)/k、0))、0)
xn=Max(ROUNDDOWN((xn−1−t)/k、0)、0)
まずは、512B+256BのシングルポートRAMの組み合わせで受け入れられる最大の入力データクロック数Lを求めると、L=Σxn=1343となる。入力データが連続する最大クロック数I=1280なので、最大の入力データクロック数L=1343のうちの63バイト(クロック)は不要となる。そこで、不要な63バイトはx1又はx2から引くことができる。
x1 = 256
x2 = 512
x3 = Max (Min (x1, ROUNDDOWN ((x2-t) / k, 0)), 0)
xn = Max (ROUNDDOWN ((x n-1 -t) / k, 0), 0)
First, when the maximum number of input data clocks L that can be accepted by a combination of 512B + 256B single port RAM is obtained, L = Σxn = 1343. Since the maximum clock number I = 1280 for which input data continues, 63 bytes (clocks) of the maximum input data clock number L = 1343 are not required. Therefore, unnecessary 63 bytes can be subtracted from x1 or x2.

上記した式(17)を参照するとx1+x2が一定ならばx2から引いた方が良いことになる。したがって、x2=512−63=449となる。x3=256である為、x2はROUNDUP(x3×k+t、0)≧421という条件を満たせます。よって、RAM切り替えテーブル24は表2のようになる。   Referring to the above equation (17), if x1 + x2 is constant, it is better to subtract from x2. Therefore, x2 = 512-63 = 449. Since x3 = 256, x2 can satisfy the condition of ROUNDUP (x3 × k + t, 0) ≧ 421. Therefore, the RAM switching table 24 is as shown in Table 2.

Figure 0005810782
なお、上記は機械的な回答例であって、回路が動作するRAM切り替えテーブル24は1つではない。例えば切り替え回数を少なくしたいならば、RAM切り替えテーブル24はx7及びx8を0にすることも可能である。
Figure 0005810782
The above is a mechanical answer example, and there is not one RAM switching table 24 on which the circuit operates. For example, if it is desired to reduce the number of switching times, the RAM switching table 24 can set x7 and x8 to zero.

例えばテーブルを全てレジスタで持ち、x6までしか値を記憶できないIC用の切り替えテーブルを作成したい場合はx7及びx8を0にする必要がある。なお、テーブルをIC内で生成する場合は、無限回の切り替えが許されるので、このような必要性はない。微調整は用途に応じて設計者に委ねられる。   For example, if it is desired to create a switching table for an IC that has all tables as registers and can only store values up to x6, it is necessary to set x7 and x8 to zero. In the case where the table is generated in the IC, infinite switching is allowed, so there is no need for such a table. Fine adjustment is left to the designer depending on the application.

図18は非同期吸収の遅延時間を表した一例の説明図である。上記した式(17)は図18に示した関係から生成される。なお、式(17)のt/finは非常に小さい値であるため、無視しても構わない。   FIG. 18 is an explanatory diagram of an example showing the delay time of asynchronous absorption. The above equation (17) is generated from the relationship shown in FIG. Note that t / fin in equation (17) is a very small value and may be ignored.

図19はRAM切り替えテーブルを作成するシートの一例の構成図である。また、図20はRAM切り替えテーブルを作成するシートの他の例の構成図である。図19のシートは図7のタイミング図に示したRAM切り替えテーブル24を作成する例を示す。図20のシートは図10のタイミング図に示したRAM切り替えテーブル24を作成する例を示している。   FIG. 19 is a configuration diagram of an example of a sheet for creating a RAM switching table. FIG. 20 is a configuration diagram of another example of a sheet for creating a RAM switching table. The sheet of FIG. 19 shows an example of creating the RAM switching table 24 shown in the timing chart of FIG. The sheet of FIG. 20 shows an example of creating the RAM switching table 24 shown in the timing chart of FIG.

図19及び図20のシートはクロック信号ICLKの最大周波数finと、クロック信号OCLKの最低周波数foutと、入力データが連続する最大クロック数Iと、シングルポートRAM0のWord数w0と、シングルポートRAM1のWord数w1と、kからtを算出する関数t=ak+bのa及びbとに数値を入力することで、RAM切り替えテーブル24が作成されることを表している。   19 and 20 show the maximum frequency fin of the clock signal ICLK, the minimum frequency fout of the clock signal OCLK, the maximum number of clocks I in which the input data continues, the Word number w0 of the single port RAM0, and the single port RAM1. It represents that the RAM switching table 24 is created by inputting numerical values to the word number w1 and a and b of the function t = ak + b for calculating t from k.

本実施の形態によれば、デュアルポートRAMを使わずにシングルポートRAMを使用して非同期吸収(速度変換)することができ、デュアルポートRAMを使うよりもチップサイズを大幅に減らすことができる。また、2枚のシングルポートRAM及びRAM切り替えテーブル24を使うことで、本実施の形態は異なる複数のモードを持つ製品においてRAM等のメモリをモード毎に使い分けて回路規模を小さくし、更に消費電力も下げることを可能にしている。   According to the present embodiment, asynchronous absorption (speed conversion) can be performed using a single port RAM without using a dual port RAM, and the chip size can be greatly reduced as compared with the dual port RAM. In addition, by using two single-port RAMs and a RAM switching table 24, this embodiment uses a memory such as a RAM for each mode in a product having a plurality of different modes, thereby reducing the circuit scale and further reducing power consumption. Can also be lowered.

本発明は、具体的に開示された実施例に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。なお、特許請求の範囲に記載した書き込み動作手段はライト動作部26に相当する。読み出し動作手段はリード動作部27に相当する。切り替え手段はRAMセレクタ部28に相当する。   The present invention is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims. The write operation means described in the claims corresponds to the write operation unit 26. The read operation means corresponds to the read operation unit 27. The switching means corresponds to the RAM selector unit 28.

また、切り替え制御手段はスイッチング判定部25に相当する。非同期吸収手段は内蔵FF部29又はCLK生成回路30に相当する。切り替えタイミング記録手段はRAM切り替えテーブル24に相当する。   The switching control unit corresponds to the switching determination unit 25. The asynchronous absorption means corresponds to the built-in FF unit 29 or the CLK generation circuit 30. The switching timing recording means corresponds to the RAM switching table 24.

0、1 シングルポートRAM
10 入力データI/F
11 非同期吸収回路
12 出力データI/F
13 デュアルポートRAM
20、20A 非同期吸収回路
21 同期吸収部
22 非同期吸収部
23 データ数(CLK数)カウント部
24、24A、24B RAM切り替えテーブル
25 スイッチング判定部
26 ライト動作部
27 リード動作部
28 RAMセレクタ部
29 内蔵FF(フリップフロップ)部
30 CLK生成回路
31 CLKセレクタ部
40 CPU
41 RAMセレクタ部
42 RAM切り替えテーブルセレクタ部
50 補正ありスケール変換回路
61 入力装置
62 出力装置
63 記録媒体読取装置
64 補助記憶装置
65 主記憶装置
66 演算処理装置
67 インタフェース装置
68 バス
0, 1 single port RAM
10 Input data I / F
11 Asynchronous absorption circuit 12 Output data I / F
13 Dual port RAM
20, 20A Asynchronous absorption circuit 21 Synchronous absorption unit 22 Asynchronous absorption unit 23 Data number (CLK number) count unit 24, 24A, 24B RAM switching table 25 Switching determination unit 26 Write operation unit 27 Read operation unit 28 RAM selector unit 29 Built-in FF (Flip-flop) section 30 CLK generation circuit 31 CLK selector section 40 CPU
41 RAM selector section 42 RAM switching table selector section 50 Scale conversion circuit with correction 61 Input device 62 Output device 63 Recording medium reader 64 Auxiliary storage device 65 Main storage device 66 Arithmetic processing device 67 Interface device 68 Bus

特開2010−134646号公報JP 2010-134646 A 特開2007−249010号公報JP 2007-249010 A

Claims (7)

記憶容量がそれぞれ画像1ライン分よりも少ない複数の記憶手段への入力データの書き込み動作を行う書き込み動作手段と、
前記記憶手段からの出力データの読み出し動作を行う読み出し動作手段と、
前記書き込み動作手段による書き込み及び前記読み出し動作手段による読み出しの対象となる前記記憶手段を切り替える切り替え手段と、
画像1ライン分の入力データを複数に分けたブロックデータが前記記憶手段に振り分けられるタイミングに基づき、前記切り替え手段による前記記憶手段の切り替えを制御する切り替え制御手段と、
前記読み出し動作手段により読み出されたデータを入力データのクロック信号から出力データのクロック信号に変換して出力する非同期吸収手段と
を有することを特徴とする非同期吸収回路。
And write operations means the storage capacity performs the write operation of the input data into small Ifuku number storage means than the image one line, respectively,
A read operation means for performing a read operation of output data from the storage means;
Switching means for switching the storage means to be written by the write operation means and read by the read operation means;
Switching control means for controlling switching of the storage means by the switching means based on the timing at which the block data obtained by dividing the input data for one line of the image into the storage means is distributed;
An asynchronous absorption circuit comprising: asynchronous absorption means for converting the data read by the read operation means from a clock signal of input data to a clock signal of output data and outputting the same .
画像1ライン分の入力データを複数に分けたブロックデータが前記記憶手段に振り分けられるタイミングを記録した切り替えタイミング記録手段を、更に有すること
を特徴とする請求項1記載の非同期吸収回路。
2. The asynchronous absorption circuit according to claim 1, further comprising switching timing recording means for recording a timing at which block data obtained by dividing input data for one line of image into a plurality of storage means is recorded.
前記複数の記憶手段が2個の記憶手段である場合、前記切り替えタイミング記録手段は前記ブロックデータがn個であるとき、n−2番目の前記ブロックデータの前記記憶手段からの読み出し動作まで、n−1番目の前記ブロックデータの前記記憶手段への書き込み動作よりも早く終わるように、前記ブロックデータが前記記憶手段に振り分けられるタイミングを記録していること
を特徴とする請求項2記載の非同期吸収回路。
In the case where the plurality of storage means are two storage means, the switching timing recording means, when the number of block data is n, until the reading operation of the n-2th block data from the storage means, n -1 -th to end earlier than the writing operation to the memory means of the block data, asynchronous absorption according to claim 2, wherein the block data is recording timing to be distributed to said storage means circuit.
前記非同期吸収手段は、フリップフロップ手段を用いて前記読み出し動作手段により読み出されたデータを入力データのクロック信号から出力データのクロック信号に変換して出力すること
を特徴とする請求項1乃至3何れか一項記載の非同期吸収回路。
4. The asynchronous absorption means converts the data read by the read operation means from a clock signal of input data into a clock signal of output data by using a flip-flop means and outputs the data. The asynchronous absorption circuit according to any one of claims.
前記非同期吸収手段は、前記記憶手段を動作させる為のクロック信号を、前記記憶手段への入力データの書き込み動作を行うときに前記入力データのクロック信号とし、前記記憶手段からの出力データの読み出し動作を行うときに前記出力データのクロック信号として前記読み出し動作手段により読み出されたデータを入力データのクロック信号から出力データのクロック信号に変換して出力すること
を特徴とする請求項1乃至3何れか一項記載の非同期吸収回路。
The asynchronous absorption means uses a clock signal for operating the storage means as a clock signal of the input data when performing an operation of writing input data to the storage means, and reads out output data from the storage means 4. The data read by the read operation means as a clock signal of the output data at the time of performing the conversion is converted from a clock signal of the input data to a clock signal of the output data and output. An asynchronous absorption circuit according to claim 1.
請求項1記載の非同期吸収回路を有することを特徴とする画像処理装置。   An image processing apparatus comprising the asynchronous absorption circuit according to claim 1. 記憶容量がそれぞれ画像1ライン分よりも少ない複数の記憶手段への入力データの書き込み動作を行う書き込み動作手段と、
前記記憶手段からの出力データの読み出し動作を行う読み出し動作手段と、
前記書き込み動作手段による書き込み及び前記読み出し動作手段による読み出しの対象となる前記記憶手段を切り替える切り替え手段と、
画像1ライン分の入力データを複数に分けたブロックデータが前記記憶手段に振り分けられるタイミングに基づき、前記切り替え手段による前記記憶手段の切り替えを制御する切り替え制御手段と、
前記読み出し動作手段により読み出されたデータを入力データのクロック信号から出力データのクロック信号に変換して出力する非同期吸収手段と
を有する非同期吸収回路の切り替えタイミング記録手段を生成するコンピュータに、
入力データのクロック信号から出力データのクロック信号に変換して出力したいデータの情報を受け付ける仕様決定ステップと、
前記データのビット幅と同一、且つ、利用可能な記憶容量の記憶手段を選定する選定ステップと、
決められた遅延時間内で入力データのクロック信号から出力データのクロック信号に変換して出力が可能な前記選定された記憶手段の組み合わせ及び画像1ライン分の入力データを複数に分けたブロックデータが前記記憶手段に振り分けられるタイミングを記録した切り替えタイミング記録手段を作成する作成ステップと
を実行させる為のプログラム。
And write operations means the storage capacity performs the write operation of the input data into small Ifuku number storage means than the image one line, respectively,
A read operation means for performing a read operation of output data from the storage means;
Switching means for switching the storage means to be written by the write operation means and read by the read operation means;
Switching control means for controlling switching of the storage means by the switching means based on the timing at which the block data obtained by dividing the input data for one line of the image into the storage means is distributed;
A computer for generating a switching timing recording means of an asynchronous absorption circuit having an asynchronous absorption means for converting the data read by the read operation means from a clock signal of input data to a clock signal of output data and outputting the clock signal;
A specification determining step for receiving information on data to be converted from a clock signal of input data to a clock signal of output data and outputting ;
A selection step of selecting a storage means having the same storage capacity as the bit width of the data and available;
The combination of the selected storage means capable of converting the input data clock signal into the output data clock signal within the determined delay time and outputting the data, and block data obtained by dividing the input data for one line of the image into a plurality of data. A program for executing a creation step for creating a switching timing recording means for recording a timing assigned to the storage means.
JP2011202819A 2011-09-16 2011-09-16 Asynchronous absorption circuit, image processing apparatus, and program Expired - Fee Related JP5810782B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011202819A JP5810782B2 (en) 2011-09-16 2011-09-16 Asynchronous absorption circuit, image processing apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011202819A JP5810782B2 (en) 2011-09-16 2011-09-16 Asynchronous absorption circuit, image processing apparatus, and program

Publications (2)

Publication Number Publication Date
JP2013066007A JP2013066007A (en) 2013-04-11
JP5810782B2 true JP5810782B2 (en) 2015-11-11

Family

ID=48189120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011202819A Expired - Fee Related JP5810782B2 (en) 2011-09-16 2011-09-16 Asynchronous absorption circuit, image processing apparatus, and program

Country Status (1)

Country Link
JP (1) JP5810782B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06164340A (en) * 1992-11-19 1994-06-10 Oki Electric Ind Co Ltd Data delay method
JPH0729376A (en) * 1993-07-14 1995-01-31 Ricoh Co Ltd Semiconductor memory device and data read / write method
JPH0981449A (en) * 1995-09-13 1997-03-28 Fujitsu Ltd Pseudo dual port memory
JPH1188826A (en) * 1997-09-10 1999-03-30 Mega Chips:Kk Picture compositing device

Also Published As

Publication number Publication date
JP2013066007A (en) 2013-04-11

Similar Documents

Publication Publication Date Title
JP2975585B2 (en) Method and apparatus for upscaling an image
US6876395B1 (en) Video signal conversion device and video signal conversion method
CN110519603B (en) A hardware circuit for real-time video scaling and scaling method thereof
US11869116B2 (en) Line interleaving controller, image signal processor and application processor including the same
JP3016694B2 (en) Double scan circuit
CN115002304A (en) A video image resolution adaptive conversion device
US20140129745A1 (en) Asymmetric fifo memory
KR100498233B1 (en) First-in first-out memory circuit and method for executing the same
US20050078126A1 (en) Method and apparatus for scaling image in horizontal and vertical directions
JP5810782B2 (en) Asynchronous absorption circuit, image processing apparatus, and program
CN118018665A (en) A multi-channel image acquisition and processing system based on ZYNQ
JP2013008265A (en) Pipeline arithmetic device
US5905821A (en) Compression/expansion circuit having transfer means and storage means with address management of the storage means
JP3040529B2 (en) Moving image processing device
CN117082281B (en) Audio and video data synchronization processing methods, systems, equipment and media
JP4355383B2 (en) Data accumulation monitoring device
JPH10341415A (en) Picture processor
JPH04121891A (en) Fifo memory device
JP2000011636A (en) Control circuit of asynchronous first-in first-out memory
KR100404217B1 (en) format converter apparatus for double rate
JP3763394B2 (en) Image reduction method and apparatus
KR100831417B1 (en) Method for Image Reduction Processing Circuit
US7034840B2 (en) Method for an image reducing processing circuit
JP3526511B2 (en) Arithmetic device and arithmetic method
Tran et al. Hardware Design of a Frame-Memory-Free Image Filter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140812

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150602

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150729

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: 20150818

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150831

R151 Written notification of patent or utility model registration

Ref document number: 5810782

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees