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
JP3675948B2 - Data conversion method and apparatus - Google Patents
[go: Go Back, main page]

JP3675948B2 - Data conversion method and apparatus - Google Patents

Data conversion method and apparatus Download PDF

Info

Publication number
JP3675948B2
JP3675948B2 JP12922996A JP12922996A JP3675948B2 JP 3675948 B2 JP3675948 B2 JP 3675948B2 JP 12922996 A JP12922996 A JP 12922996A JP 12922996 A JP12922996 A JP 12922996A JP 3675948 B2 JP3675948 B2 JP 3675948B2
Authority
JP
Japan
Prior art keywords
data
buffer memory
block
output
memory
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 - Lifetime
Application number
JP12922996A
Other languages
Japanese (ja)
Other versions
JPH09292972A (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.)
Ikegami Tsushinki Co Ltd
Original Assignee
Ikegami Tsushinki 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 Ikegami Tsushinki Co Ltd filed Critical Ikegami Tsushinki Co Ltd
Priority to JP12922996A priority Critical patent/JP3675948B2/en
Publication of JPH09292972A publication Critical patent/JPH09292972A/en
Application granted granted Critical
Publication of JP3675948B2 publication Critical patent/JP3675948B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、データ変換方法とその装置に係り、詳しくは、連続する所定個 (nは整数)のデータを1ブロックとして演算処理することにより、そのデータ数を1/2 低減し、該演算後のデータをバッファメモリを介して出力するようにしたデータ変換方法とその装置に関する。
【0002】
【従来の技術】
入力されたデータをブロック単位で処理してバッファメモリ(以下、単にメモリとする。)に記憶し、そのデータを読み出して伝送するようにしたデータ変換方法には、メモリを1個使用する場合と、複数個使用する場合とがある。複数個使用する場合には、それぞれのメモリに対して書き込みと読み出しを交互に、あるいはシーケンシャルに行うことによって伝送する出力信号を組み合わせている。一方、メモリが1個の場合には、並列処理されたデータ列に対して、マルチプレクサを使用してメモリに1つずつ記憶し、伝送するように処理している。
【0003】
図3は、従来のデータ変換装置の構成を示したもので、メモリが2個の場合である。
図において、31は入力端子であり、この入力端子31には処理対象となるデータが連続的に入力される。演算器32は、連続する所定個2n (nは整数)のデータを1ブロックとして演算処理することにより、そのデータ数を1/2n (n=1,2,3・・・)に低減するデータ圧縮器などの演算器である。2つのラッチ回路33,34は、演算器32で得られた演算後のデータを交互にラッチし、該ラッチしたデータを2つのバッファメモリ35,36に交互に書き込むためのデータ保持器である。
【0004】
上記従来装置の動作を、図4のタイミングチャートを参照して説明する。
なお、この図4は、データ数の低減率1/2n =1/4(n=2)、すなわち、連続する4つのデータai ,bi ,ci ,di(i=0,1,2,3,・・・)を1ブロックとして所定の演算処理を行ない、その結果として1つの演算データ Ai(i=0,1,2,3,・・・ )を得るようにした場合のタイミングチャートである。なお、前記データai ,bi ,ci ,di は、画像処理の場合を例にとれば、連続する4画素の1画素毎のデータなどに相当するものである。
【0005】
いま、図4(A)に示すように、入力端子31から第1のブロックとして4つのデータa0 ,b0 ,c0 ,d0 が入力されると、演算器32はこの4つのデータa0 ,b0 ,c0 ,d0 を1ブロックとして所定の演算を行ない、その結果としてデータ数が1/4に圧縮された1つの演算データA0 を出力する。
【0006】
次に、第2のブロックとして4つのデータa1 ,b1 ,c1 ,d1 が入力されると、演算器32はこの4つのデータa1 ,b1 ,c1 ,d1 を1ブロックとして所定の演算を行ない、その結果としてデータ数が1/4に圧縮された1つの演算データA1 を出力する。
【0007】
このようにして、演算器32は、連続する4つのデータを1ブロックとして次々と所定の演算を行ない、図4(B)に示すように、データ数を1/4に圧縮した演算データA0 ,A1 ,A2 ,A3 ,・・・ を次々と出力する。なお、図4(B)中の×印は意味のない無効データである。
【0008】
2つのラッチ回路33,34は、図4(C),(D)に示すように、前記演算器32から出力される演算データA0 ,A1 ,A2 ,A3 ,・・・ と、その間を埋める無効データ×を交互にラッチして保持する。すなわち、第1のラッチ回路33は、図4(C)に示すように、A0 ,×,A1 ,×,A2 ,×,…というように演算データAi と無効データ×を交互にラッチして保持していく。また、第2のラッチ回路34は、図4(D)に示すように、×,×,×,…というように無効データのみをラッチして保持していく。
【0009】
そして、第1のバッファメモリ35は、図4(E)に示すR(読み出し)/W(書き込み)信号に従って、第1のラッチ回路33にラッチされる図4(C)のデータを所定のアドレス位置に順次書き込むとともに、順次読み出す。また、第2のバッファメモリ36は、図4(F)に示すR/W信号に従って、第2のラッチ回路34にラッチされる図4(D)のデータを所定のアドレス位置に順次書き込むとともに、順次読み出す。
【0010】
この結果、図4(G)に示すように、2つのバッファメモリ35,36から有効な演算データAi と意味のない無効データ×が交互に読み出され、出力端子37から出力される。
【0011】
【発明が解決しようとする課題】
上述した従来のデータ変換装置は、2つのバッファメモリ35,36を用いてデータの変換を行なうようにしてるので、図4(C)(D)のラッチデータを見れば明らかなように、有効な演算データAi だけでなく、その途中の無効データもラッチしてバッファメモリに次々と書き込むようにしている。
【0012】
このため、意味のない無効データによってメモリ領域が無駄に使われてしまい、メモリ容量が必要以上に大きくなり、コスト高になるという問題があるとともに、2つのバッファメモリを用いてデータの書き込みと読み出しを交互に行なっているため、書き込み制御と読み出し制御が複雑なものとなり、これに伴って周辺回路も複雑化するという問題があった。また、単一のメモリでこの処理を行おうとすると、メモリの容量の限度があるためオーバーフローする恐れがあって困難である。
【0013】
本発明は、上記のような問題を解決するためになされたもので、その目的は演算処理後の有効なデータのみをバッファメモリに書き込むように工夫することにより、1個のバッファメモリを用いて効率よくデータ変換することができるデータ変換方法とその装置を提供するにある。
【0014】
【課題を解決するための手段】
前記課題を解決するために、この発明では次のような手段を採用した。
すなわち、請求項1記載のデータ変換方法は、演算器によって連続する所定個2(nは整数)のデータを1ブロックとして演算処理することにより、そのデータ数を1/2に低減し、該演算後のデータをバッファメモリを介して出力するようにしたデータ変換方法において、前記演算処理により得られたデータを(2 −1)データ数だけシフトし、該(2 −1)データ数だけシフトされたデータと次のブロックの演算処理されたデータとを1組として1個のバッファメモリに順次書き込むことを特徴とするものである。
【0015】
このような構成とした場合、1/2n (nは整数)に低減され(2n −1)データ数だけシフトされた演算データと、次のブロックの演算データのみが順次バッファメモリに書き込まれる。このため、無効データなどの無駄なデータが記憶されるようなことがなくなり、容量の小さな1個のバッファメモリだけを用いてデータ変換することができる。
【0016】
また、請求項2記載のデータ変換装置は、演算器によって連続する所定個
(nは整数)のデータを1ブロックとして演算処理することにより、そのデータ数を1/2に低減し、該演算後のデータをバッファメモリを介して出力するようにしたデータ変換装置において、1個のバッファメモリと、前記演算処理により得られたデータを(2 −1)データ数だけシフトするシフト手段と、該シフト手段によって(2 −1)データ数だけシフトされたデータと次のブロックの演算処理されたデータとを1組としてラッチして前記1個のバッファメモリに順次書き込むラッチ手段とを備えたことを特徴とするものである。
【0017】
このような構成とした場合、バッファメモリが1個だけで済み、装置の構成が簡単になるとともに、その周辺回路も簡素化することができる。
【0018】
【発明の実施の形態】
以下、この発明の実施の形態について図面を参照して説明する。
図1は、本発明に係るデータ変換装置の実施の形態の一例を示したものである。図において、1は入力端子であって、処理対象となるデータが連続的に入力される。演算器2は、連続する所定個のデータを1ブロックとして演算処理することにより、そのデータ数を1/2n (nは整数)に低減するデータ圧縮器などの演算器である。3つのシフトレジスタ3〜5は、演算器2から出力される演算データAiを格納して1データずつシフトするレジスタである。
【0019】
第1のラッチ回路6は、シフトレジスタ5から出力される演算データ中の偶数番目の演算データAi (i=0,2,4,6,・・・ )をラッチする一時保持器であり、第2のラッチ回路7は、演算器2から出力される演算データ中の奇数番目の演算データAi (i=1,3,5,7,・・・ )をラッチする一時保持器である。8はバッファメモリ、9は出力端子である。
【0020】
上記装置の動作を、図2のタイミングチャートを参照して説明する。
なお、この図2のタイミングチャートも、前述した図4の場合と同じく、データ数の低減率1/2n =1/4(n=2)、すなわち、連続する4つのデータai ,bi ,ci ,di (i=0,1,2,3,・・・ )を1ブロックとして所定の演算処理を行ない、結果として1つの演算データAi (i=0,1,2,3,・・・ )を得るようにした場合の例である。
【0021】
いま、図2(A)に示すように、入力端子1から第1のブロックとして4つのデータa0 ,b0 ,c0 ,d0 が入力されると、演算器2はこの4つのデータa0 ,b0 ,c0 ,d0 を1ブロックとして所定の演算を行ない、その結果としてデータ数が1/4に圧縮された1つの演算データA0 を出力する。
【0022】
次に、第2のブロックとして4つのデータa1 ,b1 ,c1 ,d1 が入力されると、演算器2はこの4つのデータa1 ,b1 ,c1 ,d1 を1ブロックとして所定の演算を行ない、その結果としてデータ数が1/4に圧縮された1つの演算データA1 を出力する。
【0023】
このようにして、演算器2は、連続する4つのデータを1ブロックとして次々と所定の演算を行ない、図2(B)に示すように、データ数を1/4に圧縮した演算データA0 ,A1 ,A2 ,A3 ,・・・ を次々と出力する。なお、図2(B)中の×印は意味のない無効データである。
【0024】
演算器2の出力データは、シフトレジスタ3と第2のラッチ回路7に入力される。シフトレジスタ3に入力された演算器2からの出力データは、図2(C)〜(E)に示すように、3つのシフトレジスタ3〜5によって順次シフトされ、データ数(2 −1)=3だけシフトされた後、図2(F)に示すように、偶数番目の演算データA0 ,A2 ,A4 ,A6 ,・・・ のみが第1のラッチ回路6に順次ラッチされる。一方、第2のラッチ回路7に入力された演算器2からの出力データは、図2(G)に示すように、奇数番目の演算データA1 ,A3 ,A5 ,A7 ,・・・ のみが第2のラッチ回路7に順次ラッチされる。
【0025】
前記第1のラッチ回路6のOE(アウトプット・イネーブル)端子には、図2(H)に示す出力制御信号が入力され、また、第2のラッチ回路7のOE端子には、図2(I)に示す出力制御信号が入力されている。ラッチ回路6,7は、このOE端子に出力制御信号“1”が与えられた時、ラッチしているデータを出力するように動作するものである。
【0026】
したがって、図2(H),(I)に示すような出力制御信号がそれぞれ与えられと、第1および第2のラッチ回路6,7からは、図2(J)に示すように、メモリ書き込みデータ(A0,A1)、(A2,A3)、(A4,A5)、(A6,A7)がそれぞれ1組となって順次出力され、バッファメモリ8に入力される。
【0027】
そして、バッファメモリ8は、図2(K)に示すR/W信号に従って、図2(J)のメモリ書き込みデータを所定のアドレス位置に順次書き込むとともに、順次出力データとして読み出す。この結果、バッファメモリ8には有効な演算データAi (i=0,1,2,3,・・・)のみが記憶されるとともに、出力端子9からは、図2(L)に示すように、有効な演算データAi (i=0,1,2,3,・・・)のみが出力される。
【0028】
このため、バッファメモリ8に意味のない無効なデータが記憶されるようなことがなくなり、その分メモリ容量を小さくすることができる。また、1個のバッファメモリ8のみを用いてデータの書き込みと読み出しが行なわれるので、メモリの書き込み制御と読み出し制御が簡単となる。
【0029】
なお、上記の例は、4つのデータを1ブロックとして演算処理を行ない、そのデータ数を1/4に低減した場合を例に採ったが、この発明はこれに限定されるものではない。すなわち、この発明は、連続する所定個2n(n=1,2,3,・・・)のデータを1ブロックとして演算処理することにより、そのデータ数を1/2n (nは整数)に低減するようにしたデータ伝送方法と装置に対して適用可能である。データ数を1/2n に低減した場合、前記シフトレジスタのシフト段数は(2n −1)に設定すればよい。
【0030】
【発明の効果】
以上説明したように、請求項1に記載の発明によれば、有効な演算データのみを用いて効率よくデータ変換し、データ伝送することができるので、無効データなどの無駄なデータをメモリに記憶する必要がなくなり、容量の小さな1個のバッファメモリだけを用いてデータ変換することができる。
【0031】
また、請求項2に記載の発明によれば、1個のメモリだけでデータ変換して伝送することができるため、装置の構成が簡単となり、コストと消費電力を低減することができる。また、1個のバッファメモリを用いてデータの書き込みと読み出しを行なっているため、バッファメモリに対する書き込み制御と読み出し制御が簡単となり、これに伴って周辺回路も簡素化することができる。
【図面の簡単な説明】
【図1】この発明に係るデータ変換装置の実施の形態の一例を示すブロック図である。
【図2】図1の装置のタイミングチャートである。
【図3】従来例を示すブロック図である。
【図4】従来例のタイミングチャートである。
【符号の説明】
1 入力端子
2 演算器
3〜5 シフトレジスタ
6 第1のラッチ回路
7 第2のラッチ回路
8 バッファメモリ
9 出力端子
ai 〜di 入力データ
Ai 演算データ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data conversion method and apparatus, and more specifically, by performing arithmetic processing on a predetermined number of consecutive 2 n (n is an integer) data as one block, the number of data is reduced to ½ n. The present invention relates to a data conversion method and apparatus for outputting the calculated data through a buffer memory.
[0002]
[Prior art]
A data conversion method in which input data is processed in units of blocks, stored in a buffer memory (hereinafter simply referred to as a memory), and the data is read and transmitted, includes the case of using one memory. In some cases, a plurality is used. When a plurality of memory cells are used, output signals to be transmitted are combined with each other by writing or reading alternately or sequentially. On the other hand, when the number of memories is one, the data strings processed in parallel are processed one by one in the memory using a multiplexer and transmitted.
[0003]
FIG. 3 shows a configuration of a conventional data conversion apparatus, which is a case where there are two memories.
In the figure, reference numeral 31 denotes an input terminal. Data to be processed is continuously input to the input terminal 31. The arithmetic unit 32 reduces the number of data to 1/2 n (n = 1, 2, 3...) By performing arithmetic processing on a predetermined number of consecutive 2 n (n is an integer) as one block. An arithmetic unit such as a data compressor. The two latch circuits 33 and 34 are data holders for alternately latching the data after calculation obtained by the calculator 32 and writing the latched data in the two buffer memories 35 and 36 alternately.
[0004]
The operation of the conventional apparatus will be described with reference to the timing chart of FIG.
FIG. 4 shows the reduction rate of the number of data 1/2 n = ¼ (n = 2), that is, four consecutive data a i, bi, ci, di (i = 0, 1, 2, 3 ,... Is a timing chart in the case where predetermined calculation processing is performed as one block and one calculation data Ai (i = 0, 1, 2, 3,...) Is obtained as a result. . The data a i, b i, c i, and d i correspond to data for every four consecutive pixels, for example, in the case of image processing.
[0005]
Now, as shown in FIG. 4A, when four data a0, b0, c0, d0 are input from the input terminal 31 as the first block, the arithmetic unit 32 causes the four data a0, b0, c0 to be input. , D0 as one block, a predetermined calculation is performed, and as a result, one calculation data A0 with the number of data compressed to ¼ is output.
[0006]
Next, when four pieces of data a1, b1, c1, and d1 are input as the second block, the computing unit 32 performs a predetermined calculation using the four pieces of data a1, b1, c1, and d1 as one block. As a result, one calculation data A1 whose number of data is compressed to ¼ is output.
[0007]
In this way, the computing unit 32 performs predetermined computations one after another with four consecutive data as one block, and as shown in FIG. 4B, the computation data A0, A1, A2, A3,... Are output one after another. Note that the crosses in FIG. 4B are meaningless invalid data.
[0008]
As shown in FIGS. 4 (C) and 4 (D), the two latch circuits 33 and 34 are the operation data A0, A1, A2, A3,. Data X is latched and held alternately. That is, as shown in FIG. 4C, the first latch circuit 33 alternately latches and holds the operation data Ai and invalid data x such as A0, X, A1, X, A2, X,. I will do it. Further, as shown in FIG. 4D, the second latch circuit 34 latches and holds only invalid data such as x, x, x,...
[0009]
The first buffer memory 35 receives the data of FIG. 4C latched by the first latch circuit 33 according to the R (read) / W (write) signal shown in FIG. Write sequentially to the location and read sequentially. In addition, the second buffer memory 36 sequentially writes the data of FIG. 4D latched by the second latch circuit 34 in accordance with the R / W signal shown in FIG. Read sequentially.
[0010]
As a result, as shown in FIG. 4G, valid operation data Ai and meaningless invalid data x are alternately read from the two buffer memories 35 and 36 and output from the output terminal 37.
[0011]
[Problems to be solved by the invention]
Since the conventional data conversion apparatus described above performs data conversion using the two buffer memories 35 and 36, it is effective as apparent from the latch data shown in FIGS. Not only the operation data Ai but also invalid data in the middle is latched and written to the buffer memory one after another.
[0012]
For this reason, there is a problem in that the memory area is wasted due to meaningless invalid data, the memory capacity becomes unnecessarily large, and the cost becomes high. In addition, data is written and read using two buffer memories. Since the steps are alternately performed, the writing control and the reading control become complicated, and the peripheral circuit is complicated accordingly. In addition, it is difficult to perform this process with a single memory because there is a limit to the capacity of the memory, which may cause overflow.
[0013]
The present invention has been made to solve the above-described problems, and its purpose is to use only one buffer memory by devising to write only valid data after arithmetic processing to the buffer memory. It is an object of the present invention to provide a data conversion method and apparatus capable of efficiently converting data.
[0014]
[Means for Solving the Problems]
In order to solve the above problems, the present invention employs the following means.
That is, in the data conversion method according to claim 1, the number of data is reduced to ½ n by performing arithmetic processing on a predetermined number 2 n (n is an integer) continuous by an arithmetic unit as one block, a data conversion method so as to output the data after the operation through the buffer memory, and shifts the data obtained by the arithmetic processing by (2 n -1) number of data, the (2 n -1) data The data shifted by the number and the data processed in the next block are sequentially written in one buffer memory as a set.
[0015]
In such a configuration, only the operation data reduced to 1/2 n (n is an integer) and shifted by the number of (2 n −1) data and the operation data of the next block are sequentially written to the buffer memory. . For this reason, useless data such as invalid data is not stored, and data conversion can be performed using only one buffer memory having a small capacity.
[0016]
Further, the data conversion device according to claim 2 is configured such that the predetermined number 2 n consecutive by the computing unit.
In a data conversion apparatus in which (n is an integer) data is processed as one block, the number of data is reduced to 1/2 n , and the data after the calculation is output via a buffer memory. next the one buffer memory, a shift means for shifting (2 n -1) number of data the data obtained by the operation processing, the by shift means (2 n -1) number of data only and the shift data Latching means for latching the processed data of these blocks as a set and sequentially writing them into the one buffer memory.
[0017]
In such a configuration, only one buffer memory is required, which simplifies the configuration of the apparatus and simplifies the peripheral circuit.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 shows an example of an embodiment of a data conversion apparatus according to the present invention. In the figure, reference numeral 1 denotes an input terminal to which data to be processed is continuously input. The arithmetic unit 2 is an arithmetic unit such as a data compressor that reduces the number of data to 1/2 n (n is an integer) by performing arithmetic processing on a predetermined number of continuous data as one block. The three shift registers 3 to 5 are registers that store the arithmetic data Ai output from the arithmetic unit 2 and shift the data one by one.
[0019]
The first latch circuit 6 is a temporary holder that latches even-numbered operation data Ai (i = 0, 2, 4, 6,...) In the operation data output from the shift register 5. The second latch circuit 7 is a temporary holder for latching odd-numbered arithmetic data Ai (i = 1, 3, 5, 7,...) In the arithmetic data output from the arithmetic unit 2. 8 is a buffer memory, and 9 is an output terminal.
[0020]
The operation of the above apparatus will be described with reference to the timing chart of FIG.
The timing chart of FIG. 2 also has a data number reduction rate of 1/2 n = ¼ (n = 2), that is, four consecutive data ai, bi, ci as in the case of FIG. , Di (i = 0,1,2,3,...) As one block, predetermined calculation processing is performed, and as a result, one calculation data Ai (i = 0,1,2,3,...) It is an example in the case of obtaining.
[0021]
Now, as shown in FIG. 2A, when four data a0, b0, c0, d0 are input from the input terminal 1 as the first block, the arithmetic unit 2 causes the four data a0, b0, c0 to be input. , D0 as one block, a predetermined calculation is performed, and as a result, one calculation data A0 with the number of data compressed to ¼ is output.
[0022]
Next, when four pieces of data a1, b1, c1, and d1 are inputted as the second block, the computing unit 2 performs a predetermined calculation with these four pieces of data a1, b1, c1, and d1 as one block, As a result, one calculation data A1 whose number of data is compressed to ¼ is output.
[0023]
In this way, the computing unit 2 performs predetermined computations one after another using four consecutive data as one block, and as shown in FIG. 2B, the computation data A0, A1, A2, A3,... Are output one after another. Note that the crosses in FIG. 2B are meaningless invalid data.
[0024]
The output data of the arithmetic unit 2 is input to the shift register 3 and the second latch circuit 7. As shown in FIGS. 2C to 2E, output data from the arithmetic unit 2 input to the shift register 3 is sequentially shifted by the three shift registers 3 to 5, and the number of data (2 n −1). After being shifted by = 3, only even-numbered arithmetic data A0, A2, A4, A6,... Are sequentially latched in the first latch circuit 6 as shown in FIG. On the other hand, as shown in FIG. 2 (G), the output data from the arithmetic unit 2 input to the second latch circuit 7 is only odd-numbered arithmetic data A1, A3, A5, A7,. The two latch circuits 7 are sequentially latched.
[0025]
The output control signal shown in FIG. 2 (H) is input to the OE (output enable) terminal of the first latch circuit 6, and the OE terminal of the second latch circuit 7 is connected to FIG. The output control signal shown in I) is input. The latch circuits 6 and 7 operate to output the latched data when the output control signal “1” is given to the OE terminal.
[0026]
Therefore, when output control signals as shown in FIGS. 2 (H) and (I) are applied, the first and second latch circuits 6 and 7 write data into the memory as shown in FIG. 2 (J). Data (A 0, A 1), (A 2, A 3), (A 4, A 5), (A 6, A 7) are sequentially output as a set and input to the buffer memory 8.
[0027]
Then, the buffer memory 8 sequentially writes the memory write data of FIG. 2 (J) to a predetermined address position and sequentially reads it as output data in accordance with the R / W signal shown in FIG. 2 (K). As a result, only valid operation data Ai (i = 0, 1, 2, 3,...) Is stored in the buffer memory 8, and from the output terminal 9, as shown in FIG. Only valid operation data Ai (i = 0, 1, 2, 3,...) Is output.
[0028]
For this reason, meaningless invalid data is not stored in the buffer memory 8, and the memory capacity can be reduced accordingly. In addition, since data writing and reading are performed using only one buffer memory 8, memory writing control and reading control are simplified.
[0029]
In the above example, the calculation process is performed with four data as one block and the number of data is reduced to ¼. However, the present invention is not limited to this. That is, according to the present invention, a predetermined number of consecutive 2 n (n = 1, 2, 3,...) Data is processed as one block, whereby the number of data is reduced to 1/2 n (n is an integer). The present invention can be applied to a data transmission method and apparatus that are reduced to a minimum. When the number of data is reduced to 1/2 n , the number of shift stages of the shift register may be set to (2 n −1).
[0030]
【The invention's effect】
As described above, according to the first aspect of the present invention, it is possible to efficiently perform data conversion and data transmission using only valid operation data, so that useless data such as invalid data is stored in the memory. Therefore, data conversion can be performed using only one buffer memory having a small capacity.
[0031]
According to the second aspect of the present invention, since data can be converted and transmitted by only one memory, the configuration of the apparatus is simplified, and the cost and power consumption can be reduced. Further, since data writing and reading are performed using one buffer memory, writing control and reading control with respect to the buffer memory are simplified, and accordingly, peripheral circuits can be simplified.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an example of an embodiment of a data conversion apparatus according to the present invention.
FIG. 2 is a timing chart of the apparatus of FIG.
FIG. 3 is a block diagram showing a conventional example.
FIG. 4 is a timing chart of a conventional example.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Input terminal 2 Calculator 3-5 Shift register 6 1st latch circuit 7 2nd latch circuit 8 Buffer memory 9 Output terminal ai-di Input data Ai Operation data

Claims (2)

演算器によって連続する所定個2(nは整数)のデータを1ブロックとして演算処理することにより、そのデータ数を1/2に低減し、該演算後のデータをバッファメモリを介して出力するようにしたデータ変換方法において、
前記演算処理により得られたデータを(2 −1)データ数だけシフトし、
(2 −1)データ数だけシフトされたデータと次のブロックの演算処理されたデータとを1組として1個のバッファメモリに順次書き込むこと、
を特徴とするデータ変換方法。
The arithmetic unit calculates a predetermined number of consecutive 2 n (n is an integer) data as one block, thereby reducing the number of data to ½ n , and outputs the data after the operation via a buffer memory. In the data conversion method,
Shifting the data obtained by the arithmetic processing by the number of (2 n −1) data,
Sequentially writing the data shifted by the number of (2 n −1) data and the data processed in the next block into one buffer memory as a set;
A data conversion method characterized by the above.
演算器によって連続する所定個2(nは整数)のデータを1ブロックとして演算処理することにより、そのデータ数を1/2に低減し、該演算後のデータをバッファメモリを介して出力するようにしたデータ変換装置において、
1個のバッファメモリと、
前記演算処理により得られたデータを(2 −1)データ数だけシフトするシフト手段と、
該シフト手段によって(2 −1)データ数だけシフトされたデータと次のブロックの演算処理されたデータとを1組としてラッチして前記1個のバッファメモリに順次書き込むラッチ手段と、
を備えたことを特徴とするデータ変換装置。
The arithmetic unit calculates a predetermined number of consecutive 2 n (n is an integer) data as one block, thereby reducing the number of data to ½ n , and outputs the data after the operation via a buffer memory. In the data conversion device designed to
One buffer memory,
Shift means for shifting the data obtained by the arithmetic processing by the number of (2 n −1) data;
Latch means for latching the data shifted by the number of (2 n −1) data by the shift means and the data processed in the next block as a set, and sequentially writing them into the one buffer memory;
A data conversion device comprising:
JP12922996A 1996-04-26 1996-04-26 Data conversion method and apparatus Expired - Lifetime JP3675948B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12922996A JP3675948B2 (en) 1996-04-26 1996-04-26 Data conversion method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12922996A JP3675948B2 (en) 1996-04-26 1996-04-26 Data conversion method and apparatus

Publications (2)

Publication Number Publication Date
JPH09292972A JPH09292972A (en) 1997-11-11
JP3675948B2 true JP3675948B2 (en) 2005-07-27

Family

ID=15004362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12922996A Expired - Lifetime JP3675948B2 (en) 1996-04-26 1996-04-26 Data conversion method and apparatus

Country Status (1)

Country Link
JP (1) JP3675948B2 (en)

Also Published As

Publication number Publication date
JPH09292972A (en) 1997-11-11

Similar Documents

Publication Publication Date Title
JPS6247786A (en) Exclusive memory for adjacent image processing
EP0589662A2 (en) Digital signal processing system
JP2940457B2 (en) Semiconductor memory
JP3675948B2 (en) Data conversion method and apparatus
EP0655694B1 (en) Discrete cosine transform processor
JPH1074141A (en) Signal processing device
JPS6039988A (en) Picture signal converter
JP2615050B2 (en) Semiconductor memory
JP2855899B2 (en) Function memory
JPH04360425A (en) semiconductor storage device
JP2000232623A (en) Video memory circuit
JP2515724B2 (en) Image processing device
JP2697619B2 (en) N-point FFT dedicated processor
CN109857367B (en) A Wavelet Decomposition Acceleration Circuit for Embedded Image Processing
JPH06208614A (en) Image processing device
JPH11119975A (en) Bit width converter
JP2989193B2 (en) Image memory interleaved input / output circuit
JPS62151987A (en) Multi-port memory for image processing
JP2697164B2 (en) Field memory
SU1709385A1 (en) Video signal generator
JP3039043B2 (en) Parallel processor
JPS63157277A (en) Thinning-out system for image data
JPH0668055A (en) Digital signal processor
JPH1083381A (en) Signal processing device
JPH02252186A (en) First-in first-out memory

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040708

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050114

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050427

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110513

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120513

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130513

Year of fee payment: 8

EXPY Cancellation because of completion of term