JPH03212747A - Computer device - Google Patents

Computer device

Info

Publication number
JPH03212747A
JPH03212747A JP897690A JP897690A JPH03212747A JP H03212747 A JPH03212747 A JP H03212747A JP 897690 A JP897690 A JP 897690A JP 897690 A JP897690 A JP 897690A JP H03212747 A JPH03212747 A JP H03212747A
Authority
JP
Japan
Prior art keywords
signal
ready
read
memory
write
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
JP897690A
Other languages
Japanese (ja)
Inventor
Yoshitomo Honda
本田 善友
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.)
NEC Office Systems Ltd
Original Assignee
NEC Office Systems 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 NEC Office Systems Ltd filed Critical NEC Office Systems Ltd
Priority to JP897690A priority Critical patent/JPH03212747A/en
Publication of JPH03212747A publication Critical patent/JPH03212747A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize the computer device to get out from a non-ready state and continue the succeeding processing by controlling the device to forcedly end a read/write signal when an end signal is not formed even after the lapse of a prescribed time. CONSTITUTION:A protection circuit 4 monitors the state of a ready signal B, and when the ready signal B continues the non-ready state for previously determined time in the system, forcedly forms a ready signal F and sends the signal F to a CPU 1. The CPU 1 turns a read/write signal C to an end state in response to the generation of the forced ready signal F. Thus, necessary processing can be continued.

Description

【発明の詳細な説明】 技術分野 本発明はコンピュータ装置に関し、特にコンピュータ装
置におけるメモリのリードライト制御の方式に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD The present invention relates to a computer device, and more particularly to a method for controlling read/write of a memory in a computer device.

技術分野 従来、コンピュータ装置において、メモリや入出力装置
をアクセスする場合、これ等メモリのアクセス時間がC
PUのサイクル時間よりも遅い時には、CPUのレディ
制御を行うことにより、CPUのサイクル時間を延ばし
て、これ等メモリがみかけ上CPUのアクセス時間に間
に合うよう制御している。
Technical field Conventionally, when accessing memory or input/output devices in computer equipment, the access time for these memories is C
When the CPU cycle time is slower than the CPU cycle time, CPU ready control is performed to extend the CPU cycle time so that these memories are apparently in time for the CPU access time.

第3図は従来のかかるコンピュータ装置のブロック図で
あり、CPUIはメモリ3のリード、ライトをなすべく
アドレスAを生成してメモリアクセス(C)を行う。メ
モリ3はこのアクセスCに応答してデータDの入出力制
御を行い、リードライ!・動作が終了すると終了信号E
を発生する。
FIG. 3 is a block diagram of such a conventional computer device, in which the CPU generates an address A to read and write the memory 3 and performs memory access (C). Memory 3 performs input/output control of data D in response to this access C, and reads/writes!・When the operation is completed, the end signal E
occurs.

レディ制御回路2はこの終了信号Eを受けると、レディ
信号Bを生成してCPUIに対してメモリのリードライ
トが終了したことを通知する。
When the ready control circuit 2 receives this end signal E, it generates a ready signal B to notify the CPU that the read/write of the memory has ended.

第4図はCPUIのメモリ3に対するリ−ドライト動作
を表わすタイムチャートであり、第5図はレディ制御を
表わすタイムチャートである。これ等第3図〜第5図を
参照しつつ従来例の動作を説明する。
FIG. 4 is a time chart showing the read/write operation of the CPUI to the memory 3, and FIG. 5 is a time chart showing ready control. The operation of the conventional example will be explained with reference to FIGS. 3 to 5.

CPUIがメモリ3をリードあるいはライトする場合は
、アドレス信号A、リードあるいはライト信号Cをメモ
リ3に対して出力する。メモリ3はCPUからのアドレ
ス信号A及びリードライト信号Cにより、データDの出
力あるいは人力を制御する(第4図)。
When the CPUI reads or writes to the memory 3, it outputs an address signal A and a read or write signal C to the memory 3. The memory 3 controls the output of the data D or human input based on the address signal A and the read/write signal C from the CPU (FIG. 4).

これらの一連の動作において、CPU1がメモリ3をリ
ードライトするために出力する制御信号Cの最小時間は
、CPUIにより予め決められている。もし、メモリ3
をリードライトするために必要な時間が、リードライト
信号Cの最小時間より長い場合は、リードライト信号C
を必要な分だけ長くする必要がある。この制御を行なう
のがレディ信号Bである。
In these series of operations, the minimum time of the control signal C output by the CPU 1 to read/write the memory 3 is predetermined by the CPU. If memory 3
If the time required to read/write is longer than the minimum time of read/write signal C, read/write signal C
needs to be made as long as necessary. Ready signal B performs this control.

CPUIはレディ信号Bが非レデイ状態(論理“0”)
の時は、アドレス信号A及びリードライト信号Cを、レ
ディ信号Bがレディ状態(論理“1”)になるまで出力
し続ける。CPUIがメモリ3をリードライトする場合
、レディ制御回路2はレディ信号Bを非レデイ状態にし
ておく。メモリ3はリードライト信号が必要な時間有効
になったことを検出して、リードライト終了信号Eを出
力する。
Ready signal B of CPUI is in non-ready state (logic “0”)
At this time, the address signal A and the read/write signal C continue to be output until the ready signal B becomes ready (logic "1"). When the CPUI reads or writes the memory 3, the ready control circuit 2 keeps the ready signal B in a non-ready state. The memory 3 detects that the read/write signal has been valid for a required period of time and outputs a read/write end signal E.

レディ制御回路2はこのリードライ!・終了信号Eを受
けて、レディ信号Bをレディ状態にする。
Ready control circuit 2 is this read dry!・Receive the end signal E and set the ready signal B to the ready state.

CPUIはレディ信号Bが有効になったことを検出して
、リードライト動作を終了する(第5図)。
The CPUI detects that the ready signal B has become valid and ends the read/write operation (FIG. 5).

このようにして、メモリのリードライトに必要な時間が
、CPUのリードライト制御信号より長い場合でも、必
要な分だけ時間を長くしてやることにより、正常に処理
を行なうことができるようになっている。
In this way, even if the time required to read and write the memory is longer than the read/write control signal of the CPU, the process can be performed normally by increasing the time by the necessary amount. .

上述した従来のコンピュータ装置において、存在しない
メモリや入出力装置をCPUIがアクセスした場合には
、レディが非レデイのままの状態に陥いってまい、その
アクセスサイクルが終了しないため、処理を継続できな
くなる。通常このような場合は、何らかのエラー処理を
する必要があるが、アクセスサイクルが終了しないため
にエラー処理もできなくなるという問題点がある。
In the conventional computer device described above, if the CPU accesses a memory or input/output device that does not exist, the ready state remains in a non-ready state, and the access cycle does not end, making it impossible to continue processing. It disappears. Normally, in such a case, it is necessary to perform some kind of error handling, but there is a problem in that error handling cannot be done because the access cycle is not completed.

発明の目的 本発明の目的は、CPUによりアクセスされたメモリの
レディ状態を監視して、非レデイ状態から抜出しその後
の処理を続行できるようにしたコンピュータ装置を提供
することを目的として(する。
OBJECTS OF THE INVENTION An object of the present invention is to provide a computer device that monitors the ready state of memory accessed by a CPU, extracts it from the non-ready state, and continues subsequent processing.

発明の構成 本発明によれば、プロセッサと、前記ブロモ・ソサから
のリードライト信号の発生期間このプロセッサによりア
クセスされるメモリとを有し、前記メモリは、前記リー
ドライト信号の発生に応答して自メモリのアクセスに必
要な時間紅過後にリードライト終了信号を生成し、前記
ブロモ・ンサは前記終了信号の発生に応答して前記リー
ドライト信号の発生を終了せしめるように構成されたコ
ンピュータ装置であって、前記終了信号が所定時間経過
しても生成されないときに前記リードライト信号を強制
的に終了させるよう制御する終了信号監視手段を有する
ことを特徴とするコンピュータ装置が得られる。
According to the present invention, the present invention includes a processor and a memory accessed by the processor during the generation of the read/write signal from the Bromo Sosa, and the memory is configured to read/write in response to the generation of the read/write signal from the Bromo Sosa. A computer device configured to generate a read/write termination signal after a time period necessary for accessing its own memory, and to terminate generation of the read/write signal in response to generation of the termination signal. Accordingly, there is obtained a computer device characterized in that it has a termination signal monitoring means for controlling the read/write signal to be forcibly terminated when the termination signal is not generated even after a predetermined period of time has elapsed.

実施例 以下、図面を参照して本発明の実施例について詳細に説
明する。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例のブロック図であり、第3図と
同等部分及び同等信号は同一符号により示している。本
実施例では、レディ制御回路2とCPUIとの間に保護
回路4が付加されている。
FIG. 1 is a block diagram of an embodiment of the present invention, and parts and signals equivalent to those in FIG. 3 are indicated by the same symbols. In this embodiment, a protection circuit 4 is added between the ready control circuit 2 and the CPUI.

この保護回路4はレディ制御回路2からのレディ信号B
の状態を常時監視して、非レデイ状態がある一定時間以
上続いて、レディ状態にならない場合、強制レディ信号
Fを生成する機能を有している。
This protection circuit 4 receives a ready signal B from the ready control circuit 2.
It has a function of constantly monitoring the state of the controller and generating a forced ready signal F if the non-ready state continues for a certain period of time or more and the ready state is not reached.

第2図はかかる動作状態をタイムチャー1・とじて示し
た図である。CPUIからのメモリアクセス(C)に対
して、メモリから長時間終了信号Eが発生されないと、
レディ制御回路2はレディ信号Bを発生せず、非レデイ
状態のままである。
FIG. 2 is a diagram showing such an operating state as a time chart 1. If the long-term end signal E is not generated from the memory in response to memory access (C) from the CPUI,
The ready control circuit 2 does not generate the ready signal B and remains in the non-ready state.

そこで、保護回路4はこのレディ信号Bの状態を監視し
、予めシステムにて定められた時間レディ信号Bが非レ
デイ状態を続ければ、強制的にレディ信号Fを生成して
CPUIへ送出する。よって、CPUIはこの強制的レ
ディ信号Fの発生に応答して、リードライト信号Cを終
了状態とするのである。
Therefore, the protection circuit 4 monitors the state of the ready signal B, and if the ready signal B continues to be in a non-ready state for a predetermined period of time in the system, it forcibly generates a ready signal F and sends it to the CPUI. Therefore, in response to the generation of this forced ready signal F, the CPUI brings the read/write signal C to an end state.

従って、アクセス対象のメモリが存在しない場合や、メ
モリに障害が生じて終了信号Eが生成されないときにも
、強制レディ信号Fが、保護回路4より発生されるので
、CPU]は以降の処理である例えばエラー処理が行え
ることになる。
Therefore, even when the memory to be accessed does not exist or when a failure occurs in the memory and the termination signal E is not generated, the forced ready signal F is generated by the protection circuit 4, so that the CPU can perform subsequent processing. For example, error handling can be performed.

発明の効果 以上述べた如く、本発明によれば、存rE Lないメモ
リや入出力装置等をCPUがアクセスして、非レデイ状
態のままとなっても、レディ信号を監視することにより
非レデイ状態から強制的に抜出すことができるので、以
降の必要な処理を継続できるという効果がある。
Effects of the Invention As described above, according to the present invention, even if the CPU accesses a memory, input/output device, etc. that does not exist and remains in the non-ready state, the non-ready state can be restored by monitoring the ready signal. Since it can be forcibly extracted from the state, it has the effect of allowing subsequent necessary processing to continue.

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

第1図は本発明の実施例のブロック図、第2図は第1図
のブロックの動作を示すタイムチャート、第3図は従来
のコンピュータ装置のブロック図、第4図は第3図のメ
モリのリードライト動作を示すタイムチャー1・、第5
図は第3図のブロックのレディ制御を示すタイムチャー
トである。 主要部分の符号の説明 1・・・・・・CPU 2・・・・・・レディ制御回路 3・・・・・・メモリ 4・・・・・・保護回路
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a time chart showing the operation of the blocks in FIG. 1, FIG. 3 is a block diagram of a conventional computer device, and FIG. 4 is a memory shown in FIG. 3. Time charts 1, 5 showing the read/write operations of
The figure is a time chart showing the ready control of the block in FIG. 3. Explanation of symbols of main parts 1...CPU 2...Ready control circuit 3...Memory 4...Protection circuit

Claims (1)

【特許請求の範囲】[Claims] (1)プロセッサと、前記プロセッサからのリードライ
ト信号の発生期間このプロセッサによりアクセスされる
メモリとを有し、前記メモリは、前記リードライト信号
の発生に応答して自メモリのアクセスに必要な時間経過
後にリードライト終了信号を生成し、前記プロセッサは
前記終了信号の発生に応答して前記リードライト信号の
発生を終了せしめるように構成されたコンピュータ装置
であって、前記終了信号が所定時間経過しても生成され
ないときに前記リードライト信号を強制的に終了させる
よう制御する終了信号監視手段を有することを特徴とす
るコンピュータ装置。
(1) A processor and a memory that is accessed by the processor during the generation period of a read/write signal from the processor, and the memory has a memory that is accessed for a period of time necessary for accessing its own memory in response to the generation of the read/write signal. The computer device is configured to generate a read/write end signal after a predetermined period of time has elapsed, and the processor is configured to end the generation of the read/write signal in response to generation of the end signal, 1. A computer device comprising: a termination signal monitoring means for forcibly terminating the read/write signal when the read/write signal is not generated.
JP897690A 1990-01-18 1990-01-18 Computer device Pending JPH03212747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP897690A JPH03212747A (en) 1990-01-18 1990-01-18 Computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP897690A JPH03212747A (en) 1990-01-18 1990-01-18 Computer device

Publications (1)

Publication Number Publication Date
JPH03212747A true JPH03212747A (en) 1991-09-18

Family

ID=11707720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP897690A Pending JPH03212747A (en) 1990-01-18 1990-01-18 Computer device

Country Status (1)

Country Link
JP (1) JPH03212747A (en)

Similar Documents

Publication Publication Date Title
KR920010931B1 (en) Memory refresh circuit with varying system transparency
KR960008543A (en) Integrated circuit microprocessor with programmable memory access interface type and associated method
JP4481295B2 (en) Hardware initialization with or without processor intervention
JPH03212747A (en) Computer device
US6651152B1 (en) Microcomputer including download circuit controlling data download to plurality of memories
KR100283187B1 (en) Device and method for accessing common memory in system using common memory
JP2864861B2 (en) Response signal control circuit
JPH06251585A (en) Semiconductor storage device
JPH06348581A (en) Memory access controller
JP2591785B2 (en) Computer equipment
JPS6230105Y2 (en)
JPH05197612A (en) Data access circuit
JPH07210456A (en) Memory controller
JPH05128851A (en) Dram control system
KR970007644A (en) DRAM data access control method with 16-bit data bus and its circuit
JPH04209046A (en) Memory access circuit
JPS59189433A (en) Data erasing system by direct memory access
JPH01161560A (en) I/o equipment controller
JPS6054054A (en) Detection for program runaway
KR19990016834A (en) Error correction code generation control circuit
JPS63200254A (en) Memory write control circuit
KR910006829A (en) CPU standby time control method and system to connect external I / O controller to computer
KR19980073525A (en) Data reading and writing method of flash memory semiconductor device
JPH0363776B2 (en)
KR20000046884A (en) Device for controlling data of personal handy terminal