JPH05289931A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH05289931A JPH05289931A JP11521292A JP11521292A JPH05289931A JP H05289931 A JPH05289931 A JP H05289931A JP 11521292 A JP11521292 A JP 11521292A JP 11521292 A JP11521292 A JP 11521292A JP H05289931 A JPH05289931 A JP H05289931A
- Authority
- JP
- Japan
- Prior art keywords
- address
- processor
- conversion
- buffer
- memory
- 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
- 238000006243 chemical reaction Methods 0.000 claims abstract description 38
- 230000010365 information processing Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 3
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、プロセッサとメモリを
有する情報処理装置に関し、特にメモリ内の任意のエリ
アから任意のエリアへのデータ転送が頻発する、また
は、データの転送量が多い情報処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus having a processor and a memory, and in particular, information processing in which data is frequently transferred from an arbitrary area in the memory to a large area or a large amount of data is transferred. Regarding the device.
【0002】[0002]
【従来の技術】従来の情報処理装置は、メモリ内の任意
のエリアから任意のエリアへデータを移す場合、単純に
プロセッサが個々に転送元のエリアからデータを読みだ
し、転送先のエリアへ書き込んでいた。2. Description of the Related Art In a conventional information processing apparatus, when moving data from an arbitrary area in a memory to an arbitrary area, a processor simply reads data from a transfer source area and writes the data in a transfer destination area. I was out.
【0003】[0003]
【発明が解決しようとする課題】従来の情報処理装置で
は、前述の従来の技術で述べたようにメモリ内の任意の
エリアから任意のエリアへデータを移す場合、プロセッ
サが個々に転送元のエリアからデータを読みだし、転送
先のエリアへ書き込んでいたため、データの転送量が多
い、または、データ転送が頻発する場合、著しくプロセ
ッサの負荷が増大していた。In the conventional information processing apparatus, when data is transferred from any area in the memory to any area as described in the above-mentioned prior art, the processor individually transfers the transfer source area. Since the data was read from and written in the transfer destination area, the load on the processor was significantly increased when the data transfer amount was large or when data transfer frequently occurred.
【0004】本発明の目的は、プロセッサとメモリを有
する情報処理装置においてデータ転送が頻発する場合又
はデータ転送量が多い場合、プロセッサの負荷を軽減す
ることにある。An object of the present invention is to reduce the load on the processor when the data transfer frequently occurs in the information processing apparatus having the processor and the memory or when the data transfer amount is large.
【0005】[0005]
【課題を解決するための手段】本発明の情報処理装置
は、メモリ内の任意のエリアから任意のエリアへデータ
を移す場合、プロセッサよりの指示により、プロセッサ
が出力するアドレスを変換する際の変換前のアドレスを
記憶する手段と、プロセッサよりの指示により、プロセ
ッサが出力するアドレスを変換する際の変換後のアドレ
スを記憶する手段と、記憶した変換前のアドレスとプロ
セッサが出力したアドレスとを比較する手段と、アドレ
ス比較結果により、記憶した変換後のアドレスとプロセ
ッサが出力したアドレスとを切り替える手段とを具備し
ている。According to the information processing apparatus of the present invention, when transferring data from an arbitrary area in a memory to an arbitrary area, conversion is performed when converting an address output by the processor according to an instruction from the processor. A means for storing the previous address, a means for storing the converted address when converting the address output by the processor according to an instruction from the processor, and a comparison between the stored address before conversion and the address output by the processor And a means for switching the stored converted address and the address output by the processor according to the address comparison result.
【0006】[0006]
【実施例】次に本発明の一実施例について、図面を参照
して説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will now be described with reference to the drawings.
【0007】図2は本発明のアドレス変換手段を備え
た、プロセッサとメモリを有するシステムの全体ブロッ
ク図である。FIG. 2 is an overall block diagram of a system having a processor and a memory, which is provided with the address converting means of the present invention.
【0008】アドレスバス(2)に5本のアドレスを備
えるシステムであり、このシステムのメモリマップを図
3に示す。This is a system having five addresses on the address bus (2), and the memory map of this system is shown in FIG.
【0009】図2のメモリ(13)は、図3に示す通り
容量16バイトであり、下位4本のアドレス(A3,A
2,A1,A0)で番地を指示される。このメモリが4
バイトの独立したバッファを有していると仮定し、バッ
ファA、バッファB、バッファC、バッファDと定義す
る。ここで、バッファBからバッファCへデータを転送
する作業を、本発明を利用して疑似的に行う場合につい
て説明する。The memory (13) of FIG. 2 has a capacity of 16 bytes as shown in FIG. 3, and the lower four addresses (A3, A).
2, A1, A0) indicates the address. This memory is 4
Assume that we have an independent buffer of bytes and we define buffer A, buffer B, buffer C and buffer D. Here, a case where the work of transferring the data from the buffer B to the buffer C is simulated using the present invention will be described.
【0010】図2において、プロセッサ(12)が図3
に示すアドレス’10000’の変換前レジスタへ転送
先であるバッファCのアドレスを書き込み、図3に示す
アドレス’10001’の変換後レジスタへ転送元であ
るバッファBのアドレスを書き込む事によって、以降図
2に示すプロセッサ(12)より出力されるアドレス
(2a)は、アドレス変換部(11)を通ると、変換さ
れたアドレス(2b)となり、このアドレス変換により
疑似的にデータを転送した如く見せかける。In FIG. 2, the processor (12) is shown in FIG.
By writing the address of the transfer destination buffer C in the pre-conversion register of the address '10000' shown in FIG. 3 and writing the address of the transfer source buffer B in the post-conversion register of the address '10001' shown in FIG. The address (2a) output from the processor (12) shown in 2 becomes a converted address (2b) when passing through the address conversion unit (11), and it is made to appear as if data was pseudo transferred by this address conversion.
【0011】このアドレス変換部(11)の詳細を図1
に示す。The details of the address conversion unit (11) are shown in FIG.
Shown in.
【0012】図3に示すバッファBのデータをバッファ
Cに疑似的に転送するために、アドレス’10000’
の変換前レジスタに図2に示すプロセッサ(12)が図
3に示すバッファCのアドレスを書き込む。図1におい
て、アドレスデコード部(11a)がアクセスされたア
ドレスを判定し、アドレス’10000’の変換前レジ
スタへのアクセスの場合で、なおかつコントロールバス
(3)よりのライト信号(3a)を判定し、ライト動作
の場合、変換前レジスタ(11b)へのライト信号(1
1c)を発生し、データバス(1)よりのデータ(1
a,1b)が書き込まれる。同様に、図3に示すアドレ
ス’10001’の変換後レジスタへのライトアクセス
の場合、図1に示す変換後レジスタ(11d)へのライ
ト信号(11e)を発生し、バッファBのアドレスが書
き込まれる。ここで、図3に示す最上位アドレス(A
4)はメモリか否かのデコードに使われ、最下位2ビッ
ト(A1,A0)はバッファA,バッファB,バッファ
C,バッファDそれぞれの相対アドレスを示すものであ
るため、バッファA,バッファB,バッファC,バッフ
ァDのアドレスを示すA3,A2が変換の対象となる。In order to transfer the data in the buffer B shown in FIG. 3 to the buffer C in a pseudo manner, the address '10000' is used.
The processor (12) shown in FIG. 2 writes the address of the buffer C shown in FIG. In FIG. 1, the address decoding unit (11a) determines the accessed address, determines the write signal (3a) from the control bus (3) when the pre-conversion register at the address '10000' is accessed. , In the case of a write operation, the write signal (1
1c) and data (1) from the data bus (1)
a, 1b) is written. Similarly, in the case of write access to the post-conversion register of address '10001' shown in FIG. 3, a write signal (11e) to the post-conversion register (11d) shown in FIG. 1 is generated, and the address of buffer B is written. . Here, the highest address (A
4) is used for decoding whether or not it is a memory, and the least significant 2 bits (A1, A0) indicate the relative address of each of buffer A, buffer B, buffer C, and buffer D, so buffer A, buffer B , A3 and A2 indicating the addresses of the buffer C and the buffer D are to be converted.
【0013】こうする事により、以降図2に示すプロセ
ッサ(12)よりメモリ(13)へのアクセスのための
アドレスバス(2)は、図1の変換部(11f)内にて
変換される。具体的には、図2に示すプロセッサ(1
2)が図3に示すバッファCをアクセスする場合、図1
において、入力されるアドレス線の(2a3)は’
1’,(2a2)は’0’となり、バッファCのアドレ
スを記憶した変換前レジスタ(11b)と一致するた
め、比較部(11g)が一致信号(11h)を発生す
る。よって、3ビット目の入力アドレス線(2a3)は
変換部(11f)内の(11f3b)が動作し、(11
f3a)が禁止となるため、バッファBのアドレスを記
憶した変換後レジスタ(11d)の内容で出力(2b
3)され、2ビット目の入力アドレス線(2a2)は変
換部(11f)内の(11f2b)が動作し、(11f
2a)が禁止となるため、バッファBのアドレスを記憶
した変換後レジスタ(11d)の内容で出力(2b2)
される。By doing so, the address bus (2) for accessing the memory (13) from the processor (12) shown in FIG. 2 thereafter is converted in the conversion unit (11f) of FIG. Specifically, the processor (1
2) accesses the buffer C shown in FIG.
, The input address line (2a3) is'
1 ', (2a2) becomes'0', which coincides with the pre-conversion register (11b) storing the address of the buffer C, so that the comparison unit (11g) generates a coincidence signal (11h). Therefore, (11f3b) in the conversion unit (11f) operates on the input address line (2a3) of the third bit, and (11f3b)
Since f3a) is prohibited, the contents of the post-conversion register (11d) storing the address of the buffer B are output (2b).
3) is performed, the second bit input address line (2a2) is operated by (11f2b) in the conversion unit (11f),
2a) is prohibited, so the contents of the converted register (11d) storing the address of buffer B are output (2b2).
To be done.
【0014】こうする事で、図4のアドレス変換例に示
す通り、入力されたアドレスバス’010XX’は’0
01XX’となり、図2に示すプロセッサ(12)の出
力したアドレス(2a)は図3に示すバッファCを指し
ているが、図2に示す変換されたアドレス(2b)は、
図3に示すバッファBを指すため、疑似的にバッファB
からバッファCへ転送された形となり、図2に示すプロ
セッサ(12)が個々に図3に示すバッファBのデータ
をバッファCへ転送する必要がなく、プロセッサ(1
2)の大幅な負荷軽減となる。By doing so, as shown in the address conversion example of FIG. 4, the input address bus "010XX" is "0".
01XX ', and the address (2a) output from the processor (12) shown in FIG. 2 points to the buffer C shown in FIG. 3, but the converted address (2b) shown in FIG.
Buffer B shown in FIG.
2 to the buffer C, the processor (12) shown in FIG. 2 does not need to individually transfer the data in the buffer B shown in FIG. 3 to the buffer C, and the processor (1
The load of 2) will be greatly reduced.
【0015】[0015]
【発明の効果】以上説明したように、本発明はメモリ内
の任意のエリアから任意のエリアへデータを移す場合、
転送元のアドレスと転送先のアドレスをプロセッサが設
定するのみで疑似的にデータ転送を完了するので、プロ
セッサの大幅な負荷軽減につながる。As described above, according to the present invention, when data is transferred from any area in the memory to any area,
Since the data transfer is completed in a pseudo manner only by the processor setting the transfer source address and the transfer destination address, the load on the processor is greatly reduced.
【図1】本発明のアドレス変換部のブロック図である。FIG. 1 is a block diagram of an address conversion unit of the present invention.
【図2】本発明のシステムの全体ブロック図である。FIG. 2 is an overall block diagram of the system of the present invention.
【図3】図2のシステムのメモリマップである。FIG. 3 is a memory map of the system of FIG.
【図4】図2のアドレス変換例である。FIG. 4 is an example of address conversion in FIG.
(1) データバス (1a,1b) データ線 (2) アドレスバス (2a) 変換前のアドレスバス (2a4) 4ビット目の変換前アドレス線 (2a3) 3ビット目の変換前アドレス線 (2a2) 2ビット目の変換前アドレス線 (2a1) 1ビット目の変換前アドレス線 (2a0) 0ビット目の変換前アドレス線 (2b) 変換後のアドレスバス (2b4) 4ビット目の変換後アドレス線 (2b3) 3ビット目の変換後アドレス線 (2b2) 2ビット目の変換後アドレス線 (2b1) 1ビット目の変換後アドレス線 (2a0) 0ビット目の変換後アドレス線 (3) コントロールバス (3a) ライト信号線 (11) アドレス変換部 (11a) アドレスデコード部 (11b) 変換前レジスタ (11c) 変換前レジスタライト信号 (11d) 変換後レジスタ (11e) 変換後レジスタライト信号 (11f) アドレス変換部 (11f3a,11f3b) 3ビット目のアドレス変
換部 (11f2a,11f2b) 2ビット目のアドレス変
換部 (11g) アドレス比較部 (11h) アドレス一致信号線 (12) プロセッサ (13) メモリ(1) Data bus (1a, 1b) Data line (2) Address bus (2a) Address bus before conversion (2a4) Address line before conversion of 4th bit (2a3) Address line before conversion of 3rd bit (2a2) 2nd bit pre-conversion address line (2a1) 1st bit pre-conversion address line (2a0) 0th bit pre-conversion address line (2b) Post-conversion address bus (2b4) 4th bit post-conversion address line ( 2b3) Address line after conversion of 3rd bit (2b2) Address line after conversion of 2nd bit (2b1) Address line after conversion of 1st bit (2a0) Address line after conversion of 3rd bit (3) Control bus (3a ) Write signal line (11) Address conversion unit (11a) Address decoding unit (11b) Pre-conversion register (11c) Pre-conversion register write (11d) Register after conversion (11e) Register write signal after conversion (11f) Address converter (11f3a, 11f3b) Address converter for the third bit (11f2a, 11f2b) Address converter for the second bit (11g) Address comparison Part (11h) Address match signal line (12) Processor (13) Memory
Claims (1)
置において、前述のプロセッサよりの指示により、前述
のプロセッサが出力するアドレスを変換する際の変換前
のアドレスを記憶する手段と、前述のプロセッサよりの
指示により、前述のプロセッサが出力するアドレスを変
換する際の変換後のアドレスを記憶する手段と、前述の
記憶した変換前のアドレスと前述のプロセッサが出力し
たアドレスとを比較する手段と、前述のアドレス比較結
果により、前述の記憶した変換後のアドレスと前述のプ
ロセッサが出力したアドレスとを切り替える手段とを具
備した情報処理装置。1. An information processing apparatus having a processor and a memory, which stores an address before conversion when converting an address output by the processor according to an instruction from the processor, In response to the instruction, means for storing the converted address when converting the address output by the processor, means for comparing the stored address before conversion with the address output by the processor, and An information processing apparatus comprising: means for switching between the stored converted address and the address output by the processor, depending on the result of the address comparison.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11521292A JPH05289931A (en) | 1992-04-09 | 1992-04-09 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11521292A JPH05289931A (en) | 1992-04-09 | 1992-04-09 | Information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05289931A true JPH05289931A (en) | 1993-11-05 |
Family
ID=14657145
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11521292A Pending JPH05289931A (en) | 1992-04-09 | 1992-04-09 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05289931A (en) |
-
1992
- 1992-04-09 JP JP11521292A patent/JPH05289931A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20040107265A1 (en) | Shared memory data transfer apparatus | |
| EP0212152A2 (en) | Microprocessor assisted memory to memory move apparatus | |
| US6795874B2 (en) | Direct memory accessing | |
| JPH05289931A (en) | Information processor | |
| US5566350A (en) | Information device for providing fast data transfer with minimum overhead | |
| JP2699482B2 (en) | Data transfer control device | |
| JPH08328995A (en) | System and method for dma transfer | |
| JPH0431939A (en) | external storage device | |
| JP3057754B2 (en) | Memory circuit and distributed processing system | |
| JP2594611B2 (en) | DMA transfer control device | |
| JPH04337851A (en) | Memory access system | |
| JPH01219930A (en) | Indirect addressing interrupt control circuit device | |
| JPS63144496A (en) | Write control system for storage device | |
| JPS59136830A (en) | Direct memory access controller | |
| JPH0236443A (en) | System for controlling expansion storage | |
| JPH039453A (en) | Data transfer controller | |
| JPS6029785A (en) | Memory | |
| JPS58213371A (en) | Data processing system | |
| JPH07262125A (en) | Information processor | |
| JPS62273692A (en) | Memory access system | |
| JPH05298179A (en) | Memory control system | |
| JPH05134970A (en) | Data transfer controller | |
| JPS62229457A (en) | Data transfer controller | |
| JPH04192058A (en) | Data transfer storage device | |
| JPH02133854A (en) | Dma controller capable of access to transfer enable/ unable memory |