JPS6367655A - Memory system for processing two-dimensional information - Google Patents

Memory system for processing two-dimensional information

Info

Publication number
JPS6367655A
JPS6367655A JP21157386A JP21157386A JPS6367655A JP S6367655 A JPS6367655 A JP S6367655A JP 21157386 A JP21157386 A JP 21157386A JP 21157386 A JP21157386 A JP 21157386A JP S6367655 A JPS6367655 A JP S6367655A
Authority
JP
Japan
Prior art keywords
data
coordinates
module
parallel
lattice point
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
JP21157386A
Other languages
Japanese (ja)
Inventor
Kazuo Aisaka
一夫 相坂
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP21157386A priority Critical patent/JPS6367655A/en
Publication of JPS6367655A publication Critical patent/JPS6367655A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To increase possibility of parallel accesses by using designing parameters (p) and (q) to calculate the data on a lattice point shown by the position coordinates (i, j) by means of a specific function. CONSTITUTION:An address evolving part 20 decides a gathering of lattice point data actually required form coordinates (i, j) and a block form (t) and calculates concretely the coordinates of each lattice point. In such a case, a single block includes 8 lattice points and therefore 8 different coordinates (i0, j0)-(i7j7) are outputted in parallel. These different coordinates are sent to 8 module control units M030-M737 via signal lines 200-207 respectively. Each of these control units uses the coordinates (ik, jk) to calculate the number mk showing a specific memory module that contains the data on the relevant lattice point based on a formula. The double oblique lines in the equation show the operators that show the quotient and the residue obtained through divisions using integers.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、2次元直交格子状に配置されたデータの集合
において、特定の形状を持つデータの副配列に効率良く
アクセスできるメモリ方式を提供するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a memory method that can efficiently access a data subarray having a specific shape in a data set arranged in a two-dimensional orthogonal grid. It is something to do.

〔従来の技術〕[Conventional technology]

計算機によるデータ処理においては、処理対象のデータ
が2次元直交格子状に配列される事がある。このような
処理の代表例として、画像データの処理があげられる。
In data processing by a computer, data to be processed is sometimes arranged in a two-dimensional orthogonal grid. A typical example of such processing is image data processing.

又、画像以外のデータでも、統計処理の必要上2次元的
にデータを並べる場合や人間へのわかりやすさのために
データを2次元的に表示する場合など、2次元配列デー
タを取扱う状況は多数考えられる。
In addition, even with data other than images, there are many situations in which two-dimensional array data is handled, such as when data is arranged two-dimensionally for statistical processing, or when data is displayed two-dimensionally to make it easier for humans to understand. It will be done.

このような構造を持つデータにおいては、データのうち
定められた形状を持つ一部分をアクセスする必要が頻繁
に生じる。たとえば画像処理においては、適当な注目点
を中心として近傍の正方形(長方形)領域のデータを一
度に利用する。又、統計的処理では1つの行又は列全体
を同時に必要とすることが多い。
In data having such a structure, it is frequently necessary to access a portion of the data that has a predetermined shape. For example, in image processing, data of a square (rectangular) area in the vicinity of a suitable point of interest is used at once. Also, statistical processing often requires an entire row or column at the same time.

上記の形状を持つデータを効率良くアクセスするには、
記憶装置をいくつかの並列アクセス可能なモジュールに
分割して、データを適当に各モジュールに分配し、アク
セスを並列化する方法が考えられる。この目的の発明と
して、特公昭56−44449があり、■IXP(Iの
横長領域■pqX1の縦長領域■PX(Iの長方形領域
の3者について領域内のデータが並列にアクセス可能と
なっている。但し■については、並列アクセス可能な領
域の配置に制限があり、アクセスの高速化が必ずしも達
成されていない。
To efficiently access data with the above shape,
One possible method is to divide the storage device into several modules that can be accessed in parallel, distribute data appropriately to each module, and parallelize access. An invention for this purpose was published in Japanese Patent Publication No. 56-44449, in which data within the area can be accessed in parallel for three parties: ■ IXP (horizontal area of I; ■ vertical area of pqX1; and ■ PX (rectangular area of I). However, regarding (2), there are restrictions on the arrangement of areas that can be accessed in parallel, and speeding up of access is not necessarily achieved.

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

上記従来技術では、画像データを対象として具体的に以
下の様な方策が用いられている。
In the above-mentioned conventional technology, the following measures are specifically used for image data.

対象となるデータは、画素が正方格子状に並んだ画面で
あり、第2図の様に模式化して示せる。
The target data is a screen in which pixels are arranged in a square grid, and can be schematically shown as shown in FIG.

画像処理においては、これらの画素データのいくつかを
同時に利用する。同時に利用される画素は、特定の形状
に配列されており、具体的には図2の21〜23に示し
たような形状が代表的である。
In image processing, some of these pixel data are used simultaneously. Pixels that are used simultaneously are arranged in a specific shape, and specifically, the shapes shown in 21 to 23 in FIG. 2 are typical.

図中pp qは設計パラメータであり、図ではp=4、
q=2の例を示した。
In the figure, pp q is a design parameter, and in the figure, p=4,
An example of q=2 is shown.

これらの画素データは、第3図に示した形式のメモリ装
置10に格納される。同装置にはいくつかの並列アクセ
ス可能なメモリモジュール50があり、第2図の21〜
23で示した各形状中に含まれる画素データは適当な規
則に従って各モジュールに分散して記憶される。これら
を同時にアクセスできるには、メモリモジュールの数が
pq個以上必要な事は明らかである。ここではモジュー
ルの数が丁度pq個の場合を考え、各モジュールにはO
からPq−1までの番号が附いているものとする。
These pixel data are stored in a memory device 10 of the type shown in FIG. The device includes several memory modules 50 that can be accessed in parallel, 21 to 21 in FIG.
Pixel data included in each shape shown at 23 is distributed and stored in each module according to an appropriate rule. It is clear that in order to access these simultaneously, the number of memory modules must be pq or more. Here, we consider the case where the number of modules is exactly pq, and each module has O
It is assumed that the numbers from Pq-1 to Pq-1 are attached.

このような装置に於て、アクセス並列化の問題は次の問
題に帰着できる。即ち、第i行第j列の画素のデータは
どの番号のモジュールに記憶すべきか、という問題であ
り、数学的にいえばjv iを入力としてモジュール番
号を計算する関数M(i、j)を定める問題に他ならな
い。
In such a device, the problem of access parallelization can be reduced to the following problem. In other words, the problem is which module number should the data of the pixel in the i-th row and j-th column be stored in? Mathematically speaking, the function M (i, j) that calculates the module number with jv i as input is It is nothing but a matter of determination.

従来技術においては、M(ITJ)としてM(i、j)
=(i×q+(i/p)//q+j)// (p×q)
という公式が用いられていた。但し/及び//は各々整
数で割った商及び余りを示す演算子とする。
In the conventional technology, M(i, j) is M(ITJ).
=(i×q+(i/p)//q+j)//(p×q)
The formula was used. However, / and // are operators indicating the quotient and remainder, respectively, when divided by an integer.

第2図と同様にp=4.q”2としてこの模様を示すと
、第4図の様になる。同図では各画素の位置に記した数
字が、その画素データの記憶されるメモリモジュールの
番号を示している。この数字の配列は画面右方及び下方
に繰返すが1図では省略しである。
As in FIG. 2, p=4. If this pattern is shown as q"2, it will look like Figure 4. In the figure, the number written at the position of each pixel indicates the number of the memory module in which that pixel data is stored. The arrangement is repeated on the right and bottom of the screen, but is omitted in Figure 1.

この方式では、第2図の21.22で示した形状のデー
タに対して並列アクセスが可能である。
With this method, parallel access to data having the shape shown at 21.22 in FIG. 2 is possible.

しかしながら23の形状のブロックに対しては、ブロッ
クの位置がある条件を満さないと並列アクセスが可能と
ならない。具体的には、ブロックの最上位置画素の行座
標がpの倍数の時のみ並列アクセスが可能である。
However, parallel access is not possible for 23-shaped blocks unless the block position satisfies a certain condition. Specifically, parallel access is possible only when the row coordinate of the topmost pixel of the block is a multiple of p.

本発明においては、関数M(IIJ)を改良して並列ア
クセスの可能性を拡大した。ここで注意すべき点は、2
1〜23の全形状について任意のブロック位置で並列ア
クセス可能にする事は不可能であるという点である。し
かしながら、M(i。
In the present invention, the function M(IIJ) is improved to expand the possibility of parallel access. The points to note here are 2.
The point is that it is impossible to enable parallel access at arbitrary block positions for all shapes No. 1 to No. 23. However, M(i.

j)の工夫によりアクセスの可能性を拡大する事は可能
であり、次のように関数を定めることができる。
j) It is possible to expand the possibility of access, and the function can be defined as follows.

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

上記目的は、M(1+j)として M(it j)=((i+j/q)Xq−1−(、j+
i/p)//q)//(p×q)という関数を用いる事
で達成される。
The above purpose is to set M(1+j) as M(it j)=((i+j/q)Xq-1-(, j+
This is achieved by using the function i/p)//q)//(p×q).

この関数による、画素とモジュールとの対応を第1図に
示した。図ではP ”4 + q= 2の例を示してい
る。
FIG. 1 shows the correspondence between pixels and modules based on this function. The figure shows an example of P''4+q=2.

〔作用〕[Effect]

関数をこのように変形した主眼は、同一行内でのモジュ
ール番号の変化を単調でなくした点にある。従来の方法
では、M(i、j)の式において列位置jは単に加算さ
れているだけ(最外部の//pqを除く)であり、これ
が原因で図2の23で示した長方形ブロックの並列アク
セス可能性が減少していた。本発明においてはjの加算
において桁上げを制限する事により同一行内でのモジュ
ール番号の変化に局所性を持たせ、並列アクセスの障害
となるモジュール番号の重複を減少させた・かつ、第2
図の21.22で示した形状については従来法で並列ア
クセスが任意のブロック位置において可能であったが、
本発明でも同様に可能である性質が保たれている。
The main point of modifying the function in this way is to make changes in module numbers within the same line non-monotonous. In the conventional method, the column position j in the formula for M(i, j) is simply added (excluding the outermost //pq), and this causes the rectangular block shown by 23 in FIG. Parallel accessibility was reduced. In the present invention, by restricting carry in the addition of j, changes in module numbers within the same row are given locality, and duplication of module numbers that becomes an obstacle to parallel access is reduced.
Regarding the shape shown in Figure 21.22, parallel access was possible at any block position using the conventional method, but
The present invention also retains the same possible properties.

〔実施例〕〔Example〕

以下1本発明の一実施例を第5図〜第9図により説明す
る。
An embodiment of the present invention will be described below with reference to FIGS. 5 to 9.

以下の説明では、設計パラメータp及びqを、p=4=
22.q=2、従ってモジュール数pq=8とした場合
を示す。このようにp及びqを2のベキ乗にとる事によ
り、2進法を基本とした計算機において回路構成が簡単
になる。勿論、p及びqが2のベキ乗でない場合でも本
発明は有効である。
In the following explanation, design parameters p and q are expressed as p=4=
22. The case where q=2, therefore the number of modules pq=8 is shown. By taking p and q to powers of 2 in this manner, the circuit configuration of a computer based on the binary system is simplified. Of course, the present invention is effective even when p and q are not powers of 2.

第5図には本発明の方式に従ったメモリ回路10の概要
及びこれに接続されるデータ処理装置100を示した。
FIG. 5 shows an outline of the memory circuit 10 according to the method of the present invention and a data processing device 100 connected thereto.

データ処理装置100は本発明の一部ではないが、本発
明の機能を明確にするために図示した。′まずこの部分
を説明する。
Data processing device 100 is not part of the invention, but is illustrated to clarify the functionality of the invention. 'First, let me explain this part.

データ処理装置100は、処理内容に応じて、メモリ回
路1へのデータの読書を信号線110を通して行なう。
The data processing device 100 reads and writes data to and from the memory circuit 1 through the signal line 110 depending on the processing content.

この時、1に対して縦座標1120゜横座標j130、
ブロック形状t140及び読み/書きの区別R/W15
0を供給する。全データのアクセスは並行して行なわれ
る。i及びjは同時にアクセスされるデータブロックの
基準点の座標を示し、tはブロックの形状を2bitの
2進数で示す、t=00で横長、01で縦長、10で長
方形のブロックを示すものとする。
At this time, relative to 1, the ordinate is 1120°, the abscissa is j130,
Block shape t140 and reading/writing distinction R/W15
Supply 0. All data accesses are done in parallel. i and j indicate the coordinates of the reference point of the data block that is accessed simultaneously, and t indicates the shape of the block as a 2-bit binary number, where t=00 indicates a horizontally long block, 01 indicates a vertically long block, and 10 indicates a rectangular block. do.

° 以上の信号を利用して、メモリ回路1は次のように
動作する。まず、アドレス展開部20は、座標1s j
およびブロック形状をtから、実際に必要な格子点デー
タの集合を決め、各格子点の座標を具体的に計算する。
° Using the above signals, the memory circuit 1 operates as follows. First, the address expansion unit 20 calculates the coordinates 1s j
From the block shape and block shape t, a set of actually required grid point data is determined, and the coordinates of each grid point are specifically calculated.

本実施例では、1つのブロック内には8つの格子点があ
るので、8通りの座標(xot jO)〜(17157
)が並列に出力される。二九らは信号線200〜207
を通って8つのモジュール制御ユニットMo30〜M7
37に各々送られる。各モジュール制御ユニットは、座
標(ih、 jh)を用いて、その格子点のデータがど
のメモリモジュールに格納されているかを示す数mkを
規則 mh =((i、+jk/q)×q+(jk+ih/p
)//q)//(p×q)に従い計算する。上記計算式
は、添字kを除いて請求範囲に記した式と同一である。
In this example, since there are eight grid points in one block, there are eight types of coordinates (xot jO) to (17157
) are output in parallel. Two nine signal lines 200 to 207
through eight module control units Mo30~M7
37 respectively. Each module control unit uses the coordinates (ih, jh) to determine the number mk indicating in which memory module the data of the grid point is stored using the rule mh = ((i, +jk/q) x q + (jk + ih /p
)//q)//(p×q). The above calculation formula is the same as the formula described in the claims except for the subscript k.

モジュール制御ユニット30〜37は、m+t と共に
、当該データのメモリモジュール内でのアドレスahを
算出する。各mk、ahは、処理装置100とのデータ
転送線110を併合して信号線300〜307としてデ
ィジタル双方向クロスバスイッチ40に送られる。
The module control units 30 to 37 calculate m+t as well as the address ah of the data in the memory module. Each of mk and ah is combined with the data transfer line 110 to the processing device 100 and sent to the digital bidirectional crossbar switch 40 as signal lines 300 to 307.

クロスバスイッチ40は、モジュール番号mkを用いて
データ線Dk及びモジュール内アドレスakの2つから
なる但を該当するメモリモジュールに接続する。これに
より、メモリモジュール50〜57と処理装置100と
の接続が完了し、両者の間でのデータ送受が可能となる
The crossbar switch 40 connects a data line Dk and an intra-module address ak to the corresponding memory module using the module number mk. Thereby, the connection between the memory modules 50 to 57 and the processing device 100 is completed, and data can be transmitted and received between them.

メモリモジュール50〜57は各々、クロスバスイッチ
からのデータ線、アドレス線、および処理装置100か
らの直接与えられる読み/書き信号150を用いて、実
際のデータの読出し、書き込みを行なう。
Each of the memory modules 50-57 actually reads and writes data using data lines from the crossbar switch, address lines, and a read/write signal 150 directly applied from the processing device 100.

以下、各要素の細部について第6図〜第9図を用いて解
説する。
The details of each element will be explained below using FIGS. 6 to 9.

アドレス展開部。Address expansion part.

第6図は、アドレス展開部2oを示したものである。こ
の部分では、1組の基準座標(i、、j)から8(=p
q)組の座標(101jo)〜(17゜j7)をブロッ
ク形状tの指定に従って作り出す機能を持つ。
FIG. 6 shows the address expansion section 2o. In this part, 8 (=p
q) It has a function of creating a set of coordinates (101jo) to (17°j7) according to the designation of the block shape t.

2bitの信号tは制御信号作成部230により、4つ
の制御信号α231.β232.γ233゜δ234に
変換される。
The 2-bit signal t is converted into four control signals α231 . β232. It is converted into γ233° δ234.

ORゲート235及びN ORゲート236がこの為に
用いられる。これらの信号はiは座標加数決定部210
及び2座標加数決定部220で利用される。
OR gate 235 and NOR gate 236 are used for this purpose. These signals i is the coordinate addend determination unit 210
and used in the two-coordinate addend determination unit 220.

座標信号(i、j)は8つに分岐され、(lo+jo)
〜(土7. J7 )を計算する基準になる。これらの
座標は、210,220が作り出す加数を加算器250
及び260を用いて(x+j)Lこ加える事により算出
される。なお、(i 0t j o)については(i、
j)の値をそのまま用いてもよい・210.220は各
々i加数決定ユニット2】1又はj加数決定ユニット2
21を並べて構成される。第6図(b)及び(Q)は、
各々のユニットの細部を示したものである。これらに2
30の出力を図示の様に与えることにより−(ihy 
jh)に得られる値は、第6図(d)に示した値となる
The coordinate signal (i, j) is branched into eight parts, (lo+jo)
It becomes the standard for calculating ~ (Sat 7. J7). These coordinates are added to the addends produced by 210 and 220 in the adder 250.
It is calculated by adding (x+j)L using 260 and 260. For (i 0t j o), (i,
The value of j) may be used as is. ・210.220 are respectively i addend determination unit 2] 1 or j addend determination unit 2
21 are arranged side by side. Figures 6(b) and (Q) are
This shows the details of each unit. 2 to these
By giving the output of 30 as shown, -(ihy
The value obtained for jh) is the value shown in FIG. 6(d).

これらの値は第2図で定めたブロック形状に一致する。These values correspond to the block shape defined in FIG.

モジュール制御ユニット 第7図はモジュール制御ユニット30〜37の詳細を示
したものである。このユニットでは、格子点の座標を示
す(lk+ Jk)を入力して、その格子点データの属
するメモリモジュール番号mbを算出する。同時に、当
該モジュール内でのデータアドレスahを作り出す。
Module Control Unit FIG. 7 shows details of the module control units 30-37. In this unit, (lk+Jk) indicating the coordinates of a grid point is input, and the memory module number mb to which the grid point data belongs is calculated. At the same time, a data address ah within the module is created.

mkの算出は、請求の範囲に記したのと同値なmh=(
(ib+jk/q)×q+(jh+L/p)//q)/
/(p×q)に従って行なわれる。上式はmad  p
q=mod8の計算を行なうものであり、この計算には
ik及びj hの下位3bitLか必要としない、又、
式中の割算・掛算・剰余をとる演算は、p及びqが2の
ベキ乗にとっである為、配線のシフト又は適当なりit
を選択する事で行なえる。これらの結果、上式で陽に計
算が必要なのは(jk+ik/p)//qの加算部分及
び(i h+ j k/ q ) X qの加算部分で
ある。これらは、2つの加算器311゜312を図示の
様に用いる事で計算できる。式中の第3の加算は、上記
2つの加算結果を単に並べるだけで得られる。
The calculation of mk is mh=(
(ib+jk/q)×q+(jh+L/p)//q)/
/(p×q). The above formula is mad p
It calculates q = mod 8, and this calculation does not require the lower 3 bits of ik, j and h.
The operations for division, multiplication, and remainder in the formula are based on p and q being powers of 2, so it may be necessary to shift the wiring or do it as appropriate.
This can be done by selecting . As a result, what needs to be explicitly calculated in the above equation is the addition part of (jk+ik/p)//q and the addition part of (i h+j k/q ) X q. These can be calculated by using two adders 311 and 312 as shown. The third addition in the formula can be obtained by simply arranging the above two addition results.

8には、メモリモジュール内での当該データのアドレス
を与える値であり、入力又は出力されるデータDkと共
に各メモリモジュールに与えられる。
8 is a value giving the address of the data in the memory module, and is given to each memory module together with the input or output data Dk.

本実施例では、各メモリモジュール内でのデータ配列は
第8図の様になっているものとする。即ち、画面を1X
pqの横長のブロック(ブロック形状t=θに相当する
)に分割する。モジュール分配の性質により、各ブロッ
クにはP q==3つのモジュールが全て1つずつ含ま
れる。そこで、各メモリモジュールでは、第8図中に示
したXを新らしい横座標と考えて、(i、x)により決
まる様Rブロックの中に含まれる自モジュールのデータ
を座標(i、x)のメモリに格納する。
In this embodiment, it is assumed that the data arrangement within each memory module is as shown in FIG. That is, the screen is 1X
Divide into pq horizontally long blocks (corresponding to block shape t=θ). Due to the nature of module distribution, each block contains one of all P q==3 modules. Therefore, in each memory module, considering X shown in FIG. 8 as a new abscissa, the data of its own module contained in the R block is determined by coordinates (i, x) as determined by (i, x). store in memory.

この規則によれば、モジュール内アドレスakとしては
、iRをそのままモジュールに与え、jkについてはP
 q=3で割ってモジュールに与えれば良い、この除算
はjkの下位3bitを単に無視する事で行なえる。
According to this rule, as the intra-module address ak, iR is given to the module as is, and for jk, P
Just divide by q=3 and give it to the module. This division can be done by simply ignoring the lower 3 bits of jk.

ディジタル双方向クロスバスイッチ 第9図は、ディジタル双方向クロスバスイッチの機能を
示したものである。この部分では、データdhtモジュ
ール内アドレスak、モジュール番号mkの組(dh+
 akt mk)を81′L受けとり、各ma+の値に
応じてdh 、ah を当該のメモリモジュールに接続
する。第9図には、この−例を示した。
Digital bidirectional crossbar switch FIG. 9 shows the function of the digital bidirectional crossbar switch. In this part, a set of data dht module internal address ak and module number mk (dh+
akt mk) 81'L, and connects dh and ah to the corresponding memory module according to the value of each ma+. An example of this is shown in FIG.

この機能の実現方法は公知であるので、ここでは詳述し
ない。
Since the method for implementing this function is well known, it will not be described in detail here.

メモリモジュールは、実際のデータを格納する部分であ
り、クロスバスイッチからモジュール内アドレスakを
受けとりデータdkの読出し又は書込みを行なう。
The memory module is a part that stores actual data, and receives an internal module address ak from the crossbar switch and reads or writes data dk.

モジュール内アドレスah と画面全体の位!ff、?
標(it J)の関係は第8図で示した通りである。
The address in the module ah and the entire screen! ff,?
The relationship between the marks (it J) is as shown in FIG.

この部分の実現方法は周知であり、ここでは詳述しない
The method for implementing this part is well known and will not be described in detail here.

以上のように本実施例では、アドレス展開部2o及びモ
ジュール制御ユニット30〜37に本発明の方式を用い
、双方向ディジタルクロスバスイッチ40及びメモリモ
ジュール50は公知の技術で構成しである。更にパラメ
ータp及びqを2のベキ乗にとる事により、簡単な回路
で本発明の効果を具現できる6 〔発明の効果〕 本発明によれば、画面上での(i)横長領域(11)縦
長領域(iii)規則的に配置された長方形領域、への
同時アクセスが可能である。これらのうち(i)(ii
)は従来技術でも本発明と同等の機能が実現可能である
が、(■)において本発明は従来技術を超える機能を持
つ。(tit)における本発明の特長を第10図(a、
)〜(c)を用いて説明する。
As described above, in this embodiment, the method of the present invention is used for the address expansion section 2o and the module control units 30 to 37, and the bidirectional digital crossbar switch 40 and the memory module 50 are constructed using known techniques. Furthermore, by setting the parameters p and q to powers of 2, the effects of the present invention can be realized with a simple circuit.6 [Effects of the Invention] According to the present invention, (i) horizontally long area (11) on the screen Simultaneous access to vertically elongated areas (iii) regularly arranged rectangular areas is possible. Of these (i) (ii)
), it is possible to achieve the same function as the present invention with the conventional technology, but in (■), the present invention has a function that exceeds the conventional technology. Figure 10(a) shows the features of the present invention in (tit).
) to (c).

第10図(a)は、従来技術の1つである特公制56−
44449において、並列アクセス可能な長方形領域の
配置を示したものである0図の意味は、長方形領域の基
準点が図中の黒丸を記した点の一つである時、並列アク
セスが可能である事を示す。
FIG. 10(a) shows one of the conventional techniques, JP56-
In 44449, the meaning of diagram 0, which shows the arrangement of rectangular areas that can be accessed in parallel, is that when the reference point of the rectangular area is one of the points marked with black circles in the diagram, parallel access is possible. show something

長方形領域の基準点とは領域の左上点の事であり、具体
的には第10図(Q)で黒丸で示した点1030の事で
ある。但しここではp=q=4の例を示した。
The reference point of the rectangular area is the upper left point of the area, specifically the point 1030 indicated by a black circle in FIG. 10(Q). However, an example where p=q=4 is shown here.

これに対し本発明では、並列アクセス可能な領域が第1
0図(b)のように配列される0図の意味は第10図(
a)と同じである。第10図(a)と(b)とを比較し
てわかるように、本発明では次のような効果がある。
In contrast, in the present invention, the parallel accessible area is
The meaning of figure 0 arranged like figure 0 (b) is shown in figure 10 (
Same as a). As can be seen by comparing FIGS. 10(a) and 10(b), the present invention has the following effects.

即ち、 ■並列アクセス可能な領域が増えている。That is, ■The number of areas that can be accessed in parallel is increasing.

■並列アクセス可能な領域は、縦座標iと横座標jとに
対し対称に配置されている。
(2) The areas that can be accessed in parallel are arranged symmetrically with respect to the ordinate i and the abscissa j.

という新らしい効果が生じる。これらのうち■の効果は
、画面の転置・回転などの操作を行なう場合に横座標と
縦座標とを同等に取り扱って良いという性質を生じ、従
来技術にない新機能を具現するものである。
A new effect arises. Among these, the effect (2) produces a property that the horizontal coordinate and the vertical coordinate can be treated equally when performing operations such as transposing and rotating the screen, and realizes a new function not found in the prior art.

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

第1図は本発明の画素分配ルールを設計パラメータp=
4、q=2の例で示している。第2図は並列アクセス可
能な領域の形状を示す。第3図は並列アクセス用メモリ
の概略構成を示し、第4図は従来の方式を第1図に対比
して示す。第5図から第9図までは本発明の実施に当っ
て必要な構成を示す、第10図は本発明と従来方式との
差異を示したものである。 1・・・画素、3・・・画面、20・・・アドレス展開
部、30〜37・・・モジュール制御ユニット、311
〜312・・・加算器。 第 1 図 j〜 第 Z 図 茗3 ロ グ4 図 第 5 口 L                        
            J第6 図 (^ジ τ %を図(b)        第6’7(c>ル   
ν         β  べ箭 乙 z(t) 木  L(〜乙+lて83二とに示す。1色ダit)司
C9f本 空jWlxρΣ示T・ 百 7 図 冨B図 第 q 図 不/ρ m(cジ
Figure 1 shows the pixel distribution rule of the present invention with design parameters p=
4, q=2 is shown as an example. FIG. 2 shows the shape of an area that can be accessed in parallel. FIG. 3 shows a schematic configuration of a memory for parallel access, and FIG. 4 shows a conventional system in comparison with FIG. 1. 5 to 9 show the configuration necessary for implementing the present invention, and FIG. 10 shows the differences between the present invention and the conventional system. DESCRIPTION OF SYMBOLS 1... Pixel, 3... Screen, 20... Address development part, 30-37... Module control unit, 311
~312...Adder. Figure 1 J - Z Figure 3 Log 4 Figure 5 L
J Fig. 6 (Figure (b) showing ^jiτ %)
ν β Be 箭 Otsu z(t) Tree L (~Otsu+l shown in 832. 1 color die) Tsukasa C9f book Empty jWlxρΣshow T・ 100 7 Figure B q Unillustrated/ρ m(c Ji

Claims (1)

【特許請求の範囲】 1、2次元直交格子状に配置されたデータを記憶するメ
モリシステムであつて、同メモリシステムはp、qを設
計パラメータとしてp×q個のメモリモジュールからな
り、各モジュールは同時並行してアクセス可能であるも
のにおいて、位置座標(i、j)で示される格子点のデ
ータを M(i、j)=((i+j/q)×q+(j+i/p)
//q)//(p×q) 但し/及び//は、整数で割つた商及び余りをそれぞれ
示す。で与えられるM(i、j)番目のメモリモジュー
ルに格納することを特徴とした2次元情報処理用メモリ
方式。
[Scope of Claims] A memory system that stores data arranged in a one- and two-dimensional orthogonal grid, the memory system consisting of p×q memory modules with p and q as design parameters, and each module can be accessed in parallel, the data of the grid point indicated by the position coordinates (i, j) is expressed as M (i, j) = ((i + j / q) × q + (j + i / p)
//q) //(p×q) However, / and // indicate the quotient and remainder when divided by an integer, respectively. A memory system for two-dimensional information processing characterized by storing data in the M(i, j)th memory module given by .
JP21157386A 1986-09-10 1986-09-10 Memory system for processing two-dimensional information Pending JPS6367655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21157386A JPS6367655A (en) 1986-09-10 1986-09-10 Memory system for processing two-dimensional information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21157386A JPS6367655A (en) 1986-09-10 1986-09-10 Memory system for processing two-dimensional information

Publications (1)

Publication Number Publication Date
JPS6367655A true JPS6367655A (en) 1988-03-26

Family

ID=16608008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21157386A Pending JPS6367655A (en) 1986-09-10 1986-09-10 Memory system for processing two-dimensional information

Country Status (1)

Country Link
JP (1) JPS6367655A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0620046A (en) * 1990-04-30 1994-01-28 Jong-Won Park Memory system for efficient image analysis and processing
JP2012048402A (en) * 2010-08-25 2012-03-08 Canon Inc Pattern identification device and control method thereof, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0620046A (en) * 1990-04-30 1994-01-28 Jong-Won Park Memory system for efficient image analysis and processing
JP2012048402A (en) * 2010-08-25 2012-03-08 Canon Inc Pattern identification device and control method thereof, and program

Similar Documents

Publication Publication Date Title
Gil et al. Computing 2-D min, median, and max filters
US5606650A (en) Method and apparatus for storage and retrieval of a texture map in a graphics display system
US5175701A (en) System for performing linear interpolation
JPS62118387A (en) Efficient memory cell configuration for high grade video object generator
JPS63136167A (en) Orthogonal conversion processor
US20220113944A1 (en) Arithmetic processing device
CN102804150B (en) Data processing equipment, data processing method and data-sharing systems
JPH0310380A (en) Image converting circuit
JPS6367655A (en) Memory system for processing two-dimensional information
JPH06223099A (en) Signal processing system provided with reduced memory space
JP2573395B2 (en) Dual port memory device
Datta et al. Constant-time algorithm for the Euclidean distance transform on reconfigurable meshes
KR0119725B1 (en) Pararrel storage device for using linear translation method in image processing system
US10789072B2 (en) Parallel processor for calculating operand and result addresses as a function of a position of a field of action and predetermined positions of processing elements in non-homogeneous address zones within a topology
EP0436002A1 (en) A system for performing linear interpolation
JPH061449B2 (en) Image memory for image editing
KR20230066905A (en) Address mapping apparatus and method considering shared memory and cache interleaving
JP2628301B2 (en) Video processing system
JPH0417471B2 (en)
JPS62286180A (en) Picture processor for diagnosis
KR920008266B1 (en) Memory system for effective analyzation of image
RU2038633C1 (en) Apparatus for forming videosignal
KR20190055693A (en) Image processing device for image resolution conversion
Stowell Three dimensional display processing-implementation of a real time system.
JPS638693A (en) Multi-processor for line drawing display