JPS63183681A - Storage device - Google Patents
Storage deviceInfo
- Publication number
- JPS63183681A JPS63183681A JP62016505A JP1650587A JPS63183681A JP S63183681 A JPS63183681 A JP S63183681A JP 62016505 A JP62016505 A JP 62016505A JP 1650587 A JP1650587 A JP 1650587A JP S63183681 A JPS63183681 A JP S63183681A
- Authority
- JP
- Japan
- Prior art keywords
- high level
- circuits
- memory cells
- word lines
- outputs
- 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
Landscapes
- Static Random-Access Memory (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は記憶装置に係わり、特に、シングルチップマイ
クロプロセッサ等の記憶装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a storage device, and particularly to a storage device such as a single-chip microprocessor.
ランダムアクセスメモリ(以下、RAMという)は他の
記憶素子、例えばフリツプフロツプ回路等と比較すると
、小面積で大記憶容量を実現できるので、集積回路に広
く採用されている。特に、スタティックRAMは高速で
あり、バックアップ電源の採用により主1を源がオフさ
れたときのデータの保持が可能になったことから、シン
グルチップマイクロプロセッサのデータメモリ等に利用
されている。Random access memory (hereinafter referred to as RAM) is widely used in integrated circuits because it can realize a large storage capacity with a small area compared to other storage elements such as flip-flop circuits. In particular, static RAM is high-speed, and the use of a backup power supply makes it possible to retain data even when the main power source is turned off, so it is used as data memory in single-chip microprocessors.
第4図はかかる従来の記憶装置を示しており、図中1乃
至16はメモリセルを示している。各メモリセル1乃至
16は1対の記憶ノードN、 、 N2間に互いに並列
かつ逆向きに接続されたインバータI、、I意 と、上
記1対の記憶ノードN、 、 N2とビット線対BQ、
BQ乃至B3乃至B3との間妃設けられたトランスファ
ゲートT、 、 T、とを有している。かかる構成のメ
モリセル1乃至16にデータを書き込み、その後、該デ
ータを読み出すときの動作を第5図のタイミングチャー
トを参照しつつ説明する。まず、時刻t1にプリチャー
ジ信号PGが低レベルに移行するとPチャンネルMOS
トランジスタP1乃至P、はオンレ各ビット線付BQ、
BQ乃至83.B3がプリチャージされる。続く、時刻
t、にプリチャージ信号PGが高レベルに移行するとと
もに、アドレス人力AQ、Alにro 、 OJが供給
されるとアドレスデコーダ37はその出力Qo乃至Q、
のうちのQoを高レベルに移行させる。その結果、アン
ド回路17乃至20のうち17の入力のみ「1,1」と
なり、4本のワード線WO乃至W3のうちWOのみ高レ
ベルになる。したがりて、メモリセル1.5,9.13
のトランスファゲートT、、T、がオン状態となり、各
ビット線対BQ、BQ乃至B3.B3には各メモリセル
1,5.9,13に記憶さnていたデータが一時的に読
み出され、出力OQ乃至03は、例えば(0゜1.1.
1)のようKなる。ここで、時刻t3に書込み信号WR
が高レベルに移行すると、各アドト回路25乃至32の
一方の入力が「1」となるのでデータ入力DO乃至D3
に、例えば(0,0,0,0)が供給されていると、ア
ンド回路26.28,30゜32のみ2つの入力が「1
,1」となって、NチャンネルMOSトランジスタN、
、 N、 、 N、 、 N、はオフ、N、 、 N
、 、 N、 、 N、がオンとなり、ビット線BO乃
至B3が接地される。したがって、メモリセル1,5,
9.13の記憶ノードN、がそnぞれ「0」を記憶し、
時刻t4 に書込み信号WRが低レベルに移行すると、
メモリセル1,5,9,13の記憶ノードN、に「0」
が保持さnる。これば対して、時刻1.にワード線W1
が選択された読み出しサイクルでは出力OO乃至03に
メモリセル2.6,10.14の記憶内容が時刻t6ま
でに(1゜0.1.1) と出力され、ワード#jl
W2が選択きれた書き込みサーイクルでは時刻t、乃至
t、の間にメモリセル3,7,11,15に、′例えば
(LL1+1)が書き込まれる。さらに1時刻1.乃至
11゜の間にワード@W3が選択された読み出しサイク
ルでは、メモリセル4,8,12.16の記憶内容、例
えば(1,1,0,1)が出力00乃至03に現われる
。FIG. 4 shows such a conventional memory device, in which reference numerals 1 to 16 indicate memory cells. Each of the memory cells 1 to 16 includes inverters I, , I connected in parallel and in opposite directions between a pair of storage nodes N, , N2, and a bit line pair BQ between the pair of storage nodes N, , N2 and a bit line pair BQ. ,
It has transfer gates T, , T, provided between BQ to B3 to B3. The operation of writing data into the memory cells 1 to 16 having such a configuration and then reading the data will be described with reference to the timing chart of FIG. 5. First, when the precharge signal PG shifts to low level at time t1, the P-channel MOS
Transistors P1 to P are on/off with each bit line BQ,
BQ~83. B3 is precharged. Subsequently, at time t, the precharge signal PG shifts to high level, and ro and OJ are supplied to the address inputs AQ and Al, and the address decoder 37 outputs its outputs Qo to Q,
Shift the Qo of the target to a high level. As a result, only the inputs of 17 of the AND circuits 17 to 20 become "1, 1", and of the four word lines WO to W3, only WO becomes high level. Therefore, memory cells 1.5, 9.13
The transfer gates T, , T, of each bit line pair BQ, BQ to B3 . The data stored in each memory cell 1, 5, 9, 13 is temporarily read out to B3, and the outputs OQ to 03 are, for example, (0°1.1.
As in 1), K becomes. Here, at time t3, write signal WR
When transitions to a high level, one input of each add circuit 25 to 32 becomes "1", so the data inputs DO to D3
For example, if (0, 0, 0, 0) is supplied to
, 1'', and the N-channel MOS transistor N,
, N, , N, , N, is off, N, , N
, , N, , N are turned on, and the bit lines BO to B3 are grounded. Therefore, memory cells 1, 5,
9. Each storage node N in 13 stores "0",
When the write signal WR shifts to low level at time t4,
“0” in storage nodes N of memory cells 1, 5, 9, and 13
is held. In contrast, time 1. word line W1 to
In the read cycle in which is selected, the memory contents of memory cells 2.6 and 10.14 are output as (1°0.1.1) by time t6 to outputs OO to 03, and word #jl
In the write cycle in which W2 is fully selected, 'for example, (LL1+1) is written into the memory cells 3, 7, 11, and 15 between time t and time t. Another hour 1. In a read cycle in which word @W3 is selected between 11° and 11°, the stored contents of memory cells 4, 8, 12, 16, for example (1, 1, 0, 1) appear at outputs 00 to 03.
このように従来のRAMはワード毎にデータの書込み、
読み出しがなされ、シングルチップマイクロプロセッサ
では外部入力データ、演疎結東、パラメータ等の記憶に
用いらnている。In this way, conventional RAM writes data word by word,
In a single-chip microprocessor, it is used to store external input data, decompression data, parameters, etc.
一般にシングルチップマイクロプロセッサ等のRAMで
は、処理プログラムの実行前にRAMに一定のデータを
書き込みその初期化を図ることが必要であり、成源投入
直後等にかかる初期化のなされないままで処理プログラ
ムを実行すると、RAMの各メモリセルは不定のデータ
を記■意している状態なのでプログラムが暴走するおそ
れがある。Generally, in the RAM of a single-chip microprocessor, it is necessary to write certain data into the RAM and initialize it before executing a processing program. If this is executed, each memory cell of the RAM is in a state where undefined data is recorded, so there is a risk that the program will run out of control.
したがって、RAMの初期化プログラムを予じめ用意し
ておく必要があるが、複雑なプログラムの場曾には、多
くの割込み要因をかかえており、電源投入後に最初に実
行される可能性のある処理ルーチンが多く、必要なデー
タ領域のすべてを初期化するプログラムの作成は設計者
の注意力を超えるものがある。それで、RAM内のすべ
てのデータ領域を初期化することが望ましいが、1ワ一
ド分のメモリセルの初期化には、少なくとも1命令サイ
クル以上を必要としているので、従来例のように、1ワ
一ド分のメモリセル毎に書き込みを行なう場合には、R
AMのワード数以上の命令サイクルを必要としており、
典型的なワンチップマイクロプロセッサの場合には数十
乃至数百の命令サイクルが必要となり、RAMの初期化
に長時間を要するという問題点があった。さらに初期化
中、中央処理装置が専有されるうえ、初期化プログラム
のためにプログラム領域のかなりの部分が使用されると
いう問題点もあった。それで、本発明はメモリセルの初
期化を容易に行なえるようKすることを目的としている
。Therefore, it is necessary to prepare a RAM initialization program in advance, but complex programs often have many interrupt factors and may be the first to be executed after the power is turned on. There are many processing routines, and creating a program that initializes all necessary data areas may exceed the designer's attentiveness. Therefore, it is desirable to initialize all data areas in the RAM, but initializing one word of memory cells requires at least one instruction cycle. When writing to each memory cell for one word, R
It requires more instruction cycles than the number of words of AM,
In the case of a typical one-chip microprocessor, tens to hundreds of instruction cycles are required, and there is a problem in that it takes a long time to initialize the RAM. Furthermore, during initialization, the central processing unit is occupied and a considerable portion of the program area is used for the initialization program. Therefore, an object of the present invention is to facilitate the initialization of memory cells.
本発明はアドレス信号に基づき(k数のワード線のうち
の1本を活性化するワード線選択手段とともに、複数の
ワード線を同時に活性化させる同時選択手段を有するこ
とを要旨としており、通常の読み出し、または誓き込み
七−ドではアドレス信号によシワード線の1本を活性化
し、該活性化されたワード線により選択されるメモリセ
ルからデータの読み出し、またはデータの書き込みを行
なう。しかしながら、メモリセルの初期化が必要な場合
には、同時選択信号を供給して複数のワード線を活性化
する。こうして複数のワード線の活性化により、多数の
メモリセルが同時に選択されるので、データを書き込む
手段により所定のデータを同時に選択さnたメモリに書
き込むことができ、メモリセルの初期化を極めて短時間
で実行できる。。The gist of the present invention is to have word line selection means for activating one of (k) word lines based on an address signal as well as simultaneous selection means for activating a plurality of word lines at the same time. In the read or write mode, one of the word lines is activated by an address signal, and data is read or written from the memory cell selected by the activated word line.However, When it is necessary to initialize memory cells, a simultaneous selection signal is supplied to activate multiple word lines.In this way, by activating multiple word lines, a large number of memory cells are simultaneously selected. By using the writing means, predetermined data can be simultaneously written into the selected memories, and the memory cells can be initialized in an extremely short time.
その結果、中央処理装置の専有時間も短縮され、初期化
プログラムを保持するプログラム領域も縮少さnるっ
〔実施例〕
第1図は本発明の一実施例を示す論理回路図であり、図
中、第4図に示された従来例の構成部分に対応する部分
には同一符号のみ付し、説明は省略する。この一実施例
にあっては、アドレスデコーダ37の出力Qo乃至Q3
をオア回路100乃至103の一方の入力にそnぞれ接
続し、オア回路100乃至103の他方の入力には同時
選択信号5ELECTが供給可能である。オア回路1o
。As a result, the exclusive time of the central processing unit is shortened, and the program area for holding the initialization program is also reduced. [Embodiment] FIG. 1 is a logic circuit diagram showing an embodiment of the present invention. In the figure, only the same reference numerals are given to the parts corresponding to the parts of the conventional example shown in FIG. 4, and the explanation thereof will be omitted. In this embodiment, the outputs Qo to Q3 of the address decoder 37 are
are connected to one input of the OR circuits 100 to 103, respectively, and a simultaneous selection signal 5ELECT can be supplied to the other input of the OR circuits 100 to 103. OR circuit 1o
.
乃至103の出力はアンド回路17乃至20の一方の入
力にそnぞれ供給されており、アンド回路17乃至20
の他方の入力には従来と同様プリチャージ信号PGが供
給可能である。したがって、アドレスデコーダ37の出
力Qo乃至Q、は常にオア回路10075至103を介
してアンド回路エフ乃至20に供給され、同時選択信号
5ELEC’l”がオア回路100乃至103に同時的
に供給されると、全てのアンド回路17乃至20の一方
の入力′に「1」が供給される。上記アドレスデコーダ
37とアンド回路17乃至20は全体としてワード線選
択手段110を、オア回路1oo乃至103は全体とし
て同時2@折手段120をそれぞれ構成している。ま之
、メモリセル1乃至16はメモリセルアレイ130を、
アンド回路25乃至32とインバータ33乃至36とn
チャンネルyJOSトランジスタN l 、15至N8
とは全体としてデータをtき込む手段140をそれぞれ
構成している。The outputs of the AND circuits 17 to 103 are respectively supplied to one input of the AND circuits 17 to 20.
The precharge signal PG can be supplied to the other input as in the conventional case. Therefore, the outputs Qo to Q of the address decoder 37 are always supplied to the AND circuits F to 20 via the OR circuits 10075 to 103, and the simultaneous selection signal 5ELEC'l'' is simultaneously supplied to the OR circuits 100 to 103. Then, "1" is supplied to one input' of all the AND circuits 17 to 20. The address decoder 37 and AND circuits 17 to 20 collectively constitute word line selection means 110, and the OR circuits 1oo to 103 collectively constitute simultaneous 2@folding means 120. However, the memory cells 1 to 16 are connected to the memory cell array 130,
AND circuits 25 to 32 and inverters 33 to 36 and n
Channel yJOS transistor N l , 15 to N8
and constitute means 140 for inputting data as a whole.
次に、第2図のタイミングチャートを参照して作用を説
明する。なお、通常のデータの書き込みとデータの読み
出しとは従来例と同様なので説明は省略する。Next, the operation will be explained with reference to the timing chart of FIG. It should be noted that normal data writing and data reading are the same as in the conventional example, so a description thereof will be omitted.
メモリセル1乃至16の初期化を行なう場合には、時刻
’11に同時選択信号5ELECTを高レベルに移行さ
せると、アドレス信号AQ、Alとは無関係にオア回路
100乃至103が高レベルの出力をアンド回路17乃
至20にそnぞれ送出する。When initializing memory cells 1 to 16, when simultaneous selection signal 5ELECT is shifted to high level at time '11, OR circuits 100 to 103 output high level regardless of address signals AQ and Al. The signals are sent to AND circuits 17 to 20, respectively.
時刻tいにプリチャージ信号PGが高レベルl’74る
と、すべてのアンド回F′?!r17乃至20の出力が
高レベルに移行し、ワード線WO乃至W3が高レベルに
な乙。その結果、すべてのメモリセル1乃至16のトラ
ンスフアゲ−) T、 、 T2がオンし、各メモリセ
ル1乃至16の記憶ノードN、、N、が対応するビット
曜対BQ、BQ乃至B3.B3に電気的に接続される。At time t, when the precharge signal PG reaches a high level l'74, all AND circuits F'? ! The outputs of r17 to r20 shift to high level, and the word lines WO to W3 become high level. As a result, the transfer gates T, , T2 of all memory cells 1 to 16 are turned on, and the storage nodes N, , N of each memory cell 1 to 16 are connected to the corresponding bit pairs BQ, BQ to B3 . It is electrically connected to B3.
それで出力00乃至03にはメモリセル1巧至16の目
己憶状悪にしたがい不定のデータが一時的に現われる。Therefore, indeterminate data appears temporarily at the outputs 00 to 03 according to the memory states of the memory cells 1 to 16.
そこで、入力DO乃至D3に所定の初期化データ、例え
ば(0,1,0,1)を供給し、時刻t、3に書き込み
信号WRを高レベルに移行させると、アンド回路26
、27 、30 、31の出力が高レベルとなり、nチ
ャンネルMOSトランジスタN2tN3.N5tN7が
オンし、Nl 、N4゜N5.Ngはオフ状態に留まる
。したがって、ビット線BO,Bl、B2.B3は接地
され、メモリセル1゜2.3,4.9,10,11.1
2には「0」が、5,6゜7.8,13,14,15.
16には「1」が同時的に書き込まれる。したがって、
時刻t14乃至tIsにアドレス信号AQ、Alにより
ワードaW1が選択さレルト、出力00乃至03には(
0,1,0,1> が現われる。Therefore, if predetermined initialization data, for example (0, 1, 0, 1) is supplied to the inputs DO to D3, and the write signal WR is shifted to a high level at time t, 3, the AND circuit 26
, 27, 30, 31 become high level, and the n-channel MOS transistors N2tN3 . N5tN7 turns on, Nl, N4°N5. Ng remains off. Therefore, bit lines BO, Bl, B2 . B3 is grounded and memory cells 1°2.3, 4.9, 10, 11.1
2 has "0", 5, 6° 7.8, 13, 14, 15.
16 is simultaneously written with "1". therefore,
Word aW1 is selected by address signals AQ and Al from time t14 to tIs, and the outputs 00 to 03 are (
0,1,0,1> appears.
第3図は本発明の他の実施例を示す論理回路図であり、
初期化すべきメモリセルを選択的にした例である。すな
わち、同時選択信号5ELECTはワードawo、WI
K対応して設けられたオア回路100.101とくの
み供給され、アンド回路19゜20にはインバータ10
4を介して同時選択信号5ELECTの反転信号を供給
している。したがって、メモリセル1,2,5,6,9
,10.13.14は同時に初期化されるが、残りのメ
モリセルは初期化されることなくデータを保持できる。FIG. 3 is a logic circuit diagram showing another embodiment of the present invention,
This is an example in which memory cells to be initialized are selectively selected. That is, the simultaneous selection signal 5ELECT is the word awo, WI
Only the OR circuits 100 and 101 provided corresponding to K are supplied, and the inverter 10 is supplied to the AND circuits 19 and 20.
4, an inverted signal of the simultaneous selection signal 5ELECT is supplied. Therefore, memory cells 1, 2, 5, 6, 9
, 10.13.14 are initialized at the same time, but the remaining memory cells can hold data without being initialized.
第1図は本発明の一実施例を示す論理回路図、M2図は
一実施例のタイミングチャート図、第3図は他の実施例
の論理回路図、第4図は従来例の論理l!21路図、第
5図は従来例のタイミングチャート図である。
110・・・・・・ワード線選択手段、120・・・・
・・同時選択手段、130・・・・・・メモリセルアレ
イ、140・・・・・・データを書き込む手段。FIG. 1 is a logic circuit diagram showing one embodiment of the present invention, FIG. M2 is a timing chart diagram of one embodiment, FIG. 3 is a logic circuit diagram of another embodiment, and FIG. 4 is a logic circuit diagram of a conventional example. 21 and FIG. 5 are timing charts of a conventional example. 110... Word line selection means, 120...
. . . simultaneous selection means, 130 . . . memory cell array, 140 . . . means for writing data.
Claims (1)
可能な複数のメモリセルから成るメモリセルアレイと、
選択されたメモリセルにデータを書き込む手段と、ワー
ド線を活性化させるワード線指定部とを具えた記憶装置
において、上記ワード線指定部をアドレス信号に基づき
複数のワード線のうちのいずれか1本を活性化するワー
ド線選択手段と、同時選択信号に基づき複数のワード線
を同時に活性化する同時選択手段とを有していることを
特徴とする記憶装置。a memory cell array consisting of a plurality of word lines and a plurality of memory cells selectable by the activated word lines;
In a storage device comprising means for writing data into a selected memory cell and a word line designation section for activating a word line, the word line designation section is configured to activate one of a plurality of word lines based on an address signal. A storage device comprising: word line selection means for activating a book; and simultaneous selection means for simultaneously activating a plurality of word lines based on a simultaneous selection signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62016505A JPS63183681A (en) | 1987-01-26 | 1987-01-26 | Storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62016505A JPS63183681A (en) | 1987-01-26 | 1987-01-26 | Storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63183681A true JPS63183681A (en) | 1988-07-29 |
Family
ID=11918132
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62016505A Pending JPS63183681A (en) | 1987-01-26 | 1987-01-26 | Storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63183681A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57176587A (en) * | 1981-04-24 | 1982-10-29 | Hitachi Ltd | Semiconductor ram device |
JPS58222489A (en) * | 1982-06-18 | 1983-12-24 | Nec Corp | Semiconductor storage device |
JPS60133587A (en) * | 1983-12-21 | 1985-07-16 | Toshiba Corp | Semiconductor storage device |
JPS60197995A (en) * | 1984-03-21 | 1985-10-07 | Toshiba Corp | Static type random access memory |
-
1987
- 1987-01-26 JP JP62016505A patent/JPS63183681A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57176587A (en) * | 1981-04-24 | 1982-10-29 | Hitachi Ltd | Semiconductor ram device |
JPS58222489A (en) * | 1982-06-18 | 1983-12-24 | Nec Corp | Semiconductor storage device |
JPS60133587A (en) * | 1983-12-21 | 1985-07-16 | Toshiba Corp | Semiconductor storage device |
JPS60197995A (en) * | 1984-03-21 | 1985-10-07 | Toshiba Corp | Static type random access memory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5783958A (en) | Switching master slave circuit | |
US6519192B2 (en) | Semiconductor memory device having a large band width and allowing efficient execution of redundant repair | |
US5325325A (en) | Semiconductor memory device capable of initializing storage data | |
JPH01178193A (en) | Semiconductor storage device | |
US6175533B1 (en) | Multi-port memory cell with preset | |
US7139204B1 (en) | Method and system for testing a dual-port memory at speed in a stressed environment | |
CN107783783A (en) | The device and method relevant with microcode instruction | |
JPH01134790A (en) | Semiconductor storage device | |
US20150043297A1 (en) | Active control device and semiconductor device including the same | |
US6262936B1 (en) | Random access memory having independent read port and write port and process for writing to and reading from the same | |
CN114077418A (en) | In-memory computing method and device, memory and storage medium | |
US5805523A (en) | Burst counter circuit and method of operation thereof | |
EP0920024A2 (en) | Semiconductor memory device having a plurality of banks | |
JP2588936B2 (en) | Semiconductor storage device | |
US7349266B2 (en) | Memory device with a data hold latch | |
JP3574041B2 (en) | Semiconductor storage device | |
US6219296B1 (en) | Multiport memory cell having a reduced number of write wordlines | |
JPS63183681A (en) | Storage device | |
JPH03286494A (en) | Semiconductor memory device | |
JPH1021687A (en) | Semiconductor memory device | |
US20240071561A1 (en) | Sram repair system and method | |
JP2004103128A (en) | Semiconductor memory and control device for writing of semiconductor memory | |
JP2001229669A (en) | Semiconductor device | |
US7356746B2 (en) | Embedded testing circuit for testing a dual port memory | |
EP0614144A2 (en) | Semiconductor integrated circuit device equipped with answer system for teaching optional functions to diagnostic system |