JPH01291312A - Memory device - Google Patents

Memory device

Info

Publication number
JPH01291312A
JPH01291312A JP63121520A JP12152088A JPH01291312A JP H01291312 A JPH01291312 A JP H01291312A JP 63121520 A JP63121520 A JP 63121520A JP 12152088 A JP12152088 A JP 12152088A JP H01291312 A JPH01291312 A JP H01291312A
Authority
JP
Japan
Prior art keywords
circuit
flip
computer
signal
memory
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
JP63121520A
Other languages
Japanese (ja)
Inventor
Yasushi Suzuki
恭 鈴木
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 General Ltd
Original Assignee
Fujitsu General 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 General Ltd filed Critical Fujitsu General Ltd
Priority to JP63121520A priority Critical patent/JPH01291312A/en
Publication of JPH01291312A publication Critical patent/JPH01291312A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To identify turn-on of the power source, and also, to initialize the memory device by resetting a flip-flop circuit by setting the flip-flop circuit so that correct write cannot be executed. CONSTITUTION:When the power source of a computer is turned on, a flip-flop circuit 6a of a power source turn-on discriminating circuit 6 is set by an L level of a reset signal, an OR circuit 6b goes to an inhibition gate, and write and read-out signals of a memory cell 1a are not outputted from an input circuit 5. Accordingly, correct read-out and write of the memory cell 1a are not executed, turn-on of the power source is decided by the computer, and a clear signal is generated. By its clear signal, the flip-flop circuit 6a is reset, a gate of the OR circuit 6b is opened, and a -CS (chip select) signal is inputted to the input circuit 5. In such a way, turn-on of the power source is identified automatically, and after its power source has been turned on, the memory can be initialized.

Description

【発明の詳細な説明】 [産業上の利用分野コ この発明はコンピュータのメモリ装置に係り、更に詳し
くはそのコンピュータの電源投入が識別できるようにし
、その識別後にメモリの内容を初期化(クリア)できる
ようにしたハードウェア回路を備えたメモリ装置に関す
るものである。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention relates to a memory device for a computer, and more specifically, to enable identification of power-on of the computer, and initialize (clear) the contents of the memory after identification. The present invention relates to a memory device equipped with a hardware circuit that enables the following.

[従 来 例] コンピュータにはメモリ・バックアップ機能を有するも
のがあるが、このバックアップされるメモリ(RAM)
の内容は製造工程での電源投入時にランダムな値となる
。その内容がランダムデータであるかを識別する方法と
しては、外部回路に依らざるしかなかった。特に、製造
工程の調整では、電源投入時はそのメモリの内容がラン
ダムデータとなっているか識別する必要があり、しかも
そのメモリを初期化する必要がある。この初期化は、例
えばコンピュータの制御にてそのメモリの全てに「0」
を書き込むオールクリア(ALL CLEAR)モード
(プログラム)のソフトウェアによっている。
[Conventional example] Some computers have a memory backup function, but this memory (RAM) is backed up.
The contents of will be a random value when the power is turned on during the manufacturing process. The only way to identify whether the content is random data is to rely on an external circuit. In particular, when adjusting the manufacturing process, it is necessary to identify whether the contents of the memory are random data when the power is turned on, and it is also necessary to initialize the memory. This initialization can be done, for example, by setting all of the memory to "0" under the control of the computer.
This is done by software in ALL CLEAR mode (program) that writes the .

[発明が解決しようとする課題] ところで、そのオールクリアモードはソフトウェアであ
り、しかもコンピュータに対して所定指示を出す必要が
ある。すなわち、そのコンピュータの電源ONした後、
扱者等の指示によりその都度上記指示を出さなければな
らない。また、上述の場合、単にメモリをクリアするだ
けであり、そのメモリの内容がランダムデータであるか
を識別することができず、メモリが既に初期化されてい
るにもかかわらず、再度その初期化を行なったりし、製
造工程での作業効率を下げていた。
[Problems to be Solved by the Invention] By the way, the all-clear mode is software, and moreover, it is necessary to issue a predetermined instruction to the computer. In other words, after turning on the computer,
The above instructions must be given each time based on instructions from the person handling the product. Also, in the above case, it is simply clearing the memory, it is not possible to identify whether the contents of that memory are random data, and even though the memory has already been initialized, it cannot be initialized again. This resulted in lower work efficiency in the manufacturing process.

この発明は上記問題点に鑑みなされたものであり、その
目的は電源の投入を自動的に識別し、その電源投入後の
メモリ初期化を行なうことができるようにしたメモリ装
置を提供することにある。
The present invention has been made in view of the above problems, and its purpose is to provide a memory device that can automatically identify when power is turned on and initialize the memory after power is turned on. be.

C11l1題を解決するための手段] 上記目的を達成するために、この発明は、コンピュータ
のアドレスバスおよびデータバスに接続され、そのコン
ピュータの指示によりデータの読み出し、書き込みが行
われるメモリ装置において、そのコンピュータの電源投
入時に発生されるリセット信号にてセットされるフリッ
プ・フロップ回路と、このフリップ・フロップ回路のセ
ラ1〜にて上記コンピュータから出力され乞チップセレ
クト信号を禁止するゲート回路とを備え、上記フリップ
・フロップ回路のセットにより上記メモリ装置の正しい
書き込みが行なえないようにし、上記電源投入の識別を
可能とすると共に、上記フリップ・フロップ回路をリセ
ットし、そのメモリ装置の初期化を可能としたものであ
る。
Means for Solving Problem C11l1] In order to achieve the above object, the present invention provides a memory device that is connected to an address bus and a data bus of a computer, and in which data is read and written in accordance with instructions from the computer. comprising a flip-flop circuit that is set by a reset signal generated when the computer is powered on, and a gate circuit that inhibits a chip select signal output from the computer at the circuits 1 to 1 of the flip-flop circuit, The set of the flip-flop circuit prevents correct writing to the memory device, makes it possible to identify when the power is turned on, and resets the flip-flop circuit, making it possible to initialize the memory device. It is something.

[作  用] 上記構成としたので、電源投入に際して1発生されるリ
セット信号により、フリップ・フロップ回路がセットさ
れる。すると、ゲート回路は禁止ゲートとされ、上記メ
モリ装置のチップセレクトが行なわれない。すなわち、
CPUによりメモリ装置の正しい書き込みが行なえない
ので、電源投入を識別することが可能となる。この電源
投入を識別した後、CPUにてそのフリップ・フロップ
回路がリセットされ、そのメモリ装置の初期化が可能と
される。このように、電源が投入されると、電源投入を
識別し、この識別後にメモリ装置は自動的に初期化され
る。
[Function] With the above configuration, the flip-flop circuit is set by a reset signal generated when the power is turned on. Then, the gate circuit is set as a prohibited gate, and chip selection of the memory device is not performed. That is,
Since the CPU cannot correctly write to the memory device, it is possible to identify when the power is turned on. After identifying this power-on, the CPU resets the flip-flop circuit and enables the memory device to be initialized. Thus, when power is turned on, the power-up is identified and the memory device is automatically initialized after this identification.

[実 施 例] 以下、この発明の実施例を図面に基づいて説明する。[Example] Embodiments of the present invention will be described below based on the drawings.

第1図において、メモリ部1のメモリセル1aにはアド
レスバッファ部2を介してコンピュータのアドレスバス
3が接続される。また、このメモリセル1aには双方向
性バッファ部1bを介してデータバス4が接続される。
In FIG. 1, an address bus 3 of a computer is connected to a memory cell 1a of a memory section 1 via an address buffer section 2. As shown in FIG. Further, a data bus 4 is connected to this memory cell 1a via a bidirectional buffer section 1b.

一方、上記コンピュータの電源投入にてそのコンピュー
タから出力されるメモリの書き込み(W百)信号および
読み出しくδ下)信号が入力回路5に入力される。また
、そのコンピュータから出力されるチップセレクト(i
)信号は電源投入識別部6に入力される。電源投入識別
部6には上記電源投入時に得られるリセット信号にてセ
ットされるフリップ・フロップ回路6aと、このフリッ
プ・フロップ回路6aのセットにてそのテコ信号のゲー
トを閉じる負論理のオア回路6bとが設けられている。
On the other hand, when the computer is powered on, a memory write (W100) signal and a read (6) signal output from the computer are input to the input circuit 5. Also, the chip select (i
) signal is input to the power-on identification section 6. The power-on identification unit 6 includes a flip-flop circuit 6a that is set by the reset signal obtained when the power is turned on, and a negative logic OR circuit 6b that closes the gate of the lever signal by the set of flip-flop circuits 6a. is provided.

このオア回路6bを経たd】信号が入力回路5に入力さ
れ、上記W1信号および61信号とにより、メモリセル
1aの読み出し信号、書き込み信号とされる。さらに、
コンピュータにてその61信号のタイミングで、メモリ
セル1aに書き込みあるいはその読み出しができない場
合、上記フリップ・フロップ回路6aをリセットするク
リア信号が出力される。
The d] signal that has passed through the OR circuit 6b is input to the input circuit 5, and is used as a read signal and a write signal for the memory cell 1a by the W1 signal and the 61 signal. moreover,
If the computer cannot write to or read from the memory cell 1a at the timing of the 61 signal, a clear signal for resetting the flip-flop circuit 6a is output.

なお、上記双方向性バッファ部2bには従来同様にデー
タバス4のビット数に応じたバッファ回路1b□が設け
られている。
Note that the bidirectional buffer section 2b is provided with buffer circuits 1b□ corresponding to the number of bits of the data bus 4, as in the conventional case.

次に、上記構成のメモリ装置の動作を第2図のタイムチ
ャートに基づいて説明する。
Next, the operation of the memory device having the above configuration will be explained based on the time chart of FIG. 2.

まず、コンピュータの電源が投入されると、電源電圧V
ccが立上り、リセット信号、クロック信号が発生され
る(第2図(a)、(b)参照)。そして、そのリセッ
ト信号がHレベルになった後、コンピュータにてメモリ
セル1aのアクセス、つまりC百信号、W1信号、6茗
信号等が出力されたものとする。
First, when the computer is turned on, the power supply voltage V
cc rises, and a reset signal and a clock signal are generated (see FIGS. 2(a) and 2(b)). It is assumed that after the reset signal becomes H level, the computer accesses the memory cell 1a, that is, outputs the C100 signal, W1 signal, 6000 signal, etc.

このとき、上記リセット信号のLレベルにてフリップ・
フロップ回路6aがセットされ、オア回路(ゲート回路
)6bは禁止ゲートとされるため、入力回路5には61
信号が入力されず、その入力回路5からはメモリセル1
aの書き込み、読み出し信号が出力されない。すると、
メモリセル1aの正しい読み出し、書き込みが実行され
ず、同図(c)に示されているように、コンピュータに
て上記電源の投入が判断され、所定パルス幅のクリア信
号(Lレベル信号)が発生される。そのクリア信号にて
上記フリップ・フロップ回路6aがリセットされ、オア
回路6bのゲートが開かれるため、入力回路5には上記
d】信号が入力される。このUI倍信号WE倍信号によ
り、上記メモリセル1aの書き込みが行なわれ、またそ
ので】信号とb百信号とにより、そのメモリセル1aの
書き込みが行なわれるようになる。
At this time, the flip occurs at the L level of the reset signal.
Since the flop circuit 6a is set and the OR circuit (gate circuit) 6b is a prohibited gate, the input circuit 5 has 61
No signal is input from the input circuit 5 to the memory cell 1.
The write and read signals for a are not output. Then,
Correct reading and writing of the memory cell 1a is not executed, and as shown in FIG. 2(c), the computer determines that the power is turned on and generates a clear signal (L level signal) with a predetermined pulse width. be done. The clear signal resets the flip-flop circuit 6a and opens the gate of the OR circuit 6b, so that the input circuit 5 receives the d] signal. The UI multiplied signal and the WE multiplied signal cause writing into the memory cell 1a, and the ] signal and the b100 signal cause writing into the memory cell 1a.

このように、上記メモリ装置にあっては、電源投入に際
し、そのメモリセル1aの正しい書き込み、読み出しを
できないようにし、コンピュータ側からのクリア信号に
てその解除が行なえるようにしている。そのため、コン
ピュータ側にてその正しい書き込み、読み出しができな
いことで、電源が投入されたことを識別することができ
、その電源投入を確認した上でクリア信号を発生し、メ
モリセル1aの初期化を実行することができる。
In this manner, in the above-mentioned memory device, when the power is turned on, correct writing and reading of the memory cell 1a is disabled, and this can be canceled by a clear signal from the computer side. Therefore, if the computer cannot write or read correctly, it can identify that the power has been turned on, and after confirming that the power has been turned on, it generates a clear signal and initializes the memory cell 1a. can be executed.

[発明の効果] 以上説明したように、この発明のメモリ装置によれば、
電源投入時に発生されるリセット信号にてセットされる
フリップ・プロップ回路と、このセットにてコンピュー
タからのチップセレクト信号を禁止する負論理のオア回
路とを設け、そのフリップ・フロップ回路がセットされ
たときには、上記メモリ装置の正しい書き込みができな
いようにしたので、その正しい書き込みが行なえないこ
とで、コンピュータにて電源が投入されたことを識別す
ることができる。また、そのコンピュータにて電源投入
の識別を行なった後、フリップ・フロップ回路をリセッ
トするクリア信号を発生するようにしたので、上記オア
回路のゲートが開かれ、メモリの正しい書き込み、読み
出しができるようになり、そのメモリの初期化ができる
ようになる。
[Effects of the Invention] As explained above, according to the memory device of the present invention,
A flip-flop circuit that is set by a reset signal generated when the power is turned on, and a negative logic OR circuit that prohibits the chip select signal from the computer in this set, and the flip-flop circuit is set. In some cases, the memory device is prevented from being written correctly, so that the computer can identify that the power has been turned on by not being able to write correctly. In addition, after the computer identifies whether the power has been turned on, a clear signal is generated to reset the flip-flop circuit, so the gate of the OR circuit is opened and the memory can be written and read correctly. , and the memory can be initialized.

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

第1図はこの発明の一実施例を示すメモリ装置の概略的
回路ブロック図、第2図は上記メモリ装置の動作を説明
するタイムチャート図である。 図中、1はメモリ部、1aはメモリセル、1bは双方向
性バッファ回路、2はアドレスバッファ部、3はアドレ
スバス、4はデータバス、5は入力回路、6は電源投入
識別回路、6aはフリップ・フロップ回路、6bはオア
回路(ゲート回路)である。 特許出願人 株式会社富士通ゼネラル 代理人 弁理士  大 原  拓 也
FIG. 1 is a schematic circuit block diagram of a memory device showing an embodiment of the present invention, and FIG. 2 is a time chart diagram explaining the operation of the memory device. In the figure, 1 is a memory section, 1a is a memory cell, 1b is a bidirectional buffer circuit, 2 is an address buffer section, 3 is an address bus, 4 is a data bus, 5 is an input circuit, 6 is a power-on identification circuit, 6a is a flip-flop circuit, and 6b is an OR circuit (gate circuit). Patent applicant: Fujitsu General Co., Ltd. Patent attorney: Takuya Ohara

Claims (1)

【特許請求の範囲】[Claims] (1)コンピュータのアドレスバスおよびデータバスに
接続され、そのコンピュータの指示によりデータの読み
出し、書き込みが行われるメモリ装置において、 そのコンピュータの電源投入時に発生されるリセット信
号にてセットされるフリップ・フロップ回路と、 このフリップ・フロップ回路のセットにて前記コンピュ
ータから出力されるチップセレクト信号を禁止するゲー
ト回路とを備え、 前記フリップ・フロップ回路のセットにより、前記メモ
リの書き込みを禁止し、前記電源投入の識別を可能とす
ると共に、前記フリップ・フロップ回路を所定時間後に
リセットし、初期化を可能とするようにしたことを特徴
とするメモリ装置。
(1) A flip-flop that is connected to a computer's address bus and data bus and is set by a reset signal generated when the computer is powered on, in a memory device in which data is read and written according to instructions from the computer. circuit, and a gate circuit for inhibiting a chip select signal outputted from the computer by the set of flip-flop circuits, the set of flip-flop circuits inhibits writing to the memory, and the power is turned on. 1. A memory device characterized in that the flip-flop circuit is reset after a predetermined time to enable initialization.
JP63121520A 1988-05-18 1988-05-18 Memory device Pending JPH01291312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63121520A JPH01291312A (en) 1988-05-18 1988-05-18 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63121520A JPH01291312A (en) 1988-05-18 1988-05-18 Memory device

Publications (1)

Publication Number Publication Date
JPH01291312A true JPH01291312A (en) 1989-11-22

Family

ID=14813256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63121520A Pending JPH01291312A (en) 1988-05-18 1988-05-18 Memory device

Country Status (1)

Country Link
JP (1) JPH01291312A (en)

Similar Documents

Publication Publication Date Title
KR940002755B1 (en) One-chip microcomputer
US4145761A (en) Ram retention during power up and power down
JP4663274B2 (en) MEMORY CONTROLLER, SMART CARD HAVING THE SAME, AND MEMORY DATA READING OPERATION CONTROL METHOD
US20040266027A1 (en) Method and system for fast data access using a memory array
US4314353A (en) On chip ram interconnect to MPU bus
JPH01138694A (en) Memory device
US4093986A (en) Address translation with storage protection
US5016219A (en) Computer memory write protection circuit
US6510501B1 (en) Non-volatile memory read/write security protection feature selection through non-volatile memory bits
JPH03204053A (en) Read-only memory
US20060168385A1 (en) Interrupt controller for a microprocessor
US20060007757A1 (en) Solution to DQS postamble ringing problem in memory chips
JPS6329859A (en) Memory protection circuit
JPS62286143A (en) Semiconductor memory device
JP2619671B2 (en) Memory control circuit
JP2919357B2 (en) CPU interface circuit
JP3235124B2 (en) Semiconductor integrated circuit
JPH09146662A (en) Suspend / resume method and computer system
JPH0434185B2 (en)
JP2581057B2 (en) Evaluation microcomputer
CA1118111A (en) On chip ram interconnect to mpu bus
JP2582300B2 (en) Memory access circuit
JPH0140433B2 (en)
JP3135770B2 (en) Nonvolatile semiconductor memory and storage device using the nonvolatile semiconductor memory
JPH0721775B2 (en) Memory write control circuit