JPS58220287A - Memory access controller - Google Patents

Memory access controller

Info

Publication number
JPS58220287A
JPS58220287A JP57103175A JP10317582A JPS58220287A JP S58220287 A JPS58220287 A JP S58220287A JP 57103175 A JP57103175 A JP 57103175A JP 10317582 A JP10317582 A JP 10317582A JP S58220287 A JPS58220287 A JP S58220287A
Authority
JP
Japan
Prior art keywords
address
memory
bits
bank
memory access
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
JP57103175A
Other languages
Japanese (ja)
Inventor
Toru Akai
徹 赤井
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57103175A priority Critical patent/JPS58220287A/en
Publication of JPS58220287A publication Critical patent/JPS58220287A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To improve the memory access performance, by providing a hash circuit which supplies prescribed plural bits of a request address and deciding a bank address through the hash circuit to give a request to a memory having divided banks. CONSTITUTION:The 10th, 11th, 17th-20th bits are referred to as A, B, C, D, E and F respectively among 24 bits of an address of a memory access request given from a central processor 1. Then an exclusive OR circuit 41 produces bank address 2 bits 19 and 20 of a memory device 3 in the form of AVCVE and BVDVF. These bits are defined as an address 40 within a bank and sent to the memory 3 containing independent banks B0-B3 which are connected to the contents of bits 0-18 of the address 40. As a result, the concentration of memory addresses to a specific bank is avoided. This decreases the waiting time for an idle bank.

Description

【発明の詳細な説明】 (1)発明の属する技術分野の説明 本発明は、情報処理装置におけるメモリアクセス制御に
関するものであり、特に、主メモリのアドレス操作に関
す今。
DETAILED DESCRIPTION OF THE INVENTION (1) Description of the technical field to which the invention pertains The present invention relates to memory access control in an information processing device, and particularly relates to address manipulation of main memory.

(2)4従来技術の説明 最近の本型中央処理装置には、メモリアクセスタイムや
高速化の丸めに51.主メiりのデータを部分的に格納
保持する高速キャッシュメモリが備えられ、主メモリと
前記キャシュメモリ間のデータ転送は目的とするデータ
がキャシュ上に存在しない場合に核データを含むブロッ
クを単位として行なわれる。
(2) 4 Description of Prior Art Recent central processing units of this type have 51. A high-speed cache memory is provided that partially stores and retains data in the main memory, and data transfer between the main memory and the cache memory is performed in units of blocks containing core data when the target data does not exist in the cache. It is carried out as

ブロックは一般に32バイト、64バイト又はそれ以上
が選ばれるが、一度に転送することは物理的に困難であ
るため、8バイト程度に分割して目的とするデータを先
頭に順次必要回数転送を行う。
Blocks are generally selected to be 32 bytes, 64 bytes, or more, but since it is physically difficult to transfer them all at once, they are divided into approximately 8 bytes and transferred sequentially the necessary number of times, starting with the desired data. .

第3図に従来一般に行なわれているブロックのデータと
メモリバンクの関係なプルツク票32バイト、メモリバ
ンク数=4、パンク尚)読出バイト数÷8バイトについ
て示す。図において100はブロック、200は主メモ
リをそれぞれ示す。
FIG. 3 shows a pull slip of 32 bytes, the number of memory banks=4, and the number of read bytes divided by 8 bytes, which is the relationship between block data and memory banks, which has been generally performed in the past. In the figure, 100 represents a block and 200 represents a main memory.

プログラムの性質上、目的とするデータ(=キャッシュ
メモリに存在しなかったデータ)のアドレスはブロック
の最初のアドレスであることが多く、すなわち、メモリ
のバンク0よシ読出す場合が多い。中央処理装置の多重
化と高速化に伴ない、最初のデータ読出しがバンク0に
集中する結果、競合による待ち時間の増大となp1性能
低下の欠点があった。
Due to the nature of the program, the address of the target data (=data that does not exist in the cache memory) is often the first address of the block, that is, the address of the target data (data that does not exist in the cache memory) is often the first address of the block, that is, the address of the target data is often read from bank 0 of the memory. As central processing units become more multiplexed and faster, the first data read is concentrated in bank 0, resulting in an increase in waiting time due to contention and a decrease in p1 performance.

(3)発明の詳細な説明 本発明は従来の上記欠点を解消する為になされたもので
あシ、従って本発明の目的は、プログラムの性質上ブロ
ックの先頭アドレスデータに対するアクセスが集中して
も、バッジ−回路によシメモリアドレスがバンク0に集
中することなく他のバンクに均一化させ、競合によるバ
ンク9待ち時間を短縮し、最初の要求データを早く要求
元に返す仁とを可能とした新規な装置を提供することに
ある。
(3) Detailed Description of the Invention The present invention has been made in order to eliminate the above-mentioned drawbacks of the conventional technology.Therefore, an object of the present invention is to solve the problem of the above-mentioned disadvantages of the conventional technology. , the badge circuit allows the memory addresses to be distributed uniformly across other banks without being concentrated in bank 0, reducing the waiting time for bank 9 due to contention, and making it possible to quickly return the first requested data to the request source. The purpose of the present invention is to provide a new device with improved performance.

(4)  発明の詳細な説明 上記目的を達成する為に、本発明は、バンクに分割され
バンク間では独立にアクセス可能なメ肴りを持つ情報処
理装置において、ハツシュ回路を設け、要求アドレスの
あらかじめ決められ九複数ビットを前記ハツシュ回路に
入力して前記バンクアドレスを決定することによシ、一
時的に、同時に特定のバンクへのアクセスが集中するの
を避は均一化することによシ、バンクの空待ち時間の短
縮を計っている。
(4) Detailed Description of the Invention In order to achieve the above object, the present invention provides an information processing device that is divided into banks and has a menu that can be accessed independently between the banks. By inputting a predetermined nine or more bits into the hash circuit to determine the bank address, it is possible to temporarily avoid concentration of accesses to a specific bank at the same time and even out the accesses. , which aims to shorten waiting times at banks.

(5)  この発明の詳細な説明 次に本発明をその好ましい一実施例について図面をt照
して詳細に説明する。
(5) Detailed Description of the Invention Next, a preferred embodiment of the present invention will be described in detail with reference to the drawings.

第1図はシステム内での本発明の位置関係を示す一実施
例を示す概略図である。図において、本発明の一実施例
は、中央処理装置1、メモリアクセス制御装置2、本発
明の要部であるハツシュ回路5、メモリ装置3、及びメ
モリ装置内は独立にアクセス可能な4つのバンク4 (
BOlBl、B2、B3)によp構成されている。
FIG. 1 is a schematic diagram showing one embodiment showing the positional relationship of the present invention within a system. In the figure, one embodiment of the present invention includes a central processing unit 1, a memory access control device 2, a hash circuit 5 which is a main part of the present invention, a memory device 3, and four banks that can be accessed independently in the memory device. 4 (
BOlBl, B2, B3).

第2図は、メモリ最大容量16’パイ) (−224バ
イト)、中央処理装置1からのブロック転送要求に対し
8バイトづつ4回(32バイト/ブロツク)に分割して
転送する場合を例として、第1図のハツシュ回路5をよ
り詳細に示したものである。
Figure 2 shows an example in which the maximum memory capacity is 16'pi) (-224 bytes) and the block transfer request from the central processing unit 1 is divided into 4 times of 8 bytes each (32 bytes/block) and transferred. , which shows the hash circuit 5 of FIG. 1 in more detail.

中央処理装置1からのメモリアクセス要求のアドレス2
4ビットi第2図40に示される。アドレスの10.1
1.17.18.19及び加ビット目を各々A1B、C
,D1B及びFとした場合に、E、Fはブー3− ロック内の8バイト境界アドレスを示す。
Address 2 of memory access request from central processing unit 1
The 4 bits i are shown in FIG. 2 40. Address 10.1
1.17.18.19 and additional bits A1B and C respectively
, D1B and F, E and F indicate 8-byte boundary addresses within the Boo3-lock.

メモリ装置3のバンクアドレス2ビツトは排他論理和回
路41によJ)AVC’lE及びB’SD’%Fとして
作られ、バンク内のアドレスとしてアドレス40のビッ
トθ〜18の内容と結合され、42で示される形式でメ
モリ共電3へ要求が出される。
The two bits of the bank address of the memory device 3 are created as J) AVC'lE and B'SD'%F by the exclusive OR circuit 41, and are combined with the contents of bits θ to 18 of the address 40 as an address in the bank. A request is issued to the memory power supply 3 in the format shown by 42.

従来の装置ではアドレス20Ωピツ)E、Fがそotま
バンクアドレスとなっていたために、各中央処理装置か
らのデータ要求アドレスがバンクBOのメモリに集中し
、競合による性能低下があった。
In the conventional device, addresses 20Ω (20Ω) E and F were often bank addresses, so data request addresses from each central processing unit were concentrated in the memory of bank BO, resulting in performance degradation due to contention.

第1表に本発明におけるアクセス要求アドレスとバンク
アドレスの関係(本発明の効果を示す一例)を示す。こ
こでA−=Fは第2図のアドレス40のA−Fに対応す
る。これによれば、E、Fの値とバンクアドレスの値が
ランダムになっていることが明確である。
Table 1 shows the relationship between the access request address and the bank address in the present invention (an example showing the effects of the present invention). Here, A-=F corresponds to A-F at address 40 in FIG. According to this, it is clear that the values of E and F and the value of the bank address are random.

4− 第2図の+1回路43は、プルツク転送の丸めに先晶ア
ドレスよ9次の8バイトケータを順次読出来でアドレス
40のピッ□ト19、加が置き替えられる。又アドレス
40のf111部分(ビット21〜23)= 6一 は8バイト内のデータ位置を示すアドレスであ)、主メ
モリアクセスには不要なものである。
4- The +1 circuit 43 in FIG. 2 can sequentially read the 9th 8-byte digit from the previous address for rounding of pull transfer, and the pits 19 and 19 of address 40 are replaced. Also, the f111 portion (bits 21 to 23) of address 40 (bits 21 to 23 = 61 is an address indicating a data position within 8 bytes) is unnecessary for main memory access.

(0発明の詳細な説明 本発明には、以上説明した様に、ハツシュ回路によシバ
ンクアドレスを決定する仁とによって、特定のパンクに
一時的にアクセスが集中する仁とを避け、メモリアクセ
ス性能の改壱効来がある。
(Detailed Description of the Invention) As explained above, the present invention uses a hash circuit to determine the bank address, thereby avoiding the temporary concentration of accesses on a specific puncture, and the memory access. It has the effect of improving performance.

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

第1図はシステムにおける本発明の概略位置を示すブロ
ック図、第2図は本発明の一実施例な示す詳細図、#!
8図は従来装置におけるブロック内アドレスとパンクア
ドレスの関係を示す概略図である。 1・・・・・・中央処理装置、2・・・・・・メモリア
クセス制御装置、3・・・・・・主メモリ装置、4・・
・・・・パンク、5・・・・・・ハツシュ回路、41・
・・・・・排他論理和回路、48・・・・・・3を法と
する+1加算回路、BO〜B3・・・・・・パンク、1
00・・・・・・ブロック、200・・・・・・主メモ
リ特許出願人   日本電気株式会社 代 理 人   弁理士“熊谷雄太部 7− 区 岐
FIG. 1 is a block diagram showing the general position of the present invention in the system, and FIG. 2 is a detailed diagram showing one embodiment of the present invention.
FIG. 8 is a schematic diagram showing the relationship between intra-block addresses and puncture addresses in a conventional device. 1...Central processing unit, 2...Memory access control device, 3...Main memory device, 4...
...Punk, 5...Hatush circuit, 41.
...Exclusive OR circuit, 48...+1 addition circuit modulo 3, BO to B3...Punk, 1
00...Block, 200...Main memory patent applicant NEC Corporation Representative Patent attorney "Yutabe Kumagai 7- Kugi

Claims (1)

【特許請求の範囲】[Claims] バンクに分割されバンク間では独立にアクセス可能なメ
モリを有する情報処理装置において、ハツシュ回路を設
け、メモリアクセス要求のアドレスのあらかじめ決めら
れた複数のビットを前記ハツシュ回路の入力として前記
メモリのバンクアドレスを決定することを%黴とするメ
モリアクセス制御装置。
In an information processing device having a memory divided into banks and independently accessible between banks, a hash circuit is provided, and a plurality of predetermined bits of an address of a memory access request are input to the hash circuit to obtain a bank address of the memory. A memory access control device that determines the percentage of mold.
JP57103175A 1982-06-15 1982-06-15 Memory access controller Pending JPS58220287A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57103175A JPS58220287A (en) 1982-06-15 1982-06-15 Memory access controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57103175A JPS58220287A (en) 1982-06-15 1982-06-15 Memory access controller

Publications (1)

Publication Number Publication Date
JPS58220287A true JPS58220287A (en) 1983-12-21

Family

ID=14347168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57103175A Pending JPS58220287A (en) 1982-06-15 1982-06-15 Memory access controller

Country Status (1)

Country Link
JP (1) JPS58220287A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60178550A (en) * 1984-02-24 1985-09-12 Fujitsu Ltd Address conversion system of bank constitution storage device
JPS6180339A (en) * 1984-09-26 1986-04-23 Hitachi Ltd Memory access control system
JP2014534529A (en) * 2011-10-31 2014-12-18 カビウム・インコーポレーテッド Multi-core interconnection in network processors
JP2015108972A (en) * 2013-12-04 2015-06-11 富士通株式会社 Calculation device, determination method of calculation device, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60178550A (en) * 1984-02-24 1985-09-12 Fujitsu Ltd Address conversion system of bank constitution storage device
JPS6180339A (en) * 1984-09-26 1986-04-23 Hitachi Ltd Memory access control system
JP2014534529A (en) * 2011-10-31 2014-12-18 カビウム・インコーポレーテッド Multi-core interconnection in network processors
JP2018045700A (en) * 2011-10-31 2018-03-22 カビウム・インコーポレーテッド Multi-core interconnect in network processor
JP2015108972A (en) * 2013-12-04 2015-06-11 富士通株式会社 Calculation device, determination method of calculation device, and program

Similar Documents

Publication Publication Date Title
JP4531223B2 (en) Data processing apparatus having a plurality of processors sharing a collective memory
JP2561261B2 (en) Buffer storage access method
GB2136993A (en) Computer systems with extended storage
JPS58220287A (en) Memory access controller
EP0522728B1 (en) Method for efficient access of data stored in a nexus table
WO2024120014A1 (en) Memory access control method and apparatus, and computing device and computing device cluster
JP2994917B2 (en) Storage system
JPH0554303B2 (en)
JP2540844B2 (en) Data transfer control method
JP2589006B2 (en) Information processing device
JPS61228540A (en) Cache memory control system
JPS588336A (en) Data transferring method
JPS6118223B2 (en)
JPS63259746A (en) Inter-bank-memory data transmission system
JPH01142846A (en) Cache memory control system for information processor
JPS63236153A (en) Storage device
JPS6299827A (en) Buffer control system
JPS6019267A (en) Data processing system
JPS6140656A (en) Terminal data management system
JPH069042B2 (en) Sequential access control device for shared storage medium
JPS6122823B2 (en)
JPS6391761A (en) Cache memory control method
JPH01120655A (en) Buffer control system
JPS6040115B2 (en) Bubble memory bank switch method
JPS5920030A (en) Controlling system of input and output instruction