JPH0754499B2 - Address control circuit - Google Patents

Address control circuit

Info

Publication number
JPH0754499B2
JPH0754499B2 JP61227112A JP22711286A JPH0754499B2 JP H0754499 B2 JPH0754499 B2 JP H0754499B2 JP 61227112 A JP61227112 A JP 61227112A JP 22711286 A JP22711286 A JP 22711286A JP H0754499 B2 JPH0754499 B2 JP H0754499B2
Authority
JP
Japan
Prior art keywords
address
memory
physical
physical address
effective
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.)
Expired - Lifetime
Application number
JP61227112A
Other languages
Japanese (ja)
Other versions
JPS6382537A (en
Inventor
一彦 大橋
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
Original Assignee
Toshiba 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 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

Description

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

(従来の技術) マイクロプロセッサにおいては、所謂先取り制御を行う
ために、機械語命令の先取りを行なうためのメモリアド
レスや、機械語命令の実行時に必要となるメモリオペラ
ンドの読出し,書込みに伴うメモリアドレス等のアドレ
スバスを占有する優先順位の異なる複数のメモリアドレ
スを制御して、機械語命令の実行処理が行なわれてい
る。
(Prior Art) In a microprocessor, in order to perform so-called prefetch control, a memory address for prefetching a machine language instruction, and a memory address for reading and writing a memory operand required when executing a machine language instruction A plurality of memory addresses having different priorities occupying the address buses such as the above are controlled to execute the machine language instruction execution processing.

第3図はこのような優先度の異なる複数のメモリアドレ
スを制御するアドレス制御回路の構成を示すブロック図
である。同図に示すアドレス制御回路は、命令やデータ
毎にそれぞれの領域を指定するメモリ領域指定方式(セ
グメント方式)において、機械語命令の先取り用メモリ
アドレス及び機械語命令におけるメモリオペランドの読
出し,書込みを行なうメモリアドレスを制御するもので
ある。
FIG. 3 is a block diagram showing the configuration of an address control circuit for controlling a plurality of memory addresses having different priorities. The address control circuit shown in the figure uses a memory area specification method (segment method) that specifies each area for each instruction or data, and reads and writes the prefetch memory address of the machine language instruction and the memory operand in the machine language instruction. It controls the memory address to be performed.

このアドレス制御回路は、機械語命令のメモリオペラン
ドの読出し、書込みにおける実効アドレスを発生する第
1実効アドレス発生回路1と、機械語命令の先取り用の
実効アドレスを発生する第2実効アドレス発生回路3
と、第1実効アドレス発生回路1と第2実効アドレス発
生回路3に実効アドレスの発生を指示する選択回路5
と、第1実効アドレス発生回路1と第2実効アドレス発
生回路3で発生した実効アドレスを切換える切換回路7
と、この切換回路7の切換動作を制御する切換制御回路
9と、第1実効アドレス発生回路1あるいは第2実効ア
ドレス発生回路3で発生した実効アドレスを一時的に保
持する実効アドレスレジスタ11とを有している。
The address control circuit includes a first effective address generation circuit 1 that generates an effective address for reading and writing a memory operand of a machine language instruction, and a second effective address generation circuit 3 that generates an effective address for prefetching a machine language instruction.
And a selection circuit 5 for instructing 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 generating circuit 1 and the second effective address generating circuit 3.
And a switching control circuit 9 for controlling the switching operation of the switching circuit 7, and an effective address register 11 for temporarily holding an effective address generated by the first effective address generating circuit 1 or the second effective address generating circuit 3. Have

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

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

次に、このような構成において、機械語命令中でメモリ
オペランド読出し要求と機械語命令の先取り要求が同時
に発生した場合につて説明する。ここで、これらの要求
のうち、メモリオペランドの読出し要求は、機械語命令
の先取り要求より実行処理の優先順位が高いものとす
る。
Next, in such a configuration, a case where a memory operand read request and a machine language instruction prefetch request occur simultaneously in a machine language instruction will be described. Here, of these requests, the read request of the memory operand is assumed to have a higher priority of execution processing than the prefetch request of the machine language instruction.

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

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

そして、アドレスバスは監視回路23により空き状態であ
ることが確認されると、監視回路23は開始回路27を指示
して、物理アドレスレジスタ21に保持された物理アドレ
スでメモリ25がアクセスされて、メモリオベランドの読
出し要求が実行される。
Then, when the monitoring circuit 23 confirms that the address bus is empty, the monitoring circuit 23 instructs the start circuit 27 to access the memory 25 with the physical address held in the physical address register 21, A read request for the memory overlay is executed.

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

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

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

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

[発明の構成] (問題点を解決するための手段) 上記目的を達成するために、この発明は、アドレスバス
を占有する優先順位が異なる複数の実効アドレスを発生
するアドレス発生手段と、前記アドレス発生手段によっ
て順次発生された実効アドレスを、発生順に物理アドレ
スに変換する変換手段と、前記変換手段によって順次得
られた複数の物理アドレスを優先順位毎にそれぞれ格納
する格納手段と、前記変換手段によって順次得られた物
理アドレスを前記格納手段に転送する転送手段と、アド
レスバスの使用状態を監視してアドレスバスが空き状態
になると、前記格納手段に格納された複数の物理アドレ
スの中から優先順位にしたがって物理アドレスを選択し
てメモリに供給するアドレス供給手段とから構成され
る。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention relates to an address generating means for generating a plurality of effective addresses having different priorities for occupying an address bus, and the address. A conversion unit that converts the effective addresses sequentially generated by the generation unit into physical addresses in the generation order, a storage unit that stores a plurality of physical addresses sequentially obtained by the conversion unit for each priority, and a conversion unit. Transfer means for sequentially transferring the obtained physical addresses to the storage means, and when the use state of the address bus is monitored and the address bus becomes empty, the priority order is selected from the plurality of physical addresses stored in the storage means. And an address supply means for selecting a physical address and supplying it to the memory.

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

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

第1図はこの発明の一実施例に係るアドレス制御回路の
構成を示すブロック図である。同図に示すアドレス制御
回路は、第3図に示したアドレス制御回路と同様に、機
械語命令の先取り用のメモリアドレス及び、機械語命令
におけるメモリオペランドの読出し,書込みを行なうメ
モリオペランドの読出し,書込みを行なうメモリアドレ
スを制御するものである。さらに、この実施例のアドレ
ス制御回路は、優先順位の異なるそれぞれのメモリアク
セスを行なうためのそれぞれの物理アドレスを予め算出
して、それぞれの物理アドレスを別々に格納保持し、ア
ドレスバスが空き状態にある時に、直ちに格納保持され
た物理アドレスでメモリアクセスが行なわれるようにし
たものである。
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 the figure has a memory address for prefetching a machine language instruction, a memory operand read in the machine language instruction, and a memory operand read for writing. It controls the memory address for writing. Further, the address control circuit of this embodiment calculates in advance the respective physical addresses for accessing the respective memories having different priorities, stores and holds the respective physical addresses separately, and makes the address bus empty. At a certain time, the memory access is immediately performed by the physical address stored and held.

第1図にあって、第3図と同符号のものは同一機能を有
するものであり、その説明は省略する。したがって、実
効アドレスが発生してこの実効アドレスに対応した物理
アドレスが算出される過程は、第3図に示したアドレス
制御回路と同様である。第1図において、格納保持部27
は、優先順位の異なるそれぞれのメモリアクセスを行な
うためのそれぞれの物理アドレスを格納保持し、アドレ
スバスの使用状態及びメモリアクセスの優先順位を判断
して、格納保持された物理アドレスでメモリ25をアクセ
スするものである。この格納保持部27は、切換回路29,3
7、切換制御回路31、第1物理アドレスレジスタ33、第
2物理アドレスレジスタ35、切換回路37、指示回路39と
から構成されている。
In FIG. 1, the same reference numerals as those in FIG. 3 have the same functions, and the description thereof will be omitted. Therefore, the process of generating an effective address and calculating the physical address corresponding to this effective address is the same as that of the address control circuit shown in FIG. In FIG. 1, the storage holding unit 27
Stores and holds respective physical addresses for performing respective memory accesses having different priorities, determines the use state of the address bus and the priority order of memory access, and accesses the memory 25 with the stored and held physical addresses. To do. The storage / holding unit 27 includes switching circuits 29, 3
7, a switching control circuit 31, a first physical address register 33, a second physical address register 35, a switching circuit 37, and an instruction circuit 39.

切換回路29は、ベース加算器19で算出された機械語命令
におけるメモリオペランドの読出し,書込み要求を行な
うための物理アドレス(以下「第1物理アドレス」と呼
ぶ)、あるいは機械語命令の先取りを行なうための物理
アドレス(以下「第2物理アドレス」と呼ぶ)を切換え
て、第1物理アドレスを第1物理アドレスレジスタ33に
供給し、第2物理アドレスを第2物理アドレスレジスタ
35に供給するものである。
The switching circuit 29 performs a physical address (hereinafter referred to as "first physical address") for making a read / write request of a memory operand in the machine language instruction calculated by the base adder 19 or prefetching a machine language instruction. A physical address (hereinafter, referred to as “second physical address”) for supplying the first physical address to the first physical address register 33, and the second physical address to the second physical address register.
Supply to 35.

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

第1物理アドレスレジスタ33は、ベース加算器19ら切換
回路29を介して第1物理アドレスを受けて、この第1物
理アドレスを一時的に保持するものである。第2物理ア
ドレスレジスタ35は、ベース加算器19から切換回路29を
介して第2物理アドレスを受けて、この第2物理アドレ
スを一時的に保持するものである。
The first physical address register 33 receives the 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 the 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 the respective physical addresses held in the respective address registers to the memory 25.

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

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

第2図は第1図に示したアドレス制御回路のタイミング
チャートであり、同図において、機械語命令中のメモリ
オペランドの読出しあるいは書込み処理をα、次のメ
モリオペランドの読出しあるいは書込み処理をα、機
械語命令の先取り処理をβとし、実効アドレスから物理
アドレスへの変換に1クロックを要し、物理アドレスに
よるメモリアクセスに2クロックを要するものとする。
また、機械語命令中のメモリオペランドの読出し,書込
みに伴なうメモリアクセスは、機械語命令の先取りに伴
なうメモリアクセスより優先順位が高いものとする。
FIG. 2 is a timing chart of the address control circuit shown in FIG. 1 , in which the read or write processing of the memory operand in the machine language instruction is α 1 , and the read or write processing of the next memory operand is α 1 . 2. It is assumed that the prefetching process of the machine language instruction is β, that it takes 1 clock to convert the effective address to the physical address, and 2 clocks to access the memory by the physical address.
The memory access associated with the reading and writing of the memory operand in the machine language instruction has a higher priority than the memory access associated with the prefetching of the machine language instruction.

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

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

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

第1物理アドレスレジスタ33に格納保持された第1物理
アドレスは、指示回路39がアドレスバスが空き状態であ
ることを判断して切換回路37に指示すると、第3及び第
4クロックで切換回路37を介してメモリ25に供給され
る。これにより、第1物理アドレスでメモリ25がアクセ
スされて、メモリオペランドの読出しαが行なわれ
る。
The first physical address stored and held in the first physical address register 33 is instructed by the instruction circuit 39 to the switching circuit 37 when it determines that the address bus is empty, and then switches to the switching circuit 37 at the third and fourth clocks. Is supplied to the memory 25 via. As a result, the memory 25 is accessed at the first physical address and the memory operand read α 1 is performed.

また、第2クロックで変換された第2物理アドレスは、
第3クロックで第2物理アドレスレジスタ35に転送され
て格納保持される。さらに、機械語命令の先取りβの次
にメモリオペランドの読出しαがあるので、このメモ
リオペランドの読出しαの実効アドレスが、第3クロ
ックで第1物理アドレスに変換され、この第1物理アド
レスは、第4クロックで第1物理アドレスレジスタ33に
転送されて格納保持される。
Also, the second physical address converted by the second clock is
It is transferred to the second physical address register 35 at the third clock and stored and held. Further, since the prefetching β of the machine language instruction is followed by the reading α 2 of the memory operand, the effective address of the reading α 2 of this memory operand is converted into the first physical address at the third clock, and the first physical address is converted. Are transferred to the first physical address register 33 at the fourth clock and are stored and held.

ここで、機械語命令中のオペランドの読出し,書込み
は、機械語命令の先取りよりも優先順位が高いので、第
1物理アドレスレジスタ33に格納保持されている第1物
理アドレスは、第5及び第6クロックでメモリ25に供給
されて、メモリアクセスが行なわれる。そして、この第
1物理アドレスでのメモリアクセスが終了した後、第2
物理アドレスレジスタ35に格納保持されている第2物理
アドレスは、第7及び第8クロックでメモリ25に供給さ
れ、メモリアクセスが行なわれ、機械語命令の先取りβ
が行なわれる。
Here, since reading and writing of the operand in the machine language instruction has a higher priority than the prefetch of the machine language instruction, the first physical address stored and held in the first physical address register 33 is the fifth physical address and the fifth physical address. It is supplied to the memory 25 in 6 clocks and memory access is performed. Then, after the memory access at the first physical address is completed, the second
The second physical address stored and held in the physical address register 35 is supplied to the memory 25 at the seventh and eighth clocks for memory access and prefetching β of the machine language instruction.
Is performed.

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

なお、この実施例においては、優先順位の異なるメモリ
アクセスが2種類の場合であるが、これに限定されるも
のではなく、優先順位の異なるメモリアクセスが2種類
以上の場合には、その種類と同じだけメモリアクセス行
なう物理アドレスを格納保持するレジスタを用意すれば
よい。
In this embodiment, there are two types of memory accesses having different priorities, but the present invention is not limited to this, and when there are two or more types of memory accesses having different priorities, the types of memory access are different. It suffices to prepare a register for storing and holding physical addresses for the same memory access.

[発明の効果] 以上説明したように、この発明によれば、優先順位の異
なるメモリアクセスを行なうための物理アドレスを優先
順位にかかわらず算出し、それぞれ優先順位毎に別々に
格納保持して、優先順位にしたがってメモリアクセスを
行なうようにしたので、優先順位の高いメモリアクセス
が終了した直後に優先順位の低いメモリアクセスを行な
うことが可能となる。これにより、アドレスバスの使用
効率が向上して、メモリアクセスを伴なう実行処理を高
速に行うことができる。
[Effects of the Invention] As described above, according to the present invention, physical addresses for memory accesses having different priorities are calculated regardless of the priorities, and the physical addresses are stored and held separately for each priority. Since the memory access is performed according to the priority order, the memory access with the low priority order can be performed immediately after the memory access with the high priority order is completed. As a result, the use efficiency of the address bus is improved, and the execution process involving memory access can be performed at high speed.

【図面の簡単な説明】[Brief description of drawings]

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

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭48−91943(JP,A) 特開 昭49−131649(JP,A) 特開 昭50−128948(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-48-91943 (JP, A) JP-A-49-131649 (JP, A) JP-A-50-128948 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】アドレスバスを占有する優先順位が異なる
複数の実効アドレスを発生するアドレス発生手段と、 前記アドレス発生手段によって順次発生された実効アド
レスを、発生順に物理アドレスに変換する変換手段と、 前記変換手段によって順次得られた複数の物理アドレス
を優先順位毎にそれぞれ格納する格納手段と、 前記変換手段によって順次得られた物理アドレスを前記
格納手段に転送する転送手段と、 アドレスバスの使用状態を監視してアドレスバスが空き
状態になると、前記格納手段に格納された複数の物理ア
ドレスの中から優先順位にしたがって物理アドレスを選
択してメモリに供給するアドレス供給手段と を有することを特徴とするアドレス制御回路。
1. An address generating means for generating a plurality of effective addresses occupying an address bus and having different priorities, and a converting means for converting the effective addresses sequentially generated by the address generating means into physical addresses in the order of generation. Storage means for respectively storing a plurality of physical addresses sequentially obtained by the conversion means for each priority order, transfer means for transferring the physical addresses sequentially obtained by the conversion means to the storage means, and use state of the address bus And an address supply means for selecting a physical address from a plurality of physical addresses stored in the storage means in accordance with the priority and supplying it to the memory when the address bus becomes free. Address control circuit.
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 JPS6382537A (en) 1988-04-13
JPH0754499B2 true 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)

Family Cites Families (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
JPS6382537A (en) 1988-04-13

Similar Documents

Publication Publication Date Title
JP3776449B2 (en) Multitasking low power controller
US6253290B1 (en) Multiprocessor system capable of circumventing write monitoring of cache memories
JP3803196B2 (en) Information processing apparatus, information processing method, and recording medium
JP3088303B2 (en) Cache memory bank controller
JP2004516547A (en) Suspension control device
JP7468112B2 (en) INTERFACE CIRCUIT AND METHOD FOR CONTROLLING INTERFACE CIRCUIT - Patent application
JP2003281084A (en) Microprocessor for efficiently accessing external bus
JPH0754499B2 (en) Address control circuit
JP2618223B2 (en) Single chip microcomputer
TW448361B (en) Data switching system and method using bandwidth management unit to reduce data traffic
EP0510617B1 (en) Data processing apparatus with high-speed "macroservice" interrupt
JP2000227895A (en) Device and method for transferring image data
JP3043341B2 (en) Microcomputer system
JP3691213B2 (en) Processor and memory access method
JPH11184761A (en) Read modify write control system
JPH0449457A (en) Direct memory access transfer control device
JPH10507548A (en) Data processing systems and methods and communication systems with such systems
JPH0133862B2 (en)
JP2004021713A (en) Semiconductor storage device
JP2001014214A (en) Method for sharing memory and multiprocessor facility using this method
JPS6231382B2 (en)
JPS6143741B2 (en)
JPH1055303A (en) Memory system
JPH0156418B2 (en)
JPH11115258A (en) Apparatus and method for controlling output