JPS61234437A - Data prefetch device - Google Patents
Data prefetch deviceInfo
- Publication number
- JPS61234437A JPS61234437A JP7560485A JP7560485A JPS61234437A JP S61234437 A JPS61234437 A JP S61234437A JP 7560485 A JP7560485 A JP 7560485A JP 7560485 A JP7560485 A JP 7560485A JP S61234437 A JPS61234437 A JP S61234437A
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory access
- signal
- data buffer
- buffer
- 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
Links
- 230000015654 memory Effects 0.000 claims abstract description 34
- 239000000872 buffer Substances 0.000 claims abstract description 28
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3824—Operand accessing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3824—Operand accessing
- G06F9/383—Operand prefetching
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Advance Control (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、データバッファを有してなるマイクロプログ
ラム制御方式のデータ先取り装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a microprogram-controlled data prefetching device having a data buffer.
従来の技術
従来のデータ先取シ装置としては、例えば特開昭58−
48146号公報に示されている。BACKGROUND OF THE INVENTION Conventional data preemption devices include, for example, Japanese Patent Application Laid-open No. 1986-
It is shown in Japanese Patent No. 48146.
第2図はこの従来のデータ先取り装置のブロック図を水
子ものであり、1は先取りした命令またはデータを格納
するデータバッファ、2は先取シしたマイクロ命令を実
行するマイクロプログラムが格納されているマイクロプ
ログラム制御部、3はマイクロ命令の内容をデコードし
メモリアクセス等マイクロ命令実行のための各種コント
ロール信号を出力するデコーダ、4は先取シしたデータ
やマイクロ命令のメモリアクセスによシ得られたデータ
を処理する実行部、5は外部メモリに対するデータ先取
りとマイクロ命令のメモリアクセスを制御するバスタイ
ミング制御回路、6は先取りした命令またはデータの流
れを示す先取データバス、7はマイクロ命令のメモリア
クセス時のデ−タの流れを示すデータバス、8は外部バ
ス、9はデータバッファ1が空であることを示すEMP
信号(空の時″1つ、1oはマイクロ命令のメモリアク
セス要求を示すRWOP信号(要求時に1″)である。Fig. 2 is a block diagram of this conventional data prefetching device, in which 1 is a data buffer that stores the prefetched instruction or data, and 2 is a microprogram that executes the prefetched microinstruction. Microprogram control section 3 is a decoder that decodes the contents of microinstructions and outputs various control signals for executing microinstructions such as memory access; 4 is prefetched data and data obtained by memory access of microinstructions; 5 is a bus timing control circuit that controls prefetching of data to external memory and memory access of microinstructions; 6 is a prefetching data bus indicating the flow of prefetched instructions or data; 7 is a memory access time of microinstructions; 8 is an external bus, and 9 is an EMP indicating that data buffer 1 is empty.
The signal ("1" when empty, 1o is the RWOP signal (1" when requested) indicating a memory access request of a microinstruction.
以上のように構成された従来のデータ先取り装置におい
ては、前記EMP信号が0″の時は、バスタイミング制
御回路は、マイクロ命令がメモリアクセス命令(RWO
P信号が1”)の時メモリアクセスを起動し、実行部4
の所望のレジスタと外部メモリ間でデータバス7を介し
てデータの読み書きを行なう。また前記EMP信号が1
”の時は、データ先取シサイクルを起動し、データバッ
ファ1に先取シデータを格納する。In the conventional data prefetching device configured as described above, when the EMP signal is 0'', the bus timing control circuit recognizes that the microinstruction is a memory access instruction (RWO).
When the P signal is 1"), memory access is activated and the execution unit 4
Data is read and written between a desired register and an external memory via a data bus 7. Also, the EMP signal is 1
”, the data pre-fetch cycle is activated and the pre-fetch data is stored in the data buffer 1.
発明が解決しようとする問題点
しかしながら上記のような構成では、データバッファ1
が空の時(EMP信号が11の時)は、バスタイミング
制御回路は必ずデータ先取りサイクルを起動するため、
マイクロ命令がメモリアクセス命令の場合、データバッ
ファ1のデータを消費するか否かにかかわらず命令の実
行が待たされるという問題点を有していた。Problems to be Solved by the Invention However, in the above configuration, the data buffer 1
When the bus timing control circuit is empty (when the EMP signal is 11), the bus timing control circuit always starts a data prefetch cycle.
When the microinstruction is a memory access instruction, there is a problem in that the execution of the instruction is delayed regardless of whether the data in the data buffer 1 is consumed or not.
本発明はかかる点に鑑み、効率の良いマイクロ命令の実
行が行なえるデータ先取り装置を提供することを目的と
する。In view of the above, an object of the present invention is to provide a data prefetching device that can efficiently execute microinstructions.
問題点を解決するための手段
本発明は、マイクロ命令のメモリアクセス命令にデータ
バッファを消費するか否かの情報と、データバッファと
バスタイミング制御回路を備えたデータ先取り装置であ
る。Means for Solving the Problems The present invention is a data prefetching device that includes information as to whether or not a data buffer is consumed by a memory access command of a microinstruction, a data buffer, and a bus timing control circuit.
作用
本発明は上記した構成により、データバッファが空の状
態でマイクロ命令がメモリアクセス命令であっても、そ
のメモリアクセス命令がデータバッファを消費しない命
令であれば、メモリアクセス命令をバスタイミング制御
回路が起動することにより、マイクロ命令の不必要な実
行待ちが防げる0
実施例
第1図は本発明の一実施例におけるデータ先取シ装置の
ブロック図を示すものである。同図において第2図と同
様の機能のものはその番号の対応のみ示し説明は省略す
る。第1図の101は第2図の1に、104は4に、1
06は6に、107は7に、108は8に、109は9
に、110は1oに各々対応する。第2図において、1
02はメモリアクセス命令のマイクロ命令にデータバッ
ファ1o1のデータを消費するか否かの情報が含まれて
いるマイクロプログラム制御部、103は第2図のデコ
ーダ3の機能に加え、マイクロプログラム制御部からの
メモリアクセス命令が前記データバッファ101のデー
タを消費する場合、先取りデータ消費信号を発生するデ
コーダ、105はEMP信号109がal”の場合でも
前記先取りデータ消費信号の状態によって、ダイナミッ
クにデータ先取シサイクルと、メモリアクセスの優先順
位を変更する機能を有したバスタイミング制御回路、1
11は上記先取りデータ消費信号QCOMである。According to the above-described structure, even if the microinstruction is a memory access instruction when the data buffer is empty, if the memory access instruction does not consume the data buffer, the memory access instruction is transferred to the bus timing control circuit. Embodiment FIG. 1 is a block diagram of a data preemption device according to an embodiment of the present invention. In the figure, for the same functions as those in FIG. 2, only the corresponding numbers are shown and the explanation is omitted. 101 in Figure 1 is 1 in Figure 2, 104 is 4, 1
06 becomes 6, 107 becomes 7, 108 becomes 8, 109 becomes 9
, 110 corresponds to 1o, respectively. In Figure 2, 1
02 is a microprogram control unit that includes information as to whether or not the data in the data buffer 1o1 is consumed in the microinstruction of the memory access instruction; 103 is a microprogram control unit that has the functions of the decoder 3 shown in FIG. When a memory access command consumes data in the data buffer 101, a decoder 105 generates a prefetch data consumption signal, and a decoder 105 dynamically generates a data prefetch signal according to the state of the prefetch data consumption signal even when the EMP signal 109 is "al". Bus timing control circuit with function to change cycle and memory access priority, 1
11 is the prefetch data consumption signal QCOM.
以上のように構成された本実施例のデータ先取り装置に
ついて、以下その動作を説明する。The operation of the data prefetching device of this embodiment configured as described above will be described below.
前記EMP信号109がo”の時は、従来の動作と同様
にバスタイミング制御回路105は、データ先取りサイ
クルよシマイクロ命令のメモリアクセスを優先して起動
し、実行部104の所望のレジスタと外部メモリ間でデ
ータバス107を介してデータの読み書きを行なう。ま
た上記EMP信号109が1″の時は、バスタイミング
制御回路105はOCOM信号111が1#の時データ
先取りサイクルを優先して起動し、QCOM信号111
が0”の時マイクロ命令のメモリアクセスを優先して起
動する。When the EMP signal 109 is o'', the bus timing control circuit 105 gives priority to the data prefetch cycle and starts the memory access of the microinstruction, as in the conventional operation, and connects the desired register of the execution unit 104 with the external Data is read and written between memories via the data bus 107. Also, when the EMP signal 109 is 1'', the bus timing control circuit 105 starts the data prefetch cycle with priority when the OCOM signal 111 is 1#. , QCOM signal 111
When is 0'', priority is given to microinstruction memory access.
以上のように本実施例によれば、マイクロ命令のメモリ
アクセス命令にデータバッファを消費するか否かの情報
を加え、この情報を解釈するデコーダと、この情報によ
シデニタ先取りサイクルとマイクロ命令のメモリアクセ
スの優先順位をダイナミックに変更するバスタイミング
制御回路を設けることにより、メモリアクセス命令の不
必要な実行待ちが防げる。As described above, according to this embodiment, information on whether or not a data buffer is consumed is added to the memory access instruction of a microinstruction, and a decoder that interprets this information and a decoder that interprets this information, By providing a bus timing control circuit that dynamically changes memory access priorities, unnecessary waiting for execution of memory access instructions can be prevented.
発明の詳細
な説明したように、本発明によれば、データバッファの
消費を伴わないメモリアクセス命令はデータフェッチサ
イクルによって待たされることがなく、演算処理速度を
向上させることができ、その実用的効果は大きい。As described in detail, according to the present invention, memory access instructions that do not consume data buffers are not made to wait for data fetch cycles, and the arithmetic processing speed can be improved. is big.
第1図は本発明の一実施例のデータ先取り装置のブロッ
ク図、第2図は従来のデータ先取り装置のブロック図で
ある。
101 ・・・・・−テータハッ7ア、102・・・・
・・マイクロプログラム制御部、103・・・・・・デ
コーダ、104・・・・・・実行部、105・・・・・
・バスタイミング制御部、106・・・・・・先取りデ
ータバス、107・・・・・・データバス、108・・
・・・・外部バス、1o9・・・・・・データバッファ
空信号(EMP )、 11Q・・・・・・メモリアク
セス要求信号(RWOP)、111・・・・・・データ
バッファ消費信号(QCOM)。
代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図
〃8クレ部バ°スFIG. 1 is a block diagram of a data prefetching device according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional data prefetching device. 101...-Thetaha7a, 102...
... Microprogram control section, 103 ... Decoder, 104 ... Execution section, 105 ...
・Bus timing control unit, 106...preemption data bus, 107...data bus, 108...
...External bus, 1o9...Data buffer empty signal (EMP), 11Q...Memory access request signal (RWOP), 111...Data buffer consumption signal (QCOM) ). Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Figure 8 Cleave part bus
Claims (1)
ータバッファが空であることを示す第1の信号と、メモ
リアクセス命令が前記データバッファを消費するか否か
の情報を持つマイクロ命令と、前記マイクロ命令を解釈
しメモリアクセス要求を示す第2の信号及び前記データ
バッファを消費することを示す第3の信号を発生させる
デコーダと、前記第1、第2、第3の信号に従ってデー
タ先取りと前記マイクロ命令のメモリアクセスの優先順
位をダイナミックに変更するバスタイミング制御回路と
を備え、前記データバッファが空の場合でもデータバッ
ファ内のデータを消費しないメモリアクセス命令であれ
ば優先的に実行することを特徴とするデータ先取り装置
。A data buffer for storing prefetched data, a first signal indicating that the data buffer is empty, a microinstruction having information as to whether the memory access instruction consumes the data buffer, and the microinstruction. a decoder for interpreting and generating a second signal indicative of a memory access request and a third signal indicative of consuming the data buffer; and data prefetching and the microinstruction according to the first, second, and third signals. and a bus timing control circuit that dynamically changes the priority of memory access in the data buffer, and is characterized in that even if the data buffer is empty, memory access instructions that do not consume data in the data buffer are executed with priority. data prefetch device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7560485A JPS61234437A (en) | 1985-04-10 | 1985-04-10 | Data prefetch device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7560485A JPS61234437A (en) | 1985-04-10 | 1985-04-10 | Data prefetch device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61234437A true JPS61234437A (en) | 1986-10-18 |
Family
ID=13580976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7560485A Pending JPS61234437A (en) | 1985-04-10 | 1985-04-10 | Data prefetch device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61234437A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57137942A (en) * | 1981-02-19 | 1982-08-25 | Fuji Electric Co Ltd | Instruction advance-taking control system |
JPS6031646A (en) * | 1983-08-02 | 1985-02-18 | Nec Corp | Data processor |
-
1985
- 1985-04-10 JP JP7560485A patent/JPS61234437A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57137942A (en) * | 1981-02-19 | 1982-08-25 | Fuji Electric Co Ltd | Instruction advance-taking control system |
JPS6031646A (en) * | 1983-08-02 | 1985-02-18 | Nec Corp | Data processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6230279B1 (en) | System and method for dynamically controlling processing speed of a computer in response to user commands | |
JP4601958B2 (en) | Method and apparatus for suspending execution of thread until specified memory access occurs | |
US5584031A (en) | System and method for executing a low power delay instruction | |
US4949241A (en) | Microcomputer system including a master processor and a slave processor synchronized by three control lines | |
US5822779A (en) | Microprocessor-based data processing apparatus that commences a next overlapping cycle when a ready signal is detected not to be active | |
US5887129A (en) | Asynchronous data processing apparatus | |
US5442769A (en) | Processor having general registers with subdivisions addressable in instructions by register number and subdivision type | |
JPH0916409A (en) | Microcomputer | |
JPS61234437A (en) | Data prefetch device | |
US5327537A (en) | Apparatus for controlling instruction execution in a pipelined processor | |
US5321842A (en) | Three-state driver with feedback-controlled switching | |
US5278959A (en) | Processor usable as a bus master or a bus slave | |
US5828861A (en) | System and method for reducing the critical path in memory control unit and input/output control unit operations | |
JP2636074B2 (en) | Microprocessor | |
JPS61133439A (en) | Instruction advance fetch control system | |
JP3900660B2 (en) | Sequence controller | |
JPH0795288B2 (en) | Microcomputer | |
JPH08249022A (en) | Multiprocessor arithmetic unit and programmable controller having the arithmetic unit | |
JPS63155254A (en) | Information processor | |
JPS60193046A (en) | Detecting system for instruction exception | |
JPH02133833A (en) | Controller for in-circuit emulator | |
JPS58205258A (en) | Data processor | |
JPH04311225A (en) | System for executing microprocessor instruction | |
JPS62151936A (en) | Cache circuit built in microprocessor | |
JPS63148329A (en) | Instruction prefetch control system |