JPH02230442A - Cache memory control circuit - Google Patents

Cache memory control circuit

Info

Publication number
JPH02230442A
JPH02230442A JP1052326A JP5232689A JPH02230442A JP H02230442 A JPH02230442 A JP H02230442A JP 1052326 A JP1052326 A JP 1052326A JP 5232689 A JP5232689 A JP 5232689A JP H02230442 A JPH02230442 A JP H02230442A
Authority
JP
Japan
Prior art keywords
signal
access
address
access mode
outputs
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
JP1052326A
Other languages
Japanese (ja)
Inventor
Hiroko Yoshida
浩子 吉田
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
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 filed Critical NEC Corp
Priority to JP1052326A priority Critical patent/JPH02230442A/en
Publication of JPH02230442A publication Critical patent/JPH02230442A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To increase the working speed and to attain the change of an address area with a cache memory control circuit by setting an access mode including the direct address area designation into an access mode register. CONSTITUTION:An access mode register 1 outputs a bus access mode signal BAM containing the set one of plural access modes including the address area designation respectively. An access mode decoder 2 decodes the signal BAM and outputs an access control signal AC in the prescribed timing. A comparator 4 compares a tag address TA' stored in a tag memory 3 with a tag address TA inputted by an address signal AD and outputs a hit deciding signal HJ. Then an access control circuit 5 inputs both signals AC and HJ and outputs a cache memory control signal CCNT. In such a constitution, the working speed is increased and the address area can be changed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はキャッシュメモリ制御回路に関し、特に情報処
理装置のキャッシュメモリに対するアクセスモードを制
御するキャッシュメモリ制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a cache memory control circuit, and particularly to a cache memory control circuit that controls an access mode to a cache memory of an information processing device.

〔従来の技術〕[Conventional technology]

従来、この種のキャッシュメモリ制御回路においては、
キャッシュメモリに対するアドレスマップに応じたキャ
ッシュアクセスモード、キャッシュバイパスモード、ア
クセスキャンセルモー1一等のアクセスモードの指定は
、キャッシュメモリ制御部へのアクセスモード指定と、
キャッシュメモリ制御部の内部における制御動作指定と
の2段階で実行されていた。
Conventionally, in this type of cache memory control circuit,
Designation of access modes such as cache access mode, cache bypass mode, access cancellation mode 1, etc. according to the address map for the cache memory is performed by specifying the access mode to the cache memory control unit,
This was executed in two stages: specifying control operations within the cache memory control unit.

第3図は従来のキャッシュメモリ制御回路の一例を示す
ブロック図である。
FIG. 3 is a block diagram showing an example of a conventional cache memory control circuit.

このキャッシュメモリ制御回路は、まず、バスサイクル
デコーダ6においてバスサイクル指定信号BCDとタグ
アドレスTAとを解読してパスアクセス指定信号BAD
を発生しキャッシュメモリ制御部10のアクセスモー1
〜デコーダ2Bへ伝達する。
This cache memory control circuit first decodes the bus cycle designation signal BCD and the tag address TA in the bus cycle decoder 6 and outputs the path access designation signal BAD.
The access mode 1 of the cache memory control unit 10 is generated.
-Transmitted to decoder 2B.

次に、キャッシュメモリ制御部10において、アクセス
モー1〜テコータ2Bでハスアクセス指定信号BADと
リード ライト信号R/Wとを解読し所定のタイミング
てアクセス制御信号ACを発生しアクセス制御回路5へ
の伝達する。
Next, in the cache memory control unit 10, the access modes 1 to 2B decode the hash access designation signal BAD and the read/write signal R/W, generate an access control signal AC at a predetermined timing, and send the access control signal AC to the access control circuit 5. introduce.

一方、比較回路4はタグメモリ3に格納されているタグ
アドレスTA′とアドレス信号AD′により入力された
タグアドレスTAとを比敦しヒッ1へ判定信号H Jを
発生しアクセス制御回路5へ伝達する。
On the other hand, the comparator circuit 4 compares the tag address TA' stored in the tag memory 3 and the tag address TA input by the address signal AD', generates a judgment signal HJ to the access control circuit 5, and generates a judgment signal HJ to the access control circuit 5. introduce.

そしてアクセス制御回路5は、これらアクセス制御信号
AC及ひヒッI・判定信号HJに従ってキャッシュメモ
リ制御信号CCNTを出力ずる構成となっている。
The access control circuit 5 is configured to output a cache memory control signal CCNT in accordance with the access control signal AC and the hit/determination signal HJ.

〔発明か解決しようとする課題〕[Invention or problem to be solved]

」二連した従来のキャッシュメモリ制御回路は、パスザ
イクルテコータ6てバスサイクル指定信号BCDを解読
した後、その出力信号をキャッシュメモリ制御部10の
アクセスモーt’テコータ2l1へ伝達し解読するとい
う2段階で実行する構成となっているので、キャッシュ
メモリ制御部10の動作か遅れ高速化か困難になるとい
う欠点がある。
'' In the conventional dual cache memory control circuit, the pass cycle coder 6 decodes the bus cycle designation signal BCD, and then transmits the output signal to the access motor t' coder 2l1 of the cache memory control unit 10 for decoding. Since the configuration is such that execution is performed in two stages, there is a drawback that the operation of the cache memory control unit 10 is delayed and it becomes difficult to speed up the operation.

また、アクセスモード指定も因定されアドレスマッピン
クか固定されているので、アI〜レス領域の拡張、変更
ができないという欠点がある。
Furthermore, since the access mode designation is fixed and the address mapping is fixed, there is a drawback that the address area cannot be expanded or changed.

本発明の目的は、動作の高速化かでき、かつア1ヘレス
領域を変更することがてきるキャッシュメモリ制御回路
を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a cache memory control circuit that can operate at high speed and change the address area.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のキャッキュメモリ制御回路は、それそれアドレ
ス領域指定を含む複数のアクセスモー1〜のうちの一つ
を内部に設定しバスアクセスモーI〜信号を出力するア
クセスモー1へレジスタと、少なくとも前記バスアクセ
スモー1・信号を解読して所定のタイミングでアクセス
制御信号を出力するアクセスモーl〜テコータと、タグ
メモリに格納されているタグアドレスとアドレス信号に
より入力されるタクア}〜レスとを比較しヒット判定信
号を出力する比較回路と、前記アクセス制御信号と前記
ヒッ1〜判定信号とを入力しキャッシュメモリ制御信号
を出力するアクセス制御回路とを有している。
The cache memory control circuit of the present invention internally sets one of a plurality of access modes 1 to 1 including address area designations, and at least a register to the access mode 1 for outputting a bus access mode I to signal. An access mode 1~tekota which decodes the bus access mode 1 signal and outputs an access control signal at a predetermined timing, and a takua}~res inputted by the tag address and address signal stored in the tag memory. It has a comparison circuit that compares and outputs a hit determination signal, and an access control circuit that inputs the access control signal and the hit 1 to determination signal and outputs a cache memory control signal.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示すフロック図である
FIG. 1 is a block diagram showing a first embodiment of the present invention.

この実施例は、まずアドレス信号ADをタグアドレスA
T、ページアドl/スPA及びセツ1〜アドレスSAで
構成し、このうちのページアドレスPAにより、それそ
れアドレス領域指定を含み分類された複数のアクセスモ
ードのうちの一つを入力する。
In this embodiment, the address signal AD is first set to the tag address A.
The access mode is composed of T, page address PA, and set 1 to address SA, and one of a plurality of classified access modes including address area designation is input by the page address PA.

アクセスモー1へレジスタ1は、レシスタセット信号R
Sに従ってページアドレスPAにより入力されたアクセ
スモードを内部に設定し、パスサイクル毎にバスアクセ
スモー1・信号BAMを出力ずる。
To access mode 1, register 1 receives register set signal R.
The access mode input by the page address PA is set internally according to S, and the bus access mode 1/signal BAM is output for each pass cycle.

アクセスモードデコータ2は、ハスアクセスモ− 1’
信号BAM、ペーシストレスPA及びりーI一ライ1一
信号R、/Wを入力してこれらを解読し、所定のタイミ
ングでアクセス制御信号ACを出力する。
Access mode decoder 2 has access mode decoder 1'
The signal BAM, pace stress PA, and signals R and /W are input and decoded, and an access control signal AC is output at a predetermined timing.

タグメモリ3はタグア1−レス(AT′)を格納してお
き、セットアトレスSAによりセッh i!択を行い一
つのタクアトレスA丁′を出力する。
The tag memory 3 stores tag 1-res (AT'), and sets h i! by set address SA. A selection is made and one taqua address A' is output.

比較回路4は、タグメモリ3からのタグアドレスTA′
とアドレス信号ADにより入力されタグアドレスTAと
を比較し、比較結果をヒッl−判定信号H Jとして出
力する。
The comparison circuit 4 receives the tag address TA' from the tag memory 3.
and the tag address TA input by the address signal AD, and output the comparison result as a hit-judgment signal HJ.

アクセス制御回路5は、アクセス制御信号A. C及ひ
ヒッ1〜判定信号H Jを入力しこれらに従ってキャッ
シュメモリ制御信号CCNTを出力してキャッシュメモ
リのアクセス制御を行う構成となっている。
The access control circuit 5 receives an access control signal A. The configuration is such that the cache memory control signal CCNT is output according to the input of the determination signals C and H1 to HJ to control access to the cache memory.

従って、タグメモリ3におけるセッI−選択の実行中に
アクセスモー1〜レシスタ1の内部に直接アクセスモー
1〜を設定しこのアクセスモーI・レシスタ1からハス
アクセスモーl〜信−号BAMを出力ずうことかてきる
のて、動作の高速化をはかることができる。まプご、ア
クセスモー1〜指定の際ア1〜I/ス領域指定もてきる
ので、ブロクラム実行中にもアI’レス領域を変更する
ことかてきる。
Therefore, during execution of set I-selection in tag memory 3, access mode 1- is directly set inside access mode 1-resistor 1, and access mode I/resistor 1 outputs hash access mode l-signal BAM. As a result, the speed of operation can be increased. When specifying the map and access mode 1, you can also specify the address area from address 1 to address, so you can change the address area even while the program is running.

第2図は本発明の第2の実施例を示すフロック図である
FIG. 2 is a block diagram showing a second embodiment of the present invention.

この実施例は、アクセスモー1〜指定を、アドレス信号
A. Dより上位のハスサイクル指定信号BCDにより
入力する構成としたもので、アクセスモー1〜に対する
アI〜レス領域をより広く割当てることかできるという
利点かある。
In this embodiment, access modes 1 to 1 are designated by address signals A. The structure is such that input is made using a hash cycle designation signal BCD higher than D, which has the advantage that the address area for the access modes 1 to 1 can be more widely allocated.

〔発明の効果〕〔Effect of the invention〕

以−11説明したように本発明は、アクセスモー1〜レ
シスタを設け、この内部に直接、ア1〜l/ス領域指定
を含むアクセスモー1〜を設定する梠成することにより
、従来のハスザイクルテコータによる解読動作を除去す
ることができるのてこのハスサイクルデコー夕による遅
延を除去することてき、動作の高速化をはかることかで
きる効果かある。
As explained below-11, the present invention provides an access mode 1~resistor, and directly sets the access mode 1~ including the access mode 1~l/space area designation therein. Since the decoding operation by the cycle decoder can be eliminated, the delay caused by the hash cycle decoder can be eliminated, which has the effect of speeding up the operation.

また、アクセスモー1・指定時にアFレス領域指定をず
ることかてきるのて、アドレス領域を変更することかで
き、,メモリ空間を有効活用することかできる効果があ
る。
In addition, when access mode 1 is specified, the address area can be changed by changing the address area specification, which has the effect of making effective use of the memory space.

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

第1図及び第2図はそれそれ本発明の第]及ひ第2の実
施例を示すフロック図、第3図は従来のキャッシュメモ
リ制御回路の一例を示すブロック図である。 1,1A・アクセスモートレジスタ、2,2A2B・・
・アクセスモー1へテコー夕、3・・タグメモリ、4・
・・比較回路、5・・アクセス制御回路、6・ハス→ノ
ーイクルテコータ、1 0 − *− A−ツシュメモ
リ制御部。
1 and 2 are block diagrams showing a second embodiment of the present invention, respectively, and FIG. 3 is a block diagram showing an example of a conventional cache memory control circuit. 1, 1A・Access mote register, 2, 2A2B・・
・Tekko to access mode 1, 3...Tag memory, 4...
...Comparison circuit, 5.Access control circuit, 6.Has→no cycle coater, 10-*-A-Tush memory control section.

Claims (1)

【特許請求の範囲】[Claims] それぞれアドレス領域指定を含む複数のアクセスモード
のうちの一つを内部に設定しバスアクセスモード信号を
出力するアクセスモードレジスタと、少なくとも前記バ
スアクセスモード信号を解読して所定のタイミングでア
クセス制御信号を出力するアクセスモードデコーダと、
タグメモリに格納されているタグアドレスとアドレス信
号により入力されるタグアドレスとを比較しヒット判定
信号を出力する比較回路と、前記アクセス制御信号と前
記ヒット判定信号とを入力しキャッシュメモリ制御信号
を出力するアクセス制御回路とを有することを特徴とす
るキャッシュメモリ制御回路。
an access mode register that internally sets one of a plurality of access modes each including address area specification and outputs a bus access mode signal; and an access mode register that decodes at least the bus access mode signal and outputs an access control signal at a predetermined timing. an access mode decoder to output;
a comparison circuit that compares the tag address stored in the tag memory with the tag address input by the address signal and outputs a hit determination signal; and a comparison circuit that inputs the access control signal and the hit determination signal and outputs a cache memory control signal. 1. A cache memory control circuit, comprising: an access control circuit that outputs an output.
JP1052326A 1989-03-03 1989-03-03 Cache memory control circuit Pending JPH02230442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1052326A JPH02230442A (en) 1989-03-03 1989-03-03 Cache memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1052326A JPH02230442A (en) 1989-03-03 1989-03-03 Cache memory control circuit

Publications (1)

Publication Number Publication Date
JPH02230442A true JPH02230442A (en) 1990-09-12

Family

ID=12911669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1052326A Pending JPH02230442A (en) 1989-03-03 1989-03-03 Cache memory control circuit

Country Status (1)

Country Link
JP (1) JPH02230442A (en)

Similar Documents

Publication Publication Date Title
JPH0527971A (en) Information processor
JPS6041769B2 (en) Addressing method
JPH02230442A (en) Cache memory control circuit
JPH03201031A (en) Information processor
JP3190032B2 (en) Data storage device
KR0153537B1 (en) Signal processing structure to preselect memory address data
JPS5960787A (en) Memory access system
JP2570407B2 (en) Programmable controller
JPH02153444A (en) Memory control circuit
JP2692180B2 (en) Microcomputer
JPS6221129B2 (en)
JPH0354665A (en) Vector processor
JPH0128965B2 (en)
JP2576589B2 (en) Virtual storage access control method
JPH0319028A (en) Controller for execution of instruction
JPH0469737A (en) Microaddress circuit
JPS58123146A (en) Extending system of memory address
JPH01269140A (en) Memory extending circuit
JPH04209046A (en) Memory access circuit
JPH0247743A (en) Microcomputer
JPS62168235A (en) Data processor
JPH03122735A (en) General purpose cache memory controller
JPH04305736A (en) Microprocessor
JPS6398035A (en) Microprogram controller
JPH0652044A (en) Microprocessor