JPH0363846A - Look-up table device - Google Patents

Look-up table device

Info

Publication number
JPH0363846A
JPH0363846A JP1200701A JP20070189A JPH0363846A JP H0363846 A JPH0363846 A JP H0363846A JP 1200701 A JP1200701 A JP 1200701A JP 20070189 A JP20070189 A JP 20070189A JP H0363846 A JPH0363846 A JP H0363846A
Authority
JP
Japan
Prior art keywords
memory
data
lut
luts
signal
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.)
Pending
Application number
JP1200701A
Other languages
Japanese (ja)
Inventor
Hideaki Kimura
秀明 木村
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP1200701A priority Critical patent/JPH0363846A/en
Publication of JPH0363846A publication Critical patent/JPH0363846A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To reduce the number of signal lines to make access a look-up table(LUT) by storing at least two LUTs in one memory, and making access those plural LUTs in time division. CONSTITUTION:The device is equipped with a data selector 12, a memory 14 to store first and second LUTs, a latch circuit 16 to latch the output of the first LUT, and a latch circuit 18 to latch the output of the second LUT. Also, it is equipped with a bidirectional buffer 20 to transmit data to be transmitted to a central processing unit (CPU) and data to be written on the memory 14 from the CPU. And an input signal to one of the plural LUTs is selected sequentially with the data selector 12, and the data is read out from a selected LUT, and after it is held with the latch circuit transiently, it is outputted sequentially at need to the next processing circuit, and access to the plural LUTs are performed sequentially in time division. In such a way, it is possible to reduce the number of signal lines to make access the plural LUTs.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、ル・Iクアップテーブル装置に関し、より詳
細には、画像処理回路を構成する要素として用いられる
複数のルックアップテーブルを1つのメモリに有するル
ックアップテーブル装置に関するや 〈従来の技術〉 画像読取装置や画像読取記録装置などにおいては、光電
子増倍管(フォトマルチプライヤ)、撮像管およびCC
Dなどの固体撮像素子等を用いて、原稿画像を読み取っ
た後に、読み取られた画像信号を画像処理装置において
種々の画像処理を行った後に適当な画像記録装置によっ
て感光材料や感光体等の記録材料に記録している。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a lookup table device, and more specifically, the present invention relates to a lookup table device that stores a plurality of lookup tables used as elements constituting an image processing circuit in one memory. <Prior art> Regarding look-up table devices included in image reading devices, image reading/recording devices, etc., photomultiplier tubes, image pickup tubes, and CC
After reading the original image using a solid-state image sensor such as D, the read image signal is subjected to various image processing in an image processing device, and then recorded on a photosensitive material or photoconductor by an appropriate image recording device. recorded in the material.

例えば、写真やフィルムなどの連続階調画像の原稿をC
ODで読み取って電気信号に変換した後、網点階調画像
を有する印刷用フィルムなどを作製するスキャナーなど
の画像読取記録装置においては、CCDで読み取った画
像信号を画像処理装置において、ゲイン補正などのアナ
ログ補正後、A/D変換し、シェーディング補正や暗時
補正などのCOD補正をし、次いで、対数変換、階調変
換、倍率変換、平滑化、鮮鋭化などの各処理後、網掛処
理して、網点画像信号とし、この網点画像信号を画像記
録装置において、光源の発光信号に変調してフィルム上
に網点画像を再生している。
For example, if an original with continuous tone images such as photographs or film is
In image reading/recording devices such as scanners that produce printing films with halftone images after reading them with an OD and converting them into electrical signals, the image signals read with a CCD are processed by an image processing device such as gain correction, etc. After analog correction, A/D conversion is performed, COD correction such as shading correction and dark correction is performed, and then after each processing such as logarithmic conversion, gradation conversion, magnification conversion, smoothing, sharpening, etc., shading processing is performed. The halftone dot image signal is modulated into a light emission signal from a light source in an image recording device to reproduce a halftone dot image on the film.

このような画像処理装置や画像記録装置の変調処理装置
(以下、総称して画像処理装置という)においては、あ
る入力信号に対応して予め定められたデータを迅速かつ
簡便に読み出すために、多数のルックアップテーブル(
LUT)が用いられている。 従来、これらのルックア
ップテーブル(LUT)は、それぞれ1つずつ個々のメ
モリに格納されていた。
In such image processing devices and modulation processing devices of image recording devices (hereinafter collectively referred to as image processing devices), a large number of Lookup table (
LUT) is used. Traditionally, each of these look-up tables (LUTs) was stored in a separate memory.

また、このような画像処理装置においては、複数の画像
処理を行う回路をゲートアレイ方式等でIC化して複数
の異なる画像処理を行うことのできる高集積化画像処理
回路が用いられている。
In addition, such image processing apparatuses use highly integrated image processing circuits that are capable of performing a plurality of different image processes by converting a circuit that performs a plurality of image processes into an IC using a gate array method or the like.

〈発明が解決しようとする課題〉 ところで、1つのLUTに対し1つのメモリを用いると
、多数のLUTを用いる場合、メモリの周辺回路、例え
ば中央処理装置(CPU)からデータを書いたりするた
めの周辺回路などが数多くなり、回路構成が大変になる
<Problems to be Solved by the Invention> By the way, if one memory is used for one LUT, if a large number of LUTs are used, the memory peripheral circuit, for example, the central processing unit (CPU), will not be able to write data. The number of peripheral circuits increases, making the circuit configuration difficult.

例えば、前記画像処理回路をゲートアレイ等でIC化し
ようとする際に、LUTを格納したメモリも一緒にIC
化しようとすると、ICが高いものになり、回路構成全
体のコストが高くなってしまう。
For example, when trying to convert the image processing circuit into an IC using a gate array or the like, the memory storing the LUT is also integrated into the IC.
If you try to do this, the IC will become expensive and the cost of the entire circuit configuration will increase.

このため、従来は、LUTを格納するメモリは、ICの
外部に配置されていた。 と こ ろで、多数のLUT
を用いる画像処理装置において、1つのLUTを1つの
メモリに格納し、複数の処理回路をゲートアレイ等によ
りIC化しようとすると、ICと外付はメモリとを接続
するデータラインやアドレスラインの信号線などがそれ
ぞれのメモリに対して必要となり、接続するためのビン
数が不足し、IC化できる回路規模が制限されてしまう
という問題がある。
For this reason, conventionally, the memory that stores the LUT has been placed outside the IC. By the way, many LUTs
In an image processing device that uses , when one LUT is stored in one memory and multiple processing circuits are integrated into an IC using a gate array, etc., the data line and address line signals connecting the IC and external memory are There is a problem in that wires and the like are required for each memory, the number of bins for connection is insufficient, and the circuit scale that can be integrated into an IC is limited.

例えば、1つのLUTにアクセスするための信号線がN
本必要な場合には、2個のLLITの場合は2N本、M
個のLUTを用いる場合にはM−N本の信号線が必要と
なり、IC化する際にICのピン数が不足してしまう。
For example, the number of signal lines to access one LUT is N.
If this is required, 2N for 2 LLITs, M
When using three LUTs, M−N signal lines are required, and when integrated into an IC, the number of IC pins becomes insufficient.

また、最近、LUTを格納するためのメモリの容量が大
きくなってきており、非常に小さなLUTに個々にメモ
リチップを配置するのは、コストダウンの妨げとなって
いる。
Furthermore, recently, the capacity of memory for storing LUTs has been increasing, and arranging individual memory chips in very small LUTs is an impediment to cost reduction.

本発明の目的は、上記従来技術の問題点を解消し、1つ
のメモリに少なくとも2つのLUTを格納し、時分割で
これら複数のLUTにアクセスするように構成すること
により、LOTヘアクセスするための信号線を減らすこ
とができ、装置構成をコンパクトで安価なものとするこ
とができるばかりか、LUTを格納するメモリを外部に
配置する場合にも、複数の処理回路をゲートアレイ等に
よりIC化する際にもIC化できる回路規模を大きくで
き、必要なメモリの個数を減らすことができ、1つのI
Cの有する処理機能を増大させることができ、装置構成
全体として、例えば画像処理装置全体としてのコストを
低減させることのできるルックアップテーブル装置を提
供するにある。
An object of the present invention is to solve the problems of the prior art described above, and to access LOT by storing at least two LUTs in one memory and configuring the plurality of LUTs to be accessed in a time-sharing manner. Not only can the number of signal lines be reduced, making the device configuration compact and inexpensive, but also when arranging the memory that stores the LUT externally, multiple processing circuits can be integrated into ICs using gate arrays, etc. It is also possible to increase the scale of the circuit that can be integrated into an IC, reduce the number of required memories, and
It is an object of the present invention to provide a lookup table device that can increase the processing functions of C and reduce the cost of the entire device configuration, for example, the entire image processing device.

く課題を解決するための手段〉 上記目的を達成するために、本発明は、複数のルックア
ップテーブルを格納する1つのメモリと、この複数のル
ックアップテーブルの1つへの入力信号を選択するデー
タセレクタと、前記複数のルックアップテーブルのそれ
ぞれに対応して設けられ、それぞれのルックアップテー
ブルの出力をラッチするラッチ回路とを有することを特
徴とするルックアップテーブル装置を提供するものであ
る。
Means for Solving the Problems To achieve the above object, the present invention provides one memory that stores a plurality of lookup tables, and selects an input signal to one of the plurality of lookup tables. The present invention provides a lookup table device comprising a data selector and a latch circuit provided corresponding to each of the plurality of lookup tables and latching the output of each lookup table.

前記メモリは、2つのルックアップテーブルを格納する
のが好ましい。
Preferably, the memory stores two look-up tables.

〈発明の作用〉 本発明に係るルックアップテーブル装置は、1つのメモ
リに2つ以上のLUTを格納し、前記メモリに接続され
たデータセレクタにより複数のLUTのうちの1つへの
入力信号を順次選択し、この入力信号により選択された
LUTからデータを読み取り、このLUTからの出力デ
ータを一時的に対応するラッチ回路で保持した後に必要
に応じて順次、次の処理回路に出力することにより、あ
るいは、LUTからの出力データをCPUに人力したり
、CPUからLLITにデータを書き込んだりすること
により、複数のLUTに時分割で順次アクセスすること
ができる。
<Operation of the Invention> A lookup table device according to the present invention stores two or more LUTs in one memory, and inputs an input signal to one of the plurality of LUTs by a data selector connected to the memory. By sequentially selecting, reading data from the LUT selected by this input signal, and temporarily holding the output data from this LUT in a corresponding latch circuit, sequentially outputting it to the next processing circuit as necessary. Alternatively, a plurality of LUTs can be sequentially accessed in a time-sharing manner by manually inputting output data from the LUT to the CPU or writing data from the CPU to the LLIT.

従って、本発明のルックアップテーブル装置は、複数の
LUTにアクセスするための信号線の数を減らすことが
でき、また必要なメモリの個数を減らすことができ、装
置の回路構成をコンパクトで安価なものとすることがで
きる。
Therefore, the look-up table device of the present invention can reduce the number of signal lines for accessing multiple LUTs, reduce the number of required memories, and make the circuit configuration of the device compact and inexpensive. can be taken as a thing.

このため本発明のルックアップテーブル装置を用いる処
理装置、例えば画像処理装置の回路構成において、少な
いメモリを外部&:置いてゲートアレイ等によりIC化
する際に回路規模を大きくすることができ、1つのIC
の有する機能を増大させることができるので、前記処理
装置、画像処理装置の装置全体の回路構成をコンパクト
で安価なものとすることができる6〈実施態様〉 本発明に係るルックアップテーブル装置を添付の図面に
示す好適実施例に基づいて詳細に説明する。
Therefore, in the circuit configuration of a processing device using the look-up table device of the present invention, such as an image processing device, the circuit scale can be increased when a small amount of memory is placed externally and integrated into an IC using a gate array or the like. IC
6. Embodiment: A look-up table device according to the present invention is attached. A detailed description will be given based on a preferred embodiment shown in the drawings.

第1図は、本発明のルックアップテーブル装置の一実施
例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a look-up table device of the present invention.

同図に示すルックアップテーブル装置10は、データセ
レクタ12と、第1のルックアップテーブル(以下、L
UTとする)とi2のLUTとの2つのLUTを格納す
るメモリ14と、第1のLUTの出力をラッチするラッ
チ回路16と、第2のLOTの出力をラッチするラッチ
回路18と、図示しないCPUへ伝送するデータおよび
前記CPUからメモリ14に書き込むデータを伝送する
双方向バッファ2oとを有する。
The lookup table device 10 shown in the figure includes a data selector 12 and a first lookup table (hereinafter referred to as L
A memory 14 that stores two LUTs (UT) and an LUT i2, a latch circuit 16 that latches the output of the first LUT, and a latch circuit 18 that latches the output of the second LUT, not shown. It has a bidirectional buffer 2o that transmits data to be transmitted to the CPU and data to be written from the CPU to the memory 14.

データセレクタ12は、第1のLUTへの入力信号IN
Iと、第2のLUTへの入力信号IN2と、CPU7ド
レス信号CPU ADRESSとの3つの入力信号の中
から図示しないCPUなどの指令もしくは予め定められ
た順序で順次1つの入力信号を選択し、メモリ14社伝
送するためのもので、マルチプレクサ(MUX)などの
データセレクタを用いることができる。 データセレク
タ12とメモリ14とは1組の信号線、すなわちアドレ
スラインで接続され、データセレクタ12により選択さ
れた1つの入力信号がメモリ14に伝送される。
The data selector 12 inputs an input signal IN to the first LUT.
One input signal is sequentially selected from three input signals: I, the input signal IN2 to the second LUT, and the CPU 7 address signal CPU ADRESS, according to a command from a CPU (not shown) or a predetermined order, This is for transmitting 14 memories, and a data selector such as a multiplexer (MUX) can be used. The data selector 12 and the memory 14 are connected by a set of signal lines, that is, address lines, and one input signal selected by the data selector 12 is transmitted to the memory 14.

メモリ14は、第1のLUTと第2のLUTを格納する
メモリであり、CPUなどによりその内容が書き込まれ
たり、書き変えられることがない場合はROMでもよい
が、CPUからの書き込みを考慮する必要がある場合は
RAMで構成するのがよい、  1つのメモリに2つの
LUTすなわち第1のルックアップテーブルであるLU
T 1と第2のルックアップテーブルLUT2の内容を
割り付ける方法としては、どのような方法でもよいが、
例えば、以下の表1に示すようにLUT 1およびLL
IT2の内容が8bitデータである時、アドレスデー
タを9bitとしてメモリアドレスがoooooooo
o〜011111111まではLUT 1に割り付け、
メモリアドレス100000000〜11111111
1まではLOT2に割り付ける方法などを用いることが
できる。
The memory 14 is a memory that stores the first LUT and the second LUT, and may be a ROM if its contents are not written or rewritten by the CPU, but write from the CPU is considered. If necessary, it is better to configure it in RAM. One memory has two LUTs, LU which is the first lookup table.
Any method may be used to allocate the contents of T1 and the second lookup table LUT2, but
For example, LUT 1 and LL as shown in Table 1 below
When the contents of IT2 are 8 bit data, the address data is 9 bits and the memory address is ooooooooo
Assign o to 011111111 to LUT 1,
Memory address 100000000 to 11111111
Up to 1, a method such as assigning to LOT2 can be used.

表  1 メモリの割付 ここでは、LUT 1およびLUT 2の内容を読み出
すためのアドレスデータを9bitデータとし、先頭の
Ib1tをLUT 1とLOT2のいずれのLUTを選
択するかの判別データ、例えば0であればLUT 1を
、1であればLOT2のルックアップテーブルの内容を
読み出すように構成される。 こうして読み出されるデ
ータは前述したように8bitデータである。
Table 1 Memory Allocation Here, the address data for reading the contents of LUT 1 and LUT 2 is 9-bit data, and the first Ib1t is data for determining which LUT to select between LUT 1 and LUT 2, for example, 0. If it is 1, the contents of the LUT 2 lookup table are read out. The data read in this way is 8-bit data as described above.

このように構成することにより、abitのメモリデー
タからなる2つのLUTを格納したメモリ14へのアド
レスラインは、9bitのアドレスデータを伝送する9
本の信号線であればよい。 一方、8bitのメモリデ
ータからなる2つのLUTを別々のメモリへ格納した場
合、各メモリへのアドレスデータは8bitであり、各
メモリへアクセスするため信号線はそれぞれ8木が必要
で、合計16本の信号線が必要となる。 第1図に示す
本発明のルックアップテーブル装置10のように2つの
LUTを格納した1つのメモリ14においては、アクセ
スするための信号線を9本とすることができる。
With this configuration, the address line to the memory 14 storing two LUTs consisting of abit memory data is 9 bits, which transmits 9 bits of address data.
Any real signal line will suffice. On the other hand, when two LUTs consisting of 8-bit memory data are stored in separate memories, the address data for each memory is 8 bits, and 8 signal lines are required for each memory to access each memory, for a total of 16 lines. signal lines are required. In one memory 14 storing two LUTs like the look-up table device 10 of the present invention shown in FIG. 1, the number of signal lines for access can be nine.

上記の例では、LUT 1とLOT2のメモリ量を等し
くしたけれども、本発明はこれに限定されるわけではな
く、一方を多く、他方を少なくしてもよい。
Although in the above example, the memory amounts of LUT 1 and LOT 2 are made equal, the present invention is not limited to this, and one may be increased and the other may be decreased.

また、メモリ14に格納されるLUTの数は、2つに限
定されるわけではなく、3つ以上であってもよく、メモ
リ14の容量、LUTの大きさおよび内容に応じて適宜
窓めればよいが、1つのメモリに格納するLUTの数が
多くなれば、メモリの中からある特定のLOTのデータ
を読み出すのC必要な時間が長くなる。
Further, the number of LUTs stored in the memory 14 is not limited to two, and may be three or more, and the number of LUTs stored in the memory 14 may be changed as appropriate depending on the capacity of the memory 14, the size of the LUT, and the contents. However, as the number of LUTs stored in one memory increases, the time required to read data of a particular LOT from the memory increases.

従って、本発明のルックアップテーブル装置10を低速
で動作させることが可能な場合には1つのメモリに多数
のLUTを格納させることができる。
Therefore, if the look-up table device 10 of the present invention can be operated at low speed, a large number of LUTs can be stored in one memory.

画像処理装置のように大量の画素データを処理する場合
などのように、データ処理にある程度の速度が要求され
る場合には、2つのLUTを1つのメモリに格納するの
が好ましい。
When a certain degree of speed is required for data processing, such as when an image processing device processes a large amount of pixel data, it is preferable to store two LUTs in one memory.

−aに1つのLUTヘアクセスするための信号線の本数
をN本とするとき、2つのLUTを用いる場合、従来の
装置のように、1つのLUTを1つのメモリに格納して
用いると2N木の信号線が必要であるが、本発明のルッ
クアップテーブル装置のように2つのLUTを1つのメ
モリに格納して用いるとN+1本の信号線に減らすこと
ができる。 さらに、2M個または2M−1個のLUT
を用いる場合に従来装置で必要な2M−N本または(2
M−1)  ・N本の信号線をN+M本の信号線に減ら
すことができる。
- When the number of signal lines for accessing one LUT in a is N, when two LUTs are used, if one LUT is stored in one memory and used as in a conventional device, it is 2N. Although a tree signal line is required, if two LUTs are stored in one memory and used as in the look-up table device of the present invention, the number can be reduced to N+1 signal lines. Furthermore, 2M or 2M-1 LUTs
When using 2M-N or (2
M-1) - N signal lines can be reduced to N+M signal lines.

メモリ14から延長されるデータラインはラッチ回路1
6.18および双方向バッファ20に接続される。
The data line extended from the memory 14 is the latch circuit 1.
6.18 and bidirectional buffer 20.

ラッチ回路16および18は、それぞれメモリ14から
順次出力される第1のLUT (LUTl)および第2
のLUT (LOT2)のデータを一時的に蓄えておく
回路であって、ラッチ回路16は、INIによるLLI
T 1の8bitのデータを0UTIとして出力し、ラ
ッチ回路18は、IN2によるLOT2の8bitのデ
ータを0UT2として出力する。
The latch circuits 16 and 18 are connected to a first LUT (LUTl) and a second LUT that are sequentially output from the memory 14, respectively.
The latch circuit 16 is a circuit that temporarily stores the data of the LUT (LOT2) of
The latch circuit 18 outputs the 8-bit data of T1 as 0UTI, and the latch circuit 18 outputs the 8-bit data of LOT2 by IN2 as 0UT2.

双方向バッファ20は、CPUにメモリ14からのデー
タを伝送するとともに、CPUからメモリ14に書き込
むためのデータを伝送することのできる伝送方向切換器
である。
The bidirectional buffer 20 is a transmission direction switch that can transmit data from the memory 14 to the CPU and also transmit data to be written to the memory 14 from the CPU.

ここで、本発明のルックアップテーブル装置10におい
ては、2つのLUTを格納するメモリ14を除いて、す
なわち、データセルフタ12.2つのラッチ回路16.
18および双方向バッファ20は、図示しないCPUと
一緒にゲートアレイ等によりIC化することができる。
Here, in the look-up table device 10 of the present invention, except for the memory 14 storing two LUTs, that is, the data self-fitter 12, two latch circuits 16.
18 and the bidirectional buffer 20 can be integrated into an IC using a gate array or the like together with a CPU (not shown).

この時、メモリ14とICとの間には、ICのデータセ
レクタ(MUX)12に接続される、例えば9本の信号
線からなるデータラインと2つのラッチ回路16および
18に接続される、例えば8本の信号線からなるデータ
ラインが接線される。 この他、図示しないがメモリ1
4とCPUとの間には、メモリ14からCPUへの読み
出し、またはCPUからメモリ14への書き込みを制御
するための制御ラインが接続されている。 また、図示
しないがIC内において、データセレクタ(MUX)1
2を制御するための制御ライン、ラッチ回路16および
18を制御するための制御ラインなどがタイミング制御
回路との間に接続される。 このようにCPUおよび制
御回路の構成は、従来公知の回路構成を用いることがで
きる。
At this time, between the memory 14 and the IC, a data line consisting of, for example, nine signal lines connected to the data selector (MUX) 12 of the IC and two latch circuits 16 and 18, for example, are connected to the data selector (MUX) 12 of the IC. A data line consisting of eight signal lines is tangential. In addition, although not shown, memory 1
A control line for controlling reading from the memory 14 to the CPU or writing from the CPU to the memory 14 is connected between the memory 14 and the CPU. Although not shown, in the IC, a data selector (MUX) 1
A control line for controlling the latch circuits 16 and 18, a control line for controlling the latch circuits 16 and 18, etc. are connected between the timing control circuit and the timing control circuit. As described above, conventionally known circuit configurations can be used for the configuration of the CPU and the control circuit.

本発明のルックアップテーブル装置10は、基本的に以
上のように構成されるが、以下にその作用について述べ
る。
The look-up table device 10 of the present invention is basically configured as described above, and its operation will be described below.

まず、データセレクタ(MUX)12はタイミング制御
回路からの所定の信号に基づいてINIを選択し、IN
Iから入力された先頭がOである9bitのアドレスデ
ータをメモリ14に出力する。 メモリ14ではLUT
 1からアドレスデータに応じた8bitのメそリデー
タを読み出し、ラッチ回路16へ出力し、ラッチ回路1
6で一時的に保持した後、0UT1に出力する。 一方
、タイミング制御回路からの信号が切り換ると、データ
セレクタ(MLIx)12はIN2を選択し、IN2か
ら入力された先頭が1である9bftアドレスデータを
メモリ14に出力し、メそり14ではLLJT2から5
bttのメモリデータを読み出し、ラッチ回路18へ出
力し、ラッチ回路18で一時的に保持した後、0UT2
に出力する。
First, the data selector (MUX) 12 selects INI based on a predetermined signal from the timing control circuit, and
The 9-bit address data input from I and starting with O is output to the memory 14. In memory 14, LUT
1 reads out 8-bit memory data according to the address data, outputs it to the latch circuit 16, and outputs it to the latch circuit 16.
After temporarily holding it at 6, it outputs it to 0UT1. On the other hand, when the signal from the timing control circuit switches, the data selector (MLIx) 12 selects IN2 and outputs the 9 bft address data input from IN2 with 1 at the beginning to the memory 14. LLJT2 to 5
After reading the memory data of btt and outputting it to the latch circuit 18 and temporarily holding it in the latch circuit 18, 0UT2
Output to.

こうして、データセレクタ(MUX)12はINIおよ
びIN2をタイミング制御回路の所定の信号、例えばク
ロック信号に応じて交互に時分割で入力信号を選択し、
メモリ14へ出力する。 また、ラッチ回路16と18
では、タイミング制御回路の所定の信号、例えば、クロ
ック信号に対応した信号に従って、交互にデータの一時
保持と出力とを時分割でくり返す。
In this way, the data selector (MUX) 12 alternately selects input signals from INI and IN2 in a time-division manner according to a predetermined signal of the timing control circuit, for example, a clock signal.
Output to memory 14. In addition, latch circuits 16 and 18
Then, data is alternately temporarily held and output in a time-division manner according to a predetermined signal of the timing control circuit, for example, a signal corresponding to a clock signal.

なお、データセレクタ(MUX) 12テcPU八DR
ESSが選択される場合には、この信号でアドレスが指
定され、CPUは、そのアドレスのメモリに対して双方
向バッファ20を介してデータの読み出しまたは書き込
みを行う。
In addition, data selector (MUX) 12 TE cPU 8 DR
When ESS is selected, an address is specified by this signal, and the CPU reads or writes data to the memory at that address via the bidirectional buffer 20.

第2図に、第1図に示す本発明のルックアップテーブル
装置10の具体的な回路構成の一実施例を示す、 さら
に第3図および第4図に、第2図に示すルックアップテ
ーブル装置10のそれぞれ異なる動作状態の一例のタイ
ムチャートを示す、 なお、第2図に示すルックアップ
テーブル装置10の構成要素は、タイミング制御回路2
2を除き、第1図に示すルックアップテーブル装置10
と全く同一であるので、その詳細な説明は省略する。
FIG. 2 shows an example of a specific circuit configuration of the look-up table device 10 of the present invention shown in FIG. 1, and FIGS. 3 and 4 show the look-up table device 10 shown in FIG. The components of the lookup table device 10 shown in FIG.
The look-up table device 10 shown in FIG.
Since it is exactly the same as , detailed explanation thereof will be omitted.

第2図において、データセレクタ(MUX)12のA%
BおよびCは、それぞれINI、IN2およびAort
(’M1図ではCPIJ ADRESSとして示す)の
入力側端子を示し、Yは出力側端子を示す。 また、S
l、S2は人刃先A、B、Cの選択信号(入力端子)で
ある。
In Figure 2, A% of data selector (MUX) 12
B and C are INI, IN2 and Aort respectively
(Indicated as CPIJ ADRESS in the 'M1 figure) indicates the input side terminal, and Y indicates the output side terminal. Also, S
1 and S2 are selection signals (input terminals) for the human cutting edges A, B, and C.

メモリ14&:おけるAはメモリアドレスデータ(入力
端端子)、Dはメモリデータ(出力側端子を示す。 ま
たWE、OEは、それぞれメモリ14からの読み出しお
よび書き込みのタイミング信号入力端子である。
In the memory 14&:, A indicates memory address data (input terminal), D indicates memory data (output terminal), and WE and OE are timing signal input terminals for reading and writing from the memory 14, respectively.

ラッチ回路16および18&:おけるDはメモリデータ
(入力端端子)、Qは出力データ(出力側端子)である
In the latch circuits 16 and 18 &:, D is memory data (input terminal) and Q is output data (output terminal).

双方向バッファ20のDATAは、図示しないCPUと
メモリ14との間のデータ(例えば画像データ)の伝送
を行うためのCPUとの間の入出カラインである。
DATA of the bidirectional buffer 20 is an input/output line between the CPU and the memory 14 (not shown) for transmitting data (for example, image data).

タイミング制御回路22は、MUX12、メモリ14、
ラッチ回路16および18、双方向バッファ20の信号
選択および入出力のタイミングを制御するための制御回
路である。 ここで入力側において、CLKはクロック
信号(入力側端子)、MODEはCPUアクセス動作(
MODE=0)、リアルタイム動作(MODE=1)と
を選択するモード選択信号(入力側端子)、RDおよび
WRはそれぞれCPUからのメモリ読み出し信号および
メモリ書き込み信号(入力端子)を示す、 また、出力
側において、G1およびG2は、それぞれ双方向バッフ
ァ20のCPUによるメモリ14の読み出しおよび書き
込みのデータの伝送方向制御信号(出力端子)であり、
Sl、S2は前述したようにMUX12のセレクト信号
(出力端子)、WEおよびOEは、前述したように、メ
モリ14の書き込みおよび読み出しタイミング信号、C
1およびC2は、それぞれラッチ回路16および18の
入出力のタイミング制御信号である。
The timing control circuit 22 includes a MUX 12, a memory 14,
This is a control circuit for controlling signal selection and input/output timing of the latch circuits 16 and 18 and the bidirectional buffer 20. Here, on the input side, CLK is the clock signal (input side terminal), MODE is the CPU access operation (
A mode selection signal (input side terminal) that selects between MODE=0) and real-time operation (MODE=1), RD and WR indicate the memory read signal and memory write signal (input terminal) from the CPU, respectively, and the output On the side, G1 and G2 are transmission direction control signals (output terminals) for reading and writing data from the memory 14 by the CPU of the bidirectional buffer 20, respectively;
As mentioned above, SL and S2 are the select signals (output terminals) of the MUX 12, WE and OE are the write and read timing signals of the memory 14, and C
1 and C2 are input/output timing control signals of latch circuits 16 and 18, respectively.

ここでデータセレクタであるMUX12の動作は、制御
回路22からのSlおよびS2の信号により入刃先をA
、B、Cのうちから選択し、Y出力としてメモリ14に
出力する。 選択方法の一例を表2に示す。
Here, the operation of the MUX 12, which is a data selector, is to set the cutting edge to A by signals Sl and S2 from the control circuit 22.
, B, and C and outputs it to the memory 14 as a Y output. Table 2 shows an example of the selection method.

表   2 まず、CPUによるメモリ14のLUT 1またはLU
T2の読み出しおよび書き込みを行うCPUアクセス動
作をさせる場合には、タイ主ング制御回路22ヘモード
選択信号MODE=Oが入力され、タイミング制御回路
22からMUX12へMUXセレクト信号51=O。
Table 2 First, LUT 1 or LU of memory 14 by CPU
When performing a CPU access operation for reading and writing T2, the mode selection signal MODE=O is input to the timing control circuit 22, and the MUX selection signal 51=O is input from the timing control circuit 22 to the MUX 12.

52=1が入力されている。52=1 is input.

この時、第3図C示すように、タイミング制御回路22
のメモリ読み出し信号RD、メモリ書き込み信号WEが
変化すると、RDの変化に応じG1が変化して双方向バ
ッファ20をメモリ】4からCPUヘデータが伝送され
る方向にデータ伝送方向を切換えるとともにOEが変化
してメそり14を読み出し可能な状態として、WRの変
化に応じ、G2により双方向バッファ20のデータ伝送
方向をCPUからメモリ14に向う方向に切り換えると
ともに、WEによりメモリ14を書き込み可能な状態に
する。
At this time, as shown in FIG. 3C, the timing control circuit 22
When the memory read signal RD and memory write signal WE change, G1 changes in accordance with the change in RD, and the data transmission direction is switched from the bidirectional buffer 20 to the direction in which data is transmitted from memory 4 to the CPU, and OE changes. Then, according to the change in WR, G2 switches the data transmission direction of the bidirectional buffer 20 from the CPU to the memory 14, and WE puts the memory 14 in a readable state. do.

一方、メモリ14に収納されたLUT 1とLUT2を
順次読み出すリアルタイム動作を行わせる場合には、タ
イミング制御回路22ヘモード選択信号MODE=1が
入力され、タイミング制御回路22からMUX12へ常
にMUXセレクト信号52=0が入力されている。 ま
たこの時には、タイミング制御回路22からメモリ14
ヘメモリ書き込み信号WE= 1、メモリ読み出し信号
0E=Oが常に入力されており、メそり14への書き込
みは禁止され、メモリ14からの読み出しは常時可能な
状態にされる。
On the other hand, when performing a real-time operation of sequentially reading out LUT 1 and LUT 2 stored in the memory 14, the mode selection signal MODE=1 is input to the timing control circuit 22, and the MUX selection signal 52 is always sent from the timing control circuit 22 to the MUX 12. =0 is input. Also, at this time, the timing control circuit 22
A memory write signal WE=1 and a memory read signal 0E=O are always input to the memory 14, and writing to the memory 14 is prohibited, while reading from the memory 14 is always enabled.

ここで、第4図に示すように、タイミング制御回路22
へ図示のようなりロック信号CLKが人力されると、こ
れに応じ、MUXセレクト信号S1が変化し、表2に示
すようC人刃先をA(0,INI)とB(1、lN2)
に切り換え、これに対応してタイくング制御信号C1お
よびC2が変化して、それぞれラッチ回路16および1
8の入出力を制御する。 すなわち、第4図に示すよう
に、MUXセレクト信号S1の0と1との変化に従って
メモリ14の入力端メモリAの内容が0.INIのメモ
リアドレスデータと1、IN2のメモリアドレスデータ
とに切り換わり、メモリ14の出力側およびラッチ回路
16と18の入力側のメモリDの内容がこれらのアドレ
スデータに応じて読み出された表1に示すメモリ内容す
なわちLUT 1とLOT2のデータとに切り換わる。
Here, as shown in FIG. 4, the timing control circuit 22
When the lock signal CLK is input manually as shown in the figure, the MUX select signal S1 changes accordingly, and the C blade tip is set to A (0, INI) and B (1, IN2) as shown in Table 2.
, and the tying control signals C1 and C2 change correspondingly to latch circuits 16 and 1, respectively.
Controls input/output of 8. That is, as shown in FIG. 4, the contents of the input end memory A of the memory 14 change from 0 to 1 according to the change of the MUX select signal S1 between 0 and 1. The table changes to the memory address data of INI and the memory address data of 1 and IN2, and the contents of the memory D on the output side of the memory 14 and the input side of the latch circuits 16 and 18 are read out according to these address data. 1, that is, the data of LUT 1 and LOT 2.

 また、第4図に示すように、ラッチ回路16のOUT
!およびラッチ回路18の0UT2がそれぞれ信号C1
およびC2の立ち上りで切り換わる。
Further, as shown in FIG. 4, the OUT of the latch circuit 16
! and 0UT2 of the latch circuit 18 are the signals C1 and 0UT2 of the latch circuit 18, respectively.
And it switches at the rising edge of C2.

こうして、第2図に示すルックアップテーブル装置10
において、表1に示すLUT 1とLOT2の2つのル
ックアップテーブルの内容が1つのメモリ14から順次
読み出される。
In this way, the lookup table device 10 shown in FIG.
At this time, the contents of two look-up tables, LUT 1 and LOT 2 shown in Table 1, are sequentially read out from one memory 14.

本発明のルックアップテーブル装置は、複数のLOTを
必要とする回路、特に画像処理装置の各種処理回路、例
えば、諧調変換処理回路、平滑化処理回路および鮮鋭化
処理回路などじ好適に用いることができる。
The look-up table device of the present invention can be suitably used for circuits that require a plurality of LOTs, particularly various processing circuits of image processing devices, such as tone conversion processing circuits, smoothing processing circuits, and sharpening processing circuits. can.

以上、本発明について好適実施例を挙げて説明したが、
本発明は、これに限定されるものではなく、本発明の要
旨を逸脱しない範囲において種々の改良並びに設計の変
更が可能なことは勿論である。
The present invention has been described above with reference to preferred embodiments, but
The present invention is not limited to this, and it goes without saying that various improvements and changes in design can be made without departing from the gist of the present invention.

〈発明の効果〉 以上、詳述したように、本発明によれば、1つのメモリ
に複数のルックアップテーブルを格納するので、1つの
ルックアップテーブルを個々に1つのメモリに格納する
場合に比べて、ルックアップテーブルCアクセスするた
めの信号線を減らすことができる。
<Effects of the Invention> As detailed above, according to the present invention, a plurality of lookup tables are stored in one memory, so compared to the case where one lookup table is individually stored in one memory. Therefore, the number of signal lines for accessing lookup table C can be reduced.

このため、本発明によれば、複数の処理回路をゲートア
レイ等によりIC化する際に複数のルックアップテーブ
ルを1つの外付はメモリに格納することにより、個々の
外付はメモリに格納する場合に比べて、信号線の数を減
らすことができるので、IC化に際してビン数の不足を
招くことがなく、IC化の規模が制限されない。
Therefore, according to the present invention, when a plurality of processing circuits are integrated into an IC using a gate array or the like, a plurality of lookup tables can be stored in one external memory, and each external one can be stored in the memory. Since the number of signal lines can be reduced compared to the case, the number of bins will not be insufficient when integrated into an IC, and the scale of integration into an IC is not limited.

従って、本発明によれば、使用するメモリの数を減らす
ことができ、IC化した際にもコンパクト化できるので
、装rJl#を成をコンパクトかつ安価にすることがで
きる。 よって、本発明のルックアップテーブル装置は
、多数の処理を行う画像処理装置の各fit処理回路に
好適に用いることができる。
Therefore, according to the present invention, it is possible to reduce the number of memories used, and it is also possible to make it compact when integrated into an IC, so that the implementation of rJl# can be made compact and inexpensive. Therefore, the look-up table device of the present invention can be suitably used in each fit processing circuit of an image processing device that performs a large number of processes.

符号の説明 10・・・ルックアップテーブル装置、12・・・マル
チプレクサ(MUX)、14・・・メモリ、 16.18・・・ラッチ回路、 20・・・双方向バッファ、 22・・・タイ主ング制御回路
Explanation of symbols 10... Lookup table device, 12... Multiplexer (MUX), 14... Memory, 16.18... Latch circuit, 20... Bidirectional buffer, 22... Tie main control circuit

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

第1図は、本発明に係るルックアップテーブル装置の一
実施例の構成を示すブロック図である。 第2図は、第1図に示すルックアップテーブル装置の具
体的な回路構成の一実施例のブロック図である。 第3図および第4図は、第2図2示すルックアップテー
ブル装置のそれぞれ異なる動作状態の一例を示すタイム
チャートである。
FIG. 1 is a block diagram showing the configuration of an embodiment of a look-up table device according to the present invention. FIG. 2 is a block diagram of an example of a specific circuit configuration of the look-up table device shown in FIG. 1. 3 and 4 are time charts showing examples of different operating states of the lookup table device shown in FIG. 2.

Claims (1)

【特許請求の範囲】[Claims] (1)複数のルックアップテーブルを格納する1つのメ
モリと、この複数のルックアップテーブルの1つへの入
力信号を選択するデータセレクタと、前記複数のルック
アップテーブルのそれぞれに対応して設けられ、それぞ
れのルックアップテーブルの出力をラッチするラッチ回
路とを有することを特徴とするルックアップテーブル装
置。
(1) One memory that stores a plurality of lookup tables, a data selector that selects an input signal to one of the plurality of lookup tables, and a data selector that is provided corresponding to each of the plurality of lookup tables. , and a latch circuit that latches the output of each lookup table.
JP1200701A 1989-08-02 1989-08-02 Look-up table device Pending JPH0363846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1200701A JPH0363846A (en) 1989-08-02 1989-08-02 Look-up table device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1200701A JPH0363846A (en) 1989-08-02 1989-08-02 Look-up table device

Publications (1)

Publication Number Publication Date
JPH0363846A true JPH0363846A (en) 1991-03-19

Family

ID=16428796

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1200701A Pending JPH0363846A (en) 1989-08-02 1989-08-02 Look-up table device

Country Status (1)

Country Link
JP (1) JPH0363846A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004103016A (en) * 2002-09-05 2004-04-02 Xerox Corp Dynamic color rendering dictionary
US6812737B2 (en) 2001-06-29 2004-11-02 Semiconductor Technology Academic Research Center Programmable logic circuit device having look up table enabling to reduce implementation area

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6812737B2 (en) 2001-06-29 2004-11-02 Semiconductor Technology Academic Research Center Programmable logic circuit device having look up table enabling to reduce implementation area
JP2004103016A (en) * 2002-09-05 2004-04-02 Xerox Corp Dynamic color rendering dictionary
JP4511142B2 (en) * 2002-09-05 2010-07-28 ゼロックス コーポレイション Dynamic color offer dictionary

Similar Documents

Publication Publication Date Title
US4994914A (en) Composite video image device and related method
KR950033953A (en) Image generation method and image generation device
US4967274A (en) Image data conversion device
JPS6041378B2 (en) image storage device
JPH0363846A (en) Look-up table device
US5337409A (en) Parallel/serial data conversion system
US6791701B2 (en) Image forming apparatus having copy mode and printer mode
JPS6073575A (en) Data display
KR890001058B1 (en) Image display control apparatus
US6654052B1 (en) Card type semiconductor memory device
JPS5945756A (en) Line buffer device
JPS62147575A (en) Converting circuit for picture element data
KR920008274B1 (en) 16/256 color switching apparatus
JP2579948B2 (en) Tone generation circuit
JPH0710106B2 (en) Medical image storage device
JPS61170843A (en) Memory control circuit
JPS62150447A (en) Picture data memory controller
JPH03282602A (en) Sequencer circuit
JPH02166547A (en) Information processor
JPH09147096A (en) System for storing pixel data into memory
JPH05128327A (en) Ic card
JPS6058628B2 (en) Facsimile signal encoding method
JPS62232688A (en) Image processor
JPS60105373A (en) Image variable power device
JPS6370667A (en) Parallel data generating circuit