JPH0315954A - Access system for two-dimensional information memory - Google Patents
Access system for two-dimensional information memoryInfo
- Publication number
- JPH0315954A JPH0315954A JP9659889A JP9659889A JPH0315954A JP H0315954 A JPH0315954 A JP H0315954A JP 9659889 A JP9659889 A JP 9659889A JP 9659889 A JP9659889 A JP 9659889A JP H0315954 A JPH0315954 A JP H0315954A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- real
- information
- space
- 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
Links
Landscapes
- Image Input (AREA)
Abstract
Description
【発明の詳細な説明】
〔目次〕
概要
産業上の利用分野
従来の技術(第7図)
発明が解決しようとする課題
課題を解決するための手段(第l図)
作用(第1図)
実施例(第2図〜第6図)
発明の効果
〔概要〕
二次元情報メモリのアクセス方式に関し、情報処理機器
が処理を実行する仮想的なメモリ空間で直接実メモリを
アクセス出来るようにして、メモリアクセス処理のオー
バヘッドを無くし、高速処理ができるようにすることを
目的とし、二次元情報を、実メモリに対して、1バイト
単位で書き込んだり、読み出したりする際の二次元情報
メモリのアクセス方式において、仮想メモリアドレスを
、予め設定されたパラメータ等に基づいて実アドレスに
変換するアドレス変換部と、変換された実アドレスから
次の実アドレスを生戒する実アドレス生底部と、1バイ
ト単位の情報を、上位ビット側と、下位ビット倒を任意
のビット位置で分割し、上位ビット側と下位ビット側で
同時に連続する2つのメモリアドレスを付与できる実メ
モリと、シフト処理部とを設け、二次元情報の処理を実
行しようとする情報処理機器に対し、処理対象となる空
間に割付けられた仮想メモリ空間において、直接、実メ
モリをアクセスできるように構威する。[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figure 7) Means for solving the problem to be solved by the invention (Figure 1) Effect (Figure 1) Implementation Examples (Figures 2 to 6) Effects of the invention [Summary] Regarding the access method of two-dimensional information memory, it is possible to directly access real memory in a virtual memory space in which information processing equipment executes processing, The aim is to eliminate the overhead of access processing and enable high-speed processing.In the access method of two-dimensional information memory when writing and reading two-dimensional information in 1-byte units to real memory. , an address converter that converts a virtual memory address to a real address based on preset parameters, a real address raw base that reads the next real address from the converted real address, and information in 1-byte units. A two-dimensional An information processing device that attempts to process information is configured to be able to directly access real memory in a virtual memory space allocated to a space to be processed.
本発明は二次元情報メモリのアクセス方式に関し、更に
詳しくいえば、画像データなどの二次元情報を処理する
場合に利用されるものであり、特に、メモリアクセス処
理のオーバヘッドを改善し、高速処理を可能とした二次
元情報メモリのアクセス方式に関する。The present invention relates to an access method for two-dimensional information memory, and more specifically, it is used when processing two-dimensional information such as image data. This paper relates to a method for accessing two-dimensional information memory.
第7図は、従来の情報処理機器におけるメモリアクセス
方式の説明図である。FIG. 7 is an explanatory diagram of a memory access method in a conventional information processing device.
図において、50は情報処理部(CPU)、51は人出
力処理部、52はメモリ、53はメモリアドレス生成部
、54は入出力データピット処理部、55はメモリアク
セス部を示す。In the figure, 50 is an information processing unit (CPU), 51 is a human output processing unit, 52 is a memory, 53 is a memory address generation unit, 54 is an input/output data pit processing unit, and 55 is a memory access unit.
従来、画像等の二次元情報の処理を行う際、前記情報を
格納するメモリチップのアドレス割付けや、二次元情報
の入出力機との間の転送データフォーマットの制約から
、情報処理機器から実メモリへのアクセスに際し、メモ
リアクセス処理を行っていた。Conventionally, when processing two-dimensional information such as images, it has been difficult to transfer information from the information processing equipment to the real memory due to restrictions on the address assignment of the memory chip that stores the information and the data format transferred between the two-dimensional information input/output device. When accessing, memory access processing was performed.
図示のように、情報処理部(CPU)50においては、
(イ)、(ロ)、(ハ)のように、各処理が実行される
が、その際、メモリ52に対してメモリアクセスがなさ
れる.
この時のメモリアクセスは、次のようにして行われる。As illustrated, in the information processing unit (CPU) 50,
Each process is executed as in (a), (b), and (c), and at that time, memory access is made to the memory 52. Memory access at this time is performed as follows.
先ず、情報処理部(CPU)50から入出力処理部51
に対して仮想アドレスを送出する。この仮想アドレスは
、メモリアドレス生成部53において、実アドレスに変
換する。First, from the information processing unit (CPU) 50 to the input/output processing unit 51
Sends a virtual address to. This virtual address is converted into a real address in the memory address generation unit 53.
前記のように変換された実アドレスは、入出力データピ
ット処理部54において、複数バイトにまたがったビッ
ト位置移動等のデータのビット処理を行う。The real address converted as described above is subjected to data bit processing such as bit position movement across multiple bytes in the input/output data pit processing section 54.
その後、メモリアクセス部55からメモリ52に対して
アクセスが行われる.
このように、実メモリ52へのアクセスに際して、入出
力処理部5lにおいて各種の処理を実行する必要がある
.
〔発明が解決しようとする課題〕
上記のような従来のものにおいては次のような欠点があ
った.
即ち、情報処理機器から実メモリへのアクセスに際し、
メモリアクセス処理を必要とするため、オーバヘッドと
なって高速処理の実現が困難であった.
本発明は、このような従来の欠点を解消し、情報処理機
器が処理を実行する仮想的なメモリ空間で直接実メモリ
をアクセス出来るようにして、メモリアクセス処理のオ
ーバヘッドを無くし、高速処理ができるようにすること
を目的とする。Thereafter, the memory access unit 55 accesses the memory 52. In this way, when accessing the real memory 52, it is necessary to execute various processes in the input/output processing section 5l. [Problems to be solved by the invention] The conventional devices described above had the following drawbacks. In other words, when accessing real memory from information processing equipment,
Since it requires memory access processing, it creates overhead and makes it difficult to achieve high-speed processing. The present invention eliminates these conventional drawbacks and enables information processing equipment to directly access real memory in the virtual memory space in which it executes processing, eliminating the overhead of memory access processing and enabling high-speed processing. The purpose is to do so.
上記の目的を達戒するため、本発明は次のようにしたも
のである。In order to achieve the above object, the present invention is as follows.
第1図は、本発明に係る二次元情報メモリのアクセス方
式の原理図である。FIG. 1 is a principle diagram of an access method of a two-dimensional information memory according to the present invention.
図において、1は情報処理機器(例えば、CPU)、2
はアドレス変換部、3は仮想メモリ空間、4は実メモリ
(実メモリ空間)、5は実アドレス生底部、6はシフ
ト処理部を示す.
前記アドレス変換部2には、仮想メモリのアドレス(X
、Y)から実メモリのアドレスに変換する変換パラメー
タを、情報処理機器1から予め設定しておく。In the figure, 1 is an information processing device (for example, a CPU), 2
is the address conversion unit, 3 is the virtual memory space, 4 is the real memory (real memory space), 5 is the real address raw bottom, and 6 is the shift processing unit. The address conversion unit 2 has a virtual memory address (X
, Y) to a real memory address is set in advance from the information processing device 1.
実メモリ4は、情報処理機器lから前記実メモリ4を1
バイト単位でアクセスする際、メモリのバイト情報(デ
ータ)を、上位ビット側と下位ビット側を任意のビット
位置で分割し、上位側と下位側で同時に連続する2メモ
リアドレスを付与できるように構威しておく。The real memory 4 is connected to the real memory 4 from the information processing device l.
When accessing byte units, the memory byte information (data) is divided into the upper bit side and the lower bit side at arbitrary bit positions, and the structure is such that two consecutive memory addresses can be assigned to the upper and lower sides at the same time. I'll be strong.
実アドレス生成部5では、アドレス変換部2で変換した
実メモリ4のアドレス(Z)と、ピント位置アドレス(
ΔZ)とを入力し、前記アドレス(Z)に+1して次の
アドレス(Z+1)を生威する.
シフト処理部6では、前記ビット操作量情報(ΔZ)を
人力し、この情報(ΔZ)に基づいて、情報処理機器1
とメモリとの間の受け渡しデータを、シフト及び回転さ
せて実メモリ4に対する受け渡しを行う.
〔作用〕
本発明は上記のように構成したので、次のような作用が
ある.
即ち、情報処理機器からの仮想メモリアドレス(XSY
)を、アドレス変換部2で実アドレスに変換し、その後
、メモリとの間の転送データバイトのシフト回転処理と
、バイト分割やバイト合成により、情報処理機器1が処
理を実行する仮想的なメモリ空間において、直接実メモ
リをアクセスするようにしたものである。The real address generation unit 5 converts the address (Z) of the real memory 4 converted by the address conversion unit 2 and the focus position address (
ΔZ) is input, and the address (Z) is incremented by 1 to generate the next address (Z+1). In the shift processing section 6, the bit operation amount information (ΔZ) is manually input, and based on this information (ΔZ), the information processing device 1
The data transferred between the memory and the memory is shifted and rotated and transferred to the real memory 4. [Function] Since the present invention is configured as described above, it has the following functions. In other words, the virtual memory address (XSY
) into a real address in the address conversion unit 2, and then performs shift rotation processing of transfer data bytes to and from the memory, byte division, and byte composition to create a virtual memory on which the information processing device 1 executes processing. In space, real memory is directly accessed.
図示のように、仮想メモリアドレス(X,Y)は、実メ
モリ空間4では、実アドレスの(Z)と(Z+1)に相
当し、アドレス(Z)でーは(ΔZ)だけシフトした位
置から上位ビット側のデタが入り、下位側のデータは(
Z+1)へ入る.このようにして、二次元情報の処理を
実行しようとする情報処理機器に対し、処理対象となる
空間に割り付けられた仮想メモリ空間にて、直接実メモ
リをアクセスできる。As shown in the figure, virtual memory address (X, Y) corresponds to real addresses (Z) and (Z+1) in real memory space 4, and address (Z) - is shifted from the position shifted by (ΔZ). The data on the upper bit side is entered, and the data on the lower bit side is (
Enter Z+1). In this way, an information processing device attempting to process two-dimensional information can directly access real memory in the virtual memory space allocated to the space to be processed.
これにより、メモリアクセス処理のオーバヘッドを無く
すことが可能となる。This makes it possible to eliminate the overhead of memory access processing.
以下、本発明の実施例を図面に基づいて説明する. 第2図は、本発明の1実施例の全体構成図である。 Embodiments of the present invention will be described below based on the drawings. FIG. 2 is an overall configuration diagram of one embodiment of the present invention.
図において、lは情報処理機器、2はアドレス変換部、
4は実メモリ(実メモリ空間)、5は実アドレス生底部
、6−1、6−2は、それぞれシフト処理部を構成する
書き込み用バレルシフタ及び読み出し用バレルシフタ、
7は加算器(+1加算)、8はセレクタ、9はアドレス
選択制御部を示す.
情報処理機器(例えばCPU)1から出される仮想アド
レス(X、Y)は、アドレス変換部2に入力する.
アドレス変換部2には、仮想アドレスから実アドレスへ
の変換を行うためのアドレス変換テーブルがあり、この
アドレス変換テーブルには、予め、情報処理機器1から
アドレス変換をするための各種のパラメータ等を設定し
ておく.
上記仮想アドレス(X,Y)により、メモリアクセスが
行われた場合には、アドレス変換部2のアドレス変換テ
ーブルを用いてアドレス変換を行い、実アドレス(Z)
と、ビット操作量情報(△Z)を生威する.
前記実アドレス(Z)は、実アドレス生戒部5へ人力さ
れ、セレクタ8の一方の入力端子へ人力すると共に、加
算器7へ入力して+1加算され、レス(Z+ 1 )は
、セレクタ8の他方の人力端子に入力する.
アドレス変換部2で生或されたビット操作量情報(ΔZ
)は、アドレス選択制御部9、書き込み用バレルシフタ
6−1、読み出し用バレルシフタ6−2へ入力し、ビッ
ト位置操作を行う.アドレス選択制御部9では、前記ビ
ット操作量情I!(Δ2)に基づいて制御信号を作威し
、セレクタ8に対して出力する.セレクタ8では、前記
制御信号に基づいて人力信号の選択動作を行い、実アド
レス(Z)または(Z+1)のいずれか一方を出力し、
実メモリ4へ送出する.
情報処理機器lと実メモリ4との間で送受されるリード
データ、及びライトデータは、バイト単位で取扱われる
.
そして、情報処理機器1から送出される書き込みデータ
(ライトデータ)は、書き込み用バレルシフタ6−1で
、上記の(Δ2)の値だけ右シフトし、右端からこぼれ
た分は左端に戻される.また、実メモリ4からの読み出
しデータ(り−ドデータ)は、読み出し用バレルシフタ
6−2に入力した後、(ΔZ)の値だけ左にシフトし、
こぼれた分は右端に戻される.
上記書き込み用バレルシフタ671から実メモリ4への
データ書き込みに際しては、実アドレス生戒部5から実
メモリ4に対して出される実アドレス(Z)及び(Z+
1)へ分けて記憶される.第3図は、上記実施例におけ
る仮想メモリと実メモリの対応関係の説明図である.
画像等の二次元情報の入出力機器とは、ラスクスキャン
等により、シリアル転送でインターフェイスするため、
1バイト単位の情報が仮想メモリと実メモリとの両空間
で対応がとられる.仮想メモリ空間3において、二次元
の座標(X、Y)で指定される1バイト情報は、実メモ
リ空間4ではアドレスZのバイトの左ΔZビットを除い
た分と、Z+1番地のΔZビット分に対応ずけられる.
即ち、第2図で説明した情報処理機器1からの仮想アド
レス(X,Y)により実メモリをアクセ仮想アドレス(
xSy)により実メモリをアクセスする場合は、(X,
Y)から(Z)と(ΔZ)を算出して実メモリのアドレ
ス(Z)と(2+1)の情報に対し、(ΔZ)によるビ
ット操作を行う必要がある.
第4図は、上記実施例におけるアドレス変換の説明図で
ある.
仮想アドレス(X,Y)から実メモリアクセスに必要な
アドレス(Z)と、ビット操作量情報(ΔZ)とを第2
図に示したアドレス変換部2の変換テーブルを用いて生
成する。In the figure, l is an information processing device, 2 is an address translation unit,
4 is a real memory (real memory space), 5 is a real address raw bottom part, 6-1 and 6-2 are a write barrel shifter and a read barrel shifter, respectively, which constitute a shift processing section.
7 is an adder (+1 addition), 8 is a selector, and 9 is an address selection control section. A virtual address (X, Y) output from an information processing device (for example, a CPU) 1 is input to an address conversion section 2. The address conversion unit 2 has an address conversion table for converting virtual addresses to real addresses, and this address conversion table contains various parameters etc. for address conversion from the information processing device 1 in advance. Set it. When memory access is performed using the above virtual address (X, Y), address translation is performed using the address translation table of the address translation unit 2, and the real address (Z) is
, the bit operation amount information (△Z) is generated. The real address (Z) is inputted to the real address reading unit 5, inputted to one input terminal of the selector 8, and inputted to the adder 7 where +1 is added. input to the other human power terminal. Bit operation amount information (ΔZ
) is input to the address selection control unit 9, the write barrel shifter 6-1, and the read barrel shifter 6-2, and performs bit position manipulation. In the address selection control section 9, the bit operation amount information I! A control signal is generated based on (Δ2) and output to the selector 8. The selector 8 performs a manual signal selection operation based on the control signal, outputs either the real address (Z) or (Z+1),
Send to real memory 4. Read data and write data sent and received between the information processing device 1 and the real memory 4 are handled in byte units. The write data (write data) sent from the information processing device 1 is shifted to the right by the value of (Δ2) mentioned above by the write barrel shifter 6-1, and the data spilled from the right end is returned to the left end. Furthermore, after the read data (read data) from the real memory 4 is input to the read barrel shifter 6-2, it is shifted to the left by the value of (ΔZ),
The spilled portion is returned to the right edge. When writing data from the writing barrel shifter 671 to the real memory 4, the real address (Z) and (Z+
1) are stored separately. FIG. 3 is an explanatory diagram of the correspondence between virtual memory and real memory in the above embodiment. Input/output devices for two-dimensional information such as images are interfaced by serial transfer using Rusk Scan etc.
Each byte of information is matched in both virtual memory and real memory. In virtual memory space 3, one byte of information specified by two-dimensional coordinates (X, Y) is divided into the byte at address Z excluding the left ΔZ bit and the ΔZ bit at address Z+1 in real memory space 4. Correspondence can be arranged. That is, the real memory is accessed by the virtual address (X, Y) from the information processing device 1 explained in FIG.
xSy), when accessing the real memory by (X,
It is necessary to calculate (Z) and (ΔZ) from Y) and perform bit operations using (ΔZ) on the information at addresses (Z) and (2+1) in real memory. FIG. 4 is an explanatory diagram of address conversion in the above embodiment. The address (Z) necessary for real memory access from the virtual address (X, Y) and the bit operation amount information (ΔZ) are
It is generated using the translation table of the address translation unit 2 shown in the figure.
この例では前記(ΔZ)は3(下位3ビット)である.
また(Z)は図示のように、Z=K−Y十Jの式で算出
される.
即ち、(Z)はYに1行のバイト数Kを剰じた値に、X
のバイト番号J (Xの下位3桁を除いた数値)を加え
た値である。In this example, (ΔZ) is 3 (lower 3 bits).
Moreover, (Z) is calculated by the formula Z=K-Y+J as shown in the figure. In other words, (Z) is the value obtained by multiplying Y by K, the number of bytes in one line, and
This is the value obtained by adding the byte number J (the value excluding the lower three digits of X).
第5図は、上記実施例におけるアドレス選択制御の説明
図であり、(A)はアドレス選択制御部の説明図、(B
)は論理テーブルを示す。FIG. 5 is an explanatory diagram of address selection control in the above embodiment, (A) is an explanatory diagram of the address selection control section, (B
) indicates a logical table.
ば第5図(A)のように構威されており、上記ΔZによ
り適切なアドレスの切り換えが行われるものである。For example, the structure is as shown in FIG. 5(A), and appropriate address switching is performed by the above-mentioned ΔZ.
(B)に論理テーブルを示したように、例えばΔz=0
ならば制御信号(CNTO−CNT7)はrl 1 1
1 1 1 1 1Jとなり、ΔZ=1ならばr01
111111」、ΔZ=2ならば「00111ll1」
、ΔZ=3ならばr00011111」となる.
このM御信号(CNTO〜CNT7)は、第2図に示し
たセレクタ8へ送られ、実アドレス(Z)と(Z+1)
との選択が行われ、いずれか一方の実アドレスが実メモ
リ4へ送られる。As shown in the logic table in (B), for example, Δz=0
Then the control signal (CNTO-CNT7) is rl 1 1
1 1 1 1 1J, and if ΔZ=1, r01
111111”, if ΔZ=2, “00111ll1”
, if ΔZ=3, then r00011111''. This M control signal (CNTO to CNT7) is sent to the selector 8 shown in FIG. 2, and the real address (Z) and (Z+1) are
A selection is made, and one of the real addresses is sent to the real memory 4.
第6図は、上記実施例におけるシフト及び回転処理の説
明図であり、(A)は人出力データパターンの説明図、
(B)は仮想メモリとの対応図を示す.
書き込み用バレルシフタ6−1への入力データは、(イ
)のように、lバイト(Bo=Btの8ビット)であり
、このデータ(イ)は、書き込み用バレルシフタ6−1
で3ビット(ΔZ=3)シフトされる.
この時、データは右シフトされ、右端からこぼれた分の
データB5、B6、B丁は、回転して左端に戻され、(
ロ)に示したメモリ入力パターン(BsBsBtBoB
tB2BsB4)で実メモリ4に入力する.
実メモリ4では、第5図(B)の論理テーブルに従って
、アドレス(Z)に(ハ)で示した「Bo=84」が、
また、(Z+1)には(二)で示したrBS−Bt」が
同時に格納される.このようにして、実メモリ4に格納
されたデータを読み出す時は次のようにする.
実アドレス(Z)と(Z+1)に格納されているデータ
は、第5図(B)の論理テーブルに従い、上記(ハ)と
(二)のデータが同時に読み出され、読み出し用バレル
シフタ6−2に出力される.前記読み出し用バレルシフ
タ6−2では、左に3ビット(ΔZ=3)シフトされ、
回転して出力データ(へ)を得る。この状態は(B)図
に示しデータ(へ)を得る。この状態は(B)図に示し
てある.
これにより読み出したデータ(へ)は、(イ)で示した
データと同じになり、情報処理機器1へ送られる.
なお、本発明は、上記実施例に限定されるものではなく
、次のようにしても実施可能である.(1) 上記実
施例においては、アドレス変換をテーブル変換方式とし
、情報処理機器からのテーブル内容の事前ローディング
をして、処理対象となるメモリ空間に対する仮想メモリ
アドレスの割付けに柔軟性をもたせている。FIG. 6 is an explanatory diagram of the shift and rotation processing in the above embodiment, and (A) is an explanatory diagram of the human output data pattern;
(B) shows the correspondence diagram with virtual memory. The input data to the writing barrel shifter 6-1 is 1 byte (Bo = 8 bits of Bt) as shown in (A), and this data (A) is input to the writing barrel shifter 6-1.
is shifted by 3 bits (ΔZ=3). At this time, the data is shifted to the right, and the data B5, B6, and B that spilled from the right end are rotated and returned to the left end, (
Memory input pattern (BsBsBtBoB) shown in
tB2BsB4) is input to real memory 4. In the real memory 4, according to the logic table in FIG.
Further, "rBS-Bt" shown in (2) is stored in (Z+1) at the same time. To read the data stored in the real memory 4 in this way, proceed as follows. The data stored in the real addresses (Z) and (Z+1) are read out at the same time according to the logic table shown in FIG. is output to . The reading barrel shifter 6-2 shifts 3 bits (ΔZ=3) to the left,
Rotate to get output data (to). This state is shown in figure (B) and data is obtained. This situation is shown in figure (B). As a result, the read data (f) becomes the same as the data shown in (a), and is sent to the information processing device 1. Note that the present invention is not limited to the above embodiments, but can also be implemented as follows. (1) In the above embodiment, the table conversion method is used for address conversion, and the table contents are preloaded from the information processing equipment to provide flexibility in allocating virtual memory addresses to the memory space to be processed. .
この場合、第3図及び第4図に示したKを、情報処理機
器からのレジスタ設定等により、積和回路を用いてアド
レス変換を行うようにしても良い。In this case, the address of K shown in FIGS. 3 and 4 may be converted using a sum-of-products circuit based on register settings from the information processing device.
(2)上記情報においては、ビット操作量情報(△Z)
をアドレス変換部2で生戒する例について説明したが、
この(ΔZ)は、情報処理機器、例えばCPU内で生威
し、各部へ供給してもよい.〔発明の効果〕
以上説明したように、本発明によれば次のような効果が
ある。(2) In the above information, bit operation amount information (△Z)
We have explained an example in which the address translation unit 2 uses
This (ΔZ) may be used in an information processing device, for example, a CPU, and may be supplied to each part. [Effects of the Invention] As explained above, the present invention has the following effects.
(1)情報処理機器においては、実メモリのアドレス構
或を意識することなく、処理対象となる二次元空間に割
付けられた仮想メモリアドレスにより、実メモリへのア
クセスが可能となる.
(2)仮想アドレスから実アドレスへの変換や、デタ転
送時のシフト、回転等をハード的に処理できるため、高
速処理が可能となり、メモリ入出力処理におけるオーバ
ヘッドがなくなる。(1) In information processing equipment, real memory can be accessed using virtual memory addresses allocated in a two-dimensional space to be processed, without being aware of the address structure of real memory. (2) Since conversion from virtual addresses to real addresses, shifts, rotations, etc. during data transfer can be processed by hardware, high-speed processing is possible and overhead in memory input/output processing is eliminated.
第1図は本発明に係る二次元情報メモリのアクセス方式
の原理図、
第2図は本発明の1実施例の全体構或図、第3図は上記
実施例における仮想メモリと実メモリの対応関係の説明
図、
第4図は上記実施例におけるアドレス変換の説明図、
第5図は上記実施例におけるアドレス選択制御の説明図
、
第6図は上記実施例におけるシフト処理の説明図、
第7図は従来のメモリアクセス方式の説明図である.
1一情報処理機器
2−アドレス変換部
3一仮想メモリ空間
4〜実メモリ空間
5一実アドレス生成部
6・・−・シフト処理部Fig. 1 is a principle diagram of an access method of a two-dimensional information memory according to the present invention, Fig. 2 is an overall configuration diagram of an embodiment of the present invention, and Fig. 3 is a correspondence between virtual memory and real memory in the above embodiment. FIG. 4 is an explanatory diagram of address conversion in the above embodiment. FIG. 5 is an explanatory diagram of address selection control in the above embodiment. FIG. 6 is an explanatory diagram of shift processing in the above embodiment. The figure is an explanatory diagram of the conventional memory access method. 1 - Information processing equipment 2 - Address conversion section 3 - Virtual memory space 4 - Real memory space 5 - Real address generation section 6 --- Shift processing section
Claims (1)
、1バイト単位で書き込んだり、読み出したりする際、
情報処理機器(1)から実メモリ(4)に対して行われ
る二次元情報メモリのアクセス方式において、 情報処理機器(1)から出される仮想メモリアドレス(
X、Y)を、予め設定されたパラメータ等に基づいて実
アドレス(Z)に変換するアドレス変換部(2)と、 前記変換された実アドレス(Z)から次の実アドレス(
Z+1)を生成する実アドレス生成部(5)と、 上記1バイト単位の情報を、上位ビット側と、下位ビッ
ト側を任意のビット位置で分割し、上位ビット側と下位
ビット側で同時に連続する2つのメモリアドレスを付与
できる実メモリ(4)と、前記実メモリ(4)と情報処
理機器(1)との間の受け渡し情報(データ)を、任意
のビット数だけシフト及び回転するシフト処理部(6)
とを設け、 二次元情報の処理を実行しようとする情報処理機器(1
)に対し、処理対象となる空間に割付けられた仮想メモ
リ空間(3)において、直接、上記実メモリ(4)をア
クセスできるようにしたことを特徴とする二次元情報メ
モリのアクセス方式。[Claims] When writing or reading two-dimensional information such as image data into or from the real memory (4) in 1-byte units,
In the two-dimensional information memory access method performed from the information processing device (1) to the real memory (4), the virtual memory address (
an address conversion unit (2) that converts the address (X, Y) into a real address (Z) based on preset parameters, etc.;
A real address generation unit (5) that generates Z+1) divides the above-mentioned 1-byte information into upper bits and lower bits at arbitrary bit positions, and concatenates the upper bits and lower bits at the same time. A real memory (4) to which two memory addresses can be assigned, and a shift processing unit that shifts and rotates information (data) transferred between the real memory (4) and the information processing device (1) by an arbitrary number of bits. (6)
information processing equipment (1) that attempts to process two-dimensional information.
), an access method for a two-dimensional information memory is characterized in that the real memory (4) can be directly accessed in the virtual memory space (3) allocated to the space to be processed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9659889A JPH0315954A (en) | 1989-04-17 | 1989-04-17 | Access system for two-dimensional information memory |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9659889A JPH0315954A (en) | 1989-04-17 | 1989-04-17 | Access system for two-dimensional information memory |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0315954A true JPH0315954A (en) | 1991-01-24 |
Family
ID=14169322
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9659889A Pending JPH0315954A (en) | 1989-04-17 | 1989-04-17 | Access system for two-dimensional information memory |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0315954A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007200163A (en) * | 2006-01-30 | 2007-08-09 | Sony Corp | Image processing apparatus and image processing method |
-
1989
- 1989-04-17 JP JP9659889A patent/JPH0315954A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007200163A (en) * | 2006-01-30 | 2007-08-09 | Sony Corp | Image processing apparatus and image processing method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5828853A (en) | Method and apparatus for interfacing two systems operating in potentially differing Endian modes | |
| US5590301A (en) | Address transformation in a cluster computer system | |
| JPH07191904A (en) | Apparatus and method for conversion of i/o address into memory address | |
| WO1986006523A1 (en) | Image processor | |
| JPS59188764A (en) | memory device | |
| EP0795159A1 (en) | Bus-to-bus bridge | |
| JPS59173828A (en) | Data processing system | |
| JPH01291343A (en) | Memory managing device | |
| JPS6065342A (en) | Microcomputer | |
| JPH0522238B2 (en) | ||
| JPH0553920A (en) | Structured address generator | |
| JPS6019534B2 (en) | Transfer control device | |
| JP2769384B2 (en) | Arithmetic control IC and information processing device | |
| JPH04175947A (en) | Memory management method | |
| JP2510219B2 (en) | Image processing device | |
| JPS5932820B2 (en) | address modification circuit | |
| JPH04111153A (en) | Information processor | |
| JPH04432Y2 (en) | ||
| JPH03276357A (en) | I/O address conversion method | |
| JPS60123946A (en) | address translation device | |
| JPS61165144A (en) | Memory access controlling system | |
| JPS59165175A (en) | Rotation reading circuit for image information | |
| JPS582950A (en) | Prefix converting system | |
| JPS63225846A (en) | Multiport memory with address conversion mechanism | |
| JPS61147352A (en) | Computer device |