Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0247036B2 - - Google Patents
[go: Go Back, main page]

JPH0247036B2 - - Google Patents

Info

Publication number
JPH0247036B2
JPH0247036B2 JP58015496A JP1549683A JPH0247036B2 JP H0247036 B2 JPH0247036 B2 JP H0247036B2 JP 58015496 A JP58015496 A JP 58015496A JP 1549683 A JP1549683 A JP 1549683A JP H0247036 B2 JPH0247036 B2 JP H0247036B2
Authority
JP
Japan
Prior art keywords
ram
gate
output
input
signal
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 - Lifetime
Application number
JP58015496A
Other languages
Japanese (ja)
Other versions
JPS59142795A (en
Inventor
Takashi Takeda
Makoto Mogi
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP58015496A priority Critical patent/JPS59142795A/en
Publication of JPS59142795A publication Critical patent/JPS59142795A/en
Publication of JPH0247036B2 publication Critical patent/JPH0247036B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Static Random-Access Memory (AREA)

Description

【発明の詳細な説明】 (技術分野) 本発明はラム(RAM)のセンス回路に関す
る。
TECHNICAL FIELD The present invention relates to RAM sensing circuits.

(背景技術) 最近の集積回路では、1チツプ・マイクロコン
ピユータに代表されるようにラム(RAM)が内
蔵されているものが多い。このような集積回路で
使用されている従来のラムのセンス回路部を第1
図に示す。
(Background Art) Many of the recent integrated circuits have a built-in RAM, as typified by one-chip microcomputers. The conventional RAM sense circuit used in such integrated circuits is
As shown in the figure.

1,2は“1”及び“0”の信号線であり、
RAMのセル部を構成する図示しない各フリツプ
フロツプと図示しないトランスフアースイツチを
を介して接続されている。3,4はノアゲートで
あり、3の入力端は1の信号線及び4の出力に、
また4の入力端は2の信号線と3の出力に接続さ
れており、4の出力がラムの信号となる。ラムの
読み出し時には、セル部のいずれかの図示しない
フリツプフロツプが1及び2の信号線に図示しな
いトランスフアースイツチを介して接続される。
接続された図示しないフリツプフロツプが“1”
の状態を保持していれば1の信号線は高電位とな
り、2の信号線は低電位となる。従つて3の出力
は入力端の一方に高電位が加えられるため“0”
となり、ノアゲート4の出力つまりラムの出力
は、ノアゲート4の入力端の一方に低電位がまた
他方の入力端には“0”が加えられるため“1”
となる。
1 and 2 are “1” and “0” signal lines,
It is connected to flip-flops (not shown) constituting the cell portion of the RAM via transfer switches (not shown). 3 and 4 are NOR gates, and the input terminal of 3 is connected to the signal line of 1 and the output of 4,
Further, the input end of 4 is connected to the signal line 2 and the output of 3, and the output of 4 becomes the RAM signal. When reading from the RAM, a flip-flop (not shown) in one of the cell sections is connected to signal lines 1 and 2 via a transfer switch (not shown).
The connected flip-flop (not shown) is “1”
If the state is maintained, the signal line 1 becomes a high potential, and the signal line 2 becomes a low potential. Therefore, the output of 3 is “0” because a high potential is applied to one of the input terminals.
Therefore, the output of the NOR gate 4, that is, the output of the RAM, is "1" because a low potential is applied to one input terminal of the NOR gate 4 and "0" is applied to the other input terminal.
becomes.

接続された図示しないフリツプフロツプが
“0”の状態を保持していれば1の信号線は低電
位、2の信号線は高電位となる。従つてノアゲー
ト4の入力端の一方が高電位となるためノアゲー
ト4の出力つまりラムの出力は“0”となる。
If the connected flip-flop (not shown) maintains the "0" state, the signal line 1 has a low potential and the signal line 2 has a high potential. Therefore, one of the input terminals of the NOR gate 4 has a high potential, so the output of the NOR gate 4, that is, the output of the RAM becomes "0".

ラムへの書き込み時には、読み出し時と同様に
セル部のいずれかのフリツプフロツプが1及び2
の信号線に図示しないトランスフアースイツチを
介して接続される。そして、1,2の信号線を
“1”、“0”あるいは“0”、“1”に強制的にし
て、1,2の信号線に接続された図示しないフリ
ツプフロツプを反転させる。従つて、書き込むデ
ータによりノアゲート4の出力つまりラムの出力
は変化する。
When writing to the RAM, one of the flip-flops in the cell section is set to 1 and 2, as in the case of reading.
It is connected to the signal line of the terminal via a transfer switch (not shown). Then, the signal lines 1 and 2 are forced to "1" and "0" or "0" and "1", and the flip-flops (not shown) connected to the signal lines 1 and 2 are inverted. Therefore, the output of the NOR gate 4, that is, the output of the RAM, changes depending on the data to be written.

現在、時計・電卓等に使用されている1チツ
プ・マイクロコンピユータではアキユムレータの
データとラムのデータとの演算を行うとき、プロ
グラムのステツプ数を減少させるため、演算結果
をアキユムレータに保持すると共にラムに書き込
む方式を取るものが多い。この方式を従来のセン
ス回路部を持つラムを使用して実現させると、第
2図のようになる。
Currently, in the single-chip microcomputers used in watches, calculators, etc., when performing calculations between data in the accumulator and data in the RAM, in order to reduce the number of program steps, the calculation results are held in the accumulator and stored in the RAM. Many use the writing method. If this system is implemented using a RAM having a conventional sense circuit section, the result will be as shown in FIG.

5はφWを書き込み信号とするラムで、6は
φRを読み込み信号とするラツチで、7はアキユ
ムレータであり、8は演算回路である。5から読
み出されたデータはφRの信号により一度ラツチ
6によりラツチされる。ラツチ6の出力はアキユ
ムレータ7の出力と共に、演算回路8に入力され
る。演算回路8の出力はRAM5に入力され、
φWの信号によりRAM5に書き込まれる。RAM
5の出力は、演算回路8の出力がRAM5に書き
込まれると同時に変化するため、RAM5から読
み出したデータを保持する6のラツチは不可欠で
ある。
5 is a ram using φW as a write signal, 6 is a latch using φR as a read signal, 7 is an accumulator, and 8 is an arithmetic circuit. The data read from 5 is once latched by latch 6 by the signal φR. The output of the latch 6 is input to the arithmetic circuit 8 together with the output of the accumulator 7. The output of the arithmetic circuit 8 is input to the RAM 5,
The data is written into the RAM 5 by the φW signal. RAM
Since the output of 5 changes at the same time as the output of the arithmetic circuit 8 is written to the RAM 5, the latch 6 that holds the data read from the RAM 5 is essential.

以上説明したように、従来のセンス回路部を持
つラムを使用して、ラムのデータを読み出し、操
作を行いさらにそれをラムに書き込むことを行う
には、読み出し時のデータを一時保持するラツチ
が必要となる。ラツチの数はラムの1ワードを構
成するビツト数に従い増大し、集積回路のチツプ
面積を増大させる欠点があつた。
As explained above, when using a RAM with a conventional sense circuit, in order to read data from the RAM, manipulate it, and then write it to the RAM, a latch is needed to temporarily hold the data when it is read. It becomes necessary. The number of latches increases with the number of bits constituting one word of the RAM, which has the disadvantage of increasing the chip area of the integrated circuit.

(発明の課題) 本発明はこの欠点を除去するため、ラムのセン
ス回路部自体にラムの読み出し時のデータをラツ
チする機能を持たせたもので以下詳細に説明す
る。
(Problems to be solved by the Invention) In order to eliminate this drawback, the present invention provides the RAM sense circuit itself with a function of latching data when reading from the RAM, which will be described in detail below.

(発明の構成および作用) 第3図は本発明の実施例である。9,10は
“1”及び“0”の信号線であり、ラムのセル部
をを構成する各フリツプフロツプとゲートを介し
て接続されている。11,12はそれぞれ2入力
ゲートを構成するアンドゲートであり、アンドゲ
ート11の入力端には9の信号線及びラムの読み
出し信号φRが接続される。アンドゲート12の
入力端には10の信号線及びφRが接続される。
13,14はフリツプフロツプを構成するノアゲ
ートであり、ノアゲート13の入力端にはアンド
ゲート11の出力及び14の出力が接続され、ノ
アゲート14の入力端にはアンドゲート12の出
力及びノアゲート13の出力が接続される。ノア
ゲート14の出力がラムの出力となる。
(Structure and operation of the invention) FIG. 3 shows an embodiment of the invention. Reference numerals 9 and 10 indicate "1" and "0" signal lines, which are connected via gates to flip-flops constituting the RAM cell section. 11 and 12 are AND gates each forming a two-input gate, and the input terminal of the AND gate 11 is connected to a signal line 9 and a RAM read signal φR. The input terminal of the AND gate 12 is connected to ten signal lines and φR.
13 and 14 are NOR gates constituting a flip-flop.The input terminal of the NOR gate 13 is connected to the output of the AND gate 11 and the output of the AND gate 14, and the input terminal of the NOR gate 14 is connected to the output of the AND gate 12 and the output of the NOR gate 13. Connected. The output of the NOR gate 14 becomes the output of the RAM.

ラムの読み出し時には、セル部のいずれかの図
示しないフリツプフロツプが9及び10の信号線
に図示しないトランスフアースイツチを介して接
続される。接続された図示しないフリツプフロツ
プが“1”の状態を保持していれば9の信号線は
高電位に、10の信号線は低電位となる。このと
きにφRの信号を“1”にすれば、アンドゲート
11の出力は入力が高電位及び“1”であるので
“1”となり、アンドゲート12の出力は入力が
低電位及び“1”であるので“0”となる。ノア
ゲート13の出力は入力の一方が“1”であるの
で“0”となり、従つてノアゲート14の出力つ
まりラムの出力は入力が全て“0”となるため
“1”となる。逆に9,10の信号線に接続され
た図示しないフリツプフロツプが“0”の状態を
保持していれば、9の信号線は低電位に、10の
信号線は高電位となる。このときにφRの信号を
“1”とすれば、アンドゲート11の出力は入力
が低電位及び“1”のため“0”となり、アンド
ゲート12の出力は入力が高電位及び“1”のた
め“1”となる。ノアゲート14の出力つまりラ
ムの出力は入力の一方が“1”のため“0”とな
る。ラムへの書き込み時にはφRの信号を“0”
とする。したがつて、9,10の信号線の状態に
かかわらずアンドゲート11,12の出力は
“0”となる。13,14のノアゲートはフリツ
プフロツプを構成しているため、アンドゲート1
1,12の出力が“0”となつてもラムの読み出
し時のデータはノアゲート14の出力に保持され
続ける。
When reading from the RAM, a flip-flop (not shown) in one of the cell sections is connected to signal lines 9 and 10 via a transfer switch (not shown). If the connected flip-flop (not shown) maintains the "1" state, the signal line 9 will be at a high potential, and the signal line 10 will be at a low potential. At this time, if the φR signal is set to "1", the output of the AND gate 11 becomes "1" because the input is at a high potential and "1", and the output of the AND gate 12 becomes "1" when the input is at a low potential. Therefore, it becomes “0”. Since one of the inputs is "1", the output of the NOR gate 13 is "0", and therefore the output of the NOR gate 14, that is, the output of the RAM, is "1" because all the inputs are "0". Conversely, if the flip-flops (not shown) connected to the signal lines 9 and 10 maintain the "0" state, the signal line 9 becomes a low potential and the signal line 10 becomes a high potential. At this time, if the signal of φR is set to "1", the output of AND gate 11 becomes "0" because the input is low potential and "1", and the output of AND gate 12 becomes "0" because the input is high potential and "1". Therefore, it becomes “1”. The output of the NOR gate 14, that is, the output of the RAM, becomes "0" because one of the inputs is "1". When writing to RAM, set the φR signal to “0”
shall be. Therefore, the outputs of AND gates 11 and 12 become "0" regardless of the states of signal lines 9 and 10. Since the NOR gates 13 and 14 constitute a flip-flop, the AND gate 1
Even if the outputs of RAM 1 and 12 become "0", the data read from the RAM continues to be held at the output of the NOR gate 14.

(発明の効果) 以上説明したように、本発明によれば、従来の
ラムのセンス回路部に比較してわずかのゲートの
付加のみでセンス回路部自体にラムの読み出し時
のデータのラツチ機能を持たせることができ、わ
ざわざラムの外部にラムのデータをラツチさせる
回路を付け加える必要がなくなる。
(Effects of the Invention) As explained above, according to the present invention, the data latch function at the time of RAM readout can be established in the sense circuit section itself by adding only a few gates compared to the conventional RAM sense circuit section. This eliminates the need to add a circuit external to the RAM to latch the RAM data.

従つて集積回路のチツプ面積の増大を招くこと
なく、所望の機能を実現することができる。
Therefore, desired functions can be realized without increasing the chip area of the integrated circuit.

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

第1図は従来のラムのセンス回路部、第2図は
従来のセンス回路部をもつラムを使用して実現し
た1チツプ・マイクロコンピユータの方式を示す
説明図、第3図は本発明の実施例の説明図であ
る。 1……“1”信号線、2……“0”信号線、3
……ノアゲート、4……ノアゲート、5……ラ
ム、6……ラツチ、7……アキユムレータ、8…
…演算回路、9……“1”信号線、10……
“0”信号線、11……アンドゲート、12……
アンドゲート、13……ノアゲート、14……ノ
アゲート。
Fig. 1 is a conventional RAM sense circuit, Fig. 2 is an explanatory diagram showing a one-chip microcomputer system realized using a RAM with a conventional sense circuit, and Fig. 3 is an implementation of the present invention. It is an explanatory diagram of an example. 1..."1" signal line, 2..."0" signal line, 3
...Noah Gate, 4...Noah Gate, 5...Ram, 6...Ratsuchi, 7...Accumulator, 8...
...Arithmetic circuit, 9..."1" signal line, 10...
"0" signal line, 11...AND gate, 12...
And gate, 13...Noah gate, 14...Noah gate.

Claims (1)

【特許請求の範囲】 1 ラム(RAM)からの“1”信号線とラムの
読出し信号をゲート信号とし、これらの入力値に
より“0”値又は“1”値を出力する第1の2入
力ゲート回路と、 前記ラムからの“0”信号線とラムの読出し信
号をゲート信号とし、これらの入力値により
“0”値又は“1”値を出力する第2の2入力ゲ
ート回路と、 前記第1及び第2の2入力ゲート回路の出力を
入力とし、該入力値が異なる論理値であるとき
に、前記ラムからの読出し信号値を出力し、該入
力値がともに同じ論理値であるときの少なくとも
一方で信号保持を行ないこの保持値を出力するフ
リツプフロツプとを有することを特徴とするセン
ス回路。
[Claims] 1. A first two-input device that uses a “1” signal line from a RAM (RAM) and a RAM readout signal as gate signals, and outputs a “0” value or a “1” value depending on these input values. a second two-input gate circuit that uses the "0" signal line from the RAM and the readout signal of the RAM as gate signals and outputs a "0" value or a "1" value depending on these input values; The outputs of the first and second two-input gate circuits are input, and when the input values are different logical values, the read signal value from the ram is output, and when the input values are both the same logical value. 1. A sense circuit comprising a flip-flop that holds a signal on at least one of the flip-flops and outputs the held value.
JP58015496A 1983-02-03 1983-02-03 Sense circuit Granted JPS59142795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58015496A JPS59142795A (en) 1983-02-03 1983-02-03 Sense circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58015496A JPS59142795A (en) 1983-02-03 1983-02-03 Sense circuit

Publications (2)

Publication Number Publication Date
JPS59142795A JPS59142795A (en) 1984-08-16
JPH0247036B2 true JPH0247036B2 (en) 1990-10-18

Family

ID=11890415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58015496A Granted JPS59142795A (en) 1983-02-03 1983-02-03 Sense circuit

Country Status (1)

Country Link
JP (1) JPS59142795A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57199330A (en) * 1981-06-01 1982-12-07 Mitsubishi Electric Corp Mos output driving circuit

Also Published As

Publication number Publication date
JPS59142795A (en) 1984-08-16

Similar Documents

Publication Publication Date Title
US4882709A (en) Conditional write RAM
EP0145497B1 (en) Semiconductor integrated circuit device
US3968480A (en) Memory cell
US5125011A (en) Apparatus for masking data bits
JPS6128198B2 (en)
JPH0247036B2 (en)
JP3071435B2 (en) Multi-bit match circuit
KR910001545A (en) CPU core
JP2644111B2 (en) Input/Output Circuit
JPS6256598B2 (en)
JPS60262258A (en) Memory circuit
JPS629926B2 (en)
JPH0517565B2 (en)
JPH064480Y2 (en) Semiconductor memory device
JPS59161761A (en) State setting circuit of data processor
JPS6349816B2 (en)
JP2575436B2 (en) Semiconductor integrated circuit with built-in flip-flop circuit
JP2819329B2 (en) Program storage device
JP2716284B2 (en) Semiconductor integrated circuit
KR920005294B1 (en) Chip Enable Signal Control Circuit of Dual Port Memory Devices
KR900003527Y1 (en) Dma circuit for ic used in data transmission and receiving
JPS6118832B2 (en)
JPH02215218A (en) Latch circuit
JPH0564361B2 (en)
JPS6160516B2 (en)