JPS63303456A - Data transfer equipment - Google Patents

Data transfer equipment

Info

Publication number
JPS63303456A
JPS63303456A JP62140255A JP14025587A JPS63303456A JP S63303456 A JPS63303456 A JP S63303456A JP 62140255 A JP62140255 A JP 62140255A JP 14025587 A JP14025587 A JP 14025587A JP S63303456 A JPS63303456 A JP S63303456A
Authority
JP
Japan
Prior art keywords
data
output
register
bit
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62140255A
Other languages
Japanese (ja)
Other versions
JP2558701B2 (en
Inventor
Naoki Wakabayashi
直樹 若林
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62140255A priority Critical patent/JP2558701B2/en
Publication of JPS63303456A publication Critical patent/JPS63303456A/en
Application granted granted Critical
Publication of JP2558701B2 publication Critical patent/JP2558701B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Memory System (AREA)
  • Studio Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Input (AREA)

Abstract

PURPOSE:To generate manifold image data from a various kinds of bit constituted image element data, by performing a comparison processing in a bit unit which constitutes an image element. CONSTITUTION:A first selection circuit 18 selects and outputs either the data of a data register 12 or the data read out from a memory 21 and stored in a latch circuit 14. A comparator 19 obtains coincidence between the output of the circuit 18 and a color register 17 at every bit, and obtains the coincidence according to the bit constitution of the image element, and outputs (0) when all of the bits in the image element, and outputs (0) when all of the bits in the image element coincide, and outputs (1) in other cases. A second selection circuit 20 inputs the output of the latch circuit 14 and that of a computing element 15, and selects and outputs the output of the bit of the computing element corresponding to each case when the bit of each output of a mask register 16 and the comparator 19 shows (1), and selects and outputs the output of the bit of the latch circuit 14 corresponding to each case when neither shows (1).

Description

【発明の詳細な説明】 産業上の利用分野 本発明はカラー表示装置において、ワード単位でのみア
クセス可能なメモリで、ワード内の画素単位にメモリの
内容を変換する処理を高速に行うデータ転送装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a data transfer device in a color display device that performs high-speed processing of converting the contents of a memory in units of pixels within a word in a memory that can be accessed only in units of words. It is related to.

従来の技術 従来のデータ転送装置としては、例えば特開昭58−2
41942号公報に示されている。
2. Prior Art As a conventional data transfer device, for example, Japanese Patent Laid-Open No. 58-2
It is shown in Japanese Patent No. 41942.

第7図はこの従来のデータ伝送装置の構成図を示すもの
であシ、それぞれレジスタに格納された原画像1および
原画像2をそれぞれの原画像に対して指定されたレジス
タに格納された背景色3および背景色4を基にして2値
化する2個のフィルタ7と、それぞれレジスタに得られ
た2値画像6および2値画像6を演算する演算回路9と
、該演算回路出力データを用いて原画像1,2を合成し
、レジスタに合成画像11t−出力する色復元回路10
よシ構成される。
FIG. 7 shows a configuration diagram of this conventional data transmission device, in which the original image 1 and original image 2 stored in the respective registers are connected to the background stored in the register designated for each original image. Two filters 7 that binarize based on the color 3 and the background color 4, an arithmetic circuit 9 that operates on the binary image 6 and the binary image 6 obtained in the registers, respectively, and the arithmetic circuit output data. a color restoration circuit 10 which combines the original images 1 and 2 using the
It is composed of a lot of things.

以上のように構成された従来のデータ転送装置において
は、フィルタ7において、原画像1及び2のデータが背
景色3及び4に一致の場合「Q」を、不一致の場@11
」を出力して、2値画像6及び6を出力する。演算回路
9へ2値画像5及び6を入力し、演算コード8で示され
る演算を行ない結果を出力する。色復元回路10におい
て、演算回路9の出力に従って、「0」の場合原画像1
の画素データを出力し、「1」の場合原画像2の画素デ
ータを出力する。
In the conventional data transfer device configured as described above, the filter 7 outputs "Q" when the data of the original images 1 and 2 match the background colors 3 and 4, and @11 when they do not match.
” and outputs binary images 6 and 6. Binary images 5 and 6 are input to the arithmetic circuit 9, which performs the arithmetic operation indicated by the arithmetic code 8 and outputs the result. In the color restoration circuit 10, according to the output of the arithmetic circuit 9, if it is "0", the original image 1
If it is "1", the pixel data of original image 2 is output.

発明が解決しようとする問題点 しかしながら上記のような構成では、画素単位にメモリ
の内容を変換することができないために、画像を任意の
位置に置くことができない。また画素を表わすビット構
成が固定であるため、各種の画像データを扱うことが不
可能である。また原画像から2値化するために、2つの
フィルタを用いているため、そのハードウェア量は多大
なものになっているという問題点を有していた。
Problems to be Solved by the Invention However, with the above configuration, it is not possible to convert the contents of the memory pixel by pixel, and therefore the image cannot be placed at an arbitrary position. Furthermore, since the bit configuration representing pixels is fixed, it is impossible to handle various types of image data. Furthermore, since two filters are used to binarize the original image, there is a problem in that the amount of hardware required is large.

本発明はかかる点に鑑み、画素単位にカラーデータを転
送し、各種のビット構成の画素データを扱い多様な画像
データを生成し、少ないハードウェアで高速にデーコ伝
送を実現できるデータ転送装置を提供することを目的と
する。
In view of this, the present invention provides a data transfer device that transfers color data pixel by pixel, handles pixel data with various bit configurations, generates a variety of image data, and realizes high-speed deco transmission with less hardware. The purpose is to

問題点を解決するだめの手段 転送元のデータを保持するデータレジスタと、上記デー
タを格納すべき転送先のアドレスを保持するアドレスレ
ジスタと、上記アドレスレジスタが示す番地のメモリの
内容を保持するラッチ回路と、上記データレジスタの出
力と上記ラッチ回路の出力を入力として入力データ間で
所望の演算を行う演算器と、上記演算器の演算結果が有
効であるビットを11」で、無効であるビットを「o」
で示すマスクレジスタと、画素の色を指定する色データ
を格納する色レジスタと、上記データレジスタと上記ラ
ッチ回路の出力を入力しいづれかの内容を出力する第1
の選択回路、と、上記第1の選択回路の出力と上記色レ
ジスタの内容を入力し各ビット毎に比較し、画素を構成
するビットデータに対応した結果がすべて一致した場合
は画素を示すビットデータを全て「0」とし、その他の
場合は画素を示すピットデータを全て「1」として出力
する比較器と、上越演算器の出方と上記ランチ回路の出
力を入力し上記マスクレジスタと上記比較器の内容がと
もに1−1」であるビットは上記演算器からの入力を出
力し上記アドレスレジスタの示すメモリに書込み、その
他のビットは上記ラッチ回路の内容を出力し上記アドレ
スレジスタの示すメモリに書込む第2の選択回路とを備
えたデータ転送装置である。
Means to solve the problem A data register that holds the transfer source data, an address register that holds the transfer destination address where the above data should be stored, and a latch that holds the contents of the memory at the address indicated by the above address register. a circuit, an arithmetic unit that inputs the output of the data register and the output of the latch circuit, and performs a desired operation between the input data; and 11, which indicates that the operation result of the arithmetic unit is valid, and which bits are invalid. ``o''
a mask register shown by , a color register that stores color data specifying the color of a pixel, and a first input that inputs the outputs of the data register and the latch circuit and outputs the contents of any of them.
The output of the first selection circuit and the contents of the color register are inputted and compared bit by bit, and if all the results corresponding to the bit data constituting the pixel match, the bit indicating the pixel is selected. A comparator that outputs all data as "0" and all pit data indicating pixels as "1" in other cases, the output of the Joetsu operator, and the output of the launch circuit described above are input, and the mask register and the above are compared. Bits whose contents are both 1-1 output the input from the arithmetic unit and write to the memory indicated by the address register, and other bits output the contents of the latch circuit and write to the memory indicated by the address register. This data transfer device includes a second selection circuit for writing.

作   用 本発明は前記した構成によシ、転送元のデータを保持す
るデータレジスタとアドレスレジスタの示す番地のデー
タを保持するラッチ回路の内容の間で所望の演算を演算
器で火付し結果を出力する。
According to the above-described configuration, the present invention uses a computing unit to perform a desired operation between the contents of the data register that holds the data of the transfer source and the latch circuit that holds the data at the address indicated by the address register, and calculates the result. Output.

またデータレジスタかラッチ回路のいずれかの内容を第
1の選択回路で選択して、そのデータと色レジスタの内
容を比較器においてビット毎に比較し、画素を構成する
ピットデータに対応した結果がすべて一致した場合は画
素を示すビットデータとして全て「0」を、その他の場
合は画素を示すビットデータとして全て「1」を出力す
る。上記演算器の演算結果が有効であるビットを「1」
で、無効であるピッ)k「0」でマスクレジスタに設定
されたデータと上記比較器の出力を第2の選択回路に入
力し、両方のデータがともに1−1」のビットは上記演
算器の演算結果を出力し、その他の場合は上記ランチ回
路の内容を出力し、上記アドレスレジスタの示すメモリ
の番地へ書込まれる。
In addition, the contents of either the data register or the latch circuit are selected by the first selection circuit, and the data and the contents of the color register are compared bit by bit in a comparator, and the result corresponding to the pit data constituting the pixel is obtained. If they all match, all "0" is output as bit data indicating the pixel, and in other cases, all "1" is output as the bit data indicating the pixel. Set the bit that indicates that the calculation result of the above calculation unit is valid to “1”
Then, input the data set in the mask register with k "0" and the output of the above comparator to the second selection circuit, and input the bit of "both data is 1-1" into the above arithmetic unit. In other cases, the contents of the launch circuit are output and written to the memory address indicated by the address register.

上記マスクレジスタに設定したデータにより、ワード単
位にアクセスするメモリに対して画素単位にデータを変
換することができ、また画素を構成するとットデーコに
従ってデータ転送を高速に行なうことを、多大でないノ
・−ドウエアで実現する。
The data set in the above mask register allows data to be converted pixel by pixel from memory accessed in word units, and when configuring pixels, data transfer can be performed at high speed according to the data code without much effort. This can be achieved with software.

実施例 第1図は本発明の実施例におけるデータ転送装置のブロ
ック図を示すものである。本実施例において扱うデータ
の単位は16ピツトデータとし、1画素のデータを4ビ
ツトで表現するとする。
Embodiment FIG. 1 shows a block diagram of a data transfer device in an embodiment of the present invention. In this embodiment, the unit of data handled is 16 pit data, and one pixel data is expressed with 4 bits.

第1図において、12は転送元のデータを格納するデー
タレジスタ、13は転送先アドレスを保持するアドレス
レジスタ、14はアドレスレジスタ13が示すメモリの
内容を保持するラッチ回路、15はデータレジスタ12
とラッテ回路14の内容の間で所望の演算を行う演算器
、16は演算器15の演算が各ビット毎に有効な場合「
1」を無効な場合1− OJを格納するマスクレジスタ
である。
In FIG. 1, 12 is a data register that stores transfer source data, 13 is an address register that holds a transfer destination address, 14 is a latch circuit that holds the contents of the memory indicated by the address register 13, and 15 is a data register 12.
An arithmetic unit 16 performs a desired operation between the contents of the arithmetic unit 15 and the contents of the latte circuit 14;
1” is invalid: 1- This is a mask register that stores OJ.

17は画素の色を指定する色データを格納する色レジス
タで、この実施例では、1画素を4ピツトのデータで表
現し、第4図のように同一の4ピツトデータを4組を色
レジスタに格納する。18はデータレジスタ12とラッ
チ回路14のいずれかを選択し出力する第1の選択回路
である。19は色レジスタ17と第1の選択回路18の
出力を入力とじビット毎に一致をと9、画素のビット構
成に従って、画素を構成する全てのビットで一致した場
合画素を示すビットを全て「0」とし、その他の場合は
画素を示すビットを全て「1」として出力する比較器で
ある。2oはラッチ回路14の出力と演算器16の出力
を入力し、マスクレジスタ16と比較器19のそれぞれ
の出力のビットが「1」の場合、演算器15のそれに対
応したビットの出力を選択して出力し、それぞれのビッ
トが1−1」でない場合、ラッチ回路14のそれに対応
したビットの出力を選択して出力する第2の選択回路で
ある。21/iメモリ、22はアドレスレジスタ13.
マスクレジスタ16.データレジスタ12、色レジスタ
17の内容を変更する演算部、22は第1の選択回路1
8の入力のいずれを選択するか示す信号と、演算器15
で行なう演算の種類を示す信号と、比較器19で比較す
る画素のビト長を示す信号を出力する制御部である。
Reference numeral 17 denotes a color register that stores color data that specifies the color of a pixel. In this embodiment, one pixel is expressed as 4-pit data, and as shown in Figure 4, four sets of the same 4-pit data are stored in the color register. Store. A first selection circuit 18 selects and outputs either the data register 12 or the latch circuit 14. Reference numeral 19 inputs the outputs of the color register 17 and the first selection circuit 18, matches each bit, and sets all bits indicating the pixel to "0" according to the bit configuration of the pixel. ”, and in other cases, it is a comparator that outputs all bits indicating pixels as “1”. 2o inputs the output of the latch circuit 14 and the output of the arithmetic unit 16, and when the output bit of each of the mask register 16 and the comparator 19 is "1", selects the output of the corresponding bit of the arithmetic unit 15. If each bit is not 1-1, the second selection circuit selects and outputs the output of the corresponding bit of the latch circuit 14. 21/i memory, 22 is an address register 13.
Mask register 16. A calculation unit that changes the contents of the data register 12 and the color register 17; 22 is the first selection circuit 1;
A signal indicating which of the 8 inputs to select, and the arithmetic unit 15
This is a control unit that outputs a signal indicating the type of calculation to be performed by the comparator 19 and a signal indicating the bit length of the pixel to be compared by the comparator 19.

第2図は本実施例における比較器19のCMO8回路図
を示すものである。第2図において、24は第1の選択
回路18の出力と色レジスタの出力を入力とするXNO
R回路、25は第1のNAND回路26はNOR回路、
27はインバータ回路、28はPチャンネルトランジス
タ、29はNチャンネルトランジスタである。
FIG. 2 shows a CMO8 circuit diagram of the comparator 19 in this embodiment. In FIG. 2, 24 is an XNO whose inputs are the output of the first selection circuit 18 and the output of the color register.
R circuit, 25 is a first NAND circuit 26 is a NOR circuit,
27 is an inverter circuit, 28 is a P-channel transistor, and 29 is an N-channel transistor.

第3図は本実施例における第2の選択回路20の回路図
を示すものである。3oはマスクレジスタ16の出力と
比較器19の出力を入力とする第2のNAND回路、3
1は第2 +7) NAND回路3oの出力とラッチ回
路14の出力を入力とする第3のNAND回路、32は
マスクレジスタ16の出力と比較器19の出力と演算器
15の出力を入力とする3人力NAND回路、33は第
2のNAND回路31の出力と3人力NAND回路32
の出力を入力する第4のNAND回路である。
FIG. 3 shows a circuit diagram of the second selection circuit 20 in this embodiment. 3o is a second NAND circuit which receives the output of the mask register 16 and the output of the comparator 19;
1 is the third NAND circuit whose inputs are the output of the NAND circuit 3o and the output of the latch circuit 14, and 32 is the third NAND circuit whose inputs are the output of the mask register 16, the output of the comparator 19, and the output of the arithmetic unit 15. 3 human powered NAND circuit, 33 is the output of the second NAND circuit 31 and the 3 human powered NAND circuit 32
This is a fourth NAND circuit that inputs the output of the .

以上のように構成された本実施例のデータ転送装置につ
いて、以下その動作を第5図を用いて説明する。
The operation of the data transfer apparatus of this embodiment configured as described above will be described below with reference to FIG.

データ転送に先立ち、転送元のデータを演算部32より
4ii!ji素(色39色11色21色1)のデータを
データレジスタ12に格納し、また色レジスタ17に画
素の色データを4画素分(色19色1、色19色1)と
格納し、マスクレジスタ16にX’OF F O’を格
納し、転送先のアドレスを演算部22よシアドレスレジ
スタ16に格納する0データ転送において、はじめにア
ドレスレジスタ16が示すメモリの番地の4画素のデー
タ(色3゜色49色19色2)を読出しラッチ回路14
に格納する。
Prior to data transfer, the transfer source data is processed by the calculation unit 32 as 4ii! ji element (39 colors, 11 colors, 21 colors 1) data is stored in the data register 12, and the color data of the pixels is stored in the color register 17 as 4 pixels (color 19 color 1, color 19 color 1), In the 0 data transfer in which X'OF Color 3° Color 49 Color 19 Color 2) Reading Latch Circuit 14
Store in.

演算器15において、データレジスタ12のデータとラ
ッチ回路14のデータ間で、制御部23の示す演算を行
い、演算器15の結果が4画素のデータ(色59色69
色71色7)として出力される0 制御部23が第1の選択回路18でデータレジスタ12
の内容を選択する場合、色レジスタ17と比!咬器19
で比較され、比較器19の出力は、第5図比較器19の
出力1となる。第2の選択回路20において、マスクレ
ジスタ16の内容と比較器19の出力よシ、演算器15
の出力かラッチ回路14の出力のいずれかを選択し出力
して、第5図の第2の選択回路20の出力1となる。こ
の場合、比較器19の出力が「1」でマスクレジスタ1
6の内容が「1」であるビットについて、演算器15の
結果を出力し、その他のビットはラッチ回路14の内容
が出力される。
The arithmetic unit 15 performs the arithmetic operation indicated by the control unit 23 between the data in the data register 12 and the data in the latch circuit 14, and the result of the arithmetic unit 15 is 4 pixel data (59 colors, 69 colors).
0 output as color 71 color 7) The control unit 23 controls the first selection circuit 18 and the data register 12.
When selecting the contents of color register 17 and ratio! Articulator 19
The output of the comparator 19 becomes the output 1 of the comparator 19 in FIG. In the second selection circuit 20, based on the contents of the mask register 16 and the output of the comparator 19, the arithmetic unit 15
Either the output of the latch circuit 14 or the output of the latch circuit 14 is selected and output, resulting in output 1 of the second selection circuit 20 in FIG. In this case, the output of the comparator 19 is "1" and the mask register 1
For bits whose contents are "1", the results of the arithmetic unit 15 are output, and for the other bits, the contents of the latch circuit 14 are output.

制御部23が第1の選択回路18でラッチ回路14の内
容を選択する場合、色レジスタ1了と比較器19で比較
され、比較器19の出力は、第5図比較器19の出力2
となる。
When the control unit 23 selects the contents of the latch circuit 14 with the first selection circuit 18, the content of the latch circuit 14 is compared with the color register 1 in the comparator 19, and the output of the comparator 19 is the output 2 of the comparator 19 in FIG.
becomes.

第2の選択回路20において、マスクレジスタ16の内
容と比較器19の出力より、演算器15の出力かラッチ
回路14の出力のいずれかを選択し出力して、第5図の
第2の選択回路2oの出力2となる。この場合、比較器
19の出力が「1」でマスクレジスタ16の内容が「1
」であるビットについて、演算器15の結果を出力し、
その他のビットはラッチ回路14の内容が出力される。
The second selection circuit 20 selects and outputs either the output of the arithmetic unit 15 or the output of the latch circuit 14 based on the contents of the mask register 16 and the output of the comparator 19, and selects and outputs either the output of the arithmetic unit 15 or the output of the latch circuit 14. This becomes output 2 of circuit 2o. In this case, the output of the comparator 19 is "1" and the contents of the mask register 16 are "1".
”, the result of the arithmetic unit 15 is outputted,
For other bits, the contents of the latch circuit 14 are output.

以上に示した動作により作られる。@2の選択回路20
の出力1か2をアドレスレジスタ13が示すメモリの番
地へ書込み、1回のデータ転送が完了する。
It is created by the operations shown above. @2 selection circuit 20
The output 1 or 2 of is written to the memory address indicated by the address register 13, and one data transfer is completed.

第2図に示した本実施例の比較器19について、以下そ
の動作を説明する。
The operation of the comparator 19 of this embodiment shown in FIG. 2 will be explained below.

本実施例の説明で1画素が4ビツトで表わされているた
め、制御部23より1lPP4Jの信号がアクティブに
なる。下位の4ビツトについて以下みていく。
Since one pixel is represented by 4 bits in the explanation of this embodiment, the signal 11PP4J is activated by the control section 23. We will look at the lower 4 bits below.

XNOR回路24において、第1の選択回路18の出力
の16ピントと色レジスタ17の出力の15ビツトヲ入
カレ、一致している場合「1」金、一致していない場合
1−〇」を出力する。同様に14゜13.12ビツトに
ついてXNOR回路24の出力を得る。14.15ビツ
トのXNOR回路24の出力のそれぞれをNAND回路
26へ入力する。また同様に12,13ビツトのXNO
R回路24の出力をそれぞれNAND回路26へ入力す
る。上記2つのNAND回路26の出力1NOR回路2
6へ入力する。NOR回路26の出力を1−EPP4J
信号が入力されているNチャンネルトランジスタ29の
直列に並んだ他方のNチャンネ、ルトランジスタ2つへ
入力される。12,13,14.15ビツトの全てにお
いて、第1の選択回路18と色レジスタ17が一致した
場合、比較器19の出力CM12゜CMj3,0M14
 、CMlsのビットは全て「○」になり、12,13
,14.15ビツトの全てにおいて、第1の選択回路1
8と色レジスタ17が一致しない場合、比較器19の出
力CM12゜0M13 、0M14 、 CMlesの
ビットは全て1−1」となる。以上の動作がビット0よ
りビット11について同様に行なう。
In the XNOR circuit 24, the 16 pins of the output of the first selection circuit 18 and the 15 bits of the output of the color register 17 are input, and if they match, it outputs "1" gold, and if they do not match, it outputs "1-0". . Similarly, the output of the XNOR circuit 24 for 14°13.12 bits is obtained. 14. Each of the outputs of the 15-bit XNOR circuit 24 is input to the NAND circuit 26. Similarly, 12 and 13 bit XNO
The outputs of the R circuits 24 are input to NAND circuits 26, respectively. Output 1 of the above two NAND circuits 26 NOR circuit 2
Enter into 6. The output of the NOR circuit 26 is 1-EPP4J
The signal is input to the other two N-channel transistors arranged in series of the N-channel transistor 29 to which the signal is input. When the first selection circuit 18 and the color register 17 match for all 12, 13, 14.15 bits, the output of the comparator 19 is CM12°CMj3, 0M14
, CMls bits are all “○”, 12, 13
, 14.15 bits, the first selection circuit 1
8 and the color register 17 do not match, the bits of the output CM12 of the comparator 19, 0M13, 0M14, and CMles are all 1-1. The above operation is similarly performed for bits 0 to 11.

第3図に示した本実施例の第2の選択回路2゜について
、以下その動作を説明する。
The operation of the second selection circuit 2° of this embodiment shown in FIG. 3 will be explained below.

第2の選択回路2oは、ラッチ回路14の出力と演算器
16の出力を入力し、マスクレジスタ16と比較器19
のビットがともに「1」である場合、3人力NAND回
路32に入力され、第4のNAND回路33を通じて、
演算器19の対応するビットが出力される。マスクレジ
スタ1θと比較器190ビツトがともに「1」でない場
合、第2のNAND回路30の出力がアクティブとなり
、第3のNAND回路31.第4のNAND回路33を
通じて、ラッチ回路14の対応するピントが出力される
The second selection circuit 2o inputs the output of the latch circuit 14 and the output of the arithmetic unit 16, and inputs the mask register 16 and the comparator 19.
When both bits are "1", the signal is input to the three-man NAND circuit 32 and passed through the fourth NAND circuit 33.
The corresponding bit of the arithmetic unit 19 is output. When both the mask register 1θ and the comparator 190 bits are not "1", the output of the second NAND circuit 30 becomes active, and the output of the third NAND circuit 31. The corresponding pin of the latch circuit 14 is output through the fourth NAND circuit 33.

以上本実施例の動作によると、第1の選択回路18によ
りデータレジスタ12の内容を選択し、第6図の第2の
選択回路20の出力1を得る場合、第6図に示す画像デ
ータ1を生成する。また、第1の選択回路18に2Lリ
ランチ回路14の内容を選択し、第6図の第2の選択回
路2oの出力2を得る場合、第6図に示す画像データ2
を生成する。
According to the operation of this embodiment, when the first selection circuit 18 selects the contents of the data register 12 and obtains the output 1 of the second selection circuit 20 shown in FIG. 6, the image data 1 shown in FIG. generate. Furthermore, when selecting the contents of the 2L relaunch circuit 14 in the first selection circuit 18 and obtaining the output 2 of the second selection circuit 2o in FIG. 6, the image data 2 shown in FIG.
generate.

但し、演算器15の演算は転送元データの書込み動作と
する。また、色レジスタ17の画素の色データは「色1
」とする。
However, the operation of the arithmetic unit 15 is assumed to be a write operation of the transfer source data. Also, the color data of the pixel in the color register 17 is “color 1”.
”.

以上のように本実施例によれば、画素単位にカラーデー
タを伝送し、各桟のビット構成の画素データを扱い多様
な画像データを生成し、少ないハードウェアで高速にデ
ータ伝送全失現できる。
As described above, according to this embodiment, color data is transmitted pixel by pixel, pixel data of the bit configuration of each crosspiece is handled, and various image data are generated, and data transmission can be completely eliminated at high speed with less hardware. .

究明の効果 以上説明したように、本発明によれば、ワード単位での
みアクセスするメモリに対して、画素単位にカラーデー
タを転送し、各種のビット構成の画素データを扱い多様
な画像データを生成し、少ないハードウェアで高速にデ
ータ伝送を実現することができ、その実用的効果は大き
い。
Effects of Investigation As explained above, according to the present invention, color data is transferred pixel by pixel to a memory that is accessed only in word units, and pixel data with various bit configurations are handled to generate a variety of image data. However, high-speed data transmission can be achieved with less hardware, and its practical effects are significant.

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

第1図は本発明における実施例のデータ転送装置のブロ
ック図、第2図は実施例のデータ伝送装置の比較器19
のCMO3回路図、第3図は実施例のデータ伝送装置の
第2の選択回路2oの回路図、第4図は実施例のデータ
伝送装置の色レジスタ17に格納されるデータの説明図
、第5図は実施例のデータ転送装置における処理の説明
図、第6図は実施例のデータ転送装置によるデータ転送
で生成される画像データの説明図、第7図は従来のデー
タ伝送装置の構成図である。 1.2・・・・・・原画像、3,4・・・・・・背景色
、5,6・・・・・・2値画IJ+、r・・・・・・フ
ィルタ、8・・・・・・演算コード、9・・・・・・演
算回路、1o・・・・・・色復元回路、11・・・・・
合成画像、12・・・・データレジスタ、13・・・、
・・アドレスレジスタ、14・・・・・・ラッチ回路、
15・・・・・・演算器、16・・・・・・マスクレジ
スタ、17・・・・・・色レジスタ、18・・・・・・
第1の選択回路、19・・・・・・比較器、20・−・
・・・第2の選択回路、21・・・・−・メモリ、22
・・・・・・演算部、23・・・・・制御部、24・・
・・・・XNOR回路°、25,30,31 .33 
・・−・・NAND回路、26・・・・・・NOR回路
、27・・ インバータ回路、28・・・・・・Pチャ
ンネルトランジスタ、29・・・・・Nチャンネルトラ
ンジスタ、32・・・・・3人力NAND回路。  。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第3
図 第4図 第5図 第 6 区 取送元画像≠−夕  k送先易像≠−タ登橡≠−夕(υ 易 く東 ラえ−9(2〕
FIG. 1 is a block diagram of a data transfer device according to an embodiment of the present invention, and FIG. 2 is a comparator 19 of the data transfer device according to the embodiment.
3 is a circuit diagram of the second selection circuit 2o of the data transmission device of the embodiment. FIG. 4 is an explanatory diagram of data stored in the color register 17 of the data transmission device of the embodiment. FIG. 5 is an explanatory diagram of processing in the data transfer device of the embodiment, FIG. 6 is an explanatory diagram of image data generated by data transfer by the data transfer device of the embodiment, and FIG. 7 is a configuration diagram of a conventional data transmission device. It is. 1.2... Original image, 3, 4... Background color, 5, 6... Binary image IJ+, r... Filter, 8... ...Arithmetic code, 9...Arithmetic circuit, 1o...Color restoration circuit, 11...
Composite image, 12... Data register, 13...
...Address register, 14...Latch circuit,
15... Arithmetic unit, 16... Mask register, 17... Color register, 18...
First selection circuit, 19... Comparator, 20...
...Second selection circuit, 21...--Memory, 22
...Calculating section, 23...Control section, 24...
...XNOR circuit °, 25, 30, 31. 33
...NAND circuit, 26...NOR circuit, 27... Inverter circuit, 28...P channel transistor, 29...N channel transistor, 32...・Three-person NAND circuit. . Name of agent: Patent attorney Toshio Nakao and 1 other person No. 3
Figure 4 Figure 5 Figure 6 Source image≠-evening destination image≠-ta climbing≠-evening

Claims (1)

【特許請求の範囲】[Claims] 転送元のデータを保持するデータレジスタと、上記デー
タを格納すべき転送先のアドレスを保持するアドレスレ
ジスタと、上記アドレスレジスタが示す番地のメモリの
内容を保持するラッチ回路と、上記データレジスタの出
力と上記ラッチ回路の出力を入力として入力データ間で
所望の演算を行う演算器と、上記演算器の演算結果が有
効であるビットを「1」で、無効であるビットを「0」
で示すマスクレジスタと、画素の色を指定する色データ
を格納する色レジスタと、上記データレジスタと上記ラ
ッチ回路の出力を入力しいづれかの内容を出力する第1
の選択回路と、上記第1の選択回路の出力と上記色レジ
スタの内容を入力し各ビット毎に比較し、画素を構成す
るビットデータに対応した結果がすべて一致した場合は
画素を示すビットデータを全て「0」とし、その他の場
合は画素を示すビットデータを全て「1」として出力す
る比較器と、上記演算器の出力と上記ラッチ回路の出力
を入力し上記マスクレジスタと上記比較器の内容がとも
に「1」であるビットは上記演算器からの入力を出力し
上記アドレスレジスタの示すメモリに書込み、その他の
ビットは上記ラッチ回路の内容を出力し上記アドレスレ
ジスタの示すメモリに書込む第2の選択回路とを備えた
ことを特徴とするデータ転送装置。
A data register that holds the transfer source data, an address register that holds the transfer destination address where the data should be stored, a latch circuit that holds the contents of the memory at the address indicated by the address register, and the output of the data register. and an arithmetic unit that performs a desired operation between input data using the output of the latch circuit as input, and a bit where the arithmetic result of the arithmetic unit is valid is set to "1", and a bit where it is invalid is set to "0".
a mask register shown by , a color register that stores color data specifying the color of a pixel, and a first input that inputs the outputs of the data register and the latch circuit and outputs the contents of any of them.
The output of the selection circuit, the output of the first selection circuit, and the contents of the color register are input and compared bit by bit, and if all the results corresponding to the bit data constituting the pixel match, the bit data indicating the pixel is input. A comparator that outputs all bit data indicating pixels as "0" and "1" in other cases, and a comparator that inputs the output of the arithmetic unit and the output of the latch circuit, and outputs the mask register and the comparator. Bits whose contents are both "1" output the input from the arithmetic unit and write to the memory indicated by the address register, and other bits output the contents of the latch circuit and write to the memory indicated by the address register. 1. A data transfer device comprising: 2 selection circuits.
JP62140255A 1987-06-04 1987-06-04 Data transfer device Expired - Lifetime JP2558701B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62140255A JP2558701B2 (en) 1987-06-04 1987-06-04 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62140255A JP2558701B2 (en) 1987-06-04 1987-06-04 Data transfer device

Publications (2)

Publication Number Publication Date
JPS63303456A true JPS63303456A (en) 1988-12-12
JP2558701B2 JP2558701B2 (en) 1996-11-27

Family

ID=15264530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62140255A Expired - Lifetime JP2558701B2 (en) 1987-06-04 1987-06-04 Data transfer device

Country Status (1)

Country Link
JP (1) JP2558701B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250254A (en) * 1992-03-04 1993-09-28 Nec Corp Storage circuit
USRE44589E1 (en) 1994-06-02 2013-11-12 Mosaid Technologies Incorporated Single chip frame buffer and graphics accelerator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250254A (en) * 1992-03-04 1993-09-28 Nec Corp Storage circuit
USRE44589E1 (en) 1994-06-02 2013-11-12 Mosaid Technologies Incorporated Single chip frame buffer and graphics accelerator

Also Published As

Publication number Publication date
JP2558701B2 (en) 1996-11-27

Similar Documents

Publication Publication Date Title
EP0655680A1 (en) Arithmetic logic unit having plural independent sections and register storing resultant indicator bit from every section
EP0655676A2 (en) Three input arithmetic logic unit forming mixed arithmetic and boolean combinations
EP0660227A2 (en) Three input arithmetic logic unit forming the sum of a first and a second boolean combination of the inputs
EP0657802A2 (en) Rotation register for orthogonal data transformation
JPS62293341A (en) Apparatus and method for identifying operand accuracy
JPS63303456A (en) Data transfer equipment
TW232060B (en) Image processing apparatus
Herron et al. A general-purpose high-speed logical transform image processor
US6940619B1 (en) Polynomial based multi-level screening
JPS619766A (en) Data transfer device
EP1120958A2 (en) Polynomial based multi-level screening
JPH0728988A (en) Two-dimensional sensor system
JPS6045862A (en) Shared memory device
JPS6464075A (en) Image processor
JPH0588887A (en) Data processor
JP3057749B2 (en) I / O port
JPS63123171A (en) Data transfer device
Shaaban et al. A chip design for binary and binary morphological operations
JPS61240375A (en) Image memory control device
JPS63143625A (en) Arithmetic and logic unit
JPH02201642A (en) Access system for memory for display
JPS61292782A (en) Picture data processing system
JPH0545978B2 (en)
JPH02105264A (en) Memory device for processing graphic data
JPH039425A (en) Central processing unit