JPS593770A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JPS593770A
JPS593770A JP57112157A JP11215782A JPS593770A JP S593770 A JPS593770 A JP S593770A JP 57112157 A JP57112157 A JP 57112157A JP 11215782 A JP11215782 A JP 11215782A JP S593770 A JPS593770 A JP S593770A
Authority
JP
Japan
Prior art keywords
bit
data
memory
mode
bus driver
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
JP57112157A
Other languages
Japanese (ja)
Inventor
Takayuki Ishizu
石津 隆幸
Shunsaku Fukunishi
福西 俊策
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 Ltd
Original Assignee
Fujitsu 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 Ltd filed Critical Fujitsu Ltd
Priority to JP57112157A priority Critical patent/JPS593770A/en
Publication of JPS593770A publication Critical patent/JPS593770A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store

Abstract

PURPOSE:To execute reading/writing operation irrespective of either in bit unit or fixed-length unit and to speed up data transfer, by supplying a mode signal for indicating bit mode or fixed-length mode together with a read/write signal to a memory control circuit. CONSTITUTION:The memory control circuit is equipped with a two-way bus driver 3 connected to a data bus and a two-way bus driver 4 connected to a memory 2, and a write control part 5, read control part 6, and bit address recorder 7 are provided between both drivers 3 and 4. A read/write signal line and a mode signal line are both connected to the circuit 1 and either a bit- mode signal or a fixed-mode signal is supplied to the mode signal line to perform read/write control in bit unit or fixed-length unit. Thus, the data transfer is performed finely and speeded up totally.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、メモリ制御回路に係り、固定長単位の読出し
、書込み、ピット単位の読出し、書込みを任意に行うこ
とのできるメモリ制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a memory control circuit, and more particularly, to a memory control circuit that can arbitrarily perform reading and writing in units of fixed length and reading and writing in units of pits.

〔従来技術と問題点〕[Prior art and problems]

従来のメモリ制御回路は、メモリに対して、バイト単位
やワード単位などの固定長単位またはビット単位の一方
だけでしかメモリの読出し、書込みを行うことができな
い。固定長単位によるメモリの読出し、書込みでは、高
速なデータの読出し、書込みはできるが、きめの細かい
制御ができない。
Conventional memory control circuits can only read from and write to memory in fixed length units such as bytes or words, or in bit units. Reading and writing data in fixed length units allows high-speed data reading and writing, but does not allow fine-grained control.

これに対して、ビット単位によるメモリの読出し、書込
みでは、逆にきめの細かい制御はできるが、高速にデー
タを送り出せないという欠点がある。
On the other hand, bit-by-bit memory reading and writing allows for fine-grained control, but has the disadvantage that data cannot be sent out at high speed.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の問題点を解決するものであって、固定
長単位でも、ビット単位でもメモリの読出し、書込みが
でき、データ転送をきめ細かく尚且つ総合的に高速に行
い得るメモリ制御回路を提供することを目的とするもの
である。
The present invention solves the above-mentioned problems, and provides a memory control circuit that can read and write to memory in units of fixed length or bits, and can transfer data in detail and at overall high speed. The purpose is to

〔発明の構成〕[Structure of the invention]

そのために本発明のメモリ制御方式は、第1の双方向バ
ス・ドライバ、第2の双方向バス・ドライバ、読出し制
御部、書込み制御部、及びビット・アドレス・デコーダ
を備え、上記第1の双方向バス・ドライバと上記第2の
双方向バス・ドライバは、リード信号によってメモリか
らの読出しデータを上記第2の双方向バス・ドライバか
ら上記読出し制御部を通して上記第1の双方向バス・ド
ライバのデータ・バス側に出力し、ライト信号によって
データ・バスからの書込みデータを上記第1の双方向バ
ス・ドライバから上記書込み制御部全通して上記第2の
双方向バス・ドライバのメそり側に出力するように切り
換えられるようになったメモリ制御回路において、上記
書込み制御部には、上記ビット・アドレス・デコーダの
セレクト信号とビット・モードか固定長モードのいずれ
かのモード信号とメモリ内のデータとが与えられ、上記
書込み制御部は、固定長モードのモード信号が与えられ
たことを条件に上記第1の双方向バス・ドライバから入
力された全てのビットのデータを上記第2の双方向バス
・ドライバに出力し、ビット・モードのモード信号が与
えられたことを条件に上記ビット・アドレス・デコーダ
のセレクト信号によって選択されたビットは上記第1の
双方向バス・ドライバから入力されたデータを、当該″
ビット以外のビットは上記メモリ内から与えられた対応
するビットのデータをそれぞれ上記第2の双方向バス・
ドライバに出力するように構成され、上記読出し制御部
には、上記ビット・アドレス・デコーダのセレクト信号
とビット・モードが固定長モードのいずれかのモード信
号が与えられ、上記読出し制御部は、固定長モードのモ
ード信号を与えられたことを条件に上記第2の双方向バ
ス・ドライバから入力された全てのビットのデータを上
記第1の双方向バス・ドライバに出力し、ビット・モー
ドのモード信号が与えられたことを条件に上記第2の双
方向バス・ドライバから入力されたデータのうち上記ビ
ット・アドレス・デコーダのセレクト信号によって選択
されたビットのデータを上記第1の双方向バス・ドライ
バに出力するように構成されたことを特徴とするもので
ある。
To this end, the memory control method of the present invention includes a first bidirectional bus driver, a second bidirectional bus driver, a read control section, a write control section, and a bit address decoder, The second bidirectional bus driver and the second bidirectional bus driver transmit read data from the memory from the second bidirectional bus driver to the first bidirectional bus driver through the read control section in response to a read signal. The write data is output to the data bus side, and in response to a write signal, the write data from the data bus is passed from the first bidirectional bus driver through the entire write control section to the memory side of the second bidirectional bus driver. In the memory control circuit that can now be switched to output, the write control section receives the select signal of the bit address decoder, the mode signal of either bit mode or fixed length mode, and the data in the memory. is given, and the write control unit transfers all bit data inputted from the first bidirectional bus driver to the second bidirectional bus driver on the condition that a fixed length mode mode signal is given. The bit selected by the select signal of the bit address decoder is output to the bus driver, and on the condition that the bit mode mode signal is given, the bit selected by the select signal of the bit address decoder is the data input from the first bidirectional bus driver. , the said
The bits other than the bits transfer the data of the corresponding bits given from the memory to the second bidirectional bus.
The read control unit is configured to output a bit address decoder select signal and a mode signal whose bit mode is a fixed length mode, and the read control unit is configured to output a fixed length mode to the read control unit. On the condition that a long mode mode signal is given, all bit data inputted from the second bidirectional bus driver is output to the first bidirectional bus driver, and the bit mode is set. On the condition that the signal is applied, the bit data selected by the select signal of the bit address decoder among the data input from the second bidirectional bus driver is transferred to the first bidirectional bus driver. It is characterized in that it is configured to output to a driver.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照しつつ説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の1実施例を示すブロック図、第2図は
メモリ制御回路の構成を示すブロック図、第3図は書込
み制御部の構成の概要を示すブロック図、第4図は書込
み制御部の具体的な構成の1例を示す図、第5図は書込
み制御部に用いられるゲート回路の具体的な構成の1例
を示す図、第6図は読出し制御部の構成の概要を示すブ
ロック図、第7図は読出し制御部の具体的な構成の1例
を示す図でおる。図において、1はメモリ制御回路、2
はメモリ、3と4は双方向バス・ドライバ、5は書込み
制御部、6は読出し制御部、7はビット・アドレスφデ
コーダ、8−0ないし8−ルは書込み切換回路、9はゲ
ート回路、10−0ないし1゜−ル、11−0ないし1
1−n、20−0ないし20−nと25はオア・ゲート
、12−oないし12−n、13−〇ないし13−FL
ll 5−0ないし15−n、17−0ないし17−n
、21−0ないし21−n、22−0ないし22−ルと
24−〇ないし24−かはアンド・ゲート、14−0な
いし14−n、18−0ないし18−nと23−〇ない
し23−nはインバータ、16−0ないし16−ルはト
ライステート・ゲート、19−0ないし19−ルは読出
し切換回路を示す。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a memory control circuit, FIG. 3 is a block diagram showing an overview of the configuration of a write control section, and FIG. FIG. 5 is a diagram showing an example of a specific configuration of a control section, FIG. 5 is a diagram showing an example of a specific configuration of a gate circuit used in a write control section, and FIG. 6 is an overview of the configuration of a read control section. The block diagram shown in FIG. 7 is a diagram showing one example of a specific configuration of the readout control section. In the figure, 1 is a memory control circuit; 2 is a memory control circuit;
are memories, 3 and 4 are bidirectional bus drivers, 5 is a write control section, 6 is a read control section, 7 is a bit address φ decoder, 8-0 to 8-le are write switching circuits, 9 is a gate circuit, 10-0 to 1°, 11-0 to 1
1-n, 20-0 to 20-n and 25 are or gates, 12-o to 12-n, 13-0 to 13-FL
ll 5-0 to 15-n, 17-0 to 17-n
, 21-0 to 21-n, 22-0 to 22- and 24-〇 to 24- are AND gates, 14-0 to 14-n, 18-0 to 18-n and 23-〇 to 23 -n is an inverter, 16-0 to 16- are tri-state gates, and 19-0 to 19- are read switching circuits.

本発明は、第1図に示すようにメモリ2がメモリ制御回
路1を通してデータ・バスに接続され、メモリ制御回路
1に、リード/ライト信号線とと信号線からは、ビット
・モード信号か固定長モード信号のいずれかの信号がメ
モリ制御回路1に与えられ、ビット・モードのときには
、メモリ制御回路1にビット・モード信号とともにビッ
ト・アドレスがアドレス・バスから与えられる。メモリ
制御回路1は、ビット・モード信号とビット・アドレス
に基いてデータ・バスとメモリ2間のビット単位の読出
し、書込みの制御を行い、固定長モード信号に基いてデ
ータ・バスとメモリ2間の固定長単位の読出し、書込み
の制御を行う。
In the present invention, as shown in FIG. 1, a memory 2 is connected to a data bus through a memory control circuit 1, and a bit mode signal or fixed One of the long mode signals is applied to the memory control circuit 1, and in the bit mode, the bit address is applied to the memory control circuit 1 along with the bit mode signal from the address bus. The memory control circuit 1 controls bit-by-bit reading and writing between the data bus and the memory 2 based on the bit mode signal and the bit address, and controls the bit-by-bit reading and writing between the data bus and the memory 2 based on the fixed length mode signal. Controls reading and writing in fixed length units.

メモリ制御回路1の構成を示したのが第2図である。第
2図において、メモリ制御回路1は、データ・バスに接
続されるデータ・バス側の双方向バス・ドライバ3とメ
モリ2へ接続されるメモリ側の双方向バス・ドライバ4
とを備え、さらに2つの双方向バス・ドライバ3と4と
の間に接続される書込み制御部5と読出し制御部6及び
アドレス・バスから送られてくるビット・アドレスをデ
コードするビット・アドレス・デコーダ7を備えている
。双方向バス・ドライバ3と4では、リード信号が送ら
れて(ると読出し制御部6を通してデータ・バスとメモ
リ2とが接続され、ライト信号が送られてくると書込み
制御部5を通してデータ・バスとメモリ2とが接続され
るように切り換えが行われる。書込み制御部5と読出し
制御部6に対しては、モード信号線からビット・モード
信号または固定長モード信号が供給され、ビット・アド
レス・デコーダ7かもセレクト信号が供給される。さら
に書込み制御部5に対しては、メモリ2内の各ビットの
データが供給される。そしてモード信号線の信号が論理
「1」のときにビット・モードにされ、論理「0」のと
きに固定長モードにされる。ビット・モードの書込みで
は、データ・バスからのデータのうちビット・アドレス
・デコーダ7のセレクト信号が論理「1」のビットのデ
ータがそのままメモリ2側に出力され、該ビットを除く
他のビットはメモリ2内の元のデータがそのままメモリ
2側に出力される。ビット・モードの読出しでは、ビッ
ト・アドレス・デコーダ7のセレクト信号が論理「1」
のビットのデータがメモリ2からデータ・バスに出力さ
れる。また、固定長モードでは、書込み、または読出し
のいずれともデータ・バスからの全ビットのデータがそ
のままメモリ2側に出力され、またはメモリ2からの読
出しデータの全ビットがデータ・バスに出力される。こ
のように第1図からも明らかなようにメモリ2は固定長
アドレス部によって指定される単位で書込み、読出しが
行われる。なお、第2図において固定長はル+1ビット
になる。
FIG. 2 shows the configuration of the memory control circuit 1. In FIG. 2, the memory control circuit 1 includes a bidirectional bus driver 3 on the data bus side connected to the data bus and a bidirectional bus driver 4 on the memory side connected to the memory 2.
and a write control unit 5 and a read control unit 6 connected between the two bidirectional bus drivers 3 and 4, and a bit address for decoding the bit address sent from the address bus. It is equipped with a decoder 7. In the bidirectional bus drivers 3 and 4, when a read signal is sent, the data bus and the memory 2 are connected through the read control section 6, and when a write signal is sent, the data bus is connected through the write control section 5. Switching is performed so that the bus and the memory 2 are connected.A bit mode signal or a fixed length mode signal is supplied from the mode signal line to the write control unit 5 and read control unit 6, and the bit address - A select signal is also supplied to the decoder 7. Furthermore, the data of each bit in the memory 2 is supplied to the write control unit 5. Then, when the signal on the mode signal line is logic "1", the bit Fixed length mode is entered when the logic ``0'' is selected.In bit mode writing, the select signal of the bit address decoder 7 is a logic ``1'' bit of the data from the data bus. The data is output as is to the memory 2 side, and for other bits other than this bit, the original data in the memory 2 is output as is to the memory 2 side.In bit mode reading, select bit address decoder 7 The signal is logic “1”
bit data is output from memory 2 to the data bus. In addition, in fixed length mode, all bits of data from the data bus are output as is to the memory 2 side for either writing or reading, or all bits of read data from memory 2 are output to the data bus. . In this manner, as is clear from FIG. 1, writing and reading are performed in the memory 2 in units specified by the fixed length address section. Note that in FIG. 2, the fixed length is +1 bit.

書込み制御部5について構成の概要を示したのが第3図
である。書込み切換回路8−0ないし8−ルはビット対
応に設けられ、それぞれにモード信号線とビット・アド
レス・デコーダ7のセレクト信号線と双方向バス・ドラ
イバ3を通してデータ・バスからのデータ線とメモリ2
内の各ビットのデータ線とが接続される。ビット・モー
ドのときには、ビット・アドレス・デコーダ7のセレク
ト信号が論理「1」のビットの書込み切換回路8−0な
いし8−nのみがデータ・バスからのデータをメモリ2
に出力し、それ以外のビットの書込み切換回路8−0な
いし3−nはメモリ2内のデータをメモリ2に出°力す
る。したがって、メモリ2に対する書込みデータはル+
1ビット同時に供給されるが、実質的にデータ・バスか
らのデータが書込まれるのはビット・アドレス・デコー
ダ7のセレクト信号が論理「1」のビットのみである。
FIG. 3 shows an outline of the configuration of the write control section 5. As shown in FIG. The write switching circuits 8-0 to 8- are provided corresponding to bits, and are connected to the data line from the data bus and the memory through the mode signal line, the select signal line of the bit address decoder 7, and the bidirectional bus driver 3, respectively. 2
The data lines of each bit in the data line are connected to each other. In the bit mode, only the write switching circuits 8-0 to 8-n for which the select signal of the bit address decoder 7 is logic "1" transfer data from the data bus to the memory 2.
The write switching circuits 8-0 to 3-n for the other bits output the data in the memory 2 to the memory 2. Therefore, the write data to memory 2 is
Although one bit is supplied at the same time, data from the data bus is actually written only to the bit for which the select signal of the bit address decoder 7 is logic "1".

また固定長モードのときには、ビット・アドレス・デコ
ーダ7のセレクト信号に関係なく、書込み切換回路8−
0ないし8− nの全てがデータ・バスからのデータを
メモリ2に出力する。書込み制御部の具体的な構成の1
例を示したのが第4図である。第4図において、ピッ)
0の書込み切換回路8−0がアンド・ゲート12−0.
13−0と15−〇、オア・ゲート10−0と11−〇
、インバータ14−〇及びゲート回路9の一部によって
構成される。
In addition, in the fixed length mode, regardless of the select signal of the bit address decoder 7, the write switching circuit 8-
All 0 through 8-n output data from the data bus to memory 2. 1. Specific configuration of write control unit
FIG. 4 shows an example. In Figure 4, beep)
0 write switching circuit 8-0 is connected to AND gate 12-0.
13-0 and 15-0, OR gates 10-0 and 11-0, an inverter 14-0, and a part of gate circuit 9.

ビット0の回路についてみると、データ・バスからのデ
ータ線がアンド・ゲー)15−0の一方の入力端子とア
ンド・ゲー)12−0の一方の入力端子に接続され、ビ
ット・アドレス・デコーダ7のセレクト信号線がアンド
・ゲート15の他方の入力端子とゲート回路9とに接続
され、モード信号線がインバータ14−0の入力端子と
アンド・ゲート13−0の一方の入力端子とゲート回路
9に接続される。
Looking at the circuit for bit 0, the data line from the data bus is connected to one input terminal of ANDG 15-0 and one input terminal of ANDG 12-0, and the data line from the data bus is connected to one input terminal of ANDG 12-0. The select signal line 7 is connected to the other input terminal of the AND gate 15 and the gate circuit 9, and the mode signal line is connected to the input terminal of the inverter 14-0, one input terminal of the AND gate 13-0, and the gate circuit 9. Connected to 9.

アンド・ゲー)12−0の他方の入力端子はインバータ
14−0の出力端子に接続され、アンド・ゲー)12−
0の出力端子はオア・ゲー)11−0の一方の入力端子
に接続される。アンド・ゲー) 13−0の他方の入力
端子はアンド・ゲー)15−0の出力端子に接続され、
アンド・ゲート13−00出力端子はオア・ゲート11
−0の他方の入力端子に接続される。オア・ゲート11
−0の出力端子がオア・ゲー)10−0の一方の入力端
子に接続され、ゲート回路9の対応するビットの出力端
子がオア・ゲート10−0の他方の入力端子に接続され
る。以上の接続構成によって、ビット・モードの場合に
は、モード信号線が論理「1」であるため、ビット・ア
ドレス・デコーダ7のピッ)0のセレクト信号が論理「
1」のときには、アンド・ゲート15−0と13−〇を
通してオア・ゲート11−0から10−〇へとデータ・
バスからのデータがメモリ2に出力され、逆にビット・
アドレス・デコーダ7のビットOのセレクト信号が論理
「0」のときにはメモリ2内のビットOのデータがゲー
ト回路9を通してオア・ゲー)10−0へ出力されるの
で、メモリ2内のビット0には元の同じデータが書込ま
れ保持される。固定長モードの場合には、モード信号線
が論理rOJであるため、モード信号線にインバータ1
4−Oを通してその入力端子が接続されたアンド・ゲー
)12−0からオア・ゲート11−0.10−0へとデ
ータ・バスからのデータが出力される。以下、ビット1
ないしビットnに関してもビットOと同様である。した
がって、ビット・モードのときには、ビット・アドレス
・デコーダ7のセレクト信号が論理「1」となったビッ
トについてのみアンド・ゲート15−0ないし15−r
L、13−0ないし13−fL、オア・ゲート11−0
ないし11−ル、そして10−0ないし10−ルを通し
てデータ・バスからのデータがメモリ2に書込まれ、他
のビットについてはゲート回路9からオア・ゲートlO
−〇ないし10−nを通してメモリ2内の元のデータが
再度書込まれる。ゲート回路9には、メモリ2内の各ビ
ットのデータ線が接続される入力端子とオア・ゲー)1
0−0ないし10−3の他方の入力端子が接続される出
力端子との間にトライステート・ゲートを有している。
The other input terminal of the AND game) 12-0 is connected to the output terminal of the inverter 14-0, and the AND game) 12-0 is connected to the output terminal of the inverter 14-0.
The output terminal of 0 is connected to one input terminal of OR game 11-0. The other input terminal of AND game) 13-0 is connected to the output terminal of AND game) 15-0,
AND gate 13-00 output terminal is OR gate 11
-0 is connected to the other input terminal. or gate 11
The output terminal of -0 is connected to one input terminal of OR gate 10-0, and the output terminal of the corresponding bit of gate circuit 9 is connected to the other input terminal of OR gate 10-0. With the above connection configuration, in the bit mode, the mode signal line is logic "1", so the select signal of pin 0 of the bit address decoder 7 is logic "1".
1, the data is transferred from OR gate 11-0 to 10-0 through AND gates 15-0 and 13-0.
Data from the bus is output to memory 2, and vice versa.
When the select signal of bit O of address decoder 7 is logic "0", the data of bit O in memory 2 is output to OR gate 10-0 through gate circuit 9. The same original data is written and retained. In the case of fixed length mode, since the mode signal line is logic rOJ, inverter 1 is connected to the mode signal line.
Data from the data bus is output from AND gate 12-0, whose input terminal is connected through 4-O, to OR gate 11-0.10-0. Below, bit 1
The same applies to bits 0 to 0. Therefore, in the bit mode, AND gates 15-0 to 15-r are activated only for bits for which the select signal of bit address decoder 7 is logic "1".
L, 13-0 to 13-fL, or gate 11-0
Data from the data bus is written to the memory 2 through the lines 10-0 to 11- and 10-0 to 10-, and the other bits are written to the memory 2 from the gate circuit 9 to the OR gate lO.
- The original data in the memory 2 is written again through 10-n. The gate circuit 9 has an input terminal to which the data line of each bit in the memory 2 is connected, and an OR gate) 1.
A tristate gate is provided between the output terminal and the output terminal to which the other input terminal of 0-0 to 10-3 is connected.

第5図に具体的な構成の1例を示したように、トライス
テート・ゲート16−0ないし16−nはアンド・ゲー
)17−0ないし17−ルの出力によって制御される。
As shown in FIG. 5 as an example of a specific configuration, tristate gates 16-0 to 16-n are controlled by the outputs of AND gates 17-0 to 17-n.

アンド・ゲー)17−0ないし17−nは、一方の入力
端子が共通になってモード信号線に接続され、他方の入
力端子がそれぞれインバータ18−oないし1s−nを
通して対応するビット・アドレス・デコーダ7のセレク
ト信号端子に接続される。このような接続構成によりて
、モード信号線が論理「1」になりビット・モードを示
すときにはビット・アドレス・デコーダ7からのセレク
ト信号が論理「1」のビットに対応するトライステート
・ゲートのみがハイ・インピーダンス状態にされ、また
モード信号線が論理「0」になり固定長モードを示すと
きにはアンド・ゲー)17−0ないし17−ルの全てに
つき論理条件が成立せず、全てのトライステート・ゲー
ト16−0ないし16−nがハイ・インピーダンス状態
にされる。
17-0 to 17-n have one input terminal commonly connected to the mode signal line, and the other input terminal inputs the corresponding bit address and input signal through inverters 18-o to 1s-n, respectively. It is connected to the select signal terminal of the decoder 7. With this connection configuration, when the mode signal line becomes logic "1" to indicate the bit mode, only the tristate gate corresponding to the bit whose select signal from the bit address decoder 7 is logic "1" is activated. When the mode signal line is set to a high impedance state and the mode signal line becomes logic "0" to indicate the fixed length mode, the logic condition is not satisfied for all of the AND gates 17-0 to 17-, and all tri-state lines are Gates 16-0 through 16-n are placed in a high impedance state.

読出し制御部6については、その構成の概要を示したの
が第6図である。第6図において、読出し切換回路19
−xi:cいし19−ルはビット対応に設けられ、それ
ぞれにモード信号線とビット・アドレス・デコーダ7の
セレクト信号線と双方向パス・ドライバ4を通してメモ
リ2からのデータ線とが接続される。モード信号線が論
理「1」になりビット・モードのときには、ビット・ア
ドレス・デコーダ7のセレクト信号が論理rlJのビッ
トの読出し切換回路19−1ないし19−ルのみがメモ
リ2かもの読出しデータをデータ・バスに出力するが、
モード信号線が論理「0」になり固定長モードのときに
は、読出し切換回路19−1ないし19−nの全てがメ
モリ 2からの読出しデータをデータ・バスに出力する
。読出し制御部の具体的な構成の1例を示したのが第7
図である。第7図において、ビット0の読出し切換回路
19−oがアンド・ゲート21−0.22−0.24−
0、オア・ゲート20−0、インバータ23−0及びオ
ア・ゲート25の一部によって構成される。ビット0に
関する回路についてみると、メモリからのデータ線がア
ンド・ゲー)24−00一方の入力端子とアンド・ゲ−
121−0の一方の入力端子に接続され、ビット・アド
レス・デコーダ7のピッ)Oのセレクト信号線がアンド
・ゲー)24−0の他方の入力端子に接続され、モード
信号線がアンド・ゲート22−〇の一方の入力端子とイ
ンバータ23−oを通してアンド・ゲー)21−0の他
方の入力端子に接続される。アンド・ゲー)24−0の
出力端子はオア・ゲート25の入力端子に接続される。
FIG. 6 shows an outline of the configuration of the readout control section 6. In FIG. 6, the readout switching circuit 19
-xi:c to 19- are provided corresponding to bits, and each is connected to a mode signal line, a select signal line of the bit address decoder 7, and a data line from the memory 2 through the bidirectional path driver 4. . When the mode signal line becomes logic "1" and the bit mode is set, the select signal of the bit address decoder 7 is set to logic rlJ, so that only the bit read switching circuits 19-1 to 19-1 select the read data of the memory 2. output to the data bus,
When the mode signal line becomes logic "0" and the fixed length mode is set, all of the read switching circuits 19-1 to 19-n output read data from the memory 2 to the data bus. The seventh example shows an example of a specific configuration of the read control unit.
It is a diagram. In FIG. 7, the read switching circuit 19-o for bit 0 is connected to the AND gate 21-0.22-0.24-
0, an OR gate 20-0, an inverter 23-0, and a part of the OR gate 25. Looking at the circuit related to bit 0, the data line from the memory is connected to one input terminal of the AND game (24-00) and the AND game.
121-0, the select signal line of bit address decoder 7 is connected to the other input terminal of AND gate 24-0, and the mode signal line is connected to AND gate 24-0. One input terminal of 22-0 is connected to the other input terminal of AND/G 21-0 through an inverter 23-o. The output terminal of AND gate 24-0 is connected to the input terminal of OR gate 25.

アンド・ゲ−)22−0の他方の入力端子はオア・ゲー
ト25の出力端子に接続される。そして、オア・ゲート
20−0の一方の入力端子はアンド・ゲート21−〇の
出力端子に接続され、他方の入力端子はアンド・ゲー)
22−0の出力端子に接続され、オア・ゲー)20−0
の出力が双方向バス・ドライバ3を通してデータ・バス
に送出される。以上の接続構成によって、ビット・モー
ドの場合には、モード信号線が論理「1」であるため、
ビット・アドレス・デコーダ7のピッ)Oのセレクト信
号が論理「1」のときにアンド・ゲート24−0.オア
・ゲ−) 25.アンド・ゲート22−0.そしてオア
・ゲート20−0を通してメモリ2内のビット0の読出
しデータがデータ・バスに送出され、ビット・アドレス
・デコーダ7の他のビットのセレクト信号が論理「1」
のときにはメモリ2内の当該ビットの読出しデータがオ
ア・ゲート25、アンド・ゲー)22−0.そしてオア
・ゲート20−0を通してデータ・バスに送出される。
The other input terminal of AND gate 22-0 is connected to the output terminal of OR gate 25. One input terminal of the OR gate 20-0 is connected to the output terminal of the AND gate 21-0, and the other input terminal is connected to the AND gate 21-0.
Connected to the output terminal of 22-0, or game) 20-0
The output of is sent to the data bus through bidirectional bus driver 3. With the above connection configuration, in the bit mode, the mode signal line is logic "1", so
When the select signal of bit address decoder 7 is logic "1", AND gate 24-0 . Or game) 25. AND GATE 22-0. Then, the read data of bit 0 in the memory 2 is sent to the data bus through the OR gate 20-0, and the select signal of the other bits of the bit address decoder 7 becomes logic "1".
When the read data of the relevant bit in the memory 2 is OR gate 25, AND gate 22-0. It is then sent to the data bus through OR gate 20-0.

以下、ビット1ないしビットルに関してもビットOと同
様である。
Hereinafter, bit 1 to bittle are also the same as bit 0.

〔発明の効果〕 以上の説明から明らかなように、本発明によれば、高速
な固定長単位のデータの読出し、書込みと、きめ細かな
ビット単位のデータの読出し、書込みがモード検力の切
り換えによってできるので、きめ細かく且つ高速なデー
タ転送を行うことができる。
[Effects of the Invention] As is clear from the above description, according to the present invention, high-speed reading and writing of data in fixed length units and fine-grained reading and writing of data in bit units can be performed by switching the mode detection power. Therefore, detailed and high-speed data transfer can be performed.

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

第1図は本発明の1実施例を示すブロック図、第2図は
メモリ制御回路の構成を示すブロック図、第3図は書込
み制御部の構成の概要を示すブロック図、第4図は書込
み制御部の具体的な構成の1例を示す図、第5図は書込
み制御部に用いられるゲート回路の具体的な構成の1例
を示す図、第6図は読出し制御部の構成の概要を示すブ
ロック図、第7図は読出し制御部の具体的な構成の1例
を示す図である。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a memory control circuit, FIG. 3 is a block diagram showing an overview of the configuration of a write control section, and FIG. FIG. 5 is a diagram showing an example of a specific configuration of a control section, FIG. 5 is a diagram showing an example of a specific configuration of a gate circuit used in a write control section, and FIG. 6 is an overview of the configuration of a read control section. The block diagram shown in FIG. 7 is a diagram showing one example of a specific configuration of the readout control section.

Claims (1)

【特許請求の範囲】[Claims] 第1の双方向バス・ドライバ、第2の双方向バス・ドラ
イバ、読出し制御部、書込み制御部、及びビット・アド
レス・デコーダを備え、上記第1の双方向バス・ドライ
バと上記第2の双方向バス・ドライバは、リード信号に
よってメモリからの読出しデータを上記第2の双方向バ
ス・ドライバから上記読出し制御部を通して上記第1の
双方向バス・ドライバのデータ・バス側に出力し、ライ
ト信号によってデータ・バスからの書込みデータを上記
第1の双方向バス・ドライバから上記書込み制御部を通
して上記第2の双方向バス・ドライ・パのメモリ側に出
力するように切り換えられるようになったメモリ制御回
路において、上記書込み制御部には、上記ビット・アド
レス・デコーダのセレクト信号とビット・モードが固定
長モードのいずれかのモード信号とメモリ内のデータと
が与えられ、上記書込み制御部は、固定長モードのモー
ド信号が与えられたことを条件に上記第1の双方向バス
・ドライバから入力された全てのビットのデータを上記
第2の双方向バス・ドライバに出力し、ビット・モード
のモード信号が与えられたことを条件に上記ビット・ア
ドレス・デコーダのセレクト信号によって選択されたビ
ットは上記第1の双方向バス・ドライバから入力された
データを、当該ビット以外のビットは上記メモリ内から
与えられた対応するビットのデータをそれぞれ上記第2
の双方向バス・ドライバに出方するように構成され、上
記読出し制御部には、上記ビット・アドレス・デコーダ
のセレクト信号とビット・モードか固定長モードのいず
れかのモード信号が与えられ、上記読出し制御部は、固
定長モードのモード信号を与えられたことを条件に上記
第2の双方向バス・ドライバから入力された全てのビッ
トのデータを上記第1の双方向バス・ドライバに出カシ
、ビット・モードのモード信号が与えられたことを条件
に上記第2の双方向バス・ドライバから入力されたデー
タのうち上記ビット・アドレス・デコーダのセレクト信
号によって選択されたビットのデータを上記第1の双方
向バス・ドライバに出力するように構成されたことを特
徴とするメモリ制御回路。
a first bidirectional bus driver, a second bidirectional bus driver, a read control, a write control, and a bit address decoder; The bidirectional bus driver outputs read data from the memory from the second bidirectional bus driver through the read control section to the data bus side of the first bidirectional bus driver in response to a read signal, and outputs read data from the memory to the data bus side of the first bidirectional bus driver in response to a write signal. The memory can be switched to output write data from the data bus from the first bidirectional bus driver to the memory side of the second bidirectional bus driver through the write control section. In the control circuit, the write control unit is supplied with a select signal of the bit address decoder, a mode signal whose bit mode is a fixed length mode, and data in the memory, and the write control unit: On the condition that the fixed length mode mode signal is given, all bit data input from the first bidirectional bus driver is output to the second bidirectional bus driver, and the bit mode signal is applied. On the condition that the mode signal is given, the bit selected by the select signal of the bit address decoder receives the data input from the first bidirectional bus driver, and the other bits are stored in the memory. The data of the corresponding bits given from
The read control unit is supplied with a select signal of the bit address decoder and a mode signal of either bit mode or fixed length mode; The read control unit outputs all bit data input from the second bidirectional bus driver to the first bidirectional bus driver on the condition that a mode signal of the fixed length mode is applied. , the bit data selected by the select signal of the bit address decoder out of the data input from the second bidirectional bus driver on the condition that the bit mode mode signal is applied. 1. A memory control circuit configured to output to one bidirectional bus driver.
JP57112157A 1982-06-29 1982-06-29 Memory control circuit Pending JPS593770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57112157A JPS593770A (en) 1982-06-29 1982-06-29 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57112157A JPS593770A (en) 1982-06-29 1982-06-29 Memory control circuit

Publications (1)

Publication Number Publication Date
JPS593770A true JPS593770A (en) 1984-01-10

Family

ID=14579658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57112157A Pending JPS593770A (en) 1982-06-29 1982-06-29 Memory control circuit

Country Status (1)

Country Link
JP (1) JPS593770A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02146641A (en) * 1988-11-29 1990-06-05 Nec Corp Memory device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02146641A (en) * 1988-11-29 1990-06-05 Nec Corp Memory device

Similar Documents

Publication Publication Date Title
US7093066B2 (en) Method for bus capacitance reduction
JPH06333394A (en) Dual port computer memory device, method for access, computer memory device and memory structure
KR100228339B1 (en) Multi-port access memory for sharing read port and write port
US5657291A (en) Multiport register file memory cell configuration for read operation
JP3661973B2 (en) Semiconductor memory device
JP2544020B2 (en) Programmable logic element
JP3954238B2 (en) Register file
US6834024B2 (en) Reduced size multi-port register cell
US5854765A (en) Semiconductor memory device
JPH06195968A (en) Integrated semiconductor memory device
JPS593770A (en) Memory control circuit
US5606709A (en) Register group circuit for data processing system
US4747066A (en) Arithmetic unit
EP0797146B1 (en) Data input/output managing device, particularly for a non-volatile memory
US6816430B2 (en) Device for storage of multiport data, particularly for an arithmetic and logic unit of a digital signal processing processor
US5634061A (en) Instruction decoder utilizing a low power PLA that powers up both AND and OR planes only when successful instruction fetch signal is provided
US7286424B2 (en) Semiconductor integrated circuit device
KR100427712B1 (en) Semiconductor memory device having twin column decoder on both sides of a column line which are operated simultaneously
US5862408A (en) Microprocessor system having multiplexor disposed in first and second read paths between memory CPU and DMA for selecting data from either read path
JP2003150446A (en) Cache memory
KR0155924B1 (en) Bus drive circuit saving bus driver number
KR100268946B1 (en) Memory device of digital signal processing
KR100272560B1 (en) Memory device
KR0136485B1 (en) A binary adder
KR920008007Y1 (en) Floppy disk control circuit