JPS6019255A - Data memory method - Google Patents

Data memory method

Info

Publication number
JPS6019255A
JPS6019255A JP58126529A JP12652983A JPS6019255A JP S6019255 A JPS6019255 A JP S6019255A JP 58126529 A JP58126529 A JP 58126529A JP 12652983 A JP12652983 A JP 12652983A JP S6019255 A JPS6019255 A JP S6019255A
Authority
JP
Japan
Prior art keywords
data
bits
memory
block
parallel
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
JP58126529A
Other languages
Japanese (ja)
Inventor
Yasukazu Nishino
西野 寧一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP58126529A priority Critical patent/JPS6019255A/en
Publication of JPS6019255A publication Critical patent/JPS6019255A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Image Processing (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

【発明の詳細な説明】 産業上の利用分野 本発明は記憶したデータの縮小成いは回転しての読出し
時に、メモリのアドレス管理の複雑さを軽減したデータ
記憶方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a data storage method that reduces the complexity of memory address management when reading out stored data by reducing or rotating it.

従来例の構成とその問題点 並列に動作出来るメモリから90度単位で回転したデー
タを回転度数にかかわらず所定ビットずつ並列にデータ
の読出し、書込みが出来るだめのデータの記憶方法、ま
た、データの縮小率が特定の場合に並列に動作出来るメ
モリから縮小率にかかわらず所定ビットずつ縮小したデ
ータを並列に読出し、書込みが出来るためのデータの記
憶方法、更に、データの縮小率が特定の場合に並列に動
作出来るメモリから縮小率及び回転度数にかかわら゛ず
所定ビットずつ縮小し90度単位で回転したデータを並
列に読出し、書込みが出来るだめのデータの記憶方法が
提案されている。
Configuration of conventional example and its problems A data storage method that allows data rotated in 90 degree increments from a memory that can operate in parallel to be read and written in parallel by a predetermined bit regardless of the number of degrees of rotation, and a method for storing data. A data storage method that allows data reduced by a predetermined bit to be read and written in parallel from a memory that can operate in parallel when the reduction rate is specific, and furthermore, a data storage method that can operate in parallel when the reduction rate is specific. A data storage method has been proposed in which data that has been reduced by a predetermined bit and rotated by 90 degrees can be read and written in parallel from a memory that can operate in parallel, regardless of the reduction rate and rotation degree.

第1図は取扱うで一夕景を示した図で、横方向(行方向
)432ビツト、縦方向(列方向)576ビツト、総デ
ータ量432X575ビットで1)行方向にデータが入
力されてくるとする。メモリを1ビツト×64にワード
の容量を持つ記憶素子(RAM)で構成しようとすると
4個のRAMが必要になる。4ビツトずつ並列に動作出
来るように1個のRAMで1つのメモリを構成し、計4
個の独立したメモリを構成する。第2図は4個の独立し
たメモリ(lvH、M2 、M3 、M4)でメモリ回
路を構成した図である。
Figure 1 is a diagram showing an evening scene in the handling, with 432 bits in the horizontal direction (row direction), 576 bits in the vertical direction (column direction), and a total data amount of 432 x 575 bits.1) Data is input in the row direction. do. If a memory is to be constructed of memory elements (RAM) having a capacity of 1 bit x 64 words, four RAMs will be required. One memory is configured with one RAM so that each 4 bits can operate in parallel, making a total of 4 bits each.
Configure multiple independent memories. FIG. 2 is a diagram in which a memory circuit is constructed from four independent memories (lvH, M2, M3, M4).

まず、90度単位で回転したデータを回転度数にかかわ
らず4ビツトずつ並列に扱うことが出来る場合に関して
のデータ記憶方法について説明する。この場合に各デー
タは行方向、列方向にそれぞれ4ビツトごとに分割し、
4X4=16ビツトのデータをブロック単位として扱う
。第3図は432X576ビツトのデータを行方向、列
方向にそれぞれ4ビツトごとに分割、した図で、行方向
[108、列方向[144、総計15,552個のブロ
ックに分割する。(i、+)はi行j行列目のブロック
を示している。更に、ブロック内の4×4ビツトのデー
タは1行1列目から行方向VCJIに1〜16までの番
号付けを行う。第4図は番号付けを行ったブロック内の
16ビツトのデータを示した図である。この番号付けさ
れたデータの記憶に際しては4ビツトずつ並列に第6図
に示したように第2図の各メモリに記憶する。この記憶
方法によりブロック内の行方向及び列方向のデータが異
なったメモリに記憶されるので、90度単位で回転した
データを4ビツトずつ並列に読出すことが出来る。
First, a data storage method will be described in the case where data rotated in units of 90 degrees can be handled in parallel in 4-bit units regardless of the degree of rotation. In this case, each data is divided into 4 bits each in the row direction and column direction,
4×4=16 bit data is handled as a block unit. FIG. 3 is a diagram in which 432×576 bit data is divided into blocks of 4 bits each in the row direction and column direction, and is divided into 108 blocks in the row direction and 144 blocks in the column direction, for a total of 15,552 blocks. (i,+) indicates the block in the i-th row and j-th column. Furthermore, the 4×4 bit data in the block is numbered from 1 to 16 in the row direction VCJI starting from the first row and first column. FIG. 4 is a diagram showing 16-bit data in numbered blocks. When storing this numbered data, 4 bits are stored in parallel in each memory in FIG. 2 as shown in FIG. 6. With this storage method, data in the row direction and column direction within a block are stored in different memories, so that data rotated in units of 90 degrees can be read out in parallel 4 bits at a time.

次に、データの縮、J・率が2の指数乗の場合に縮小率
にかかわらず4ビツトずつ並列に扱うことが出来る場合
に関してのデータ記憶方法について説明する。今、デー
タの最大の縮小率が列であるとする、この場合に各行の
432ビツトのデータは16ビツトずつ27ブロツクに
分割、従って、総計15 、552個のプロン°りとな
る。更に、各ブロック内のデータは順に1〜16までの
番号付けを行なう。第り図は各行のデータを16ビツト
ずつブロック分割した図及び番号付けを行ったブロック
内の16ビノトのデータを示した図である。この番号付
けされたデータの記憶に際しては4ビツトずつ並列に第
7図に示したように第2図の各メモリに記憶する。この
記憶方法にょジブロック内で4ビツトずつ順に区切った
データ、2ビツトごとサンプリングした結果を4ビツト
ずつ順に区切ったデータ及び4ビツトごとにサンプリン
グした結果のデータが異なったメモリに記憶されるので
、縮小なし、V2に縮小、’AVC縮小したデータを4
ビツトずつ並列に読出すことが出来る。
Next, a data storage method will be described in the case where the data reduction rate, J-rate, is an exponential power of 2, and 4 bits can be handled in parallel regardless of the reduction rate. Assume that the maximum reduction rate of data is for columns. In this case, the 432-bit data in each row is divided into 27 blocks of 16 bits each, resulting in a total of 15,552 blocks. Furthermore, the data within each block is sequentially numbered from 1 to 16. Figure 2 is a diagram in which the data in each row is divided into blocks of 16 bits, and a diagram showing 16 bits of data in the numbered blocks. When storing this numbered data, 4 bits are stored in parallel in each memory in FIG. 2 as shown in FIG. 7. In this storage method, data obtained by sequentially dividing each 4 bits in each block, data obtained by sequentially dividing the results of sampling every 2 bits into 4 bits, and data resulting from sampling every 4 bits are stored in different memories. No reduction, reduction to V2, 'AVC reduced data to 4
Bits can be read out in parallel.

次に、データの縮小率が2の指数乗の場合に縮小率及び
回転度数にかかわらず4ビツトずつ並列に扱うことが出
来る場合に関してのデータ記憶方法について説、明する
。今、データの最大の縮小率が具であるとする、この場
合に各データを行方向列方向にそれぞれ16ビツトごと
に分割し、16X16=256ビソトのデータをブロッ
ク単位として扱う。第8図は432X576ピツトのデ
ータを行方向、列方向にそれぞれ16ビツトごとに分割
した図で、行方向に27、列方向36、総計972個の
ブロックに分割する。(113)は1行j列目のブロッ
クを示している。更に、ブロック内の1’6X16ビツ
トのデータは1行1列目から行方向に順に1〜266ま
での番号付けを行う。
Next, a data storage method will be explained in the case where the data reduction rate is an exponential power of 2 and four bits can be handled in parallel regardless of the reduction rate and the number of rotations. Assuming that the maximum data reduction rate is specified, each data is divided into 16 bits in the row and column directions, and 16×16=256 bits of data are treated as a block unit. FIG. 8 is a diagram in which 432×576 pit data is divided into 16 bits each in the row direction and column direction, and is divided into 27 blocks in the row direction and 36 blocks in the column direction, for a total of 972 blocks. (113) indicates the block in the 1st row and jth column. Further, the 1'6 x 16 bit data in the block is numbered from 1 to 266 in order from the 1st row and 1st column in the row direction.

第9図は番号付けを行ったブロック内の256ビツトの
データを示した図である。この番号付けさnたデータの
記憶に際しては4ビツトずつ並列に第10図に示したよ
うに第2図の各メモリに記憶する。この記憶方法にょジ
ブロック内で行方向に4ビツトずつ順に区切ったデータ
、2ビツトごとサンプリングした結果を4ビ、トずっ順
に区切ったデータ、4ビ、トごとにサンプリングした結
果のデータ及び列方向に4ビツトずつ順に区切ったデー
タ、2ビ・、トごとサンプリングした結果を4ビツトず
つ順に区切ったデータ、4ビツトごとにサンプリングし
た結果のデータが異なったメモリに記憶されるので、9
0度単位で回転し縮小なし、棒に縮小、死に縮小したデ
ータを4ビツトずつ卯列に読出すことが出来る。
FIG. 9 is a diagram showing 256-bit data in numbered blocks. When storing this numbered data, 4 bits are stored in parallel in each memory in FIG. 2 as shown in FIG. 10. This storage method includes data that is sequentially divided into 4 bits in the row direction within the same block, data that is the result of sampling every 2 bits that is divided in 4 bits, data that is the result of sampling every 4 bits, and data that is the result of sampling every 4 bits, and the data that is the result of sampling every 4 bits, The data obtained by dividing the result of sampling every 2 bits into 4 bits each, and the data obtained by sampling every 4 bits are stored in different memories.
It is possible to rotate in units of 0 degrees and read data that is unreduced, reduced to a bar, or completely reduced to a column of 4 bits at a time.

上記の記憶方法で各データをメモリの何番地に記憶させ
るかによって読出す時のアドレス管理が複雑が異なり、
データを単に入力順にメモリに記憶して行くと縮小して
読出す時及び回転して読出す時の各メモリのアドレス管
理が複雑になシ、アドレス制御の回路規模が増大する欠
点がある。
The complexity of address management when reading data differs depending on the address in the memory at which each data is stored using the above storage method.
If data is simply stored in memory in the order in which it is input, address management for each memory becomes complicated when it is reduced and read out and when it is rotated and read out, and the circuit scale for address control increases.

発明の目的 本発明の目的はメモリへのデータの書込みに際して、縮
小して読出す時及び回転して読出す時に各メモリのアド
レス管理が行いやすいデータ記憶方法を提供することで
ある。
OBJECTS OF THE INVENTION An object of the present invention is to provide a data storage method that facilitates address management of each memory when data is written in a memory, reduced and read out, and rotated and read out.

発明の構成 上記目的を達成するために本発明ではメモリへのアドレ
ス入力のうちn〔n≧1oq2(全ブロック数)〕ビビ
ットをブロック定めるビットとし、残りのmビットをブ
ロック内のデータ位置を定めるビットとし用い、メモリ
へのデータの書込みに一際してはブロック内では各メモ
リのnの値を共通にし、mの値ヲ笈化させたデータのメ
モリへの書込むべき番地を定めることによシ縮小して読
出す時及び回転して読出す時にアドレス管理が行い易い
ようにする。
Structure of the Invention In order to achieve the above object, the present invention uses n bits (n≧1oq2 (total number of blocks)) of the address input to the memory to define the block, and the remaining m bits to determine the data position within the block. When writing data to memory, the value of n is made common for each memory within a block, and the address where the data converted to m is written to the memory is determined. To facilitate address management when reading by reducing the size and reading by rotating.

実施例の説明 対象とするデータ量は第1図のように432×576ビ
ツトであシ、行方向にデータが入力されてくるとし、第
2図のように4個の独立したメモリ(Ml 、M2 、
M3.M4)でメモリ回路を構成する。データの最大の
縮小率が只であるとし、90度単位で回転し縮小なし、
棒に縮小、具に縮小したデータを4ビツトずつ並列に読
出すことが出来る場合について説明する。
The amount of data to be explained in the embodiment is 432 x 576 bits as shown in Fig. 1, data is input in the row direction, and four independent memories (Ml, Ml, M2,
M3. M4) constitutes a memory circuit. Assume that the maximum reduction rate of the data is just, rotate in 90 degree units and do not reduce,
A case will be described in which data reduced to bars and pieces can be read out in parallel in 4-bit units.

第11図は本発明における一実施例のブロック図である
。1〜4はカウンタで、それぞれUP/DOWNの動作
を行なう・カウンタ1は第8図のように432X676
ビツトのデータを行方向、列方向にそれぞれ16ビツト
ごとに分割した時に、ブロックの列を0〜26までカウ
ントするカウンタ、カウンタ2はブロックの行を0〜3
6までカウントするカウンタ、カウンタ3は行方向走査
の時はブロック内の行を、列方向走査の時はブロック内
の列をカウントする。0〜16までのカウンタ。
FIG. 11 is a block diagram of one embodiment of the present invention. 1 to 4 are counters, each of which performs UP/DOWN operations.Counter 1 is 432x676 as shown in Figure 8.
Counter 2 is a counter that counts the columns of a block from 0 to 26 when the bit data is divided into 16 bits in the row and column directions.
Counter 3, which counts up to 6, counts rows within a block during row direction scanning, and counts columns within a block during column direction scanning. Counter from 0 to 16.

プを、行方向走査の時はブロック内の行方向の16ビツ
トを4ビツトずつグループ分けした時のグループを0〜
3までカウントするカウンタである。
When scanning the block in the row direction, the 16 bits in the row direction within the block are divided into groups of 4 bits, and the groups are set from 0 to
This is a counter that counts up to 3.

6.6はアドレス変換回路で、アドレス変換回路6はカ
ウンタ1,2の値によってブロックを定めるnビットの
値を決定するアドレス変換回路6はカウンタ3,4の値
、読出し時の回転度数と縮小率によってブロック内のデ
ータ位置を定めるmビットの値を決定する。7はカウン
タ制御回路で、書込みか読出しか、読出し時の回転度数
及び縮小率により、カウンタ1〜40カウント方向、並
べ方及びカウンタのカウンタ増分を決定する。
6.6 is an address conversion circuit, and the address conversion circuit 6 determines the value of n bits that define a block based on the values of counters 1 and 2.The address conversion circuit 6 determines the value of counters 3 and 4, the rotation degree at the time of reading and reduction The ratio determines the value of m bits that define the data position within the block. Reference numeral 7 denotes a counter control circuit which determines the direction of counting 1 to 40, the arrangement of the counters, and the increment of the counters depending on whether writing or reading is performed, the number of rotations during reading, and the reduction rate.

8は直列信号である入力データを4ビツトの並列信号に
変換するS / Pシフトレジスタ、91i S/Pシ
フトレジスタ8からのデータを取込み、データを巡回シ
フトするシフトレジスタ、1oはシフトレジスタ9から
のデータを取込むラッチ、11は第2図に示した4個の
独立に動作出来るメモリから構成されたメモリ回路、1
2はメモリ回路11から読出されたデータを取込み、デ
ータを巡回シフトするシフトレジスタ、13はシフトレ
ジスタ12からのデータの並びを変換するデータ変換回
路、14はデータ変換回路13がら部列信号であるデー
タを取込み、直列信号を変換するP/Sシフトレジスタ
、15はP/Sシフトレジスタ14からのデータの取出
し方向を切替えるセレクタである。
8 is an S/P shift register that converts input data that is a serial signal into a 4-bit parallel signal; 91i is a shift register that takes in data from S/P shift register 8 and shifts the data cyclically; 1o is a shift register that converts input data that is a serial signal into a 4-bit parallel signal; 11 is a memory circuit composed of four independently operable memories shown in FIG.
2 is a shift register that takes in data read from the memory circuit 11 and circularly shifts the data; 13 is a data conversion circuit that converts the sequence of data from the shift register 12; and 14 is a column signal from the data conversion circuit 13. A P/S shift register takes in data and converts a serial signal, and 15 is a selector that switches the direction of data extraction from the P/S shift register 14.

また、16.17はデータ制御回路で、データ制御回路
16はカウンタ3,4の値にょシシフトレジスタ9のシ
フト量を制御する。データ制御回路17はカウンタ3,
4の値、読出し時の回転度数及び縮小率によシシフトレ
ジスタ12ノシ’ニア )量、データ変換回路13での
データの並び方、P/Sシ″フトレジスク14からのデ
ータの取出し方向及びセレクタ16の切替えを制御する
Further, 16 and 17 are data control circuits, and the data control circuit 16 controls the values of the counters 3 and 4 and the shift amount of the shift register 9. The data control circuit 17 includes the counter 3,
4, the number of rotations at the time of readout and the reduction ratio of the shift register 12), the arrangement of data in the data conversion circuit 13, the direction of data extraction from the P/S shift register 14, and the selector 16. control switching.

本発明ではメモリへのアドレス入力のうちnun≧−1
oq 2 (全プロ・ツク数)〕ビ・ノドをプロ・ツク
を定めるビッ、トとし、残りのmビ・ノドをプロ・ツク
内のデータ位置を定めるビ・、)とし用いる。ブロック
内のデータ数は16X16:256で、4個のメモリに
分解して記憶するのでメモリへのアドレス入力の内ブロ
ック内のデータ位置を定めるビットとしてm = lo
g264二6ビ、7トを必要とする。ブロック数は27
X36=97’2でブロックを定めるビットとしてn 
”: l 0529γ2#10ビ、71・が必要となる
。データの取扱いはプロ・ツク内でのデータを並列に取
扱い、前述のようにnビ・ノドをブロックを定めるビ・
ノドとしているので、共通に各メモリにその値n1を与
える。mはプロ、7り内で回転とか縮小して読出す時、
各メモリから異なったデータが取出せるように各メモリ
M1.M2゜M4に独立にその値m1.m2.m3.m
4を与える。
In the present invention, among the address inputs to the memory, nun≧-1
oq 2 (total number of programs) The bit nodes are used as bits that define the program, and the remaining m bit nodes are used as the bits that determine the data position within the program. The number of data in a block is 16x16:256, and it is divided into four memories and stored, so m = lo as a bit that determines the data position in the block in the address input to the memory.
g264 requires 26 bits and 7 bits. The number of blocks is 27
x36=97'2 as the bit that defines the block n
”: l 0529γ2#10 Bi, 71. is required. Data is handled in parallel within the program, and as described above, the n Bi node is divided into blocks.
Since it is a node, the value n1 is given to each memory in common. m is professional, when reading by rotating or reducing within 7 degrees,
Each memory M1. M2゜M4 independently of its value m1. m2. m3. m
Give 4.

まず、データの書込みの動作について説明する。First, the data writing operation will be explained.

行方向にデータが入力されてくるので、データは第12
図に示したように行方向に順に4ビ・ントずつ処理され
る。第12図で○は処理される4ビ1,1・ずつデータ
を順番を示している。従って、カウンタのM h y 
+一方向をカウンタ制御回路7(○→36)の順となる
ように制御する。アドレス変換回路6はカウンタ1の値
を81、カウンタ図にその変換した値を示す。アドレス
変換回路6はカウンタ3の値を83、カウンタ4の値を
a4とすると、4・a 3 +84を2進数表示した6
ビ・トのml−m2−m3−m4の値を作成する。デー
タ制御回路16は第10図に示したデータが各メモリに
記憶されるようにカウンタ3,4の値によってシフトレ
ジスタ9をシフトする量を作成する。
Data is input in the row direction, so the data is in the 12th column.
As shown in the figure, 4 bits are processed sequentially in the row direction. In FIG. 12, the circles indicate the order of the 4 bits 1, 1. data to be processed. Therefore, M h y of the counter
Control is performed so that the + direction is in the order of the counter control circuit 7 (◯→36). The address conversion circuit 6 shows the value of the counter 1 as 81 and the converted value in the counter diagram. If the value of counter 3 is 83 and the value of counter 4 is a4, the address conversion circuit 6 is a binary representation of 4・a 3 +84.
Create the value of ml-m2-m3-m4 of bit. The data control circuit 16 creates the amount by which the shift register 9 is shifted based on the values of the counters 3 and 4 so that the data shown in FIG. 10 is stored in each memory.

そのf直5−m0d4(a4+m0d4a3)である。The f-direction is 5-m0d4 (a4+m0d4a3).

第16図にm1〜m4の値及びシフト量を示す。FIG. 16 shows the values and shift amounts of m1 to m4.

第13図のように並べられたカウンタ1〜4は入力デー
タがS/Pシフトレジスタ8で4ビ・ノドずつの並列デ
ータに変換されるごとにカウントされる。S / Pシ
フトレジスタ8で4ビツトずつの並列データに変換され
たデータは、シフトレジスタ9でデータ制御回路16か
らのシフト量の指令に対応に対応して、右方向に巡回シ
フトして並びを変換し、ラッチ10にデータを送る。ラ
ッチ10からのデータはイモリ回路1104個のメモリ
(Ml 、M2 、M3 、M4 )はアドレス変換回
路5.6からの値n1.m1〜m4に対応したアドレス
に書込む。
Counters 1 to 4 arranged as shown in FIG. 13 count each time the input data is converted by the S/P shift register 8 into parallel data of 4 bits/nodes. The data converted into parallel data of 4 bits each in the S/P shift register 8 is cyclically shifted to the right in response to the shift amount command from the data control circuit 16 in the shift register 9 to arrange the data. Convert and send data to latch 10. The data from the latch 10 is transferred to the new memory circuit 1104 memories (Ml, M2, M3, M4) by the value n1.6 from the address conversion circuit 5.6. Write to addresses corresponding to m1 to m4.

nをメモリのアドレス入力の上位の10ビットmをメモ
リのアドレス入力の下位の6ビ、ノドとして記憶すると
、第8図の各ブロックは第16図に示したメモリのそれ
ぞれの番地に対応し、ブロック内のデータは第17図に
示したように各メモリのそれぞれの番地に記憶される。
If n is the upper 10 bits of the memory address input and m is stored as the lower 6 bits of the memory address input, each block in FIG. 8 corresponds to each address in the memory shown in FIG. 16, The data within the block is stored at each address in each memory as shown in FIG.

第18図はデータが記憶される番地を示した図である。FIG. 18 is a diagram showing addresses where data is stored.

第18図で(iIJ)はブロックを、Iはブロック内の
データを示している。
In FIG. 18, (iIJ) indicates a block, and I indicates data within the block.

次にデータの読出し動作について説明する。Next, the data read operation will be explained.

第19図はデータを読出し処理する順を示した図で、○
は処理さ扛る4ビツトずつデータを順番を示している。
Figure 19 is a diagram showing the order in which data is read and processed.
indicates the order of data to be processed in units of 4 bits.

第20図はカウンタの並び及びカウント方向を示した図
である。第19図及び第20図で、(−)はその!ま、
(b)は左90°回転、(C)は180°回転、(d)
は右90°回転、(e)は歿縮小、(f)は左900回
転・径縮小、(q)は1800回転・に縮小、(h)は
右900回転−m縮小、(i)はA縮小、(i)は左9
0°回転・Vi縮小、(k)は1800回転・死縮小、
(1)は右900回転・%縮小の場合を示している。捧
に縮小して読出す場合は、奇数行・奇数列のデータを4
ビツトずつ、%に縮小して読出す場合は、41+1行・
41+1列のデータを4ピツトスつ処理するとする。過
縮小の時はカウンタ3,4は2ずつカウント、%縮小の
時はカウンタ4の値は0に固定、カウンタ3は4ずつカ
ウントする。
FIG. 20 is a diagram showing the arrangement of counters and counting directions. In Figures 19 and 20, (-) indicates that! Ma,
(b) rotated 90° to the left, (C) rotated 180°, (d)
is rotated 90 degrees to the right, (e) is reduced in diameter, (f) is 900 turns left and reduced in diameter, (q) is reduced to 1800 turns, (h) is 900 turns to the right - reduced in m, (i) is A Reduced, (i) left 9
0° rotation/Vi reduction, (k) 1800 rotation/dead reduction,
(1) shows the case of 900 rotations to the right and % reduction. If you want to reduce and read the data in odd rows and columns,
When reading by reducing bit by bit to %, 41+1 rows.
Assume that 4 pits of data in 41+1 columns are to be processed. In the case of over-reduction, counters 3 and 4 count by 2, and in the case of % reduction, the value of counter 4 is fixed to 0, and counter 3 counts by 4.

アドレス変換回路6はカウンタ1,2の値に対応して書
込み時と同じでnl を第14図に示した値に変換する
。アドレス変換回路6はカウント3゜4の値及び読出し
時の回転度数と縮小率によってm11m22m37m4
をそれぞれのメモリに与える。
The address conversion circuit 6 converts nl into the value shown in FIG. 14 in accordance with the values of the counters 1 and 2 in the same way as when writing. The address conversion circuit 6 converts m11m22m37m4 according to the value of count 3゜4, the rotation degree and reduction rate at the time of reading.
to each memory.

縮小無しでoo及び180’回転時はm1〜m4は第1
5図に示した書込み時と同じ値である。縮小無しで左及
び右90Q回転の時は第21図に示したm1〜m4の値
を作成し、各メモリに与える。捧縮小で00及び180
0回転時は第22図(a)、捧縮小で左及び右900 
回転の時は第22図中)に示したm1〜m4の値を作成
し、各メモリに与える。%縮小で00及び1000回転
の時は第23図(a)、%縮小で左及び右90°回転の
時は第23図(b)に示したm1〜m4の値を作成し、
各メモリに与える。第21図〜第23図でm1〜m4は
10進数表示した値で表している。
When rotating oo and 180' without reduction, m1 to m4 are the first
This is the same value as when writing shown in FIG. When performing 90Q rotation to the left and right without reduction, the values m1 to m4 shown in FIG. 21 are created and given to each memory. 00 and 180 with dedicated reduction
Figure 22 (a) at 0 rotation, left and right 900 when reduced
When rotating, the values m1 to m4 shown in FIG. 22 are created and given to each memory. Create the values of m1 to m4 shown in Figure 23 (a) for 00 and 1000 rotations with % reduction, and Figure 23 (b) when 90 degrees left and right rotation with % reduction,
Give each memory. In FIGS. 21 to 23, m1 to m4 are expressed as decimal values.

第20図のように並べられたカウンタ1〜4はメモリ回
路11から4ビツトずつ並列にデータが読出されるごと
にカウントされる。カウンタ1〜4がカウントされてい
く値は書込み時と同じである。メモリ回路11の4個の
メモI)(Ml、M2゜M3.M4)はアドレス変換回
路6,6からの値n1.m1〜m4に対応したアドレス
のデータを読出す。シフトレジスタ12はデータ制御回
路17からのシフト量の指令に対応して、左方向に巡回
シフトして並びを変換する。そのシフト量は書込みじと
同じで前述のS ”” mOd 4 (cL4 +rl
ll O,d 4 a 3 )である。データ変換回路
13はデータ制御回路17の指令により縮小無し及び列
線/」・の時はデータの並べ換えはなし、μ縮小の時は
シフトレジスタ12からの2番目と3番目のデータを入
れ換える。P/Sシフトレジスタ14、セレクタ16か
らのデータの取出しは同じくデータ制御回路17の指令
によ(poo及び左90° 回転の時は左方向にシフト
したデータを、1800及び右900回転の時は右方向
にシフトしたデータを取出す。
Counters 1 to 4 arranged as shown in FIG. 20 count each time data is read out in parallel from the memory circuit 11 by 4 bits. The values counted by counters 1 to 4 are the same as when writing. The four memos I) (Ml, M2°M3.M4) of the memory circuit 11 are the values n1.M4 from the address conversion circuits 6, 6. Read data at addresses corresponding to m1 to m4. The shift register 12 performs a cyclic shift to the left in response to a shift amount command from the data control circuit 17 to convert the arrangement. The shift amount is the same as that for writing, and is the same as the above-mentioned S ”” mOd 4 (cL4 +rl
ll O, d 4 a 3 ). The data conversion circuit 13 does not rearrange the data when there is no reduction and the column line /'' is instructed by the data control circuit 17, and exchanges the second and third data from the shift register 12 when μ reduction is performed. The data is taken out from the P/S shift register 14 and selector 16 according to the commands of the data control circuit 17 (for poo and 90° rotation to the left, data shifted to the left is used, and for 1800° and 900° rotation to the right, data is shifted to the left). Extract the data shifted to the right.

発明の効果 以上のように本発明によれは、次のような効果が得られ
る。
Effects of the Invention As described above, the present invention provides the following effects.

(1)各メモリへのアドレス入力のうちのnビットが共
通ビットとして取扱うので、データの縮小及び回転時の
アドレス管理が行い易くなるので、アドレス制御周辺の
回路規模を減少する。
(1) Since n bits of the address input to each memory are handled as common bits, it becomes easier to manage addresses during data reduction and rotation, thereby reducing the circuit scale around address control.

(a メモリのアドレス管理が行い易くなるのでなえる
(a) This is useful because it makes it easier to manage memory addresses.

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

第1図は取扱うデータ量を示した図、ガ2図は4個の独
立したメモリ回路を構成した図、第3図はデータを行方
向、列方向にそれぞれ4ビツトごとに分割した図、第4
図は番号付けを行ったブロック内の16ビツトのデータ
を示した図、第5図は第2図の各メモリに記憶する第4
図のデータを示した図、第6図は各行のデータを16ビ
ツトずつプロ1.り分割した図及び番号伺けを行ったブ
ロック内の16ビツトのデータを示した図、第7図は第
2図の各メモリに記憶する第6図のデータを示した図、
第8図はデータを行方向、列方向にそれぞれ16ビツト
ごとに分割した図、第9図は番号付けを行ったブロック
内の266ビツトのデータを示した図、あ10図は第2
図の各メモリに記憶する第9図のデータを示した図、第
11図は本発明における一実施例の記憶方法を具体化す
る装置のブロック図、第12図は行方向からの書込み時
に処理されるデータの順番を示した図、第13図は書込
み時のカウンタ構成を示した図、第14図はアドレス変
換回路6からのnの値を示した図、第16図は書込み時
のアドレス変換回路6からのm1〜m4の値を示した図
、第16図はブロックが対応するメモリの番地を示した
図、第17図はブロック内のデータが対応するメモリの
番地釡示し90°回転の時に各メモリに与えるml 〜
m4の値を示した図、第22図(、)はA縮小で0°及
び1800回転の時、第22図(b)は棒縮小で左及び
右900回転の時、第23図、(a)はV41Ad小で
0°及び1800回転の時、第23図(b)は%縮小で
左及び右900回転の時に各メモリに与えるml 〜m
4の値を示した図である。 1〜4・・・・・・カウンタ、5,6・・・・・・アド
レス変換回路、7・・・・・・カウンタ制御回路、8・
・・・・・S/Pシフトレジスタ、9・・・・・・シフ
トレジスタ、1o・・・・・・ラッチ、11・・・・・
・メモリ回路、12・・・・・シフトレジスタ、13・
・・・・データ変換回路、14・・・・・・P/Sシフ
トレジスタ、15・・・・・・セレクタ、16.17・
・・・・・データ制御回路。 代理人の氏名 弁理士 中 尾 敏 男 ほか1基筒 
1 図 第2図 ε33図 第4図 第5図 6図 第7図 第8図 第9図 第12図 第15図 第1 第16図 [ 7図 番 ぷ牙 tフッ Hz MJ 114 tF セ階 
/’/ #2 n3 /ブ4j4に+o l 2 3 
4 14iす32 )3/1nQlすtB 5 ≦ 7
 +、33 7.5’ 13 /+2 // /2 ?
 /θ す 13 /4θすa /4 15 /6/j
 t /4114+4 2θ /l/Iq −F31 
/ /+6 23 .24 2/ 22 す37I41
?l15′/fl; 26 27 26 + 1 +7?tδρ3/32 +、39 / すθ as at 3.3 J4 + 6 /6 16
3 /す9 3θ 39 4θ 3り /に5 ノロ6
 tすlρ al 42 44 /72 /69 ノア
すn 8 4546 47 tγ、j +71 t’1
−) 60 .5152 49 / ノア1すta 、
5.3 65 jil I&3 t/14 i+/41
θ576116Q 1 // す At # 61 6z +4−q /qa /?/
 tq2すt(6815667/f5 tq6 )9す
t7 7/ ?2 69 ρ +49 t t9q E
’ρθ74 7.5 76 7.y 2tytグア 〃
ρ す 2a& 2as f 83θ4θ/ 6’2 2102/I 2/fzt
 &に8788125 2I;? 214I?99θ 
ql Q2 22 2 2/91りJ q4 f5 2
22222 + 9 タ9 / q7 2a5 ?26 22+tb
lノ/122322Q23 第18図 (al (1,) (CJ tdi (e l (f) 第19図(攻ン tI+ th) /Aノ 17ワ 図 11’/ −: 第20図(於) 4v>/llラン ト1図 第22図 (/2) 第23図 (d)
Figure 1 shows the amount of data to be handled, Figure 2 shows the configuration of four independent memory circuits, Figure 3 shows data divided into 4 bits each in the row and column directions, and Figure 2 shows the configuration of four independent memory circuits. 4
The figure shows 16-bit data in the numbered blocks, and Figure 5 shows the 4-bit data stored in each memory in Figure 2.
Figure 6 is a diagram showing the data in the figure, and the data in each row is 16 bits at a time. Figure 7 shows the data in Figure 6 stored in each memory in Figure 2.
Figure 8 shows the data divided into 16 bits in the row and column directions, Figure 9 shows the 266-bit data in the numbered blocks, and Figure 10 shows the 266-bit data in the numbered blocks.
A diagram showing the data of FIG. 9 stored in each memory in the figure, FIG. 11 is a block diagram of a device embodying the storage method of one embodiment of the present invention, and FIG. 12 is a diagram showing the data processed when writing from the row direction. FIG. 13 is a diagram showing the counter configuration at the time of writing, FIG. 14 is a diagram showing the value of n from the address conversion circuit 6, and FIG. 16 is the address at the time of writing. A diagram showing the values of m1 to m4 from the conversion circuit 6, FIG. 16 is a diagram showing the memory address to which the block corresponds, and FIG. 17 is a diagram showing the memory address to which the data in the block corresponds. ml given to each memory when ~
The values of m4 are shown in Fig. 22 (,) when A is reduced at 0° and 1800 rotations, Fig. 22 (b) is when rod reduction is made at 900 rotations left and right, Fig. 23 (a) is ) is the ml given to each memory when V41Ad is small at 0° and 1800 rotations, and Figure 23 (b) is % reduction and 900 rotations left and right.
It is a figure showing the value of 4. 1 to 4... Counter, 5, 6... Address conversion circuit, 7... Counter control circuit, 8...
...S/P shift register, 9...Shift register, 1o...Latch, 11...
・Memory circuit, 12...Shift register, 13.
...Data conversion circuit, 14...P/S shift register, 15...Selector, 16.17.
...Data control circuit. Name of agent: Patent attorney Toshio Nakao and 1 other person
1 Figure 2 Figure 2 ε33 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 12 Figure 15 Figure 1 Figure 16
/'/ #2 n3 /B4j4+o l 2 3
4 14isu32 ) 3/1nQlsutB 5 ≦ 7
+, 33 7.5' 13 /+2 // /2?
/θsu 13 /4θsua /4 15 /6/j
t /4114+4 2θ /l/Iq -F31
/ /+6 23. 24 2/ 22 Su37I41
? l15'/fl; 26 27 26 + 1 +7? tδρ3/32 +, 39/suθ as at 3.3 J4 + 6/6 16
3 /su9 3θ 39 4θ 3ri /ni5 Noro6
tslρ al 42 44 /72 /69 Noahsn 8 4546 47 tγ,j +71 t'1
-) 60. 5152 49 / Noah 1sta,
5.3 65 jil I&3 t/14 i+/41
θ576116Q 1 // Su At # 61 6z +4-q /qa /? /
tq2st (6815667/f5 tq6)9st7 7/? 2 69 ρ +49 t t9q E
'ρθ74 7.5 76 7. y 2tyt gua 〃
ρ Su 2a&2as f 83θ4θ/ 6'2 2102/I 2/fzt
&ni8788125 2I;? 214I? 99θ
ql Q2 22 2 2/91 J q4 f5 2
22222 + 9 Ta9 / q7 2a5? 26 22+tb
lノ/122322Q23 Figure 18 (al (1,) (CJ tdi (e l (f) Figure 19 (attack tI+ th) /Aノ 17wa Figure 11'/ -: Figure 20 (at) 4v> /llant 1 Figure 22 (/2) Figure 23 (d)

Claims (1)

【特許請求の範囲】 データをNxM(N、、Mは2以王の整数)ビットごと
にブロック分けし、各ブロック内のデータをNビットず
つ順に並列に動作出来るN個のメモリに分解して書込む
際に、或いはデータを行方向、列方向にそれぞれNxM
(Nは2以上2Mは1以上の整数)ビットごとに分割し
、(NxM)x(NxM)ビットのデータをブロック単
位として扱い、各ブロック内のデータを列方向或いは行
方向からNビットずつ順に並列に動作出来るN個のメモ
リに分解して書込む際に、メモリへのアドレス入力のう
ちn〔、n≧ll0q2 (全ブロック数)〕ビピッを
ブロックを定めるビットとし、残りのmビットをブロッ
ク内のデータ位置を定めるビットとし、前記並列、に動
作出来るN個のメモリに入力する前記nビットの値を共
通に、N個のメモリに入力する前記mビットの値をそれ
ぞれ所定の値に設定してNビット並列にデータの書込み
読出しを行なうことを特徴とするデータ記憶方法。
[Claims] Data is divided into blocks of NxM (N, M is an integer greater than or equal to 2) bits, and the data in each block is decomposed into N memories that can operate in parallel in order of N bits. When writing, or data is written in NxM in row direction and column direction respectively.
(N is an integer greater than or equal to 2, and 2M is an integer greater than or equal to 1) Divide into bits, treat (NxM) x (NxM) bits of data as a block unit, and sequentially divide the data in each block by N bits from the column or row direction. When dividing and writing into N memories that can operate in parallel, n [, n≧ll0q2 (total number of blocks)] bits of the address input to the memory are used as bits that define a block, and the remaining m bits are used as blocks. a bit that determines a data position in the memory, the value of the n bits input to the N memories that can operate in parallel is set in common, and the value of the m bits input to the N memories is set to a predetermined value, respectively. A data storage method characterized by writing and reading data in N bits in parallel.
JP58126529A 1983-07-12 1983-07-12 Data memory method Pending JPS6019255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58126529A JPS6019255A (en) 1983-07-12 1983-07-12 Data memory method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58126529A JPS6019255A (en) 1983-07-12 1983-07-12 Data memory method

Publications (1)

Publication Number Publication Date
JPS6019255A true JPS6019255A (en) 1985-01-31

Family

ID=14937454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58126529A Pending JPS6019255A (en) 1983-07-12 1983-07-12 Data memory method

Country Status (1)

Country Link
JP (1) JPS6019255A (en)

Similar Documents

Publication Publication Date Title
US4670856A (en) Data storage apparatus
JPH02230383A (en) Image processing device
JPS6019255A (en) Data memory method
JPH0666050B2 (en) Sort processing method
CN1987824A (en) Memory control circuit and memory control method
JPH028335B2 (en)
JPH02148237A (en) Method of storing and operating block of data
JPS60211690A (en) Memory circuit
JPS6014322A (en) Digital data comparator
JPH028336B2 (en)
JPS6142046A (en) Data storage device
JPS6117480Y2 (en)
JPS6019254A (en) data storage device
JPH0954676A (en) Method and device for orderly permutation
SU864336A1 (en) Logic storage
EP0564290B1 (en) High speed sorting apparatus
JP3031581B2 (en) Random access memory and information processing device
JPS6275877A (en) Image storage device for rotation and reduction
SU492934A1 (en) Logical memory
JPS6057446A (en) data storage device
JPS6081661A (en) Data storage device
JPH0233158B2 (en)
JPS61120260A (en) Access device for sequential data memory circuit
SU842957A1 (en) Storage device
JPS6325435B2 (en)