JPH01321542A - Data converting circuit - Google Patents

Data converting circuit

Info

Publication number
JPH01321542A
JPH01321542A JP15753988A JP15753988A JPH01321542A JP H01321542 A JPH01321542 A JP H01321542A JP 15753988 A JP15753988 A JP 15753988A JP 15753988 A JP15753988 A JP 15753988A JP H01321542 A JPH01321542 A JP H01321542A
Authority
JP
Japan
Prior art keywords
data
bus
data conversion
converter
conversion
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
JP15753988A
Other languages
Japanese (ja)
Inventor
Yasukuni Yamane
康邦 山根
Nobutoshi Gako
宣捷 賀好
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP15753988A priority Critical patent/JPH01321542A/en
Publication of JPH01321542A publication Critical patent/JPH01321542A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize the high-speed and flexible bidirectional data conversion by encoding the signals of the data, address and control buses of a computer with use of an encoder and switching the data conversion characteristics of a data converter. CONSTITUTION:The signals of an address bus, a control bus and a data bus A of a computer 5 are partly inputted to an encoder 3. The output encoded based on said input information is inputted to a data converter 2 as a selection signal. The converter 2 has plural data conversion characteristics and these characteristics are selected based on the selection signal. Then the conversion of data is carried out between the bus A and a data bus B which connects a memory 6 and an input/output device 7. Thus it is possible to attain the high-speed and flexible bidirectional data conversion.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、コンピュータシステム、特に画像処理システ
ム等におけるデータ変換回路に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a data conversion circuit in a computer system, particularly an image processing system.

〈従来の技術〉 従来、コンピュータシステムにおいて、メモリに格納さ
れたデータや入力装置から入力されたデータに対してデ
ータ変換を行う場合、一般に、所定の変換関数を実現す
るためのデータ変換プログラムを作成し、ソフトウェア
処理によってデータ変換を行っている。
<Background Art> Conventionally, in a computer system, when performing data conversion on data stored in memory or data input from an input device, a data conversion program is generally created to implement a predetermined conversion function. Data conversion is performed using software processing.

また、画像処理システム等のように、大量のデーータの
データ変換が必要とされるシステムにおいては、第7図
に示すような専用のデータ変換回路を設けて、データ変
換処理の高速化を図っている場合もある。このデータ変
換回路は、コンピュータ71のデータバスAとそれ以外
のデータバスBとの間にデータ変換器72を設け、メモ
リ73に格納されたデータや入出力装置74から人力さ
れたデータ等に対してデータ変換処理を行うようにした
ものである。
Additionally, in systems that require data conversion of large amounts of data, such as image processing systems, a dedicated data conversion circuit as shown in Figure 7 is installed to speed up the data conversion process. Sometimes there are. This data conversion circuit provides a data converter 72 between the data bus A of the computer 71 and the other data buses B, and converts data stored in the memory 73 and data input manually from the input/output device 74 to data conversion processing.

〈発明が解決しようとする課題〉 しかしながら、上記従来の方式では、データ変換の柔軟
性と高速性が両立しないという欠点があった。すなわち
、萌者のソフトウェア処理では、非常に柔軟なデータ変
換処理が可能であるが、画像データのように大量データ
を対象とする場合、変換テーブル法のような高速化手法
を用いても変換時間の短縮には限界があった。一方、後
者の専用のデータ変換回路を設ける方法では、データ変
換処理の高速化は可能であるが、適応的に変換関数を変
えるような柔軟な処理か困難であった。逆に適応的に変
換特性を変えようとすると、例えば第7図の出力ポード
ア5の出力をプログラム制御する必要があり、高速性を
犠牲にする必要があった。
<Problems to be Solved by the Invention> However, the above-mentioned conventional method has the drawback that flexibility and high speed of data conversion are not compatible. In other words, Moe's software processing allows for very flexible data conversion processing, but when dealing with large amounts of data such as image data, even if high-speed methods such as the conversion table method are used, the conversion time may be limited. There was a limit to the shortening of On the other hand, with the latter method of providing a dedicated data conversion circuit, it is possible to speed up the data conversion process, but it is difficult to provide flexible processing such as adaptively changing the conversion function. On the other hand, if the conversion characteristics were to be adaptively changed, it would be necessary to program-control the output of the output port door 5 shown in FIG. 7, for example, and it would be necessary to sacrifice high speed.

また、上記のようなデータ変換器を用いて高速な双方向
のデータ変換を実現しようとする場合、第8図に示すよ
うなデータ変換回路が用いられていた。このデータ変換
回路は、データバス81からのデータをデータ変換器(
A)82でデータ変換し、3ステートバツフア83を介
してデータバス84に出力する一方、データバス84か
らのデータをデータ変換器(B)85でデータ変換し、
3ステートバツフア86を介してデータバス81に出力
するようになっている。そして、上記3ステートバツフ
ア86には方向制御信号DIRが入力され、上記3ステ
ートバツフア83には上記方向制御信号DIRがインバ
ータ87を介して人力されて、上記データの方向が切換
るようになっている。
Further, when attempting to realize high-speed bidirectional data conversion using the data converter as described above, a data conversion circuit as shown in FIG. 8 has been used. This data conversion circuit converts data from the data bus 81 into a data converter (
A) 82 converts the data and outputs it to the data bus 84 via the 3-state buffer 83, while data from the data bus 84 is converted by the data converter (B) 85;
It is designed to be output to the data bus 81 via a 3-state buffer 86. The direction control signal DIR is inputted to the three-state buffer 86, and the direction control signal DIR is inputted to the three-state buffer 83 via the inverter 87, so that the direction of the data is switched. It has become.

このように、上記のようなデータ変換器を用いて双方向
のデータ変換を行う場合は、独立した2個のデータ変換
器を必要とするため、回路規模が大きくなり、かつ、高
価になるという欠点があった。特に、個々のデータ変換
器の回路規模が大きい場合、この欠点は顕著であった。
In this way, when performing bidirectional data conversion using the data converter as described above, two independent data converters are required, which increases the circuit scale and makes it expensive. There were drawbacks. This drawback is particularly noticeable when the circuit scale of each data converter is large.

そこで、この発明の目的は、高速性と柔軟性を兼ね備え
たデータ変換回路を提供すると共に、小さな回路規模で
高速かつ柔軟な双方向データ変換を行うことができるデ
ータ変換回路を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a data conversion circuit that is both high-speed and flexible, and also to provide a data conversion circuit that can perform high-speed and flexible bidirectional data conversion with a small circuit scale. .

〈課題を解決するための手段〉 上記目的を達成するため、第1の発明のデータ変換回路
は、コンピュータのデータバス、アドレスバスおよびコ
ントロールバスからの信号を符号化して選択信号として
出力する符号化器と、上記コンピュータのデータバスと
それ以外のデータバスに接続され、かつ、複数のデータ
変換特性を何し、上記符号化器が出力した選択信号にも
とづいて上記複数のデータ変換特性の中から一つのデー
タ変換特性を選択し、上記2つのデータバスのいずれか
一方のデータバスから人力されたデータを上記選択した
データ変換特性に従ってデータ変換して他方のデータバ
スに出力するデータ変換器とを備えたことを特徴として
いる。
<Means for Solving the Problems> In order to achieve the above object, the data conversion circuit of the first invention is an encoding system that encodes signals from a data bus, an address bus, and a control bus of a computer and outputs the encoded signals as selection signals. is connected to a data bus of the computer and other data buses, and selects a plurality of data conversion characteristics from among the plurality of data conversion characteristics based on a selection signal outputted by the encoder. a data converter that selects one data conversion characteristic, converts data manually input from one of the two data buses according to the selected data conversion characteristic, and outputs the data to the other data bus; It is characterized by the fact that it is equipped with

また、第2の発明のデータ変換回路は、2つのデータバ
スに接続され、選択信号にもとづいて上記2つのデータ
バスのうちのいずれか一方のデータバスからの入力デー
タを選択して出力するデータセレクタと、複数のデータ
変換特性を有し、上記選択信号にもとづいて上記複数の
データ変換特性の中から一つのデータ変換特性を選択し
、上記データセレクタが出力したデータを上記選択した
データ変換特性に従ってデータ変換して出力するデータ
変換器と、上記データ変換器が出力したデータを、上記
選択信号にもとづいて上記2つのデータバスのうちのい
ずれか他方のデータバスに出力するデータ分配器とを備
えたことを特徴としている。
Further, the data conversion circuit of the second invention is connected to two data buses, and outputs data by selecting input data from one of the two data buses based on a selection signal. a selector, having a plurality of data conversion characteristics, selects one data conversion characteristic from among the plurality of data conversion characteristics based on the selection signal, and converts the data outputted by the data selector into the selected data conversion characteristic. a data converter that converts and outputs data according to the data converter; and a data distributor that outputs the data output from the data converter to the other data bus of the two data buses based on the selection signal. It is characterized by the fact that it is equipped with

〈作用〉 第1の発明においては、符号化器が、コンビュ−タのデ
ータバス、アドレスバスおよびコントロールバスからの
信号を符号化して選択信号として出力し、上記コンピュ
ータのデータバスとそれ以外のデータバスに接続され、
かつ、複数のデータ変換特性を有するデータ変換器が、
上記符号化器が出力した選択信号にもとづいて上記複数
のデータ変換特性の中から一つのデータ変換特性を選択
し、上記2つのデータバスのいずれか一方のデータバス
から入力されたデータを上記選択したデータ変換特性に
従ってデータ変換して他方のデータバスに出力する。
<Operation> In the first invention, the encoder encodes signals from the data bus, address bus, and control bus of the computer and outputs the encoded signals as selection signals, and outputs the encoded signals from the data bus of the computer and other data. connected to the bus,
and a data converter having multiple data conversion characteristics,
One data conversion characteristic is selected from among the plurality of data conversion characteristics based on the selection signal outputted by the encoder, and the data input from one of the two data buses is selected. The data is converted according to the data conversion characteristics and output to the other data bus.

このように、コンピュータのデータバス、アドレスバス
およびコントロールバスの信号を符号化し、これによっ
てデータ変換特性を切替えるので、高速なデータ変換処
理がプログラム制御によらず柔軟に行うことができる。
In this way, the signals on the data bus, address bus, and control bus of the computer are encoded, and the data conversion characteristics are thereby switched, so that high-speed data conversion processing can be performed flexibly without relying on program control.

また、第2の発明においては、2つのデータバスに接続
されたデータセレクタが、選択信号にもとづいて上記2
つのデータバスのうちのいずれか一方のデータバスから
の入力データを選択して出力し、複数のデータ変換特性
を有するデータ変換器が、上記選択信号にもとづいて上
記複数のデータ変換特性の中から一つのデータ変換特性
を選択し、上記データセレクタが出力したデータを上記
選択したデータ変換特性に従ってデータ変換して出力し
、データ分配器が上記データ変換器が出力したデータを
、上記選択信号にもとづいて上記2つのデータバスのう
ちのいずれか他方のデータバスに出力する。
Further, in the second invention, the data selectors connected to the two data buses select the two data buses based on the selection signals.
A data converter that selects and outputs input data from one of the two data buses and has a plurality of data conversion characteristics selects one of the plurality of data conversion characteristics based on the selection signal. One data conversion characteristic is selected, the data output by the data selector is converted and output according to the selected data conversion characteristic, and the data distributor converts the data output by the data converter based on the selection signal. and outputs it to the other of the two data buses.

このように、選択信号によってデータを選択すると共に
データ変換特性を切替えるので、高速かつ柔軟な双方向
データ変換を行うことができる。
In this way, data is selected by the selection signal and the data conversion characteristics are switched, so that high-speed and flexible bidirectional data conversion can be performed.

〈実施例〉 以下、この発明を図示の実施例により詳細に説明する。<Example> Hereinafter, the present invention will be explained in detail with reference to illustrated embodiments.

第1の発明の実施例 第1図は本実施例の回路構成を示すブロック図である。Examples of the first invention FIG. 1 is a block diagram showing the circuit configuration of this embodiment.

第1図の破線で囲まれる部分1が本実施例のデータ変換
回路であり、データ変換器2、符号化器3および出力ポ
ート4で構成されている。上記符号化器3には、図示し
ないCPU、メモリ等で構成されるコンピュータ5のア
ドレスバス、コントロールバス、データバスAの信号の
一部が入力される。そして、これらの入力情報にしたが
って上記符号化器3で符号化された出力が、データ変換
器2へ選択信号として人力される。データ変換器2は複
数のデータ変換特性を有しており、その変換特性の中か
ら、上記選択信号にもとづいてデータ変換特性を選択し
、その選択したデータ変換特性に従って、データバスA
と、メモリ6および入出力装置7を接続したデータバス
Bとの間でデータ変換を行う。出力ポート4は符号化器
3の出力符号をプログラム制御により切り替える目的で
用いられる。符号化器3の出力符号を切り替える必要か
ない場合、出力ポート4はなくてもよい。なお、第1図
ではデータバスBが双方向の場合を示したが、単方向の
場合にも同様に適用できる。
A portion 1 surrounded by a broken line in FIG. 1 is the data conversion circuit of this embodiment, and is composed of a data converter 2, an encoder 3, and an output port 4. Part of the signals of the address bus, control bus, and data bus A of the computer 5, which includes a CPU, memory, etc. (not shown), are input to the encoder 3. Then, the output encoded by the encoder 3 according to this input information is manually inputted to the data converter 2 as a selection signal. The data converter 2 has a plurality of data conversion characteristics, selects a data conversion characteristic from among the conversion characteristics based on the selection signal, and selects a data conversion characteristic from the data conversion characteristics of the data bus A according to the selected data conversion characteristic.
Data conversion is performed between the data bus B connected to the memory 6 and the input/output device 7. The output port 4 is used for the purpose of switching the output code of the encoder 3 under program control. If there is no need to switch the output code of the encoder 3, the output port 4 may be omitted. Although FIG. 1 shows the case where the data bus B is bidirectional, the same applies to the case where the data bus B is unidirectional.

第2図は、本実施例の具体的な回路例を示したものであ
り、図示しないコンピュータから図示しない画像メモリ
へ書き込まれるデータに対してデータ変換を行うための
データ変換回路である。上記コンピュータのアドレスバ
スは24ビツト、データバスは16ビツトである。また
画像メモリは1画面512x512画素、1画素16ビ
ツトで複数画面の構成であり、上記アドレスバスのA1
〜A8の9ビツトが画面の水平アドレス(X)の指定に
、A + o = A + sの9ビツトが画面の垂直
アドレス(Y、)の指定に用いられるものとする。すな
わち、X、、Y合わせて18ビツトで、1画面256に
ワード(画素)のうちの任意の1ワード(画素)が選択
され、第3図に示すように2次元的にアドレスが配置さ
れる。第2図において破線で囲まれたブロック21が符
号化器の部分である。レジスタ22にはデータバス変換
処理の対象とする画面を示すアドレスがセットされてお
り、この出力5ビツトとアドレスバスの上位5ビツトが
一部コンパレータ23で比較され、対象とする画面かど
うかの判定か行われる。また、レジスタ24.26.2
8および30には、第3図の斜線で示されろ矩形領域を
指定するためのデータXi、X2.YlおよびY2がセ
ットされており、大小コンパレータ25.27.29.
3Iおよびゲート33によってコンピュータからアクセ
ス中の画素が矩形領域内にあるか否かの判定が行われる
。データ変換器としてはROM35が使用されている。
FIG. 2 shows a specific circuit example of this embodiment, which is a data conversion circuit for converting data written from a computer (not shown) to an image memory (not shown). The address bus of the computer mentioned above is 24 bits, and the data bus is 16 bits. In addition, the image memory has a configuration of multiple screens with one screen having 512 x 512 pixels and 1 pixel having 16 bits, and the A1 of the address bus mentioned above.
Assume that the 9 bits of .about.A8 are used to specify the horizontal address (X) of the screen, and the 9 bits of A + o = A + s are used to specify the vertical address (Y, ) of the screen. In other words, an arbitrary word (pixel) is selected from 256 words (pixels) on one screen using a total of 18 bits for X, , and Y, and addresses are arranged two-dimensionally as shown in Figure 3. . A block 21 surrounded by a broken line in FIG. 2 is the encoder part. An address indicating a screen to be subjected to data bus conversion processing is set in the register 22, and this output 5 bits and the upper 5 bits of the address bus are partially compared by a comparator 23 to determine whether or not the screen is the target screen. or will be done. Also, register 24.26.2
8 and 30 contain data Xi, X2 . Yl and Y2 are set, and the magnitude comparators 25.27.29.
3I and gate 33 determine whether the pixel being accessed by the computer is within a rectangular area. A ROM 35 is used as a data converter.

このROM35にはあらかじめ所定のデータ変換特性を
得るためのデータが書き込まれており、ゲート33の出
力に応じてそのデータ変換特性が切り替わるようになっ
ている。一致コンパレータ23でアドレスが一致し、か
つメモリへの書き込み時(MEMORQ=O,R/W=
0)のみゲート32の出力はアクティブになり、ROM
35がイネーブル状態となってデータ変換器として働く
、そり以外のときは、ROM35はディスエーブル状態
で3ステート出力となり、データバスの内容が、インバ
ータ34の出力をうけてイネーブル状態となった3ステ
ートバツフア36を介して、そのまま画像メモリへ送ら
れる。このようにして対象とする画面をアクセスする場
合だけ自動的にデータ変換処理が行われ、しかも指定し
た矩形領域内と外で全く別の変換特性にしたがってデー
タ変換(例えばγ補正と階調反転)される。
Data for obtaining predetermined data conversion characteristics is written in the ROM 35 in advance, and the data conversion characteristics are switched in accordance with the output of the gate 33. When the addresses match in the match comparator 23 and when writing to memory (MEMORQ=O, R/W=
0), the output of gate 32 becomes active, and the ROM
35 is in the enabled state and works as a data converter. In other cases, the ROM 35 is in the disabled state and becomes a 3-state output, and the contents of the data bus are in the 3-state enabled state by receiving the output of the inverter 34. The image is directly sent to the image memory via the buffer 36. In this way, data conversion processing is automatically performed only when the target screen is accessed, and data conversion is performed according to completely different conversion characteristics inside and outside the specified rectangular area (for example, γ correction and tone inversion) be done.

なお、本実施例ではデータ変換器がROMの場合を示し
たが、別の書き込み手段を備えたRAMでもよく、乗算
器等を組合せたより複雑なデータ変換器であってもよい
。またコンピュータのアドレスバスやデータバスのバス
幅に特定されることはない。
Although the present embodiment shows the case where the data converter is a ROM, it may be a RAM equipped with another writing means, or a more complicated data converter combined with a multiplier or the like. Furthermore, it is not specified by the bus width of the computer's address bus or data bus.

第2の発明の実施例 第4図は、本実施例の回路構成を示すブロック図である
Second Embodiment of the Invention FIG. 4 is a block diagram showing the circuit configuration of this embodiment.

この双方向データ変換回路は、2つのデータバス41お
よび42から入力されるデータのうちの一方を選択して
出力するデータセレクタ43と、上記データセレクタ4
3が出力したデータを入力データとし、この入力データ
に対して所定の変換特性にしたがってデータを出力する
データ変換器44と、3ステートバツフア45.46お
よびインバータ47とで構成されている。ここで、上記
3ステートバツフア45と46とで1人力2出力のデー
タ分配器の機能を果している。外部からの。
This bidirectional data conversion circuit includes a data selector 43 that selects and outputs one of data input from two data buses 41 and 42, and a data selector 43 that selects and outputs one of data input from two data buses 41 and 42.
The data converter 44 takes the data outputted by the converter 3 as input data and outputs data according to predetermined conversion characteristics with respect to the input data, a 3-state buffer 45, 46, and an inverter 47. Here, the three-state buffers 45 and 46 function as a data distributor with two outputs powered by one person. from outside.

方向制御信号DIRによって、2つのデータバス41お
よび42の間のデータの流れの方向が切り替えられる。
Direction control signal DIR switches the direction of data flow between two data buses 41 and 42.

第4図において、DIR=0のときデータバス41から
42へ、DIR=1のときデータバス42から41へそ
れぞれデータ変換されたデータが流れる。すなわち、D
IR=0のとき、データセレクタ43でデータバス41
からのデータが選択され、データ変換器44を介してデ
ータ変換され、3ステートバツフア46によってデータ
バス42へ出力される。このとき、3ステートバツフア
45は3ステート出力状態となっており、データバス4
Iへは影響を与えない。逆に、DIR=1のとき、デー
タセレクタ43でデータバス42からのデータが選択さ
れ、データ変換器44を介してデータ変換され、3ステ
ートバツフア45によってデータバス41へ出力される
。このとき、3ステートバツフア46は3ステート出力
状態でデータバス42へは影響を与えない。ここで、方
向制御信号DIRを用いてデータ変換器44の変換特性
を切り替えれば、データの方向で異なる変換特性を持つ
双方向データ変換回路を得ることができる。
In FIG. 4, converted data flows from data bus 41 to 42 when DIR=0, and from data bus 42 to 41 when DIR=1. That is, D
When IR=0, the data selector 43 selects the data bus 41.
The data from is selected, converted via data converter 44, and output to data bus 42 by three-state buffer 46. At this time, the 3-state buffer 45 is in a 3-state output state, and the data bus 4
It has no effect on I. Conversely, when DIR=1, data from the data bus 42 is selected by the data selector 43, converted via the data converter 44, and output to the data bus 41 by the 3-state buffer 45. At this time, the 3-state buffer 46 is in a 3-state output state and does not affect the data bus 42. Here, by switching the conversion characteristics of the data converter 44 using the direction control signal DIR, it is possible to obtain a bidirectional data conversion circuit having conversion characteristics that differ depending on the data direction.

第5図は、本実施例の具体的な回路例を示したものであ
り、8ビツトのデータバス51および52の間に置かれ
る双方向データ変換回路の1例である。この双方向デー
タ変換回路は、各データバス51.52からの8ビツト
のデータのうちのいずれかを選択出力するデータセレク
タ53、あらかじめ所定の変換特性を得るためのデータ
が書き込まれたデータ変換器としての512バイトのR
OM54、各8ビツトの3ステートバツフア55゜56
およびインバータ57で構成されいてる。データセレク
タ53の8ビツトの出力端子は、それぞれROM54の
アドレス入力端子に接続され、ROM54の8ビツトの
データ出力端子は、それぞれ3ステートバツフア55お
よび56に接続されろ。ここで、ROM54はいわゆる
ルックアップテーブルとして使用されており、データ変
換器としての役割を果している。データの流れの制御は
、第4図で述べた場合と全く同様にして行われる。RO
M54の最上位アドレス入力端子には方向制御信号DI
Rが接続され、データの流れる方向によって変換特性を
切り替えるようになっている。一方の変換特性が他方の
逆関数になるようにすることは、ROM54への書き込
みデータを適当に選ぶことによって容易に達成できる。
FIG. 5 shows a specific circuit example of this embodiment, and is an example of a bidirectional data conversion circuit placed between 8-bit data buses 51 and 52. This bidirectional data conversion circuit includes a data selector 53 that selects and outputs one of 8-bit data from each data bus 51 and 52, and a data converter in which data for obtaining predetermined conversion characteristics is written in advance. 512 bytes of R as
OM54, 3-state buffer of 8 bits each 55°56
and an inverter 57. The 8-bit output terminals of data selector 53 are connected to address input terminals of ROM 54, and the 8-bit data output terminals of ROM 54 are connected to 3-state buffers 55 and 56, respectively. Here, the ROM 54 is used as a so-called look-up table and serves as a data converter. Data flow control is performed in exactly the same manner as described in FIG. R.O.
The direction control signal DI is input to the highest address input terminal of M54.
R is connected, and the conversion characteristics are switched depending on the direction of data flow. Making one conversion characteristic an inverse function of the other can be easily achieved by appropriately selecting the data to be written to the ROM 54.

なお、本実施例ではデータ幅が8ビツトの場合を示した
が本発明はデータ幅が8ビツト以外のビット数の場合に
も適用できる。また、本実施例ではデータ変換器がRO
Mの場合を示したが、別の書き込み手段を備えたRAM
でもよく、さらに複雑なデータ変換器を用いることもで
きる。例えば、第6図に示すような、より複雑なデータ
変換器を用いることができる。このデータ変換器は、乗
算器61.加算器62、ROM63および64で構成さ
れている。そして、人力データXに対して(A・X+B
)の変換特性を持ち、定数AおよびBは、それぞれRO
M63および64によって与えられる。このデータ変換
器を本発明の双方向データ変換回路に適用すれば、例え
ば方向制御信号DI[によってROM33および34の
出ツノ内容を切りすることは容易である。
Although the present embodiment shows the case where the data width is 8 bits, the present invention can also be applied to cases where the data width is a number of bits other than 8 bits. Furthermore, in this embodiment, the data converter is RO
Although the case of M is shown, a RAM equipped with another writing means
However, more complex data converters can also be used. For example, more complex data converters can be used, such as the one shown in FIG. This data converter includes a multiplier 61. It is composed of an adder 62 and ROMs 63 and 64. Then, for human data X (A・X+B
), and the constants A and B are RO
M63 and 64. If this data converter is applied to the bidirectional data conversion circuit of the present invention, it is easy to switch the output contents of the ROMs 33 and 34 by, for example, the direction control signal DI.

〈発明の効果〉 以上より明らかなように、第1の発明のデータ変換回路
は、コンピュータのデータバス、アドレスバスおよびコ
ントロールバスの信号を符号化器で符号化し、これによ
ってデータ変換器のデータ変換特性を切替えるようにし
ているので、高速なデータ変換処理がプログラム制御に
よらず柔軟に行うことができる。
<Effects of the Invention> As is clear from the above, the data conversion circuit of the first invention encodes the signals of the data bus, address bus, and control bus of the computer using the encoder, thereby improving the data conversion of the data converter. Since the characteristics are switched, high-speed data conversion processing can be performed flexibly without relying on program control.

また、第2の発明のデータ変換回路は、従来の双方向デ
ータ変換回路のようにデータ変換器を2個必要とせず、
1個のデータ変換器を用いて双方向データ変換を行うこ
とができ、しかも、データ変換方向を切替えるための選
択信号によりデータ変換特性を切替えるようにしている
ので、高速かつ柔軟なデータ変換を行うことができる。
Further, the data conversion circuit of the second invention does not require two data converters unlike the conventional bidirectional data conversion circuit,
Bidirectional data conversion can be performed using a single data converter, and data conversion characteristics can be switched using a selection signal for switching the data conversion direction, allowing for high-speed and flexible data conversion. be able to.

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

第1図は第1の発明のデータ変換回路の一実施例を示す
ブロック図、第2図は上記実施例の具体的な回路例を示
す図、第3図は第2図のデータ変換回路に接続された画
像メモリの画像構成を説明する図、第4図は第2の発明
のデータ変換回路の一実施例のブロック図、。第5図は
第4図のデータ変換回路の具体的な回路例を示す図、第
6図は第4図のデータ変換回路におけるデータ変換器の
他の1例を示すブロック図、第7図は従来のデータ変換
回路のブロック図、第8図は従来の双方向データ変換回
路のブロック図である。 l・・・データ変換回路、2・・・データ変換器、3・
・符号化器、5− コンピュータ、41.42・・・デ
ータバス、 43・・・データセレクタ、44・・・データ変換器、
45.46・・・3ステートバツフア、47・・・イン
バータ。 特 許 出 願 人  シャープ株式会社代 理 人 
弁理士  前出 葆 はか1名〇  −〜      
           〇  −”L?5  δ 266一
FIG. 1 is a block diagram showing an embodiment of the data conversion circuit of the first invention, FIG. 2 is a diagram showing a specific circuit example of the above embodiment, and FIG. 3 is a block diagram showing an example of the data conversion circuit of the first invention. FIG. 4 is a block diagram of an embodiment of the data conversion circuit of the second invention. 5 is a diagram showing a specific circuit example of the data conversion circuit shown in FIG. 4, FIG. 6 is a block diagram showing another example of the data converter in the data conversion circuit shown in FIG. 4, and FIG. Block Diagram of a Conventional Data Conversion Circuit FIG. 8 is a block diagram of a conventional bidirectional data conversion circuit. l...data conversion circuit, 2...data converter, 3.
- Encoder, 5- Computer, 41.42... Data bus, 43... Data selector, 44... Data converter,
45.46... 3-state buffer, 47... Inverter. Patent applicant: Sharp Corporation Agent
Patent attorney: 1 person -~
〇 −”L?5 δ 2661

Claims (2)

【特許請求の範囲】[Claims] (1)コンピュータのデータバス、アドレスバスおよび
コントロールバスからの信号を符号化して選択信号とし
て出力する符号化器と、 上記コンピュータのデータバスとそれ以外のデータバス
に接続され、かつ、複数のデータ変換特性を有し、上記
符号化器が出力した選択信号にもとづいて上記複数のデ
ータ変換特性の中から一つのデータ変換特性を選択し、
上記2つのデータバスのいずれか一方のデータバスから
入力されたデータを上記選択したデータ変換特性に従っ
てデータ変換して他方のデータバスに出力するデータ変
換器とを備えたことを特徴とするデータ変換回路。
(1) An encoder that encodes signals from the data bus, address bus, and control bus of the computer and outputs the encoded signals as selection signals; having a conversion characteristic, and selecting one data conversion characteristic from among the plurality of data conversion characteristics based on a selection signal outputted by the encoder;
A data converter that converts data input from one of the two data buses according to the selected data conversion characteristic and outputs the converted data to the other data bus. circuit.
(2)2つのデータバスに接続され、選択信号にもとづ
いて上記2つのデータバスのうちのいずれか一方のデー
タバスからの入力データを選択して出力するデータセレ
クタと、 複数のデータ変換特性を有し、上記選択信号にもとづい
て上記複数のデータ変換特性の中から一つのデータ変換
特性を選択し、上記データセレクタが出力したデータを
上記選択したデータ変換特性に従ってデータ変換して出
力するデータ変換器と、 上記データ変換器が出力したデータを、上記選択信号に
もとづいて上記2つのデータバスのうちのいずれか他方
のデータバスに出力するデータ分配器とを備えたことを
特徴とするデータ変換回路。
(2) a data selector that is connected to the two data buses and selects and outputs input data from one of the two data buses based on a selection signal, and a plurality of data conversion characteristics; data conversion, which selects one data conversion characteristic from among the plurality of data conversion characteristics based on the selection signal, and converts and outputs the data output by the data selector according to the selected data conversion characteristic; and a data distributor that outputs the data output by the data converter to the other of the two data buses based on the selection signal. circuit.
JP15753988A 1988-06-23 1988-06-23 Data converting circuit Pending JPH01321542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15753988A JPH01321542A (en) 1988-06-23 1988-06-23 Data converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15753988A JPH01321542A (en) 1988-06-23 1988-06-23 Data converting circuit

Publications (1)

Publication Number Publication Date
JPH01321542A true JPH01321542A (en) 1989-12-27

Family

ID=15651891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15753988A Pending JPH01321542A (en) 1988-06-23 1988-06-23 Data converting circuit

Country Status (1)

Country Link
JP (1) JPH01321542A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006304059A (en) * 2005-04-22 2006-11-02 Kawasaki Microelectronics Kk Electronic circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006304059A (en) * 2005-04-22 2006-11-02 Kawasaki Microelectronics Kk Electronic circuit

Similar Documents

Publication Publication Date Title
US6954281B2 (en) Method and apparatus for image processing, and a computer product
JP3384571B2 (en) Multi-mode home terminal system and method for processing video / graphics information
US6633975B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
JPH01321542A (en) Data converting circuit
GB2228813A (en) Data array conversion
JP3416246B2 (en) Image processing device
JP2938107B2 (en) Pattern recognition device
JP2795881B2 (en) Image signal processing device
JP3793747B2 (en) Image processing device
JP2595524B2 (en) Image processing device
JP2000270207A (en) Image processor and display device using it
JPH06208614A (en) Image processor
JPS61264482A (en) Picture converting system
JPH07262349A (en) Method and circuit for dither modulation, method and circuit for generating address for dither table and hard copy circuit using these methods and circuits
JPS63205726A (en) Microcomputer
JPH02245978A (en) Picture processor
JPH0511330B2 (en)
JPS61120580A (en) Picture signal processor
JP2000013233A (en) Input/output device for communication and output signal control method using input/output device for communication
JPH0798695A (en) Microcomputer
JPH0378822A (en) Image data processor
JPH0698155A (en) Data processing system
JPH05314256A (en) Image data processor
JPH08305840A (en) Image processor
JPH06350570A (en) Synchronous type serial communication system