JPS6261124A - Control system for instruction execution cycle - Google Patents

Control system for instruction execution cycle

Info

Publication number
JPS6261124A
JPS6261124A JP20096585A JP20096585A JPS6261124A JP S6261124 A JPS6261124 A JP S6261124A JP 20096585 A JP20096585 A JP 20096585A JP 20096585 A JP20096585 A JP 20096585A JP S6261124 A JPS6261124 A JP S6261124A
Authority
JP
Japan
Prior art keywords
cycle
instruction
mode
machine
machine cycle
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
JP20096585A
Other languages
Japanese (ja)
Inventor
Kazeo Sugiyama
杉山 風夫
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP20096585A priority Critical patent/JPS6261124A/en
Publication of JPS6261124A publication Critical patent/JPS6261124A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02BINTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
    • F02B75/00Other engines
    • F02B75/02Engines characterised by their cycles, e.g. six-stroke
    • F02B2075/022Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle
    • F02B2075/025Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle two

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To make it possible to change the time of one machine cycle on the basis of user selection using an MPU by changing the period of reference clocks by mode setting and forming a mode for executing all instruction format in one cycle mode. CONSTITUTION:The titled system is constituted of a function block, a NOR 18a finding out the NOR conditions of three input signals from AND circuits 14, 17 and a mode setting part 21 and the mode setting part 21 for setting up a machine cycle mode. When a slow I/O interface or the like to be driven only when one machine cycle outputted from the MPU is 1musec is to be controlled, one machine cycle of a reference clock is set up to 1musec and a condition for cancelling the output of a signal for varying the machine cycle time based upon an two cycle instruction and a three cycle instruction developed by a decoder is set up by the mode setting part 21, so that all instructions can be driven in the machine cycle of 1musec.

Description

【発明の詳細な説明】 〔概要〕 命令実行サイクル制御方式であって、マイクロプロセッ
サ(以下MPUと称する)から送出されるマシンクロッ
クを所定周期からなる基本タロツクをもとにして、命令
形態により命令実行サイクル数を可変していたのに対し
て、前記基本クロックの周期をモード設定により変更し
、1サイクルモードで全ての命令形態を実行するモード
を設けることで、MPUを使用するユーザ選択により1
マシンサイクルの時間の可変も可能となり、より効率的
なMPUが提供可能となる。
[Detailed Description of the Invention] [Summary] This is an instruction execution cycle control method that executes instructions according to the instruction format based on a basic clock consisting of a predetermined cycle of the machine clock sent from a microprocessor (hereinafter referred to as MPU). In contrast to the previous method where the number of execution cycles was variable, by changing the period of the basic clock by mode setting and providing a mode in which all instruction forms are executed in one cycle mode, the number of execution cycles can be changed by changing the number of execution cycles depending on the user selection of the MPU.
It is also possible to vary the machine cycle time, making it possible to provide a more efficient MPU.

〔産業上の利用分野〕[Industrial application field]

本発明は、MPUの命令サイクル数をユーザの選択によ
り可変とし、効率の良いMPUの使用形態を提供する命
令実行サイクル制御方式に関する。
The present invention relates to an instruction execution cycle control method that allows the number of instruction cycles of an MPU to be varied according to a user's selection and provides an efficient MPU usage pattern.

MPtlの能力、性能は命令の実行時間に依存する。The ability and performance of MPtl depend on the instruction execution time.

例えば、高速の直接アクセス記憶装置(以下DASDと
称する)を制御するようなMPUは高い性能が要求され
、それに応じて実行時間の短縮化が図られる。
For example, an MPU that controls a high-speed direct access storage device (hereinafter referred to as DASD) is required to have high performance, and the execution time must be shortened accordingly.

例えば、1サイクルの時間が100nsで動作出来る高
性能なMPUがある場合、それぞれの命令に応じて2サ
イクル(200ns)、  3サイクル(300ns)
で動作出来るプロセッサとして使用するのが通例となっ
ている。
For example, if you have a high-performance MPU that can operate in one cycle time of 100 ns, it will take 2 cycles (200 ns) or 3 cycles (300 ns) depending on each instruction.
It is customary to use it as a processor that can operate on.

これはプロセッサで制御される外部装置の動作が高速で
、プロセッサがその動作(例えば、DASD制御)に応
じるためには、そのプロセッサの限界値で動作する場合
には有効である。
This is effective when the external device controlled by the processor operates at high speed and the processor operates at its limits in order to respond to that operation (for example, DASD control).

しかし、例えば外部装置の動作がそんな高速性を必要と
せず、■サイクルの時間が100nsでなくとも良い場
合がある。即ち、例えば低速のIloのインタフェース
を制御する場合に、インタフェースの動作が低速で1マ
シンサイクルが1μSECでなければ外部装置内回路が
動作しきれないので1μSECにすると言うユーザもあ
る。
However, for example, there are cases where the operation of an external device does not require such high speed, and the cycle time (2) does not need to be 100 ns. That is, for example, when controlling a low-speed Ilo interface, some users prefer to set it to 1 μSEC because the interface operates at a low speed and if one machine cycle does not take 1 μSEC, the circuits within the external device cannot operate.

このような場合、MPUの能力としては全ての命令が1
μSEC以内で動作可能であるにもかかわらず、命令形
態により1マシンサイクル(1μ5EC)、2マシンサ
イクル(2μSEC) 、3マシンサイクル(3μSE
C)となり、効率が良くない。
In such a case, the MPU's capacity is that all instructions are 1
Although it is possible to operate within μSEC, depending on the instruction format, it may take 1 machine cycle (1μ5EC), 2 machine cycles (2μSEC), or 3 machine cycles (3μSE
C), which is not efficient.

上記のような高速な外部2置にも対応出来、低速な外部
装置にも対応出来るような効率的なマシンサイクルを設
定出来るMPUの実現が期待されている。
It is expected to realize an MPU that can set efficient machine cycles that can support two high-speed external devices as described above and can also support low-speed external devices.

〔従来の技術と発明が解決しようとする問題点〕第3図
は従来例を説明するブロック図、第4図はマシンクロフ
タの状況を説明する図、第5図は命令形態を説明する図
をそれぞれ示す。
[Prior art and problems to be solved by the invention] Figure 3 is a block diagram explaining the conventional example, Figure 4 is a diagram explaining the situation of the machine crofter, and Figure 5 is a diagram explaining the instruction form. show.

通常、MPUIにセントされる命令インストラクション
(命令形態)11は、例えばその−例として第5図に示
すようにインストラクションフォーマットを示すFMT
、演算の種類を示すALU 、 MPUIで直接制御さ
れるハードウェアに対するオペレーション命令であるス
ペシャルオペレーションを示す5POP1外部レジスタ
アドレスを示すXR1内部レジスタアドレスを示すIR
とからなっている。
Normally, the command instruction (instruction format) 11 sent to the MPUI is, for example, an FMT instruction format as shown in FIG.
, ALU indicating the type of operation, IR indicating the XR1 internal register address indicating the 5 POP1 external register address indicating a special operation which is an operation instruction for hardware directly controlled by the MPUI.
It consists of

命令インストラクション(命令形態)11により実行さ
れるMPUIの実行時間は、基本クロック(11の1周
期を1マシンサイクルとし、命令の種類により決められ
ている。
The execution time of the MPUI executed by the instruction instruction (instruction form) 11 is determined by the type of instruction, with one period of the basic clock (11) being one machine cycle.

例えば、内部レジスタ演算は1サイクル(4)、外部レ
ジスタ演算は2サイクル(5)、メモリに対するフェッ
チ/ストアは3サイクル(6)と言うように、各々の命
令によりマシンサイクル数が異なる。
For example, the number of machine cycles varies depending on each instruction, such as 1 cycle (4) for internal register operation, 2 cycles (5) for external register operation, and 3 cycles (6) for fetch/store to memory.

即ち、命令インストラクション(命令形B) 11のF
MTをデコーダ12でデコードし、2サイクル命令(5
)又は3サイクル命令(6)を展開する。
That is, command instruction (command form B) 11 F
MT is decoded by the decoder 12 and a 2-cycle instruction (5
) or expand the 3-cycle instruction (6).

2サイクル命令(5)が展開された場合は、第4図に示
す例えば基本クロック(1)の0部分をインヒビットす
る信号がフリップ・フロップ(以下F、Fと称する)1
3とAND14とで作成され、所定信号をN。
When the 2-cycle instruction (5) is expanded, the signal shown in FIG.
3 and AND14, and the predetermined signal is N.

R18,N0T20を介しててAN[119に送出する
Send to AN[119 via R18 and N0T20.

一方、AND19のもう1つの端子には基本クロック(
1)が入力し、このAND19の論理積条件によりHP
olのマシンクロック(3)である2サイクル命令(5
)が作成され、送出される。
On the other hand, the other terminal of AND19 is connected to the basic clock (
1) is input, and by the logical product condition of AND19, HP
ol's machine clock (3) is a two-cycle instruction (5
) is created and sent.

尚、3サイクル命令(6)の場合もF、F15.F、F
16及ヒAND17 とにより0置■部分をインヒビッ
トする信号がN0R18,N0T20を介しててAND
19に送出され、マシンクロック(3)である3サイク
ル命令(6)が作成され、送出される。
In addition, in the case of 3-cycle instruction (6), F, F15. F, F
16 and H AND17 The signal that inhibits the 0 position part is ANDed through N0R18 and N0T20.
19, a 3-cycle instruction (6) which is a machine clock (3) is created and sent out.

これら2サイクル命令(5)及び3サイクル命令(6)
を必要とする理由としては、MPUIの性能を決定する
時の内部のハードウェアの動作時間がその要因となって
いる。
These two-cycle instructions (5) and three-cycle instructions (6)
The reason why this is necessary is that the operating time of the internal hardware is a factor in determining the performance of the MPUI.

以上のようなMPUIをユーザが使用する場合、図示し
てない外部回路の動作条件により、2サイクル命令(5
)及び3サイクル命令(6)にて1マシンサイクルの時
間を可変することは可能であるが、命令実行時間(命令
実行サイクル数)を可変することが不可能であった。
When a user uses the MPUI described above, depending on the operating conditions of the external circuit (not shown), two-cycle instructions (5
) and 3-cycle instructions (6), it is possible to vary the time of one machine cycle, but it is impossible to vary the instruction execution time (number of instruction execution cycles).

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の詳細な説明するブロック図を示す。 FIG. 1 shows a block diagram illustrating the invention in detail.

本ブロック図は第3図で説明した機能ブロック(但し、
N0R18を除く)と、 八ND14.17及びモード設定部21からの3つの入
力信号のNOR条件を取るN0R18aと、マシンサイ
クルモードの設定を行うモード設定部21とから構成さ
れている。
This block diagram shows the functional blocks explained in Figure 3 (however,
(excluding N0R18), N0R18a which takes the NOR condition of three input signals from 8ND14.17 and mode setting section 21, and mode setting section 21 which sets the machine cycle mode.

〔作用〕[Effect]

例えば、MPLIから出力される1マシンサイクルが1
μSECでなければ動作しない低速のI10インタフェ
ース等を制御する場合、基本クロックの1マシンサイク
ルを1μSECとし、又このような低速の場合はデコー
ダで展開される2サイクル命令及び3サイクル命令によ
るマシンサイクル時間を可変する信号の出力はキャンセ
ルするような条件をモード設定部で設定し、全ての命令
を1μSECのマシンサイクルで動作させることが出来
る効率的なMPtlが提供可能となる。
For example, one machine cycle output from MPLI is one
When controlling a low-speed I10 interface that can only operate with μSEC, one machine cycle of the basic clock is 1 μSEC, and in such a low-speed case, the machine cycle time is determined by the 2-cycle and 3-cycle instructions developed by the decoder. By setting a condition in the mode setting unit to cancel the output of a signal that varies the , it becomes possible to provide an efficient MPtl that can operate all instructions in a machine cycle of 1 μSEC.

〔実施例〕〔Example〕

以下本発明の要旨を第2図に示す実施例により具体的に
説明する。
The gist of the present invention will be specifically explained below with reference to an embodiment shown in FIG.

第2図は本発明の詳細な説明するプロ・ツク図を示す。FIG. 2 shows a detailed diagram of the invention.

尚、全図を通じて同一符号は同一対象物を示す。Note that the same reference numerals indicate the same objects throughout the figures.

第2図に示すモード設定部21は設定端子a −cによ
り低速モードと、通常モードとの2つのモード設定が可
能であり、設定端子a、bを短絡させて低速モードに設
定した場合は、その出力は常に“1”レベルとなり、又
設定端子a、cを短絡させて通常モードに設定した場合
は、その出力は常に“0”レベルが送出されるものとす
る。
The mode setting section 21 shown in FIG. 2 can set two modes, a low speed mode and a normal mode, by setting terminals a to c. When setting the low speed mode by shorting the setting terminals a and b, The output is always at the "1" level, and when the setting terminals a and c are short-circuited to set the normal mode, the output is always at the "0" level.

一方、N0R18aは3つの入力が全てO”レベルの時
“1”レベルが送出され、1つでも“1“レベルがある
場合は“0”レベルが送出される。従って、モード設定
部21を低速モードに設定した場合はAND19の一方
の入力端子には常に“1”レベルが送出されていること
になる。
On the other hand, the N0R18a sends out the "1" level when all three inputs are at the O" level, and if even one has the "1" level, the "0" level is sent out. Therefore, the mode setting section 21 is set to a low speed. When set to the mode, "1" level is always sent to one input terminal of AND19.

これにより、全ての命令に対して基本クロック(1)の
1マシンサイクル(例えば、1μSEC)が肝U1のマ
シンクロック(3)として送出されることになる。
As a result, one machine cycle (for example, 1 μSEC) of the basic clock (1) is sent out as the machine clock (3) of the liver U1 for all instructions.

尚、2サイクル命令(5)及び3サイクル命令(6)の
展開を生かしたい場合は、通常モードに設定すると第4
図に示すように、2サイクル命令(5)及び3サイクル
命令(6)による出力信号(“1”レベルが出力される
)で■及び■、■をインヒビ・7トしたマシンクロック
(3)が送出される。
If you want to take advantage of the expansion of 2-cycle instructions (5) and 3-cycle instructions (6), set the normal mode to the 4th
As shown in the figure, the machine clock (3) inhibits ■, ■, and ■ with the output signals (“1” level is output) from the 2-cycle instruction (5) and the 3-cycle instruction (6). Sent out.

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

以上のような本発明によれば、低速のマシンクロックが
必要な場合は、全ての命令を低速のマシンクロックで動
作させることが出来るため、効率的なFIpuが提供出
来ると言う効果がある。
According to the present invention as described above, when a low-speed machine clock is required, all instructions can be operated with the low-speed machine clock, so that an efficient FIPU can be provided.

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

第1図は本発明の詳細な説明するブロック図、第2図は
本発明の詳細な説明するブロック図、第3図は従来例を
説明するブロック図、第4図はマシンクロックの状況を
説明する図、第5図は命令形態を説明する図、 をそれぞれ示す。 図において、 1はMPU 。 11は命令インストラクション部、 12はデコーダ、      13.15.16はF、
F 。 14、17.19はAND 、      18.18
aはNOR。 20はNOT、        21はモード設定部、
をそれぞれ示す。 7シンクOツ7f)状jLヒ4Lロ月庫5図弼4図 今今形帖?税萌オう図 第 5 図
Fig. 1 is a block diagram explaining the present invention in detail, Fig. 2 is a block diagram explaining the present invention in detail, Fig. 3 is a block diagram explaining the conventional example, and Fig. 4 explains the situation of the machine clock. FIG. 5 is a diagram explaining the instruction form. In the figure, 1 is MPU. 11 is an instruction instruction section, 12 is a decoder, 13.15.16 is F,
F. 14, 17.19 is AND, 18.18
a is NOR. 20 is NOT, 21 is a mode setting section,
are shown respectively. 7 sink Otsu 7f) like jLhi 4L ro month storage 5 drawing 2 4 drawing now now Kata book? Tax diagram Figure 5

Claims (1)

【特許請求の範囲】 命令形態により命令実行サイクル数が異なるマイクロプ
ロセッサにおいて、 前記マイクロプロセッサ(1)により制御される装置に
対する該命令実行サイクル数が命令形態により異なるよ
うな通常モードと、全ての命令形態を1サイクル命令で
行うような低速モードとに設定することが出来るモード
設定手段(21)を設け、前記マイクロプロセッサ(1
)により制御される該装置に対応して1サイクル命令時
間を可変することを特徴とする命令実行サイクル制御方
式。
[Scope of Claims] In a microprocessor in which the number of instruction execution cycles differs depending on the instruction format, there is a normal mode in which the number of instruction execution cycles for a device controlled by the microprocessor (1) varies depending on the instruction format, and a normal mode in which the number of instruction execution cycles differs depending on the instruction format; A mode setting means (21) is provided which can set the mode to a low speed mode such as one-cycle instruction, and the microprocessor (1)
1. An instruction execution cycle control method characterized in that the one-cycle instruction time is varied in accordance with the device controlled by the system.
JP20096585A 1985-09-11 1985-09-11 Control system for instruction execution cycle Pending JPS6261124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20096585A JPS6261124A (en) 1985-09-11 1985-09-11 Control system for instruction execution cycle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20096585A JPS6261124A (en) 1985-09-11 1985-09-11 Control system for instruction execution cycle

Publications (1)

Publication Number Publication Date
JPS6261124A true JPS6261124A (en) 1987-03-17

Family

ID=16433260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20096585A Pending JPS6261124A (en) 1985-09-11 1985-09-11 Control system for instruction execution cycle

Country Status (1)

Country Link
JP (1) JPS6261124A (en)

Similar Documents

Publication Publication Date Title
JPS5933553U (en) processor
JP2559868B2 (en) Information processing device
JPS6261124A (en) Control system for instruction execution cycle
JPH0542525Y2 (en)
JPS6313558Y2 (en)
KR920001331A (en) Processor
JPS62200414A (en) Hand-held computer
JPH05173676A (en) Disk power source control system
JPH03134745A (en) High speed memory access system
JPS61183764A (en) Direct memory access controlling system
JPH05101008A (en) One-chip microcomputer
JPH0247743A (en) Microcomputer
JPS62248027A (en) data processing equipment
JPS59157895A (en) Integrated circuit device incorporating read-only memory
JPH06259264A (en) Clock control circuit
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JPS63733A (en) Program execution processing system
JPH03286216A (en) Data processing circuit
JPH0652044A (en) Microprocessor
JP2005078483A (en) FIFO memory control device and control method of FIFO memory device
JPH01246647A (en) Memory cycle selecting system
JPS616737A (en) Method for controlling different speed of microprocessor
JPS6182253A (en) Memory bank switching system
JPH09311738A (en) Interface extension card
RU98100973A (en) COMPUTER SYSTEM BASED ON THE MATRIX OF PROCESSOR ELEMENTS