JPH02224162A - Memory control device - Google Patents
Memory control deviceInfo
- Publication number
- JPH02224162A JPH02224162A JP1045941A JP4594189A JPH02224162A JP H02224162 A JPH02224162 A JP H02224162A JP 1045941 A JP1045941 A JP 1045941A JP 4594189 A JP4594189 A JP 4594189A JP H02224162 A JPH02224162 A JP H02224162A
- Authority
- JP
- Japan
- Prior art keywords
- input data
- memory
- signal group
- signal
- write
- 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
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、計算機システムにおけるメモリ制御に関する
。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to memory control in a computer system.
第3図は、従来のエラー検出修正コード(以下ECCと
言う)付メモリの1例であり9図において(3)は第1
の入力データ信号群(イ)と第2の入力データ信号群(
ニ)を入力としECC(ト)を発生するFCC発生回路
、(4)は第1のメモリ、(5)は第2のメモIJ、(
7)はECC用メモ電ハ(8)<1117)入力データ
選択信号(ロ)と第2の入力データ選択信号(ホ)及び
、第1の入力データ信号群(イ)と第2の入力データ信
号群(ニ)をメモリに入力するための書込みタイミング
信号(チ)を入力とし、上記第1のメモリ(4)の書込
みを制御する第1の書込み信号(す)と上記第2のメモ
リ(5)の書込みを制御する第2の書込み信号(ヲ)を
出力する書込み制御回路、(ワ)はメモリアドレスであ
る。Figure 3 shows an example of a conventional memory with error detection and correction code (hereinafter referred to as ECC).
input data signal group (a) and second input data signal group (
(d) is an input and generates ECC (g), (4) is the first memory, (5) is the second memory IJ, (
7) is the ECC memo cable (8) < 1117) the input data selection signal (b), the second input data selection signal (e), the first input data signal group (a) and the second input data A write timing signal (H) for inputting the signal group (D) to the memory is input, and a first write signal (S) for controlling writing to the first memory (4) and the second memory (4) are input. 5) A write control circuit that outputs a second write signal (W) for controlling the write, where (W) is a memory address.
第4図は、第3図の一般的な動作説明図である第3図、
第4図において、メモリアドレス(ワ)と第1の入力デ
ータ信号群(イ)と第1の入力データ選択信号(ロ)と
第2の入力データ信号群(ニ)と第2の入力データ選択
信号(ホ)を入力すると第1の入力データ信号群(イ)
と第2の入力データ信号群(ニ)に対するECC(ト)
が発生し、さらに、書込みタイミング信号(チ)を入力
することにより第1の書込み信号(す)と第2の書込み
信号(ヲ)を発生し第1のメモリ(4)、第2のメモリ
(5)、及び、ECC用メモリ(7)にそれぞれのデー
タを書込む。FIG. 4 is a general operation explanatory diagram of FIG. 3;
In FIG. 4, a memory address (wa), a first input data signal group (a), a first input data selection signal (b), a second input data signal group (d), and a second input data selection When the signal (E) is input, the first input data signal group (A)
and ECC (g) for the second input data signal group (d)
is generated, and furthermore, by inputting the write timing signal (ch), the first write signal (su) and the second write signal (wo) are generated, and the first memory (4) and the second memory ( 5) and write the respective data to the ECC memory (7).
第3図に示すメモリにおいて、FCCは第1の入力デー
タ信号群(イ)と第2の入力データ信号群(ニ)に対し
て1つのFCCが発生するため、第4図の破線で示す様
に第1の入力データ信号群(イ)のみを書込む場合は、
FCCが発生出来ないという課題がある。第2の入力デ
ータ信号群(ニ)のみを書込む場合も同様である。In the memory shown in FIG. 3, one FCC is generated for the first input data signal group (a) and the second input data signal group (d), so as shown by the broken line in FIG. When writing only the first input data signal group (a) to
There is a problem that FCC cannot occur. The same applies to the case where only the second input data signal group (d) is written.
更に、第1の入力データ信号群(イ)と第2の入力デー
タ信号群(ニ)に対してそれぞれ別のFCCを付けると
信号線数が増加する(入力データ線:16本に対しEC
C: 6本、入力データ線:8本にに対しECC: 5
本必要)という課題もある。Furthermore, if separate FCCs are attached to the first input data signal group (a) and the second input data signal group (d), the number of signal lines will increase (input data lines: 16, EC
C: 6 lines, input data lines: 8 lines, ECC: 5
There is also the issue of needing books.
本発明は、第1の入力データ信号群と第1の入力データ
選択信号を入力とし、第1の入力データ選択信号により
第1の入力データ信号群またはハイ・インピーダンス(
thigh Inpedanse)を第1の出力データ
信号群として出力する第1のデータ制御回路と、第2の
入力データ信号群と第2の入力データ選択信号を入力と
し、第2の入力データ選択信号により第2の入力データ
信号群またはハイ・インピーダンス(Iligh Im
pedanse)を第2の出力データ信号群として出力
する第2のデータ制御回路と第1の入力データ選択信号
と第2の入力データ選択信号及び第1の入力データ信号
群と第2の入力データ信号群をメモリに入力するための
書込みタイミング信号を入力とし、上記第1の出力デー
タ信号群を接続する第1のメモリの書込み/読出しを制
御する第1の書込み/読出し信号と上記第2の出力デー
タ信号群を接続する第2のメモリの書込み/読出しを制
御する第2の書込み/読出し信号を出力する書込み/読
出し制御回路を付加したものである。The present invention receives a first input data signal group and a first input data selection signal as input, and the first input data selection signal selects the first input data signal group or high impedance (
a first data control circuit which outputs high impedance) as a first output data signal group; a second input data signal group and a second input data selection signal; 2 input data signals or high impedance
pedance) as a second output data signal group, a first input data selection signal, a second input data selection signal, a first input data signal group and a second input data signal. a first write/read signal for controlling writing/reading of a first memory to which a write timing signal for inputting a group of data signals to a memory is input, and a first write/read signal for controlling writing/reading of a first memory to which the first output data signal group is connected; A write/read control circuit is added that outputs a second write/read signal that controls writing/reading of a second memory to which data signal groups are connected.
本発明においては、第1の入力データ信号群のみを書込
む場合は、第2のメモリから書込みアドレスのデータを
読出してECC発生回路に入力し第2の入力データ信号
群のみを書込む場合は、第1のメモリから書込みアドレ
スのデータを読出してECC発生回路に入力する。In the present invention, when writing only the first input data signal group, when writing only the second input data signal group by reading the data at the write address from the second memory and inputting it to the ECC generation circuit, , reads the data at the write address from the first memory and inputs it to the ECC generation circuit.
第1図は1本発明による一実施例である。図において、
(1)は第1の入力データ信号群(イ)と第1の入力デ
ータ選択信号(ロ)を入力とし第1の入力データ信号群
またはハイ・インピーダンス(tlighlmpcda
nse)を第1の出力データ信号群(ハ)として出力す
る第1のデータ制御回路、(2)は第2の入力データ信
号群(ニ)と第2の入力データ選択信号(ホ)を入力と
し第2の入力データ信号群またはハイ・インピーダンス
(旧gh Impedanse)を第2の出力データ信
号群(へ)として出力する第2のデータ制御回路、(3
)は第1の出力データ信号群()X)と第2の出力デー
タ信号群(へ)を入力としECC(ト)を発生するEC
C発生回路、(4)は第1のメモリ。FIG. 1 shows an embodiment according to the present invention. In the figure,
(1) inputs the first input data signal group (a) and the first input data selection signal (b), and selects the first input data signal group or high impedance (tlighlmpcda).
a first data control circuit that outputs (nse) as a first output data signal group (c); (2) inputs a second input data signal group (d) and a second input data selection signal (e); a second data control circuit (3) which outputs a second input data signal group or high impedance (formerly GH Impedance) as a second output data signal group (to);
) is an EC that receives the first output data signal group ()
C generation circuit, (4) is the first memory.
(5)は第2のメモリ、(6)は第1の入力データ選択
信号(ロ)と第2の入力データ選択信号(ホ)及び第1
の入力データ信号群(イ)と第2の入力データ信号群(
ニ)をメモリに入力するための書込みタイミング信号(
チ)を入力とし、上記第1のメモリ(4)の書込みを制
御する第1の書込み信号(す)と読出しを制御する第1
の読出し信号(ヌ)及び上記第2のメモリ(5)の書込
みを制御する第2の書込み信号(ル)と読出しを制御す
る第2の読出し信号(ヲ)を出力する書込み/読出し制
御回路、(7)はECC用メモリ、(ワ)はメモリアド
レスである。(5) is the second memory, (6) is the first input data selection signal (b), the second input data selection signal (e) and the first
input data signal group (a) and second input data signal group (
Write timing signal (d) for inputting to memory
a first write signal (su) that controls writing to the first memory (4) and a first write signal (su) that controls reading of the first memory (4);
a write/read control circuit that outputs a read signal (nu), a second write signal (ru) that controls writing to the second memory (5), and a second read signal (wo) that controls reading; (7) is the ECC memory, and (wa) is the memory address.
第2図は、一実施例を説明するためのタイミング図であ
る。メモリアドレス(ワ)にX番地を与える。各メモリ
のX番地の初期データはそれぞれAC,Dとする。(第
2図中、一番下の3つはそれぞれ第1のメモリのX番地
のデータ内容、第2のメモリのX番地のデータ内容、E
CC用メモリのX番地のデータ内容を示す)入力データ
としてはデータ内容Bの第1の入力データ信号群(イ)
のみを与える。これに伴い、入力データ選択信号は、第
1の入力データ選択信号(ロ)のみを入力する。このと
き、第1のデータ制御回路(1)は第1の出力データ信
号群(ハ)としてBを出力し、第2のデータ制御回路(
2)はハイインピーダンスを出力する。FIG. 2 is a timing diagram for explaining one embodiment. Give address X to memory address (wa). The initial data at address X in each memory are assumed to be AC and D, respectively. (In Figure 2, the bottom three are the data content at address X in the first memory, the data content at address X in the second memory, and E
The first input data signal group (a) with data content B is the input data (indicates the data content at address X of the CC memory).
Give only. Accordingly, only the first input data selection signal (b) is input as the input data selection signal. At this time, the first data control circuit (1) outputs B as the first output data signal group (c), and the second data control circuit (1) outputs B as the first output data signal group (c).
2) outputs high impedance.
書込み/読出し制御回路(6)は、第1の書き込み信号
(す)と第2の読出し信号(ヲ)を出力する。これによ
り、第2のメモリ(5)から第2の出力データ信号群(
へ)として第2のメモリ(5)のアドレスXのデータC
が出力される。FCC発生回路(3)には第1の出力デ
ータ信号群(ハ)のデータBと第2の出力データ信号群
(へ)のデータCが入力され、データB、 Cに対する
ECC(ト)であるEが発生される。データ内容Bの第
1の出力データ信号群(ハ)とデータ内容EのECC(
))はそれぞれ第1の書込み信号(す)と書込みタイミ
ング信号(チ)によりそれぞれのメモリに書込まれる。The write/read control circuit (6) outputs a first write signal (su) and a second read signal (wo). As a result, the second output data signal group (
data C at address X of the second memory (5) as
is output. Data B of the first output data signal group (c) and data C of the second output data signal group (f) are input to the FCC generation circuit (3), and ECC (g) is applied to data B and C. E is generated. The first output data signal group (c) of data content B and the ECC of data content E (
)) are respectively written into the respective memories by the first write signal (su) and the write timing signal (chi).
このとき。At this time.
第2のメモリのデータは不変である。The data in the second memory remains unchanged.
以上の様に9本発明によれば、第1の入力データ群と第
2の入力データ群と上記両データ群に対するFCCを有
するメモリにおいて、第1または第2の入力データ群の
どちらか片方のみを書込む場合でもFCCデータ本数を
増やすことなく正常なFCCを付加することができる。As described above, according to the present invention, in a memory having a first input data group, a second input data group, and an FCC for both data groups, only one of the first or second input data group Even when writing FCC data, normal FCC can be added without increasing the number of FCC data.
第1図は本発明によるメモリ制御装置の一実施例を示す
ブロック図、第2図は本発明の動作原理を説明するため
のタイミング図、第3図は従来のメモリ制御装置のブロ
ック図、第4図は従来のメモリ制御装置の動作原理を説
明するためのタイミング図である。
図において、(1)は第1のデータ制御回路、(2)は
第2のデータ制御回路、(3)はFCC発生回路、(4
)は第1のメモ1ハ(5)は第2のメモリ、(6)は書
込み/読出し制御回路、(7)はECC用メモリ、(8
)は書込み制御回路、(イ)は第1の入力データ信号群
。
(ロ)は第1の入力データ選択信号、(/\)は第1の
出力データ信号群、(ニ)は第2の入力データ信号群、
(ホ)は第2の入力データ選択信号、(へ)は第2の出
力データ信号群、(ト)はFCC,(チ)は書込みタイ
ミング信号、(す)は第1の書込み信号。
(ヌ)は第1の読出し信号、(ル)は第2の書込み信号
、(ヲ)は第2の読出し信号、(ワ)はメモリアドレス
である。
なお、各図中同一符号は同一または相当部分を示す。
第 1 図FIG. 1 is a block diagram showing an embodiment of a memory control device according to the present invention, FIG. 2 is a timing diagram for explaining the operating principle of the present invention, and FIG. 3 is a block diagram of a conventional memory control device. FIG. 4 is a timing diagram for explaining the operating principle of a conventional memory control device. In the figure, (1) is the first data control circuit, (2) is the second data control circuit, (3) is the FCC generation circuit, and (4) is the FCC generation circuit.
) is the first memory 1c (5) is the second memory, (6) is the write/read control circuit, (7) is the ECC memory, (8
) is a write control circuit, and (a) is a first input data signal group. (b) is the first input data selection signal, (/\) is the first output data signal group, (d) is the second input data signal group,
(E) is the second input data selection signal, (F) is the second output data signal group, (G) is the FCC, (H) is the write timing signal, and (S) is the first write signal. (J) is the first read signal, (R) is the second write signal, (W) is the second read signal, and (W) is the memory address. Note that the same reference numerals in each figure indicate the same or corresponding parts. Figure 1
Claims (1)
入力とし、第1の入力データ選択信号により第1の入力
データ信号群またはハイ・インピーダンス(High
Impedanse)を第1の出力データ信号群として
出力する第1のデータ制御回路と、第2の入力データ信
号群と第2の入力データ選択信号を入力とし、第2の入
力データ選択信号により第2の入力データ信号群または
ハイ・インピーダンス(High Impedanse
)を第2の出力データ信号群として出力する第2のデー
タ制御回路と、第1の出力データ信号群と第2の出力デ
ータ信号群を入力とし決められたエラー検出修正コード
を出力するエラー検出修正コード発生回路と、第1の入
力データ選択信号と第2の入力データ選択信号及び第1
の入力データ信号群と第2の入力データ信号群をメモリ
に入力するための書込みタイミング信号を入力とし、上
記第1の出力データ信号群を接続する第1のメモリの書
込み/読出しを制御する第1の書込み/読出し信号と上
記第2の出力データ信号群を接続する第2のメモリの書
込み/読出しを制御する第2の書込み/読出し信号を出
力する書込み/読出し制御回路から構成されたメモリ制
御装置。A first input data signal group and a first input data selection signal are input, and the first input data selection signal selects the first input data signal group or high impedance.
Impedance) as a first output data signal group; a second input data signal group and a second input data selection signal; input data signals or high impedance
) as a second output data signal group, and an error detection circuit that receives the first output data signal group and the second output data signal group as input and outputs a determined error detection correction code. a correction code generation circuit, a first input data selection signal, a second input data selection signal, and a first input data selection signal;
and a second input data signal group to the memory, and which controls writing/reading of a first memory to which the first output data signal group is connected. a memory control circuit comprising a write/read control circuit that outputs a second write/read signal that controls writing/read of a second memory that connects the first write/read signal and the second output data signal group; Device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1045941A JPH02224162A (en) | 1989-02-27 | 1989-02-27 | Memory control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1045941A JPH02224162A (en) | 1989-02-27 | 1989-02-27 | Memory control device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02224162A true JPH02224162A (en) | 1990-09-06 |
Family
ID=12733301
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1045941A Pending JPH02224162A (en) | 1989-02-27 | 1989-02-27 | Memory control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02224162A (en) |
-
1989
- 1989-02-27 JP JP1045941A patent/JPH02224162A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5581716A (en) | IDE type CD-ROM drive interfacing circuit | |
| JPH11134243A (en) | Storage device control device and storage device control method in data processing system | |
| JPH02224162A (en) | Memory control device | |
| JPS6134778A (en) | Semiconductor memory | |
| KR890009399Y1 (en) | Interface circuits of compact disk read-only memory driver | |
| JP2975638B2 (en) | Semiconductor integrated circuit | |
| JP2968636B2 (en) | Microcomputer | |
| KR900001530Y1 (en) | Data transfer circuit between font rom and character generating ram | |
| JP2892429B2 (en) | Input/Output Control Unit | |
| JP2888062B2 (en) | Information processing device | |
| JPH023853A (en) | Interface method for cpu | |
| JPH01194052A (en) | Data input/output circuit for digital signal processing processor | |
| JPS6121541A (en) | Storage circuit | |
| JPH01181137A (en) | Storage unit | |
| JP2884620B2 (en) | Digital image processing device | |
| JPS58199498A (en) | Memory system | |
| JPH0279149A (en) | System for transferring data of recorder | |
| JPS6019257A (en) | Control circuit for memory multiplex mode | |
| JPH01130218A (en) | Simultaneous controller for plural auxiliary storage | |
| JPH04130917A (en) | Electronic disk device | |
| JPS62130438A (en) | Memory access system | |
| JPH0437213A (en) | Signal processor | |
| JPH01268227A (en) | error correction device | |
| JPH05342096A (en) | Program execution method of programmable controller | |
| JPH0432592B2 (en) |