JPS6382537A - Address control circuit - Google Patents

Address control circuit

Info

Publication number
JPS6382537A
JPS6382537A JP22711286A JP22711286A JPS6382537A JP S6382537 A JPS6382537 A JP S6382537A JP 22711286 A JP22711286 A JP 22711286A JP 22711286 A JP22711286 A JP 22711286A JP S6382537 A JPS6382537 A JP S6382537A
Authority
JP
Japan
Prior art keywords
address
memory
physical address
priority
physical
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.)
Granted
Application number
JP22711286A
Other languages
Japanese (ja)
Other versions
JPH0754499B2 (en
Inventor
Kazuhiko Ohashi
一彦 大橋
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.)
Toshiba Corp
Toshiba Electronic Device Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Microelectronics 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 Toshiba Corp, Toshiba Microelectronics Corp filed Critical Toshiba Corp
Priority to JP61227112A priority Critical patent/JPH0754499B2/en
Publication of JPS6382537A publication Critical patent/JPS6382537A/en
Publication of JPH0754499B2 publication Critical patent/JPH0754499B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To enhance the using efficiency of an address bus and to attain a high speed execution processing with a memory access by making access to a memory according to a priority to the memory of a different priority. CONSTITUTION:When the reading of a memory operand in a mechanical language instruction and the prefetch of the mechanical language instruction are simultaneously generated, the execution address for reading the memory operand is supplied to an execution address register 11 through a switching circuit 7 from the first execution address generating circuit 1 according to the priority. The execution address supplied to the execution address register 11 is added to information applied through a switching circuit 15 from a segment base register selected from segment base register groups 13 corresponding to this execution address by the first clock by a base adder 19 and transformed to the first physical address.

Description

【発明の詳細な説明】 「発明の目的」 (産業上の利用分野) この発明は、優先順位の異なる複数のメモリアドレスを
制御して、アドレスバスを有効に使用するアドレス制御
回路に関する。
DETAILED DESCRIPTION OF THE INVENTION OBJECTS OF THE INVENTION (Field of Industrial Application) The present invention relates to an address control circuit that controls a plurality of memory addresses with different priorities and effectively uses an address bus.

(従来の技術) マイクロプロセッサにおいては、所謂先取り制η口を行
うために、成械詔♀令の先取りを行なうためのメモリア
ドレスや、■械語命令の実行時に必要となるメモリオペ
ランドの読出し、書込みに伴うメモリアドレス笠のアド
レスバスを占有する優先順位の異なる複数のメモリアド
レスを制御して、機械語命令の実行処理が行なわれてい
る。
(Prior Art) In a microprocessor, in order to perform so-called preemption control, memory addresses for prefetching machine commands, reading of memory operands required when executing machine instructions, etc. Execution processing of machine language instructions is performed by controlling a plurality of memory addresses with different priorities that occupy the address bus of the memory address cap associated with writing.

第3図はこのようなり先lαの異なる複数のメモリアド
レスを1lil制御するアドレス制御回路の114成を
示すブロック図である。同図に示すアドレス制御回路は
、命令やデータ毎にそれぞれの領域を指定するメモリ’
A lff1指定方式(セグメン1〜方式)にJ3いて
、機械語命令の先取り用メモリアドレス及び機械語命令
におけるメモリオペランドの読出し。
FIG. 3 is a block diagram showing 114 configurations of an address control circuit that controls a plurality of memory addresses having different destinations lα. The address control circuit shown in the figure is a memory block that specifies each area for each instruction and data.
J3 in the Alff1 specification method (segment 1 to method), reads the memory address for prefetching of a machine language instruction and the memory operand in the machine language instruction.

書込みを行なうメモリアドレスをIt、II 0[1す
るものである。
It sets the memory address for writing to It, II 0[1.

このアドレス制御回路は、機械:n命令のメモリオペラ
ンドの読出し、書込みにおける実効アドレスを発生する
第1実効アドレス発生回路1と、機械語命令、の先取り
用の実効アドレスを発生する第2実効アドレス発生回路
3と、第1実効アドレス発生回路1と第2実効アドレス
発生回路3に実効アドレスの発生を指示する選択回路5
と、第1実効アドレス発生回路1と第2実効アドレス発
生回路3で発生した実効アドレスを切換える切換回路7
と、この切換回路7の切換動作を制御する切換制御回路
9と、第1実効アドレス発生回路1あるいは第2実効ア
ドレス発生回路3で発生した実効アドレスを一時的に保
持する実効アドレスレジスタ11とを有している。
This address control circuit consists of a first effective address generation circuit 1 that generates an effective address for reading and writing memory operands of machine n instructions, and a second effective address generation circuit 1 that generates an effective address for prefetching machine language instructions. circuit 3, and a selection circuit 5 that instructs the first effective address generation circuit 1 and the second effective address generation circuit 3 to generate an effective address.
and a switching circuit 7 for switching the effective addresses generated by the first effective address generation circuit 1 and the second effective address generation circuit 3.
, a switching control circuit 9 that controls the switching operation of the switching circuit 7, and an effective address register 11 that temporarily holds the effective address generated by the first effective address generation circuit 1 or the second effective address generation circuit 3. have.

また、実効アドレスに対応した物理アドレスを算出する
ために必要な情報が格納されているセグメントベースレ
ジスタ群13と、このセグメントベースレジスタ群13
から出力される情報を切換える切換回路15と、この切
換回路15の切換動作を制御する切換制御回路17と、
実効アドレスレジスタ11に格納されている実効アドレ
スと切換回路15により選択されたセグメントベースレ
ジスタ群13から出力される情報を加算して、物理アド
レスを口出するベース加算器19と、このベース加算器
19で算出された物理アドレスを一時的に保持する物理
アドレスレジスタ21とを有している。
Additionally, there is a segment base register group 13 in which information necessary for calculating the physical address corresponding to the effective address is stored, and this segment base register group 13.
a switching circuit 15 that switches the information output from the switching circuit 15; a switching control circuit 17 that controls the switching operation of the switching circuit 15;
a base adder 19 that adds the effective address stored in the effective address register 11 and information output from the segment base register group 13 selected by the switching circuit 15 to produce a physical address; The physical address register 21 temporarily holds the physical address calculated in step 19.

また更に、アドレスバスの使用状態を監視する監視回路
23と、機械語命令及びデータが格納されているメモリ
25と、監視回路23で制御され、アドレスバスが空き
状態である時に、物理アドレスレジスタ21に保持され
ている物理アドレスでメモリ25へのアクセスを開始す
゛る開始回路27とを有している。
Furthermore, a monitoring circuit 23 that monitors the use state of the address bus, a memory 25 in which machine language instructions and data are stored, and a physical address register 25 controlled by the monitoring circuit 23, when the address bus is in an empty state. The start circuit 27 starts accessing the memory 25 using the physical address held in the memory 25.

次に、このような構成において、機械語命令中でメモリ
オペランドの読出し要求と機械語命令の先取り要求が同
時に発生した場合にって説明する。
Next, a case will be described in which, in such a configuration, a memory operand read request and a machine language instruction prefetch request occur simultaneously in a machine language instruction.

ここで、これらの要求のうち、メモリオペランドの読出
し要求は、機械語命令の先取り要求より実行処理の優先
順位が高いものとする。
Here, it is assumed that among these requests, a memory operand read request has a higher execution processing priority than a machine language instruction prefetch request.

したがって、第1実効アドレス発生回路1が選択回路5
により選択されて、読出し要求のあったメモリオペラン
ドの実効アドレスが、第1実効アドレス発生回路1側に
切換えられた切換回路7を介して実効アドレスレジスタ
11に転送され保持される。
Therefore, the first effective address generation circuit 1 is the selection circuit 5.
The effective address of the memory operand selected by and requested to read is transferred to the effective address register 11 and held there via the switching circuit 7 which is switched to the first effective address generation circuit 1 side.

実効アドレスレジスフ11に保持された実効アドレスは
、セグメントベースレジスタ群13の中から切換回路1
5により選択されたセグメントベースレジスタから送出
され、実効アドレスレジスタ11に保持された実効アド
レスに対応した情報とベース加算器19で加算されて、
実効アドレスに対応した物理アドレスが暮出される。こ
の口出された物理アドレスは、物理アドレスレジスタ2
1に転送され保持される。
The effective address held in the effective address register 11 is selected from the segment base register group 13 by the switching circuit 1.
5 is sent from the segment base register selected by 5, and is added by the base adder 19 to the information corresponding to the effective address held in the effective address register 11.
A physical address corresponding to the effective address is revealed. This physical address is written to physical address register 2.
1 and held.

そして、アドレスバスは監視回路23により空き状態で
あることだ確認されると、監視回路23は開始回路27
を指示して、物理アドレスレジスタ21に保持された物
理アドレスでメモリ25がアクセスされて、メモリオペ
ランドの読出し要求が実行される。
Then, when the address bus is confirmed by the monitoring circuit 23 to be in an empty state, the monitoring circuit 23
, the memory 25 is accessed using the physical address held in the physical address register 21, and a memory operand read request is executed.

このようにして、メモリオペランドの読出し要求が実行
されるわけであるが、メモリオペランドの読出し要求と
同時に発生した機械語命令の先取り要求は、メモリオペ
ランドの読出し、書込み要求が再び要求される場合があ
るため、メモリ25のアクセスが終了するまで行なわれ
ないことになる。そして、メモリ25のアクセスが終了
した後に、メモリオペランドの読出し、古込み要求がな
い場合には、機械語命令の先取り要求を行なうための実
効アドレスが第2実効アドレス発生回路3から発生され
て、以下メモリオペランドの読出し要求と同様な処理が
行なわれ、機械語命令の先取り要求が実行される。
In this way, a memory operand read request is executed, but a machine language instruction prefetch request that occurs at the same time as a memory operand read request may cause a memory operand read or write request to be requested again. Therefore, it will not be performed until the access to the memory 25 is completed. Then, after the access to the memory 25 is completed, if there is no memory operand read or old loading request, the second effective address generation circuit 3 generates an effective address for making a prefetch request for a machine language instruction. Thereafter, processing similar to that for a memory operand read request is performed, and a machine language instruction prefetch request is executed.

(発明が解決しようとする問題点) 以上説明したように、上述したアドレス制御回路にあっ
ては、優先順位の異なるメモリアクセスが同時に発生し
た場合に、優先順位の高いメモリアクセスが終了した後
に、(支)先順位の低いメモリアクセスを行なうための
実効アドレスが発生して、この実効アドレスが物理アド
レスに変換され、優先順位の低いメモリアクセスが行な
われるようになっている。
(Problems to be Solved by the Invention) As explained above, in the address control circuit described above, when memory accesses with different priorities occur simultaneously, after the memory access with a higher priority is completed, (Support) An effective address for performing a memory access with a low priority is generated, this effective address is converted into a physical address, and a memory access with a low priority is performed.

したがって、優先順位の高いメモリアクセスが終了した
後にアドレスバスが空き状態にあっても、実効アドレス
から物理アドレスへの変換に時間を要するため、優先順
位の高いメモリアクセスが終了した直後に優先順位の低
いメモリアクセスを行なうことができず、メモリアクセ
スを伴なう実行処理を高速に行なうことができないとい
う問題があった。
Therefore, even if the address bus is free after a high-priority memory access is completed, it takes time to convert an effective address to a physical address, so the high-priority memory access is immediately There is a problem in that low memory access cannot be performed and execution processing that involves memory access cannot be performed at high speed.

そこで、この発明は、上記に鑑みてなされたものであり
、複数の優先順位の異なるメモリアクセスを行なう際に
、アドレスバスの使用効率を向上させて、メモリアクセ
スを伴なう実行処理を高速に行なうことができるアドレ
ス制御回路を提供することを目的とする。
The present invention has been made in view of the above problems, and it is an object of the present invention to improve the efficiency of address bus use when performing memory accesses with multiple different priorities, and to speed up execution processing that involves memory accesses. The purpose of the present invention is to provide an address control circuit that can perform the following operations.

[発明の構成] (問題点を解決するための手段) 上記目的を達成するために、この発明は、アドレスバス
を占有する優先順位が異なる複数の実効アドレスを発生
ずる実効アドレス発生手段と、実効アドレスをこの実効
アドレスに対応した物理アドレスに変換する変換手段と
、物理アドレスを優先順位毎に別々に格納保持する格納
保持手段と、物理アドレスを優先順位毎に選択してそれ
ぞれの物理アドレスが優先順位fσに別々に格納保持さ
れるべく前記格納保持手段に転送する転送手段と、アド
レスバスの使用状態を監視してアドレスバスが空き状態
になると優先順位にしたがって前記格納保持手段に格納
された物理アドレスを選択してメモリをアクセスするア
クセス手段とから構成される。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention provides effective address generation means for generating a plurality of effective addresses with different priorities to occupy an address bus, and A conversion means converts an address into a physical address corresponding to this effective address, a storage holding means stores and holds physical addresses separately for each priority, and selects a physical address for each priority so that each physical address has priority. A transfer means for transferring the data to the storage and holding means to be stored and held separately in the order fσ, and a physical transfer means for monitoring the usage status of the address bus and when the address bus becomes free, the physical data is stored in the storage and holding means according to the priority order. and an access means for selecting an address and accessing the memory.

(作用) この発明のアドレス制御回路にあっては、優先順位の異
なる複数のメモリアクセスを行なう場合、それぞれのメ
モリアクセスを行なうための物理アドレスを優先順位に
かかわらず算出して、それぞれ優先順位毎に別々に格納
保持しておき、優先順位の高いものから順次メモリアク
セスを行なうようにした。
(Function) In the address control circuit of the present invention, when performing multiple memory accesses with different priorities, the physical address for each memory access is calculated regardless of the priority, and the physical address is calculated for each priority. They are stored and maintained separately, and memory accesses are performed sequentially starting with the one with the highest priority.

(実施例) 以下、図面を用いてこの発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例に係るアドレス制御回路の
構成を示すブロック図である。同図に示すアドレス制御
回路は、第3図に示したアドレス制御回路と同様に、機
械語命令の先取り用のメモリアドレス及び、機械語命令
におけるメモリオペランドの読出し、書込みを行なうメ
モリオペランドの読出し、書込みを行なうメモリアドレ
スを制tilijるものである。さらに、この実施例の
アドレス制御回路は、優先順位の異なるそれぞれのメモ
リアクセスを行なうためのそれぞれの物理アドレスを予
め口出して、それぞれの物理アドレスを別々に格納保持
し、アドレスバスが空き状態にある時に、直らに格納保
持された物理アドレスでメモリアクセスが行なわれるよ
うにしたのちのである。
FIG. 1 is a block diagram showing the configuration of an address control circuit according to an embodiment of the present invention. Similar to the address control circuit shown in FIG. 3, the address control circuit shown in FIG. This controls the memory address to which data is written. Further, the address control circuit of this embodiment selects in advance each physical address for each memory access with different priorities, stores and holds each physical address separately, and maintains the address bus in an empty state. At times, memory accesses are performed using physical addresses that are stored and held immediately.

第1図にあって、第3図と同符号のものは同−li能を
有するものであり、イの説明は省略する。
Components in FIG. 1 with the same symbols as those in FIG. 3 have the same functions, and a description of "A" will be omitted.

したがって、実効アドレスが発生してこの実効アドレス
に対応した物理アドレスが算出される過程は、第3図に
示したアドレス制御回路と同様である。 第1図におい
て、格納保持部27は、優先順位の異なるそれぞれのメ
モリアクセスを行なうためのそれぞれの物理アドレスを
格納保持し、アドレスバスの使用状態及びメモリアクセ
スの優先順位を判断して、格納保持された物理アドレス
でメ〔す25をアクセスするもである。この格納保持部
27は、切換回路29,37、切換制御回路31、第1
物理アドレスレジスタ33、第2物理アドレスレジスタ
35、切換回路37、指示回路39とから構成されてい
る。
Therefore, the process in which an effective address is generated and a physical address corresponding to this effective address is calculated is similar to that of the address control circuit shown in FIG. 3. In FIG. 1, the storage/holding unit 27 stores and holds physical addresses for performing memory accesses with different priorities, and determines the use status of the address bus and the priority of memory access, and stores/holds them. The device 25 is accessed using the specified physical address. This storage holding section 27 includes switching circuits 29 and 37, a switching control circuit 31, a first
It is composed of a physical address register 33, a second physical address register 35, a switching circuit 37, and an instruction circuit 39.

切換回路2つは、ベース加算器19で算出された機械語
命令におけるメモリオペランドの読出し。
The two switching circuits read the memory operand in the machine language instruction calculated by the base adder 19.

書込み要求を行なうための物理アドレス(以下「第1物
理アドレス」と呼ぶ)、あるいは機械語命令の先取りを
行なうための物理アドレス(以下「第2物理アドレス」
と呼ぶ)を切換えて、第1物理アドレスを第1物理アド
レスレジスタ33に供給し、第2物理アドレスを第2物
理アドレスレジスタ35に供給するものである。
A physical address for making a write request (hereinafter referred to as the "first physical address") or a physical address for prefetching a machine language instruction (hereinafter referred to as the "second physical address")
, and supplies the first physical address to the first physical address register 33 and the second physical address to the second physical address register 35.

切換制御回路31は、切換回路2つの切換え動作を制御
するものである。
The switching control circuit 31 controls switching operations of the two switching circuits.

第1物理アドレスレジスタ33は、ベース加算器19か
ら切換回路29を介して第1物理アドレスを受けて、こ
の第1物理アドレスを一時的に保持するものである。第
2物理アドレスレジスタ35は、ベース加算器19から
切換回路29を介して第2物理アドレスを受けて、この
第2物理アドレスを一時的に保持するものである。
The first physical address register 33 receives a first physical address from the base adder 19 via the switching circuit 29 and temporarily holds this first physical address. The second physical address register 35 receives a second physical address from the base adder 19 via the switching circuit 29 and temporarily holds this second physical address.

切換回路37は、第1物理アドレスレジスタ33と、第
2物理アドレスレジスタ35を切換えて、イれぞれのア
ドレスレジスタに保持されているそれぞれの物理アドレ
スをメモリ25に供給するものである。
The switching circuit 37 switches between the first physical address register 33 and the second physical address register 35 and supplies each physical address held in each address register to the memory 25.

指示回1839は、アドレスバスの使用状態を監視する
とともに、優先順位の高いメモリアドレスでメモリ25
をアクセスすべく、切換回路37に指示を与えるもので
ある。
The instruction circuit 1839 monitors the usage status of the address bus and also assigns the memory 25 at a memory address with a high priority.
This is to give an instruction to the switching circuit 37 to access the .

以上説明したように、この実施例は構成されており、次
にこの実施例の作用を第2図を参照して説明する。
This embodiment is constructed as described above, and the operation of this embodiment will now be described with reference to FIG. 2.

第2図は第1図に示したアドレス制御回路のタイミング
チャートであり、同図において、機械5n命令中のメモ
リオペランドの読出しあるいは書込み処理をα1、次の
メモリオペランドの読出しあるいは書込み処理をα2、
機械語命令の先取り処理をβとし、実効アドレスから物
理アドレスへの変換に1クロツクを要し、物理アドレス
によるメモリアクセスに2クロツクを要するものとする
FIG. 2 is a timing chart of the address control circuit shown in FIG. 1. In the figure, the read or write process of the memory operand in the machine 5n instruction is performed by α1, and the read or write process of the next memory operand is performed by α2.
Assume that the prefetching process of a machine language instruction is β, that one clock is required to convert an effective address to a physical address, and two clocks are required for memory access using a physical address.

また、機械語命令中のメモリオペランドの読出し。Also, reading memory operands in machine language instructions.

出込みに伴なうメモ・リアクセスは、義械語命令の先取
りに伴なうメモリアクセスより優先順位が高いものとす
る。
It is assumed that memory reaccess associated with input/output has a higher priority than memory access associated with prefetching of semantic language instructions.

ここで、機械語命令中のメモリオペランドの読出しαt
と機械語命令の先取りβが同時に発生した場合について
説明する。
Here, reading αt of memory operand in machine language instruction
A case will be explained in which a prefetch β of a machine language instruction and a prefetch β of a machine language instruction occur simultaneously.

tivi=命令の中のメモリオペランドの読出しα1と
機械語命令の先取りβが同時に発生すると、優先順位に
よりメモリオペランドの読出しα1の実効アドレスが、
第1実効アドレス発生回路1から切換回路7を介して実
効アドレスレジスタ11に供給される。この実効アドレ
スレジスタ11に供給された実効アドレスは、第1クロ
ツクでこの実効アドレスに対応してセグメントベースレ
ジスタ群13の中から選択されたセグメントベースレジ
スタから切換回路15を介して与えられる情報とベース
加算器19で加算されて、第1物理アドレスに変換され
る。
tiv = If the memory operand read α1 in the instruction and the machine language instruction prefetch β occur simultaneously, the effective address of the memory operand read α1 will be
The signal is supplied from the first effective address generation circuit 1 to the effective address register 11 via the switching circuit 7. The effective address supplied to this effective address register 11 is based on the information given via the switching circuit 15 from a segment base register selected from the segment base register group 13 corresponding to this effective address at the first clock. The address is added by an adder 19 and converted into a first physical address.

この第1物理アドレスは、第2クロツクで切換回路2つ
を介して第1物理アドレスレジスタ33に転送されて、
第1物理アドレスレジスタ33に格納保持される。さら
に、第2実効アドレスレジスタ3から切換回路7を介し
て実効アドレスレジスタ11に供給された機械語命令の
先取りβの実’A+アドレスが、第2クロツクにより第
2物理アドレスに変換される。
This first physical address is transferred to the first physical address register 33 via two switching circuits using the second clock.
It is stored and held in the first physical address register 33. Further, the real 'A+ address of the prefetch β of the machine language instruction supplied from the second effective address register 3 to the effective address register 11 via the switching circuit 7 is converted into a second physical address by the second clock.

第1物理アドレスレジスク33に格納保持された第1物
理アドレスは、指示回路39がアドレスバスが空き状態
であることを判断して切換回路37に指示すると、第3
及び第4クロツクで切換回路37を介してメモリ25に
供給される。これにより、第1物理アドレスでメモリ2
5がアクセスされて、メモリオペランドの読出しα1が
行なわれる。
When the instruction circuit 39 determines that the address bus is empty and instructs the switching circuit 37, the first physical address stored and held in the first physical address register 33 is transferred to the third
and is supplied to the memory 25 via the switching circuit 37 at the fourth clock. This allows memory 2 to be used at the first physical address.
5 is accessed, and reading α1 of the memory operand is performed.

また、第2クロツクで変換された第2物理アドレスは、
第3クロツクで第2物理アドレスレジスタ35に転送さ
れて格納保持される。さらに、数域語命令の先取りβの
次にメモリオペランドの読出しα2があるので、このメ
モリオペランドの読出しα2の実効アドレスが、第3ク
ロツクで第1物理アドレスに変換され、この第1物理ア
ドレスは、第4クロツクで第1物理アドレスレジスタ3
3に転送されて格納保持される。
Also, the second physical address converted by the second clock is
At the third clock, it is transferred to the second physical address register 35 and stored and held. Furthermore, since the memory operand read α2 follows the prefetch β of the number domain instruction, the effective address of this memory operand read α2 is converted to the first physical address by the third clock, and this first physical address is , the first physical address register 3 at the fourth clock.
3 and stored and held.

ここで、■械詔命令中のオペランドの読出し。Here, ■ Read the operand in the machine command.

占込みは、機械語命令の先取りよりも優先順位が高いの
で、第1物理アドレスレジスタ33に格納保持されてい
る第1物理アドレスは、第5及び第6クロツクでメモリ
25に供給されて、メモリアクセスが行なわれる。そし
て、この第1物理アドレスでのメモリアクセスが終了し
た後、第2物理アドレスレジスタ35に格納保持されて
いる第2物理アドレスは、第7及び第8クロツクでメモ
リ25に供給され、メモリアクセスが行なわれ、成域語
命令の先取りβが行なわれる。
Since prefetching has a higher priority than prefetching machine language instructions, the first physical address stored and held in the first physical address register 33 is supplied to the memory 25 at the fifth and sixth clocks, and is stored in the memory 25 at the fifth and sixth clocks. Access is made. After the memory access at this first physical address is completed, the second physical address stored and held in the second physical address register 35 is supplied to the memory 25 at the seventh and eighth clocks, and the memory access is completed. The prefetch β of the global command is performed.

このようにして、浸入順位の高いメモリアクセスから順
に実行処理されるわけであるが、メモリオペランドの読
出しα2のメモリアクセスが行なわれる前に、機械語命
令の先取りβの物理アドレスが算出され第2物理アドレ
スレジスタ35に格納保持される。これにより、メモリ
オペランドの読出しα2のメモリアクセスが終了してア
ドレスバスが空き状態であれば、直ちに第2物理アドレ
スでメモリアクセスすることが可能となり、メモリオペ
ランドの読出しα2のメモリアクセスが終了した直後に
、Rb’t 2 fi?J令の先取りβのメモリアクセ
スを実行することができる。
In this way, memory accesses are executed in order of priority, but before the memory access for reading α2 of the memory operand is performed, the physical address of the prefetch β of the machine language instruction is calculated and the second It is stored and held in the physical address register 35. As a result, if the memory access for reading the memory operand α2 is completed and the address bus is in an empty state, it becomes possible to immediately access the memory at the second physical address, and immediately after the memory access for reading the memory operand α2 is completed. ni, Rb't 2 fi? Memory access of prefetch β of the J instruction can be executed.

なお、この実施例においては、口先順位の異なるメモリ
アクセスが2種類の場合であるが、これに限定されるし
のではなく、例先順位の異なるメモリアクセスが2種類
以上の場合には、その種類と同じだ(プメモリアクレス
行なう物理アドレスを格納保持するレジスタを用意すれ
ばよい。
Note that in this embodiment, there are two types of memory accesses with different priority orders, but the invention is not limited to this, and if there are two or more types of memory accesses with different priority orders, the It is the same as the type (all you need to do is prepare a register to store and hold the physical address for pre-memory access).

[発明の効果] 以Fa明したように、この発明によれば、浸入順位の異
なるメモリアクセスを行なうための物理アドレスを口先
順位にかかわらず算出し、それぞれ優先順位毎に別々に
格納深漬して、口先順位にしたがってメモリアクセスを
行なうようにしたので、優先順位の高いメモリアクセス
が終了した直後に優先順位の低いメモリアクセスを行な
うことが可能となる。これにより、アドレスバスの使用
効率が向上して、メモリアクセスを伴なう実行処理を高
速に行うことができる。
[Effects of the Invention] As explained below, according to the present invention, physical addresses for performing memory accesses with different entry orders are calculated regardless of the entry order, and storage is performed separately for each priority order. Since memory accesses are performed according to priority order, memory accesses with lower priorities can be performed immediately after memory accesses with higher priorities are completed. This improves address bus usage efficiency and allows execution processing involving memory access to be performed at high speed.

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

第1図はこの発明の一実施例に係るアドレス制御回路の
構成を示すブロック図、第2図は第1図のタイミングチ
せ一ト、第3図はアドレス制御回路の一従来構成を示す
ブロック図である。 (図の主要な部分を表わす符号の説明)1・・・第1実
効アドレス発生回路 3・・・第2実効アドレス発生回路 11・・・実効アドレスレジスタ 1つ・・・ベース加師器 25・・・メモリ 29・・・切換回路 31・・・切換制御回路 33・・・第1物理アドレスレジスタ 35・・・第2物理アドレスレジスタ 37・・・切換回路 3つ・・・指示回路
FIG. 1 is a block diagram showing a configuration of an address control circuit according to an embodiment of the present invention, FIG. 2 is a timing diagram of FIG. 1, and FIG. 3 is a block diagram showing a conventional configuration of an address control circuit. It is a diagram. (Explanation of symbols representing main parts in the diagram) 1... First effective address generation circuit 3... Second effective address generation circuit 11... One effective address register... Base adder 25... ...Memory 29...Switching circuit 31...Switching control circuit 33...First physical address register 35...Second physical address register 37...Three switching circuits...Instruction circuit

Claims (1)

【特許請求の範囲】[Claims] アドレスバスを占有する優先順位が異なる複数の実効ア
ドレスを発生する実効アドレス発生手段と、実効アドレ
スをこの実効アドレスに対応した物理アドレスに変換す
る変換手段と、物理アドレスを優先順位毎に別々に格納
保持する格納保持手段と、物理アドレスを優先順位毎に
選択してそれぞれの物理アドレスが優先順位毎に別々に
格納保持されるべく前記格納保持手段に転送する転送手
段と、アドレスバスの使用状態を監視してアドレスバス
が空き状態になると優先順位にしたがって前記格納保持
手段に格納された物理アドレスを選択してメモリをアク
セスするアクセス手段とを有することを特徴とするアド
レス制御回路。
An effective address generation means that generates multiple effective addresses with different priorities to occupy the address bus, a conversion means that converts the effective address into a physical address corresponding to this effective address, and a physical address that is stored separately for each priority. a storage/holding means for storing, a transfer means for selecting physical addresses for each priority and transferring the physical addresses to the storage/holding means to be stored and held separately for each priority; 1. An address control circuit comprising access means for monitoring and accessing a memory by selecting a physical address stored in the storage holding means in accordance with priority when the address bus becomes vacant.
JP61227112A 1986-09-27 1986-09-27 Address control circuit Expired - Lifetime JPH0754499B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61227112A JPH0754499B2 (en) 1986-09-27 1986-09-27 Address control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61227112A JPH0754499B2 (en) 1986-09-27 1986-09-27 Address control circuit

Publications (2)

Publication Number Publication Date
JPS6382537A true JPS6382537A (en) 1988-04-13
JPH0754499B2 JPH0754499B2 (en) 1995-06-07

Family

ID=16855664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61227112A Expired - Lifetime JPH0754499B2 (en) 1986-09-27 1986-09-27 Address control circuit

Country Status (1)

Country Link
JP (1) JPH0754499B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4891943A (en) * 1972-03-08 1973-11-29
JPS49131649A (en) * 1973-04-20 1974-12-17

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4891943A (en) * 1972-03-08 1973-11-29
JPS49131649A (en) * 1973-04-20 1974-12-17

Also Published As

Publication number Publication date
JPH0754499B2 (en) 1995-06-07

Similar Documents

Publication Publication Date Title
JP2002533807A (en) Interrupt / software control thread processing
KR960035270A (en) A memory controller for executing a read and write command in a non-sequential order
US6145065A (en) Memory access buffer and reordering apparatus using priorities
JPS63172343A (en) Instruction prefetching system
JPH1083349A (en) Cache memory bank controller
JPS6145272B2 (en)
JPS6382537A (en) Address control circuit
JP2001256106A (en) Memory access system
JP2000227895A (en) Device and method for transferring image data
EP0510617B1 (en) Data processing apparatus with high-speed "macroservice" interrupt
JP2595992B2 (en) Electronic musical instrument
JP2002278774A (en) Method and device for generating instruction word in controlling function unit in processor
JPH03218524A (en) Instruction processor
JPS59117620A (en) Computer system
JPH04266140A (en) Address conversion buffer device
JPS59123974A (en) Vector data storage control system
JPS58220289A (en) Data processor
JPS60253083A (en) Storage device controlling system
JPS6031646A (en) Data processor
JPS59123976A (en) Storage control system of vector data
JPH0531170B2 (en)
JP2001306488A (en) Data transfer device
JPH1011351A (en) Computer system
JPH04273376A (en) Vector data processor
JPH1011356A (en) Memory access system