JPS6148033A - Memory address control circuit for table arithmetic - Google Patents

Memory address control circuit for table arithmetic

Info

Publication number
JPS6148033A
JPS6148033A JP59169592A JP16959284A JPS6148033A JP S6148033 A JPS6148033 A JP S6148033A JP 59169592 A JP59169592 A JP 59169592A JP 16959284 A JP16959284 A JP 16959284A JP S6148033 A JPS6148033 A JP S6148033A
Authority
JP
Japan
Prior art keywords
data
memory
mode
circuit
calculation
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
JP59169592A
Other languages
Japanese (ja)
Inventor
Takeshi Masui
桝井 猛
Shigeru Sasaki
繁 佐々木
Toshiyuki Goto
敏行 後藤
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 JP59169592A priority Critical patent/JPS6148033A/en
Publication of JPS6148033A publication Critical patent/JPS6148033A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To heighten the generality by changing over control lines such as write enable line, address line and data line used for a table, by a multiplexer according to a designated mode. CONSTITUTION:Receiving an address signal from a data processor and a control signal of a various modes or the like, a memory address control circuit 2 feeds a memory address signal, data input signal and memory write enable signal and the like to a RAM1. The change-over of input and output of various signals by a data select circuit 3 is determined by a type of a table operation to be carried out. A mode select section 4 selects its operating mode by a control signal concerning a mode and stores it in, for example, an internal register. A data select control section 5 controls a data select circuit section 3 in accordance with a mode selected by the mode select section 4.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、テーブル参照の演算回路に係り、特にRAM
やROM等のランダムにアクセス可能なメモリ (以下
ランダムメモリというンのアドレスを効率よく制御する
ことによって、各種のテーブル参照による演算を1つの
回路でもって制御可能としたテーブル演算用メモリアド
レス制御回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a table reference arithmetic circuit, and particularly to a RAM
This invention relates to a memory address control circuit for table calculations that makes it possible to control calculations based on various table references with a single circuit by efficiently controlling the addresses of randomly accessible memories (hereinafter referred to as random memories) such as ROM and ROM. It is something.

〔従来の技術と問題点〕[Conventional technology and problems]

最近、メモリが安価になってきたことと、制御が筒車で
高速化が可能であることがら、各種の6ii算をメモリ
のテーブル参照で行うことが多く採用されるようになっ
てきている。特に、例えば画性処理の分野等では、その
処理データ量が多く、また高速性を要求されるため、テ
ーブル参照の演算回路が種々用いられている。
Recently, as memory has become cheaper and control can be made faster using an hour wheel, it has become increasingly common to perform various 6II arithmetic operations by referring to tables in memory. Particularly in the field of image quality processing, for example, the amount of data to be processed is large and high speed is required, so a variety of arithmetic circuits that refer to tables are used.

従来、テーブル参照の演算回路は、ランダムメモリを用
いて多く構成されている。しかし、ランダムメモリの接
続の方法が固定となるため、演算内容によって、異なっ
た回路を組む必要がある。
Conventionally, many table reference arithmetic circuits are constructed using random memories. However, since the random memory connection method is fixed, it is necessary to build different circuits depending on the calculation content.

そのため、例えば画像処理等において多く用0られる濃
度(レベル)変換、画素間演算、ヒストグラムの算出、
投影の演算等の種々演算を満足させるには、従来、複数
の回路が必要になり、回路規模が大きくなるなどの欠点
があった。
Therefore, for example, density (level) conversion, pixel-to-pixel calculation, histogram calculation, etc., which are often used in image processing, etc.
Conventionally, in order to satisfy various calculations such as projection calculations, a plurality of circuits are required, which has the disadvantage of increasing the circuit scale.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記問題点の解決を図り、テーブルとして使用
するランダムメモリ (RAMまたはROM)のアドレ
ス線、データ線、ライトイネーブル線などの信号線を、
↑旨定されたモードに従ってマルチプレクサでもって切
換え、データの流れを制御することにより、同一の/S
−ドウエア回路でもって種々のテーブル演算を実現でき
る方式を提供する。即ち、本発明のテーブル演算用メモ
リアドレス制御回路は、ランダムメモリをテーブルとし
て使用するテーブル参照の演算回路におけるテーブル演
算用メモリアドレス制御回路であって、上記ランダムメ
モリを構成するメモリチップに対するアドレス線、デー
タ線およびライトイネーブル線を選択し切換えるデータ
セレクト回路部と、濃度変換、画素間演算、ヒストグラ
ムの算出および投影演算に関する演算のうち少なくとも
2つ以上の演算を含む組合わせの中で1つの演算をモー
ドに関する信号によって選択するモード選択部と、該モ
ード選択部によって示されるモードに従って上記データ
セレクト回路部を制御し上記ランダムメモリに関して選
択されたモードに対応する演算データを入出力せしめる
データセレクト制御部とを備えたことを特徴としている
。以下、図面を参照しつつ、実施例に従って説明する。
The present invention aims to solve the above problems by connecting signal lines such as address lines, data lines, and write enable lines of a random memory (RAM or ROM) used as a table.
↑By switching with a multiplexer and controlling the data flow according to the specified mode, the same
- Provides a system that can implement various table operations using hardware circuits. That is, the table calculation memory address control circuit of the present invention is a table calculation memory address control circuit in a table reference calculation circuit using a random memory as a table, and includes an address line for a memory chip constituting the random memory, A data select circuit unit that selects and switches data lines and write enable lines, and one operation in a combination that includes at least two operations among density conversion, inter-pixel operation, histogram calculation, and projection operation. a mode selection section that selects based on a signal related to the mode; and a data selection control section that controls the data selection circuit section according to the mode indicated by the mode selection section and causes the random memory to input and output operation data corresponding to the selected mode. It is characterized by having the following. Hereinafter, embodiments will be described with reference to the drawings.

〔実施例〕〔Example〕

第1図は本発明の一実施例概要構成、第2図は一般的な
テーブル演算を説明するための図、第3図は濃度変換の
テーブル演算説明図、第4図は画素間演算のテーブル演
算説明図、第5図はヒストグラム算出のテーブル演算説
明図、第6図は画像処理における投影を説明するための
図、第7図は投影のテーブル演算説明図、第8図は第1
図図示メモリアドレス制御回路の詳細ブロック図、第9
図は濃度変換/画素間演算モードにおける制御説明図、
第10図はヒストグラムモードにおける制御説明図、第
11図は投影モードにおける制御説明図、第12図は第
1図図示メモリアドレス制御回路をLSI化したメモリ
アドレス制御用チップの例、第13図は第12図図示チ
ップを用いた濃度変換演算回路の例、第14図は第12
図図示チップを用いた画素間演算回路の例、第15図は
第12図図示千ノブを用いたヒストグラム算出回路の例
、第16図は第12図図示チップを用いた投影演算回路
の例を示す。
Fig. 1 is a schematic configuration of an embodiment of the present invention, Fig. 2 is a diagram for explaining general table calculations, Fig. 3 is an illustration for explaining table calculations for density conversion, and Fig. 4 is a table for inter-pixel calculations. Figure 5 is a diagram for explaining table calculations for histogram calculation, Figure 6 is a diagram for explaining projection in image processing, Figure 7 is a diagram for explaining table calculations for projection, and Figure 8 is a diagram for explaining table calculations for histogram calculation.
Detailed block diagram of the illustrated memory address control circuit, No. 9
The figure is an explanatory diagram of control in density conversion/pixel-to-pixel calculation mode.
FIG. 10 is an explanatory diagram of control in histogram mode, FIG. 11 is an explanatory diagram of control in projection mode, FIG. 12 is an example of a memory address control chip that is an LSI version of the memory address control circuit shown in FIG. Figure 12 is an example of a concentration conversion calculation circuit using the illustrated chip;
An example of an inter-pixel calculation circuit using the illustrated chip, FIG. 15 shows an example of a histogram calculation circuit using the thousand knob shown in FIG. 12, and FIG. 16 shows an example of a projection calculation circuit using the chip shown in FIG. show.

まず、本発明の詳細な説明するに先立ち1.第2図ない
し第7図に従って、テーブル演算の方式と本発明に関連
する7農度変換、画素間演算、ヒストグラム算出、投影
の演算について説明する。
First, before explaining the present invention in detail, 1. Referring to FIGS. 2 to 7, the table calculation method and the seven-degree conversion, inter-pixel calculation, histogram calculation, and projection calculation related to the present invention will be explained.

いわゆるテーブル参照方式の演算の場合、第2図(イ)
図示の如く、予め演算論理が格納されているテーブルに
対して、入力データを入力すると、その入力に対応した
演算結果が出力されるようになっている。実際のハード
ウェアでは、第2図(ロ)図示の如く、ランダムメモリ
lをテーブルとして使用し、入力データをアドレス線に
与えて、データ線から出力を得る。テーブルの内容を変
更する必要がある場合には、ランダムメモリ1としてR
AMを用い、固定的な内容のテーブルでよい場合にはR
OMを用いる。
In the case of calculations using the so-called table reference method, Figure 2 (a)
As shown in the figure, when input data is input to a table in which calculation logic is stored in advance, calculation results corresponding to the input are output. In actual hardware, as shown in FIG. 2(b), a random memory 1 is used as a table, input data is applied to the address line, and output is obtained from the data line. If you need to change the contents of the table, use R as random memory 1.
If using AM and a table with fixed contents is sufficient, use R.
Use OM.

例えば、画像処理における各画素の濃度(レベル)変換
をテーブル演算で行う場合、メモリに対してテーフ゛ル
をロードするための制御部と、メモリのアドレス線にデ
ータを入力し、その演算結果をデータ線から取り出す制
御の2i11Iりの制御が必要であるつ即ち、第3図(
イ)図示の如く、ランダムメモリ1をライトイネーブル
線で古き込み状態にし、アドレス線のアドレス信号に対
応するテーブルデータをデータ線から供給してテーブル
初期化を行う。その後、アドレス線に入力データを与え
て、ランダムメモリ1の内容を読み出せば、第3図(ロ
)図示の如く、データ線に必要とする出力データが得ら
れる。なお、ランダムメモリ1としてROMを使用する
ときは、テーブルロードの制御は必要な(、第3図(ロ
)図示の演算制御のみである。
For example, when converting the density (level) of each pixel in image processing using a table calculation, there is a control unit for loading the table into memory, inputting data to the address line of the memory, and transmitting the calculation result to the data line. 2i11I of the control extracted from the control is required, that is, FIG.
b) As shown in the figure, the random memory 1 is set to an stale state using the write enable line, and table data corresponding to the address signal on the address line is supplied from the data line to initialize the table. Thereafter, by applying input data to the address line and reading out the contents of the random memory 1, the required output data can be obtained from the data line, as shown in FIG. 3(b). Note that when a ROM is used as the random memory 1, table load control is only necessary (the calculation control shown in FIG. 3(b)).

第4図は画素間演算の例で、例えば8ビ、トス8ピノ1
−から16ビソトのデータを得るようになっている。テ
ーブルロ゛−ドによる初期化は、第4図(イ)図示の如
く、16ビツトのアドレスにより16ビツトのデータを
書き込む。そして、演算時には、第4図(ロ)図示の如
く、上位アドレス線8ビツトと下位アドレス線8ビツト
とにそれぞれ各画素の入力データを与えることにより、
16ヒノトの/3i¥算結果を得る。
Figure 4 shows an example of inter-pixel calculations, for example, 8 bits, 8 pins, 1 pin.
16 bits of data is obtained from -. Initialization by table loading writes 16-bit data using a 16-bit address, as shown in FIG. 4(a). At the time of calculation, input data of each pixel is given to the upper 8 bits of the address line and the 8 bits of the lower address line, respectively, as shown in FIG. 4(b).
Obtain the /3i ¥ calculation result of 16 hinoto.

画像処理において、例えば濃度「00」の画素が何個、
濃度「Ol」の画素が何個、・・・・・・、濃度r F
 F Jの画素が何個とい・うようなヒストグラムが必
要になることがある。このようなヒストグラムの算出に
は、第5図(イ)ないしくハ)に示すような3aりの制
御が必要となる。即ち、まず初1υI設定のために、第
5図(イ)図示の如く、データ線を「0」にして、メモ
リのすべてのアドレスをクリアする。そして、第5図(
ロ)図示の如く、順次走査される各画素の濃度値をアド
レスにして、ランダムメモリ1の内容を読み出し、+1
回路C1により「1」加算して、結果を同じアドレスに
格納する。全画素についての走査か終了したならば、第
5図(ハ)図示の如く、アドレス線にg度値を与えるこ
とにより、その濃度値の個数をデータ線に得ることがで
きる。
In image processing, for example, how many pixels have a density of "00"?
How many pixels have density "Ol", ..., density r F
Sometimes a histogram is required, such as how many pixels there are in FJ. Calculation of such a histogram requires control 3a as shown in FIGS. 5(a) to 5(c). That is, for the initial 1υI setting, the data line is set to "0" and all addresses in the memory are cleared, as shown in FIG. 5(a). And Figure 5 (
b) As shown in the figure, the contents of random memory 1 are read out using the density value of each pixel scanned sequentially as an address, and +1
The circuit C1 adds "1" and stores the result at the same address. When all pixels have been scanned, the number of density values can be obtained on the data line by applying the g degree value to the address line, as shown in FIG. 5(c).

例えば画像処理におけるパターン認識等において、いわ
ゆる投影の/iO算が必要になる。投影は、ある条件に
合ったデータを逐次加算するもので、例えば第6図に示
すような、1画素8ビツトの多値画像メモリGMについ
て、行方向の画素データの総和または列方向の画素デー
タの総和を求めるようになっている。この演算も、第7
図(イ)ないしくハ)に示すように3通りの制御J11
が必要となる。第7図(イ)はクリアの初1す1化制御
を示している。演算時には、第7図(ロ)図示の如く、
アドレス線に行方向または列方向のアドレスを入れ、そ
のアドレスの内容と画素値の入力データとを加算回路A
DDにより加算する。そして、加算結果を同じアドレス
に格納する。最終的に第7図()1)図示の/10 <
 、アドレス線に行方向または列方向のアドレスを指定
して、投影結果を得ることができる。
For example, in pattern recognition in image processing, etc., a so-called projection /iO calculation is required. Projection is a process of sequentially adding data that meets certain conditions. For example, for a multivalued image memory GM with 8 bits per pixel as shown in FIG. 6, the sum of pixel data in the row direction or the pixel data in the column direction It is designed to find the sum of This operation is also the seventh
There are three types of control J11 as shown in the figure (a) to c).
Is required. FIG. 7(a) shows the initial 1-to-1 control for clearing. During calculation, as shown in Figure 7 (b),
Adder circuit A inserts an address in the row or column direction into the address line and adds the contents of that address and the input data of the pixel value.
Add by DD. Then, the addition result is stored at the same address. Finally, in Figure 7 () 1) /10 <
, the projection result can be obtained by specifying addresses in the row or column direction on the address lines.

以上説明したように、テーブル演算を行う場合、ランダ
ムメモリlのメモリチップの各入出力端子に対して、異
なった制御が必要となる。そのため、従来このような回
路の規模が大きくなったが、本発明によれば以下に説明
するように、上記の場合について、1つの制御回路でも
って制御可能となる。
As explained above, when performing table calculations, different controls are required for each input/output terminal of the memory chip of the random memory l. Therefore, conventionally, the scale of such a circuit has increased, but according to the present invention, as explained below, the above case can be controlled with a single control circuit.

第1図は、本発明を用いたテーブル演算回路の概要構成
を示しており、図中、lはRA MまたはROMによる
ランダムメモリ、2は本発明に係るメモリアドレス制御
回路、3はランダムメモリ1に対する信号線の切換えを
行うデータセレクト回路部、4はデータセレクト回路部
3におIdる切換え制御の各種モードを選択するモード
選択部1.5はモード選択部4の指定に従ってデータセ
レクト回路部3に対する制で11信号を供給するデータ
セレクト制御部を表す。
FIG. 1 shows a schematic configuration of a table calculation circuit using the present invention. In the figure, 1 is a random memory such as RAM or ROM, 2 is a memory address control circuit according to the present invention, and 3 is a random memory 1. A data select circuit section 4 selects various modes of switching control for the data select circuit section 3, and a mode select section 1.5 selects the data select circuit section 3 according to the specification of the mode select section 4. It represents a data selection control section that supplies 11 signals in accordance with the control system.

メモリアドレス制御回路2は、上位装置であるデータ処
理装置またはその他のハードウェアから、システムアド
レス信号、システムデータ信号、ライj・イネーブル信
号、入力データ信号および各種モード等の制御信号など
を受けて、ランダムメモリ1にメモリアドレス信号、デ
ータ入力1S号、メモリライトイネーブル信号等を供給
する。またランダムメモリ1からのデータ出力を受ける
The memory address control circuit 2 receives control signals such as a system address signal, a system data signal, a write enable signal, an input data signal, and various modes from a data processing device that is a host device or other hardware. A memory address signal, a data input number 1S, a memory write enable signal, etc. are supplied to the random memory 1. It also receives data output from the random memory 1.

データセレクト回路部3による上記各種信号の人力およ
び出力の切換えは、どのようなテーブル演算を行うかに
よって定まる。壬−Ki巽jp:!< A !、Fその
演算モードをモードに関する制御イコ号によって選択し
、例えば内部レジスタに記Fするものである。なお、こ
のモードには必要に応してテーブルロード/初期化モー
ド、演算結果続出しモード等が含まれる。データセレク
トili’l ?J11部5は、モ−ド選択部4が選択
したモードに従ってデータセレクト回路部3を制御する
The manual input and output switching of the various signals by the data selection circuit section 3 is determined by the type of table calculation to be performed. Mi-Ki Tatsumi jp:! <A! . Note that this mode includes a table load/initialization mode, a continuous calculation result mode, etc. as necessary. Data select ili'l? The J11 section 5 controls the data selection circuit section 3 according to the mode selected by the mode selection section 4.

第8図は、第1図図示メモリアドレス制御回路2の内部
詳細フロック図を示している。
FIG. 8 shows a detailed internal block diagram of the memory address control circuit 2 shown in FIG.

図中、11ないし15はマルチプレクサ(MPX)、1
6はフリップフロップ(FF)、17はカウンタ、18
は+1回1略、19および20は加算回路、21は入カ
バソファ、22および23は出カバソファ、24はモー
ドレジスタを表す。
In the figure, 11 to 15 are multiplexers (MPX), 1
6 is a flip-flop (FF), 17 is a counter, 18
19 and 20 are adder circuits, 21 is an input cover sofa, 22 and 23 are output cover sofas, and 24 is a mode register.

第1図図示データセレクト回路部3は、第8図に示すよ
うな5個のマルチプレクサ11〜15と、1個のフリッ
プフロップ16と、1個の+1回路18と、2組の加算
回路19.20とを備えており、これらによって、アド
レスAO〜A7、入力データPDO〜PD7、システム
データDO〜D7およびメモリアドレスMAO〜MA?
、データ出力DOO〜DO7、データ人力DiO〜Di
T間の信号の切換え等を行う。この切換えは、以下に説
明するように、モード選択部4が設定したモートレジス
タ24の内容に従って、データセレクト制御部5が、選
択信号やタイミング信号を送出することにより行われる
。以下、この制御の例を第9図ないし第11図を参照し
て説明する。
The data selection circuit section 3 shown in FIG. 1 includes five multiplexers 11 to 15, one flip-flop 16, one +1 circuit 18, and two sets of adder circuits 19. 20, and these address AO-A7, input data PDO-PD7, system data DO-D7, and memory address MAO-MA?
, data output DOO~DO7, data human power DiO~Di
Performs switching of signals between T. This switching is performed by the data selection control section 5 sending out a selection signal and a timing signal according to the contents of the mote register 24 set by the mode selection section 4, as described below. An example of this control will be explained below with reference to FIGS. 9 to 11.

第9図は濃度変換モードおよび画素間演算モードにおけ
る制御に関連する接続構成を示すものであって、まずテ
ーブルローF時には、マルチプレクサ11は、アドレス
AO〜Δ7を選択し、それをメモリアドレスMAO〜M
A7として供給し、マルチプレクサ13は、システムデ
ータDO〜D7を選択してそれをデータ入力DiO〜D
i7に送ることにより、ランダムメモリlにテーブルデ
ータを書き込む。
FIG. 9 shows a connection configuration related to control in the density conversion mode and the inter-pixel calculation mode. First, in table low F, the multiplexer 11 selects addresses AO to Δ7 and transfers them to memory addresses MAO to Δ7. M
A7, and the multiplexer 13 selects the system data DO~D7 and sends it to the data input DiO~D.
By sending data to i7, table data is written to random memory l.

そして、演算時には、マルチプレクサ12により、入力
データPDO−PD7を選択し、マルチプレクサ11を
経て、その出力をメモリアドレスMA O−MA 7と
して供給する。これにより、入力データPDO〜PD7
をアドレスとするランダムメモリlのテーブルの内容が
、データ出力D00〜DO7から出カバソファ22を経
由して、システムデータDO〜D7に出力される。
Then, at the time of calculation, the input data PDO-PD7 is selected by the multiplexer 12, and the output thereof is supplied as the memory address MAO-MA7 via the multiplexer 11. As a result, input data PDO to PD7
The contents of the table in the random memory 1 having the address is output from the data outputs D00 to DO7 to the system data DO to D7 via the output sofa 22.

第1O図はヒストグラムモードにおける制御に関連する
接続構成を示すものであって、まず初期化時には、マル
チプレクサ11はアドレスAO〜A7を選択し、マルチ
プレクサ13はシステムデータDO〜D7を選択する。
FIG. 1O shows a connection configuration related to control in the histogram mode. First, at initialization, multiplexer 11 selects addresses AO to A7, and multiplexer 13 selects system data DO to D7.

従って、入カバソファ21をOFFにすることにより、
ランダムメモリ1に「0」を書き込むことができる。
Therefore, by turning off the cover sofa 21,
“0” can be written to random memory 1.

演算のときには、マルチプレクサ12は入力データPD
O〜PD7を選択し、マルチプレクサ11はマルチプレ
クサ12の出力を選択し、マルチプレクサ14は+1回
路18の出力を選択し、マルチプレクサ13は、マルチ
プレクサ14の出力を選択するように制御する。これに
より、入力データPDO〜PD7をメモリアドレスMA
O〜MA7とするデータを読み出し、その値を+1し、
その結果を同しメモリアドレスMA O−MA 7に書
き込む。
During calculation, the multiplexer 12 inputs the input data PD
O to PD7 are selected, multiplexer 11 selects the output of multiplexer 12, multiplexer 14 selects the output of +1 circuit 18, and multiplexer 13 selects the output of multiplexer 14. As a result, input data PDO to PD7 are transferred to memory address MA.
Read the data from O to MA7, add 1 to the value,
The result is written to the same memory address MAO-MA7.

さらに、浪算結果をセーブするときには、マルチプレク
サ11でアドレスAO〜A7を選択し、出力ハノファ2
2をONにして、ランダムメモリ1からのデータ出力D
OO−DO7を得る。
Furthermore, when saving the wasted results, multiplexer 11 selects addresses AO to A7 and outputs Hanofa 2.
2 to ON, data output D from random memory 1
Obtain OO-DO7.

第11図は投影モードにおける制御J11に関連する接
続構成を示すものであって、まず初期化時には、マルチ
ブレ外す■1はアドレスAO−A7を選択し、マルチプ
レクサ13はシステムデータDO〜D7を選択する。そ
して、入カバソファ21を。
FIG. 11 shows the connection configuration related to the control J11 in the projection mode. First, at initialization, remove multi-shake (1) selects address AO-A7, and multiplexer 13 selects system data DO to D7. . And then there is the hippo sofa 21.

FFにしてランダムメモリ1をrOJクリアすると共に
、フリップフロップ16をマルチプレクサ15を経て「
()」にセットする。
In addition to clearing the random memory 1 as FF, the flip-flop 16 is sent through the multiplexer 15 to
()”.

投影演算を行うとき、マルチプレクサ12ばカウンタ1
7の出力を選択し、マルチプレクサ11はマルチプレク
サ12の出力を選択し、マルチプレクサ14は加算回路
19の出力を選択し、マルチプレクサ13はマルチプレ
クサ14の出力を選択し、マルチプレクサ15は加算回
:1820の出刃を選択するように制御する。これによ
り、カウンタ17の値をメモリアドレスMAO−MΔ7
とするデータ出力DOO−’DO7を得て、その値と入
力データPDO〜PD7とを加算し、その結果を同じメ
モリアドレスMAO−MA7に格納する。
When performing projection calculation, multiplexer 12 and counter 1
7, the multiplexer 11 selects the output of the multiplexer 12, the multiplexer 14 selects the output of the adder 19, the multiplexer 13 selects the output of the multiplexer 14, and the multiplexer 15 selects the output of the adder 1820. control to select. As a result, the value of counter 17 is transferred to memory address MAO-MΔ7.
The data output DOO-'DO7 is obtained, the value is added to the input data PDO-PD7, and the result is stored in the same memory address MAO-MA7.

それと同時に、フリップフロップ16の値と人力データ
PDO〜PD7の値を加算回路20によって加算し、そ
の結果をフリップフロップ16に書き込む。
At the same time, the value of the flip-flop 16 and the value of the manual data PDO to PD7 are added by the adder circuit 20, and the result is written into the flip-flop 16.

投影演算の結果をセーブするときには、マルチプレクサ
11によりアドレスAO〜A7をメモリアドレスMAO
〜MA7として供給し、出力ハノファ22をONにして
、ランダムメモリlの内容を読み出す。または、出カバ
ソファ23をONにすることにより、フリップフロップ
16の内容を読み出す。
When saving the results of the projection calculation, multiplexer 11 transfers addresses AO to A7 to memory address MAO.
~MA7, the output Hanofa 22 is turned on, and the contents of the random memory l are read. Alternatively, by turning on the output sofa 23, the contents of the flip-flop 16 are read out.

以上のように制御することによって、1つのメモリアド
レス制御回路2でもって、各種モードの演算回路の制御
卸回路をサポートすることができる。
By controlling as described above, one memory address control circuit 2 can support control circuits of arithmetic circuits in various modes.

このメモリアドレス;li制御回路2は、第8図に示し
たマルチプレフナ等の回路をヘーシノクセルの組合わせ
で実現することにより、第12図に示すような1チツプ
のLSIにすることができる。このメモリアドレス制9
J11用チップ30ば、例えば図示のように、58ピン
の端子を持つ。特にメモリアドレスMAO〜MA7、メ
モリデータ人力DiO〜Di7、メモリデータ出力DC
IO−DO7、メモリライトイネーブルについては、テ
ーブルを記憶するランダムメモリに接続される。
This memory address;li control circuit 2 can be made into a one-chip LSI as shown in FIG. 12 by realizing circuits such as the multiplier shown in FIG. 8 by combining Hesynoxels. This memory address system 9
The J11 chip 30 has, for example, a 58-pin terminal as shown in the figure. In particular, memory addresses MAO to MA7, memory data manual input DiO to Di7, and memory data output DC
IO-DO7, memory write enable, is connected to random memory that stores the table.

演算のモードや1つの演算における制御種別の選択のた
めに、複数のピンを設けてもよいか、1つの端子MOD
Eだけを用意し、システムアドレスAO〜A7によって
、選択するモートを切分けてもよい。
In order to select the calculation mode and control type for one calculation, it is possible to provide multiple pins, or one terminal MOD
It is also possible to prepare only E and select the mote to be selected depending on the system addresses AO to A7.

このメモリアドレス制御用チップ30は、8ビツトを基
本にして制御しているが、例えばヒストグラム算出にお
いて精度を16ビツトにすることができるようにするた
めに、第8図図示+1回路18等のキャリーイン、キャ
リーイン1−の端子Cin、  Coutを用意してい
る。
This memory address control chip 30 performs control on an 8-bit basis, but in order to achieve 16-bit accuracy in histogram calculation, for example, a carry circuit such as +1 circuit 18 shown in FIG. In and carry-in 1- terminals Cin and Cout are provided.

第13図は、第1冫 用チップ30を用いた濃度変換のインクフェースの例を
示すものである。メモリアドレス制御用チップ30から
のメモリアドレスMAO〜MA7により、8ビツトのパ
ラレルデータが得られるようになっている。
FIG. 13 shows an example of an ink face for density conversion using the first printing tip 30. 8-bit parallel data can be obtained by memory addresses MAO to MA7 from the memory address control chip 30.

第14図は、第12図図示メモリアドレス制御用チ・7
プ30を用いた画素間演算のインタフェースの例を示す
ものである。各8ビy )の2つの画素データからI6
ビ・ノドの演算結果を得られるようにするために、2つ
のメモリアドレス制御卸用チップ3(1−1.30−2
を設けている。そして、下位8ビツトをメモリアドレス
制御用チップ30〜lて制御:111シ、上位8ビツト
をメモリアドレス制御用チップ30−2により制御して
いる。
FIG. 14 shows the memory address control chip 7 shown in FIG. 12.
3 shows an example of an interface for inter-pixel calculations using the processor 30. I6 from two pixel data of each 8 bits
In order to be able to obtain the calculation result of the bit node, two memory address control wholesale chips 3 (1-1.30-2
has been established. The lower 8 bits are controlled by the memory address control chips 30 to 111, and the upper 8 bits are controlled by the memory address control chip 30-2.

第15図は、第1冫 用チップ30を用いたヒストグラム算出のインタフェー
スの例を示している。ヒストグラム積度を16ヒノトに
するために、メモリアドレス制御用チ,・プ3Q−1と
7メモリアドレス制御用チツプ30−2とをカスケード
接続している。パラレルの8ビ・ノド人力データPl)
ONPD7は、両メモリアドレス制御用千ノブ30−1
.30−2に供給される。例えば濃度対応のヒストグラ
ム値が、lハ・(トの値の上限[255ヨから、さらに
カウントアツプされたとき、メモリアドレス制御11用
チンプ30−1からのキャリーアウトCout信号が、
メモリアドレス制御用チップ30−2のキャリーインC
inの端子に専かれ、メモリアドレス制i’Itl用チ
ップ30−2がカウント動作を行うようになっている。
FIG. 15 shows an example of a histogram calculation interface using the first medical chip 30. In order to make the histogram product 16 hinotes, a memory address control chip 3Q-1 and a 7 memory address control chip 30-2 are connected in cascade. Parallel 8-bit human power data Pl)
ONPD7 has 1000 knobs 30-1 for controlling both memory addresses.
.. 30-2. For example, when the histogram value corresponding to the density is further counted up from the upper limit [255], the carryout Cout signal from the chimp 30-1 for the memory address control 11 is
Carry-in C of memory address control chip 30-2
A chip 30-2 for memory address system i'Itl, which is dedicated to the in terminal, performs a counting operation.

第16図は、第1冫 用チップ30を用いた投影演算のインクフェースの例を
示している。投影精度は16ビツトとなっており、ラン
ダムメモリ1−1が下位ハイド、ランダムメモリ1−2
が上位バイトの値を袖つ,第8図等においては図示省略
した加算回1路【9がらのキャリーアウトCout信号
が、メモリア1−レス:b制御用チップ30〜2のキャ
リーインCinの端子に導かれ、メモリアドレス制御用
チップ30−2が各々対応するランダムメモリ1−2の
アドレスに、投影演算の上位ハイドの値を設定していく
ようになっている。
FIG. 16 shows an example of an ink face for projection calculation using the first printing chip 30. The projection accuracy is 16 bits, random memory 1-1 is the lower hide, random memory 1-2 is
carries the value of the upper byte, and the carry-out Cout signal from the adder circuit 1 (not shown in FIG. , the memory address control chip 30-2 sets the upper hide value of the projection calculation to the corresponding address of the random memory 1-2.

もらろん、本発明は上記濃度変換、画素間喧算、ヒスト
グラム算出および投影演’j/:等の少なくとも複数の
/i11算制御機jj8の中から、外部信号によって1
つの演算制御1大能をj′A沢できるものであればよく
、必要に応してこれらの中のいずれかを取捨選択可能で
あり、すべての演算制御を行うものに限定されるわけて
はないことは言うまでもない。
Of course, the present invention is capable of controlling one of at least a plurality of /i11 calculation controllers jj8 for density conversion, pixel calculation, histogram calculation, projection operation, etc. by an external signal.
It suffices if it is capable of carrying out a large number of arithmetic and control functions, and any one of these can be selected as needed; it is not limited to one that performs all arithmetic control. Needless to say, there is no such thing.

〔発明の効果〕〔Effect of the invention〕

以上説明した如<、本発明によれば、メモリチップのア
ドレス、データ線をマルチプレクサを用いて切換える制
御回路により、種々の演算に対応できるテーブル参照演
算回路を構成することが可能になり、汎用性に優れた回
路を堤供するができ、演算回路を容易に3,11み立て
ることができると共に、回路規模を小さくすることがで
きるようになる。
As described above, according to the present invention, by using a control circuit that switches the address and data lines of a memory chip using a multiplexer, it is possible to configure a table reference calculation circuit that can handle various calculations, thereby making it possible to provide versatility. It is possible to provide a circuit with excellent performance, and it is possible to easily construct an arithmetic circuit of 3,11, and to reduce the circuit scale.

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

第1図は本発明の一実施例概要構成、第2図は一般的な
テーブル演算を説明するだめの図、第3図は濃度変換の
テーブル演算説明図、第4図は画素間’i′j”lj 
’Jγのテーブル演算説明図、第5図はヒストグラム算
出のテーブル演算説明図、第6図は画像処理における投
影を説明するだめの図、第7図は投影のテーブル演算説
明図、第8図は第1図図示メモリアドレス制御回路の詳
X、■プロ、り図、第9図は濃度変換/画素間演算モー
トにおける制御説明図、第10図はヒストグラムモード
における制御説明図、第11図は投影モードにおける1
lill ?、llI説明図、第12図は第1図図示メ
モリアドレス制御■回路をLSI化したメモリアドレス
制御用チップの例、第13図は第12図図示チップを用
いた濃度変換演算回路の例、第14図は第12図図示チ
ップを用いた画素間演算回路の例、第15図は第12図
図示チップを用いたヒストグラム算出回路の例、第16
図は第12図図示チップを用いた投影演算回路の例を示
す。 図中、■はランダムメモリ、2はメモリアドレス制御回
路、3はデータセレクト回路部、4はモード選択部、5
はデータセレクト制御部、11ないし15はマルチプレ
クサ、16はフリップフロップ、17はカウンタ、18
ば+1回路、19および20は加算回路、21は入カバ
ソファ、22および23ば出カバソファ、30はメモリ
アドレス制御用チップを表す。 特許出願人   富士通株式会社 代理人弁理士  森1)寛ぐ外1名) 才3図 24巴 才5[!1
Fig. 1 is a schematic diagram of an embodiment of the present invention, Fig. 2 is a diagram for explaining general table calculations, Fig. 3 is a diagram for explaining table calculations for density conversion, and Fig. 4 is a diagram showing the 'i' between pixels. j”lj
'Jγ table calculation diagram, Figure 5 is a table calculation diagram for histogram calculation, Figure 6 is a diagram to explain projection in image processing, Figure 7 is a projection table calculation diagram, and Figure 8 is Fig. 1 is a detailed diagram of the memory address control circuit shown in Figure 1. 1 in mode
Lill? , llI explanatory diagram, FIG. 12 is an example of a memory address control chip in which the memory address control circuit shown in FIG. Figure 14 shows an example of an inter-pixel calculation circuit using the chip shown in Figure 12, Figure 15 shows an example of a histogram calculation circuit using the chip shown in Figure 12, and Figure 16 shows an example of a histogram calculation circuit using the chip shown in Figure 12.
The figure shows an example of a projection calculation circuit using the chip shown in FIG. 12. In the figure, ■ is a random memory, 2 is a memory address control circuit, 3 is a data selection circuit section, 4 is a mode selection section, 5
11 to 15 are multiplexers; 16 is a flip-flop; 17 is a counter; 18
19 and 20 are adder circuits, 21 is an input cover sofa, 22 and 23 are output cover sofas, and 30 is a memory address control chip. Patent Applicant: Fujitsu Ltd. Representative Patent Attorney Mori 1) Hirugu and 1 person) Sai 3 Figure 24 Tomoe 5 [! 1

Claims (1)

【特許請求の範囲】[Claims] ランダムメモリをテーブルとして使用するテーブル参照
の演算回路におけるテーブル演算用メモリアドレス制御
回路であって、上記ランダムメモリを構成するメモリチ
ップに対するアドレス線、データ線およびライトイネー
ブル線を選択し切換えるデータセレクト回路部と、濃度
変換、画素間演算、ヒストグラムの算出および投影演算
に関する演算のうち少なくとも2つ以上の演算を含む組
合わせの中で1つの演算をモードに関する信号によって
選択するモード選択部と、該モード選択部によって示さ
れるモードに従って上記データセレクト回路部を制御し
上記ランダムメモリに関して選択されたモードに対応す
る演算データを入出力せしめるデータセレクト制御部と
を備えたことを特徴とするテーブル演算用メモリアドレ
ス制御回路。
A memory address control circuit for table operation in a table reference arithmetic circuit that uses random memory as a table, and a data select circuit section that selects and switches address lines, data lines, and write enable lines for memory chips constituting the random memory. a mode selection unit that selects one operation based on a mode signal from a combination including at least two or more operations among density conversion, inter-pixel calculation, histogram calculation, and projection calculation; a data selection control section that controls the data selection circuit section according to the mode indicated by the section and inputs/outputs operation data corresponding to the mode selected with respect to the random memory. circuit.
JP59169592A 1984-08-14 1984-08-14 Memory address control circuit for table arithmetic Pending JPS6148033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59169592A JPS6148033A (en) 1984-08-14 1984-08-14 Memory address control circuit for table arithmetic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59169592A JPS6148033A (en) 1984-08-14 1984-08-14 Memory address control circuit for table arithmetic

Publications (1)

Publication Number Publication Date
JPS6148033A true JPS6148033A (en) 1986-03-08

Family

ID=15889341

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59169592A Pending JPS6148033A (en) 1984-08-14 1984-08-14 Memory address control circuit for table arithmetic

Country Status (1)

Country Link
JP (1) JPS6148033A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01244578A (en) * 1988-03-25 1989-09-28 Kawasaki Steel Corp Picture processor
JPH0231975U (en) * 1988-08-25 1990-02-28
JPH0231976U (en) * 1988-08-25 1990-02-28

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01244578A (en) * 1988-03-25 1989-09-28 Kawasaki Steel Corp Picture processor
JPH0231975U (en) * 1988-08-25 1990-02-28
JPH0231976U (en) * 1988-08-25 1990-02-28

Similar Documents

Publication Publication Date Title
US5838337A (en) Graphic system including a plurality of one chip semiconductor integrated circuit devices for displaying pixel data on a graphic display
JP3251421B2 (en) Semiconductor integrated circuit
US7350054B2 (en) Processor having array of processing elements whose individual operations and mutual connections are variable
JPS58500424A (en) integrated circuit device
JPS63113659A (en) Element for multiprocessor
US5949920A (en) Reconfigurable convolver circuit
US4943937A (en) Apparatus for processing images having desired gray levels including a three-dimensional frame memory
US5448519A (en) Memory device
JPS6148033A (en) Memory address control circuit for table arithmetic
Herron et al. A general-purpose high-speed logical transform image processor
JPH05173761A (en) Binary integer multiplier
JPH01169669A (en) High-speed numeric value arithmetic device
US5923591A (en) Memory circuit
JPS62137669A (en) Picture processor
EP0203728A2 (en) Graphics picture element data byte processor
US7420970B2 (en) Read ports and methods of outputting data via read ports
JPS6186839A (en) Arithmetic processor
JPH0340072A (en) Memory device having address control function
JP2610817B2 (en) Address generator
JPH04364525A (en) Parallel arithmetic unit
JPH0646399B2 (en) Digital signal processing circuit
JPH0443473A (en) Neuron circuit
JPS59220842A (en) Data processor
JPH0863585A (en) Parallel processor
JPH0474752B2 (en)