JPH0413794B2 - - Google Patents
Info
- Publication number
- JPH0413794B2 JPH0413794B2 JP57059047A JP5904782A JPH0413794B2 JP H0413794 B2 JPH0413794 B2 JP H0413794B2 JP 57059047 A JP57059047 A JP 57059047A JP 5904782 A JP5904782 A JP 5904782A JP H0413794 B2 JPH0413794 B2 JP H0413794B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- ram
- bit
- bits
- output lines
- 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
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/10—Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
Landscapes
- Static Random-Access Memory (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は、nビツトの並列なデータ処理と
2nビツトの並列的なデータ処理とが混在するシ
ステム内で用いられ、2nビツトの出力端が2n本
のデータ出力ラインにそれぞれ接続されたランダ
ムアクセスメモリ(RAM)の並列出力ビツト数
を2nビツトとnビツトに切り換えて用いるため
のRAM制御回路に関し、例えば4ビツトの演算
処理と8ビツトの演算処理が混在する電子式卓上
計算機において、オペランドが格納されるRAM
の出力ビツト数を4ビツトと8ビツトに切換えて
用いるのに好適なものである。[Detailed Description of the Invention] [Technical Field of the Invention] This invention relates to n-bit parallel data processing and
2n bits refers to the number of parallel output bits of a random access memory (RAM) used in a system where 2n bit parallel data processing is mixed, and whose 2n bit output ends are connected to 2n data output lines. Regarding the RAM control circuit for switching to n-bit and using it, for example, in an electronic desktop calculator where 4-bit arithmetic processing and 8-bit arithmetic processing are mixed, the RAM that stores operands.
This is suitable for switching the number of output bits between 4 bits and 8 bits.
一般に、RAMへのデータの書き込みおよび読
み出しは、例えば4ビツトシステムにおいては4
ビツトを並列に、nビツトのシステムではnビツ
トを並列に処理している。第1図に8ビツトの入
出力で、容量が1024ビツトのRAMを示す。図に
おいて、11はRAM、IN1〜IN8はRAM11へ
の書き込みデータ、in1〜in8はデータ入力ライ
ン、OUT1〜OUT8はRAM11からの読み出し
データ、out1〜out8はデータ出力ライン、X1,
X2,X4,X8は列選択信号、Y1,Y2,Y4,Y8は
行選択信号である。
In general, writing and reading data to and from RAM requires, for example, 4 bits in a 4-bit system.
In an n-bit system, n bits are processed in parallel. Figure 1 shows a RAM with 8-bit input/output and a capacity of 1024 bits. In the figure, 11 is RAM, IN 1 to IN 8 are write data to RAM 11, in 1 to in 8 are data input lines, OUT 1 to OUT 8 are read data from RAM 11, out 1 to out 8 are data output lines, X 1 ,
X 2 , X 4 , and X 8 are column selection signals, and Y 1 , Y 2 , Y 4 , and Y 8 are row selection signals.
上記のような構成において、RAM11へのデ
ータの書き込み時は、書き込みデータIN1〜IN8
が列選択信号X1,X2,X4,X8および行選択信号
Y1,Y2,Y4,Y8によつて選択されたRAM11
の所定のアドレスへ記憶される。また、データの
読み出し時には、列選択信号X1,X2,X4,X8お
よび行選択信号Y1,Y2,Y4,Y8によつて選択さ
れたアドレスから読み出しデータOUT1〜OUT8
が読み出される。 In the above configuration, when writing data to the RAM 11, the write data IN 1 to IN 8
are column selection signals X 1 , X 2 , X 4 , X 8 and row selection signals
RAM11 selected by Y 1 , Y 2 , Y 4 , Y 8
is stored at a predetermined address. Furthermore, when reading data, the read data OUT 1 to OUT is read from the address selected by the column selection signals X 1 , X 2 , X 4 , and X 8 and the row selection signals Y 1 , Y 2 , Y 4 , and Y 8 . 8
is read out.
上記のような構成において、RAM11から8
ビツトのデータを並列的な読み出す場合には、デ
ータ出力ラインout1〜out8が全て選択されるの
で問題はないが、例えば4ビツトのデータを並列
的に読み出す場合には、データ出力ラインout1
〜out8のうち、4本が選択状態、他の4本が非
選択状態となる。通常、RAM11の各ビツトの
出力端と各データ出力ラインout1〜out8との間
には、ラツチ回路やクロツクドインバータ等が設
けられており、並列的なデータ出力のタイミング
を図るように構成されているので、RAM11の
出力のビツト数を変えるためには、上記ラツチ回
路やクロツクドインバータのうち、選択状態の4
ビツトにはクロツクを供給し、非選択状態の4ビ
ツトへのクロツクの供給を停止させることが考え
られる。しかしながら、クロツクの供給が停止さ
れたラツチ回路やスロツクドインバータの出力端
は高インピーダンス状態となるので、非選択の4
本のデータ出力ラインも高インピーダンス状態と
なる。このデータ出力ラインの高インピーダンス
状態は、データラインの状態が不安定となるた
め、システム的にも回路的にも好ましくない。 In the above configuration, RAM 11 to 8
When reading bit data in parallel, there is no problem because all data output lines out1 to out8 are selected. However, for example, when reading 4 bit data in parallel, data output lines out1 to out8 are selected.
-out8, four are in the selected state and the other four are in the non-selected state. Normally, a latch circuit, clocked inverter, etc. is provided between the output terminal of each bit of the RAM 11 and each data output line out1 to out8, and the circuit is configured to adjust the timing of parallel data output. Therefore, in order to change the number of bits output from RAM 11, one of the selected latch circuits and clocked inverters must be used.
It is conceivable to supply a clock to the bits and stop supplying the clock to the four non-selected bits. However, the output terminals of latch circuits and locked inverters whose clock supply is stopped become in a high impedance state.
The book's data output line also goes into a high impedance state. This high impedance state of the data output line is undesirable from a system and circuit perspective because the state of the data line becomes unstable.
ところで、高速データ処理を行なうためには、
4ビツト処理よりも8ビツト処理の方が有利であ
るが、データの処理内容(例えば四則演算)によ
つては4ビツト処理の方がやり易い場合もある。
しかし、上述したように8ビツト並列出力構成の
RAMから4ビツトの並列出力を得ようとする
と、RAMの読み出しデータラインが高インピー
ダンス状態となるので、4ビツト処理に適したデ
ータであつても8ビツトのデータとして扱えるよ
うに、例えば上位4ビツトのデータとして“0”
を入力して8ビツトの処理を行なう必要がある。
このような処理を行なうことは、RAMの使用効
率が悪く、また、ALUあるいはRAMとデータの
やり取りをする周辺回路のデータ処理が煩雑とな
るとともに消費電力も増加する欠点がある。 By the way, in order to perform high-speed data processing,
Although 8-bit processing is more advantageous than 4-bit processing, 4-bit processing may be easier depending on the content of data processing (for example, four arithmetic operations).
However, as mentioned above, the 8-bit parallel output configuration
When trying to obtain 4-bit parallel output from RAM, the read data line of the RAM goes into a high impedance state, so even if the data is suitable for 4-bit processing, it can be handled as 8-bit data by, for example, the upper 4 bits. “0” as the data of
It is necessary to input and perform 8-bit processing.
Performing such processing has the disadvantage that RAM is used inefficiently, data processing in the ALU or peripheral circuits that exchange data with the RAM becomes complicated, and power consumption increases.
この発明は上記のような事情に鑑みてなされた
もので、その目的とするところは、nビツトの並
列的なデータ処理と2nビツトの並列的なデータ
処理とが混在するシステム内で用いられ、2nビ
ツトの出力端が2n本のデータ出力ラインに接続
されたRAMにおいて、安定した状態で並列出力
ビツト数を2nビツトからnビツトに切り換えて
用いることができるRAM制御回路を提供するこ
とである。
This invention was made in view of the above circumstances, and its purpose is to be used in a system where n-bit parallel data processing and 2n-bit parallel data processing coexist. To provide a RAM control circuit capable of switching the number of parallel output bits from 2n bits to n bits in a stable state in a RAM whose 2n bit output ends are connected to 2n data output lines.
[発明の概要]
すなわち、この発明において、上記の目的を達
成するために、nビツトの並列的なデータ処理と
2nビツトの並列的なデータ処理とが混在するシ
ステム内で用いられ、2nビツトの出力端が2n本
のデータ出力ラインにそれぞれ接続され、2nビ
ツトの並列的なデータの読み出しとnビツトの並
列的なデータの読み出しが選択的に行なわれる
RAMにおいて、下位n本の各データ出力ライン
と接地点間にアドレス指定信号で導通制御される
第1グループのn個のMOSトランジスタをそれ
ぞれ設けると共に、残りの上位n本の各データ出
力ラインと接地点間にこのRAMの出力ビツト数
の切り換えを制御する制御信号で導通制御される
第2グループのn個のMOSトランジスタをそれ
ぞれ設け、RAMからの下位nビツトまたは上位
nビツトのデータの並列的な読み出し時に、不使
用となる上位n本または下位n本のデータ出力ラ
インを、上記第2グループまたは第1グループの
MOSトランジスタを導通させて接地電位に定め
るように構成したものである。[Summary of the invention] That is, in order to achieve the above object, the present invention utilizes n-bit parallel data processing and
It is used in a system where 2n-bit parallel data processing is mixed, and the 2n-bit output ends are connected to 2n data output lines, respectively, and 2n-bit parallel data readout and n-bit parallel data processing are performed. selective data reading is performed.
In the RAM, a first group of n MOS transistors whose conduction is controlled by an addressing signal is provided between each of the lower n data output lines and a ground point, and connected to each of the remaining upper n data output lines. A second group of n MOS transistors whose conduction is controlled by a control signal that controls switching of the number of output bits of this RAM is provided between the points, and the lower n bits or upper n bits of data from the RAM are processed in parallel. At the time of reading, the upper n or lower n data output lines that are not used are connected to the second group or the first group.
The structure is such that the MOS transistor is made conductive and set to the ground potential.
以下、この発明の一実施例について図面を参照
して説明する。第2図はその構成を示すもので、
データ出力ラインout1〜out8の出力選択手段と
して、データ出力ラインout1〜out8と接地点間
にそれぞれMOSトランジスタTr1〜Tr4および
Tr5〜Tr8を設け、アドレス指定(行選択)信号
Y1およびメモリセルアレイの周辺回路を制御す
る制御信号、すなわちRAMのビツト数を切換え
る制御信号Y1′によつて導通制御するように構成
したものである。
An embodiment of the present invention will be described below with reference to the drawings. Figure 2 shows its configuration.
As output selection means for data output lines out1 to out8, MOS transistors Tr1 to Tr4 and
Tr 5 to Tr 8 are provided for address designation (row selection) signals.
The conduction is controlled by a control signal for controlling Y 1 and the peripheral circuits of the memory cell array, that is, a control signal Y 1 ' for switching the number of bits of the RAM.
上記のような構成において動作を説明する。
「Y1=0、Y1′=0」の時は、トランジスタTr1〜
Tr8は全てオフ状態となるので、データ出力ライ
ンout1〜out8が選択され、8ビツトの読み出し
データOUT1〜OUT8が読み出される。また、
「Y1=0、Y1′=1」の時は、トランジスタTr1〜
Tr4はオフ状態、トランジスタTr5〜Tr8はオン状
態となるので、データ出力ラインout5〜out8が
接地される。従つて、読み出しデータOUT1〜
OUT4が選択、OUT5〜OUT8が非選択状態とな
り、データOUT1〜OUT4の4ビツトのデータが
読み出される。「Y1=1、Y1′=0」の時は、ト
ランジスタTr1〜Tr4はオン状態、トランジスタ
Tr5〜Tr8はオフ状態となるので、データ出力ラ
インout1〜out4が接地され、読み出しデータ
OUT1〜OUT4が非選択、OUT5〜OUT8が選択
状態となり、データOUT5〜OUT8の4ビツトの
データが読み出される。 The operation in the above configuration will be explained.
When "Y 1 = 0, Y 1 ' = 0", the transistor Tr 1 ~
Since all Tr 8 are turned off, data output lines out1 to out8 are selected and 8-bit read data OUT1 to OUT8 are read out. Also,
When "Y 1 = 0, Y 1 '= 1", the transistor Tr 1 ~
Since Tr 4 is in an off state and transistors Tr 5 to Tr 8 are in an on state, data output lines out5 to out8 are grounded. Therefore, read data OUT 1 ~
OUT 4 is selected, OUT 5 to OUT 8 are unselected, and 4 bits of data OUT 1 to OUT 4 are read out. When “Y 1 = 1, Y 1 ′ = 0”, transistors Tr 1 to Tr 4 are in the on state;
Since Tr 5 to Tr 8 are in the off state, the data output lines out1 to out4 are grounded and the read data is
OUT 1 to OUT 4 are unselected, OUT 5 to OUT 8 are selected, and 4 bits of data OUT 5 to OUT 8 are read out.
上記のアドレス指定信号Y1と制御信号Y1′のレ
ベルと出力の選択、非選択の関係を第3図に一括
して示す。 The relationship between the levels of the above-mentioned addressing signal Y 1 and control signal Y 1 ' and output selection/non-selection is collectively shown in FIG.
上述したように、8ビツトの並列的なデータの
読み出しと、上位4ビツトまたは下位4ビツトの
並列的なデータ読み出しを、アドレス指定信号
Y1と制御信号Y1′のレベルに応じて自由に選択で
き、且つ非選択のデータ出力ラインを接地電位に
固定することができる。従つで、8ビツトのデー
タ出力ラインを有するRAMにおいて、4ビツト
のデータの読み出しを安定した状態で行なうこと
ができるので、4ビツト処理に適したデータの上
位4ビツトに“0”を入力して8ビツトにし、8
ビツトのデータとして処理する必要はない。 As mentioned above, 8-bit parallel data reading and parallel data reading of upper 4 bits or lower 4 bits are performed using the addressing signal.
It can be freely selected according to the levels of Y 1 and the control signal Y 1 ', and unselected data output lines can be fixed to the ground potential. Therefore, in a RAM with an 8-bit data output line, 4-bit data can be read out in a stable state, so it is possible to input "0" into the upper 4 bits of data suitable for 4-bit processing. to 8 bits, 8
There is no need to process it as bit data.
なお、上記実施例では8ビツト並列出力構成の
RAMから4ビツトの並列出力を得る場合につい
て説明したが、この発明は上記ビツト数に限られ
るものではないことはもちろんである。 Note that in the above embodiment, the 8-bit parallel output configuration is
Although the case where 4-bit parallel output is obtained from the RAM has been described, it goes without saying that the present invention is not limited to the above-mentioned number of bits.
[発明の効果]
以上説明したようにこの発明によれば、nビツ
トの並列的なデータ処理と2nビツトの並列的な
データ処理とが混在するシステム内で用いられ、
2nビツトの出力端が2n本のデータ出力ラインに
それぞれ接続されたRAMにおいて、安定した状
態で並列出力ビツト数を2nビツトからのビツト
に切り換えて用いることができるRAM制御回路
が得られる。[Effects of the Invention] As explained above, according to the present invention, it can be used in a system where n-bit parallel data processing and 2n-bit parallel data processing coexist.
In a RAM in which 2n bit output ends are respectively connected to 2n data output lines, a RAM control circuit that can be used by switching the number of parallel output bits from 2n bits in a stable state can be obtained.
第1図は従来のRAMを示す図、第2図はこの
発明の一実施例に係るRAM制御回路を示す図、
第3図は上記第2図のRAM制御回路の動作を設
明するための図である。
11……RAM、IN1〜IN8……書き込みデー
タ、in1〜in8……データ入力ライン、OUT1〜
OUT8……読み出しデータ、out1〜out8……デ
ータ出力ライン、Tr1〜Tr8……トランジスタ。
FIG. 1 is a diagram showing a conventional RAM, FIG. 2 is a diagram showing a RAM control circuit according to an embodiment of the present invention,
FIG. 3 is a diagram for explaining the operation of the RAM control circuit shown in FIG. 2. 11...RAM, IN 1 to IN 8 ...Write data, in1 to in8...Data input line, OUT 1 to
OUT 8 ...read data, out1-out8...data output line, Tr1 - Tr8 ...transistor.
Claims (1)
の並列的なデータ処理とが混在するシステム内で
用いられ、2nビツトの出力端が2n本のデータ出
力ラインにそれぞれ接続され、2nビツトの並列
的なデータの読み出しとnビツトの並列的なデー
タの読み出しが選択的に行なわれるRAMにおい
て、下位n本の各データ出力ラインと接地点間に
アドレス指定信号で導通制御される第1グループ
のn個のMOSトランジスタをそれぞれ設けると
共に、残りの上位n本の各データ出力ラインと接
地点間にこのRAMの出力ビツト数の切り換えを
制御する制御信号で導通制御される第2グループ
のn個のMOSトランジスタをそれぞれ設け、
RAMからの下位nビツトまたは上位nビツトの
データの並列的な読み出し時に、不使用となる上
位n本または下位n本のデータ出力ラインを、上
記第2グループまたは第1グループのMOSトラ
ンジスタを導通させて接地電位に定めるように構
成したことを特徴とするRAM制御回路。It is used in a system where 1n-bit parallel data processing and 2n-bit parallel data processing are mixed, and the 2n-bit output terminals are connected to 2n data output lines, respectively, and 2n-bit parallel data processing is performed. In a RAM in which read-out of parallel data and read-out of n-bit parallel data are selectively performed, a first group of n data output lines whose conduction is controlled by an addressing signal between each of the lower n data output lines and a ground point are used. a second group of n MOS transistors whose conduction is controlled by a control signal that controls switching of the number of output bits of this RAM between each of the remaining upper n data output lines and the ground point. are established respectively,
When reading the lower n bits or upper n bits of data from the RAM in parallel, the MOS transistors of the second group or the first group are made conductive to the unused upper n or lower n data output lines. A RAM control circuit characterized in that the RAM control circuit is configured to set the ground potential to the ground potential.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57059047A JPS58177583A (en) | 1982-04-09 | 1982-04-09 | Ram control circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57059047A JPS58177583A (en) | 1982-04-09 | 1982-04-09 | Ram control circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58177583A JPS58177583A (en) | 1983-10-18 |
| JPH0413794B2 true JPH0413794B2 (en) | 1992-03-10 |
Family
ID=13102006
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57059047A Granted JPS58177583A (en) | 1982-04-09 | 1982-04-09 | Ram control circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58177583A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS56130884A (en) * | 1980-03-14 | 1981-10-14 | Toshiba Corp | Semiconductor memory device |
-
1982
- 1982-04-09 JP JP57059047A patent/JPS58177583A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58177583A (en) | 1983-10-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4599708A (en) | Method and structure for machine data storage with simultaneous write and read | |
| EP0188059B1 (en) | Semiconductor memory device having read-modify-write configuration | |
| JP3866036B2 (en) | Storage integrated circuit capable of writing and reading multi-level data with a single input / output pin | |
| US4667310A (en) | Large scale circuit device containing simultaneously accessible memory cells | |
| US3968480A (en) | Memory cell | |
| US4669064A (en) | Semiconductor memory device with improved data write function | |
| US4639894A (en) | Data transferring method | |
| US4354259A (en) | Semiconductor memory device having improved column selection structure | |
| JPH0315278B2 (en) | ||
| US4903239A (en) | Semiconductor memory having a parallel input/output circuit | |
| US4875189A (en) | Random access memory device with nibble mode operation | |
| JPS63247992A (en) | Integrated memory circuit | |
| JPH0413794B2 (en) | ||
| US5365480A (en) | Memory cells and a memory apparatus using them | |
| JPH0447920B2 (en) | ||
| US6034921A (en) | Method, apparatus, pager, and cellular telephone for accessing information from a memory unit utilizing a sequential select unit | |
| JPH04141888A (en) | Semiconductor storage device | |
| KR920005121B1 (en) | Semiconductor memory device | |
| JPH0227759B2 (en) | ||
| JPH0514359B2 (en) | ||
| JPS5930295A (en) | Access system of semiconductor memory | |
| JPH0554656A (en) | Semiconductor memory device | |
| JPS59180870A (en) | Semiconductor memory | |
| JPS6076085A (en) | Semiconductor memory device | |
| JPS62188093A (en) | Semiconductor memory device |