JPS58166581A - Addressing system of memory - Google Patents

Addressing system of memory

Info

Publication number
JPS58166581A
JPS58166581A JP5074682A JP5074682A JPS58166581A JP S58166581 A JPS58166581 A JP S58166581A JP 5074682 A JP5074682 A JP 5074682A JP 5074682 A JP5074682 A JP 5074682A JP S58166581 A JPS58166581 A JP S58166581A
Authority
JP
Japan
Prior art keywords
memory
address
register
access
value
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
JP5074682A
Other languages
Japanese (ja)
Inventor
Ryoichi Nakada
亮一 中田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5074682A priority Critical patent/JPS58166581A/en
Publication of JPS58166581A publication Critical patent/JPS58166581A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C8/00Arrangements for selecting an address in a digital store

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To reduce hardware, by using the value of a memory address register as an upper address part and using part of the value of a word counter as a lower address part for generating access address. CONSTITUTION:Under the control of a direct memory access control circuit 5, direct memory access between memories 2 and 3 is performed. The transfer starting address of the memory 2 is generated by all bits (upper address part) of the memory address register MAR4 for access control over the memory 2 and the lower bits (lower digit address part of the number of transfer words) of the word counter register WCR5. By the address, access to the memory 2 is attained and the read data is sent to the memory 3 through a data line 8. Thus, the amount of hardware is reduced and a load on software is reduced.

Description

【発明の詳細な説明】 (1)0発明の技術分野 本発明はメモリ管アクセスするアドレスtメモリアドレ
スレジスタの値とワードカウントレジスタの値とから発
生してメモリのアクセスを生じさせるメモリのアドレッ
シング方式に関スる。
Detailed Description of the Invention (1) 0 Technical Field of the Invention The present invention relates to a memory addressing method in which a memory access is generated from an address to be accessed in a memory tube, a value in a memory address register, and a value in a word count register. related to

(2)0発明の背景 従来、2つのメモ・り間で一方のメモリから他方のメモ
リー\データを転送する方式にダイレクトメモリアクセ
ス方式があるが、その制御に用いられゐメモリアドレス
レジスタ及びワードカウントレジスタが夫々、取り扱わ
ねばならない最大のビット数を収容しうるだけのハード
ウェアを有さなければ、メモリ間のダイレクトメモリア
クセス全部の処、理を賄い切れない。従って、メモリ容
置が大きくなるにつれて、上記レジスタのハードウェア
量も増大するげかシでなく、アドレスのワード長がデー
タのワード長よシも長い揚台には、上記レジスタの設定
等においてソフトウェアの負荷の増大も免れ得ない。
(2)0 Background of the Invention Conventionally, there is a direct memory access method for transferring data from one memory to another between two memory memories, and the memory address register and word count are used to control this method. Unless each register has enough hardware to accommodate the maximum number of bits that must be handled, it will not be possible to handle all of the direct memory accesses between memories. Therefore, as the memory capacity increases, the amount of hardware for the registers described above also increases.In addition, in platforms where the word length of the address is longer than the word length of the data, software is required to set the registers, etc. An increase in the load cannot be avoided.

(3)、従来技術と問題点 従来のダイレクトメモリアクセス方式1111図に示す
ように、先ずメモリアドレスレジスタaに転送開始アド
レスをダイレクトメモリアクセスコントロール回路すか
ら會込み、ワートカラントレジスタCに転送ワード数音
コントロール回路すから書込む。レジスタaのアドレス
が示スメモリdのアドレスのデータを他のメモリへ転送
した後、レジスタaの値t1だけカウントアツプし、レ
ジスタCの値t−1だけカウントダウンする。このよう
な動作をレジスタCの値が零になるまで繰り返す。
(3), Prior art and problems Conventional direct memory access method 1111 As shown in the figure, first the transfer start address is set in the memory address register a by the direct memory access control circuit, and the number of words to be transferred is stored in the word current register C. Write down the sound control circuit. After the data at the address of memory d indicated by the address of register a is transferred to another memory, the value of register a is counted up by the value t1, and the value of register C is counted down by the value t-1. This operation is repeated until the value of register C becomes zero.

この方式によるデータ転送で屯、その転送に係る最大の
アドレス及びワード数を夫々のレジスタが持ち得なけれ
ばならない一方、そのデータ転送量は多くなると#′i
言っても、各レジスタはいづれもその取シ扱う各ワード
長のすべてを使用することは少くない。それにも拘らず
、そのハードウェアはその処理しなければならない最大
限までのハードウェアを有していなければなら々い。又
、そのような処理を可能にするノ・−ドウエアを設けて
いる場合においてアドレスのワード長がデータのワード
長よシも長いときには上記レジスタの設定等においてソ
フトウェアの負荷が増大するという欠点を有する。
In data transfer using this method, each register must be able to hold the maximum address and number of words related to the transfer, but as the amount of data transferred increases, #'i
However, it is not uncommon for each register to use all of the word lengths it handles. Nevertheless, the hardware must have the maximum capacity to handle what it has to do. Furthermore, when hardware is provided to enable such processing, if the word length of the address is longer than the word length of the data, there is a drawback that the software load increases when setting the registers, etc. .

本発明は上述の如き従来方式の有する欠点に鑑みて創案
されたもので、その目的はハードウェア量の減少を促し
つ\ソフトウェアにか−る負荷の軽減も図れるメモリC
Jアドレッシング方式を提供することにある。
The present invention was devised in view of the drawbacks of the conventional methods as described above, and its purpose is to reduce the amount of hardware and reduce the load on software.
The purpose of this invention is to provide a J addressing scheme.

(5)1発明の構成 そして、この目的はメモリアドレスレジスタとワードカ
ウントレジスタと管用いてメモリへのアクセスを行うメ
モリのアドレッシング方式において、上、記メモリアド
レスレジスタの値を上記メモリへのアクセスアドレスの
上位アドレス部分とし、上記ワードカウントレジスタの
値のうちの少なくとも一部を上記アクセスアドレスの下
位アドレス部分として上記アクセスアドレスを生成しな
がら上記メモリのアクセスを遂行することによって達成
される。
(5) 1 Structure of the Invention The object of the present invention is to provide a memory addressing method in which memory is accessed using a memory address register and a word count register. This is achieved by performing the access to the memory while generating the access address by using at least a part of the value of the word count register as the upper address part and the lower address part of the access address.

(6)1発明の実施例 以下、添付図面を参照して本発明の詳細な説明する。(6) Example of 1 invention Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

m2図は本発明の実施例を示す。図において、1はダイ
レクトメモリアクセスコントロール回路で、この回路の
制御の下にメモリ2とメモリ3との間でダイレクトメモ
リアクセス方式によルアク”セスが行われる。4はコン
トロールllaM1によってメモリ2をアクセスするた
めに用いられるアクセスアドレスの上位アドレス部分が
セットされるメモリアドレスレジスタである。
The m2 diagram shows an embodiment of the invention. In the figure, 1 is a direct memory access control circuit, and under the control of this circuit, access is performed between memory 2 and memory 3 using the direct memory access method. This is a memory address register in which the upper address part of the access address used for

又、5はコントロール回路1によってメモリ2がアクセ
スされるワード数のセットが行われ、その少なくとも一
部を上記アクセスアドレスの下位゛アドレス部分として
出力するワードカウントレジスタである。
Reference numeral 5 denotes a word count register in which the control circuit 1 sets the number of words to be accessed in the memory 2, and outputs at least a part of the number as the lower address part of the access address.

又、6及び7は夫々、レジスタ4及び5に対応するメモ
リアドレスレジスタ及びワードカウントレジスタであシ
、メモリ3のアクセスに供されるレジスタである。
Further, 6 and 7 are a memory address register and a word count register corresponding to registers 4 and 5, respectively, and are registers used for accessing the memory 3.

8はメモリ2とメモリ3との間を接続するデータ線であ
る。
A data line 8 connects the memory 2 and the memory 3.

上記構成をそC7敦部に有するメモリシステムのアドレ
ッシングを以下に欽明する。
The addressing of the memory system having the above configuration in the C7 section will be explained below.

ダイレクトメモリアクセス方式にょ°夛、先ス、そのダ
イレクトメモリアクセスコントロール回路1によシ、メ
モリ2のアクセス制御KIlれるメモリアドレスレジス
タ(以下、MARと略称する。)4に第3図に示す如き
例示の上位アドレス配分がセラ本されると共に、ワード
カウントレジスタ(以下、WCRと略称する。)Sに第
3図に示す如き例示の、メモリ2t−アクセスする”ワ
ード数tセットする。
In the direct memory access method, first, the direct memory access control circuit 1 sets a memory address register (hereinafter abbreviated as MAR) 4, which controls access to the memory 2, as shown in FIG. At the same time, the number of words t to be accessed in the memory 2t is set in the word count register (hereinafter abbreviated as WCR) S, as shown in FIG.

これと同様に、ダイレクトメモリアクセスコントロール
回路IKよって、MA]1g及びWCR7に夫々、所畳
の籠【セットする。
Similarly, the direct memory access control circuit IK sets the specified number of baskets in MA]1g and WCR7, respectively.

そして、第3図にMムと配されているメモリ2の転送開
始アドレスf、MAR4のす、べてのビット(そのアド
レスの上位アドレス部分)とWCR5の下位6ビツト(
転送ワード数の下位アドレス部分)とから生成し、その
アドレスで指定されるメモリ2のアドレスをアクセスし
てそこからデータ會読出しエデータ@8¥を経てメモリ
3へ送シ、上記と同様にしてMAR6及びWCH7の値
を用いて生成される書込みアドレスに上記データを書込
む。
Then, the transfer start address f of the memory 2, which is located as M in FIG.
MAR6 is generated from the lower address part of the number of transfer words), accesses the address in memory 2 specified by that address, reads data from there, and sends it to memory 3 via data @8\. The above data is written to the write address generated using the values of WCH7 and WCH7.

この転送動作をデータの転送の度毎にWCRから1會減
じつ\行う。そのとき、上記例示においてWCRの7ビ
ツト目からの桁下シが生ずる場合には、それに応答して
MARからも1を植じる。
This transfer operation is performed by subtracting 1 from WCR each time data is transferred. At that time, in the above example, if a digit error occurs from the 7th bit of WCR, 1 is also added from MAR in response.

そして、WCRが零になったとき、上記転送動作を終了
させる。
Then, when the WCR becomes zero, the above transfer operation is ended.

上記例示では、転送ワード数はWCHのlOビットのワ
ード長が示しうるワード数(1024)までソあシ、転
送開始アドレスはMAの下位6ビツトを示し得ないMA
Rの値によって指定されるから、そのアドレス#i6ピ
ツトが指定しうる最大ワード数(64)tきにのみ設定
されることになる、 このことから判るように、本発明によれば、上記例示で
は、MAR16ビツト、WCRを6ビツト、合計12ビ
ツトのハードウェアを減することか出来る。これにより
、アドレスのワード長がデータのワード長よシ長い場合
には、MARlWCRの設定におけるソフトフェアにか
\る負1fIを軽減することが出来る。
In the above example, the number of transfer words is limited to the number of words (1024) that can be indicated by the word length of 10 bits of WCH, and the transfer start address is an MA that cannot indicate the lower 6 bits of MA.
Since it is specified by the value of R, the address #i6 pit is set only when the maximum number of words that can be specified (64) t.As can be seen from this, according to the present invention, the above example Now, the hardware can be reduced by 16 bits for MAR and 6 bits for WCR, totaling 12 bits. As a result, if the word length of the address is longer than the word length of the data, the negative 1fI due to software in setting MARlWCR can be reduced.

上記実施例においては、アクセスアドレスの生成tMA
IL及びwciioiit固定とする場合について説明
し九が、これらを可変にしてもよい。又、ハードウェア
の追加、変更Yなして転送順序をアドレスの小さい方か
ら大きい方へ変更することも可能である。更には、ダづ
レフトメモリアクセス方式以外のアドレッンンダ方式に
も本発明を適用しうる。
In the above embodiment, access address generation tMA
A case will be described in which IL and wciioiit are fixed, but they may be made variable. It is also possible to change the transfer order from the smaller address to the larger address without adding or changing hardware. Furthermore, the present invention can be applied to address-rendering methods other than the left-left memory access method.

(7)1発明の効果 以上費するに、本発明によれば +11  メモリアクセスに畳するハードウェアを削減
しうる (21/%リアク竜スでのソフトウエアニカ\る負荷會
軽減しうる 勢である、
(7) If the cost is more than the effect of one invention, the present invention can reduce the hardware required for memory access by +11% (21%, it is possible to reduce the software load in the reactive system). be,

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

館1図は従来方式で必要な要部構成を示す図、第2図は
本発明実施例の要部構成を示す卸、第3図は本発明で生
成されるアクセスアドレス及びその各アドレス部分會示
す図である。 図において、1はダイレクトメモリアクセスコントロー
ル回路、2.3はメモリ、4.6はメモリアドレスレジ
スタ、5.7はワードカウントレジスタ、8はデータ線
である。 特許出1人 富士通株式会社 第111 第311
Figure 1 shows the configuration of the main parts necessary for the conventional method, Figure 2 shows the configuration of the main parts of the embodiment of the present invention, and Figure 3 shows the access address generated by the invention and its respective address parts. FIG. In the figure, 1 is a direct memory access control circuit, 2.3 is a memory, 4.6 is a memory address register, 5.7 is a word count register, and 8 is a data line. 1 patentee: Fujitsu Limited No. 111 No. 311

Claims (1)

【特許請求の範囲】[Claims] メモリアドレスレジスタとワードカウントレジスタとを
用いてメモリへのアクセスを行うメモリのアドレッシン
グ方式において、上記メモリアドレスレジスタの値を上
記メモリのアクセスアドレスの上位アドレス部分とし、
上記ワードカウントレジスタの値のうちの少なくとも一
部を上記アクセスアドレスの下位アドレス部分として上
記アクセスアドレスを生成しながら上記メモリのアクセ
スを遂行することを特徴とするメモリのアドレッシング
方式。
In a memory addressing method in which memory is accessed using a memory address register and a word count register, the value of the memory address register is used as an upper address part of the memory access address,
A memory addressing method characterized in that the memory is accessed while generating the access address using at least a part of the value of the word count register as a lower address part of the access address.
JP5074682A 1982-03-29 1982-03-29 Addressing system of memory Pending JPS58166581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5074682A JPS58166581A (en) 1982-03-29 1982-03-29 Addressing system of memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5074682A JPS58166581A (en) 1982-03-29 1982-03-29 Addressing system of memory

Publications (1)

Publication Number Publication Date
JPS58166581A true JPS58166581A (en) 1983-10-01

Family

ID=12867398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5074682A Pending JPS58166581A (en) 1982-03-29 1982-03-29 Addressing system of memory

Country Status (1)

Country Link
JP (1) JPS58166581A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6646947B2 (en) 2001-06-28 2003-11-11 Sharp Kabushiki Kaisha Data transfer control device, semiconductor memory device and electronic information apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6646947B2 (en) 2001-06-28 2003-11-11 Sharp Kabushiki Kaisha Data transfer control device, semiconductor memory device and electronic information apparatus

Similar Documents

Publication Publication Date Title
JPS58166581A (en) Addressing system of memory
JP2531822B2 (en) Instruction read-ahead device
JP2606824Y2 (en) Multiport memory device
JP2687679B2 (en) Program development equipment
JPS59146344A (en) Advance control system of virtual stack
JPH01226056A (en) Address converter
JPS63129438A (en) Memory controller
JPH0754544B2 (en) Image memory access circuit
JPH01181137A (en) Storage unit
JPS5856129A (en) Data transfer system
JPS584464A (en) Memory addressing system
JPS60142450A (en) Storage system
JPH02244350A (en) Main storage device access system
JPS59132481A (en) Control system for conversion index buffer
JPS63142446A (en) Address generating system
JPS59165176A (en) Image processor
JPS60253083A (en) Storage device controlling system
JPH03189755A (en) Inter-memory transfer device
JPS6243737A (en) Interruption control system
JPH04256056A (en) Computer system
JPS6113267B2 (en)
JPS62145346A (en) Data transfer method
JPS626349A (en) Address converting system
JPH01108652A (en) Address conversion system
JPS61260344A (en) Input and output processor