[go: up one dir, main page]

JPH0635663A - Data conversion / inverse conversion device - Google Patents

Data conversion / inverse conversion device

Info

Publication number
JPH0635663A
JPH0635663A JP18793192A JP18793192A JPH0635663A JP H0635663 A JPH0635663 A JP H0635663A JP 18793192 A JP18793192 A JP 18793192A JP 18793192 A JP18793192 A JP 18793192A JP H0635663 A JPH0635663 A JP H0635663A
Authority
JP
Japan
Prior art keywords
data
conversion
configuration data
type
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP18793192A
Other languages
Japanese (ja)
Other versions
JP3195427B2 (en
Inventor
Hirotaka Chiba
広隆 千葉
Shoichi Kuboyama
庄一 窪山
Yoshiyuki Okada
佳之 岡田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP18793192A priority Critical patent/JP3195427B2/en
Publication of JPH0635663A publication Critical patent/JPH0635663A/en
Application granted granted Critical
Publication of JP3195427B2 publication Critical patent/JP3195427B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

(57)【要約】 【目的】 データ変換や逆変換に要する処理時間を短縮
する。 【構成】 データ変換を開始する前に、指定手段108
Aでコンフィグレーションデータの種類が指定される
と、まず、判定手段132が登録手段130に登録され
た前回、書換可能PLD122Aへの書き込みに用いた
コンフィグレーションデータの種類と一致するか判定
し、不一致のときは、データ書き込み手段128が今回
指定された種類のコンフィグレーションデータをコンフ
ィグレーションデータ記憶手段128から読みだし書換
可能PLD122Aに書き込んだあと、起動手段120
Aが書換可能PLD122Aを起動してデータ変換を行
わせる。これと反対に、判定手段132で一致すると判
定されたとき、データ書き込み手段128が書き込みを
行うことなく、起動手段120がそのまま書換可能PL
D122を起動してデータ変換を行わせる。
(57) [Summary] [Purpose] To reduce the processing time required for data conversion and inverse conversion. [Structure] Before starting data conversion, the designation means 108
When the type of the configuration data is designated by A, first, the determining unit 132 determines whether or not the type of the configuration data used for writing to the rewritable PLD 122A previously registered in the registering unit 130 matches, and it does not match. In this case, the data writing means 128 reads the configuration data of the type specified this time from the configuration data storage means 128 and writes it in the rewritable PLD 122A, and then the starting means 120.
A activates the rewritable PLD 122A to perform data conversion. On the contrary, when the determination unit 132 determines that the data matches, the data writing unit 128 does not perform writing, and the activation unit 120 can rewrite the data as it is.
D122 is activated to perform data conversion.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はFPGA等の書換可能P
LDを用いて圧縮や伸長等のデータ変換やデータ逆変換
を行うデータ変換装置,データ逆変換装置,データ変換
/逆変換装置に係り、特に、1つの書換可能PLDに対
し複数種のコンフィグレーションデータを切り換えて書
き込むことで複数種の動作ができるようにしたデータ変
換装置,データ逆変換装置,データ変換/逆変換装置に
関する。
The present invention relates to a rewritable P such as FPGA.
The present invention relates to a data converter, a data inverse converter, and a data converter / inverse converter that perform data conversion such as compression and decompression using an LD and data inverse conversion, and particularly relates to one rewritable PLD and a plurality of types of configuration data. The present invention relates to a data conversion device, a data inverse conversion device, and a data conversion / inverse conversion device capable of performing plural kinds of operations by switching and writing.

【0002】ファクシミリ通信、画像データ検索システ
ムなど画像データを扱うシステムでは、通信容量や記憶
容量を節約するために、画像入力装置で入力した画像デ
ータを圧縮して送信やファイリングを行い、受信し、或
いはファイルから読み出した圧縮データを伸長(復元)
して元の画像データに戻し、表示装置に表示したり、プ
リンタで印刷したりしている。従来は、データの圧縮と
伸長を別個の回路で行っており、装置が大型となってい
たが、1980年代後半からLSI内部の論理や結線情報
(コンフィグレーションデータ)を外部から書き込むこ
とで、複数種の中の任意の1つのロジックを何度でも実
現できる書換可能FPGA(Field Programmable Gate
Array )が開発されたことから、近年は、書換可能FP
GAを利用して圧縮と伸長を1つの回路で実現し、装置
の小型化が図られるようになっている。但し、書換可能
FPGAにコンフィグレーションデータを書き込み、所
望ロジックを実現するのには非常に長い時間が掛かるの
で、装置の小型化ができる反面、処理時間の遅延を招く
結果となっていた。本発明はこのような状況に鑑み、コ
ンフィグレーションデータの書き込みを工夫してデータ
変換や逆変換での処理時間を短縮するものである。
In a system that handles image data, such as a facsimile communication and an image data search system, in order to save communication capacity and storage capacity, image data input by an image input device is compressed and transmitted or filed, and then received. Or decompress (decompress) the compressed data read from the file
Then, the original image data is restored and displayed on a display device or printed by a printer. In the past, data compression and decompression were performed by separate circuits, and the size of the device was large. However, from the latter half of the 1980s, by writing the logic and connection information (configuration data) inside the LSI from the outside, multiple devices can be used. Rewritable FPGA (Field Programmable Gate) that can implement any one of the seeds as many times as you like
Array) was developed, so in recent years, rewritable FP
By using GA, compression and decompression are realized by one circuit, and the device can be downsized. However, since it takes a very long time to write the configuration data to the rewritable FPGA and realize the desired logic, the device can be downsized, but the processing time is delayed. In view of such a situation, the present invention devises writing of configuration data to shorten the processing time for data conversion and inverse conversion.

【0003】[0003]

【従来の技術】ファクシミリ通信、画像データ検索シス
テムなどでは、画像データの送受信やファイリング,フ
ァイル検索をする際、通信容量や記憶容量を節約するた
め圧縮,伸長(復元)のデータ変換,逆変換を行うのが
一般的である。1つの装置でデータ変換と逆変換の両方
を可能とする場合、機能別に回路を設けると装置が大型
となる。そこで、1つの書換可能FPGAにデータ変換
用コンフィグレーションデータ(FPGA内部に具現す
る論理や結線情報)を書き込んでデータ変換回路とした
り、逆に、データ逆変換用コンフィグレーションデータ
を書き込んでデータ逆変換回路とすることで、装置の小
型化を図るようにしている。
2. Description of the Related Art In facsimile communication, image data retrieval system, etc., when transmitting and receiving image data, filing, and file retrieval, data conversion of compression and decompression (decompression) and reverse conversion are performed in order to save communication capacity and storage capacity. It is generally done. When one device can perform both data conversion and inverse conversion, if a circuit is provided for each function, the device becomes large. Therefore, the configuration data for data conversion (logic and connection information embodied inside the FPGA) is written into one rewritable FPGA to form a data conversion circuit, or conversely, the configuration data for data reverse conversion is written to perform data reverse conversion. By using a circuit, the size of the device can be reduced.

【0004】図9に従来の画像圧縮/復元装置を示す。
10は原稿から画像を読み取る画像データ入力部、12
は画像データ入力部10で入力された画像データを保持
したり、後述する圧縮/復元部より出力された画像デー
タを保持るす画像データ保持部、14は画像データ保持
部12に保持された画像データに基づき画像表示を行う
画像表示部、16は画像データの送信,やファイリン
グ,ファイル検索,画像表示等の指示操作を行う操作
部、18は操作部での指示に従い、圧縮/復元の処理制
御,送受信制御,ファイリング,ファイル検索制御を行
うデータ処理制御部、20はデータ処理制御部の指示に
従い画像データの圧縮/復元を行う圧縮/復元部、22
は圧縮/復元部で圧縮された画像データを保持したり、
送/受信部で受信された圧縮データを保持したり、記憶
部から読み出された圧縮データを保持したりする圧縮デ
ータ保持部、24はデータ処理制御部の指示に従い圧縮
データ保持部に保持された圧縮データを読み書き自在に
記憶する記憶部、26はデータ処理制御部の指示に従い
圧縮データ保持部に保持された圧縮データを外部に送信
したり、外部から送られた圧縮データを受信し、圧縮デ
ータ保持部に出力したりする送受信部である。
FIG. 9 shows a conventional image compression / decompression device.
Reference numeral 10 is an image data input unit for reading an image from an original, 12
Is an image data holding unit that holds the image data input by the image data input unit 10 or holds the image data output by the compression / decompression unit described later, and 14 is the image held by the image data holding unit 12. An image display unit that displays images based on the data, 16 is an operation unit that performs instruction operations such as image data transmission, filing, file search, and image display, and 18 is compression / decompression process control in accordance with instructions from the operation unit. , A data processing control unit that performs transmission / reception control, filing, and file search control, 20 is a compression / decompression unit that compresses / decompresses image data in accordance with instructions from the data processing control unit, 22
Holds the image data compressed by the compression / decompression unit,
A compressed data holding unit for holding the compressed data received by the sending / receiving unit and for holding the compressed data read from the storage unit, and 24 is held in the compressed data holding unit according to an instruction from the data processing control unit. The storage unit 26 stores the compressed data in a readable and writable manner, and 26 transmits the compressed data held in the compressed data holding unit to the outside according to the instruction of the data processing control unit or receives the compressed data sent from the outside and compresses the compressed data. It is a transmission / reception unit that outputs to a data holding unit.

【0005】圧縮/復元部20は図10に示す如く構成
されており、28はデータ処理制御部による指示内容を
保持する処理データ保持部、30は処理データ保持部を
参照して、データ書き込み部に指示を与えてコンフィグ
レーションデータを書き込ませたり、後述する書換可能
FPGAに指示を与えてデータ圧縮または復元動作を起
動させたりする処理指示部である。32は書換可能FP
GA(Field Programmable Gate Array )であり、圧縮
用コンフィグレーションデータが書き込まれて、圧縮用
の内部ロジック,結線が決定されると圧縮回路として機
能し、復元用コンフィグレーションデータが書き込まれ
て、復元用の内部ロジック,結線が決定されると復元回
路として機能する。34は圧縮用コンフィグレーション
データと復元用コンフィグレーションデータを保持した
コンフィグレーションデータ保持部であり、コンフィグ
レーションデータは、予め、FPGA用開発ツールを用
いて作成してある。36は処理指示部の指示に従い、圧
縮用または復元用コンフィグレーションデータをFPG
Aに書き込むデータ書き込み部である。
The compression / decompression unit 20 is constructed as shown in FIG. 10. Reference numeral 28 is a processing data holding unit for holding the instruction contents of the data processing control unit, and 30 is a data writing unit with reference to the processing data holding unit. Is a processing instructing unit for instructing to write configuration data, or for instructing a rewritable FPGA described later to start a data compression or decompression operation. 32 is a rewritable FP
It is a GA (Field Programmable Gate Array), and when the configuration data for compression is written and the internal logic for compression and wiring are determined, it functions as a compression circuit, and the configuration data for restoration is written and the data for restoration is written. When the internal logic and connection of the are determined, it functions as a restoration circuit. Reference numeral 34 is a configuration data holding unit that holds compression configuration data and decompression configuration data, and the configuration data is created in advance using an FPGA development tool. Reference numeral 36 indicates that the configuration data for compression or decompression is FPG according to the instruction of the processing instruction unit.
This is a data writing unit for writing to A.

【0006】例えば、画像データ入力部10に画像原稿
(ここでは簡単のため1枚とする)をセットして画像読
み取りを行わせると、画像データ入力部10は原稿サイ
ズを検出しながら該原稿サイズに応じた所定の大きさ
(ライン長,ライン数)の2値画像データに変換し、画
像データ保持部12に出力して一時記憶させる。画像デ
ータ保持部12に保持された画像データは、画像表示部
14に出力されて表示されるのでオペレータは入力画像
を視認できる。正常に読み取られた画像を、ファイリン
グさせたり、送信させたりするため、オペレータが操作
部16で所望の指示を与えると、データ処理制御部18
がまず、圧縮/復元部20に対し圧縮処理を指示すると
ともに、データ保持部12に保持された画像の大きさを
指定する(画像データ入力部10での検出結果に基づき
指定)。
For example, when an image original (here, one sheet is used for simplicity) is set in the image data input unit 10 and the image is read, the image data input unit 10 detects the original size and detects the original size. Is converted into binary image data of a predetermined size (line length, number of lines) corresponding to the above, and is output to the image data holding unit 12 to be temporarily stored. The image data held in the image data holding unit 12 is output and displayed on the image display unit 14, so that the operator can visually recognize the input image. When the operator gives a desired instruction on the operation unit 16 in order to perform filing or transmission of a normally read image, the data processing control unit 18
First, the compression / decompression unit 20 is instructed to perform compression processing, and the size of the image held in the data holding unit 12 is specified (specified based on the detection result of the image data input unit 10).

【0007】データ処理制御部18により指示及び指定
された内容は処理データ保持部28に保持される。そし
て、処理指示部30が処理データ保持部28を参照し
て、今回の指示が圧縮であることから、データ書き込み
部36に対し圧縮用コンフィグレーションデータの書き
込みを指示する。書き込みを指示されたデータ書き込み
部36は書換可能FPGA32をプログラムモードと
し、コンフィグレーションデータ保持部34から圧縮用
コンフィグレーションデータを読み出し、書換可能FP
GA32に書き込んで、圧縮用ロジック,結線を具現す
る。書き込みが終了したならばデータ書き込み部36は
書き込み終了を処理指示部30に通知し、該通知を受け
た処理指示部30は、書換可能FPGA32を論理動作
モードとし、内部ロジックをリセットするとともに、処
理データ保持部28を参照して、画像の大きさを書換可
能FPGA32の中に具現されたコントロールレジスタ
にセットし、かつ、圧縮スタートコマンドを与えて、圧
縮動作を開始させる。
The contents designated and designated by the data processing control unit 18 are held in the processed data holding unit 28. Then, the processing instructing unit 30 refers to the processing data holding unit 28 and, since the current instruction is compression, instructs the data writing unit 36 to write the compression configuration data. The data writing unit 36 instructed to write sets the rewritable FPGA 32 in the program mode, reads the compression configuration data from the configuration data holding unit 34, and rewrites the FP.
The data is written in the GA 32 to implement the compression logic and connection. When the writing is completed, the data writing unit 36 notifies the processing instructing unit 30 of the completion of the writing, and the processing instructing unit 30 that has received the notification sets the rewritable FPGA 32 to the logical operation mode, resets the internal logic, and executes the processing. With reference to the data holding unit 28, the size of the image is set in the control register embodied in the rewritable FPGA 32, and a compression start command is given to start the compression operation.

【0008】圧縮用コンフィグレーションデータの書き
込み、リセット、画像の大きさのセットにより、書換可
能FPGA32には例えば、図11に示す圧縮回路が具
現される。図11の圧縮回路は2値画像データを4ライ
ン分ずつ、パターンとランレングスに変換することで圧
縮を行うものである。38-1〜38-4は各々1ライン分の2
値画像データを保持できるシフトレジスタであり、シリ
アルに接続されている。40-1〜40-4は1画素分の2値画
像データを保持するレジスタであり、各々、シフトレジ
スタ38-1〜38-4の最終段の出力側に接続されている。42
-1〜42-4は各々シフトレジスタ38-iの最終段の出力とレ
ジスタ40-i(i=1〜4)の出力の排他的論理和を取る
EX−OR回路(排他的論理和回路)、44は各EX−
OR42-1〜42-4の出力の論理和をとるOR回路、46は
該OR回路の出力を反転するINV回路(反転回路)、
48はINV回路の出力が「1」のときイネーブルとな
って、クロック入力に従いカウントアップするカウンタ
であり、初期値=−1から15までカウントアップし、
15になったときキャリアップ信号を出力する。50は
OR回路44の出力が「1」となったとき、又は、カウ
ンタ48からキャリアップ信号を入力したとき、出力バ
ッファに出力イネーブル信号を出力する制御回路であ
り、該制御回路は、シフトレジスタ38-1〜38-4とカウン
タ48にクロック出力を行い、レジスタ40-1〜40-4にラ
ッチストローブ信号出力を行う。52は出力バッファ回
路であり、制御回路から出力イネーブル信号を入力する
と、レジスタ40-1〜40-4からの4ビット入力をパターン
データ、カウンタ48のLSBから4桁をランレングス
データとした8ビットの圧縮符号データを出力する。
By writing the compression configuration data, resetting, and setting the size of the image, the rewritable FPGA 32 is implemented with the compression circuit shown in FIG. 11, for example. The compression circuit shown in FIG. 11 performs compression by converting binary image data into patterns and run lengths for every four lines. 38-1 to 38-4 are 2 for 1 line each
It is a shift register that can hold value image data and is serially connected. Reference numerals 40-1 to 40-4 are registers that hold binary image data for one pixel, and are connected to the output side of the final stage of the shift registers 38-1 to 38-4, respectively. 42
-1 to 42-4 are EX-OR circuits (exclusive OR circuits) that take the exclusive OR of the output of the final stage of the shift register 38-i and the output of the register 40-i (i = 1 to 4) , 44 are EX-
An OR circuit that ORs the outputs of the OR 42-1 to 42-4, 46 is an INV circuit (inversion circuit) that inverts the output of the OR circuit,
Reference numeral 48 is a counter that is enabled when the output of the INV circuit is "1" and counts up according to the clock input.
When it reaches 15, a carrierup signal is output. Reference numeral 50 is a control circuit that outputs an output enable signal to the output buffer when the output of the OR circuit 44 becomes "1" or when the carrier-up signal is input from the counter 48, and the control circuit is a shift register. The clock is output to 38-1 to 38-4 and the counter 48, and the latch strobe signal is output to the registers 40-1 to 40-4. Reference numeral 52 is an output buffer circuit. When an output enable signal is input from the control circuit, 4-bit input from the registers 40-1 to 40-4 is pattern data and 4-digit from the LSB of the counter 48 is run-length data, 8-bit. The compressed code data of is output.

【0009】圧縮回路は起動後、画像データ保持部12
から画像データを4ライン分ずつに分けて入力し、圧縮
処理を行って圧縮データ保持部22へ出力し、保持させ
る。具体的には画像データが図12の(a)の如くであ
るとして(1ライン当たり55画素)、画像データ保持
部12から4ライン分ずつに分けた画像データが1ライ
ンずつシリアルに入力されるのに同期して、制御回路5
0がシフトレジスタ38-1〜38-4にシフトクロックを与
え、4ライン分の内、1ライン目をシフトレジスタ38-
1、2ライン目をシフトレジスタ38-2、3ライン目をシ
フトレジスタ38-3、4ライン目をシフトレジスタ38-4に
保持させる。続いて、制御回路50はカウンタ48をク
リアして−1に初期化し、レジスタ40-1〜40-4にラッチ
ストローブ信号を与えて、その時点の各シフトレジスタ
38-1〜38-4の最終段の出力(最初は各ラインの先頭画素
データ)を保持させる。このとき、シフトレジスタ38-i
の最終段の出力パターンとレジスタ40-i(i=1〜4)
の出力パターンは同一なので、EX−OR回路42-1〜42
-4の出力は全て「0」となり、OR回路44の出力が
「0」、INV回路46の出力が「1」となる。このと
き、制御回路50はクロックをカウンタ48に与えてカ
ウントアップさせカウント値を0とさせる。
After the compression circuit is activated, the image data holding unit 12
The image data is input by dividing it into four lines, the compression processing is performed, the image data is output to the compressed data holding unit 22, and the data is held. Specifically, assuming that the image data is as shown in FIG. 12A (55 pixels per line), the image data divided into four lines from the image data holding unit 12 is serially input line by line. In synchronization with, the control circuit 5
0 gives a shift clock to the shift registers 38-1 to 38-4, and the first line of the four lines is shifted to the shift register 38-
The first and second lines are held in the shift register 38-2, the third line is held in the shift register 38-3, and the fourth line is held in the shift register 38-4. Subsequently, the control circuit 50 clears the counter 48 and initializes it to -1, supplies a latch strobe signal to the registers 40-1 to 40-4, and shifts each shift register at that time.
The final stage output of 38-1 to 38-4 (first pixel data of each line) is held. At this time, the shift register 38-i
Output pattern of the last stage and register 40-i (i = 1 to 4)
Output patterns are the same, the EX-OR circuits 42-1 to 42-42
The outputs of the −4 are all “0”, the output of the OR circuit 44 is “0”, and the output of the INV circuit 46 is “1”. At this time, the control circuit 50 gives a clock to the counter 48 to count up and set the count value to zero.

【0010】次に、制御回路50は各シフトレジスタ38
-1〜38-4にシフトクロックを1つ与え、各ラインの2番
目の画素データを最終段から出力させる。1ライン目と
4ライン目の画素データに変化があるので、EX−OR
回路42-1と42-4の出力が「1」、EX−OR回路42-2と
42-3の出力が「0」となり、OR回路44の出力が
「1」となる。このとき、制御回路50は出力バッファ
52に出力イネーブル信号を出力して、レジスタ40-1〜
40-4に保持された各ラインの1番目の4ビットパターン
データと、カウンタ48のカウント値0(4ビットのラ
ンレングスデータ)を上位と下位に合わせた1バイトの
符号データを外部の圧縮データ保持部22へ出力し、保
持させる(図12(b)の符号データ参照)。続いて、
カウンタ48を初期化し(初期値=−1)、レジスタ40
-1〜40-4にラッチストローブ信号を与えて、その時点で
各シフトレジスタ38-1〜38-4の最終段の出力を保持させ
る。このとき、各EX−OR回路42-1〜42-4の出力が
「0」、OR回路44の出力が「0」、INV回路46
の出力が「1」となり、制御回路50はクロックをカウ
ンタ48に与えてカウント値を0とする。次に、シフト
レジスタ38-1〜38-4にシフトロクックを1つ与え、各ラ
インの3番目の画素データを出力させるが、3ライン目
の変化で、EX−OR回路40-3の出力が「1」となり、
OR回路44の出力が「1」となるので、制御回路50
はレジスタ40-1〜40-4に保持された各ラインの2番目の
4ビットパターンデータと、カウンタ48のカウント値
0を合わせた符号データを出力させる。
Next, the control circuit 50 controls each shift register 38.
One shift clock is given to -1 to 38-4 to output the second pixel data of each line from the final stage. Since there is a change in the pixel data on the first and fourth lines, EX-OR
The outputs of the circuits 42-1 and 42-4 are "1", and the EX-OR circuit 42-2 is
The output of 42-3 becomes "0", and the output of the OR circuit 44 becomes "1". At this time, the control circuit 50 outputs the output enable signal to the output buffer 52, and the registers 40-1 ...
The 1st 4-bit pattern data of each line held in 40-4 and the 1-byte code data in which the count value 0 of the counter 48 (4-bit run length data) is combined with the upper and lower sides is the external compressed data. The data is output to the holding unit 22 and held (see the coded data in FIG. 12B). continue,
The counter 48 is initialized (initial value = -1), and the register 40
A latch strobe signal is given to -1 to 40-4 to hold the output of the final stage of each shift register 38-1 to 38-4 at that time. At this time, the output of each EX-OR circuit 42-1 to 42-4 is “0”, the output of the OR circuit 44 is “0”, and the INV circuit 46.
Becomes 1 and the control circuit 50 gives a clock to the counter 48 to set the count value to 0. Next, one shift lock is applied to the shift registers 38-1 to 38-4 to output the third pixel data of each line, but the output of the EX-OR circuit 40-3 changes to " 1 ”,
Since the output of the OR circuit 44 becomes "1", the control circuit 50
Outputs the code data in which the second 4-bit pattern data of each line held in the registers 40-1 to 40-4 and the count value 0 of the counter 48 are combined.

【0011】次に、再び、カウンタ48を初期化し、レ
ジスタ40-1〜40-4にラッチストローブ信号を与えて、シ
フトレジスタ38-1〜38-4の最終段の出力を保持させ、O
R回路44の出力が「0」、INV回路46の出力が
「1」となるので、制御回路50はクロックをカウンタ
48に与えてカウント値を0とする。次に、シフトレジ
スタ38-1〜38-4にシフトロクックを1つ与え、各ライン
の4番目の画素データを出力させるが、3番目と変化な
いので、OR回路44の出力が「0」、INV回路46
の出力が「1」となり、制御回路50はクロックをカウ
ンタ48に与えてカウント値を1とする。そして、シフ
トレジスタ38-1〜38-4にシフトクロックを1つ与え、各
ラインの5番目の画素データを出力させるが、今度は、
2ライン目が変化しているので、OR回路44の出力が
「1」となり、制御回路50はレジスタ40-1〜40-4に保
持された各ラインの3番目の4ビットパターンデータ
と、カウンタ48のカウント値1を合わせた符号データ
を出力させる。以下、同様の動作を繰り返すことで、原
画像データの4ラインは、4ビットパターンデータとラ
ンレングスデータから成る8ビット符号データに圧縮変
換されながら、圧縮データ保持部22に出力され、該圧
縮データ保持部22に保持される。なお、圧縮途中で、
カウント値が15になったとき、キャリアップ信号を入
力した制御回路50は、その時点のレジスタ40-1〜40-4
の出力と、カウンタ48の出力を合わせた符号データを
出力バッファ52から出力させ、カウンタ48を初期化
する。
Next, the counter 48 is initialized again, the latch strobe signal is given to the registers 40-1 to 40-4 to hold the output of the final stage of the shift registers 38-1 to 38-4, and O
Since the output of the R circuit 44 is “0” and the output of the INV circuit 46 is “1”, the control circuit 50 gives a clock to the counter 48 to set the count value to 0. Next, one shift lock is given to the shift registers 38-1 to 38-4 to output the fourth pixel data of each line, but since it does not change to the third, the output of the OR circuit 44 is "0", INV. Circuit 46
Becomes 1 and the control circuit 50 gives a clock to the counter 48 to set the count value to 1. Then, one shift clock is given to the shift registers 38-1 to 38-4 to output the fifth pixel data of each line, but this time,
Since the second line has changed, the output of the OR circuit 44 becomes "1", and the control circuit 50 causes the third 4-bit pattern data of each line held in the registers 40-1 to 40-4 and the counter. The code data including the count value 1 of 48 is output. After that, by repeating the same operation, the four lines of the original image data are output to the compressed data holding unit 22 while being compressed and converted into the 8-bit code data composed of the 4-bit pattern data and the run length data. It is held by the holding unit 22. During compression,
When the count value reaches 15, the control circuit 50 which has input the carrier-up signal, the registers 40-1 to 40-4 at that time point.
And the output of the counter 48 are combined to output code data from the output buffer 52, and the counter 48 is initialized.

【0012】4ライン分の圧縮が終了しとき、図12の
(a)に示す4ライン分の原画像データは(b)に示す
符号データ列に変換される。このあと、制御回路50は
先に処理指示部30でセットされた画像の大きさからま
だ次に圧縮すべき4ライン分の画像データが残っている
かチェックし、残っていれば、前述と同様にして、次の
4ライン分の画像データをシフトレジスタ38-1〜38-4に
保持させたあと、符号化を行っていく。そして、1枚の
画像全ての処理が終わったならば、データ処理制御部1
8は、圧縮データ保持部22に保持された圧縮データに
画像の大きさを示すデータを附加したあと、オペレータ
により送信が指示されていたときは、送/受信部26を
して圧縮データを外部へ送信させ、又、オペレータによ
りファイリングが指示されていたときは、所定のファイ
ル名に対応付けて記憶部24に記憶させる。
When the compression of four lines is completed, the original image data of four lines shown in FIG. 12A is converted into the code data string shown in FIG. After that, the control circuit 50 checks whether there is still image data for four lines to be compressed next from the size of the image set by the processing instruction unit 30, and if there is, the same as described above. Then, the image data for the next four lines is held in the shift registers 38-1 to 38-4, and then encoded. When the processing of one image is completed, the data processing control unit 1
After adding data indicating the size of the image to the compressed data held in the compressed data holding unit 22, when the operator has instructed to send the compressed data, the sending / receiving unit 26 sends the compressed data to the outside. If filing is instructed by the operator, it is stored in the storage unit 24 in association with a predetermined file name.

【0013】これと反対に、送/受信部26で外部から
送られた圧縮画像データが受信されると、一旦、圧縮デ
ータ保持部22に保持される。データ処理制御部18
は、受信時に操作部16で画像表示が指示されなけれ
ば、所定のファイル名に対応付けて記憶部24に記憶さ
せる。そして、その後、操作部16でファイル名の指定
を伴うファイル検索が指示されると、データ処理制御部
18は記憶部24から該当する圧縮データを読み出し、
一旦、圧縮データ保持部22に保持させる。そして、圧
縮データに附加された画像の大きさを示すデータを読み
出し、圧縮/復元部20に対し復元処理を指示するとと
もに、圧縮データ保持部22に保持された画像の大きさ
を指定する。若し、受信時に、操作部16で画像表示が
指示されたときは、データ処理制御部18は記憶部24
へのファイリングをすることなく、圧縮/復元部20に
対し復元処理を指示するとともに、圧縮データ保持部2
2に保持された画像の大きさを指定する。
On the contrary, when the sending / receiving unit 26 receives the compressed image data sent from the outside, it is once held in the compressed data holding unit 22. Data processing control unit 18
If the image display is not instructed by the operation unit 16 at the time of reception, the storage unit 24 stores it in the storage unit 24 in association with a predetermined file name. Then, after that, when a file search accompanied by the designation of the file name is instructed by the operation unit 16, the data processing control unit 18 reads the corresponding compressed data from the storage unit 24,
The compressed data holding unit 22 holds the compressed data once. Then, the data indicating the size of the image added to the compressed data is read out, the decompression process is instructed to the compression / decompression unit 20, and the size of the image held in the compressed data holding unit 22 is specified. If an image display is instructed by the operation unit 16 at the time of reception, the data processing control unit 18 causes the storage unit 24 to operate.
The decompression process is instructed to the compression / decompression unit 20 without filing to the compressed data storage unit 2
Specifies the size of the image held in 2.

【0014】データ処理制御部18により指示及び指定
された内容は処理データ保持部28に保持される。そし
て、処理指示部30が処理データ保持部28を参照し
て、今回の指示が復元であることから、データ書き込み
部36に対し復元用コンフィグレーションデータの書き
込みを指示する。書き込みを指示されたデータ書き込み
部36は書換可能FPGA32をプログラムモードと
し、コンフィグレーションデータ保持部34から復元用
コンフィグレーションデータを読み出し、書換可能FP
GA32に書き込んで、復元用ロジック,結線を具現す
る。書き込みが終了したならばデータ書き込み部36は
書き込み終了を処理指示部30に通知し、該通知を受け
た処理指示部30は、書換可能FPGA32を論理動作
モードとし、内部ロジックをリセットするとともに、処
理データ保持部28を参照して、画像の大きさをコント
ロールレジスタにセットし、かつ、復元スタートコマン
ドを与えて、復元動作を開始させる。
The contents designated and designated by the data processing control unit 18 are held in the processed data holding unit 28. Then, the processing instructing unit 30 refers to the processing data holding unit 28, and since the present instruction is restoration, instructs the data writing unit 36 to write the restoration configuration data. The data writing unit 36 instructed to write sets the rewritable FPGA 32 in the program mode, reads the restoration configuration data from the configuration data holding unit 34, and rewrites the FP.
The data is written in the GA 32 to embody the restoration logic and connection. When the writing is completed, the data writing unit 36 notifies the processing instructing unit 30 of the completion of the writing, and the processing instructing unit 30 that has received the notification sets the rewritable FPGA 32 to the logical operation mode, resets the internal logic, and executes the processing. Referring to the data holding unit 28, the size of the image is set in the control register, and a restoration start command is given to start the restoration operation.

【0015】復元用コンフィグレーションデータの書き
込み、リセット、画像の大きさのセットにより、書換可
能FPGA32には例えば、図13に示す復元回路が具
現される。図13の復元回路は4ビットパターンデータ
と4ビットランレングスデータから成る符号データから
画像データを復元するものである。54は圧縮データ保
持部22から1バイトずつ符号データを受け取る入力バ
ッファ回路、56-1〜56-4は符号データの内、4ビットの
パターンデータを1ビットずつ保持するレジスタ、58
は符号データの内ランレングスデータがプリセットされ
るカウンタであり、クロックに従いカウントダウンす
る。60-1〜60-4はレジスタ56-1〜56-4に保持されたデー
タをシフトしながら保持するシフトレジスタ、62はシ
フトレジスタ60-1〜60-4に保持された4ライン分の画像
データを記憶するとともに、外部へ出力するFIFOメ
モリ、64は制御回路であり、レジスタ56-1〜56-4にラ
ッチストローブ信号を出力したり、カウンタ58にプリ
セットストローブ信号出力やクロック出力をしたり、シ
フトレジスタ60-1〜60-4にシフトクロックを与えたり、
FIFOメモリに対する書き込み/読み出し制御をした
りする。
The rewriting circuit shown in FIG. 13 is implemented in the rewritable FPGA 32 by writing, resetting, and setting the image size of the reconstructing configuration data. The restoration circuit of FIG. 13 restores image data from code data composed of 4-bit pattern data and 4-bit run length data. Reference numeral 54 is an input buffer circuit that receives code data from the compressed data holding unit 22 byte by byte, 56-1 to 56-4 are registers that hold 4-bit pattern data of the code data bit by bit, 58
Is a counter in which run length data of the code data is preset, and counts down according to the clock. Reference numerals 60-1 to 60-4 are shift registers for holding the data held in the registers 56-1 to 56-4 while shifting them, and 62 is an image of four lines held in the shift registers 60-1 to 60-4. A FIFO memory 64 for storing data and outputting it to the outside is a control circuit for outputting a latch strobe signal to the registers 56-1 to 56-4 and outputting a preset strobe signal or a clock to the counter 58. , Give a shift clock to the shift registers 60-1 to 60-4,
It controls writing / reading to / from the FIFO memory.

【0016】今、復元対象が画像1枚分であるとして、
最初の4ライン分に係る入力符号データ列が図14
(a)の如くであるとき、制御回路64は最初の1バイ
ト符号データを入力バッファ回路54に出力させたの
ち、ラッチストローブ信号をレジスタ56-1〜56-4に与え
てパターンデータを1ビットずつ分けて保持させるとと
もに、圧縮データ保持部22から2番目の符号データを
入力バッファ回路54に出力させておく。そして、プリ
セットストローブ信号をカウンタ58に与え、ランレン
グスデータ0をプリセットさせる。次いで、カウンタ5
8とシフトレジスタ60-1〜60-4に同期したクロックを与
え、カウンタ58のカウントダウンでカウント値が−1
となったところで、クロック出力を止める。ランレング
スデータが0のとき、クロックが1つだけ与えられて、
レジスタ56-1〜56-4に保持されたパターンがシフトレジ
スタ60-1〜60-4の1段目にシフトされることになる。次
いで、バッファメモリ54に保持された次のパターンデ
ータとランレングスデータ0をレジスタ56-1〜56-4に保
持させるとともに、カウンタ58にプリセットし、圧縮
データ保持部22から3番目の符号データを入力バッフ
ァ回路54に出力させておく。そして、カウンタ58と
シフトレジスタ60-1〜60-4にクロックを与えて、レジス
タ56-1〜56-4に保持されたパターンをシフトレジスタ60
-1〜60-4の1段目にシフトさせる。クロック1つ与えた
ところで、カウンタ58のカウント値が−1となるの
で、クロック出力を止める。
Now, assuming that the restoration target is one image,
The input code data string for the first four lines is shown in FIG.
In the case of (a), the control circuit 64 causes the input buffer circuit 54 to output the first 1-byte code data, and then applies the latch strobe signal to the registers 56-1 to 56-4 to output 1-bit pattern data. The second code data is output from the compressed data holding unit 22 to the input buffer circuit 54 while being held separately. Then, the preset strobe signal is given to the counter 58 to preset the run length data 0. Then counter 5
8 and the shift registers 60-1 to 60-4 in synchronization with each other, and the count value of the counter 58 is reduced by -1.
Stop the clock output. When the run length data is 0, only one clock is given,
The patterns held in the registers 56-1 to 56-4 are shifted to the first stage of the shift registers 60-1 to 60-4. Next, the next pattern data and run length data 0 held in the buffer memory 54 are held in the registers 56-1 to 56-4 and are preset in the counter 58, and the third code data from the compressed data holding unit 22 is stored. It is output to the input buffer circuit 54. Then, a clock is given to the counter 58 and the shift registers 60-1 to 60-4, and the patterns held in the registers 56-1 to 56-4 are transferred to the shift register 60.
-1 Shift to the first stage of 60-4. When one clock is given, the count value of the counter 58 becomes -1, so the clock output is stopped.

【0017】続いて、バッファメモリ54に保持された
次のパターンデータとランレングスデータ1をレジスタ
56-1〜56-4に保持させるとともに、カウンタ58にプリ
セットし、圧縮データ保持部22から4番目の符号デー
タを入力バッファ回路54に出力させておく。そして、
カウンタ58とシフトレジスタ60-1〜60-4にクロックを
与えて、レジスタ56-1〜56-4に保持されたパターンをシ
フトレジスタ60-1〜60-4の1段目にシフトさせる。ここ
ではランレングスデータが1なのでクロックを2つ与え
たところで、カウンタ58のカウント値が−1となり、
3番目のパターンデータはシフトレジスタ60-1〜60-4の
1段目と2段目に保持される。以下、同様の処理を繰り
返し、シフトレジスタ60-1〜60-4の各々に1ライン分の
画像データが復元できたならば、制御回路64はFIF
Oメモリ62を経由して画像データ保持部12へ1ライ
ンずつ順に出力させ、該画像データ保持部に保持させ
る。
Subsequently, the next pattern data and run length data 1 held in the buffer memory 54 are registered.
The data is held in 56-1 to 56-4 and preset in the counter 58 to output the fourth code data from the compressed data holding unit 22 to the input buffer circuit 54. And
A clock is given to the counter 58 and the shift registers 60-1 to 60-4 to shift the pattern held in the registers 56-1 to 56-4 to the first stage of the shift registers 60-1 to 60-4. Here, since the run length data is 1, when the two clocks are given, the count value of the counter 58 becomes -1,
The third pattern data is held in the first and second stages of the shift registers 60-1 to 60-4. Thereafter, the same processing is repeated, and if the image data for one line can be restored in each of the shift registers 60-1 to 60-4, the control circuit 64 causes the FIFO
The lines are sequentially output to the image data holding unit 12 via the O memory 62 line by line and held in the image data holding unit.

【0018】4ライン分の復元が終了しとき、図14
(a)に示す符号データ列は(b)に示す画像データに
復元される。このあと、制御回路64は、処理指示部3
0に指示された画像の大きさからまだ次に復元すべき圧
縮画像データが残っているかチェックし、残っていれ
ば、前述と同様にして、逐次符号データを入力しなが
ら、復元化を行っていく。そして、1枚の画像全ての処
理が終ると、データ処理制御部18は、画像データ保持
部12の画像データを画像表示部14に出力させてオペ
レータが視認可能とする。
When the restoration of four lines is completed, FIG.
The code data string shown in (a) is restored to the image data shown in (b). Thereafter, the control circuit 64 causes the processing instruction unit 3
It is checked whether there is still compressed image data to be restored next from the size of the image designated by 0, and if there is remaining, it is restored while inputting the coded data in the same manner as described above. Go. Then, when the processing of all the one image is completed, the data processing control unit 18 causes the image display unit 14 to output the image data of the image data holding unit 12 so that the operator can visually recognize it.

【0019】[0019]

【発明が解決しようとする課題】このように、書換可能
FPGA32に圧縮用コンフィグレーションデータ又は
復元用コンフィグレーションデータを書き込み、圧縮用
ロジック又は復元用ロジックを具現することで、1つの
書換可能FPGA32で圧縮回路と復元回路の両方の機
能を果たすことができ、処理内容毎に別個の回路を設け
るよりも、構成が小型で済むことになる。しかしなが
ら、コンフィグレーションデータの書き込み自体に長い
時間を要するので、或る処理が指示される度にFPGA
32にコンフィグレーションデータを書き込み、所望ロ
ジックを実現することは、1回の処理量が多い場合はそ
れほど影響がないが、1回の処理量が少ない場合、処理
時間の遅延を招くという問題があった。以上から本発明
の目的は、コンフィグレーションデータの書き込みを工
夫してデータ変換や逆変換での処理時間を短縮できるデ
ータ変換装置,データ逆変換装置,データ変換/逆変換
装置を提供することである。
As described above, by writing the compression configuration data or the decompression configuration data to the rewritable FPGA 32 and embodying the compression logic or the decompression logic, one rewritable FPGA 32 can be used. The functions of both the compression circuit and the decompression circuit can be achieved, and the configuration can be made smaller than the case where a separate circuit is provided for each processing content. However, since it takes a long time to write the configuration data itself, the FPGA is required each time a certain process is instructed.
Writing the configuration data to 32 to realize the desired logic does not have much effect when the processing amount of one time is large, but there is a problem that the processing time is delayed when the processing amount of one time is small. It was In view of the above, an object of the present invention is to provide a data conversion device, a data inverse conversion device, and a data conversion / inverse conversion device that can devise writing of configuration data to reduce the processing time in data conversion and inverse conversion. .

【0020】[0020]

【課題を解決するための手段】図1は本発明の原理説明
図である。122Aはコンフィグレーションデータの書
き込みで、コンフィグレーションデータの種類に応じた
データ変換動作が可能となる書換可能PLD、124は
データ変換用の複数種のコンフィグレーションデータを
記憶したコンフィグレーションデータ記憶手段、120
Aは書換可能PLDを起動して所定のデータ変換動作を
行わしめる起動手段、128はデータ変換を開始する前
に所定の指定手段108Aで指定されるコンフィグレー
ションデータの種類を示す情報に基づき、該情報で指定
された種類のコンフィグレーションデータをコンフィグ
レーションデータ記憶手段から読み出して書換可能PL
Dに書き込むデータ書き込み手段、130は前回、書換
可能PLDに書き込んだコンフィグレーションデータの
種類を示す情報を登録する登録手段、132は今回指定
手段で指定されたコンフィグレーションデータの種類と
登録手段に登録された種類の一致・不一致を判定する判
定手段である。
FIG. 1 is a diagram for explaining the principle of the present invention. Reference numeral 122A denotes a rewritable PLD for writing configuration data, which enables a data conversion operation according to the type of the configuration data, 124 denotes a configuration data storage means for storing a plurality of types of configuration data for data conversion, 120
A is an activating means for activating the rewritable PLD to perform a predetermined data conversion operation, and 128 is a means for activating the rewritable PLD based on information indicating the type of the configuration data specified by the predetermined specifying means 108A before starting the data conversion The configuration data of the type specified by the information can be read from the configuration data storage means and rewritten.
Data writing means to be written in D, 130 is a registration means for registering information indicating the type of configuration data previously written in the rewritable PLD, and 132 is a kind of configuration data designated by the present designating means and the registration means. It is a judging means for judging whether the type of match or mismatch has occurred.

【0021】[0021]

【作用】データ変換を開始する前に、指定手段108A
でコンフィグレーションデータの種類が指定されると、
まず、判定手段132が登録手段130に登録された前
回のコンフィグレーションデータの種類と今回指定され
た種類の一致・不一致を判定する。不一致と判定された
とき、データ書き込み手段128が今回指定されたコン
フィグレーションデータをコンフィグレーションデータ
記憶手段124から読み出し書換可能PLD122Aに
書き込んだあと、起動手段120Aが書換可能PLD1
22Aを起動してデータ変換を行わせる。これと反対
に、判定手段132で一致すると判定されたとき、デー
タ書き込み手段128がデータの書き込みを行うことな
く、起動手段120がそのまま書換可能PLD122A
を起動してデータ変換を行わせる。
Operation: Before starting the data conversion, the designation means 108A
When the type of configuration data is specified in,
First, the determination unit 132 determines whether the type of the previous configuration data registered in the registration unit 130 and the type designated this time match / mismatch. When it is determined that they do not match, the data writing unit 128 reads out the configuration data specified this time from the configuration data storage unit 124 and writes it in the rewritable PLD 122A, and then the activation unit 120A can rewrite the PLD1.
22A is activated to perform data conversion. On the contrary, when the determination unit 132 determines that the data matches, the data writing unit 128 does not write the data, and the activation unit 120 can rewrite the data as it is.
To start data conversion.

【0022】これにより、複数種のデータ変換を1つの
書換可能PLD122Aで行うことができ、各種類毎に
専用のデータ変換回路を設けるよりもデータ変換装置の
構成を小型とでき、しかも、或る種類の処理が指示され
た場合に、前回と同一の指示であれば、コンフィグレー
ションデータの書き込みを行うことなく、処理を開始で
きるので、処理時間が短くて済む。
With this configuration, a plurality of types of data conversion can be performed by one rewritable PLD 122A, and the configuration of the data conversion device can be made smaller than that in the case where a dedicated data conversion circuit is provided for each type, and further, some When the type of processing is instructed, if the same instruction as the previous time is given, the processing can be started without writing the configuration data, so that the processing time can be shortened.

【0023】コンフィグレーションデータ記憶手段に
は、コンフィグレーションデータを、データ変換方法別
で、かつ、同一方法内でのバージョン別に用意してお
き、特定種類のコンフィグレーションデータは、特定の
データ変換方法で、かつ、特定バージョンのデータを指
すようにする。これにより、データ変換方法別で、か
つ、バージョン別のデータ変換処理が可能となる。
Configuration data is prepared in the configuration data storage means for each data conversion method and for each version within the same method, and the specific type of configuration data is prepared by the specific data conversion method. , And point to a specific version of the data. As a result, it is possible to perform data conversion processing for each data conversion method and for each version.

【0024】コンフィグレーションデータの書き込み
で、コンフィグレーションデータの種類に応じた所定方
式でのデータ逆変換動作が可能となる書換可能PLD
と、データ逆変換用の複数種のコンフィグレーションデ
ータを記憶したコンフィグレーションデータ記憶手段
と、書換可能PLDを起動して所定方式のデータ逆変換
動作を行わしめる起動手段と、データ逆変換を開始する
前に指定手段で指定されるコンフィグレーションデータ
の種類を示す情報に基づき、該情報で指定された種類の
コンフィグレーションデータをコンフィグレーションデ
ータ記憶手段から読み出して書換可能PLDに書き込む
データ書き込み手段を有するデータ逆変換装置におい
て、書換可能PLDに書き込んだコンフィグレーション
データの種類を示す情報を登録する登録手段と、指定手
段で指定されたコンフィグレーションデータの種類と登
録手段に登録された種類の一致・不一致を判定する判定
手段とを設け、データ書き込み手段は、判定手段で不一
致と判定されたときのみデータの書き込みを行うように
するとともに、起動手段は、判定手段で不一致と判定さ
れたとき、データ書き込み手段による書換可能PLDへ
のコンフィグレーションデータの書き込み完了後、書換
可能PLDを起動してデータ逆変換を行わせ、判定手段
で一致すると判定されたとき、そのまま書換可能PLD
を起動してデータ逆変換を行わせるようにする。これに
より、複数種のデータ逆変換を1つの書換可能PLDで
行うことができ、各種類毎に専用のデータ逆変換回路を
設けるよりもデータ逆変換装置の構成を小型とでき、し
かも、或る種類の処理が指示された場合に、前回と同一
の指示であれば、コンフィグレーションデータの書き込
みを行うことなく、処理を開始できるので、処理時間が
短くて済む。
A rewritable PLD capable of performing a data reverse conversion operation in a predetermined method according to the type of configuration data by writing the configuration data.
And configuration data storage means for storing a plurality of types of configuration data for data inverse conversion, activation means for activating the rewritable PLD to perform data inverse conversion operation of a predetermined method, and data inverse conversion. Data having data writing means for reading the configuration data of the type designated by the information from the configuration data storing means and writing the rewritable PLD on the basis of the information indicating the type of the configuration data previously designated by the designating means In the inverse conversion device, a registration unit that registers information indicating the type of configuration data written in the rewritable PLD, and a match / mismatch between the type of configuration data designated by the designation unit and the type registered in the registration unit. Judgment means and data are provided The writing means writes the data only when the determination means determines that they do not match, and the activation means configures the rewritable PLD by the data writing means when the determination means determines that they do not match. After the data writing is completed, the rewritable PLD is activated to perform the data reverse conversion, and when the determination means determines that they match, the rewritable PLD is used as it is.
To start the reverse data conversion. Thereby, a plurality of types of data inverse conversion can be performed by one rewritable PLD, and the configuration of the data inverse conversion device can be made smaller than the case where a dedicated data inverse conversion circuit is provided for each type. When the type of processing is instructed, if the same instruction as the previous time is given, the processing can be started without writing the configuration data, so that the processing time can be shortened.

【0025】コンフィグレーションデータ記憶手段に
は、コンフィグレーションデータを、データ逆変換方法
別で、かつ、同一方法内でのバージョン別に用意してお
き、特定種類のコンフィグレーションデータは、特定の
データ変換方法で、かつ、特定バージョンのデータを指
すようにする。これにより、データ逆変換方法別で、か
つ、バージョン別のデータ逆変換処理が可能となる。
Configuration data is prepared in the configuration data storage means for each data reverse conversion method and for each version within the same method, and the specific type of configuration data is stored in the specific data conversion method. And point to a specific version of the data. As a result, it is possible to perform the data reverse conversion process for each data reverse conversion method and for each version.

【0026】予め、変換データの中に、変換で使用した
コンフィグレーションデータの種類を示す情報又は逆変
換で使用すべきコンフィグレーションデータの種類を示
す情報を含めておくようにし、そして、データ逆変換を
開始する前に、変換データから変換で使用したコンフィ
グレーションデータの種類を示す情報又は逆変換で使用
すべきコンフィグレーションデータの種類を示す情報を
抽出し、該抽出された情報に基づき、指定手段がコンフ
ィグレーションデータの種類を指定する。これにより、
データの逆変換をする際、オペレータが逆変換で使用す
るコンフィグレーションデータの種類を指定しなくても
済むようになる。
Information indicating the type of configuration data used in conversion or information indicating the type of configuration data to be used in reverse conversion is included in the conversion data in advance, and the data reverse conversion is performed. Before starting, the information indicating the type of configuration data used in the conversion or the information indicating the type of configuration data to be used in the reverse conversion is extracted from the conversion data, and based on the extracted information, the designating means Specifies the type of configuration data. This allows
The operator does not need to specify the type of configuration data used for the reverse conversion when performing the reverse conversion of data.

【0027】コンフィグレーションデータの書き込み
で、コンフィグレーションデータの種類に応じてデータ
変換動作とデータ逆変換動作の任意の一方で所定の動作
が可能となる書換可能PLDと、データ変換用の1また
は複数種のコンフィグレーションデータと,データ逆変
換用の1または複数種のコンフィグレーションデータを
記憶したコンフィグレーションデータ記憶手段と、書換
可能PLDを起動して所定のデータ変換動作またはデー
タ逆変換動作を行わしめる起動手段と、データ変換また
はデータ逆変換を開始する前に所定の指定手段で指定さ
れるコンフィグレーションデータの種類を示す情報に基
づき、該情報で指定された種類のコンフィグレーション
データをコンフィグレーションデータ記憶手段から読み
出して書換可能PLDに書き込むデータ書き込み手段を
有するデータ変換/逆装置において、書換可能PLDに
書き込んだコンフィグレーションデータの種類を示す情
報を登録する登録手段と、指定手段で指定されたコンフ
ィグレーションデータの種類と登録手段に登録された種
類の一致・不一致を判定する判定手段とを設け、データ
書き込み手段は、判定手段で不一致と判定されたときの
みデータの書き込みを行うようにするとともに、起動手
段は、判定手段で不一致と判定されたとき、データ書き
込み手段による書換可能PLDへのコンフィグレーショ
ンデータの書き込み完了後、書換可能PLDを起動して
データ変換またはデータ逆変換を行わせ、判定手段で一
致すると判定されたとき、そのまま書換可能PLDを起
動してデータ変換または逆変換を行わせる。これによ
り、1又は複数種のデータ変換と、1又は複数種のデー
タ逆変換を1つの書換可能PLDで行うことができ、各
種類毎に専用のデータ変換回路やデータ逆変換回路を設
けるよりもデータ変換/逆変換装置の構成を小型とで
き、しかも、或る種類の処理が指示された場合に、前回
と同一の指示であれば、コンフィグレーションデータの
書き込みを行うことなく、処理を開始できるので、処理
時間が短くて済む。
A rewritable PLD capable of performing a predetermined operation in any one of a data conversion operation and a data inverse conversion operation according to the type of the configuration data by writing the configuration data, and one or a plurality of data conversion operations. Type configuration data and a configuration data storage means for storing one or more types of configuration data for data inverse conversion, and a rewritable PLD are activated to perform a predetermined data conversion operation or data inverse conversion operation. Based on the starting means and the information indicating the type of the configuration data specified by the predetermined specifying means before starting the data conversion or the data reverse conversion, the configuration data of the type specified by the information is stored in the configuration data. PL that can be rewritten by reading from the means In a data conversion / inverse device having a data writing means for writing to a rewritable PLD, a registration means for registering information indicating the type of configuration data written in a rewritable PLD, and a type and a registration means for the configuration data designated by the designating means The data writing means writes the data only when the judging means judges that there is a mismatch, and the starting means does not match the judging means. When it is determined that the data writing means has completed writing the configuration data to the rewritable PLD, the rewritable PLD is activated to perform data conversion or data reverse conversion, and when the determination means determines that they match, Rewritable PLD is started as it is and data conversion or reverse conversion is performed. That. As a result, one or a plurality of types of data conversion and one or a plurality of types of data inverse conversion can be performed by one rewritable PLD, rather than providing a dedicated data conversion circuit or data inverse conversion circuit for each type. The configuration of the data conversion / inverse conversion device can be made small, and when a certain type of processing is instructed, the processing can be started without writing the configuration data if the same instruction as the previous time is given. Therefore, the processing time is short.

【0028】コンフィグレーションデータ記憶手段に
は、コンフィグレーションデータを、データ変換方法別
で、かつ、同一方法内でのバージョン別に用意しておく
とともに、データ逆変換方法別で、かつ、同一方法内で
のバージョン別に用意しておき、特定種類のコンフィグ
レーションデータは、特定のデータ変換方法またはデー
タ逆変換方法で、かつ、特定バージョンのデータを指す
ようにする。これにより、データ変換方法別で、かつ、
バージョン別のデータ変換処理が可能となり、また、デ
ータ逆変換方法別で、かつ、バージョン別のデータ逆変
換処理が可能となる。
In the configuration data storage means, the configuration data is prepared for each data conversion method and for each version within the same method, and also for each data reverse conversion method and within the same method. Prepared for each version, and the specific type of configuration data points to the data of the specific version by the specific data conversion method or the data reverse conversion method. By this, by data conversion method, and
It is possible to perform data conversion processing for each version, and it is also possible to perform data inverse conversion processing for each version and for each data inverse conversion method.

【0029】書換可能PLDで変換された変換データの
中に、変換で使用したコンフィグレーションデータの種
類を示す情報又は逆変換で使用すべきコンフィグレーシ
ョンデータの種類を示す情報を含めておくようにし、そ
して、データ逆変換を開始する前に、変換データから変
換で使用したコンフィグレーションデータの種類を示す
情報又は逆変換で使用すべきコンフィグレーションデー
タの種類を示す情報を抽出し、該抽出された情報に基づ
き、指定手段がコンフィグレーションデータの種類を指
定する。これにより、オペレータがデータ変換に使用し
たコンフィグレーションデータの種類を管理したり、逆
変換をする際に、逆変換で使用するコンフィグレーショ
ンデータの種類を指定する操作をしなくて済む。
Information indicating the type of configuration data used in conversion or information indicating the type of configuration data to be used in reverse conversion should be included in the conversion data converted by the rewritable PLD. Then, before starting the data reverse conversion, information indicating the type of configuration data used in the conversion or information indicating the type of configuration data to be used in the reverse conversion is extracted from the converted data, and the extracted information is extracted. Based on the above, the specifying means specifies the type of configuration data. As a result, the operator does not need to manage the type of configuration data used for data conversion and, when performing reverse conversion, do not have to specify the type of configuration data used for reverse conversion.

【0030】書換可能PLDの一部に、コンフィグレー
ションデータの種類を示す情報を読み出し自在に保持す
る保持部を形成させることの可能なデータを含め、該保
持部で前記登録手段の代わりをさせる。これにより、書
換可能PLDの外部に登録手段を設ける必要が無くな
り、一層、装置の小型化を図れる。
A part of the rewritable PLD includes data capable of forming a holding part for holding the information indicating the type of the configuration data in a readable manner, and the holding part replaces the registration means. As a result, it is not necessary to provide a registration means outside the rewritable PLD, and the size of the device can be further reduced.

【0031】[0031]

【実施例】図2は本発明の実施例構成図であり、図1と
同一部分には同一符号を付している。なお、図2は1つ
の書換可能PLDで複数種の圧縮及び複数種の復元が可
能なデータ圧縮/復元装置を示す。100は原稿から画
像を読み取る画像データ入力部、102は画像データ入
力部100で入力された画像データを保持したり、後述
する圧縮/復元部より出力された画像データを保持るす
画像データ保持部、104は画像データ保持部102で
保持された画像データに基づき画像表示を行う画像表示
部、106は画像データの送信,ファイリング、ファイ
ル検索,画像表示,圧縮方法及びバージョンの指定、復
元方法及びバージョンの指定等の指示操作を行う操作
部、108は操作部での指示に従い、圧縮/復元の処理
制御,送受信制御,ファイリング,ファイル検索制御を
行うデータ処理制御部、110はデータ処理制御部の指
示に従い画像データの圧縮/復元を行う圧縮/復元部、
112は圧縮/復元部で圧縮された画像データを保持し
たり、送/受信部で受信された圧縮データを保持したり
する圧縮データ保持部、114はデータ処理制御部の指
示に従い圧縮データ保持部に保持された圧縮データを読
み書き自在に記憶する記憶部、116はデータ処理制御
部の指示に従い圧縮データ保持部に保持された圧縮デー
タを外部に送信したり、外部から送られた圧縮データを
受信し、圧縮データ保持部に出力したりする送/受信部
である。
2 is a block diagram of an embodiment of the present invention, in which the same parts as those in FIG. 1 are designated by the same reference numerals. It should be noted that FIG. 2 shows a data compression / decompression device capable of performing a plurality of types of compression and a plurality of types of decompression with one rewritable PLD. Reference numeral 100 denotes an image data input unit for reading an image from a document, and 102 denotes an image data holding unit for holding the image data input by the image data input unit 100 and for holding the image data output from the compression / decompression unit described later. Reference numeral 104 denotes an image display unit that displays an image based on the image data held by the image data holding unit 102. Reference numeral 106 denotes image data transmission, filing, file search, image display, compression method and version designation, decompression method and version. An operation unit for performing an instruction operation such as specification of a file, a data processing control unit 108 for performing compression / decompression process control, transmission / reception control, filing, and file search control according to an instruction from the operation unit, and 110 an instruction of the data processing control unit. A compression / decompression unit for compressing / decompressing image data according to
Reference numeral 112 denotes a compressed data holding unit that holds image data compressed by the compression / decompression unit, and holds compressed data received by the transmission / reception unit, and 114 indicates a compressed data holding unit according to an instruction from the data processing control unit. The storage unit readable and writable stores the compressed data stored in the storage unit 116. The storage unit 116 transmits the compressed data stored in the compressed data storage unit to the outside or receives the compressed data transmitted from the outside according to the instruction of the data processing control unit. Then, it is a sending / receiving unit that outputs the compressed data to the holding unit.

【0032】圧縮/復元部110は図3に示す如く構成
されており、118は処理制御部による指示内容を保持
する処理データ保持部、120は処理データ保持部を参
照して、判定部に判定指示を与えたり、データ書き込み
部に指示を与えてコンフィグレーションデータを書き込
ませたり、後述する書換可能FPGAに指示を与えてデ
ータ圧縮または復元動作を起動させたりする処理指示
部、122は書換可能FPGA(Field Programmable G
ate Array )であり、圧縮方法別で、かつ、圧縮方法毎
のバージョン別に区別された複数種の内、任意の1種類
の圧縮用コンフィグレーションデータが書き込まれて、
圧縮用の内部ロジック,結線が決定されると所定の圧縮
方法及びバージョンでの圧縮回路として機能し、復元方
法別で、かつ、復元方法毎のバージョン別に区別された
複数種の内、任意の1種類の復元用コンフィグレーショ
ンデータが書き込まれて、復元用の内部ロジック,結線
が決定されると所定の復元方法及びバージョンでの復元
回路として機能する。
The compression / decompression unit 110 is configured as shown in FIG. 3. Reference numeral 118 is a processing data holding unit that holds the instruction content of the processing control unit, and 120 is a processing data holding unit, and the determination unit makes a determination. A processing instruction unit 122 for giving an instruction, for giving an instruction to a data writing unit to write configuration data, and for giving an instruction to a rewritable FPGA described later to start a data compression or decompression operation, 122 is a rewritable FPGA (Field Programmable G
ate Array), and one of the compression configuration data is written among multiple types classified by compression method and version for each compression method.
When the internal logic for compression and the connection are determined, it functions as a compression circuit according to a predetermined compression method and version, and any one of a plurality of types classified by the restoration method and the version for each restoration method is selected. When the type of restoration configuration data is written and the restoration internal logic and connection are determined, it functions as a restoration circuit in a predetermined restoration method and version.

【0033】124は、圧縮方法別で、かつ、圧縮方法
毎のバージョン別に区別された複数種の圧縮用コンフィ
グレーションデータと、復元方法別で、かつ、復元方法
毎のバージョン別に区別された複数種の復元用コンフィ
グレーションデータを記憶したコンフィグレーションデ
ータ記憶部である。コンフィグレーションデータは、図
4に示す如く、同一方法及びバージョンの圧縮用コンフ
ィグレーションデータと復元用コンフィグレーションデ
ータが対になっており、或る圧縮方法及びバーションの
圧縮用コンフィグレーションデータを使用して圧縮され
たデータを、対応する復元方法及びバーションの復元用
コンフィグレーションデータを使用して復元できるよう
になっている。ここでは、圧縮方法は大文字のアルファ
ベット、各圧縮方法でのバーションは1〜nの数値で区
別され、復元方法は小文字のアルファベット、各復元方
法でのバージョンは1〜nの数値で区別されるものとす
る。圧縮用コンフィグレーションデータの種類は、方法
を示す大文字アルファベットとバージョンを示す数値を
組み合わせて、例えば、A1の如く指定される。また、
復元用コンフィグレーションデータの種類は、方法を示
す小文字アルファベットとバージョンを示す数値を組み
合わせて、例えば、a1(圧縮用のA1と対を成す)の
如く指定される。種類別のコンフィグレーションデータ
はFPGA用開発ツールを用いて求めてある。コンフィ
グレーションデータ記憶部124は外部記憶装置として
あるので、他の種類のコンフィグレーションデータに変
更も容易に行える。
Reference numeral 124 denotes a plurality of types of compression configuration data classified by compression method and version for each compression method, and a plurality of types classified by decompression method and by version for each decompression method. It is a configuration data storage unit that stores the configuration data for restoration of. As shown in FIG. 4, the configuration data is a combination of compression configuration data of the same method and version and configuration data for decompression, and a compression method of a certain compression method and version is used. The compressed data can be restored by using the corresponding restoration method and the configuration data for restoring the version. Here, the compression method is uppercase alphabet, the version in each compression method is distinguished by the numerical value of 1 to n, the restoration method is lowercase alphabet, and the version in each restoration method is distinguished by the numerical value of 1 to n. I shall. The type of the compression configuration data is specified as a combination of uppercase alphabets indicating the method and numerical values indicating the version, for example, A1. Also,
The type of decompression configuration data is specified by combining a lower case alphabet indicating a method and a numerical value indicating a version, for example, a1 (paired with A1 for compression). The configuration data for each type is obtained by using the FPGA development tool. Since the configuration data storage unit 124 is an external storage device, it is possible to easily change the configuration data to another type.

【0034】126はコンフィグレーションデータ記憶
部124から読み出した或る1種類のコンフィグレーシ
ョンデータを一時的に保持するデータバッファ部、12
8はコンフィグレーションデータ記憶部124から所望
の1種類のコンフィグレーションデータを読み出しデー
タバッファ部126に一時的に保持させ、かつ、書換可
能FPGA122をプログラムモードにしてコンフィグ
レーションデータの書き込みを行うデータ書き込み部、
130はデータ書き込み部が最新に書き込みを行ったコ
ンフィグレーションデータの種類を示す情報を登録する
登録部、132はデータ処理制御部108で指示された
処理内容と登録部に登録された内容の一致・不一致を判
定する判定部し、判定結果を処理指示部120へ出力す
る。
Reference numeral 126 is a data buffer unit for temporarily holding a certain type of configuration data read from the configuration data storage unit 124, 12
A data writing unit 8 reads out one desired type of configuration data from the configuration data storage unit 124, temporarily holds it in the data buffer unit 126, and sets the rewritable FPGA 122 in the program mode to write the configuration data. ,
Reference numeral 130 denotes a registration unit that registers information indicating the type of configuration data that the data writing unit has recently written, and 132 indicates that the processing content instructed by the data processing control unit 108 matches the content registered in the registration unit. The determination unit that determines the non-coincidence and outputs the determination result to the processing instruction unit 120.

【0035】図5〜図7は画像圧縮/復元装置の処理を
示す流れ図、図8は圧縮後の圧縮データに附加される情
報の説明図であり、以下、これらの図を参照して説明す
る。なお、最初、登録部130はクリアされており、コ
ンフィグレーションデータの種類を示す情報は登録され
ていないものとする。
5 to 7 are flowcharts showing the processing of the image compression / decompression device, and FIG. 8 is an explanatory diagram of information added to the compressed data after compression, which will be described below with reference to these figures. . Initially, the registration unit 130 is cleared, and the information indicating the type of configuration data is not registered.

【0036】圧縮処理 画像データ入力部100に原稿(ここでは簡単のため1
枚だけとする)をセットして画像読み取りを行わせる
と、画像データ入力部100は原稿サイズを検出しなが
ら該原稿サイズに応じた所定の大きさ(ライン長,ライ
ン数)の2値画像データに変換し、画像データ保持部1
02に出力して一時記憶させる(図5のステップ10
1、102)。画像データ保持部102に保持された画
像データは、画像表示部104に出力されて表示される
のでオペレータは入力画像を視認できる(ステップ10
3)。正常に読み取られた画像を、例えば、ファイリン
グさせるため、オペレータが操作部106でファイリン
グの指示を与え、かつ、圧縮方法及びバージョンを例え
ばA3と指定したとすると(ステップ104)、データ
処理制御部108がまず、圧縮/復元部110に対し圧
縮処理を指示し、圧縮方法及びバージョンをA3と指定
するとともに、データ保持部102に保持された画像の
大きさを指定する(ステップ105)。データ処理制御
部108により指示及び指定された内容は処理データ保
持部118に保持される。
[0036] For simplicity in the compression processing image data input unit 100 a document (here 1
When the number of sheets is set to "1" and the image is read, the image data input unit 100 detects the size of the document and outputs binary image data of a predetermined size (line length, number of lines) according to the size of the document. Image data holding unit 1
02 for temporary storage (step 10 in FIG. 5).
1, 102). The image data held in the image data holding unit 102 is output and displayed on the image display unit 104, so that the operator can visually recognize the input image (step 10).
3). For example, in order to perform filing on a normally read image, if the operator gives a filing instruction using the operation unit 106 and specifies the compression method and version as A3 (step 104), the data processing control unit 108. First, the compression / decompression unit 110 is instructed to perform compression processing, the compression method and version are designated as A3, and the size of the image held in the data holding unit 102 is designated (step 105). The contents instructed and designated by the data processing control unit 108 are held in the processed data holding unit 118.

【0037】そして、処理指示部120が処理データ保
持部118を参照して、今回指示された処理内容の種類
を示す情報(コンフィグレーションデータの種類を示す
情報)A3を判定部132に与えて、登録部130の登
録内容と一致するか判定させる(ステップ106)。初
め、登録部130にはコンフィグレーションデータの種
類を示す情報が未登録なので、判定部132は不一致と
判定し、結果を処理指示部120に出力する。不一致と
の判定結果を受けて、処理指示部120はデータ書き込
み部128に対し、今回、指示された種類(A3)の圧
縮用コンフィグレーションデータの書き込みを指示し、
書き込みを指示されたデータ書き込み部128はコンフ
ィグレーションデータ記憶部124の中から該当する種
類の圧縮用コンフィグレーションデータを探してデータ
バッファ部126に読み出させ、かつ、書換可能FPG
A122をプログラムモードとし、データバッファ部1
26から圧縮用コンフィグレーションデータを読み出
し、書換可能FPGA122に書き込んで、A3に対応
する圧縮用ロジック,結線を具現する(ステップ10
7)。
Then, the processing instructing unit 120 refers to the processing data holding unit 118, and supplies the determination unit 132 with information (information indicating the type of configuration data) A3 indicating the type of processing content instructed this time, It is determined whether or not it matches the registered content of the registration unit 130 (step 106). Initially, since the information indicating the type of configuration data is not registered in the registration unit 130, the determination unit 132 determines that they do not match and outputs the result to the processing instruction unit 120. In response to the determination result that they do not match, the processing instruction unit 120 instructs the data writing unit 128 to write the compression configuration data of the instructed type (A3) this time,
The data writing unit 128, which is instructed to write, searches the configuration data storage unit 124 for a corresponding type of compression configuration data, causes the data buffer unit 126 to read the data, and rewrites the FPG.
A122 is set to the program mode, and the data buffer unit 1
The compression configuration data is read from 26 and written in the rewritable FPGA 122 to implement the compression logic and connection corresponding to A3 (step 10).
7).

【0038】書き込みが終了したならばデータ書き込み
部128は、今回、書換可能FPGA122に書き込ん
だコンフィグレーションデータの種類を示す情報A3を
登録部130に登録し(ステップ108)、書き込み終
了を処理指示部120に通知し、該通知を受けた処理指
示部120は、書換可能FPGA122を論理動作モー
ドとし、内部ロジックをリセットするとともに、処理デ
ータ保持部118を参照して、画像の大きさをコントロ
ールレジスタにセットし、かつ、圧縮スタートコマンド
を与えて、圧縮動作を開始させる(ステップ109、図
6のステップ201)。
When the writing is completed, the data writing unit 128 registers the information A3 indicating the type of the configuration data written in the rewritable FPGA 122 this time in the registration unit 130 (step 108), and the writing completion is instructed by the processing instruction unit. The process instructing unit 120, which has received the notification, sets the rewritable FPGA 122 to the logical operation mode, resets the internal logic, and refers to the process data holding unit 118 to set the image size in the control register. Set and give a compression start command to start the compression operation (step 109, step 201 in FIG. 6).

【0039】そして、1枚分の画像全ての圧縮処理が終
わったならば、データ処理制御部108は、圧縮データ
保持部102に保持された圧縮データに画像の大きさを
示す情報と、今回、圧縮に使用したコンフィグレーショ
ンデータの種類を示す情報(A3)を附加したあと(ス
テップ202、203、図8参照)、所定のファイル名
に対応付けて記憶部114に記憶させる(ステップ11
1、204、205)。なお、予め、オペレータにより
送信が指示されていたときは、送/受信部116をして
圧縮データを外部へ送信させる(ステップ204、20
6)。
When the compression processing of all the images for one image is completed, the data processing control unit 108 includes information indicating the size of the image in the compressed data held in the compressed data holding unit 102, and this time, After adding information (A3) indicating the type of configuration data used for compression (steps 202, 203, see FIG. 8), it is stored in the storage unit 114 in association with a predetermined file name (step 11).
1, 204, 205). It should be noted that when the operator has previously instructed the transmission, the transmitting / receiving unit 116 is caused to transmit the compressed data to the outside (steps 204, 20).
6).

【0040】その後、オペレータが再び画像データ入力
部100に原稿を1枚セットして画像読み取りを行わ
せ、操作部106でファイリング又は送信の指示を与
え、かつ、圧縮方法及びバージョンを指定すると(ステ
ップ101〜104)、データ処理制御部108が圧縮
/復元部110に対し圧縮処理の指示、圧縮方法及びバ
ージョンの指定、データ保持部102に保持された画像
の大きさの指定を行う(ステップ105)。データ処理
制御部108により指示及び指定された内容は処理デー
タ保持部118に保持される。そして、処理指示部12
0が指示内容を判定部132に渡して、前回、書換可能
FPGA122に書き込んだコンフィグレーションデー
タの種類と一致するか判定させる(ステップ106)。
今回も指示内容がA3であったとき、判定部132は一
致すると判定することになり、この場合、処理指示部1
20はデータ書き込み部128に書き込み指示は与える
ことなく、内部ロジックをリセットするとともに、処理
データ保持部118を参照して、画像の大きさをコント
ロールレジスタにセットし、かつ、圧縮スタートコマン
ドを与えて、圧縮動作を開始させる(ステップ109、
図6のステップ201)。
After that, the operator again sets one original in the image data input unit 100 to read an image, gives an instruction for filing or transmission by the operation unit 106, and specifies the compression method and version (step 101 to 104), the data processing control unit 108 instructs the compression / decompression unit 110 to perform compression processing, specify the compression method and version, and specify the size of the image held in the data holding unit 102 (step 105). . The contents instructed and designated by the data processing control unit 108 are held in the processed data holding unit 118. Then, the processing instruction unit 12
0 passes the instruction content to the determination unit 132, and determines whether it matches the type of the configuration data written in the rewritable FPGA 122 last time (step 106).
If the instruction content is A3 this time as well, the determination unit 132 determines that they match, and in this case, the processing instruction unit 1
The reference numeral 20 resets the internal logic without giving a writing instruction to the data writing unit 128, sets the image size in the control register by referring to the processing data holding unit 118, and gives a compression start command. , Start compression operation (step 109,
Step 201 in FIG. 6).

【0041】若し、今回の指示内容がA3と異なる例え
ば、B1であったならば、ステップ106で判定部13
2が不一致と判定するので、この場合、処理指示部12
0はデータ書き込み部128に対し、圧縮用コンフィグ
レーションデータ(種類B1)の書き込みを指示する。
書き込みを指示されたデータ書き込み部128はコンフ
ィグレーションデータ記憶部124の中から該当する種
類の圧縮用コンフィグレーションデータを探してデータ
バッファ部126に読み出させ、かつ、書換可能FPG
A122をプログラムモードとし、データバッファ部1
26から圧縮用コンフィグレーションデータを読み出
し、書換可能FPGA122に書き込んで、B1に対応
する圧縮用ロジック,結線を具現する(ステップ10
7)。
If the instruction content this time is different from A3, for example, if it is B1, the determination unit 13 at step 106.
In this case, the process instruction unit 12
0 instructs the data writing unit 128 to write the compression configuration data (type B1).
The data writing unit 128, which is instructed to write, searches the configuration data storage unit 124 for a corresponding type of compression configuration data, causes the data buffer unit 126 to read the data, and rewrites the FPG.
A122 is set to the program mode, and the data buffer unit 1
The compression configuration data is read from 26 and written in the rewritable FPGA 122 to implement the compression logic and connection corresponding to B1 (step 10).
7).

【0042】書き込みが終了したならばデータ書き込み
部128は、今回、書換可能FPGA122に書き込ん
だコンフィグレーションデータの種類を示す情報B1を
登録部130に登録し(ステップ108)、書き込み終
了を処理指示部120に通知し、該通知を受けた処理指
示部120は、書換可能FPGA122を論理動作モー
ドとし、内部ロジックをリセットするとともに、処理デ
ータ保持部118を参照して、画像の大きさをコントロ
ールレジスタにセットし、かつ、圧縮スタートコマンド
を与えて、圧縮動作を開始させる(ステップ109、図
6のステップ201)。
When the writing is completed, the data writing unit 128 registers the information B1 indicating the type of the configuration data written in the rewritable FPGA 122 this time in the registration unit 130 (step 108), and the writing ending process is instructed. The process instructing unit 120, which has received the notification, sets the rewritable FPGA 122 to the logical operation mode, resets the internal logic, and refers to the process data holding unit 118 to set the image size in the control register. Set and give a compression start command to start the compression operation (step 109, step 201 in FIG. 6).

【0043】1枚分の画像圧縮が終了すると、データ処
理制御部108は、圧縮データ保持部102に保持され
た圧縮データに画像の大きさを示す情報と、今回の圧縮
に使用したコンフィグレーションデータの種類を示す情
報を附加したあと(ステップ203)、所定のファイル
名に対応付けて記憶部114に記憶させるか外部に送信
させる(ステップ204、205又は206)。
When the image compression for one image is completed, the data processing control unit 108 includes information indicating the size of the image in the compressed data held in the compressed data holding unit 102 and the configuration data used for the current compression. After adding information indicating the type (step 203), it is stored in the storage unit 114 in association with a predetermined file name or transmitted to the outside (step 204, 205 or 206).

【0044】復元処理 これと反対に、送/受信部116で外部から送られた圧
縮画像データが受信されると、一旦、圧縮データ保持部
112に保持される(図5のステップ110、11
1)。なお、受信圧縮画像データには、画像の大きさを
示す情報と、圧縮で用いた圧縮方法及びバージョンを示
す情報が附加されているものとする(図8参照)。デー
タ処理制御部108は、受信時に操作部106で画像表
示の指示がなされなかったとき(ステップ112でN
O)、所定のファイル名に対応付けて記憶部114に記
憶させておく(ステップ113)。そして、その後、操
作部106でファイル名の指定を伴うファイル検索が指
示されると、データ処理制御部108は記憶部114か
ら該当する圧縮データを読み出し、一旦、圧縮データ保
持部112に保持させる(図7のステップ301、30
2)。そして、圧縮データに附加された画像の大きさを
示す情報と、圧縮時に用いた圧縮方法及びバージョンを
示す情報を抽出し(ステップ303)、圧縮/復元部1
10に対し復元処理を指示するとともに、圧縮データか
ら抽出した情報に基づき、復元方法及びバージョンを指
定し、画像の大きさを指定する(ステップ304)。復
元方法及びバージョンの指定は、例えば、圧縮データに
附加されているコンフィグレーションデータの種類を示
す情報がA3であったとき、圧縮/復元部110に対し
a3と指定する。
Decompression Processing On the contrary, when the sending / receiving unit 116 receives the compressed image data sent from the outside, it is once held in the compressed data holding unit 112 (steps 110 and 11 in FIG. 5).
1). It should be noted that the received compressed image data is added with information indicating the size of the image and information indicating the compression method and version used in the compression (see FIG. 8). The data processing control unit 108 receives the image display instruction from the operation unit 106 at the time of reception (N in step 112).
O) is stored in the storage unit 114 in association with a predetermined file name (step 113). Then, after that, when a file search accompanied by the designation of a file name is instructed by the operation unit 106, the data processing control unit 108 reads the corresponding compressed data from the storage unit 114 and temporarily holds the compressed data holding unit 112 ( Steps 301 and 30 of FIG.
2). Then, the information indicating the size of the image added to the compressed data and the information indicating the compression method and version used at the time of compression are extracted (step 303), and the compression / decompression unit 1 is extracted.
The decompression process is instructed to 10, the decompression method and the version are designated based on the information extracted from the compressed data, and the size of the image is designated (step 304). For example, when the information indicating the type of configuration data attached to the compressed data is A3, the decompression method and the version are designated to the compression / decompression unit 110 as a3.

【0045】若し、受信時に、操作部106で画像表示
が指示されたときは、データ処理制御部108は記憶部
114へのファイリングをすることなく、圧縮/復元部
110に対し復元処理を指示するとともに、圧縮データ
の附加情報に基づき、復元方法とバージョンを指定し、
画像の大きさを指定する(図5のステップ112でYE
S、図7のステップ303、304)。
If the operation unit 106 is instructed to display an image at the time of reception, the data processing control unit 108 instructs the compression / decompression unit 110 to perform the decompression process without filing the data in the storage unit 114. In addition, specify the restoration method and version based on the additional information of the compressed data,
Specify the size of the image (YE in step 112 of FIG. 5)
S, steps 303 and 304 in FIG. 7).

【0046】データ処理制御部108により指示及び指
定された内容は処理データ保持部118に保持される。
そして、処理指示部120が処理データ保持部1118
参照して、今回指示されたコンフィグレーションデータ
の種類を示す情報、例えばa3を判定部132に与え
て、登録部130の登録内容と一致するか判定させる
(ステップ305)。ここで、登録部130に登録され
ている前回、書換可能FPGA122に書き込んだコン
フィグレーションデータの種類を示す情報がB1のと
き、判定部132は不一致と判定し、結果を処理指示部
120に出力する。不一致との判定結果を受けて、処理
指示部120はデータ書き込み部128に対し、復元用
コンフィグレーションデータ(種類a3)の書き込みを
指示する。書き込みを指示されたデータ書き込み部12
8はコンフィグレーションデータ記憶部124の中から
該当する種類の復元用コンフィグレーションデータを探
してデータバッファ部126に読み出させ、かつ、書換
可能FPGA122をプログラムモードとし、データバ
ッファ部126から圧縮用コンフィグレーションデータ
を読み出し、書換可能FPGA122に書き込んで、a
3に対応する圧縮用ロジック,結線を具現する(ステッ
プ306)。
The contents designated and designated by the data processing control unit 108 are held in the processed data holding unit 118.
Then, the processing instruction unit 120 causes the processing data holding unit 1118
With reference to this information, information indicating the type of configuration data instructed this time, for example, a3, is provided to the determination unit 132 to determine whether or not it matches the registered content of the registration unit 130 (step 305). Here, when the information indicating the type of the configuration data written in the rewritable FPGA 122 previously registered in the registration unit 130 is B1, the determination unit 132 determines that they do not match and outputs the result to the processing instruction unit 120. . In response to the determination result that they do not match, the processing instruction unit 120 instructs the data writing unit 128 to write the restoration configuration data (type a3). Data writing unit 12 instructed to write
The reference numeral 8 searches the configuration data storage unit 124 for a corresponding type of decompression configuration data and causes the data buffer unit 126 to read the rewritable FPGA 122 in the program mode, and the data buffer unit 126 sets the compression configuration. Read the calibration data and write it to the rewritable FPGA 122.
The compression logic and connection corresponding to 3 are implemented (step 306).

【0047】書き込みが終了したならばデータ書き込み
部128は、今回、書換可能FPGA122に書き込ん
だコンフィグレーションデータの種類を示す情報a3を
登録部130に登録し(ステップ307)、書き込み終
了を処理指示部120に通知し、該通知を受けた処理指
示部120は、書換可能FPGA122を論理動作モー
ドとし、内部ロジックをリセットするとともに、処理デ
ータ保持部118を参照して、画像の大きさをコントロ
ールレジスタにセットし、かつ、復元スタートコマンド
を与えて、復元動作を開始させる(ステップ308、3
09)。そして、1枚分の画像全ての復元処理が終わる
と、データ処理制御部108は、画像データ保持部10
2に保持された画像データを画像表示部104に表示さ
せてオペレータが視認できるようにする(ステップ31
0、311)。
When the writing is completed, the data writing unit 128 registers the information a3 indicating the type of the configuration data written in the rewritable FPGA 122 this time in the registration unit 130 (step 307), and the writing completion is instructed by the processing instruction unit. The process instructing unit 120, which has received the notification, sets the rewritable FPGA 122 to the logical operation mode, resets the internal logic, and refers to the process data holding unit 118 to set the image size in the control register. Set and give a restore start command to start the restore operation (steps 308, 3).
09). When the restoration processing for all the images for one image is completed, the data processing control unit 108 causes the image data holding unit 10
The image data held in No. 2 is displayed on the image display unit 104 so that the operator can visually recognize it (step 31).
0, 311).

【0048】その後、外部から再び、圧縮画像データデ
ータが受信され、受信時に操作部106で画像表示が指
示されたとき、データ処理制御部108は、圧縮データ
保持部112の中の圧縮データに附加された画像の大き
さを示す情報と、圧縮時に用いた圧縮方法及びバージョ
ンを示す情報を抽出し、圧縮/復元部110に対し復元
処理を指示するとともに、圧縮データから抽出した情報
に基づき、復元方法及びバージョンを指定し、画像の大
きさを指定する(図5のステップ110、111、11
2、図7のステップ303、304)。データ処理制御
部108により指示及び指定された内容は処理データ保
持部118に保持される。
Thereafter, when the compressed image data data is received again from the outside and the image display is instructed by the operation unit 106 at the time of reception, the data processing control unit 108 adds the compressed data in the compressed data holding unit 112. The information indicating the size of the compressed image and the information indicating the compression method and version used at the time of compression are extracted, and the decompression process is instructed to the compression / decompression unit 110, and decompression is performed based on the information extracted from the compressed data. A method and a version are designated, and an image size is designated (steps 110, 111, 11 in FIG. 5).
2, steps 303 and 304 in FIG. 7). The contents instructed and designated by the data processing control unit 108 are held in the processed data holding unit 118.

【0049】そして、処理指示部120が指示内容を判
定部132に渡して、前回、書換可能FPGA122に
書き込んだコンフィグレーションデータの種類と一致す
るか判定させる。今回も指示内容がa3であったとき、
判定部132は一致すると判定することになり、この場
合、処理指示部120はデータ書き込み部128に書き
込み指示は与えることなく、内部ロジックをリセットす
るとともに、処理データ保持部118を参照して、画像
の大きさをコントロールレジスタにセットし、かつ、圧
縮スタートコマンドを与えて、復元動作を開始させる
(ステップ305、308、309)。
Then, the processing instruction unit 120 transfers the instruction content to the determination unit 132, and determines whether or not it matches the type of the configuration data written in the rewritable FPGA 122 last time. This time when the instruction content was a3,
The determination unit 132 determines that they match. In this case, the processing instruction unit 120 resets the internal logic without giving a write instruction to the data writing unit 128, and refers to the processing data holding unit 118 to refer to the image. Is set in the control register and a compression start command is given to start the decompression operation (steps 305, 308, 309).

【0050】若し、今回の指示内容がa3と異なる例え
ば、b1であったならば、判定部132が不一致と判定
するので、この場合、処理指示部120はデータ書き込
み部128に対し、圧縮用コンフィグレーションデータ
(種類b1)の書き込みを指示する(ステップ305で
NO)。書き込みを指示されたデータ書き込み部128
はコンフィグレーションデータ記憶部124の中から該
当する種類の圧縮用コンフィグレーションデータを探し
てデータバッファ部126に読み出させ、かつ、書換可
能FPGA122をプログラムモードとし、データバッ
ファ部126から復元用コンフィグレーションデータを
読み出し、書換可能FPGA122に書き込んで、b1
に対応する復元用ロジック,結線を具現する(ステップ
306)。
If the instruction content this time is different from a3, for example, b1, the determination unit 132 determines that they do not match. In this case, the processing instruction unit 120 instructs the data writing unit 128 to perform compression. Instruct to write the configuration data (type b1) (NO in step 305). Data writing unit 128 instructed to write
Searches the configuration data storage unit 124 for a corresponding type of compression configuration data and causes the data buffer unit 126 to read the rewritable FPGA 122 in the program mode. Read the data, write it to the rewritable FPGA 122, and b1
The restoration logic and wiring corresponding to are implemented (step 306).

【0051】書き込みが終了したならばデータ書き込み
部128は、今回、書換可能FPGA122に書き込ん
だコンフィグレーションデータの種類を示す情報b1を
登録部130に登録し(ステップ307)、書き込み終
了を処理指示部120に通知し、該通知を受けた処理指
示部120は、書換可能FPGA122を論理動作モー
ドとし、内部ロジックをリセットするとともに、処理デ
ータ保持部118を参照して、画像の大きさをコントロ
ールレジスタにセットし、かつ、復元スタートコマンド
を与えて、復元動作を開始させる(ステップ308、3
09)。そして、1枚分の画像復元が終了すると、デー
タ処理制御部108は、画像データ保持部102に保持
された画像データに基づき、画像表示部104に画像表
示させる(ステップ310、311)。
When the writing is completed, the data writing unit 128 registers the information b1 indicating the type of the configuration data written in the rewritable FPGA 122 this time in the registration unit 130 (step 307), and the writing completion is instructed by the processing instruction unit. The process instructing unit 120, which has received the notification, sets the rewritable FPGA 122 to the logical operation mode, resets the internal logic, and refers to the process data holding unit 118 to set the image size in the control register. Set and give a restore start command to start the restore operation (steps 308, 3).
09). Then, when the image restoration for one image is completed, the data processing control unit 108 causes the image display unit 104 to display an image based on the image data held in the image data holding unit 102 (steps 310 and 311).

【0052】この実施例によれば、複数種の圧縮と、複
数種の復元を1つの書換可能FPGA122で行うこと
ができ、各種類毎に専用の圧縮回路や復元回路を設ける
よりも圧縮/復元装置の構成を小型とでき、しかも、或
る種類の処理が指示された場合に、前回と同一の指示で
あれば、コンフィグレーションデータの書き込みを行う
ことなく、処理を開始できるので、処理時間が短くて済
む。また、コンフィグレーションデータ記憶部124の
中には、圧縮用コンフィグレーションデータを、圧縮方
法別及び同一方法内でのバージョン別に用意し、復元用
コンフィグレーションデータを、復元方法及び同一方法
内でのバージョン別に用意し、或る種類のコンフィグレ
ーションデータは、特定の圧縮方法又は復元方法で、か
つ、特定のバージョンを指すようにしたから、圧縮方法
とバージョン別のデータ圧縮処理が可能となり、また、
復元方法とバージョン別のデータ復元処理が可能とな
る。
According to this embodiment, a plurality of types of compression and a plurality of types of decompression can be performed by one rewritable FPGA 122, and compression / decompression is performed rather than providing a dedicated compression circuit or decompression circuit for each type. The device can be downsized, and when a certain type of processing is instructed, if the same instruction as the previous time is given, the processing can be started without writing the configuration data. It can be short. Further, in the configuration data storage unit 124, compression configuration data is prepared for each compression method and for each version within the same method, and the recovery configuration data is restored for each version and within the same method. Separately prepared, a certain type of configuration data is pointed to a specific version by a specific compression method or decompression method, so that it is possible to perform data compression processing for each compression method and version.
It becomes possible to restore data according to the restoration method and version.

【0053】更に、書換可能FPGA122で圧縮され
た圧縮データの中に、圧縮で使用したコンフィグレーシ
ョンデータの種類を示す情報を附加しておくようにし、
そして、データ復元を開始する前に、データ処理制御部
108は、圧縮データ保持部112に保持された圧縮デ
ータの中から、圧縮で使用したコンフィグレーションデ
ータの種類を示す情報を抽出し、抽出された情報に基づ
き、該情報に対応する復元用コンフィグレーションデー
タの種類を指定するようにしたから、オペレータがデー
タ圧縮に使用したコンフィグレーションデータの種類を
管理したり、復元をする際に、復元で使用するコンフィ
グレーションデータの種類を指定する操作をしなくて済
む。
Furthermore, information indicating the type of configuration data used for compression is added to the compressed data compressed by the rewritable FPGA 122,
Then, before starting the data decompression, the data processing control unit 108 extracts the information indicating the type of the configuration data used for compression from the compressed data held in the compressed data holding unit 112, and the extracted information is extracted. Since the type of the configuration data for restoration corresponding to the information is specified based on the information, the restoration can be performed when the operator manages the type of configuration data used for data compression or restores. Eliminates the need to specify the type of configuration data to use.

【0054】なお、上記した実施例では、圧縮データ
に、圧縮で使用したコンフィグレーションデータの種類
を示す情報を附加するようにしたが、復元で使用すべき
コンフィグレーションデータの種類を示す情報(例え
ば、A3で圧縮したならばa3)を附加するようにして
もよい。また、コンフィグレーションデータ記憶部12
4に記憶された各コンフィグレーションデータに、書換
可能FPGAの一部に、コンフィグレーションデータの
種類を示す情報を読み出し自在に保持する保持部を形成
させることの可能なデータを含め、該保持部で前記登録
部(130)の代わりをさせるようにすれば、書換可能
FPGAの外部に登録部を設ける必要が無くなり、一
層、装置の小型化を図れる。
In the above embodiment, the information indicating the type of configuration data used for compression is added to the compressed data. However, information indicating the type of configuration data to be used for restoration (for example, , A3) may be added if compressed by A3. In addition, the configuration data storage unit 12
Each of the configuration data stored in 4 includes data capable of forming a holding portion for holding the information indicating the type of the configuration data in a rewritable FPGA in a part of the rewritable FPGA. If the registration unit (130) is used in place of the rewritable FPGA, it is not necessary to provide the registration unit outside the rewritable FPGA, and the size of the device can be further reduced.

【0055】更に、上記した実施例では、複数種の圧縮
と複数種の復元ができるようにしたが、各々、1種類ず
つだけ可能としてもよく、また、圧縮/復元装置ではな
く、複数種の圧縮処理が可能な圧縮装置であっても、複
数種の復元が可能な復元装置であってもよい。また、デ
ータ変換/逆変換装置の一例として、他の符号化/復号
化装置であってもよい。また、書換可能PLDの例とし
て書換可能FPGAを例に挙げたが、データ変換や逆変
換が可能であれば、RAM、書換可能ROM等、他の種
類のデバイスを用いることもできる。以上、本発明を実
施例、変形例により説明したが、本発明は請求の範囲に
記載した本発明の主旨に従い種々の変形が可能であり、
本発明はこれらを排除するものではない。
Further, in the above-described embodiment, a plurality of types of compression and a plurality of types of decompression can be performed, but it is also possible to use only one type each, and a plurality of types of compression / decompression devices are not required. It may be a compression device capable of compression processing or a decompression device capable of decompressing a plurality of types. Further, another encoding / decoding device may be used as an example of the data conversion / inverse conversion device. Although the rewritable FPGA has been described as an example of the rewritable PLD, other types of devices such as a RAM and a rewritable ROM can be used as long as data conversion and reverse conversion are possible. Although the present invention has been described above with reference to the embodiments and modifications, the present invention can be modified in various ways in accordance with the gist of the present invention described in the claims.
The present invention does not exclude these.

【0056】[0056]

【発明の効果】以上、本発明によれば、コンフィグレー
ションデータの書き込みで、コンフィグレーションデー
タの種類に応じたデータ変換動作が可能となる書換可能
PLDと、データ変換用の複数種のコンフィグレーショ
ンデータを記憶したコンフィグレーションデータ記憶手
段と、書換可能PLDを起動して所定のデータ変換動作
を行わしめる起動手段と、データ変換を開始する前に所
定の指定手段で指定されるコンフィグレーションデータ
の種類を示す情報に基づき、該情報で指定された種類の
コンフィグレーションデータをコンフィグレーションデ
ータ記憶手段から読み出して書換可能PLDに書き込む
データ書き込み手段を有するデータ変換装置において、
前回、書換可能PLDに書き込んだコンフィグレーショ
ンデータの種類を示す情報を登録する登録手段と、今回
指定手段で指定されたコンフィグレーションデータの種
類と登録手段に登録された種類の一致・不一致を判定す
る判定手段とを設け、データ書き込み手段は、判定手段
で不一致と判定されたときのみデータの書き込みを行う
ようにするとともに、起動手段は、判定手段で不一致と
判定されたとき、データ書き込み手段による書換可能P
LDへのコンフィグレーションデータの書き込み完了
後、書換可能PLDを起動してデータ変換を行わせ、判
定手段で一致すると判定されたとき、そのまま書換可能
PLDを起動してデータ変換を行わせるように構成した
から、複数種のデータ変換を1つの書換可能PLD70
で行うことができ、各種類毎に専用のデータ変換回路を
設けるよりもデータ変換装置の構成を小型とでき、しか
も、或る種類の処理が指示された場合に、前回と同一の
指示であれば、コンフィグレーションデータの書き込み
を行うことなく、処理を開始できるので、処理時間が短
くて済む。
As described above, according to the present invention, a rewritable PLD capable of performing a data conversion operation according to the type of configuration data by writing the configuration data, and a plurality of types of configuration data for data conversion The configuration data storage means, the activation means for activating the rewritable PLD to perform a predetermined data conversion operation, and the type of configuration data specified by the predetermined specification means before starting the data conversion. A data conversion device having data writing means for reading the configuration data of the type specified by the information from the configuration data storage means and writing the rewritable PLD on the basis of the indicated information,
A registration means for registering information indicating the type of configuration data written in the rewritable PLD last time, and a match / mismatch between the type of configuration data designated by the designating means this time and the type registered in the registration means are determined. The determining means is provided, the data writing means writes the data only when the determining means determines that they do not match, and the starting means rewrites the data by the data writing means when the determining means determines that they do not match. Possible P
After the completion of writing the configuration data to the LD, the rewritable PLD is activated to perform the data conversion, and when the determination means determines that they match, the rewritable PLD is activated to perform the data conversion. Therefore, it is possible to rewrite multiple types of data in one PLD70.
The configuration of the data conversion device can be made smaller than that of providing a dedicated data conversion circuit for each type, and when a certain type of processing is instructed, the same instruction as the previous time can be used. In this case, the processing can be started without writing the configuration data, which shortens the processing time.

【0057】また、コンフィグレーションデータ記憶手
段には、コンフィグレーションデータを、データ変換方
法別で、かつ、同一方法内でのバージョン別に用意して
おき、特定種類のコンフィグレーションデータは、特定
のデータ変換方法で、かつ、特定バージョンのデータを
指すようにしたから、データ変換方法別で、かつ、バー
ジョン別のデータ変換処理が可能となる。
Configuration data is prepared in the configuration data storage means for each data conversion method and for each version within the same method, and a specific type of configuration data is converted to a specific data conversion method. Since the data of a specific version is indicated by the method, it is possible to perform the data conversion process for each data conversion method and for each version.

【0058】また、コンフィグレーションデータの書き
込みで、コンフィグレーションデータの種類に応じた所
定方式でのデータ逆変換動作が可能となる書換可能PL
Dと、データ逆変換用の複数種のコンフィグレーション
データを記憶したコンフィグレーションデータ記憶手段
と、書換可能PLDを起動して所定方式のデータ逆変換
動作を行わしめる起動手段と、データ逆変換を開始する
前に指定手段で指定されるコンフィグレーションデータ
の種類を示す情報に基づき、該情報で指定された種類の
コンフィグレーションデータをコンフィグレーションデ
ータ記憶手段から読み出して書換可能PLDに書き込む
データ書き込み手段を有するデータ逆変換装置におい
て、書換可能PLDに書き込んだコンフィグレーション
データの種類を示す情報を登録する登録手段と、指定手
段で指定されたコンフィグレーションデータの種類と登
録手段に登録された種類の一致・不一致を判定する判定
手段とを設け、データ書き込み手段は、判定手段で不一
致と判定されたときのみデータの書き込みを行うように
するとともに、起動手段は、判定手段で不一致と判定さ
れたとき、データ書き込み手段による書換可能PLDへ
のコンフィグレーションデータの書き込み完了後、書換
可能PLDを起動してデータ逆変換を行わせ、判定手段
で一致すると判定されたとき、そのまま書換可能PLD
を起動してデータ逆変換を行わせるように構成したか
ら、複数種のデータ逆変換を1つの書換可能PLDで行
うことができ、各種類毎に専用のデータ逆変換回路を設
けるよりもデータ逆変換装置の構成を小型とでき、しか
も、或る種類の処理が指示された場合に、前回と同一の
指示であれば、コンフィグレーションデータの書き込み
を行うことなく、処理を開始できるので、処理時間が短
くて済む。
A rewritable PL that enables the data reverse conversion operation in a predetermined method according to the type of the configuration data by writing the configuration data.
D, configuration data storage means for storing a plurality of types of configuration data for data inverse conversion, activation means for activating a rewritable PLD to perform a data inverse conversion operation of a predetermined method, and starting data inverse conversion Before writing, based on the information indicating the type of the configuration data designated by the designating means, the data writing means for reading the configuration data of the type designated by the information from the configuration data storage means and writing it in the rewritable PLD is provided. In the data reverse conversion device, a registration unit that registers information indicating the type of configuration data written in the rewritable PLD, and a match / mismatch between the type of configuration data specified by the specifying unit and the type registered in the registration unit. A determination means for determining The writing unit writes the data only when the determination unit determines that the data does not match, and the activation unit, when the determination unit determines that the data does not match, the configuration data to the rewritable PLD by the data writing unit. After the writing is completed, the rewritable PLD is activated to perform the data reverse conversion, and when the determining means determines that they match, the rewritable PLD is directly used.
Since it is configured to start the data reverse conversion, a plurality of types of data reverse conversion can be performed by one rewritable PLD, and it is possible to perform data reverse conversion rather than providing a dedicated data reverse conversion circuit for each type. The conversion device can be downsized, and if a certain type of processing is instructed, the processing can be started without writing the configuration data if the same instruction as the previous time is given. Can be short.

【0059】また、コンフィグレーションデータ記憶手
段には、コンフィグレーションデータを、データ逆変換
方法別で、かつ、同一方法内でのバージョン別に用意し
ておき、特定種類のコンフィグレーションデータは、特
定のデータ変換方法で、かつ、特定バージョンのデータ
を指すように構成したから、データ逆変換方法別で、か
つ、バージョン別のデータ逆変換処理が可能となる。
In the configuration data storage means, the configuration data is prepared for each data reverse conversion method and for each version within the same method, and the specific type of configuration data is the specific data. Since the conversion method is used to point to the specific version of the data, the data reverse conversion process can be performed for each data reverse conversion method and for each version.

【0060】また、予め、変換データの中に、変換で使
用したコンフィグレーションデータの種類を示す情報又
は逆変換で使用すべきコンフィグレーションデータの種
類を示す情報を含めておくようにし、そして、データ逆
変換を開始する前に、変換データから変換で使用したコ
ンフィグレーションデータの種類を示す情報又は逆変換
で使用すべきコンフィグレーションデータの種類を示す
情報を抽出し、指定手段は該抽出された情報に基づき、
コンフィグレーションデータの種類を指定するように構
成したから、データの逆変換をする際、オペレータが逆
変換で使用するコンフィグレーションデータの種類を指
定しなくても済むようになる。
Further, the conversion data should include in advance information indicating the type of configuration data used in conversion or information indicating the type of configuration data to be used in reverse conversion. Before starting reverse conversion, information indicating the type of configuration data used in conversion or information indicating the type of configuration data to be used in reverse conversion is extracted from the conversion data, and the designating means extracts the extracted information. Based on
Since it is configured to specify the type of configuration data, it becomes unnecessary for the operator to specify the type of configuration data used in the reverse conversion when performing the reverse conversion of the data.

【0061】また、コンフィグレーションデータの書き
込みで、コンフィグレーションデータの種類に応じてデ
ータ変換動作とデータ逆変換動作の任意の一方で所定の
動作が可能となる書換可能PLDと、データ変換用の1
または複数種のコンフィグレーションデータと,データ
逆変換用の1または複数種のコンフィグレーションデー
タを記憶したコンフィグレーションデータ記憶手段と、
書換可能PLDを起動して所定のデータ変換動作または
データ逆変換動作を行わしめる起動手段と、データ変換
またはデータ逆変換を開始する前に所定の指定手段で指
定されるコンフィグレーションデータの種類を示す情報
に基づき、該情報で指定された種類のコンフィグレーシ
ョンデータをコンフィグレーションデータ記憶手段から
読み出して書換可能PLDに書き込むデータ書き込み手
段を有するデータ変換/逆装置において、書換可能PL
Dに書き込んだコンフィグレーションデータの種類を示
す情報を登録する登録手段と、指定手段で指定されたコ
ンフィグレーションデータの種類と登録手段に登録され
た種類の一致・不一致を判定する判定手段とを設け、デ
ータ書き込み手段は、判定手段で不一致と判定されたと
きのみデータの書き込みを行うようにするとともに、起
動手段は、判定手段で不一致と判定されたとき、データ
書き込み手段による書換可能PLDへのコンフィグレー
ションデータの書き込み完了後、書換可能PLDを起動
してデータ変換またはデータ逆変換を行わせ、判定手段
で一致すると判定されたとき、そのまま書換可能PLD
を起動してデータ変換または逆変換を行わせるように構
成したから、1又は複数種のデータ変換と、1又は複数
種のデータ逆変換を1つの書換可能PLDで行うことが
でき、各種類毎に専用のデータ変換回路やデータ逆変換
回路を設けるよりもデータ変換/逆変換装置の構成を小
型とでき、しかも、或る種類の処理が指示された場合
に、前回と同一の指示であれば、コンフィグレーション
データの書き込みを行うことなく、処理を開始できるの
で、処理時間が短くて済む。
Further, by writing the configuration data, a rewritable PLD capable of performing a predetermined operation in any one of a data conversion operation and a data inverse conversion operation according to the type of the configuration data, and a data conversion 1
Alternatively, a plurality of types of configuration data and a configuration data storage unit that stores one or more types of configuration data for data reverse conversion,
An activation means for activating the rewritable PLD to perform a predetermined data conversion operation or a data inverse conversion operation, and a type of configuration data specified by a predetermined specification means before starting the data conversion or the data inverse conversion are shown. A rewritable PL is provided in a data conversion / inversion device having a data writing unit that reads configuration data of a type specified by the information from the configuration data storage unit and writes the rewritable PLD based on the information.
The registration means for registering the information indicating the type of the configuration data written in D, and the determination means for determining whether the type of the configuration data designated by the designating means and the type registered in the registering means match or do not match are provided. The data writing unit writes the data only when the determination unit determines that the data does not match, and the activation unit configures the rewritable PLD by the data writing unit when the determination unit determines that the data does not match. After the completion of writing the relation data, the rewritable PLD is activated to perform the data conversion or the data reverse conversion, and when the determination means determines that they match, the rewritable PLD is used as it is.
Is configured to perform data conversion or inverse conversion, one or more types of data conversion and one or more types of data inverse conversion can be performed by one rewritable PLD. It is possible to make the configuration of the data conversion / inverse conversion apparatus smaller than providing a dedicated data conversion circuit or data inverse conversion circuit in the above, and when a certain type of processing is instructed, Since the processing can be started without writing the configuration data, the processing time can be shortened.

【0062】また、コンフィグレーションデータ記憶手
段には、コンフィグレーションデータを、データ変換方
法別で、かつ、同一方法内でのバージョン別に用意して
おくとともに、データ逆変換方法別で、かつ、同一方法
内でのバージョン別に用意しておき、特定種類のコンフ
ィグレーションデータは、特定のデータ変換方法または
データ逆変換方法で、かつ、特定バージョンのデータを
指すように構成したから、データ変換方法別で、かつ、
バージョン別のデータ変換処理が可能となり、また、デ
ータ逆変換方法別で、かつ、バージョン別のデータ逆変
換処理が可能となる。
Further, the configuration data storage means prepares the configuration data for each data conversion method and for each version within the same method, and also for each data reverse conversion method and the same method. Prepared for each version within, and the specific type of configuration data is configured by a specific data conversion method or a data reverse conversion method, and is configured to point to a specific version of the data. And,
It is possible to perform data conversion processing for each version, and it is also possible to perform data inverse conversion processing for each version and for each data inverse conversion method.

【0063】また、書換可能PLDで変換された変換デ
ータの中に、変換で使用したコンフィグレーションデー
タの種類を示す情報又は逆変換で使用すべきコンフィグ
レーションデータの種類を示す情報を含めておくように
し、そして、データ逆変換を開始する前に、変換データ
から変換で使用したコンフィグレーションデータの種類
を示す情報又は逆変換で使用すべきコンフィグレーショ
ンデータの種類を示す情報を抽出し、指定手段は該抽出
された情報に基づき、コンフィグレーションデータの種
類を指定するように構成したから、オペレータがデータ
変換に使用したコンフィグレーションデータの種類を管
理したり、逆変換をする際に、逆変換で使用するコンフ
ィグレーションデータの種類を指定する操作をしなくて
済む。
In addition, the conversion data converted by the rewritable PLD should include information indicating the type of configuration data used in conversion or information indicating the type of configuration data to be used in reverse conversion. Then, before starting the data reverse conversion, the information indicating the type of the configuration data used in the conversion or the information indicating the type of the configuration data to be used in the reverse conversion is extracted from the conversion data, and the designation means is Since it is configured to specify the type of configuration data based on the extracted information, it is used in reverse conversion when the operator manages the type of configuration data used for data conversion or when performing reverse conversion. You do not need to specify the type of configuration data to use.

【0064】また、コンフィグレーションデータに、書
換可能PLDの一部に、コンフィグレーションデータの
種類を示す情報を読み出し自在に保持する保持部を形成
させることの可能なデータを含め、該保持部で前記登録
手段の代わりをさせるように構成したから、書換可能P
LDの外部に登録手段を設ける必要が無くなり、一層、
装置の小型化を図れる。
In addition, the configuration data includes data capable of forming a holding portion for holding the information indicating the type of the configuration data in a rewritable manner in a part of the rewritable PLD. Rewritable because it is configured to replace the registration means
There is no need to provide registration means outside the LD,
The size of the device can be reduced.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の実施例構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】圧縮/復元部の構成図である。FIG. 3 is a configuration diagram of a compression / decompression unit.

【図4】コンフィグレーションデータ記憶部に記憶され
たデータの説明図である。
FIG. 4 is an explanatory diagram of data stored in a configuration data storage unit.

【図5】画像圧縮/復元装置の処理を示す第1の流れ図
である。
FIG. 5 is a first flowchart showing the processing of the image compression / decompression device.

【図6】画像圧縮/復元装置の処理を示す第2の流れ図
である。
FIG. 6 is a second flowchart showing the processing of the image compression / decompression device.

【図7】画像圧縮/復元装置の処理を示す第3の流れ図
である。
FIG. 7 is a third flowchart showing the processing of the image compression / decompression device.

【図8】圧縮データに附加される情報の説明図である。FIG. 8 is an explanatory diagram of information added to compressed data.

【図9】従来の画像圧縮/復元装置の全体構成図であ
る。
FIG. 9 is an overall configuration diagram of a conventional image compression / decompression device.

【図10】圧縮/復元部の構成図である。FIG. 10 is a configuration diagram of a compression / decompression unit.

【図11】書換可能FPGAで具現される圧縮回路の一
例を示す構成図である。
FIG. 11 is a configuration diagram showing an example of a compression circuit implemented by a rewritable FPGA.

【図12】圧縮処理の説明図である。FIG. 12 is an explanatory diagram of a compression process.

【図13】書換可能FPGAで具現される復元回路の一
例を示す構成図である。
FIG. 13 is a configuration diagram showing an example of a restoration circuit implemented by a rewritable FPGA.

【図14】復元処理の説明図である。FIG. 14 is an explanatory diagram of a restoration process.

【符号の説明】[Explanation of symbols]

108 データ処理制御部 108A 指示手段 110 圧縮/復元部 112 圧縮データ保持部 120 処理指示部 120A 起動手段 122 書換可能FPGA 122A 書換可能PLD 124 コンフィグレーションデータ記憶部 128 データ書き込み部 130 登録部 132 判定部 108 data processing control section 108A instruction means 110 compression / decompression section 112 compressed data holding section 120 processing instruction section 120A starting means 122 rewritable FPGA 122A rewritable PLD 124 configuration data storage section 128 data writing section 130 registration section 132 determination section

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 コンフィグレーションデータの書き込み
で、コンフィグレーションデータの種類に応じたデータ
変換動作が可能となる書換可能PLD(122,122
A)と、データ変換用の複数種のコンフィグレーション
データを記憶したコンフィグレーションデータ記憶手段
(124)と、書換可能PLD(122,122A)を
起動して所定のデータ変換動作を行わしめる起動手段
(120,120A)と、データ変換を開始する前に所
定の指定手段で指定されるコンフィグレーションデータ
の種類を示す情報に基づき、該情報で指定された種類の
コンフィグレーションデータをコンフィグレーションデ
ータ記憶手段から読み出して書換可能PLD(122,
122A)に書き込むデータ書き込み手段(128)を
有するデータ変換装置において、 前回、書換可能PLD(122,122A)に書き込ん
だコンフィグレーションデータの種類を示す情報を登録
する登録手段(130)と、 今回指定手段(108,108A)で指定されたコンフ
ィグレーションデータの種類と登録手段(130)に登
録された種類の一致・不一致を判定する判定手段(13
2)とを設け、 前記データ書き込み手段(128)は、判定手段(13
2)で不一致と判定されたときのみデータの書き込みを
行うようにするとともに、 起動手段(120,120A)は、判定手段(132)
で不一致と判定されたとき、データ書き込み手段(12
8)による書換可能PLD(122,122A)へのコ
ンフィグレーションデータの書き込み完了後、書換可能
PLD(122,122A)を起動してデータ変換を行
わせ、判定手段(132)で一致すると判定されたと
き、そのまま書換可能PLD(122,122A)を起
動してデータ変換を行わせるようにしたこと、 を特徴とするデータ変換装置。
1. A rewritable PLD (122, 122) capable of performing a data conversion operation according to the type of configuration data by writing the configuration data.
A), a configuration data storage means (124) storing a plurality of types of configuration data for data conversion, and a starting means (a means for starting a rewritable PLD (122, 122A) to perform a predetermined data conversion operation ( 120, 120A) and information indicating the type of configuration data designated by a predetermined designating means before starting data conversion, the configuration data of the type designated by the information is stored in the configuration data storing means. Readable and rewritable PLD (122,
In the data converter having the data writing means (128) for writing to the 122A), the registration means (130) for registering the information indicating the type of the configuration data written to the rewritable PLD (122, 122A) last time, and the present designation Judgment means (13) for judging whether the type of the configuration data designated by the means (108, 108A) matches the type registered in the registration means (130).
2) and the data writing means (128) is provided with a judging means (13).
The data is written only when it is determined that they do not match in 2), and the activation means (120, 120A) is the determination means (132).
When it is determined that they do not match, the data writing means (12
After the writing of the configuration data to the rewritable PLD (122, 122A) by 8) is completed, the rewritable PLD (122, 122A) is activated to perform data conversion, and it is determined by the determination means (132) that they match. At this time, the rewritable PLD (122, 122A) is activated as it is to perform data conversion.
【請求項2】 コンフィグレーションデータ記憶手段
(124)には、コンフィグレーションデータを、デー
タ変換方法別で、かつ、同一方法内でのバージョン別に
用意しておき、 特定種類のコンフィグレーションデータは、特定のデー
タ変換方法で、かつ、特定バージョンのデータを指すよ
うにしたこと、 を特徴とする請求項1記載のデータ変換装置。
2. The configuration data storage means (124) prepares configuration data for each data conversion method and for each version within the same method, and the specific type of configuration data is specified. 2. The data conversion device according to claim 1, wherein the data conversion method is used, and a specific version of the data is pointed out.
【請求項3】 書換可能PLD(122)の一部に、コ
ンフィグレーションデータの種類を示す情報を読み出し
自在に保持する保持部を形成させることの可能なデータ
を含め、該保持部で前記登録手段(130)の代わりを
させること、特徴とする請求項1記載のデータ変換装
置。
3. The rewritable PLD (122) includes, in a part of the rewritable PLD (122), data capable of forming a holding section for holding the information indicating the type of the configuration data in a readable manner, and in the holding section, the registration means. The data conversion device according to claim 1, wherein the data conversion device replaces (130).
【請求項4】 コンフィグレーションデータの書き込み
で、コンフィグレーションデータの種類に応じた所定方
式でのデータ逆変換動作が可能となる書換可能PLD
(122)と、データ逆変換用の複数種のコンフィグレ
ーションデータを記憶したコンフィグレーションデータ
記憶手段(124)と、書換可能PLD(122)を起
動して所定方式のデータ逆変換動作を行わしめる起動手
段(120)と、データ逆変換を開始する前に指定手段
(108)で指定されるコンフィグレーションデータの
種類を示す情報に基づき、該情報で指定された種類のコ
ンフィグレーションデータをコンフィグレーションデー
タ記憶手段(124)から読み出して書換可能PLD
(122)に書き込むデータ書き込み手段(128)を
有するデータ逆変換装置において、 書換可能PLD(122)に書き込んだコンフィグレー
ションデータの種類を示す情報を登録する登録手段(1
30)と、 指定手段(108)で指定されたコンフィグレーション
データの種類と登録手段(130)に登録された種類の
一致・不一致を判定する判定手段(132)とを設け、 前記データ書き込み手段(128)は、判定手段(13
2)で不一致と判定されたときのみデータの書き込みを
行うようにするとともに、 起動手段(120)は、判定手段(132)で不一致と
判定されたとき、データ書き込み手段(128)による
書換可能PLD(122)へのコンフィグレーションデ
ータの書き込み完了後、書換可能PLD(122)を起
動してデータ逆変換を行わせ、判定手段(132)で一
致すると判定されたとき、そのまま書換可能PLD(1
22)を起動してデータ逆変換を行わせるようにしたこ
と、 を特徴とするデータ逆変換装置。
4. A rewritable PLD capable of performing a data reverse conversion operation in a predetermined method according to the type of configuration data by writing the configuration data.
(122), a configuration data storage means (124) storing a plurality of types of configuration data for data reverse conversion, and a rewritable PLD (122) for starting a data reverse conversion operation of a predetermined method. Based on the information indicating the type of the configuration data designated by the means (120) and the designating means (108) before starting the data reverse conversion, the configuration data of the type designated by the information is stored in the configuration data. Rewritable PLD read from the means (124)
In a data inverse conversion device having a data writing means (128) for writing in (122), a registration means (1 for registering information indicating the type of configuration data written in the rewritable PLD (122).
30) and a judging means (132) for judging whether or not the type of the configuration data designated by the designating means (108) and the type registered in the registering means (130) are matched, the data writing means ( 128) is the determination means (13
The data is written only when it is determined that they do not match in 2), and the activation means (120) is a rewritable PLD by the data writing means (128) when the determination means (132) determines that they do not match. After the writing of the configuration data to the (122) is completed, the rewritable PLD (122) is activated to perform the data reverse conversion, and when the determination means (132) determines that they match, the rewritable PLD (1
22) The data reverse conversion device is characterized in that it activates 22) to perform reverse data conversion.
【請求項5】 コンフィグレーションデータ記憶手段
(124)には、コンフィグレーションデータを、デー
タ逆変換方法別で、かつ、同一方法内でのバージョン別
に用意しておき、 特定種類のコンフィグレーションデータは、特定のデー
タ逆変換方法で、かつ、特定バージョンのデータを指す
ようにしたこと、 を特徴とする請求項4記載のデータ逆変換装置。
5. The configuration data storage means (124) prepares configuration data for each data reverse conversion method and for each version within the same method. The data inverse conversion device according to claim 4, wherein a specific data inverse conversion method and a specific version of the data are pointed out.
【請求項6】 予め、変換データの中に、変換で使用し
たコンフィグレーションデータの種類を示す情報、又は
逆変換で使用すべきコンフィグレーションデータの種類
を示す情報を含めておくようにし、かつ、 データ逆変換を開始する前に、変換データから変換で使
用したコンフィグレーションデータの種類を示す情報又
は逆変換で使用すべきコンフィグレーションデータの種
類を示す情報を抽出し、指定手段(108)へ出力する
種類情報抽出手段(108)を設け、 指定手段(108)は、種類情報抽出手段(108)か
らの入力に基づき、コンフィグレーションデータの種類
を指定するようにしたこと、 を特徴とする請求項4記載の逆変換装置。
6. The conversion data should include in advance information indicating the type of configuration data used in conversion or information indicating the type of configuration data to be used in reverse conversion, and Before starting the data reverse conversion, information indicating the type of configuration data used in the conversion or information indicating the type of configuration data to be used in the reverse conversion is extracted from the converted data and output to the designating means (108). A type information extracting means (108) for performing the setting is provided, and the designating means (108) is configured to specify the type of the configuration data based on an input from the type information extracting means (108). 4. The inverse conversion device according to 4.
【請求項7】 書換可能PLD(122)の一部にコン
フィグレーションデータの種類を示す情報を読み出し自
在に保持する保持部を形成させることの可能なデータを
含め、該保持部で前記登録手段(130)の代わりをさ
せること、 特徴とする請求項4記載のデータ逆変換装置。
7. The rewritable PLD (122) includes data capable of forming a holding portion for holding information indicating the type of configuration data in a readable manner in a part of the rewritable PLD (122), and the holding portion stores the registration means ( The data inversion device according to claim 4, wherein the data inversion device is replaced with 130).
【請求項8】 コンフィグレーションデータの書き込み
で、コンフィグレーションデータの種類に応じてデータ
変換動作とデータ逆変換動作の任意の一方で所定の動作
が可能となる書換可能PLD(122)と、データ変換
用の1または複数種のコンフィグレーションデータと,
データ逆変換用の1または複数種のコンフィグレーショ
ンデータを記憶したコンフィグレーションデータ記憶手
段(124)と、書換可能PLD(122)を起動して
所定のデータ変換動作またはデータ逆変換動作を行わし
める起動手段(132)と、データ変換またはデータ逆
変換を開始する前に所定の指定手段(108)で指定さ
れるコンフィグレーションデータの種類を示す情報に基
づき、該情報で指定された種類のコンフィグレーション
データをコンフィグレーションデータ記憶手段(12
4)から読み出して書換可能PLD(122)に書き込
むデータ書き込み手段(128)を有するデータ変換/
逆装置において、 書換可能PLD(122)に書き込んだコンフィグレー
ションデータの種類を示す情報を登録する登録手段(1
30)と、 指定手段(108)で指定されたコンフィグレーション
データの種類と登録手段(130)に登録された種類の
一致・不一致を判定する判定手段(132)とを設け、 前記データ書き込み手段(128)は、判定手段(13
2)で不一致と判定されたときのみデータの書き込みを
行うようにするとともに、 起動手段(120)は、判定手段(132)で不一致と
判定されたとき、データ書き込み手段による書換可能P
LD(122)へのコンフィグレーションデータの書き
込み完了後、書換可能PLD(122)を起動してデー
タ変換またはデータ逆変換を行わせ、判定手段(13
2)で一致すると判定されたとき、そのまま書換可能P
LD(122)を起動してデータ変換または逆変換を行
わせるようにしたこと、 を特徴とするデータ変換/逆変換装置。
8. A rewritable PLD (122) capable of performing a predetermined operation in any one of a data conversion operation and a data inverse conversion operation according to the type of the configuration data by writing the configuration data, and a data conversion. One or more types of configuration data for
A configuration data storage means (124) storing one or a plurality of types of configuration data for data inverse conversion and a rewritable PLD (122) are activated to start a predetermined data conversion operation or data inverse conversion operation. Based on the means (132) and the information indicating the type of the configuration data designated by the predetermined designation means (108) before starting the data conversion or the data reverse conversion, the configuration data of the type designated by the information Configuration data storage means (12
4) Data conversion / reading having a data writing means (128) for reading from the PLD (122)
In the reverse device, a registration unit (1 that registers information indicating the type of configuration data written in the rewritable PLD (122).
30) and a judging means (132) for judging whether or not the type of the configuration data designated by the designating means (108) and the type registered in the registering means (130) are matched, the data writing means ( 128) is the determination means (13
The data is written only when it is determined that they do not match in 2), and the activating means (120) is rewritable by the data writing means when the determination means (132) determines that they do not match.
After the writing of the configuration data to the LD (122) is completed, the rewritable PLD (122) is activated to perform data conversion or data reverse conversion, and the determination means (13
If it is determined in 2) that they match, rewriting is possible as is.
A data conversion / inverse conversion device, characterized in that the LD (122) is activated to perform data conversion or inverse conversion.
【請求項9】 コンフィグレーションデータ記憶手段
(124)には、コンフィグレーションデータを、デー
タ変換方法別で、かつ、同一方法内でのバージョン別に
用意しておくとともに、データ逆変換方法別で、かつ、
同一方法内でのバージョン別に用意しておき、 特定種類のコンフィグレーションデータは、特定のデー
タ変換方法またはデータ逆変換方法で、かつ、特定バー
ジョンのデータを指すようにしたこと、 を特徴とする請求項8記載のデータ変換/逆変換装置。
9. The configuration data storage means (124) prepares configuration data for each data conversion method and for each version within the same method, and for each data reverse conversion method, and ,
Prepared for each version within the same method, and the specific type of configuration data is a specific data conversion method or a data reverse conversion method, and refers to a specific version of the data. Item 8. The data conversion / inversion device according to item 8.
【請求項10】 データ逆変換用の複数種のコンフィグ
レーションデータがコンフィグレーションデータ記憶手
段(124)に用意されているとき、書換可能PLD
(122)で変換された変換データの中に、変換で使用
したコンフィグレーションデータの種類を示す情報又は
逆変換で使用すべきコンフィグレーションデータの種類
を示す情報を含めておくようにし、 データ逆変換を開始する前に、変換データから変換で使
用したコンフィグレーションデータの種類を示す情報又
は逆変換で使用すべきコンフィグレーションデータの種
類を示す情報を抽出し、指定手段(108)へ出力する
種類情報抽出手段(108)を設け、 指定手段(108)は、種類情報抽出手段(108)か
らの入力に基づき、コンフィグレーションデータの種類
を指定するようにしたこと、 を特徴とする請求項8記載のデータ変換/逆変換装置。
10. A rewritable PLD when a plurality of types of configuration data for reverse data conversion are prepared in a configuration data storage means (124).
In the conversion data converted in (122), information indicating the type of configuration data used in conversion or information indicating the type of configuration data to be used in reverse conversion should be included, and the data reverse conversion may be performed. Before starting, type information for extracting from the conversion data information indicating the type of configuration data used in the conversion or information indicating the type of configuration data to be used in the reverse conversion and outputting it to the designating means (108) The extraction means (108) is provided, and the designating means (108) is configured to designate the type of the configuration data based on an input from the type information extracting means (108). Data conversion / inverse conversion device.
【請求項11】 書換可能PLD(122)の一部にコ
ンフィグレーションデータの種類を示す情報を読み出し
自在に保持する保持部を形成させることの可能なデータ
を含め、該保持部で前記登録手段(130)の代わりを
させること、 特徴とする請求項8記載のデータ変換/逆変換装置。
11. A rewritable PLD (122) including a data capable of forming a holding unit for holding information indicating a type of configuration data in a part of the rewritable PLD (122), and the holding unit includes the registration unit ( The data conversion / inverse conversion device according to claim 8, wherein the device is replaced with 130).
JP18793192A 1992-07-15 1992-07-15 Data conversion / inversion converter Expired - Fee Related JP3195427B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18793192A JP3195427B2 (en) 1992-07-15 1992-07-15 Data conversion / inversion converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18793192A JP3195427B2 (en) 1992-07-15 1992-07-15 Data conversion / inversion converter

Publications (2)

Publication Number Publication Date
JPH0635663A true JPH0635663A (en) 1994-02-10
JP3195427B2 JP3195427B2 (en) 2001-08-06

Family

ID=16214696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18793192A Expired - Fee Related JP3195427B2 (en) 1992-07-15 1992-07-15 Data conversion / inversion converter

Country Status (1)

Country Link
JP (1) JP3195427B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5721021A (en) * 1995-10-11 1998-02-24 Anelva Corporation Method of depositing titanium-containing conductive thin film
US5855685A (en) * 1995-10-09 1999-01-05 Anelva Corporation Plasma enhanced CVD apparatus, plasma enhanced processing apparatus and plasma enhanced CVD method
US5891349A (en) * 1995-10-11 1999-04-06 Anelva Corporation Plasma enhanced CVD apparatus and process, and dry etching apparatus and process
JP2010206704A (en) * 2009-03-05 2010-09-16 Canon Inc Image processing apparatus, control method for the same, and program
JP2015053594A (en) * 2013-09-06 2015-03-19 富士機械製造株式会社 COMMUNICATION SYSTEM, ELECTRONIC COMPONENT MOUNTING APPARATUS AND COMPRESSION PROCESSING METHOD FOR COMMUNICATION SYSTEM

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5855685A (en) * 1995-10-09 1999-01-05 Anelva Corporation Plasma enhanced CVD apparatus, plasma enhanced processing apparatus and plasma enhanced CVD method
US5721021A (en) * 1995-10-11 1998-02-24 Anelva Corporation Method of depositing titanium-containing conductive thin film
US5891349A (en) * 1995-10-11 1999-04-06 Anelva Corporation Plasma enhanced CVD apparatus and process, and dry etching apparatus and process
JP2010206704A (en) * 2009-03-05 2010-09-16 Canon Inc Image processing apparatus, control method for the same, and program
JP2015053594A (en) * 2013-09-06 2015-03-19 富士機械製造株式会社 COMMUNICATION SYSTEM, ELECTRONIC COMPONENT MOUNTING APPARATUS AND COMPRESSION PROCESSING METHOD FOR COMMUNICATION SYSTEM

Also Published As

Publication number Publication date
JP3195427B2 (en) 2001-08-06

Similar Documents

Publication Publication Date Title
EP0030437B1 (en) Method and apparatus for compression and decompression of digital image data
US7071848B1 (en) Hardware-friendly general purpose data compression/decompression algorithm
JP4094081B2 (en) Method and apparatus for double run length encoding of binary data
WO1997005737A1 (en) Sliding window with big gap data compression system
JP3195427B2 (en) Data conversion / inversion converter
US4800440A (en) Digital image signal coding/decoding circuit with buffer memory storing reference line as compression codes
JPH09121170A (en) Method and device for performing compression and restorationof digital picture signal
US6028962A (en) System and method for variable encoding based on image content
JPH09154021A (en) Device and method for controlling printing
JP2634793B2 (en) Color image signal encoding device
JP2859507B2 (en) Image data compression / decompression method and apparatus
JP3082930B2 (en) Image processing device
JP3653226B2 (en) Data compression method and apparatus using embedded run length coding
JPH09109461A (en) Decompressor for compressed binary image data
JP3131881B2 (en) Packing / depacking circuit
US5367299A (en) Method for 5-bit chunk encoding of bit serial data by a data processor handling data in 8-bit byte segments
JPH05341955A (en) Data compression and restoration system
JP2578871B2 (en) Data processing method
JPH0930058A (en) Terminal device
JPS6132867B2 (en)
JPS6130796B2 (en)
JP2006086676A (en) Image processor
JPS63157567A (en) Run length coding device
JP2008153779A (en) Encoding device, encoding method, program, and recording method thereof
JPH08163203A (en) Real-time data compression transmission method and compressed data reception method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010522

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

Free format text: PAYMENT UNTIL: 20090601

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100601

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees