[go: up one dir, main page]

JPS62249284A - memory drive circuit - Google Patents

memory drive circuit

Info

Publication number
JPS62249284A
JPS62249284A JP9359086A JP9359086A JPS62249284A JP S62249284 A JPS62249284 A JP S62249284A JP 9359086 A JP9359086 A JP 9359086A JP 9359086 A JP9359086 A JP 9359086A JP S62249284 A JPS62249284 A JP S62249284A
Authority
JP
Japan
Prior art keywords
address
data
image
output
input
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
JP9359086A
Other languages
Japanese (ja)
Inventor
Hitoshi Yamazaki
斎 山崎
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.)
Casio Computer Co Ltd
Casio Electronics Manufacturing Co Ltd
Original Assignee
Casio Computer Co Ltd
Casio Electronics Manufacturing 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 Casio Computer Co Ltd, Casio Electronics Manufacturing Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP9359086A priority Critical patent/JPS62249284A/en
Priority to DE19873713627 priority patent/DE3713627A1/en
Publication of JPS62249284A publication Critical patent/JPS62249284A/en
Priority to US07/590,532 priority patent/US5068904A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はメモリに係り、特に画像データを記憶する画像
メモリに関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a memory, and more particularly to an image memory for storing image data.

〔従 来 技 術〕[Traditional technique]

マイクロプロセッサの発展により、画像データの複雑な
処理が可能となった。例えば得られた図形の表示画像に
おける回転等があげられる。
The development of microprocessors has made it possible to perform complex processing of image data. For example, rotation in the displayed image of the obtained figure can be mentioned.

前述の図形の画像データは例えば各ドツトの白や黒を0
″や“1”で表す1ビツトのデータであり、複数ドツト
単位でメモリに記憶している(カラーや階調を有する場
合には複数ビットを1ドツトに割り当てている)。第1
0図は画像データ(256ドツト×256ドツト)を記
憶するメモリの構成図である。1アドレスは1ワード(
16ビツト)より成り、画像の横方向(X方向画像)の
ドツトを16ドツト、縦方向(Y方向画像)を1ドツト
で1ワードとして画像の位置に対応するように格納して
いる。画像の左上ドツトより右側に16ドツトで区切り
その16ドツトのデータ(16ビツト)を画像アドレス
” 0OOH’に、また次の右側16ドツトを画像アド
レスXGを“00111″に格納している。
For example, in the image data of the above-mentioned figure, the white and black of each dot are set to 0.
This is 1-bit data represented by "" or "1", and is stored in memory in units of multiple dots (if the dot has color or gradation, multiple bits are assigned to one dot).
Figure 0 is a block diagram of a memory that stores image data (256 dots x 256 dots). One address is one word (
16 dots are stored in the horizontal direction (X-direction image) of the image, and 1 dot is stored in the vertical direction (Y-direction image) as one word, corresponding to the position of the image. The image is divided into 16 dots to the right of the upper left dot, and the data of the 16 dots (16 bits) is stored in the image address "0OOH', and the next 16 dots on the right side are stored in the image address XG "00111".

横方向は256ドツトであるので、16アドレス(アド
レスの最下位4ビツト)が1行分のアドレスである。そ
して、Y方向画像アドレス(Y G)を1ドツトの行単
位で“0OOH”から0101”・・とじて格納してい
る(尚、“の中のHは16進を表す)。
Since there are 256 dots in the horizontal direction, 16 addresses (the lowest 4 bits of the address) are the addresses for one row. Then, the Y-direction image address (YG) is stored in rows of one dot as "0OOH" to "0101", etc. (H in "" represents hexadecimal).

従来、前述したメモリに格納したデータを読出す時には
順次アドレス000.アドレス001・・・アドレス0
10、アドレス021・・・の順に読出すことにより、
正位置すなわち回転しない画像データ(回転させていな
い場合)を得ることができる。
Conventionally, when reading data stored in the above-mentioned memory, addresses 000... Address 001...Address 0
By reading in the order of 10, address 021...
It is possible to obtain image data in the normal position, that is, unrotated image data (when not rotated).

一方、例えば表示画面上に表示した時の位置から90°
右回転した画像データを得る時には、左下側の1ドツト
に対応するビットを上方面に読出していた。すなわち、
16ビツト中のMSB(B15)を表示画面の左側とし
たならば、アドレスFFO〜アドレスFOOの16ワー
ドを順次読出すとともにその16ワードの各ドツト15
(B15)を1ワードとして構成し、その得られた1ワ
ードが画面上の左上の1ワード(アドレス000)とし
ている。
On the other hand, for example, 90 degrees from the position when displayed on the display screen.
When obtaining right-rotated image data, the bit corresponding to one dot on the lower left side is read upward. That is,
If the MSB (B15) of the 16 bits is placed on the left side of the display screen, 16 words from address FFO to address FOO are sequentially read out, and each dot 15 of the 16 words is read out sequentially.
(B15) is configured as one word, and the obtained one word is one word (address 000) at the upper left on the screen.

そして次にはアドレスEFO〜アドレスEOOの16ワ
ードを読出すとともにその16ワードの各ビット15(
B15)を1ワードとして次の1ワード(アドレス00
1)としている。縦一列を読出した後には、同じアドレ
スFFO〜FOOの16ワードを読出して、その16ワ
ードのビット14(B14)を1ワードとしている。さ
らに16列が読出した後にはアドレスEFO〜EOOの
16ワードのビット15(B15)より同様に1ワード
としている。このような16ワードの読出しと1ビツト
の選択によって、90°右回転した画像データを得てい
る。
Next, 16 words from address EFO to address EOO are read out, and each bit 15 (
B15) as one word and the next one word (address 00
1). After reading out one vertical column, 16 words at the same addresses FFO to FOO are read out, and bit 14 (B14) of the 16 words is set as one word. After further 16 columns have been read, one word is similarly read from bit 15 (B15) of 16 words of addresses EFO to EOO. By reading out 16 words and selecting 1 bit in this manner, image data rotated to the right by 90 degrees is obtained.

〔従来技術の問題点〕[Problems with conventional technology]

前述した従来の90°の回転においては、1ワ一ド単位
でデータを読出すにもかかわらず、読出した1ワード内
の1ビツトのデータが有効のビットとなる。換言するな
らば、読出した16ビツト中、15ビツトが無効のデー
タとなる。また、書込む場合には書込む為の16ビツト
のデータを1ビット単位で分割するとともに、目的の位
置の1ワードを読出して1ビツト変換し、再度書込むと
いう動作を行うている。即ち、16ビツトでの読出しや
書込み機能を有するにもかかわらず、その中の処理は1
ビツトで行われており、処理が遅くなるという問題を有
している。特に書込みの時には一度読出した後書込むた
め、さらに処理に時間を有するという問題があった。
In the conventional 90° rotation described above, although data is read in units of one word, one bit of data within one read word becomes a valid bit. In other words, 15 bits out of the 16 bits read are invalid data. Further, when writing, the 16-bit data for writing is divided into 1-bit units, and 1 word at the target position is read out, 1-bit conversion is performed, and the data is written again. In other words, although it has 16-bit read and write functions, the processing within it is only 1
This is done using bits, which has the problem of slow processing. Particularly in writing, since the data is read once and then written, there is a problem in that it takes additional processing time.

前述したメモリを順次横方向に直接アクセスして、CR
T等の表示装置にビデオ信号として出力するような場合
には、メモリのアクセスを前述したように動作する回路
を用いて行う。しかしながら、横方向の読出しスピード
と縦方向の読出しスピードとが異なり、また得られたワ
ードのドツト単位での処理が異なる(横方向は1ワード
読出すたびにパラレルイン−シリアルアウトのレジスタ
を用いて処理し、縦方向は1ワード読出すたびに目的の
ビットを選択して出力する)為、回路が複雑となる問題
を有していた。
Directly access the memory described above sequentially in the horizontal direction, and
In the case of outputting the video signal to a display device such as T, etc., memory access is performed using a circuit that operates as described above. However, the read speed in the horizontal direction and the read speed in the vertical direction are different, and the processing of the obtained word in units of dots is different (in the horizontal direction, a parallel in-serial out register is used each time one word is read out). (in the vertical direction, the target bit is selected and output every time one word is read out), which has the problem of complicating the circuit.

〔発明の目的〕[Purpose of the invention]

本発明は、上記従来の欠点に鑑み、横方向からのメモリ
をアクセスする場合にも、また縦方向からメモリをアク
セスする場合にも、目的とした複数のドツトデータを同
時に出力する画像メモリを提供することを目的とした。
In view of the above conventional drawbacks, the present invention provides an image memory that simultaneously outputs a plurality of targeted dot data both when accessing the memory from the horizontal direction and when accessing the memory from the vertical direction. The purpose was to.

〔発明の要点〕[Key points of the invention]

本発明は上記目的を達成するために、nxnドンドツ画
像データの1ドツトのデータに対応した入出力端子を有
し、少なくとも(n×n)/mドツトを記憶するm個の
メモリと、行アドレスの少なくとも一部と縦方向の列ア
ドレスの少なくとも一部とをデコードして前記メモリに
加える第1のデコード手段を有することを特徴とした。
In order to achieve the above object, the present invention has m memories each having an input/output terminal corresponding to one dot of nxn dot image data and storing at least (nxn)/m dots, and a row address. and at least a portion of the column address in the vertical direction and add the decoded data to the memory.

〔実  施  例〕〔Example〕

以下、図面を用いて本発明の詳細な説明する。 Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明のメモリ配置図である。図中、各ドツト
に対応するワク内の上部はメモリアドレスを下部はその
アドレス内のピント位置を表している。基本画像のY座
標(Y K)が“OO”で、基本画像のX座標(X K
)が00の時をメモリのアドレスADD“0000″の
ビット15(Di5)に割当てである。そして順次基本
画像のX座標(XK)方向に16ビツト単位で16アド
レス(FH:Hは16進)分順次歩進させるとともにそ
の間のドツトをピント15〜ビツト0(D15〜DO)
に割当ている。また基本画像のY座標(YK)が“01
”では、基本画像のY座標(YK)に対応する基本画像
の横1行を1ワ一ド単位で前述した基本画像のY座標(
YK)が“00”の場合のドツト対応を1ビツト分シフ
トした形で割り当てである。すなわち、基本画像のY座
標(YK)が“01”ではアドレスADD“0100″
のビットO(MO)を、そしてその右側のビット15〜
ビツト1(D15〜DI)を1ビツト分シフトして構成
している。さらに基本画像のY座標(YK)のアドレス
が歩進するたびに16ビツト単位で1ビツト分シフトす
るようにしている。
FIG. 1 is a memory layout diagram of the present invention. In the figure, the upper part of the box corresponding to each dot represents a memory address, and the lower part represents a focus position within that address. The Y coordinate (Y K) of the basic image is "OO" and the X coordinate (X K) of the basic image is "OO".
) is 00, it is assigned to bit 15 (Di5) of memory address ADD "0000". Then, the basic image is sequentially stepped in the X-coordinate (XK) direction by 16 addresses (FH: H is hexadecimal) in 16-bit units, and the dots in between are focused from 15 to 0 (D15 to DO).
is assigned to. Also, the Y coordinate (YK) of the basic image is “01”
”, the horizontal line of the basic image corresponding to the Y coordinate (YK) of the basic image is expressed in units of 1 word.
The dot correspondence when YK) is "00" is shifted by one bit. In other words, if the Y coordinate (YK) of the basic image is "01", the address ADD is "0100".
Bit O (MO) of , and bits 15 to the right of it
It is constructed by shifting bit 1 (D15 to DI) by one bit. Further, each time the Y coordinate (YK) address of the basic image increments, it is shifted by 1 bit in units of 16 bits.

換言するならば、基本画像のY座標(YK)が100″
の時にはアドレスADD″oooo”のビット15〜ピ
ント0(DI5〜DO)、アドレスADD“0001”
のビット15〜ビツト0(DI5〜DO)、アドレスA
DD“0002”のビット15〜ビツト0(DI5〜D
O)  ・・・とし、基本画像のY座標(Y K)が0
1″の時にはアドレスADD″0100”のビットO(
DO)つづいてビット15〜ビツト1(D15〜D1)
、アドレス0101のビット0(Do)つづいてビット
15〜ビフト1(015〜D1)、アドレス0102の
ビットO(DO)  ・・・とじている。さらに、基本
画像のY座標(YK)が“02”の時にはアドレスA 
D D ’ 0200”のビット1. 0  (Di・
〜Do)つづいてビット15〜ピツ)2(D15〜D2
)アドレスADD″0201’″のビット1.O(Di
、Do)、つづいてビット15〜ビツト2(DI5〜D
2)  ・・・のように順次基本画像のY座標が歩進す
る為に16ビツト単位でシフトすなわち回転シフトして
割当てている。
In other words, the Y coordinate (YK) of the basic image is 100''
When , bits 15 to pin 0 (DI5 to DO) of address ADD "oooo", address ADD "0001"
bits 15 to 0 (DI5 to DO), address A
Bits 15 to 0 of DD “0002” (DI5 to D
O)..., and the Y coordinate (YK) of the basic image is 0.
When it is 1'', bit O(
DO) Then bit 15 to bit 1 (D15 to D1)
, bit 0 (Do) of address 0101, followed by bits 15 to 1 (015 to D1), bit O (DO) of address 0102, and so on. Furthermore, when the Y coordinate (YK) of the basic image is "02", address A
Bit 1.0 of DD'0200 (Di・
~Do) Continued with Bit 15~Pitsu) 2 (D15~D2
) Bit 1 of address ADD ``0201''''. O(Di
, Do), followed by bits 15 to 2 (DI5 to D
2) In order to sequentially increment the Y coordinate of the basic image as shown in FIG.

前述したような割当てにより、基本画像の横方向や縦方
向の16ビツト単位での読出し時には常にその16ビツ
ト内のビット値(D15〜DO)は異なる。これにより
、16ビツト単位での縦方向や横方向のアクセスが可能
となる。尚、横方向の時には同一アドレスでアクセスし
、縦方向の時にはビット単位で異なるメモリをアクセス
する。
Due to the above-mentioned allocation, when a basic image is read in units of 16 bits in the horizontal and vertical directions, the bit values (D15 to DO) within the 16 bits are always different. This allows vertical and horizontal access in units of 16 bits. Note that in the horizontal direction, the same address is accessed, and in the vertical direction, different memories are accessed bit by bit.

第2図は本発明の第1の実施例の回路構成図である。フ
レームメモリ (M15〜MO)は各々1ビツトの入出
力端子I10を有し、16ビツトのデータ(D15〜D
O)を入出力するメモリを構成している。尚、図中結線
部の斜線の数はビット数を表している。各フレームメモ
リM15〜MOはアドレス値(Y7〜YO,X3〜XO
)が加わるアドレス入力端子と、ブロック値(B L 
K 6〜BLKO)が加わるブロック入力端子とを有す
る。
FIG. 2 is a circuit diagram of the first embodiment of the present invention. Each frame memory (M15 to MO) has a 1-bit input/output terminal I10, and has 16-bit data (D15 to D10).
It constitutes a memory that inputs and outputs O). Note that the number of diagonal lines in the connecting portion in the figure represents the number of bits. Each frame memory M15~MO has an address value (Y7~YO, X3~XO
) is added to the address input terminal, and the block value (B L
K6 to BLKO) are added to the block input terminal.

フレームメモリ (M15〜MO)は複数画面を記憶す
る容量を有しており、この複数画面を指示する端子が、
ブロック値(BLK6〜BLKO)が加わるブロック入
力端子である。このブロック値(BLK6〜BLKO)
によって目的のブロックすなわち画面のページが指定さ
れる。
The frame memory (M15 to MO) has the capacity to store multiple screens, and the terminal for specifying the multiple screens is
This is a block input terminal to which block values (BLK6 to BLKO) are added. This block value (BLK6~BLKO)
The target block, ie, the page of the screen, is specified by .

基本画像のY座標(YK)の上位ビア)(YK7〜YK
4)とX座標XKの上位4ビツト(XK7〜XK4)は
それぞれセレクタSLIの入力端子AとセレクタSL2
の入力端子B、セレクタSLIの入力端子Bとセレクタ
SL1の入力端子Aに加わる。セレクタSLI、SL2
は入力端子A、Bに加わるデータを選択して出力端子C
にデータを出力する回路であり、この選択は選択端子S
ELに加わる垂直水平切換信号H/Vによって決定され
る。垂直水平切換信号H/VがLレベル“0″の時には
セレクタSL1、SL2は入力端子Aに加わるデータを
選択して出力端子Cに出力し、I■レベル“1″の時に
その逆に入力端子Bに加わるデータを選択して出力端子
Cに出力する。以下では、先ず選択信号H/ VがLレ
ベルの信号である時について説明する。この時には前述
のセレクタSLIは基本画像のY座標の上位4ピントY
K7〜YK4を選択し、セレクタSL2は基本画像のX
座標の上位4ビツトXK7〜XK4を選択し、各出力端
子Cに出力する。
Upper via of Y coordinate (YK) of basic image) (YK7 to YK
4) and the upper 4 bits (XK7 to XK4) of the X coordinate XK are input terminal A of selector SLI and selector SL2, respectively.
, input terminal B of selector SLI, and input terminal A of selector SL1. Selector SLI, SL2
selects the data applied to input terminals A and B and outputs it to output terminal C.
This is a circuit that outputs data to the selection terminal S.
It is determined by the vertical/horizontal switching signal H/V applied to EL. When the vertical/horizontal switching signal H/V is at the L level "0", selectors SL1 and SL2 select the data applied to the input terminal A and output it to the output terminal C, and vice versa when the I■ level is "1". Data added to B is selected and output to output terminal C. In the following, first, the case where the selection signal H/V is an L level signal will be explained. At this time, the aforementioned selector SLI selects the top 4 focal points Y of the Y coordinate of the basic image.
Select K7 to YK4, selector SL2 is X of the basic image
The upper 4 bits of the coordinates XK7 to XK4 are selected and output to each output terminal C.

セレクタSLIの出力端子Cは排他的論理和群EORG
2を介して選択した基本画像YKの上位4ビツトYK7
〜YK4)を信号YS3〜ys。
Output terminal C of selector SLI is exclusive OR group EORG
The upper 4 bits of the basic image YK selected through 2
~YK4) as signals YS3~ys.

としてフレームメモリM15〜MOのアドレス値Y7〜
Y3が加わる端子に出力する。排他的論理和群EORG
2の一方の入力には垂直水平切換信号H/ Vが加わっ
ているので、排他的論理和群EORG2はバッファとし
て動作し、セレクタSL1の出力論理は反転されずに、
前述したフレームメモリM15〜MOの端子に加わる。
As frame memory M15~MO address value Y7~
Output to the terminal to which Y3 is applied. Exclusive OR group EORG
Since the vertical/horizontal switching signal H/V is applied to one input of the selector SL1, the exclusive OR group EORG2 operates as a buffer, and the output logic of the selector SL1 is not inverted.
It is added to the terminals of the frame memories M15 to MO mentioned above.

セレクタSL2の出力端子は選択した基本画像XKの上
位4ビツト (XK7〜XK4)をフレームメモリM1
5〜MOのアドレス値X3〜XOが加わる端子に出力す
る。一方、基本画像のY座標(YK)の下位4ビツト(
YK3〜YKO)は排他的論理和群EORG1を介して
アドレスデコーダのADRRのデコード入力値Yへ3〜
YAQが加わる端子とデコーダDRRのデコード入力値
YB3〜YBOを入力する端子に加わる。排他的論理和
群EORG1の一方のゲートには垂直水平切換信号H/
Vが加わり、他方にはそれぞれ基本画像のアドレスYK
の下位4ビツト(YK3〜YKO)が加わっている。よ
って、垂直水平切換信号II / VがLレベルの時に
は排他的論理和群EORGIは非反転回路すなわち単な
るバッファとして動作する。
The output terminal of selector SL2 transfers the upper 4 bits (XK7 to XK4) of the selected basic image XK to frame memory M1.
The address values X3 to XO of 5 to MO are output to the terminals to which they are applied. On the other hand, the lower 4 bits of the Y coordinate (YK) of the basic image (
YK3~YKO) are input to the decoded input value Y of ADRR of the address decoder via exclusive OR group EORG1.
It is applied to a terminal to which YAQ is applied and a terminal to which decoded input values YB3 to YBO of decoder DRR are input. One gate of the exclusive OR group EORG1 receives a vertical/horizontal switching signal H/
V is added, and the other is the basic image address YK.
The lower 4 bits (YK3 to YKO) are added. Therefore, when the vertical/horizontal switching signal II/V is at L level, the exclusive OR group EORGI operates as a non-inverting circuit, that is, a mere buffer.

アドレスデコーダADRRは前述した排他的論理和群E
ORG1の出力がアドレス値YB3〜YBOとして加わ
る他に垂直水平切換信号1(/VがアドレスデコーダA
DRRの端子Sに加わっており、これらの信号によって
メモリM15〜MOのアドレス値Y7〜YOが加わる端
子の下位4ビツトに対し特定のデコード値QF3〜QF
O,・・・Q03〜QOOを出力する。
The address decoder ADRR is the exclusive OR group E mentioned above.
In addition to the output of ORG1 being added as address values YB3 to YBO, the vertical/horizontal switching signal 1 (/V is added to the address decoder A
These signals are applied to the terminal S of the DRR, and these signals cause a specific decode value QF3 to QF to be applied to the lower 4 bits of the terminal to which the address values Y7 to YO of the memories M15 to MO are applied.
O, . . . outputs Q03 to QOO.

第3図はアドレスデコーダADRRの入出力データ図表
である。第3図(a)は垂直水平切換信号H/VがLレ
ベル(すなわちH/V=O)の時の、第3図(b)は垂
直水平切換信号!(/VがHレベル(H/V=1)の時
のそれぞれの入出力データ図表である。前述したように
垂直水平切換信号H/VがLの時には、第3図+8)の
ように出力データが決定され各フレームメモリM15〜
MOに加わるアドレス値Y3〜YOすなわち各デコード
出力QF3〜QFO□ ・・・QO3〜QOOはデコー
ド入力値YB3〜YBOと同じとなってフレームメモリ
M15〜MOに加わる。
FIG. 3 is an input/output data chart of address decoder ADRR. FIG. 3(a) shows the vertical/horizontal switching signal when the vertical/horizontal switching signal H/V is at L level (that is, H/V=O), and FIG. 3(b) shows the vertical/horizontal switching signal! (This is a diagram of each input/output data when /V is at H level (H/V=1).As mentioned above, when the vertical/horizontal switching signal H/V is L, the output is as shown in Figure 3+8) The data is determined and each frame memory M15~
Address values Y3 to YO added to MO, that is, each decode output QF3 to QFO□...QO3 to QOO are the same as decode input values YB3 to YBO and are added to frame memories M15 to MO.

前述した各値(ブロック値86〜BOとアドレス値Y7
〜YO,X3〜XO)がフレームメモリM15〜MOに
加わることにより、各フレームメモリM15〜MOはそ
の値に対応したデータDI5〜DOを出力あるいは入力
する。なお、各フレームメモリM15〜MOには前述し
た他にリード・ライト信号R/Wが加わっており、この
リード・ライト信号R/WがLの時にはリード、Hレベ
ルの時にはライト動作と各メモリM15〜MOはなる。
Each value mentioned above (block value 86 to BO and address value Y7
~YO, X3-XO) are added to the frame memories M15-MO, each frame memory M15-MO outputs or inputs data DI5-DO corresponding to the value. In addition, a read/write signal R/W is added to each frame memory M15 to MO in addition to the above-mentioned one, and when this read/write signal R/W is at L level, a read operation is performed, and when it is at an H level, a write operation is performed, and each memory M15 ~MO becomes.

すなわち、Lレベルの時には記憶したデータを出力し、
Hレベルの時には加わるデータを入力する。アドレス値
Y7〜YO,X3〜XOは第F図における横方向に対し
16ビツト分をアクセスするのと同じであり、例えばリ
ードの時には横方向に対し16ビツト分が同時に読出さ
れる。
In other words, when it is at L level, it outputs the stored data,
When the level is H, data to be added is input. Address values Y7 to YO and X3 to XO are the same as accessing 16 bits in the horizontal direction in FIG. F, and for example, when reading, 16 bits in the horizontal direction are read simultaneously.

第1図に示したように本発明の実施例においては、横方
向に対する16ビツトは常に縦方向に対して1ビツトづ
つシフトする構成となっている。このシフトを補正し、
加わる基本画像のX座標、Y座標に対し対応する位置に
するのがビットシフト回路BSCである。このビットシ
フト回路BSCによリ、位置に対応したデータDB15
〜DI30を得ることができる。
As shown in FIG. 1, in the embodiment of the present invention, the 16 bits in the horizontal direction are always shifted by 1 bit in the vertical direction. Correcting this shift,
The bit shift circuit BSC sets the position corresponding to the X and Y coordinates of the basic image to be added. This bit shift circuit BSC transfers data DB15 corresponding to the position.
~DI30 can be obtained.

デコーダDRRには前述したYK3〜YKOが排他的論
理和群EORG1の出力が加わっている。
The output of the exclusive OR group EORG1 of YK3 to YKO described above is added to the decoder DRR.

垂直水平切換信号H/VがLレベルの時にはこの排他的
論理和群EORGIは非反転すなわちバッファとして動
作するので、デコーダDRRには基本画像のY座標(Y
K)の下位4ピツ)(YK3〜YKO)が加わる。デコ
ーダDRRは加わった値(アドレス値)YB3〜YBO
をデコードする回路である。例えば4ビツトのアドレス
値YB3〜YBOが“0000”の時には出力SDOが
I″となり、他は“0”となり、”0001″の時には
出力SDIが1″、他は0”となるように入力した値に
対応する出力のみを1″とした。一方、ビットシフト回
路BSCは16ftMのビットシフト回路B5C0−B
5Cl 5より成り、前述のデコード値に対応したシフ
ト量を有するように構成されている。すなわちビットシ
フト回路B5C0はOシフト(入出力(データ)D15
〜Doと入出力DB15〜DBOは1対1で対応)、ビ
ットシフト回路B5Clは入出力(データ)DOが入出
力DB15に、入出力(データ)D15〜D1が入出力
DB14〜DBOに対応、同様に順次ビ・ノドシフト回
路ESC2〜B5Cl3はシフトして対応している。
When the vertical/horizontal switching signal H/V is at the L level, this exclusive OR group EORGI is not inverted, that is, it operates as a buffer, so the decoder DRR receives the Y coordinate (Y
K)'s bottom four pits) (YK3 to YKO) will be added. Decoder DRR is the added value (address value) YB3 to YBO
This is a circuit that decodes the . For example, when the 4-bit address value YB3 to YBO is "0000", the output SDO is I", the others are "0", and when it is "0001", the output SDI is 1", and the others are 0. Only the output corresponding to the value was set to 1''. On the other hand, the bit shift circuit BSC is a 16ftM bit shift circuit B5C0-B.
5Cl5, and is configured to have a shift amount corresponding to the decoded value described above. In other words, bit shift circuit B5C0 is O-shifted (input/output (data) D15
~Do corresponds to input/output DB15~DBO on a one-to-one basis), in the bit shift circuit B5Cl, input/output (data) DO corresponds to input/output DB15, input/output (data) D15~D1 corresponds to input/output DB14~DBO, Similarly, the bit-node shift circuits ESC2 to B5Cl3 respond by shifting sequentially.

このビットシフト回路BSCによって、第1図に示した
各フレームメモリM15〜MOのドツトに対応する位置
が割当られる。なお、ビ・ノドシフト回路B5C0〜B
5Cl 5はそれぞれ16個の双方向バッファによって
構成されており、前述したシフhiはこの双方向バッフ
ァの結線によって決定されるとともに、リード・ライト
信号R/Wでその方向が制御される。
This bit shift circuit BSC allocates positions corresponding to the dots in each of the frame memories M15 to MO shown in FIG. In addition, the bi-nod shift circuits B5C0 to B
Each of the 5Cls 5 is composed of 16 bidirectional buffers, and the shift hi described above is determined by the connections of the bidirectional buffers, and its direction is controlled by the read/write signal R/W.

以上述べた動作により、垂直水平切換信号H/ VがL
レベル(“O”)の時には、第4図に示したように各ド
ツトが配置されたごとく、外部よりアクセスすることに
より第1図に示したメモリ配置のデータをアクセスする
ことができる。なお、出力は16ビツト単位で行なわれ
るので基本画像のX座標(XK)の下位4ビツト、XK
3〜XKOは必要ない。
Due to the operation described above, the vertical/horizontal switching signal H/V becomes L.
At the level ("O"), the dots are arranged as shown in FIG. 4, and the data in the memory arrangement shown in FIG. 1 can be accessed by accessing from the outside. Note that output is performed in units of 16 bits, so the lower 4 bits of the X coordinate (XK) of the basic image,
3~XKO is not necessary.

次に垂直水平切換信号H/VがHレベルの時について説
明する。この時にはまずセレクタS、LL。
Next, the case when the vertical/horizontal switching signal H/V is at H level will be explained. At this time, first selectors S and LL.

SL2は入力端子Bより入力したデータを選択して出力
端子Cに出力する。すなわちセレクタSL1の出力端子
Cには基本画像のX座標XKの上位4ビフトXK7〜X
K4が出力される。この出力は排他的論理和群EORG
2に加わるが、この時排他的論理和群EORG2の一方
の入力に垂直水平切換信号H/VのHレベルが加わって
いるので、セレクタSLIによって選択され出力端子C
より出力された基本画像のXi標XKの上位4ビツトX
K7〜XK4は反転すなわちインバートされる。この反
転動作により、フレームメモリM15〜MOのアドレス
値Y7〜Y4は基本画像のX座標の上位4ビン1−XK
7〜XK4の反転した値となる。例えば基本画像をアク
セスする如く、左上端より右方向にアクセスした時には
、順次F。
SL2 selects data input from input terminal B and outputs it to output terminal C. That is, the output terminal C of the selector SL1 has the upper 4 bits XK7 to X of the X coordinate XK of the basic image.
K4 is output. This output is the exclusive OR group EORG
However, at this time, since the H level of the vertical/horizontal switching signal H/V is applied to one input of the exclusive OR group EORG2, it is selected by the selector SLI and the output terminal C
The upper 4 bits of the Xi mark XK of the basic image output from
K7-XK4 are reversed or inverted. Due to this reversal operation, the address values Y7 to Y4 of frame memories M15 to MO are changed to the upper four bins 1 to XK of the X coordinate of the basic image.
It becomes the inverted value of 7 to XK4. For example, when accessing from the upper left corner to the right, such as when accessing a basic image, F is sequentially accessed.

El  ・・・O,E、F、  ・・・0・・・0と入
力が変化する。一方、基本画像のY庫裏YKの下位4ビ
フ)YK3〜YKOは排他的論理和群EORGIに加わ
っており、この排他的論理和群BORCIの一方の入力
にも前述したと同様に垂直水平切換信号H/Vが加わっ
ている。よってこの排他的論理和群EORGIによって
基本画像のY座標YKの下位4ピッ1−YK 3〜YK
Oは反転されてアドレス値YB3〜YBOとしてアドレ
スデコーダADRRとデコーダDRRに加わる。アドレ
スデコーダADRRは垂直水平切換信号H/ Vによっ
て出力するデータを切換え、第3図(b)に示すように
アドレス値YB3〜YBOを変換して各フレームメモリ
M15〜MOにデコード値QF3〜QFO,・・・QO
3〜QOOを出力する。例えば基本画像の左上端をアク
セスした時には、排他的論理和群EORC;1によって
基本画像のY座標YKの下位4ビツトYK3〜YKOが
反転(“1111”)されてアドレスデコーダに加わる
El...The input changes as O, E, F,...0...0. On the other hand, the lower 4 bits (YK3 to YKO) of YKURA YK in the basic image are included in the exclusive OR group EORGI, and one input of this exclusive OR group BORCI is also supplied with a vertical/horizontal switching signal as described above. H/V has been added. Therefore, by this exclusive OR group EORGI, the lower 4 pis of Y coordinate YK of the basic image 1-YK 3~YK
O is inverted and added to address decoder ADRR and decoder DRR as address values YB3 to YBO. The address decoder ADRR switches the output data using the vertical/horizontal switching signal H/V, converts the address values YB3 to YBO, and stores the decoded values QF3 to QFO in each frame memory M15 to MO as shown in FIG. 3(b). ...QO
3 to output QOO. For example, when the upper left end of the basic image is accessed, the lower 4 bits YK3 to YKO of the Y coordinate YK of the basic image are inverted ("1111") by the exclusive OR group EORC;1 and added to the address decoder.

“1111”が加わった時にはアドレスデコーダADR
Rは各フレームメモリM15〜MOに対し、oooo″
、”1111″、  ”1110”、  ”0111”
When “1111” is added, the address decoder ADR
R is oooo'' for each frame memory M15 to MO.
, "1111", "1110", "0111"
.

“0110”、  ”0101″、”0100″、”0
011”。
"0110", "0101", "0100", "0"
011”.

“oooi ”を加える。また、セレクタSL2は基本
画像のY座標YKの上位4ピツ)YK7〜YK4を選択
してフレームメモリM15〜MOのドツト値X3〜xO
と・して加えるので、前述した左上端をアクセスした時
にはフレームメモリM15〜MOにはそれぞれFOOH
,FF0H−FIOH(Hは16進を表わす。同図にお
いてはHは略している。)が加わる。フレームメモリM
15〜MOへのこのアドレス値Y7〜YO,X3〜XO
が加わることにより、第1図における左下端より上側に
向って16ビツト分のデータが各フレームメモリM15
〜MOより出力される。このデータは基本画像の左下端
より上側に対して16ビツト分のデータであるが、その
順序はシフトしている。これを補正し、第1図に示すよ
うにD14〜DO1D15の時にするのが、ビットシフ
ト回路BSCである。前述したように垂直水平切換信号
H/Vがハイレベルの時には、基本画像のY座標YKの
下位4ビツトが排他的論理和群EORGIによって反転
されてデコーダDRR(YB3〜YBO)に加わるので
、ビットシフト回路B5Cl 5に接続しているデコー
ド出力5D15がHレベルとなってビットシフト回路B
SCのイネーブル端子EにHレベルを加えビットシフト
回路B5Cl3を動作させる。このビットシフト回路B
5Cl 50入出力(データ)D15は入出力DBOに
対応し、入出力(データ)DO−D14は入出力DBI
〜DB15に対応しているので、このビットシフト回路
B5Cl3によって、入出力DB15〜DBOは基本画
像の左下端より上側に順次16ビツトを切出したものに
対応する。そして、次に基本画像のX座標XKの上位4
ビツトが順次変化した時には、前述した動作と同様に順
次縁方面にフレームメモリM15〜MOを読出すととも
に、ビットシフト回路BSGで特定ビットシフトされる
Add “oooi”. In addition, the selector SL2 selects the top four points (YK7 to YK4) of the Y coordinate YK of the basic image and sets the dot values X3 to xO of the frame memories M15 to MO.
Therefore, when the upper left corner mentioned above is accessed, FOOH is added to frame memories M15 to MO respectively.
, FF0H-FIOH (H represents hexadecimal. H is omitted in the figure) are added. Frame memory M
This address value Y7~YO, X3~XO to 15~MO
By adding 16 bits of data upward from the lower left end in FIG.
~Output from MO. This data is 16 bits of data from the lower left end of the basic image to the upper side, but the order is shifted. The bit shift circuit BSC corrects this and operates during D14 to DO1D15 as shown in FIG. As mentioned above, when the vertical/horizontal switching signal H/V is at a high level, the lower 4 bits of the Y coordinate YK of the basic image are inverted by the exclusive OR group EORGI and added to the decoder DRR (YB3 to YBO), so that the bit The decode output 5D15 connected to the shift circuit B5Cl5 becomes H level and the bit shift circuit B
The H level is applied to the enable terminal E of SC to operate the bit shift circuit B5Cl3. This bit shift circuit B
5Cl 50 input/output (data) D15 corresponds to input/output DBO, input/output (data) DO-D14 corresponds to input/output DBI
Since the bit shift circuit B5Cl3 corresponds to DB15 to DB15, the input/output DB15 to DBO correspond to 16 bits sequentially cut out above the lower left end of the basic image. Then, the top 4 of the X coordinates XK of the basic image
When the bits change sequentially, the frame memories M15 to MO are sequentially read out toward the edge in the same manner as described above, and a specific bit is shifted by the bit shift circuit BSG.

第2図に示した本発明の実施例においては、ビットシフ
ト回路BSCは双方向バッファであり、その方向はリー
ド・ライト信号R/Wで変化する。
In the embodiment of the invention shown in FIG. 2, the bit shift circuit BSC is a bidirectional buffer whose direction changes with the read/write signal R/W.

よって前述した基本画像のX座標ならびに基本画像のY
座標が加わり、メモリをアクセスした時、リード・ライ
ト信号R/WがLレベルである時フレームメモリM15
〜MOのリード、Hレベルである時ライトとなる。また
、垂直水平切換信号H/Vによって垂直方向へのアクセ
スあるいは水平方向のアクセスとなるので、垂直水平切
換信号H/VがLレベルの時には、正常位置く回転させ
ない)でのリードとライトが行なわれ、垂直水平切換信
号H/VがHレベルの時には、リード時で基本画像が右
(資)°回転したデータを得ることができる。また、ラ
イト時には垂直水平切換信号H/VがLレベルの時に書
込んだデータに対し左90°回転したデータがフレーム
メモリに書込まれる。
Therefore, the X coordinate of the basic image mentioned above and the Y coordinate of the basic image
When coordinates are added and the memory is accessed, when the read/write signal R/W is at L level, the frame memory M15
~ MO read and write when at H level. Also, since access is performed in the vertical direction or in the horizontal direction depending on the vertical/horizontal switching signal H/V, when the vertical/horizontal switching signal H/V is at L level, reading and writing are performed without rotating to the normal position. When the vertical/horizontal switching signal H/V is at H level, it is possible to obtain data in which the basic image is rotated to the right during reading. Furthermore, during writing, data rotated 90° to the left with respect to the data written when the vertical/horizontal switching signal H/V is at L level is written in the frame memory.

以上の動作により、垂直水平切換信号H/VのLレベル
によって右90°回転した時の画像データを読出すこと
ができ、Hレベルによって左90度回転した画像データ
を書込むことができる。また、1回の書込みや読出しで
両方向とも16ビツトを同時に得ることができ、従来と
比ベメモリのアクセスが速くなる。
Through the above operations, image data rotated 90 degrees to the right can be read by the L level of the vertical/horizontal switching signal H/V, and image data rotated 90 degrees to the left can be written by the H level. Furthermore, 16 bits can be obtained simultaneously in both directions with one write or read operation, making memory access faster than in the past.

第5図は本発明の第2の実施例の回路構成図である。画
像メモリCHGは第2図に示した回路構成と同様の回路
でり、ブロック値BLK5〜BLKO1垂直水平切換信
号H/V、アドレス値Y7〜YO,X3〜XO,リード
・ライト信号R/Wが加わる端子と、リード時にはデー
タDB15〜’DBOが出力されライト時にはデータD
B15〜DBOが入力される端子を有している。
FIG. 5 is a circuit diagram of a second embodiment of the present invention. Image memory CHG has a circuit similar to the circuit configuration shown in Fig. 2, and block values BLK5 to BLKO1 vertical/horizontal switching signal H/V, address values Y7 to YO, X3 to XO, and read/write signal R/W. When reading, data DB15 to 'DBO are output, and when writing, data D is output.
It has terminals to which B15 to DBO are input.

第2図の回路構成すなわち画像メモリCHGでは基本画
像に対し右90°回転したデータの読出しと左(資)°
回転したデータの書込みしか行うことができなかった。
In the circuit configuration shown in Fig. 2, the image memory CHG reads data rotated 90 degrees to the right with respect to the basic image, and
Only rotated data could be written.

第5図の回路は(資)゛ステップすなわち+90 ’ 
、  180” 、  270”右回転(270’ 、
  180’。
The circuit in Fig. 5 is a step of +90'.
, 180", 270" clockwise rotation (270',
180'.

90”左回転)した基本画像の続出や書込みを行うこと
を可能とした回路である。±90°回転した画像を得る
ことができるならば、画像メモリCHGのアドレス値を
反転し、必要な時にデータのビットをスワップ(MSB
とLSBを全ビット入換える)することにより、任意の
回転画像や表裏反転画像を得ることができる。
This circuit makes it possible to successively print and write basic images that have been rotated 90 degrees to the left.If an image that has been rotated by ±90 degrees can be obtained, the address value of the image memory CHG is inverted and the image can be written as needed. Swap bits of data (MSB
By exchanging all bits of the LSB and LSB), it is possible to obtain an arbitrary rotated image or reversed image.

このアドレス値の反転を行うのが排他的論理和群EOR
G3. EORG4であり、データのビットスワップを
行うのが、データスワップ回路WSCである。
The exclusive OR group EOR performs the inversion of this address value.
G3. EORG4 is a data swap circuit WSC that performs data bit swapping.

排他的論理和群EORG3の一方の入力には反転制御信
号YINVが加わり、他方の入力にはY座標のアドレス
値YA7〜YAOが加わる。反転ff1grI信号YI
NVが“l”すなわち!fレベルの時にはアドレス値Y
A7〜YAOを反転し、画像メモリCHGへアドレス値
YKとして加える。また、反転制御信号YINVが“O
”すなわちLレベルの時にはその出力は非反転(論理が
反転しない)でそのままアドレス値YA7〜YAOを画
像メモリCIf Gのアドレス値YKとして加える。
The inversion control signal YINV is applied to one input of the exclusive OR group EORG3, and the address values YA7 to YAO of the Y coordinate are applied to the other input. Inverted ff1grI signal YI
NV is “l”, that is! Address value Y at f level
A7 to YAO are inverted and added to the image memory CHG as an address value YK. Also, the inversion control signal YINV is “O”.
``In other words, when the output is at the L level, the output is not inverted (the logic is not inverted) and the address values YA7 to YAO are directly added as the address value YK of the image memory CIfG.

排他的論理和群EORG4の一方の入力には反転制御信
号XINVが加わり、他方の入力にはX座標のアドレス
値XA7〜XA4 (上位4ビツトのみ:下位は16ビ
ツト並列で読出されるので必要ない)が加わる。反転制
御信号XINVが“1”の時にはアドレス値XA7〜X
A4を反転し、画像メモリCHGへアドレス値XKを加
える。また反転制御信号XINVが“O゛の時にはその
出力は非反転で、そのままアドレス値XA7〜XA4を
画像メモリCHGのアドレス値XKとして加える。前述
した排他的論理和群EORG3゜EORG4によってア
ドレス値YA7〜YAO。
The inversion control signal XINV is applied to one input of the exclusive OR group EORG4, and the X coordinate address values XA7 to XA4 are applied to the other input (upper 4 bits only; lower 16 bits are not necessary as they are read in parallel. ) is added. When the inversion control signal XINV is “1”, the address values XA7 to X
A4 is inverted and the address value XK is added to the image memory CHG. Further, when the inversion control signal XINV is "O", its output is non-inverted, and the address values XA7 to XA4 are directly added as the address value XK of the image memory CHG. Y.A.O.

XA7〜XA4を反転あるいは非反転して画像メモリC
HGに加えることができる。
Image memory C by inverting or non-inverting XA7 to XA4
Can be added to HG.

一方、データスワップ回路WSCは16個単位での2相
の双方向バッファWSCI、WSC2を有し、双方向3
771群WSCIはWi像メモリCHGの入出力DB1
5〜DBOをデータDD15〜DDOに対応して接続さ
れている。また、双方向バッファ群WSC2はIi像メ
モリCHGのデータDBO〜DB15をデータDD15
〜DDOに対応して接続している。双方向バッファ群W
SCIのイネプル端子E(動作制御を行なう端子)には
インバータINVを介してデータスワップ信号WSが加
わり、双方向パンフ1群WSC2には、データスワップ
信号wsが直接加わっている。各双方向バッファ群WS
CI。
On the other hand, the data swap circuit WSC has 2-phase bidirectional buffers WSCI and WSC2 in units of 16, and has 3 bidirectional buffers WSCI and WSC2.
The 771st group WSCI is the input/output DB1 of the Wi image memory CHG.
5 to DBO are connected corresponding to data DD15 to DDO. Further, the bidirectional buffer group WSC2 transfers the data DBO to DB15 of the Ii image memory CHG to the data DD15.
- Connected in accordance with DDO. Bidirectional buffer group W
A data swap signal WS is applied to an input terminal E (terminal for controlling operation) of the SCI via an inverter INV, and a data swap signal ws is directly applied to the first group of bidirectional pamphlets WSC2. Each bidirectional buffer group WS
C.I.

WSe2はイネーブル端子Eに’1’(Hレベル)が加
わった時に動作するものであるので、データスワップ信
号が“1″の時に画像メモリCHGの入出力DB15〜
DBQとデータDD15〜データDDOを対応させ、す
なわち、データをビット単位で上下にスワップさせ、“
0″の時には、1対1に対応させて入出力を制御する。
WSe2 operates when '1' (H level) is applied to the enable terminal E, so when the data swap signal is '1', the input/output DB15 to image memory CHG
DBQ and data DD15 to data DDO are made to correspond, that is, the data is swapped up and down in bit units, and “
When it is 0'', input/output is controlled in one-to-one correspondence.

尚、双方向バッファ群WSCI、WSC2にはリード・
ライト信号R/Wが加わっており、リード(10″)の
時にはデータDB15〜DBOをデータDD15〜DD
O又はデータDDO〜DD15に対応させて出力し、ラ
イト(11″)の時にはデータDD15〜DDOをデー
タDB15〜DBOあるいはデータDBO〜DB15に
対応させて画像メモリCHGに加える。
Note that the bidirectional buffer groups WSCI and WSC2 have read and
A write signal R/W is added, and when reading (10'') data DB15~DBO is transferred to data DD15~DD.
0 or data DDO to DD15, and at the time of write (11''), data DD15 to DDO are added to the image memory CHG in correspondence to data DB15 to DBO or data DBO to DB15.

第6図は垂直水平切換信号H/V、反転制御信号YIN
V、XINV、 データス”77ブ信号wsにおける読
出し時に得られる画像と書込み時に書込まれる画像の位
置関係を表わした図表である。
Figure 6 shows the vertical/horizontal switching signal H/V and the inversion control signal YIN.
77 is a chart showing the positional relationship between an image obtained during reading and an image written during writing in data bus signal ws.

尚、リード時の回転動作は正常位基本画像が書込まれて
いる時に読出される画像の位置状態を、またライト時に
は、書込んだデータを各信号VINV、XINV、WS
、H/Vが共に”o″状態読出した場合の画像の位置状
態を表わしている。先ず垂直水平切換信号H/Vが“O
″の場合を説明する0反転制御信号YINV、XINV
In addition, the rotation operation at the time of reading uses the position state of the image read when the missionary basic image is written, and the written data at the time of writing, using the signals VINV, XINV, and WS.
, H/V are both in the "o" state. First, the vertical/horizontal switching signal H/V is “O”.
” 0 inversion control signals YINV, XINV
.

データスワップ信号WSが共に60”である時には、読
出し、書込時に正常位の基本画像を得、また書込むこと
ができる。すなわち回転しないデータの読出し、書込み
が可能となる。その逆に反転制御信号YrNVが“l”
の時には、アドレス値YA7〜YAOが排他的論理和群
EORG3によって反転するので、リード、ライト時共
に上下逆の裏面画像を得る。尚、書込み時には、正常の
位置の基本画像が書込まれている時には上下道の裏面の
画像が読出せ、その逆に基本画像が入力している時には
基本画像の上下逆の裏面を書込むことができる。
When both the data swap signals WS are 60'', a normal basic image can be obtained during reading and writing, and writing can be performed.In other words, it is possible to read and write data that does not rotate.On the other hand, inversion control Signal YrNV is “l”
At this time, the address values YA7 to YAO are inverted by the exclusive OR group EORG3, so that an upside-down back image is obtained both during reading and writing. In addition, when writing, when the basic image in the normal position is written, the image on the back side of the upper and lower roads can be read, and conversely, when the basic image is input, the upside down back side of the basic image can be written. Can be done.

反転制御信号YINVが“O”で反転制御信号XINV
とデータスワップ信号WSが“1”の時には左右逆の裏
面の書込みと読出しができる。反転制御信号YINV、
XINVとデータスワップ信号WSが全て“1”の時に
は、X座標、Y座標が左右、上下に反転し、データスワ
ップ信号によってデータスワップするので、リード、ラ
イト時、共に180°回転した基本画像を読出せ、また
書込むことができる。
When the inversion control signal YINV is “O”, the inversion control signal XINV
When the data swap signal WS is "1", writing and reading can be performed on the reverse side of the left and right sides. inverted control signal YINV,
When XINV and data swap signal WS are all "1", the X and Y coordinates are reversed horizontally and vertically, and the data is swapped by the data swap signal, so when reading and writing, the basic image rotated by 180 degrees is read. You can publish and write again.

一方、垂直水平切換信号H/Vが“1”の時には、他の
信号YINV、XINV、WSが共に“0”である場合
前述した様に、右90”回転したデータを読出せ、左9
0°回転した画像データを書込むことができる。垂直水
平切換信号H/Vは前述した様に加わるアドレス値に対
応して右90°回転したデータを出力したり、取込んだ
りする制御を行なうものであり、この信号H/Vが“1
”で前述した反転制御信号YINVが“1”、反転制御
信号XINVとデータスワップ信号WSが“O”の時に
は上下逆の裏面の右90°回転した画像データを読出す
ことができ、また上下逆の裏面の左90”回転した画像
データを書込むことができる。同時に垂直水平切換信号
H/Vが“1”で反転制御信号YINVが“O”、反転
制御信号XINV、データスワップ信号“1”の時には
左右逆の裏面の右90°回転して画像データを読出せ、
また、左右逆の裏面の左90°回転した画像データを書
込むことができる。また、垂直水平切換信号H/V反転
制御信号YINV、XINVデータスワップ信号WSが
共に“1″の時には右270°回転の画像データを読出
せ、左270°回転の画像データを書込むことができる
On the other hand, when the vertical/horizontal switching signal H/V is "1" and the other signals YINV, XINV, and WS are all "0", data rotated 90" to the right can be read,
Image data rotated by 0° can be written. As mentioned above, the vertical/horizontal switching signal H/V controls outputting and importing data rotated 90 degrees to the right in response to the applied address value, and when this signal H/V is "1",
”, when the inversion control signal YINV is “1” and the inversion control signal It is possible to write image data rotated 90” to the left on the back side of the disc. At the same time, when the vertical/horizontal switching signal H/V is “1”, the inversion control signal YINV is “O”, the inversion control signal Get it out.
In addition, image data rotated 90 degrees to the left on the back side with the left and right sides reversed can be written. Furthermore, when both the vertical/horizontal switching signal H/V inversion control signal YINV and the XINV data swap signal WS are "1", image data rotated by 270 degrees to the right can be read, and image data rotated by 270 degrees to the left can be written. .

前述した様な各種信号に目的の値を加えることにより、
リード時もライト時も表面面と裏画面での0°、90°
、180°、270°回転した画像を得ることができる
。尚第6図中動作の欄が「−」はこれ以外のデータであ
り、そのほとんどは上下あるいは左右方向16ビツト単
位でデータが入れ換っている画像データとなっている。
By adding the desired value to the various signals mentioned above,
0° and 90° on the front and back screens when reading and writing
, 180°, and 270° rotated images can be obtained. Note that "-" in the operation column in FIG. 6 indicates data other than this, and most of it is image data in which data is exchanged in units of 16 bits in the vertical or horizontal direction.

前述した本発明の実施例は、表ならびに裏画面の各4方
向への回転データを書込また読出しを行う回路である。
The embodiment of the present invention described above is a circuit that writes and reads rotation data in each of four directions on the front and back screens.

実際の画像データを回転処理する場合には、裏画面を用
いることはまれでありそのほとんどはおもて画面の回転
処理である。第7図は本発明の第3の実施例の回転構成
図であり、表面面の4方向(0”、 90”、 180
°、270”)の回転画像を読出し、また書込むことが
できる。
When rotating actual image data, the back screen is rarely used, and most of the rotation processing is performed on the front screen. FIG. 7 is a rotation configuration diagram of the third embodiment of the present invention, and shows the rotation in four directions (0", 90", 180") of the surface.
270”) can be read and written.

第5図に示した本発明の実施例の回路構成図においては
画像メモリCHG内に有する排他的論理和群EORG2
をその入力側に設け、また、排他的論理和群EORG3
.EORG4とによって反転され、さらにまた反転され
てもとの論理にもどるという様な構成となっている。こ
の論理をまとめ、さらに裏面を出力しない様にしたのが
、第7図の本発明の第3の実施例の回転構成である。尚
、第2図、第5図における本発明の第1.第2の実施例
と同一動作の回路は、同一符号を符して説明を略す。
In the circuit configuration diagram of the embodiment of the present invention shown in FIG.
is provided on its input side, and exclusive OR group EORG3
.. The configuration is such that it is inverted by EORG4, and then inverted again to return to the original logic. The rotation configuration of the third embodiment of the present invention shown in FIG. 7 is a combination of this logic and a configuration in which the back side is not output. Note that the first aspect of the present invention in FIGS. 2 and 5. Circuits that operate in the same manner as in the second embodiment are designated by the same reference numerals and explanations will be omitted.

回転制御信号FDIRQ、FDIRIは、り一ド時には
、格納している基本画像を90°、180 °。
Rotation control signals FDIRQ and FDIRI rotate the stored basic image by 90° and 180° during rotation.

270°左回転して読出し、ライト時には、90°。Rotate 270 degrees to the left for reading and 90 degrees for writing.

180 ”、 270°右回転して書込む伏態を制御す
る信号である。
This is a signal for controlling the writing position by rotating clockwise by 180 degrees and 270 degrees.

回転制御信号FDIRQは、セレクタSL3゜SL4の
選択端子SELに加わっている。セレクタSL3の入力
端子A、 Bにはアドレス値YA7〜YA4.XA7〜
XA4が、またセレクタSL3の入力端子A、Bにはア
ドレス値XA7〜XA4; YA7〜YA4が加わって
いるので、この回転制御信号FDIRQが“O″の時に
はセレクタSL3は入力端子Aに加わるアドレス値YA
7〜YA4を選択し、セレクタSL4は入力端子Aに加
わるアドレス値YA7〜YA4を選択して、それぞれ排
他的論理和群E、ORG 5 。
The rotation control signal FDIRQ is applied to selection terminals SEL of selectors SL3 to SL4. Input terminals A and B of selector SL3 have address values YA7 to YA4. XA7~
Since the address values XA7 to XA4; YA7 to YA4 are applied to the input terminals A and B of the selector SL3, when the rotation control signal FDIRQ is "O", the selector SL3 selects the address value applied to the input terminal A. YA
7 to YA4, and selector SL4 selects address values YA7 to YA4 to be applied to input terminal A to form exclusive OR groups E and ORG5, respectively.

EORG6の一方の入力に加える。排他的論理和群EO
RG5の他方の入力には回転制御信号FDIRIが加わ
っているので、この回転制御信号FD I R1が“O
”の時にはセレクタSL3の出力を非反転で、“1”の
時にはセレクタSL3の出力を反転し、アドレス値YA
7〜YA4としてフレームメモリM15〜MOに加える
。排他的論理和EORの入力は前述した回転制御信号F
DIRQ、FDIRIが加わっている。
Add to one input of EORG6. exclusive disjunction group EO
Since the rotation control signal FDIRI is added to the other input of RG5, this rotation control signal FD I R1 is “O”.
”, the output of selector SL3 is not inverted, and when it is “1”, the output of selector SL3 is inverted, and the address value YA
7 to YA4 to the frame memories M15 to MO. The input of exclusive OR EOR is the rotation control signal F mentioned above.
DIRQ and FDIRI have been added.

セレクタSL4の出力は排他的論理和群EORG6の一
方の入力に出力する。排他的論理和群EORG6の他方
の入力は排他的論理和EORの出力が加わっているので
、回転制御信号FDIRQ、FDIRIが“1″、“O
″あるいは0″、′1”の時には選択した信号を反転し
、0″ IIIQ”あるいは′1”、1″の様に同じレ
ベルである時には非反転しく同じ論理)、フレームメモ
リM15〜MOに出力する。第8図は回転制御信号FD
IR1,FDIRQとアドレス値Y7〜Y4、X3〜X
Oの関係を表す図である。
The output of selector SL4 is output to one input of exclusive OR group EORG6. Since the output of the exclusive OR EOR is added to the other input of the exclusive OR group EORG6, the rotation control signals FDIRQ and FDIRI are "1" and "O".
When it is ``or 0'' or ``1'', the selected signal is inverted, and when it is at the same level as 0'' or ``1'' or 1'', it is not inverted (the same logic) and output to frame memories M15 to MO. Figure 8 shows the rotation control signal FD.
IR1, FDIRQ and address values Y7~Y4, X3~X
It is a figure showing the relationship of O.

回転制御信号FDIR1,FDIRQが@θ″。Rotation control signals FDIR1 and FDIRQ are @θ″.

0″の時にはフレームメモリM15〜MOに加わるアド
レス値Y7〜Y4は入力アドレス値YA7〜YA4、ア
ドレス値X3〜XOは入力アドレス値YA7〜YA4と
なる。回転制御信号FDIR1,FDIRQが“0”、
“11の時にはアドレス値Y7〜Y4はアドレス値YA
7〜YA4.アドレス値Y7〜Y4はアドレス値YA7
〜YA4の反転値(第8図においては記号の上部に−を
付しである)となる。回転制御信号FDIRI、FDI
RQが“1”、10″の時にはアドレス値Y7〜Y4は
アドレス値YA1.〜YA4の反転値、アドレス値X3
〜XOはアドレス値YA7〜YA4の反転値となる。回
転制御信号FDIR1,FDIRQが1″、′1”の時
にはアドレス値Y7〜Y4はアドレス値YA7〜YA4
の反転値、アドレス値X3〜XOはアドレス値YA7〜
YA4となる。
0'', the address values Y7 to Y4 added to the frame memories M15 to MO become the input address values YA7 to YA4, and the address values X3 to XO become the input address values YA7 to YA4.The rotation control signals FDIR1 and FDIRQ are "0",
“When 11, address values Y7 to Y4 are address values YA
7~YA4. Address values Y7 to Y4 are address value YA7
~YA4 is the inverted value (- is added above the symbol in FIG. 8). Rotation control signal FDIRI, FDI
When RQ is "1" or 10", address values Y7 to Y4 are inverted values of address values YA1. to YA4, and address value X3.
~XO is the inverted value of the address values YA7 to YA4. When the rotation control signals FDIR1 and FDIRQ are 1'' and '1'', the address values Y7 to Y4 are the address values YA7 to YA4.
The inverted value of address value X3~XO is the address value YA7~
It will be YA4.

一方、回転制御信号FD I R1は排他的論理和群E
ORC7の一方の入力に加わっている。そして、排他的
論理和群EORG1の他方の入力には、アドレス値YA
3〜YAOが加わっているので、その出力は回転制御信
号FDIRIがO″の時には非反転となり、1″の時に
は反転となって、アドレスデコーダADRRとデコーダ
DRRの各アドレス値VB3〜YBOとして加わる。
On the other hand, the rotation control signal FD I R1 is the exclusive OR group E
It is added to one input of ORC7. The other input of the exclusive OR group EORG1 has an address value YA.
Since 3 to YAO are added, the output is non-inverted when the rotation control signal FDIRI is O'', and is inverted when it is 1'', and is added as each address value VB3 to YBO of address decoder ADRR and decoder DRR.

アドレスデコーダADRRとフレームメモリM15〜M
Oの接続、ならびにデコーダとビットシフト回路BSC
の接続、さらにはフレームメモIJ M 15〜MOと
ビットシフト回路BSCの接続は前述した第2rI!J
の接続と同様である。尚アドレスデコーダの端子Sには
回転制御信号FDTPOが加わっており、この信号によ
って、前述と同様に第3図(a)、 (b)に表わすデ
コードデータが選択される。
Address decoder ADRR and frame memory M15-M
O connection, decoder and bit shift circuit BSC
The connection between the frame memo IJM15~MO and the bit shift circuit BSC is made using the aforementioned second rI! J
The connection is similar to that of . A rotation control signal FDTPO is applied to the terminal S of the address decoder, and this signal selects the decoded data shown in FIGS. 3(a) and 3(b) in the same manner as described above.

ビットシフト回路BSCとデータスワップ回路WSCと
は接続しており、排他的論理和EORの出力によって1
対1でビットが選択されるか、或いはLSBとMSB側
が順次入れ換わる即ちビット位置単位で、スワップされ
て選択されるかが決定する。また、リード・ライト信号
R/Wはデータスワップ回路WSC1,WSC2の方向
制御端子、ビットシフト回路B5C0−BSC15の方
向制御端子ならびにフレームメモリM15〜MOのリー
ド・ライト端子に加わっている。リード・ライト信号R
/Wが“1”の時にはデータスワップ回路WSC1,W
SC2とビットシフト回路B5C0−B5Cl 5は外
部装置からフレームメモリM15〜MO側へデータを送
るように方向が決定し、フレームメモリM15〜MOデ
ータを取込む。また、その逆にリード・ライト信号R/
Wが“01の時にはフレームメモリM15〜MOは記憶
しているデータを出力するとともに、データスワップ回
路WSC1,WSC2とビットシフト回路はフレームメ
モリM15〜MOから出力されるデータを外部装置へ出
力するように方向を決定する。
The bit shift circuit BSC and the data swap circuit WSC are connected, and the output of the exclusive OR EOR causes 1
It is determined whether the bits are selected on a pair-to-one basis, or whether the LSB and MSB sides are sequentially swapped, that is, swapped and selected in units of bit positions. Further, the read/write signal R/W is applied to the direction control terminals of data swap circuits WSC1 and WSC2, the direction control terminals of bit shift circuits B5C0 to BSC15, and the read/write terminals of frame memories M15 to MO. Read/write signal R
When /W is “1”, data swap circuit WSC1,W
The direction of SC2 and bit shift circuits B5C0-B5Cl5 is determined so as to send data from the external device to the frame memories M15-MO side, and take in the frame memories M15-MO data. Conversely, the read/write signal R/
When W is "01", the frame memories M15 to MO output the stored data, and the data swap circuits WSC1 and WSC2 and the bit shift circuit output the data output from the frame memories M15 to MO to the external device. determine the direction.

回転制御信号FDIR1,FDIRQが共に“0”の時
には、第5図に示す回路において、反転制御信号YIN
V、XINV、データスワップ信号WS、垂直水平切換
信号H/Vが共に“0”の時の状態と同じとなる。すな
わち、フレームメモリM15〜MOのアドレス値Y7〜
YOはアドレス値YA7〜YAOとなり、アドレス値X
3〜XOはアドレス値XA7〜XA4となる。また、フ
レームメモリM15〜MOの入出力データDI5〜DO
はビットシフト回路BSCでワード(16ビツト)単位
でアドレス値YA3〜YAO分シフトして外部装置の入
出力データDB15〜DBOに対応している。また、デ
ータスワップ回路WSCIには排他的論理和EORの出
力(“0′)がインバータINVで反転して、“1”と
なって加わっているので、入出力(データ)DBO−D
B15と入出力DDO〜DD15は1対1で対応してい
る。よって、第1図に示した基本のメモリ配置と同様の
メモリアクセスとなる。
When both rotation control signals FDIR1 and FDIRQ are "0", in the circuit shown in FIG.
The state is the same as when V, XINV, data swap signal WS, and vertical/horizontal switching signal H/V are all "0". That is, address values Y7 to frame memory M15 to MO
YO becomes the address value YA7 to YAO, and the address value X
3 to XO become address values XA7 to XA4. In addition, input/output data DI5 to DO of frame memories M15 to MO
are shifted by the address values YA3 to YAO in units of words (16 bits) by the bit shift circuit BSC to correspond to the input/output data DB15 to DBO of the external device. In addition, since the output ("0') of the exclusive OR EOR is inverted by the inverter INV and added to the data swap circuit WSCI as "1", the input/output (data) DBO-D
B15 and input/output DDO to DD15 have a one-to-one correspondence. Therefore, memory access is similar to the basic memory arrangement shown in FIG.

回転制御信号FD1.R1,FDIRQが“0”。Rotation control signal FD1. R1 and FDIRQ are “0”.

1″である時には、第8図に示すようにアドレス値Y7
〜Y4はアドレス値XA7〜XA4、アドレス値X3〜
XOはYA7〜YA4となる。そして、アドレスデコー
ダには排他的論理和群EORIを介して反転しない(排
他的論理和群の方には“0ゝが加わっている)アドレス
値YA3〜YAOが加わり、第3図(b)に表わすアド
レスデコードされてフレームメモリに加わる。よって、
基本画像の右上部より順次縁−装置のフレームメモリM
15〜MOがアクセスされる。また、この場合、データ
スワップ回路WSC2の端子Eに排他的論理和EORの
出力(1″)が加わっているので、入出力データDD1
5〜DDOがビットシフト回路BSCの入出力データD
BO〜DB15に対応する。前述したようにフレームメ
モリM15〜MO内の縦−列分の16ビツトが読出され
るが、読出されたピント位置は下から上方向への順で1
ワードを構成しているので、このデータスワップ回路W
SC2によってその上下関係が反転している。この動作
により、回転制御信号FDIR1,FDIRQが0”、
1″の時には右90°回転してメモリをアクセスするの
で、リード時には左匍°回転したデータを読出しライト
時には右匍°回転したデータを書込むことができる。
1'', address value Y7 as shown in FIG.
~Y4 is address value XA7~XA4, address value X3~
XO becomes YA7 to YA4. Then, address values YA3 to YAO that are not inverted (“0” is added to the exclusive OR group) are added to the address decoder via the exclusive OR group EORI, and the result is shown in FIG. 3(b). The address representing is decoded and added to the frame memory. Therefore,
Sequential edges from the upper right of the basic image - frame memory M of the device
15 to MO are accessed. In addition, in this case, since the output (1'') of the exclusive OR EOR is added to the terminal E of the data swap circuit WSC2, the input/output data DD1
5~DDO is the input/output data D of the bit shift circuit BSC
Corresponds to BO to DB15. As mentioned above, 16 bits for vertical columns in frame memories M15 to MO are read out, and the read focus positions are 1 in order from bottom to top.
Since it constitutes a word, this data swap circuit W
The vertical relationship is reversed by SC2. As a result of this operation, the rotation control signals FDIR1 and FDIRQ become 0'',
When the value is 1'', the memory is accessed by rotating 90 degrees to the right, so that data rotated 15 degrees to the left can be read when reading, and data rotated 10 degrees to the right can be written when writing.

回転制御信号FDIR1,FDIRQが1′″。Rotation control signals FDIR1 and FDIRQ are 1'''.

“O″である時には第8図に示すようにフレームメモリ
M15〜MOに加わるアドレス値Y7〜Y4はアドレス
値YA7〜YA4の反転値、アドレス値Y3〜YOはア
ドレス値YA7〜YA4の反転値が加わる。すなわち、
Y座標のアドレス値YA7〜YA4.X座標のアドレス
値XA4〜XA4は共に反転してフレームメモリに加わ
る。
When it is "O", the address values Y7 to Y4 added to the frame memories M15 to MO are the inverted values of the address values YA7 to YA4, and the address values Y3 to YO are the inverted values of the address values YA7 to YA4, as shown in FIG. join. That is,
Y coordinate address values YA7 to YA4. Address values XA4 to XA4 of the X coordinate are both inverted and added to the frame memory.

この時アドレスデコーダADRRの端子Sには“0″が
加わり、アドレス値YA3〜YAOも排他的論理和群E
ORG7で反転して加わっているので、メモリのアクセ
スは第1図に示す右下端より横−行となる。デコーダD
RRには反転したデータが加わっているので、同様に右
下端より横−行に対して読出したシフト分シフトする。
At this time, "0" is added to the terminal S of the address decoder ADRR, and the address values YA3 to YAO are also added to the exclusive OR group E.
Since the data is inverted and added at ORG7, memory access is performed horizontally from the lower right end as shown in FIG. Decoder D
Since inverted data is added to RR, it is similarly shifted from the lower right end by the shift read for the horizontal row.

すなわち、基本画像を逆の順で読出した状態となってい
る。右下端から逆の順で読出した時には1ワードの16
ビツトは基本画像を読出したビット順であるので、この
時にはデータスワップ回路WSC2の端子Eに1′″が
加わって、ビットのMSBとLSBを逆にしている。こ
れによって、右下端より横方向に16ビツト単位で読出
すと共にビット位置をMSB(!:LSBとを反転する
ので、ちょうど基本画像を180°回転(右回転も左回
転も同じ)した書込みや読出しとなる。
In other words, the basic images are read out in the reverse order. When read in reverse order from the bottom right corner, 16 words are read.
Since the bits are in the bit order in which the basic image was read, at this time, 1'' is added to the terminal E of the data swap circuit WSC2 to reverse the MSB and LSB of the bits. Since it is read out in units of 16 bits and the bit position is reversed from MSB (!: LSB), writing and reading are performed with the basic image rotated by 180° (clockwise rotation and left rotation are the same).

回転制御信号FDIR1,FDIRQが共に11″であ
る時には、第8図に示すようにフレームメモリM15〜
MOに加わるアドレス値Y7〜Y4はアドレス値XA7
〜XA4の反転した値、アドレス値X3〜xOはアドレ
ス値YA7〜YA4となる。また排他的論理和群EOR
G7の一方の入力も“1″が加わるので、アドレス値Y
A3〜YAOも反転するとともにアドレスデコーダAD
RRとデコーダDRRに加わる。アドレスデコーダAD
RRの端子Sには、同じく“1″が加わるので、第3図
(b)に示すように各フレームメモリM15〜MO単位
で下位アドレスY3〜YOに異なるアドレス値が加わる
ようになっており、このアクセスによって左下端より縦
−列分のメモリのアクセスとなる。この時にはこのアク
セスは丁度基本画像の左下端より上方向に読出したと同
様となる。またビットシフト回路BSCも反転したアド
レス値YA3〜YAOで、順次読出す時のシフト量が変
化している。この時にはデータスワップ回路WSCIの
端子已に“1”が加わるので、ビットシフト回路BSC
の入出力(データ)DB15〜DBOが外部装置の入出
力DD15〜DDOに対応している。これによって、左
下端より16ビツト単位で順次縦方向の読出しや書込み
が行われる。すなわち、換言するならば左270°回転
の読出しと右90°回転の書込みが行なわれる。
When the rotation control signals FDIR1 and FDIRQ are both 11'', frame memories M15 to M15 as shown in FIG.
Address values Y7 to Y4 added to MO are address value XA7
The inverted values of ~XA4, address values X3~xO, become address values YA7~YA4. Also, the exclusive disjunction group EOR
Since "1" is added to one input of G7, the address value Y
A3 to YAO are also inverted and the address decoder AD
It joins RR and decoder DRR. address decoder AD
Since "1" is also added to the terminal S of RR, different address values are added to the lower addresses Y3 to YO for each frame memory M15 to MO, as shown in FIG. 3(b). This access results in access to the memory for one column from the lower left end. At this time, this access is exactly the same as reading upward from the lower left end of the basic image. Further, the bit shift circuit BSC also changes the shift amount when sequentially reading out the inverted address values YA3 to YAO. At this time, "1" is added to the terminal of the data swap circuit WSCI, so the bit shift circuit BSC
The input/output (data) DB15 to DBO correspond to the input/output DD15 to DDO of the external device. As a result, reading and writing in the vertical direction is performed sequentially in units of 16 bits from the lower left end. That is, in other words, reading by rotating 270 degrees to the left and writing by rotating 90 degrees to the right are performed.

第9図は本発明の実施例によるメモリの読出しあるいは
書込みで得られる回転画像の表示例である。例えば第7
図に示すように、回転制御信号FDIR1,FDIRQ
をそれぞれ(a)6m、@g+″、(bl“θ′、“1
″、(C) @1″、′″0”、(d)“1”。
FIG. 9 is a display example of a rotated image obtained by reading or writing to a memory according to an embodiment of the present invention. For example, the seventh
As shown in the figure, rotation control signals FDIR1, FDIRQ
(a) 6m, @g+'', (bl"θ', "1
″, (C) @1″, ″0″, (d) “1”.

1″として書込み、回転制御信号FDIRI、FDIR
Qを共に“0′″として読出した時にそれぞれ第9図(
a) 〜(d)に示すO”、90°、  180” 、
 270 ’右回転した画像データを得ることができる
。この回転は書込み時ばかりでなく読出し時にも同様に
回転側faI信号FDIRI、FDIRQを変化させれ
ば、同様の回転画像を得ることができる。なお、読出し
の時には書込み時とは逆にそれぞれ基本画像に対し90
°、180°、270°左回転した画像データが得られ
る。また、基本画像を加える時の回転制御信号FDIR
1,FDIRQを0”。
Write as 1″, rotation control signal FDIRI, FDIR
When both Qs are read as “0′”, the results in Figure 9 (
O", 90°, 180" shown in a) to (d),
270' image data rotated to the right can be obtained. A similar rotated image can be obtained by changing the rotation side faI signals FDIRI and FDIRQ not only during writing but also during reading. Note that when reading, 90% of the basic image is used, contrary to when writing.
Image data rotated to the left by 180°, 180°, and 270° are obtained. Also, the rotation control signal FDIR when adding the basic image
1, FDIRQ to 0”.

10″としない時には基本画像をくわえた時の回転制御
信号FDIRI、FDfROの値が基本画像記憶位置と
なる。これは前述した第2図、第5図の本発明の実施例
においても同様である。
10'', the values of the rotation control signals FDIRI and FDfRO when the basic image is held in the mouth become the basic image storage position.This is the same in the embodiments of the present invention shown in FIGS. 2 and 5 described above. .

以上、本発明のメモリ配置とそのメモリを駆動する回路
を実施例を用いて説明したが、本発明は、第1図に示し
たメモリ配置に限らず、列単位でのシフト量を3ビット
単位でシフトする等、奇数単位でシフトして配置したり
、他の乱数的な配置で割り当てる等も可能である。
The memory arrangement of the present invention and the circuit that drives the memory have been described above using embodiments. However, the present invention is not limited to the memory arrangement shown in FIG. It is also possible to shift and arrange by odd number units, such as by shifting by , or to assign by other random number arrangement.

例えば、16ビツトで縦方向と横方向に分割し、その分
割した16 X 16ビー/ トの領域内で縦方向や横
方向に16ビツト単位で読出した時に同一ビットが存在
しないように乱数的に配置すればよい。なお、この場合
には、アドレスデコーダADRRとデコーダDRRも同
様に配置した乱数的なデコードを行うようにしなくては
ならない。
For example, if the data is divided into 16 bits in the vertical and horizontal directions, and the divided 16 x 16 beats/bit area is read in units of 16 bits in the vertical and horizontal directions, random numbers are used to ensure that there are no identical bits. Just place it. In this case, address decoder ADRR and decoder DRR must also be arranged in the same way to perform random number decoding.

本発明の実施例では、セレクタで横方向と縦方向のアド
レスを選択してメモリに加えているが、これに限らず、
例えばアドレスデコーダに横方向や縦方向のアドレスを
加え、垂直水平切換信号I(/ Vによって、アドレス
デコーダ値を選択して加える様にしても、同様にメモリ
の横方向や縦方向のアクセスが可能となる。
In the embodiment of the present invention, the horizontal and vertical addresses are selected by the selector and added to the memory, but the invention is not limited to this.
For example, by adding a horizontal or vertical address to the address decoder and selecting and adding the address decoder value using the vertical/horizontal switching signal I (/V, it is possible to access the memory in the horizontal or vertical direction in the same way. becomes.

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

以上、述べたように本発明はアドレスとして単位で記憶
し、nxnドツトの!i像データの複数ドツトを基本画
像に対し、フレームメモリに割り当てるビットを横方向
の行あるいは縦方向の列に対応して1ドツト分シフトし
て記憶するようにしたものであり、本発明によれば横方
向からメモリをアクセスする場合にもまた縦方向からメ
モリをアクセスする場合にも、目的とした複数のドツト
データを同様に格納しまた読出すことが可能な画像メモ
リを得ることができる。
As described above, the present invention stores addresses in units of nxn dots! According to the present invention, a plurality of dots of i-image data are stored in a basic image by shifting the bits assigned to the frame memory by one dot corresponding to horizontal rows or vertical columns. For example, it is possible to obtain an image memory capable of storing and reading out a plurality of target dot data in the same way whether the memory is accessed from the horizontal direction or the memory from the vertical direction.

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

第1図は本発明のメモリ配置図、 第2図は本発明の第1の実施例の回路構成図、第3図(
a)、 (b)はアドレスデコーダの入出力データ図表
、 第4図はアクセス時のメモリ配置図、 第5図は本発明の第2の実施例の回路構成図、第6図は
リード・ライト時の得られる画像の位置関係を表わす図
表、 第7図は本発明の第3の実施例の回路構成図、第8図は
回転制御信号とアドレス値の関係を表わす図表、 第9図(a)は回転なしの画像データ、第9図(b)は
90°右回転の画像データ、第9図fQ)は180°右
回転の画像データ、第9図(d)は270°右回転の画
像データ、第10図は従来のメモリへのデータの格納を
説明する図である。 EORGI−EORG7・・・排他的論理和群、SLI
〜SL4・・・セレクタ、 DRR・・・デコーダ、 BSC(BSGO−BSCI  5) ・・・ビットシフト回路、 ADRR・・・アドレスデコーダ、 M15〜MO・・・フレームメモリ、 CHG・・・画像メモリ、 INV・・・インバータ、 WSC(WSCI、WSC2) ・・・データスワップ回路。 特許出願人  カシオ計算機株式会社 同   上  カシオ電子工業株式会社基本画イ象のX
廂」票 (Xに) 本州朗のメ七り屹!図 第1図 本鐙H月のsZの大綺オjの口路才41’J\1図第5
図 回障ム制鄭イ宮号と7ドレス4直の 第8図 回転なし/IJb4&予−り         90−
ジ回転j画イ象テ”−タ(a)           
(b) iao’b口傘への一1イ淑デゝり      27θ
1ち回I云の画像デ゛−タ(c)          
 (d) 第9図
FIG. 1 is a memory layout diagram of the present invention, FIG. 2 is a circuit configuration diagram of the first embodiment of the present invention, and FIG.
a) and (b) are address decoder input/output data diagrams, Figure 4 is a memory layout diagram during access, Figure 5 is a circuit configuration diagram of the second embodiment of the present invention, and Figure 6 is a read/write diagram. FIG. 7 is a circuit configuration diagram of the third embodiment of the present invention; FIG. 8 is a diagram showing the relationship between rotation control signals and address values; FIG. 9 (a) ) is image data without rotation, Figure 9 (b) is image data rotated 90 degrees to the right, Figure 9 fQ) is image data rotated 180 degrees right, and Figure 9 (d) is image data rotated 270 degrees right. Data FIG. 10 is a diagram illustrating the storage of data in a conventional memory. EORGI-EORG7...Exclusive OR group, SLI
~SL4...Selector, DRR...Decoder, BSC (BSGO-BSCI 5)...Bit shift circuit, ADRR...Address decoder, M15~MO...Frame memory, CHG...Image memory, INV...Inverter, WSC (WSCI, WSC2)...Data swap circuit. Patent applicant: Casio Computer Co., Ltd. Above: Casio Electronics Co., Ltd. Basic Image X
廂” vote (to X) Akira Honshu’s menu! Figure 1 Main stirrup H month's sZ Daiki Oj's mouth route Sai 41'J\1 Figure 5
Figure 8 of 7th dress, 4th shift, no rotation / IJb4 & reservation 90-
Rotation image image data (a)
(b) 11th step to the iao'b umbrella 27θ
Image data for the first time (c)
(d) Figure 9

Claims (1)

【特許請求の範囲】 1)n×nドットの画像データの1ドットのデータに対
応した入出力端子を有し、少なくとも(n×n)/mド
ットを記憶するm個のメモリと、行アドレスの少なくと
も一部と縦方向の列アドレスの少なくとも一部とをデコ
ードして前記メモリに加える第1のデコード手段を有す
ることを特徴としたメモリ駆動回路。 2)n×nドットの画像データの1ドットのデータに対
応した入出力端子を有し、少なくとも(n×n)/mド
ットを記憶するm個のメモリと画像データのドットの横
方向の行アドレスの少なくとも一部と縦方向の列アドレ
スの少なくとも一部とを選択して一方を前記m個のメモ
リに共通に加える第1、第2の選択手段と、 前記行アドレスあるいは列アドレスの少なくとも一方の
少なくとも一部が加わり、該行アドレスあるいは列アド
レスの少なくとも一方の少なくとも一部をデコードして
前記m個のメモリに別々に加えるデコード手段を有する
ことを特徴としたメモリ駆動回路。 3)前記第2の選択手段は前記第1の選択手段に選択さ
れないアドレスを選択することを特徴とした特許請求の
範囲第2項記載のメモリ駆動回路。 4)前記第1の選択手段は反転制御信号が加わる第1の
反転論理手段を有し、反転制御信号によって選択したア
ドレスの論理を反転して出力することを特徴とした特許
請求の範囲第2項記載のメモリ駆動回路。 5)前記デコード手段は反転制御信号が加わる第2の反
転論理手段を有することを特徴とした特許請求の範囲第
2項記載のメモリ駆動回路。
[Scope of Claims] 1) m memories each having an input/output terminal corresponding to one dot of n×n dot image data and storing at least (n×n)/m dots, and a row address. A memory drive circuit comprising first decoding means for decoding at least a portion of the column address and at least a portion of the column address in the vertical direction and adding the decoded data to the memory. 2) m memories having input/output terminals corresponding to data of one dot of n×n dots of image data and storing at least (n×n)/m dots and horizontal rows of dots of image data; first and second selection means that select at least part of the address and at least part of the column address in the vertical direction and add one of them to the m memories in common; and at least one of the row address or the column address. at least a portion of the row address or the column address, and decoding means for decoding at least a portion of at least one of the row address or the column address and separately adding the decoding means to the m memories. 3) The memory drive circuit according to claim 2, wherein the second selection means selects an address that is not selected by the first selection means. 4) The first selection means has a first inversion logic means to which an inversion control signal is applied, and the logic of the address selected by the inversion control signal is inverted and outputted. Memory drive circuit described in Section 1. 5) The memory drive circuit according to claim 2, wherein said decoding means has second inversion logic means to which an inversion control signal is applied.
JP9359086A 1986-04-23 1986-04-23 memory drive circuit Pending JPS62249284A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP9359086A JPS62249284A (en) 1986-04-23 1986-04-23 memory drive circuit
DE19873713627 DE3713627A1 (en) 1986-04-23 1987-04-23 IMAGE STORAGE CIRCUIT, IN PARTICULAR FOR USE IN ROTATING IMAGE DATA
US07/590,532 US5068904A (en) 1986-04-23 1990-09-28 Image memory circuit for use in a rotation of image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9359086A JPS62249284A (en) 1986-04-23 1986-04-23 memory drive circuit

Publications (1)

Publication Number Publication Date
JPS62249284A true JPS62249284A (en) 1987-10-30

Family

ID=14086510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9359086A Pending JPS62249284A (en) 1986-04-23 1986-04-23 memory drive circuit

Country Status (1)

Country Link
JP (1) JPS62249284A (en)

Similar Documents

Publication Publication Date Title
JPS6235679B2 (en)
JPH077260B2 (en) Image data rotation processing apparatus and method thereof
US5068904A (en) Image memory circuit for use in a rotation of image data
US5095422A (en) Information transferring method and apparatus for transferring information from one memory area to another memory area
JPH0146891B2 (en)
JPS5926031B2 (en) memory element
JPS62249284A (en) memory drive circuit
JPS62249283A (en) dynamic memory drive circuit
JPS62249282A (en) Image memory
JP3061824B2 (en) Semiconductor memory
JPS6226548A (en) Memory controller
JP2745957B2 (en) Image rotation processing device
JPS6333348B2 (en)
JP2510219B2 (en) Image processing device
JPS6141183A (en) Digital memory
JPH0734225B2 (en) Image processing device
JP3019906B2 (en) Image processing device
JPH10307576A (en) Image display device
JPS58116860A (en) Longitudinal and lateral converting circuit for image array of image memory system
JPH06295335A (en) Picture data storage device
JPH07320053A (en) Image rotation processor
JPH04128890A (en) Frame memory control method for bitmap display device
JPS59165175A (en) Rotation reading circuit for image information
JPH0651751A (en) Image display device
JPS638951A (en) Information memory device