JP2573388B2 - Information processing device - Google Patents

Information processing device

Info

Publication number
JP2573388B2
JP2573388B2 JP7007490A JP7007490A JP2573388B2 JP 2573388 B2 JP2573388 B2 JP 2573388B2 JP 7007490 A JP7007490 A JP 7007490A JP 7007490 A JP7007490 A JP 7007490A JP 2573388 B2 JP2573388 B2 JP 2573388B2
Authority
JP
Japan
Prior art keywords
processor
memory
access
register
value
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 - Fee Related
Application number
JP7007490A
Other languages
Japanese (ja)
Other versions
JPH0476644A (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.)
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 JP7007490A priority Critical patent/JP2573388B2/en
Publication of JPH0476644A publication Critical patent/JPH0476644A/en
Application granted granted Critical
Publication of JP2573388B2 publication Critical patent/JP2573388B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [目次] 概要 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 発明の効果 [概要] プロセッサからアクセスが要求され、そのメモリから
プロセッサにアクセスの許可が与えられる情報処理装置
に関し、 プロセッサのメモリアクセス速度を動的に調節するこ
とが可能となる情報処理装置の提供を目的とし、 メモリに対してアクセスを要求するプロセッサと、プ
ロセッサの要求したアクセスを許可するメモリと、プロ
セッサで走行中のプログラムにより値が書き換えられる
レジスタと、レジスタの値に応じて前記要求と要求許可
を一定間隔で所定期間に亘り強制的に抑制するアクセス
速度制御回路と、を有する。
Detailed Description of the Invention [Table of Contents] Overview Industrial application Field of the Invention Prior Art Problems to be Solved by the Invention Means for Solving the Problems Action Embodiment Effect of the Invention [Summary] Access is requested from the processor and the An information processing apparatus to which access permission is given from a memory to a processor. The present invention relates to an information processing apparatus capable of dynamically adjusting a memory access speed of a processor. A memory permitting an access requested by the processor, a register whose value is rewritten by a program running on the processor, and forcibly suppressing the request and request permission at regular intervals for a predetermined period according to the register value. An access speed control circuit.

[産業上の利用分野] 本発明は、プロセッサからアクセスが要求され、メモ
リからプロセッサにアクセスの許可が与えられる情報処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus in which access is requested from a processor and access permission is given to the processor from a memory.

この種の装置で用いられるプロセッサは性能の向上で
単位機能当たりのコストが低減しており、その結果、様
々な分野に対して多くのアプリケーションソフトが提供
される。
The processor used in this type of apparatus has reduced the cost per unit function due to improved performance, and as a result, many application software are provided for various fields.

[従来の技術] 第5図において、プロセッサ10からメモリ12に対して
アクセスが要求されると、その要求がメモリ12のアンド
ゲート20−2に与えられ、メモリ内に取り込まれる。
[Prior Art] In FIG. 5, when an access is requested from the processor 10 to the memory 12, the request is given to the AND gate 20-2 of the memory 12, and is taken into the memory.

そして、メモリ12から送出されたメモリアクセスの許
可信号はプロセッサ10のアンドゲート20−1へ与えら
れ、プロセッサ内部に取り込まれる。
Then, the memory access permission signal sent from the memory 12 is applied to the AND gate 20-1 of the processor 10, and is taken into the processor.

その結果、プロセッサ10がメモリ12へアクセスが要求
した場合で、メモリ12がアクセスを許可したときに、第
6図で示されるようにプロセッサ10のアクセスが許可信
号送出の次サイクルで開始される。
As a result, when the processor 10 requests access to the memory 12, when the memory 12 permits the access, the access of the processor 10 is started in the next cycle of the permission signal transmission as shown in FIG.

このプロセッサ10の短時間で大幅に性能が向上して単
機能当りのコストが低減するので、各種の分野に対して
多くのアプリケーションソフトが提供される。
Since the performance of the processor 10 is greatly improved in a short time and the cost per function is reduced, many application softwares are provided for various fields.

ところが、アプリケーションソフトによってはプロセ
ッサ10の処理速度が高速すぎでその実行に支障が生じ
る。
However, depending on the application software, the processing speed of the processor 10 is too high, which hinders execution.

このため、以下の措置がとられる。ここでは3例を示
す。
Therefore, the following measures are taken. Here, three examples are shown.

プログラムの機械語命令間にNOP(ノンオペレーシ
ョン命令)を挿入し、プロセッサ10の処理速度を調節す
る。
A NOP (non-operation instruction) is inserted between machine language instructions of the program to adjust the processing speed of the processor 10.

例えば、プロセッサ10の処理速度を1/2にする場合に
は第7図(A)で示される3ステップの機械語命令に対
して第7図(B)のように3つのNOPが挿入される。
For example, when the processing speed of the processor 10 is halved, three NOPs are inserted as shown in FIG. 7B for a three-step machine language instruction shown in FIG. 7A. .

また、30ステップの機械語命令に3つのNOPを挿入し
た場合にはこの処理が33ステップとなり、プロセッサ10
の処理速度が30/33と調節される。
When three NOPs are inserted into a machine instruction of 30 steps, this processing becomes 33 steps, and the processor 10
Processing speed is adjusted to 30/33.

このように、機械語命令数に応じた数のNOPを挿入す
る必要があるので、プログラム毎にNOP数を考慮しなけ
ればならない。
As described above, since it is necessary to insert the number of NOPs corresponding to the number of machine language instructions, the number of NOPs must be considered for each program.

また、データ長/データ値により処理速度が異なる機
械命令語の場合には、その種のプログラムについてプロ
セッサ10の処理速度を一律に調節することが実際には不
可能となる。
Further, in the case of a machine instruction word whose processing speed varies depending on the data length / data value, it is actually impossible to uniformly adjust the processing speed of the processor 10 for such a program.

アプリケーションソフトを一定時間で処理が終了す
るように作成し直し、プロセッサ10の処理速度にアプリ
ケーションソフトを合わせる。
The application software is recreated so that the processing is completed in a fixed time, and the application software is adjusted to the processing speed of the processor 10.

この場合には、アプリケーションソフトの数が膨大で
あるので、プログラムの変更に多大な労力を要する。
In this case, since the number of application software is enormous, a great deal of labor is required to change the program.

クロックの調整(サイクルダウンまたはクロックの
一定時間停止)によりプロセッサ10の処理速度を調節す
る。
The processing speed of the processor 10 is adjusted by adjusting the clock (cycle down or stopping the clock for a certain period of time).

この場合にはプロセッサに内蔵されているダイナミッ
クRAMリフレッシュ用タイマや時計が狂う。
In this case, the dynamic RAM refresh timer and clock incorporated in the processor are out of order.

[発明が解決しようとする課題] そこで、第8図に示される装置が提案されている。[Problem to be Solved by the Invention] Therefore, an apparatus shown in FIG. 8 has been proposed.

同図において、プロセッサ10とメモリ12の間にアンド
ゲート20−3,20−4と外部に設けられたタイマ信号生成
回路22が設けられている。
In the figure, AND gates 20-3 and 20-4 and a timer signal generation circuit 22 provided outside are provided between the processor 10 and the memory 12.

さらに、これらアンドゲート20−4,20−3へ一定長の
期間中で所定の連続したサイクル長だけタイマ信号生成
回路22で発生するタイマ信号t及びプロセッサ10が送出
するメモリアクセスの要求信号と、タイマ信号生成回路
22のタイマ信号t及びメモリ12の送出するアクセスの許
可信号が各々与えられている。
Further, a timer signal t generated by the timer signal generation circuit 22 for a predetermined continuous cycle length during a fixed length period to the AND gates 20-4 and 20-3, and a memory access request signal transmitted by the processor 10, Timer signal generation circuit
A timer signal t of 22 and an access permission signal transmitted from the memory 12 are given.

この例では、プロセッサ10がメモリ12へアクセスを要
求してメモリ12がそのアクセスを許可した場合で、アク
セス速度制御回路16からタイマ信号tがアンドゲート20
−3,20−4に与えられているときのみ、プロセッサ10の
アクセスが行われる。
In this example, when the processor 10 requests access to the memory 12 and the memory 12 permits the access, the timer signal t is transmitted from the access speed control circuit 16 to the AND gate 20.
Only when given to −3, 20-4, the processor 10 is accessed.

また、プロセッサ10がメモリ12へアクセスを要求して
メモリ12がそのアクセスを許可した場合であっても、ア
クセス速度制御回路16からタイマ信号tがアンドゲート
20−3,20−4に与えられていときには、プロセッサ10の
アクセスは行われない。
Also, even when the processor 10 requests access to the memory 12 and the memory 12 permits the access, the timer signal t is output from the access speed control circuit 16 to the AND gate.
When given to 20-3 and 20-4, the processor 10 is not accessed.

したがって、所定の処理を行う際にプロセッサ10が停
止状態となり、処理に要する時間が長くなる。
Therefore, when performing a predetermined process, the processor 10 is stopped, and the time required for the process becomes longer.

そのため、タイマ信号tの発生期間によりプロセッサ
10の処理速度が低下方向へ調節される。
Therefore, depending on the generation period of the timer signal t, the processor
The processing speed of 10 is adjusted in the decreasing direction.

例えば、第9図の場合には6サイクルの内3サイクル
に亘たり発生するタイマ信号tではプロセッサ10の処理
速度が1/2に調節される。
For example, in the case of FIG. 9, the processing speed of the processor 10 is adjusted to 1/2 by the timer signal t generated for three out of six cycles.

この提案によれば、機械語命令数に応じた数のNOPを
挿入しなくてもプロセッサ10の処理速度を一律に調節す
ることができ、また、アプリケーションソフトを再作成
せずにすむ。
According to this proposal, the processing speed of the processor 10 can be uniformly adjusted without inserting the number of NOPs corresponding to the number of machine language instructions, and the application software need not be recreated.

また、クロックを停止せずにプロセッサ10の処理速度
を調節できるので、プロセッサに内蔵されているタイマ
や時計が狂うことがない。
Further, since the processing speed of the processor 10 can be adjusted without stopping the clock, the timer and clock incorporated in the processor do not go out of order.

しかしながら、この提案においては、タイマ信号tの
発生期間が固定されているので、プロセッサ10の処理速
度をアプリケーションソフト毎にタイマ信号tの発生期
間を設定する作業が必要となる。
However, in this proposal, since the generation period of the timer signal t is fixed, it is necessary to set the processing speed of the processor 10 to the generation period of the timer signal t for each application software.

本発明は上記従来の事情に鑑みてなされたものであ
り、その目的は、プロセッサの性能を動的に調節するこ
とが可能となる情報処理装置を提供することにある。
The present invention has been made in view of the above-mentioned conventional circumstances, and an object of the present invention is to provide an information processing apparatus capable of dynamically adjusting the performance of a processor.

[課題を解決するための手段] 上記目的を達成するために本発明に係る装置は第1図
のように構成されている。
[Means for Solving the Problems] To achieve the above object, an apparatus according to the present invention is configured as shown in FIG.

同図において、プロセッサ10からメモリ12に対してア
クセスを要求し、メモリ12ではプロセッサ10の要求した
アクセスが許可される。
In the figure, the processor 10 requests access to the memory 12, and the memory 12 permits the access requested by the processor 10.

また、プロセッサ10で走行中のプログラムにより値が
書き換えられるレジスタ14が設けられており、このレジ
スタ14の値に応じてアクセス速度制御回路18により一定
間隔で所定期間に亘り強制的にアクセス要求とその許可
が抑制される。
Further, a register 14 whose value is rewritten by a program running in the processor 10 is provided, and an access request is forcibly transmitted at a constant interval for a predetermined period by an access speed control circuit 18 in accordance with the value of the register 14. Permissions are suppressed.

[作用] 本発明では、レジスタ14の値に応じて一定間隔で一定
期間に亘たり発生するタイマ信号tによりプロセッサ10
のメモリアクセス速度が強制的に抑制される。
[Operation] According to the present invention, the processor 10 receives the timer signal t generated at a constant interval for a predetermined period according to the value of the register 14.
Memory access speed is forcibly suppressed.

そして、このレジスタ14の値はプロセッサ10から書き
換えることができる。
Then, the value of the register 14 can be rewritten from the processor 10.

[実施例] 以下、図面に基づいて本発明に係る装置の好適な実施
例を説明する。
Hereinafter, a preferred embodiment of the device according to the present invention will be described with reference to the drawings.

第2図において、プロセッサ10からメモリ12に対して
アクセスが要求されると、その要求がアンドゲート20−
4を介してメモリ12のアンドゲート20−2に与えられ、
メモリ12内に取り込まれる。
In FIG. 2, when an access is requested from the processor 10 to the memory 12, the request is sent to the AND gate 20-.
4 to the AND gate 20-2 of the memory 12;
The data is stored in the memory 12.

そして、メモリ12から送出されたメモリアクセスの許
可信号はアンドゲート20−3を介してプロセッサ10のア
ンドゲート20−1へ与えられ、その内部に取り込まれ
る。
Then, the memory access permission signal sent from the memory 12 is supplied to the AND gate 20-1 of the processor 10 via the AND gate 20-3, and is taken therein.

また、プロセッサ10とメモリ12の間にはレジスタ14と
アクセス速度制御回路16が設けられており、第3図のよ
うにプロセッサ10で走行するマイクロプログラムにより
データバス24から下位4ビットの値がレジスタ14に与え
られる。
A register 14 and an access speed control circuit 16 are provided between the processor 10 and the memory 12. As shown in FIG. Given to 14.

このレジスタ14の値はプロセッサ10で走行するプログ
ラムにより書き換えられる。
The value of the register 14 is rewritten by a program running on the processor 10.

レジスタ14の値はアクセス速度制御回路16へ初期値と
して読み込まれ、アクセス速度制御回路16では読み込ん
だレジスタ14の値に応じて一定長の期間中で所定の連続
したサイクル長だけ発生するタイマ信号tが生成され、
タイマ信号tはアンドゲート20−3,20−4へ各々与えら
れる。
The value of the register 14 is read into the access speed control circuit 16 as an initial value, and the access speed control circuit 16 generates a timer signal t for a predetermined continuous cycle length within a certain length of time according to the read value of the register 14. Is generated,
The timer signal t is applied to AND gates 20-3 and 20-4, respectively.

そして、プロセッサ10がメモリ12へアクセスが要求し
メモリ12がアクセスを許可した場合で、アクセス速度制
御回路16からレジスタ14の値に対応したタイマ信号tが
アンドゲート20−3,20−4に与えられているときのみ、
プロセッサ10のアクセスが開始される。
Then, when the processor 10 requests access to the memory 12 and the memory 12 permits the access, the access speed control circuit 16 supplies a timer signal t corresponding to the value of the register 14 to the AND gates 20-3 and 20-4. Only when
Access of the processor 10 is started.

また、プロセッサ10がメモリ12へアクセスを要求して
メモリ12がそのアクセスを許可した場合であっても、ア
クセス速度制御回路16からタイマ信号tがアンドゲート
20−3,20−4に与えられていないときには、プロセッサ
10のアクセスが行われない。
Also, even when the processor 10 requests access to the memory 12 and the memory 12 permits the access, the timer signal t is output from the access speed control circuit 16 to the AND gate.
If not given to 20-3, 20-4, the processor
10 accesses are not made.

第4図ではアクセス速度制御回路16によるレジスタ14
の値に対応したタイマ信号tの生成が説明されており、
例えば、レジスタ14の値が1001にセットされたときに
は、タイマ信号tは4×16μsの期間に亘たり連続して
生成され、アクセス速度制御回路16からアンドゲート20
−3,20−4へ与えられる。
In FIG. 4, the register 14 by the access speed control circuit 16 is used.
The generation of the timer signal t corresponding to the value of
For example, when the value of the register 14 is set to 1001, the timer signal t is continuously generated over a period of 4 × 16 μs, and the access speed control circuit 16
−3, 20-4.

そして、次の4×16μsの期間に亘たりタイマ信号t
は生成されず、アクセス速度制御回路16からアンドゲー
ト20−3,20−4へタイマ信号tは与えられない。
Then, the timer signal t over the next 4 × 16 μs period
Is not generated, and the timer signal t is not supplied from the access speed control circuit 16 to the AND gates 20-3 and 20-4.

そのため、この例ではプロセッサ10のメモリアクセス
処理速度は1/2の倍率に低下調節される。
For this reason, in this example, the memory access processing speed of the processor 10 is adjusted to decrease by a factor of 1/2.

以下説明したように本実施例によれば、プロセッサ10
のメモリアクセス速度がレジスタ14の値に対応した一定
長の期間中で所定の連続したサイクル長だけ発生するタ
イマ信号tにより強制的に抑制される。
As described below, according to this embodiment, the processor 10
The memory access speed is forcibly suppressed by a timer signal t generated for a predetermined continuous cycle length during a fixed length period corresponding to the value of the register 14.

そして、レジスタ14の値はプロセッサ10から書き換え
ることができるので、プログラム毎にプロセッサ10の処
理速度を動的に調節できる。
Since the value of the register 14 can be rewritten from the processor 10, the processing speed of the processor 10 can be dynamically adjusted for each program.

したがって、各アプリケーションソフトに応じてプロ
セッサ10のメモリアクセス速度を自動的に調節できる。
Therefore, the memory access speed of the processor 10 can be automatically adjusted according to each application software.

[発明の効果] 本発明によれば、レジスタの値を必要に応じて書き換
えることにより、プロセッサの処理速度を動的に調節で
きる。
According to the present invention, the processing speed of the processor can be dynamically adjusted by rewriting the value of the register as needed.

したがって、各アプリケーションソフトに応じてプロ
セッサのメモリアクセス速度を自動設定することがで
き、このため、アプリケーションソフトの取り扱いが容
易となる。
Therefore, the memory access speed of the processor can be automatically set in accordance with each application software, and therefore, handling of the application software becomes easy.

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

第1図は発明の原理構成図、 第2図は実施例の構成説明図、 第3図はレジスタとアクセス速度制御回路の概略説明
図、 第4図はプロセッサ性能の調節作用説明図、 第5図は従来例の構成説明図、 第6図は従来例の作用説明図、 第7図はNOP挿入の作用説明図、 第8図は提案装置の概略説明図、 第9図は提案装置の作用説明図、 である。 10……プロセッサ 12……メモリ 14……レジスタ 16……アクセス速度制御回路 20−1,20−2,20−3,20−4……アンドゲート 22……タイマ信号生成回路 24……データバス
FIG. 1 is a diagram illustrating the principle of the invention, FIG. 2 is a diagram illustrating the configuration of an embodiment, FIG. 3 is a diagram schematically illustrating registers and an access speed control circuit, FIG. FIG. 6 is an explanatory view of the configuration of the conventional example, FIG. 6 is an explanatory view of the operation of the conventional example, FIG. 7 is an explanatory view of the operation of NOP insertion, FIG. 8 is a schematic explanatory view of the proposed apparatus, and FIG. FIG. 10 Processor 12 Memory 14 Register 16 Access speed control circuit 20-1, 20-2, 20-3, 20-4 AND gate 22 Timer signal generation circuit 24 Data bus

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小田原 孝一 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 金谷 英治 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 特開 平2−153427(JP,A) ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Koichi Odawara 1015 Ueodanaka Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Eiji Kanaya 1015 Kamiodanaka Nakahara-ku Kawasaki-shi Kanagawa Prefecture Fujitsu Limited ( 56) References JP-A-2-153427 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】メモリ(12)に対するアクセスを要求する
プロセッサ(10)と、 プロセッサ(10)の要求したアクセスを許可するメモリ
(12)と、 プロセッサ(10)で走行中のプログラムにより値が書き
換えられるレジスタ(14)と、 レジスタ(14)の値に応じて前記要求と要求許可を一定
間隔で所定期間に亘り強制的に抑制するアクセス速度制
御回路(16)と、 を有することを特徴とする情報処理装置。
A processor (10) for requesting access to a memory (12), a memory (12) for permitting access requested by the processor (10), and a value rewritten by a program running on the processor (10). And an access speed control circuit (16) that forcibly suppresses the request and the request permission at regular intervals for a predetermined period according to the value of the register (14). Information processing device.
JP7007490A 1990-03-20 1990-03-20 Information processing device Expired - Fee Related JP2573388B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7007490A JP2573388B2 (en) 1990-03-20 1990-03-20 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7007490A JP2573388B2 (en) 1990-03-20 1990-03-20 Information processing device

Publications (2)

Publication Number Publication Date
JPH0476644A JPH0476644A (en) 1992-03-11
JP2573388B2 true JP2573388B2 (en) 1997-01-22

Family

ID=13421035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7007490A Expired - Fee Related JP2573388B2 (en) 1990-03-20 1990-03-20 Information processing device

Country Status (1)

Country Link
JP (1) JP2573388B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3165133B2 (en) 1999-03-17 2001-05-14 米沢日本電気株式会社 Medium moving mechanism of recording medium storage device
JP5489402B2 (en) * 2007-11-02 2014-05-14 三菱電機株式会社 Signal processor

Also Published As

Publication number Publication date
JPH0476644A (en) 1992-03-11

Similar Documents

Publication Publication Date Title
KR970049655A (en) Direct Memory Access (DMA) Controller
US4545014A (en) Information processing apparatus
EP0409556A2 (en) Data processing device for preventing inconsistency of data stored in main memory and cache memory
JP2573388B2 (en) Information processing device
KR900005290A (en) Computer system that changes the operating speed of the system bus
KR970703564A (en) METHOD AND APPARATUS FOR ACCESSING A DISTRIBUTED DATA BUFFER
KR940022284A (en) Access Control Method of Shared Memory
KR960018958A (en) Main Memory Access Device Using Data Buffer When Performing Atomic Instruction in Multiprocessor System
JPH02118729A (en) Information processor
JPS6024663A (en) Memory access controlling system
JPH09297990A (en) Memory refresh control method and memory refresh controller
JPH07210454A (en) High-speed processor
JPS61241859A (en) Data transfering equipment
JPS61250748A (en) Memory access system of information processor
JPH06348581A (en) Memory access controller
JPH04211854A (en) Computer device
JPH0397032A (en) Instruction prefetch system
JPH0364903B2 (en)
JPH01307997A (en) Memory device
JPH04188226A (en) Instruction pre-read controller
JPH0554645A (en) Memory controller and memory control code generating device
JPS61117651A (en) Interface device
JPS6468868A (en) Buffer control system for bus adapter
JPH05174575A (en) Refreshing method of memory
JPH0479022B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees