JPS61134794A - Image memory circuit - Google Patents

Image memory circuit

Info

Publication number
JPS61134794A
JPS61134794A JP59258853A JP25885384A JPS61134794A JP S61134794 A JPS61134794 A JP S61134794A JP 59258853 A JP59258853 A JP 59258853A JP 25885384 A JP25885384 A JP 25885384A JP S61134794 A JPS61134794 A JP S61134794A
Authority
JP
Japan
Prior art keywords
data
circuit
read
address
image
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
JP59258853A
Other languages
Japanese (ja)
Inventor
孝明 横井
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP59258853A priority Critical patent/JPS61134794A/en
Publication of JPS61134794A publication Critical patent/JPS61134794A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置の表示装置としで使用する逐次
走査型の表示装置に関する。特に、イメージを90°回
転して取り出す表示装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a sequential scanning display device used as a display device of an information processing device. In particular, the present invention relates to a display device that rotates an image by 90 degrees.

本発明はイメージを取り扱うCRTディスプレイ装置お
よびプリンタ装置ならびにプリンタ装置などで使用する
画像記憶回路に利用される。
INDUSTRIAL APPLICATION This invention is utilized for the CRT display apparatus which handles an image, a printer apparatus, an image storage circuit used in a printer apparatus, etc.

〔従来の技術〕[Conventional technology]

従来逐次走査型の表示装置でイメージを一時記憶する場
合に、一画面分の画像データを画像メモリに記憶し、走
査に同期して逐次画像メモリから読み出し、表示を行う
方法が一般的である。この場合に画像メモリは画面の主
走査の順に読み出すに適した構造であり、1回の読み出
しで8ビツトあるいは16ビツトの画像データが得られ
るものであって、画像メモリに画像データが記憶される
ものが一般的である。
Conventionally, when images are temporarily stored in a sequential scanning type display device, a common method is to store image data for one screen in an image memory, and to sequentially read out the image data from the image memory in synchronization with scanning and display the data. In this case, the image memory has a structure suitable for reading out in the order of main scanning of the screen, and 8-bit or 16-bit image data can be obtained with one reading, and the image data is stored in the image memory. Things are common.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしそのような画像メモリを使用した場合に□イメー
ジを90°回転して表示するときは1回の読み出しで行
方向のデータが8ビツトあるいは16ビツト読み出され
てもこのうちに列方向の有効な画像データは1ビツトで
あり、その分だけ画像データの読み出し速度を大きくし
ないと等速度で90″回転の表示は行えない。また、1
回の読み出しで得られる画像データが例えば4×4であ
るような記憶方法とした場合にはイメージを回転する場
合には1回の読み出しで得られる有効な画像データば4
ビツトであるが、このうち、列方向で有効なデータは1
ビツトであって、使用効率が25%になってしまう。こ
のため走査速度に対して4倍以上の読み出し能力が必要
となる欠点があった。
However, when using such an image memory and displaying an image rotated by 90 degrees, even if 8 or 16 bits of data in the row direction are read out in one readout, the valid data in the column direction will be Since the image data is 1 bit, it is not possible to display 90'' rotation at a constant speed unless the readout speed of the image data is increased accordingly.
If the storage method is such that the image data obtained in one readout is, for example, 4×4, then when rotating an image, the effective image data obtained in one readout is 4×4.
Of these, the valid data in the column direction is 1.
It is a bit, and the usage efficiency is 25%. For this reason, there is a drawback that a readout capability that is four times higher than the scanning speed is required.

本発明は上述の欠点を除去するものであり、主走査方向
と副走査方向を瞬時に切り換えることができ読み出した
データを全て有効使用可能にし・       1行方
向に走査する場合も列方向に走査する場合も、等しい続
出速度でよい画像記憶回路を提供することを目的とする
The present invention eliminates the above-mentioned drawbacks, and enables instantaneous switching between the main scanning direction and the sub-scanning direction, making it possible to effectively use all the read data.・When scanning in one row direction, it also scans in the column direction. It is an object of the present invention to provide an image storage circuit which can be used at the same successive speed.

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

本発明は与えられた書き込み読み出し選択信号および読
み出し方向選択信号ならびにアドレス信号により列方向
主アドレス信号および行方向主アドレス信号ならびに副
アドレス信号を発生するアドレス変換回路と読み出しモ
ードの場合、列方向主アドレスおよび行方向主アドレス
に対応したN×Nビットのデータを出力し、書き込みモ
ードの場合Nビットの書き込みデータを列方向主アドレ
スおよび行方向主アドレスならびに副アドレスに対応し
た位置に記憶する記憶回路と、書き込みモードの場合、
与えられたNビットの書き込みデータからN×Nの書き
込みデータを発生する書き込みデータ拡張回路と、読み
出しモードの場合に前記記憶回路のN×Nの出力をN行
、N列のマトリクスに対応させたとき、読み出し方向選
択信号が行方向である場合に前記アドレス変換回路から
出力される副アドレス信号に従いN行の中から1行のN
ビットのデータを選択出力する第一の読み出しデータ選
択回路と、読み出し方向選択信号が列方向である場合に
前記アドレス変換回路から出力される副アドレス信号に
従いN列の中から1列のNビットのデータを選択出力す
る第二の読み出しデータ選択回路と、読出し方向選択信
号が行方向の場合とは逆に対応させて出力する第三の読
み出しデータ選択回路とから構成されることを特徴とす
る。
The present invention provides an address conversion circuit that generates a column-direction main address signal, a row-direction main address signal, and a sub-address signal based on a given write/read selection signal, read-out direction selection signal, and address signal, and a column-direction main address signal in the read mode. and a storage circuit that outputs N×N bits of data corresponding to the main address in the row direction, and stores N bits of write data in the write mode in positions corresponding to the main address in the column direction, the main address in the row direction, and the sub address. , in write mode,
A write data expansion circuit generates N×N write data from given N bits of write data, and in a read mode, the N×N output of the memory circuit is made to correspond to a matrix of N rows and N columns. When the read direction selection signal is in the row direction, one of the N rows is selected according to the sub-address signal output from the address conversion circuit.
A first read data selection circuit selectively outputs bit data, and when the read direction selection signal is in the column direction, the N bits of one column from among the N columns are selected according to the sub address signal output from the address conversion circuit. It is characterized by comprising a second read data selection circuit that selectively outputs data, and a third read data selection circuit that outputs the read direction selection signal in a manner opposite to that in the row direction.

〔作用〕[Effect]

Nビットの書き込みデータを同一内容のN組のデータ、
すなわちN×Nビットのマトリクス状のデータに拡張し
て記憶回路に同時に書き込む。読み出しはこのN×Nビ
ットのデータ毎に同時に行う。そして、読み出されたこ
のN×Nビット毎のマトリクス状のデータから、選択信
号に応じて、行方向のNビットのデータまたは列方向の
Nビットのデータのいずれかを選択して、読み出しデー
タとして出力する。
N-bit write data is converted into N sets of data with the same content,
That is, the expanded data is expanded into N×N bit matrix data and written into the storage circuit at the same time. Reading is performed simultaneously for each N×N bit of data. Then, from the read matrix data of N×N bits, either N-bit data in the row direction or N-bit data in the column direction is selected according to the selection signal, and the read data is Output as .

したがって、書き込みおよび読み出しの速度は従来と同
等であり、読み出しデータは全□部利用できる。
Therefore, the writing and reading speeds are the same as in the past, and all parts of the read data can be used.

〔実施例〕〔Example〕

次に添付図面を用いて本発明の実施例装置を説明する。 Next, an embodiment of the present invention will be described with reference to the accompanying drawings.

本実施例では画像メモリの大きさを行方向および列方向
それぞれ1024ビツトとする。また、1個のアクセス
で読み出されるデータは8ビツトとする。
In this embodiment, the size of the image memory is 1024 bits in each of the row and column directions. Further, it is assumed that the data read in one access is 8 bits.

第1図は本発明の実施例の画像記憶回路の全体を示すブ
ロック構成図である。アドレス信号a、書込み読出し選
択信号C1読み出し方向選択信号dとが人力するアドレ
ス変換回路1の出力は、列方向主アドレス信号f1行方
向主アドレス信号gおよび副アドレス信号kにより記憶
回路2に結合する。副アドレス信号には書き込みデータ
拡張回路3、第一の読み出しデータ選択回路4、第二の
読み出しデータ選択回路5に人力する。書き込みデータ
bの入力する書き込むデータ拡張回路3の出力りおよび
書き込む続出選択信号Cは記憶回路2に入力する。第三
の読み出しデータ選択回路6と第二の読み出しデータ選
択回路5および第一の読み出しデータ選択回路4には、
それぞれ読み出し方向選択信号dが入力する。また記憶
回路2の出力iは上記第一および第二の読み出しデータ
選択回路5を介して第三の読み出しデータ選択回路6の
入力に接続される。
FIG. 1 is a block diagram showing the entire image storage circuit according to an embodiment of the present invention. The output of the address conversion circuit 1, which is supplied with the address signal a, the write/read selection signal C1, the read direction selection signal d, is coupled to the storage circuit 2 by the column direction main address signal f1, the row direction main address signal g, and the sub address signal k. . The sub address signal is input manually to the write data expansion circuit 3, the first read data selection circuit 4, and the second read data selection circuit 5. The output of the write data expansion circuit 3 to which the write data b is input and the successive write selection signal C are input to the memory circuit 2. The third read data selection circuit 6, the second read data selection circuit 5, and the first read data selection circuit 4 include:
A read direction selection signal d is input to each. Further, the output i of the storage circuit 2 is connected to the input of a third read data selection circuit 6 via the first and second read data selection circuits 5 described above.

第2図は、第1図の記憶回路2の詳細を示す図である。FIG. 2 is a diagram showing details of the memory circuit 2 of FIG. 1.

副アドレス信号kが入力するデコード回路7の出力a1
〜a8と書込み読出し選択信号Cとのアンドゲート回路
8の出力C3I〜C38が記憶部9に入力する。例えば
副アドレス信号にであるAm、ASI、A、。(第5図
)の組合せにより上記a1〜a8の出力のいずれか1つ
のみが「0」となるデコード回路7と、書き込み読み出
し選択信号Cが「1」のときすなわち書き込みモードの
とき、デコード回路7の出力を記憶素子動作制御信”°
・・〜°・・′!″b−ctlゝ・!1JiA、bm、
7>r、ゝ11択信号Cが「0」のとき、すなわち読み
出しモードの場合cs+〜cseのすべてが「0」とな
るゲート回路8と、それぞれ64にの深さを有する1ビ
ツトの記憶素子C1j(ij=1〜8)を行方向および
列方向にそれぞれ8個マトリクス状に並べて構成した記
憶部9とから構成されている。ここで、上記記憶素子動
作制御信号cs+””cseは「0」のとき接続されて
いる記憶素子ctj(ij=1〜8)を動作可能とする
。C31はCw(j=1〜8)を動作可能とする。cS
IはCy(j=1〜8)に、cstはCl7(j=1〜
8)に、csffはC5j(J鴛1〜8)に、C34は
C41(j=1〜8)に、Cll5はC5j(j−1〜
8)、C3&はC6j(j−1〜8)に、clは07j
(j=1〜8)に、C38はC5j(J=1〜8)にそ
れぞれ接続されている。
Output a1 of the decoding circuit 7 to which the sub address signal k is input
The outputs C3I to C38 of the AND gate circuit 8 of ~a8 and the write/read selection signal C are input to the storage section 9. For example, the sub address signals are Am, ASI, A,. A decoding circuit 7 in which only one of the outputs a1 to a8 becomes "0" due to the combination shown in FIG. The output of 7 is used as a memory element operation control signal.
・・・〜°・・′! ″b-ctlゝ・!1JiA, bm,
7>r, 11 A gate circuit 8 in which all of cs+ to cse are "0" when the selection signal C is "0", that is, in a read mode, and a 1-bit memory element each having a depth of 64 mm. The storage unit 9 is constructed by arranging eight C1j (ij=1 to 8) in a matrix in the row direction and the column direction. Here, when the storage element operation control signal cs+""cse is "0", the connected storage element ctj (ij=1 to 8) is enabled. C31 enables Cw (j=1 to 8) to operate. cS
I is Cy (j = 1 ~ 8), cst is Cl7 (j = 1 ~
8), csff is C5j (J1 to 8), C34 is C41 (j=1 to 8), Cll5 is C5j (j-1 to
8), C3& is C6j (j-1 to 8), cl is 07j
(j=1-8), and C38 is connected to C5j (J=1-8), respectively.

第3図は記憶回路2の記憶メモリと画像との対応を示す
図で、画像データは8×8ビツトから構成されるサブマ
トリクス5aj(ij=1〜128)に分解して記憶さ
れる。
FIG. 3 is a diagram showing the correspondence between the storage memory of the storage circuit 2 and images. Image data is stored after being decomposed into sub-matrices 5aj (ij=1 to 128) consisting of 8.times.8 bits.

第4図は8×8ビツトから構成されるサブマトリクスS
+J(1%J=1〜128)と画像との対応を示す図で
ある。
Figure 4 shows a submatrix S consisting of 8x8 bits.
It is a figure which shows the correspondence between +J (1%J=1-128) and an image.

第5図は第1図中のアドレス変換回路1の機能を示す図
で書き込みモード、行方向読み出しモード、列方向読み
出しモードのそれぞれの場合の列方向主アドレス例えば
A1+6〜A、1.、および行方向主アドレスAV6〜
AvOおよび副アドレスAS2〜A S +1と外部か
ら与えられたアドレスA 16〜A0の対応を示す図で
ある。
FIG. 5 is a diagram showing the functions of the address conversion circuit 1 in FIG. 1, and shows column-direction main addresses for each of the write mode, row-direction read mode, and column-direction read mode, for example, A1+6 to A, 1. , and row direction main address AV6~
It is a diagram showing the correspondence between AvO and sub-addresses AS2 to A S +1 and addresses A16 to A0 given from the outside.

第6図は、行方向読み出しモードの場合に動作する第一
の読み出しデータ選択回路40機能を示す図で副アドレ
スA g z〜A!0(第5図)によって記憶回路2の
出力DRzj(is j=1〜8)のどの8ビ、ットが
DS7〜D、。とじて出力するかを示す図である。
FIG. 6 is a diagram showing the function of the first read data selection circuit 40 that operates in the row direction read mode, and is a diagram showing the function of the first read data selection circuit 40 operating in the row direction read mode. 0 (FIG. 5), which 8 bits of the output DRzz (is j = 1 to 8) of the memory circuit 2 are DS7 to D. FIG.

第7図は、列方向読み出しモードの場合に動作する第二
の読み出しデータ選択回路5の機能を示す図で副アドレ
スA。−A、。によって記憶回路2の出力DR目(ij
=1〜8)のどの8ビツトがDi7〜I)soとして出
力するかを示す図である。
FIG. 7 is a diagram showing the function of the second read data selection circuit 5 that operates in the column direction read mode, and corresponds to the sub address A. -A. The output DR of the memory circuit 2 (ij
8) is a diagram showing which 8 bits of =1 to 8) are output as Di7 to I)so.

上記実施例の画像記憶回路を使用する場合に外部から与
えられる信号はアドレス信号a1書き込みデータb、書
き込み読み出し選択信号C1読み出し方向選択信号dと
し、その他のタイミング信号は省略する。アドレス信号
aのA 16〜A0のビットの「重み」はAoが最も低
くAl1が最も高いものとする。外部より与えられたア
ドレス信号aは書込み読出し選択信号Cおよび読み出し
方向選択信号dの組合せにより第5図に示すように列方
向主アドレスAX6〜Axo、行方向アドレスAy6〜
Ayoおよび副アドレスA 3 z〜A5.を出力する
。ここで、X6〜τ。はA6〜A0の負論理記号である
ことを示す。
When the image storage circuit of the above embodiment is used, the signals given from the outside are address signal a1, write data b, write/read selection signal C, and read direction selection signal d, and other timing signals are omitted. It is assumed that the "weight" of the bits A16 to A0 of the address signal a is such that Ao is the lowest and Al1 is the highest. The address signal a applied from the outside is set to the column direction main addresses AX6 to Axo and the row direction addresses Ay6 to Ay6, as shown in FIG.
Ayo and sub-addresses A3z~A5. Output. Here, X6~τ. indicates a negative logic symbol of A6 to A0.

書込みデータ拡張回路3は書き込みモードのとき外部か
ら与えられる8ビツト(1行)の書き込みデータb(D
、〜no)を各行の内容が全く同じである8行のデータ
に拡張しり、1.〜D、11111として出力する。以
下「Wjで書き込み、rRJで「読み出し」を意味する
ものとする。記憶回路2は読み出しモードの場合列方向
主アドレスA。〜AXOおよび行方向主アドレスAy、
〜Ay0を与えると対応するサブマトリクス31J(i
3= 1〜B)に記憶されている画像データをD R+
 +〜DRsgとして出力する。また、書き込むモード
の場合は書き込むデータ拡張回路3から出力される書き
込みデータDI、1..〜DI、、lll+を列方向主
アドレスA 、L6〜A y O1行方向主アドレスA
y6〜A、6で選択されたサブマトリクスS+j(ij
=1〜128)内の副アドレスA、2〜A、。で選択さ
れた行にのみ記憶する。
The write data expansion circuit 3 receives 8 bits (1 row) of write data b (D) given from the outside in the write mode.
, ~no) into 8 lines of data where the contents of each line are exactly the same, and 1. ~D, output as 11111. Hereinafter, "Wj" means "write" and "rRJ" means "read". The memory circuit 2 has a column-direction main address A in the read mode. ~AXO and row direction main address Ay,
When ~Ay0 is given, the corresponding submatrix 31J(i
3= D R+ the image data stored in 1 to B)
Output as +~DRsg. In addition, in the write mode, write data DI output from the write data expansion circuit 3, 1. .. ~DI,, lll+ as column direction main address A, L6~A y O1 row direction main address A
Submatrix S+j (ij
=1-128), sub-addresses A, 2-A,. Store only in the row selected by .

第一の読み出しデータ選択回路4は読み出し方向選択信
号dが行方向モードであるときのみ動作しアドレス変換
回路1から出力される副アドレスA sz ”−A 3
0によってサブマトリクス5iJ(ij=1〜12B)
のデータDR,,〜DRe++の中から行方向の8ビツ
トを第6図で示すように選択してDS、〜D、。
The first read data selection circuit 4 operates only when the read direction selection signal d is in the row direction mode, and selects the sub-address A sz "-A 3 output from the address conversion circuit 1.
Submatrix 5iJ (ij=1~12B) by 0
8 bits in the row direction are selected from the data DR, . . . -DRe++ as shown in FIG.

として出力する。Output as .

第二の読み出しデータ選択回路5は読み出し方向選択信
号dが列方向モードであるときのみ動作しアドレス変換
回路1から出力される副アドレスA・・〜A・・によ−
てサブ7トリクスS・・(ij=1゛j〜128)のデ
ータDR,,〜DRssの中から列方向の8ビツトを第
6図に示すように選択して第7図り、。
The second read data selection circuit 5 operates only when the read direction selection signal d is in the column direction mode, and operates according to the sub-addresses A...~A... output from the address conversion circuit 1.
Then, 8 bits in the column direction are selected as shown in FIG. 6 from among the data DR, .

〜D、。として出力する。~D. Output as .

第三の読み出しデータ選択回路6は第8図に示すように
読み出し方向選択信号dが行方向モードである場合はD
 −’I−D s。をり、〜D0として出力し列方向モ
ードである場合とは逆に対応するように出力する。
As shown in FIG. 8, the third read data selection circuit 6 selects D when the read direction selection signal d is in the row direction mode.
-'I-D s. , and outputs it as ~D0, which corresponds to the column direction mode.

次に第2図を用いて記憶回路2の動作を説明する。Next, the operation of the memory circuit 2 will be explained using FIG.

デコード回路7は副アドレスkが0のときalのみを「
0」とし、以下同様に2〜7のときa3〜a8を選択的
に「0」とするデコード回路7から出力されているa1
〜a8はゲート回路8に接続され、書き込み読み出し選
択信号Cと負論理の論理和がとられ、それぞれcs+〜
SS8として出力し、記憶部9に接続される。書き込み
読み出し選択信号Cが「0」のときすなわち読み出しモ
ードの場合cs、%cssはすべて「0」となり副アド
レスkに関係なく記憶素子Cijのすべてが動作可能と
なる。また、書き込み読み出し選択信号Cが「I」の場
合すなわち書き込むモードの場合副アドレスkによって
選択されたC5t(j=1〜8)の一つが「0」となる
。従って「0」となったC□(i=1〜8)が接続され
ている記憶素子のみが動作可となる。
When the sub-address k is 0, the decoding circuit 7 only sets al to “
a1 outputted from the decoding circuit 7 which selectively sets a3 to a8 to "0" when the values are 2 to 7.
~a8 is connected to the gate circuit 8, and the write/read selection signal C and negative logic are ORed, and cs+~
It is output as SS8 and connected to the storage section 9. When the write/read selection signal C is "0", that is, in the read mode, cs and %css are all "0", and all of the storage elements Cij become operable regardless of the sub-address k. Further, when the write/read selection signal C is "I", that is, in the write mode, one of C5t (j=1 to 8) selected by the sub address k becomes "0". Therefore, only the memory elements to which C□ (i=1 to 8) that has become "0" are connected become operable.

次に書き込むモードの場合の動作を説明する。Next, the operation in the write mode will be explained.

外部から与えられた書き込みデータbはD7〜D0の8
ビツトであり、書き込みデータ拡張回路3に接続されて
いる。この書き込みデータ拡張回路3は書き込みデータ
bのり、をDWII〜D W s +、D、をDW、□
〜D W、、、D、をD8.3〜D183、D4をD%
4,4〜D賛。4、DSをり。1.〜I)+IS、D2
をpw+6〜Dumb 、DIをDIII、〜D−81
、DoをD11111〜DIllll+に拡張し、拡張
して得られたり。、1〜D、4esは記憶回路2に与え
られる。
The write data b given from the outside is 8 from D7 to D0.
This bit is connected to the write data expansion circuit 3. This write data expansion circuit 3 writes write data b, DWII~D W s +, D, DW, □
~D W, , D, D8.3~D183, D4 D%
4,4~D approval. 4. DS Ri. 1. ~I)+IS, D2
pw+6 ~ Dumb, DI DIII, ~D-81
, Do is expanded to D11111 to DIllll+ and obtained by expanding. , 1 to D, 4es are provided to the memory circuit 2.

一方、装置外部から与えられたアドレス信号aはアドレ
ス変換回路1により変換され、列方向主アドレスf、行
方向主アドレスgおよび副アドレスにとし7記憶回路2
へ与えられる。列方向主アドレスfおよび列方向主アド
レス8によりサブマトリクス5iJ(iS j−1〜1
28)が選択され、副アドレスkにより選択されたサブ
マトリクスs!j(i、j=1〜128)内の行が選択
され、書き込みデータが記憶される。次に動作モードが
行方向読み出しモードすなわち記憶回路2に記憶された
画像を「回転せず」読み出す場合の動作を説明する。
On the other hand, an address signal a given from outside the device is converted by an address conversion circuit 1 into a column direction main address f, a row direction main address g and a sub address.
given to. Submatrix 5iJ (iS j-1 to 1
28) is selected, and the submatrix s! selected by the subaddress k is selected. A row within j (i, j=1 to 128) is selected and the write data is stored. Next, the operation when the operation mode is the row direction read mode, that is, the image stored in the storage circuit 2 is read out "without rotation" will be explained.

外部から与えられるアドレス信号acA+b〜AO)は
0から順に1ずつ増加するアドレス信号aが0のとき記
憶回路2に与えられる列方向主アドレスfおよび行方向
主アドレスgは共にOであり第3図のサブマトリクス8
1.1の画像データが読み出しデータiのDRl、〜D
Rall(第6図)として出力される。このとき副アド
レスにも0であるため第一の読み出しデータ選択回路4
からはサブマトリクス81.1の第1行のデータである
DR,、〜DR111がり8.〜I)toとして出力さ
れる(第6図)。
The address signals acA+b to AO) applied from the outside are incremented by 1 starting from 0. When the address signal a is 0, the column direction main address f and the row direction main address g given to the memory circuit 2 are both O, and as shown in FIG. submatrix 8 of
1.1 image data is read data i DRl, ~D
Rall (FIG. 6). At this time, since the sub address is also 0, the first read data selection circuit 4
From DR, which is the data of the first row of the submatrix 81.1, to DR111 8. ~I) is output as to (Figure 6).

第三の読み出しデータ選択回路6からはD3.〜D、。From the third read data selection circuit 6, D3. ~D.

がそのまま読み出しデータeのり、〜Doとして出力さ
れる(第8図)。
is output as is as read data e, ~Do (FIG. 8).

同様にして記憶回路2への列方向主7ドレスfが順次増
加し127までサブマトリクスS1.1、S+、t 、
S+、s’−3+、+iaの順で各サブマトリクS1.
l〜S1.llIの第1行のデータが順次読み出される
(第3図)。アドレス信号aが128なった時、記憶回
FIPi2へ与えられる列方向主アドレスfおよび行方
向主アドレスgは再びOとなりサブマトリクスS3.、
が選択される。このとき副アドレスには1となるため第
1の読み出しデータ選択回路4からはサブマトリクスS
3.1の第2行目のデータであるDRlI−DR211
(例えば第6図)が出力される。以後列方向主アドレス
fが再び127になるまでサブマトリクスS1.1〜S
5.1□8の第2行目のデータが順次読み出される。
Similarly, the main 7 addresses f in the column direction to the memory circuit 2 increase sequentially until 127 sub-matrices S1.1, S+, t,
Each submatrix S1.S+, s'-3+, +ia in this order.
l~S1. The data in the first row of llI is read out sequentially (FIG. 3). When the address signal a becomes 128, the column direction main address f and the row direction main address g applied to the memory circuit FIPi2 become O again, and the submatrix S3. ,
is selected. At this time, since the sub address is 1, the first read data selection circuit 4 selects the sub matrix S.
DRlI-DR211 which is the second line data of 3.1
(For example, FIG. 6) is output. Thereafter, the submatrices S1.1 to S are used until the column direction main address f becomes 127 again.
5. The data in the second row of 1□8 is read out sequentially.

以上の動作を繰り返しサブマトリクス81.1〜S3.
1□8の第8行目までの読み出しが行われアドレス信号
aがさらに1増加したとき記憶回路2への行方向主アド
レスgが1増加し列方向主アドレスfおよび副アドレス
kがOとなる。このため列方向主アドレスfが0〜12
7まで変わるとき、S・、・     1〜S2.I□
8の第1行目が順次読み出される。以上の動作を繰り返
し、アドレス信号aの増加に対して記憶回路2に記憶さ
れた画像データのすべてが行方向の順に読み出される。
The above operations are repeated for sub-matrices 81.1 to S3.
When reading up to the 8th row of 1□8 is performed and the address signal a further increases by 1, the row direction main address g to the storage circuit 2 increases by 1, and the column direction main address f and sub address k become O. . Therefore, the column direction main address f is 0 to 12.
When changing to 7, S... 1~S2. I□
The first row of 8 is sequentially read out. By repeating the above operations, all of the image data stored in the memory circuit 2 is read out in order in the row direction as the address signal a increases.

次に動作モードが列方向読み出しモードの「回転する」
場合の動作を説明する。
Next, the operation mode is "rotate" in column direction read mode.
The operation in this case will be explained.

外部から与えられるアドレス信号aは行方向読み出しモ
ードの場合と同様に0から順に1ずつ増加する。アドレ
ス信号aはアドレス変換回路1で変換され、記憶回路2
には行方向主アドレスgとしてアドレス信号aの下位6
ビソトの負論理であるA6〜八〇が与えられ列方向主ア
ドレスfとしてアドレス信号aの上位6ビツトであるA
 16〜A 16が与えられる。
The address signal a applied from the outside is incremented by 1 starting from 0 as in the row direction read mode. The address signal a is converted by the address conversion circuit 1, and the address signal a is converted by the address conversion circuit 1.
The lower 6 of the address signal a is used as the main address g in the row direction.
Bisoto negative logic A6 to 80 are given, and A, which is the upper 6 bits of the address signal a, is given as the column direction main address f.
16 to A 16 are given.

また、副アドレスにとしてアドレス信号aのA9〜A、
が与えられる。まず、アドレス信号aが0のとき列方向
主アドレスgは0行方向アドレスは127である。した
がって記憶回路2からはサブマトリクスS1□81 の
画像データが読み出しデータiのDR++〜DR111
1として出力される。また、列方向読み出しモードの場
合は第一の読み出しデータ選択回路4は動作せず、第二
の読み出しデータ選択回路5が動作し副アドレスkによ
ってs+ge、+の第1列のデータであるDR,1〜D
R+、+が第二 として出力され、さらに第三の読み出しデータ選択回路
6により第8図に示すように変換され読み出しデータe
として出力される。
In addition, A9 to A of address signal a are used as sub-addresses,
is given. First, when the address signal a is 0, the main address g in the column direction is 0, and the address in the row direction is 127. Therefore, from the storage circuit 2, the image data of the submatrix S1□81 is read from the read data i DR++ to DR111.
Output as 1. In addition, in the column direction read mode, the first read data selection circuit 4 does not operate, and the second read data selection circuit 5 operates, and depending on the subaddress k, DR, which is the data of the first column of s+ge, +, 1~D
R+, + are outputted as second data, which is further converted by the third read data selection circuit 6 as shown in FIG. 8 to read data e.
is output as

次にアドレス信号aが1増加したとき、行方向主アドレ
スgが1減少し126となるため、サブマ、  トリク
スS,...,の第1列目のデータが読み出される。同
様にしてアドレス信号aが128になったとき行方向主
アドレスgは再び127となり副アドレスが1となる。
Next, when the address signal a increases by 1, the row direction main address g decreases by 1 and becomes 126, so the subma, trix S, . .. .. , the data in the first column is read out. Similarly, when the address signal a becomes 128, the main address g in the row direction becomes 127 again and the sub address becomes 1.

列方向主アドレスfは0である。The column direction main address f is 0.

このためサブマトリクス3 1211. lの第2列目
の画像データが読み出され、以後行方向アドレス信号g
が再び「0」になるまでサブマトリクスS+zs.+〜
51.1の第2列目画像データが読み出される。
Therefore, submatrix 3 1211. The image data of the second column of l is read out, and thereafter the row direction address signal g
submatrix S+zs. until becomes "0" again. +〜
The second column image data of 51.1 is read out.

以上の動作を繰り返しSltll.l ””’S1.I
の第8列目までの読み出しが行われ、さらにアドレス信
号aが1増加したとき列方向主アドレスfが1となり、
行方向主アドレスはI27、副アドレスは0となるため
サブマトリクス81□.2の第1列目の画像データが読
み出される。以上の動作を操り返しアドレス信号aがO
から順次増加するとき記憶回路2に記憶された画像デー
タが列方向に順次読み出される。
Repeat the above operations until Sltll. l ””'S1. I
When the reading up to the 8th column is performed and the address signal a further increases by 1, the column direction main address f becomes 1,
The main address in the row direction is I27 and the subaddress is 0, so the submatrix 81□. The image data in the first column of No. 2 is read out. After repeating the above operation, address signal a becomes O
The image data stored in the storage circuit 2 is sequentially read out in the column direction when the image data is sequentially increased from .

以上のように「列方向に順次読み出す」ことは記憶回路
2に記憶された画像データを「時計方向に90°回転し
た」ことと等価である。
As described above, "reading out sequentially in the column direction" is equivalent to "rotating the image data stored in the storage circuit 2 by 90 degrees clockwise."

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

上述のようにN×Nの記憶素子で、記憶回路を構成しア
ドレス信号から列方向主アドレス、行方向主アドレスお
よび副アドレスを出力するアドレス変換回路を用いて列
方向主アドレスおよび行方向主アドレスをN×Nの記憶
素子のアドレスとして、N×Nの画像データを一度に読
み出し、その中から走査方向に応じて副アドレスにより
必要なデータを選択出力することにより読み出し方向選
択信号を変えることで瞬時に読み出し方向を変えること
ができ、その読み出し速度は利用するデータの速度と同
等であり、読み出されたデータの全てが有効に利用され
る装置が得られる。
As mentioned above, the memory circuit is configured with N×N memory elements, and the column-direction main address and the row-direction main address are converted using the address conversion circuit that outputs the column-direction main address, row-direction main address, and sub-address from the address signal. By setting N×N image data as an address of an N×N storage element and reading out N×N image data at once, and changing the readout direction selection signal by selectively outputting the necessary data using the sub-address according to the scanning direction. A device can be obtained in which the reading direction can be changed instantaneously, the reading speed is equivalent to the speed of the data being used, and all of the read data is effectively used.

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

第F図は本発明の実施例装置のブロック構成図。 第2図は第1図中に示した記憶回路の詳細構成図。 第3図は記憶回路の記憶メモリと画像との対応を示した
図。 第4図は第3図のサブマトリクスと画像との対応を示し
た図。 第5図はアドレス変換回路の機能を示した図。 第6図は第一の読み出しデータ選択回路の機能を示した
図。 第7図は第二の読み出しデータ選択回路の機能を示した
図。 第8図は第三の読み出しデータ選択回路の機能を示した
図。 1・・・アドレス変換回路、2・・・記憶回路、3・・
・書       1き込みデータ拡張回路、4・・・
第一の読み出しデータ選択回路、5・・・第二の読み出
しデータ選択回路、6・・・第三の読み出しデータ選択
回路、7・・・デコード回路、8・・・ゲート回路、9
・・・記憶部、a・・・アトレス信号、b・・・書き込
みデータ、C・・・書き込み読み出し選択信号、d・・
・読み出し方向選択信号、e・・・読み出しデータ、f
・・・列方向主アドレス、g・・・行方向主アドレス、
h・・・拡張書き込みデータ、i・・・サブマトリクス
読み出しデータ、j・・・行・列読み出しデータ、k・
・・副アドレス信号、CBI〜cse・・・記憶素子動
作制御信号。 代理人  弁理士 井 出 直 孝 111編昭61−
134794 (9) 回 ト 斌  0 ψ ψ OO。 6 +A φ N L/1 の Oo 。 l+lL/IL/I  OO n !I ψ   N
FIG. F is a block diagram of an apparatus according to an embodiment of the present invention. FIG. 2 is a detailed configuration diagram of the memory circuit shown in FIG. 1. FIG. 3 is a diagram showing the correspondence between the storage memory of the storage circuit and images. FIG. 4 is a diagram showing the correspondence between the submatrix of FIG. 3 and images. FIG. 5 is a diagram showing the function of the address conversion circuit. FIG. 6 is a diagram showing the function of the first read data selection circuit. FIG. 7 is a diagram showing the function of the second read data selection circuit. FIG. 8 is a diagram showing the function of the third read data selection circuit. 1...address conversion circuit, 2...memory circuit, 3...
・Write 1 Write data expansion circuit, 4...
First read data selection circuit, 5... Second read data selection circuit, 6... Third read data selection circuit, 7... Decode circuit, 8... Gate circuit, 9
...Storage unit, a... Address signal, b... Write data, C... Write/read selection signal, d...
・Reading direction selection signal, e...reading data, f
... Column direction main address, g... Row direction main address,
h...Extended write data, i...Submatrix read data, j...Row/column read data, k.
...Sub address signal, CBI~cse...Storage element operation control signal. Agent Patent Attorney Naotaka Ide 111th Edition 1986-
134794 (9) Rotation 0 ψ ψ OO. 6 + A φ N L/1 Oo. l+lL/IL/IOOn! I ψ N

Claims (1)

【特許請求の範囲】[Claims] (1)画像データが記憶される記憶回路と、この記憶回
路に外部から与えられる書き込みデータを書き込む手段
と、 上記記憶回路に蓄積されたデータを読み出す手段と、 上記記憶回路にアドレス信号を与えるアドレス手段と を備え、 上記読み出す手段およびアドレス手段は、上記記憶回路
に蓄積されたデータをそのデータが書き込まれた第一の
イメージとは90°回転した第二のイメージの読み出し
データとして出力する手段を含む画像記憶回路において
、 上記書き込む手段は、上記書き込みデータNビット(N
は複数)をそれを同一内容のN個のデータ(以下「N×
Nビットのデータ」という。)に拡張して上記記憶回路
に書き込む書き込みデータ拡張回路を含み、 上記記憶回路は、このN×Nビットのデータを蓄積する
ことができる構成であり、 上記読み出す手段は、上記記憶回路から読み出されたN
×N個毎のデータをマトリクスとするとき、上記第一の
イメージのデータに対応する行方向のN個のデータを選
択する第一の読み出しデータ選択回路と、上記第二のイ
メージのデータに対応する列方向のN個のデータを選択
する第二の読み出しデータ選択回路と、この第一の読み
出しデータ選択回路および第二の読み出しデータ選択回
路のいずれかの選択したデータを読み出しデータとして
出力する第三の読み出しデータ選択回路とを含む ことを特徴とする画像記憶回路。
(1) A memory circuit in which image data is stored, a means for writing write data given from the outside into this memory circuit, a means for reading data stored in the memory circuit, and an address for supplying an address signal to the memory circuit. The reading means and the addressing means include means for outputting the data stored in the storage circuit as read data of a second image rotated by 90 degrees from the first image in which the data is written. In the image storage circuit including the above-mentioned writing means, the above-mentioned write data N bits (N
is multiple) and then converts it into N pieces of data with the same content (hereinafter referred to as "N×
"N bits of data." ), the memory circuit is configured to be able to store this N×N bit data, and the reading means reads data from the memory circuit. N
A first read data selection circuit that selects N pieces of data in the row direction corresponding to the data of the first image and corresponding to the data of the second image when the data of each ×N is set as a matrix. a second read data selection circuit that selects N pieces of data in the column direction, and a second read data selection circuit that outputs data selected by either the first read data selection circuit or the second read data selection circuit as read data. 3. An image storage circuit comprising a read data selection circuit.
JP59258853A 1984-12-06 1984-12-06 Image memory circuit Pending JPS61134794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59258853A JPS61134794A (en) 1984-12-06 1984-12-06 Image memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59258853A JPS61134794A (en) 1984-12-06 1984-12-06 Image memory circuit

Publications (1)

Publication Number Publication Date
JPS61134794A true JPS61134794A (en) 1986-06-21

Family

ID=17325942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59258853A Pending JPS61134794A (en) 1984-12-06 1984-12-06 Image memory circuit

Country Status (1)

Country Link
JP (1) JPS61134794A (en)

Similar Documents

Publication Publication Date Title
EP0225059B1 (en) Semiconductor memory
EP0208325B1 (en) Image memory
JPH059872B2 (en)
JPH0563818B2 (en)
US4691364A (en) Bit pattern conversion apparatus
JP3166447B2 (en) Image processing apparatus and image processing method
US4916746A (en) Image rotation circuit
JPS61134794A (en) Image memory circuit
US5910794A (en) Method and apparatus for storing and rotating bit patterns
JPS6015688A (en) Memory chip address unit
JP3102754B2 (en) Information utilization circuit
JPS6048828B2 (en) Memory addressing method
JP3757787B2 (en) Digital oscilloscope
JPH0554667A (en) Memory element with mutual conversion function between serial data and parallel data
JPH0563959A (en) Method and device for processing picture
JPS6030037B2 (en) Memory addressing method
JPS59159198A (en) Image data porocessor
JPS61140986A (en) Character rotation apparatus
JPS5991771A (en) Write and read control circuit of picture information data
JPS6031178A (en) Display controller
JPH07122899B2 (en) High speed rotation circuit
JPH0352714B2 (en)
JPS63294595A (en) Character generator
JPS6172556A (en) Writing control system of pattern data
JPH05334421A (en) Character recognizing device