JPS63188250A - Memory circuit for optional word length - Google Patents

Memory circuit for optional word length

Info

Publication number
JPS63188250A
JPS63188250A JP62021417A JP2141787A JPS63188250A JP S63188250 A JPS63188250 A JP S63188250A JP 62021417 A JP62021417 A JP 62021417A JP 2141787 A JP2141787 A JP 2141787A JP S63188250 A JPS63188250 A JP S63188250A
Authority
JP
Japan
Prior art keywords
data
word length
bit
address
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
JP62021417A
Other languages
Japanese (ja)
Inventor
Yuichi Hirao
友一 平尾
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP62021417A priority Critical patent/JPS63188250A/en
Publication of JPS63188250A publication Critical patent/JPS63188250A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a memory IC which can read and write the data of the optional word length by selecting the corresponding memory means for each bit out of those memory means in the number corresponding to the number of bits of the data based on the signal and the address to which the word length is designated. CONSTITUTION:The memory means 400-403 are provided in response to the number of bits of data. The write selecting means 200-204 select the corresponding memory means for each bit based on the word length designating signals W0 and W1 and an address and write data for each bit. While the read selecting means 500 and 501 select the corresponding memory means for each bit out of those memory means based on the word length designating signal and the address and read data for each bit. Thus it is not required to prepare plural types of products of different word lengths of data. Then a single memory IC can store the data of the optional word length.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はメモリIC(集積回路)に関し、特に単一のメ
モリICで任意の且つ、複数種類の語長のデータを記憶
できる任意語長記憶回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a memory IC (integrated circuit), and in particular to an arbitrary word length memory that can store data of arbitrary and multiple types of word lengths in a single memory IC. Regarding circuits.

(従来の技術) 従来のメモリICは、ICの品1rI(lli類の製品
)毎に読み書きの出来る語長(データのビット数)が決
まって居り、メモリICの使用者は、複数種類の製品系
列の中から必要とする語長のメモリICを選定して種々
の回路を設計して居る。
(Prior Art) In conventional memory ICs, the word length (number of bits of data) that can be read and written is determined for each IC product 1rI (lli type product), and memory IC users are required to use multiple types of products. Various circuits are designed by selecting a memory IC with the required word length from the series.

(発明が解決しようとする問題点) 従ってメモリICの供給者は、記憶できる語長の異なる
複数種類の品種のメモリICを供給する必要が生じる。
(Problems to be Solved by the Invention) Therefore, memory IC suppliers are required to supply multiple types of memory ICs with different memory word lengths.

又、メモリIC利用者にしても回路設計後の種々の変更
に依り、記憶できるデータの語長を変更しなくてはなら
なくなった場合は、別のメモリICに交換しなく1ては
ならない。
Furthermore, if the word length of data that can be stored has to be changed due to various changes made after circuit design, memory IC users must replace the memory IC with another memory IC.

上記問題点を解決す可く本発明は、語長指定信号で指定
された任意の語長のデータの読み書きが可能なメモリI
Cを提供することを目的とする。
In order to solve the above problems, the present invention provides a memory I that can read and write data of any word length designated by a word length designation signal.
The purpose is to provide C.

(問題点を解決するための手段) 前述の問題点を解決し、上記目的を達成するために本発
明が提供する任意語長記憶回路は、1又は複数ビットで
形成きれるデータと該データのビット数のうち1語当た
りのビット数を指定する語長指定信号と前記データのア
ドレスとを入力するバッファメモリと、前記データのビ
ット数に相応する数の記憶手段と、該記憶手段の中から
前記語長指定信号及びアドレスに基づいて1ビット毎に
対応する記憶手段を選択し前記データを1ビット毎に書
き込む書き込み選択手段と、前記複数の記憶手段の中か
ら前記語長指定信号及びアドレスに基づいて1ビット毎
に対応する記憶手段を選択し前記データを1ビット毎に
読み出す読み出し選択手段とを設けたことを特徴とする
(Means for Solving the Problems) In order to solve the above-mentioned problems and achieve the above objects, the arbitrary word length storage circuit provided by the present invention is capable of storing data that can be formed by one or more bits and the bits of the data. a buffer memory into which a word length designation signal for specifying the number of bits per word of the number and the address of the data are input; storage means whose number corresponds to the number of bits of the data; write selection means for selecting a corresponding storage means for each bit based on the word length designation signal and the address and writing the data bit by bit; The present invention is characterized in that a reading selection means is provided for selecting a storage means corresponding to each bit and reading out the data bit by bit.

(実施例) 以下、本発明の一実施例を図面を用いて説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の任意語長記憶回路をIC(集積回路)
として形成した場合の全体のブロック図である。尚、こ
の実施例では説明を簡単にするために、指定可能な語長
が1.2.4ビット(=1語)の三種類となる構成にし
た。
Figure 1 shows the arbitrary word length storage circuit of the present invention as an IC (integrated circuit).
FIG. In this embodiment, in order to simplify the explanation, there are three types of word lengths that can be specified: 1, 2, and 4 bits (=1 word).

外部からデータIO,Il、I2.I3が入力バッファ
100に入力される。入力バッファ100は該データI
O〜I3のインク・フェイス整合及び入力保護を行なう
ものである。入力バッファ100を介してIC内部用の
信号に変換された4つのデータ10〜工3は夫々4個の
書き込み選択部(DMX)200〜203へ導かれる。
Data IO, Il, I2 . I3 is input to input buffer 100. The input buffer 100 receives the data I
It performs ink face matching and input protection for O to I3. The four pieces of data 10 to 3 converted into IC internal signals via the input buffer 100 are guided to four write selection sections (DMX) 200 to 203, respectively.

一方、同様に入力バッファ100を介してIC内部に入
力きれたアドレス信号AO〜A(n −1)c7>一部
、(本実施例では2本となる)AO(LSB:最下位ビ
ット)、AIと、2本の語長指定信号wo、wtが、上
記書き込み選択部200〜203への入力信号となる。
On the other hand, address signals AO to A(n-1)c7>partially inputted into the IC via the input buffer 100 (two in this embodiment), AO (LSB: least significant bit), AI and the two word length designation signals wo and wt become input signals to the write selection sections 200 to 203.

各書き込み選択部200〜203は、語長指定信号WO
,Wlにて指定された1語のビット数が1であるならば
、アドレス信号AOとA1とがアドレスの下位2ビット
であ    −ると認識し、そのアドレス信号AO,A
Iの値から記憶部MEMO〜MEM3の内、1個の記憶
部を選択する。又、語長指定信号WO及びWlにて指定
された1語のビット数が2であるならば、書き込み選択
部200〜203は、アドレス信号A1をアドレスの最
下位ビットとし、それが“0′′であるか“1”である
かに依り記憶部MEMOとMEMI、又は記憶部MEM
2とMEM3即ち、記憶部2個を一組としてその2組の
内の1組を選ぶ0語長指定店号WO,Wlが指定すると
ころの語長が4ビットであるならば、アドレス信号AO
,Alの値に拘らず、4つの記憶部MEMO〜MEM3
にデータ10〜工3が並列に書き込まれる。即ち、各書
き込み選択部200〜203・は、複数の記憶部400
〜403の中から語長指定信号wo、wt及びアドレス
信号AO。
Each write selection unit 200 to 203 receives a word length designation signal WO.
, Wl, the address signals AO and A1 are recognized as the lower two bits of the address, and the address signals AO and A are
One of the storage units MEMO to MEM3 is selected from the value of I. Further, if the number of bits of one word specified by the word length designation signals WO and Wl is 2, the write selection units 200 to 203 set the address signal A1 to the least significant bit of the address and set it to "0". ’ or “1”, the memory units MEMO and MEMI, or the memory unit MEM
2 and MEM3, that is, select one of the two storage units as a set. 0 Word length specification If the word length specified by store numbers WO and Wl is 4 bits, the address signal AO
, regardless of the value of Al, the four storage units MEMO to MEM3
Data 10 to data 3 are written in parallel. That is, each write selection section 200 to 203 is connected to a plurality of storage sections 400.
word length designation signals wo, wt and address signal AO from among .about.403.

A1に基づいて1ビット毎に記憶する記憶部を選択する
。n−2(アドレス信号AO,AIを除いたもの)木の
残りのアドレス信号A(n−1)〜A2は入力バッファ
100を通してアドレスデコーダ300へ入力きれる。
A storage unit for storing each bit is selected based on A1. The remaining address signals A(n-1) to A2 of the n-2 (excluding address signals AO and AI) tree can be input to the address decoder 300 through the input buffer 100.

このアドレスデコーダ300でデフードされた結果が、
各記憶部400〜403 (M EMO〜MEM3)に
入力され、夫々の記憶部400〜403の中の1ビット
毎のアドレス(只一つの記憶素子)を選択する。
The result decoded by this address decoder 300 is
The data is input to each of the storage units 400 to 403 (MEMO to MEM3), and an address (only one storage element) for each bit in each of the storage units 400 to 403 is selected.

上記の過程に依り各データ■0〜X3は、書き込み選択
部200〜203を介して上記アドレスデコーダ300
の出力に応じて選択された各記憶部400〜403に1
ビットずつ出力きれる。各記憶部400〜403に記憶
きれたデータは、前述のデータ書き込み時と同様にアド
レス信号の下位2ビットAO,AI及び語長指定信号w
o、wtに応じて選択される。これらアドレス信号の下
位2ビットAO,AI及び語長指定信号WO,Wlは読
み出し選択部500 、501へ加えられている。読み
出し選択部500 、501で選択されたデータは、I
C外部とのインク・フェイス整合を行なう出力バッファ
600を介して出力信号00 、Ofとして出力される
Through the above process, each data item (1)0 to
1 to each storage unit 400 to 403 selected according to the output of
It can be output bit by bit. The data that has been stored in each of the storage units 400 to 403 is stored in the lower two bits AO and AI of the address signal and the word length designation signal w, as in the case of data writing described above.
o, wt. The lower two bits AO and AI of these address signals and word length designation signals WO and Wl are applied to read selection sections 500 and 501. The data selected by the read selection units 500 and 501 is
C is outputted as an output signal 00, Of via an output buffer 600 that performs ink face matching with the outside.

また、第1図から明らかな様に残りの2本の出力信号0
2,03は、読み出し選択部500 、501を通さず
に、出力バッファ600を介して対応する記憶部402
 、403から直接的に与えられる。従って、本実施例
では、次の表に示すようにデータの語長に応じて各デー
タを書き込み、且つ読み出すことができる。
Also, as is clear from Figure 1, the remaining two output signals are 0.
2 and 03 are connected to the corresponding storage unit 402 via the output buffer 600 without passing through the read selection units 500 and 501.
, 403 directly. Therefore, in this embodiment, each data can be written and read according to the word length of the data as shown in the following table.

語長  入力データ    出力データ2    IO
,1100,01 4IO,11,I2.I3  00.01.02.03
尚、第1図実施例では、データの語長として1ビット、
2ビット、4ビットの3i類のものを例にとって示した
が、本発明はこれに限定されることなく4ビット以上の
適宜のピット数で成るデータの記憶回路として適用する
ことができる。
Word length Input data Output data 2 IO
,1100,01 4IO,11,I2. I3 00.01.02.03
In the embodiment shown in FIG. 1, the word length of the data is 1 bit,
Although 2-bit and 4-bit type 3i type circuits are shown as examples, the present invention is not limited thereto, and can be applied as a data storage circuit having an appropriate number of pits of 4 bits or more.

次に第2図を参照してデータが1ビットの語長である場
合について説明する。第2図に示すようにアドレスAO
,lと語長指定信号WO,Wlに基づいて語長が1であ
る旨の信号DMXCが各書き込み選択部(DMXO〜D
MX3)200〜203に与えられる。これによりデー
タエ0が順次入力される。即ち、最初の1ビット目のデ
ータがDMXOを介してMEMOに記憶され、次の2ビ
ット目のデータがDMXIを介してMEMIに記憶され
、3ビット目のデータがDMX2を介してMEM2に記
憶され、4ビット目のデータがDMX3を介してMEM
3に記憶される。また、読み出し選択部500(S E
 LO)は、アドレスAO,Atと語長指定信号WO,
Wlに基づいて語長が1である旨の信号5ELCを与え
られており、各記憶! 400〜403を選択し、該選
択した記憶部400〜403(MEMO〜MEM3)の
データを出力データOO〜03として出力バッフ760
0に与える。具体的に説明すると、第2図に示すように
5ELOは、MEMOの記憶データを出力データOOと
して、MEMIの記憶データを出力データo1として、
MEM2の記憶データを出力データ02として、MEM
3の記憶データを出力データ03としてそれぞれ選択す
る。
Next, a case where the data has a word length of 1 bit will be explained with reference to FIG. Address AO as shown in Figure 2
, l and the word length designation signals WO, Wl, a signal DMXC indicating that the word length is 1 is sent to each write selection unit (DMXO to D
MX3) 200-203. As a result, data E0 is inputted sequentially. That is, the first 1st bit data is stored in MEMO via DMXO, the next 2nd bit data is stored in MEMI via DMXI, and the 3rd bit data is stored in MEM2 via DMX2. , the 4th bit data is sent to MEM via DMX3.
3 is stored. In addition, the read selection unit 500 (SE
LO) is the address AO, At and the word length designation signal WO,
A signal 5ELC indicating that the word length is 1 is given based on Wl, and each memory! 400 to 403 are selected, and the data in the selected storage units 400 to 403 (MEMO to MEM3) is output to the output buffer 760 as output data OO to 03.
Give to 0. Specifically, as shown in FIG. 2, 5ELO outputs the data stored in MEMO as output data OO, the data stored in MEMI as output data o1,
The memory data of MEM2 is output data 02, and the MEM
3 are respectively selected as output data 03.

尚、第2図において、H2は高インピーダンスである旨
を示す。
In addition, in FIG. 2, H2 indicates high impedance.

次に第3図を参照してデータが2ビットの語長である場
合について説明する。第3図に示すようにアドレスAO
,Atと語長指定信号WO,Wlに基づいて語長が2で
ある旨の信号DMXCが各書き込ミ選択!200〜20
3(DMXO−DMX3)に与えられる。これにより記
憶部MEMOとMEMIが、また記憶部MEM2とME
M3がそれぞれペアーとなってデータを記憶する。即ち
、データIOの1ビット目のデータがMEMOに、デー
タエ1の1ビット目のデータがMEM2に記憶され、続
いてデータIOの2ビット目のデータがMEMIに、デ
ータ11の2ビット目のデータがMEM3に記憶される
Next, a case where the data has a word length of 2 bits will be explained with reference to FIG. Address AO as shown in Figure 3
, At and the word length designation signals WO, Wl, the signal DMXC indicating that the word length is 2 is selected for each write! 200-20
3 (DMXO-DMX3). As a result, the memory sections MEMO and MEMI, and the memory sections MEM2 and ME
Each M3 forms a pair and stores data. That is, the 1st bit of data IO is stored in MEMO, the 1st bit of data 1 is stored in MEM2, and then the 2nd bit of data IO is stored in MEMI, and the 2nd bit of data 11 is stored in MEMI. is stored in MEM3.

次に読み出しの動作を説明する。5ELOと5ELLは
語長が2である旨の信号5ELCに基づいて対応する記
憶部MEMO−MEM3を選択する。即ち、5ELOは
最初のデータの1ビット目のデータとしてMEMOをま
た、2ビット目のデータとしてMEMIを選択する。5
ELLは次のデータの1ビット目のデータとしてMEM
2をまた、2ビット目のデータとしてMEM3を選択す
る。従って、出力データ00,01として最初のタイミ
ングでMEMO,MEM2がまた、次のタイミングでM
EMl、MEM3のそれぞれの記憶内容が出力される。
Next, the read operation will be explained. 5ELO and 5ELL select the corresponding storage units MEMO-MEM3 based on the signal 5ELC indicating that the word length is 2. That is, 5ELO selects MEMO as the first bit of the first data and MEMI as the second bit of data. 5
ELL is MEM as the 1st bit data of the next data.
2 and selects MEM3 as the second bit data. Therefore, MEMO and MEM2 are output as output data 00 and 01 at the first timing, and MEM2 and MEM2 are output at the next timing as output data 00 and 01.
The storage contents of EM1 and MEM3 are output.

次に第4図を参照してデータが4ピツトの語長である場
合について説明する。第4図に示すように語長が4であ
る旨の信号DMXCが各書き込み選択部200〜203
(DMXO〜DMX3)に与えられると、データIOが
MEMOに、データ11がMEMlに、データI2がM
EM2に、データエ3がMEM3に記憶される。
Next, a case where the data has a word length of 4 pits will be explained with reference to FIG. As shown in FIG.
(DMXO to DMX3), data IO goes to MEMO, data 11 goes to MEMl, and data I2 goes to M
Data 3 is stored in EM2 and MEM3.

次にこれらのデータを読み出す場合には、出力データ0
0としてMEMOのデータが、出力データ01としてM
EMIのデータが、出力データ02としてMEM2のデ
ータが、出力データo3としてMEM3のデータがそれ
ぞれ出力きれる。
Next, when reading these data, output data 0
MEMO data is set as 0, and M is set as output data 01.
EMI data, MEM2 data can be output as output data 02, and MEM3 data can be output as output data o3.

(発明の効果) 以上説明した様にメモリIC供給者は、本発明を適用す
る事に依り、データの語長の異なる複数種類の品種を用
意する必要が無く、任意の語長のデータを単一のメモリ
ICで記憶することができる。また、ICメモリの使用
者も回路設計の際の自由度が増すと言う利点が有る。
(Effects of the Invention) As explained above, by applying the present invention, memory IC suppliers do not need to prepare multiple types of data with different word lengths, and can easily process data of any word length. It can be stored in one memory IC. Furthermore, the user of the IC memory also has the advantage of increased freedom in circuit design.

又、語長指定の信号を切り換える事に依り、本発明の任
意語長記憶回路は、メモリとしてだけでなく、マルチ・
プレクサ、デマルチ・プレクサとしての機能も併せ持つ
事ができる。
Furthermore, by switching the word length designation signal, the arbitrary word length storage circuit of the present invention can be used not only as a memory but also as a multi-purpose memory.
It can also function as a plexer and demultiplexer.

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

第1図は本発明の一実施例を示したブロック図、第2図
は語長が1ビットの場合の動作説明図、第3図は語長が
2ピツトの場合の動作説明図、第4図は語長が4ビット
の場合の動作説明図である。 100・・・入力バッファ、200〜203・・・書き
込み選択部、300・・・アドレスデコーダ、400〜
403・・・記憶部、500 、501・・・読み出し
選択部、600・・・出力バッファ。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is an explanatory diagram of the operation when the word length is 1 bit, Fig. 3 is an explanatory diagram of the operation when the word length is 2 pits, and Fig. 4 is an illustration of the operation when the word length is 2 pits. The figure is an explanatory diagram of the operation when the word length is 4 bits. 100... Input buffer, 200-203... Write selection unit, 300... Address decoder, 400-
403...Storage unit, 500, 501...Read selection unit, 600...Output buffer.

Claims (1)

【特許請求の範囲】[Claims]  1又は複数ビットで形成されるデータと該データのビ
ット数のうち1語当たりのビット数を指定する語長指定
信号と前記データのアドレスとを入力するバッファメモ
リと、前記データのビット数に相応する数の記憶手段と
、該記憶手段の中から前記語長指定信号及びアドレスに
基づいて1ビット毎に対応する記憶手段を選択し前記デ
ータを1ビット毎に書き込む書き込み選択手段と、前記
複数の記憶手段の中から前記語長指定信号及びアドレス
に基づいて1ビット毎に対応する記憶手段を選択し前記
データを1ビット毎に読み出す読み出し選択手段とを設
けたことを特徴とする任意語長記憶回路。
a buffer memory for inputting data formed of one or more bits, a word length designation signal specifying the number of bits per word among the number of bits of the data, and an address of the data; and a buffer memory corresponding to the number of bits of the data. write selection means for selecting a corresponding storage means for each bit from among the storage means based on the word length designation signal and the address and writing the data for each bit; An arbitrary word length memory, characterized in that it is provided with readout selection means for selecting a corresponding storage means for each bit from among the storage means based on the word length designation signal and the address, and reading out the data bit by bit. circuit.
JP62021417A 1987-01-30 1987-01-30 Memory circuit for optional word length Pending JPS63188250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62021417A JPS63188250A (en) 1987-01-30 1987-01-30 Memory circuit for optional word length

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62021417A JPS63188250A (en) 1987-01-30 1987-01-30 Memory circuit for optional word length

Publications (1)

Publication Number Publication Date
JPS63188250A true JPS63188250A (en) 1988-08-03

Family

ID=12054434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62021417A Pending JPS63188250A (en) 1987-01-30 1987-01-30 Memory circuit for optional word length

Country Status (1)

Country Link
JP (1) JPS63188250A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0290344A (en) * 1988-09-28 1990-03-29 Fujitsu Ltd Memory card
JPH0855471A (en) * 1994-08-12 1996-02-27 Nec Corp Synchronous semiconductor memory device
US6122705A (en) * 1997-07-07 2000-09-19 Nec Corporation Semiconductor memory device multiplying system clock for storing data different in data length

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0290344A (en) * 1988-09-28 1990-03-29 Fujitsu Ltd Memory card
JPH0855471A (en) * 1994-08-12 1996-02-27 Nec Corp Synchronous semiconductor memory device
EP0696801A3 (en) * 1994-08-12 1998-09-23 Nec Corporation Synchronous semiconductor memory device with low power consumption
US6122705A (en) * 1997-07-07 2000-09-19 Nec Corporation Semiconductor memory device multiplying system clock for storing data different in data length

Similar Documents

Publication Publication Date Title
US4095283A (en) First in-first out memory array containing special bits for replacement addressing
US4449181A (en) Data processing systems with expanded addressing capability
US6035381A (en) Memory device including main memory storage and distinct key storage accessed using only a row address
JPS63188250A (en) Memory circuit for optional word length
US4638454A (en) Digital data storage apparatus
JPS6334795A (en) Semiconductor storage device
US5500825A (en) Parallel data outputting storage circuit
JPH0745069A (en) Semiconductor storage device
JPH0259560B2 (en)
US4128899A (en) Associated read/write memory
KR890010908A (en) Frame memory circuit
JPS6048828B2 (en) Memory addressing method
JP2568268B2 (en) Data string generation circuit and memory test device using the circuit
JPH0218638A (en) Data control system
JPS6228848A (en) Information tracing device
JPS6061842A (en) Access system of structure memory
JP3309458B2 (en) Storage device
US5822752A (en) Method and apparatus for fast parallel determination of queue entries
JPS5882351A (en) Memory device
JPH0550078B2 (en)
JP2714073B2 (en) Logic synthesizer
JPS6168636A (en) Data processor
JPS6011398B2 (en) Memory test pattern writing device
JPH0243645A (en) Storage device
JPH05289937A (en) Memory control circuit