JPS63173148A - Memory pariry generating/monotoring circuit - Google Patents

Memory pariry generating/monotoring circuit

Info

Publication number
JPS63173148A
JPS63173148A JP62004135A JP413587A JPS63173148A JP S63173148 A JPS63173148 A JP S63173148A JP 62004135 A JP62004135 A JP 62004135A JP 413587 A JP413587 A JP 413587A JP S63173148 A JPS63173148 A JP S63173148A
Authority
JP
Japan
Prior art keywords
signal
parity
data
terminal
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
JP62004135A
Other languages
Japanese (ja)
Inventor
Hideaki Tokuchi
徳地 秀昭
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 JP62004135A priority Critical patent/JPS63173148A/en
Publication of JPS63173148A publication Critical patent/JPS63173148A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To generate and manage program transfer and DMA transfer, by providing a bidirectional buffer operated by receiving a data control signal and a bidirectional buffer operated by receiving a parity control signal. CONSTITUTION:A CPU1 outputs an address signal S4, an I/O input signal S2, and the data control signal S13, and inputs a data signal S3 from an I/O3 by switching the direction of the bidirectional buffer 16. Next, the CPU outputs the signal S4, a MEM output signal S5, the signal S13, and the parity control signal S14, and writes the signal S3 on a MEM4 by switching the directions of the bidirectional buffers 11 and 17, anc writes a parity signal S7 generated at a PTYGEN/CHK6 on a MEM (PTY) 5. The CPU1 outputs the signal S4, a MEM input signal S6, the signal S13, and the signal S14, and reads the data from the MEM4, and parity from the MEM5 by switching the directions of the buffers 16 and 17, anc checks a data and parity rule at the leading edge of the signal S6 by the PTY6, and outputs a parity error signal if contraction is generated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はメモリパリティ生成/監視回路に関し、特に
プログラム転送とダイレクトメモリアクセス転送の両方
の生成/監視するメモリパリティ生成/監視回路に関す
るものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a memory parity generation/monitoring circuit, and more particularly to a memory parity generation/monitoring circuit that generates/monitors both program transfers and direct memory access transfers. .

〔従来の技術〕[Conventional technology]

一般に、メモリパリティ生成/監視回路はメモリにデー
タを書き込むときにデータからパリティを生成しパリテ
ィ用メモリに書き込む一方、メモリからデータを読み出
すどきにデータと読み出されたパリティとを比較し、パ
リティ則と異なったときに警報を発生するものである。
Generally, when writing data to memory, a memory parity generation/monitoring circuit generates parity from the data and writes it to parity memory, and when reading data from memory, it compares the data with the read parity and uses the parity rule. An alarm is generated when the

そして、メモリパリティの生成/監視を行なうには中央
処理回路がデータの転送を行なうプログラム転送と中央
処理回路を用いずにデータの高速転送が行なえるダイレ
クトメモリアクセスコントローラ(以下DMACと言う
)を用いるダイレクトメモリアクセス転送(以下、OM
A転送と言う)がある。第3図は従来のメモリパリティ
生成/監視回路を示すプロック図である。同図において
、1ハDATA端子Ia、ADDR端子1b  、第4
図(h)に示すようにDMA転送時にローレベルのパス
制御信号S8を出力するAENI端子1c、Mw端子1
d、MR端子1e、IW端子1fおよびIR端子1gを
備えた中央処理回路(以下CPUと言う)、2はADD
R端子2&、第4図(1)に示すようにプログラム転送
時にローレベルのバス制御信号810を出力するAEN
2端子2b、MW端子2c、MR端子’2d  、  
IW端第4図(d)に示すI10人力信号S8が入力す
る!R端子3bおよび第4図伽)に示すデータ信号S8
が入力するDATA端子3Cを備えた周辺回路(以下I
10と言う)、4は第4図(、)に示すアドレス信号S
4が入力するADDR端子4a  を第4図(、)に示
すMEM出力信号S、が入力する韮端子4b 、第4図
(f)に示すMEM入力信号S6が入力するMR端子4
CおよびDATA端子4dを備えたメモリ(以下MIJ
と言う)、5はADDR端子5a、MW端子5b、Ma
端子5cおよび第4図(c)に示すパリティ信号S。
To generate and monitor memory parity, a central processing circuit uses program transfer to transfer data, and a direct memory access controller (hereinafter referred to as DMAC) that can perform high-speed data transfer without using a central processing circuit. Direct memory access transfer (hereinafter referred to as OM
(referred to as A transfer). FIG. 3 is a block diagram showing a conventional memory parity generation/monitoring circuit. In the same figure, 1st DATA terminal Ia, ADDR terminal 1b, 4th
As shown in Figure (h), AENI terminal 1c and Mw terminal 1 output low level path control signal S8 during DMA transfer.
d, central processing circuit (hereinafter referred to as CPU) equipped with MR terminal 1e, IW terminal 1f and IR terminal 1g, 2 is ADD
R terminal 2&, AEN outputs a low-level bus control signal 810 during program transfer as shown in FIG. 4 (1).
2 terminal 2b, MW terminal 2c, MR terminal '2d,
The I10 human power signal S8 shown in FIG. 4(d) is input to the IW end! R terminal 3b and data signal S8 shown in Fig. 4)
Peripheral circuit (hereinafter referred to as I) equipped with DATA terminal 3C input by
10), 4 is the address signal S shown in FIG.
The ADDR terminal 4a to which 4 is input, the MR terminal 4 to which the MEM output signal S shown in FIG. 4(,) is input, and the MR terminal 4 to which the MEM input signal S6 shown in FIG.
Memory (hereinafter referred to as MIJ) equipped with C and DATA terminals 4d
), 5 is the ADDR terminal 5a, MW terminal 5b, Ma
The terminal 5c and the parity signal S shown in FIG. 4(c).

が入力するDATA端子5dを備えたパリティ用メモリ
(以下HEM(PTY)と言う)、6は入力端子5m。
A parity memory (hereinafter referred to as HEM (PTY)) is provided with a DATA terminal 5d for input, and 6 is an input terminal 5m.

入出力端子6bおよび出力端子6cを備えたメモリパリ
ティ生成/監視回路(以下PTYGEN/CHKと言う
)、7は入力端子7m 、入出力端子7bおよび出力端
子7cを備え、上述した動作を行なうメモリパリティ生
成/監視回路(以下PTY(JN/C[と言う)、8は
第4図6)に示すパス制御信号S8が入力する出力有効
OE端子8m 、入力端子8bおよび出力端子8cを備
え、出力有効OE端子8aに入力するバス制御信号S8
がローレベルのとき出力端子8Cが有効になる片方向バ
ッファ、9は第4図(h)K示すパス制御信号S8が入
力する出力有効OE端子9a I第4図(j)に示すデ
ータ制御信号S。
A memory parity generation/monitoring circuit (hereinafter referred to as PTYGEN/CHK) comprising an input/output terminal 6b and an output terminal 6c; 7 is a memory parity generating/monitoring circuit comprising an input terminal 7m, an input/output terminal 7b and an output terminal 7c, and performs the operations described above. A generation/monitoring circuit (hereinafter referred to as PTY (JN/C), 8 is shown in Fig. 4, 6) is provided with an output valid OE terminal 8m, an input terminal 8b, and an output terminal 8c to which the path control signal S8 shown in Fig. 4 is input. Bus control signal S8 input to OE terminal 8a
9 is an output valid terminal OE terminal 9a to which the path control signal S8 shown in FIG. 4(h) K is input; and 9 is the data control signal shown in FIG. 4(j). S.

が入力するT端子9b、入力端子9cおよび入出力端子
9dを備え、出力有効OK端子9aに入力するバス制御
信号S8がローレベルのとき出力が有効でan、’r端
子9bに入力するデータ制御信号S、(第4図(1)参
照)がハイレベルのときデータが下記のシステムバスに
向って出方される双方向バッファ、10は第4図(h)
に示すパス制御信号s8が入力する出力有効OE端子t
oa 、 T端子10b。
has a T terminal 9b, an input terminal 9c, and an input/output terminal 9d, and when the bus control signal S8 input to the output valid OK terminal 9a is low level, the output is valid and the data control input to the an,'r terminal 9b. A bidirectional buffer 10 from which data is outputted to the following system bus when the signal S (see FIG. 4(1)) is at a high level is shown in FIG. 4(h).
An output valid OE terminal t to which the path control signal s8 shown in is input.
oa, T terminal 10b.

入力端子10eおよび入出力端子10dを備え、出方有
効OE端子10mに入力するパス制御信号s8がローレ
ベルのとき出力が有効であシ、T端子10bに入力する
信号がハイレベルのときデータが下記のシステムバスに
向って出力される双方向バッファ、11は第4図(i)
に示すパス制御信号810が入力する出力有効OE端子
11a、入力端子11bおよび出力端子11cを備え、
出力有効OE端子11aに入力するパス制御信号S□。
It has an input terminal 10e and an input/output terminal 10d, and the output is valid when the path control signal s8 input to the output valid OE terminal 10m is low level, and the data is valid when the signal input to the T terminal 10b is high level. The bidirectional buffer 11 outputs to the system bus shown below is shown in Fig. 4(i).
It includes an output valid OE terminal 11a, an input terminal 11b, and an output terminal 11c to which a path control signal 810 shown in is input,
A path control signal S□ is input to the output valid OE terminal 11a.

がローレベルのとき出力が有効で1、’r端子11bが
入力する信号がハイレベルのときデータが下記のシステ
ムバスに向って出力される片方向バッファ、12は第4
図(1)に示すバス制御信号S□。が入力する出力有効
OE′ 端子12a、第4図←)に示すデータ制御信号
811が入力するT端子12bおよび入出力端子11c
を備え、出力有効OE端子12&に入力するバス制御信
号S□。がローレベルのとき出力が有効になシ、T端子
12bに入力する信号がハイレベルのときデータが下記
のシステムバスに向って出方される双方向バッファ、1
3は第4図(1)に示すバス制御信号S□。が入力する
出力有効OE端子134. T端子13b、入力端子1
3cおよび入出力端子13dを備え、出力有効OE端子
13&に入力するバス制御信号S0゜がローレベルのと
き出方が有効になシ、T端子1’3bに入力する信号が
ハイレベルのときデータが下記のシステムバスに向って
出方される双方向バッファ、14はシステムバス、15
aは第4図(j)K示すデータ制御信号S0を出力する
アントゲ−)、15bは第4図(イ)に示すパリティエ
ラー信号allを出力するアンドゲート、15cは第4
図伽)に示すデータ制御信号811を出力するアンドゲ
ートである。
When the signal input to the 'r terminal 11b is at a high level, the output is valid and is 1, and when the signal is at a high level, the data is output to the system bus shown below.12 is a one-way buffer.
Bus control signal S□ shown in Figure (1). The output valid OE' terminal 12a is inputted, the T terminal 12b and the input/output terminal 11c are inputted with the data control signal 811 shown in Fig. 4←).
and a bus control signal S□ input to the output valid OE terminal 12&. A bidirectional buffer 1 whose output is enabled when T is at a low level, and data is output to the following system bus when a signal input to the T terminal 12b is at a high level.
3 is a bus control signal S□ shown in FIG. 4 (1). The output valid OE terminal 134. T terminal 13b, input terminal 1
3c and an input/output terminal 13d, the output is valid when the bus control signal S0° input to the output valid OE terminal 13& is low level, and the data is valid when the signal input to the T terminal 1'3b is high level. are bidirectional buffers that are output to the following system buses, 14 is a system bus, 15
15b is an AND gate that outputs the parity error signal ALL shown in FIG. 4(A), and 15c is a fourth
This is an AND gate that outputs the data control signal 811 shown in Figure 3).

次に上記構成によるメモリパリティ生成/監視回路の動
作について第4図(a)〜第4図(4)を参照して説明
する。まず、に)プログラム転送時のパリティ生成につ
いて説明する。このプログラム転送の場合にはシステム
バスの制御権はCPUIが持っておシ、そのAENI端
子1Cから出力する第4図色)に示すパス制御信号S8
がローレベルになシ有効となっている。したがって、C
PU1は第4図(−)に示すアドレス信号S2.第4図
(d)に示すI10入力信号S2.第4図(j)に示す
データ制御信号S、を出力し双方向バッファ9の方向を
切換えてIlo 3から第4図(b)に示すデータ信号
S8を入力する。
Next, the operation of the memory parity generation/monitoring circuit having the above configuration will be explained with reference to FIGS. 4(a) to 4(4). First, parity generation during program transfer will be explained. In the case of this program transfer, the control right of the system bus is held by the CPU, and the path control signal S8 shown in Fig. 4 (color) is output from the AENI terminal 1C.
is enabled at low level. Therefore, C
PU1 receives the address signal S2. as shown in FIG. 4(-). I10 input signal S2. shown in FIG. 4(d). The data control signal S shown in FIG. 4(j) is output, the direction of the bidirectional buffer 9 is switched, and the data signal S8 shown in FIG. 4(b) is inputted from Ilo 3.

次に、CPUIは第4図(a)に示すアドレス信号S、
Next, the CPUI sends the address signal S shown in FIG. 4(a),
.

第4図(、)に示すMEM出力信号S、  l第4図(
j)に示すデータ制御信号S、を出力し、双方向バッフ
ァ9および双方向バッファ10の方向を切換えてMEM
4には第4図(b)に示すデータ信号S3を書き込み、
MEM(PTY )5にはPTYGEN/CHK 6 
K ! り 生成した第4図(C)に示すパリティ信号
S、をW1!込む。次に、監視について説明すると、C
PUIは第4図(a)に示すアドレス信号S4.第4図
(f)K示すMEM入力信号S、  l第4図(j)に
示すデータ制御信号S9を出力し、双方向バッファ9お
よび双方向バッファ10の方向を切換えてMEM4から
データを読み出し、畑M(PTY) 5からパリティを
読み出し、PTYGEN/CHK 6によシデータとパ
リティのパリティ則を第4図(f>に示すMEM入力信
号S、の立上シでチェックし、不合理が生じたとき、ロ
ーレベルのパリティエラー信号5L11を出カスるが、
不合理が生じないときには第4図(6)に示すようにパ
リティエラー信号S1.はハイレベルである。次にΦ)
DMA転送時のパリティ生成について説明する。
The MEM output signals S and l shown in Fig. 4(,) are as shown in Fig. 4(,).
j), and switches the direction of the bidirectional buffer 9 and the bidirectional buffer 10 to
4, write the data signal S3 shown in FIG. 4(b),
MEM (PTY) 5 has PTYGEN/CHK 6
K! The generated parity signal S shown in FIG. 4(C) is converted to W1! It's crowded. Next, to explain the monitoring, C.
PUI is the address signal S4. shown in FIG. 4(a). Outputting the MEM input signals S and l shown in FIG. 4(f)K, l data control signal S9 shown in FIG. The parity was read from field M (PTY) 5, and the parity rule of the data and parity was checked by PTYGEN/CHK 6 at the rising edge of the MEM input signal S shown in Fig. 4 (f>), and an unreasonableness occurred. When the low level parity error signal 5L11 is output,
When no unreasonableness occurs, the parity error signal S1. is at a high level. Then Φ)
Parity generation during DMA transfer will be explained.

まず、DMA転送の場合システムパスの制御潅はDMA
C2が持っており第4図(1)に示すバス制御信号S工
。がローレベルとなシ有効となっている。そして、DM
AC2は第4図(−)に示すアドレス信号S4゜第4図
(d)に示すVO入力信号S、l、第4図(、)に示す
MEM出力信号S、  l第4回軸)に示すデータ制御
信号allを出力し、双方向バッファ12および双方向
バッファ13の方向を切換えてPTYGEN/CHK7
により第4図色)に示すデータ信号S、から第4図(C
)に示すパリティ信号S、を生成しMEM4にはデータ
を書き込み、MEM(PTY)5にはパリティを書き込
む。次に、監視について説明する。まず、DMA C2
は第4図(a) K示すアドレス信号341m4図(f
)に示すMEM入力信号s、  e第4図(g)K示す
!ル出力信号Sl、第4図伽)に示すデータ制御信号8
11を出力し、双方向バッファ12および双方PTYG
EN/CHK 7によシデータとパリティのパリティ則
を第4図(f)に示すMEM入力信号S6の立上りでチ
ェックし、不合理が生じた場合、第4区(イ)に示すよ
うにローレベルのパリティエラー信号811を出力する
First, in the case of DMA transfer, the system path is controlled by DMA.
C2 has a bus control signal S shown in FIG. 4 (1). is enabled when it is low level. And DM
AC2 is the address signal S4 shown in Figure 4 (-), the VO input signal S shown in Figure 4 (d), the MEM output signal S shown in Figure 4 (,), and the MEM output signal S shown in Figure 4 (,). Outputs the data control signal all, switches the direction of the bidirectional buffer 12 and the bidirectional buffer 13, and connects the PTYGEN/CHK7
From the data signal S shown in Fig. 4 (color) to Fig. 4 (C
) is generated, data is written into MEM4, and parity is written into MEM(PTY)5. Next, monitoring will be explained. First, DMA C2
The address signal 341m shown in Fig. 4 (a) K is shown in Fig. 4 (f
) MEM input signals s, e shown in Figure 4 (g) K! Data control signal 8 shown in Figure 4)
11, bidirectional buffer 12 and both PTYG
EN/CHK 7 checks the parity rule of the data and parity at the rising edge of the MEM input signal S6 shown in Figure 4 (f), and if an unreasonableness occurs, it is set to low level as shown in Section 4 (a). A parity error signal 811 is output.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のメモリパリティ生成/監視回路は、CP
UおよびDMACのどちらか一方がシステムパスを制御
するにもかかわらず、0℃およびomcにそれぞれ対応
してPTYGEN/CHKを設けなければならないとい
う欠点がおる。
The conventional memory parity generation/monitoring circuit described above is based on the CP
Although either U or DMAC controls the system path, there is a drawback that PTYGEN/CHK must be provided corresponding to 0° C. and omc, respectively.

〔問題点°を解決するための手段〕[Means to solve the problem]

この発明のメモリパリティ生成/監視回路は、データ制
御信号を受けて動作する双方向バッファとパリティ制御
信号を受けて動作する双方向バッファとを設けることに
より、プログラム転送およびDMA転送のときにメモリ
パリティ生成・監視回路が動作するようにしたものであ
る。
The memory parity generation/monitoring circuit of the present invention provides a bidirectional buffer that operates in response to a data control signal and a bidirectional buffer that operates in response to a parity control signal, thereby generating memory parity during program transfer and DMA transfer. The generation/monitoring circuit is activated.

〔作用〕[Effect]

この発明は1個のメモリパリティ生成・監視回路により
プログラム転送およびDMA転送の両方の生成・監視を
行なうことができる。
According to the present invention, one memory parity generation/monitoring circuit can generate and monitor both program transfer and DMA transfer.

〔実施例〕〔Example〕

第1図はこの発明に係るメモリパリティ生成/監視回路
の一実施例を示すブロック図である。同図において、1
6はT端子16a、入力端子16bおよび入出力端子1
60を備え、T端子1Saがハイレベルのときシステム
パスに向ってデータが出方する双方向バッファ、1Tは
T端子17a、入力端子17bおよび入出力端子17c
を備え、T端子17&がハイレベルのトキシステムバス
に向ってデータが出力する双方向バッファ、1Bは第2
図U)に示すデータ制御信号818を出力するアンド回
路、19は第2図(k)に示すパリティ制御信号”14
を出力するアンド回路である。
FIG. 1 is a block diagram showing an embodiment of a memory parity generation/monitoring circuit according to the present invention. In the same figure, 1
6 is the T terminal 16a, the input terminal 16b and the input/output terminal 1
60, a bidirectional buffer that outputs data toward the system path when the T terminal 1Sa is at a high level; 1T is a T terminal 17a, an input terminal 17b, and an input/output terminal 17c.
1B is a bidirectional buffer that outputs data toward the Toki system bus whose T terminal 17& is at a high level.
The AND circuit 19 outputs the data control signal 818 shown in Figure U), and the parity control signal 14 shown in Figure 2K
This is an AND circuit that outputs .

次に上記構成によるメモリパリティ生成/監視回路の動
作について第2図(−)〜第2図(イ)を参照して説明
する。まず、囚ニブログラム転送時のパリティ生成につ
いて説明する。このプログラム転送の場合にはシステム
バスの制御権はCPUIが持っており、そのAENI端
子1cから出力する第2図(h)に示すバス制御信号S
8がローレベルになシ有効となっている。したがって、
CPU1は第2図(−)に示すアドレス信号S6.第2
図(d)に示すI10人力信号S2および第2図(j)
に示すデータ制御信号81Bを出力し、双方向パンツ7
16の方向を切換えて1103から第2図(b)に示す
データ信号S3を入力する。次に、CPUIは第2図(
、)に示すアドレス信号S6.第2図(a)K示すME
M出力信号S、。
Next, the operation of the memory parity generation/monitoring circuit having the above configuration will be explained with reference to FIGS. 2(-) to 2(a). First, parity generation at the time of prisoner program transfer will be explained. In the case of this program transfer, the CPU has control over the system bus, and the bus control signal S shown in FIG. 2 (h) is output from its AENI terminal 1c.
8 is at low level and is enabled. therefore,
The CPU 1 receives the address signal S6. shown in FIG. 2 (-). Second
I10 human power signal S2 shown in figure (d) and figure 2 (j)
outputs the data control signal 81B shown in FIG.
16 and inputs the data signal S3 shown in FIG. 2(b) from 1103. Next, the CPUI is shown in Figure 2 (
, ) shown in the address signal S6. Figure 2 (a) ME shown by K
M output signal S,.

第2図(j)に示すデータ制御信号S□、および第2図
(k)に示すパリティ制御信号814を出力し、双方向
バッファ11および双方向バッファ1Tの方向を切換え
てMEM4には第2図(b)に示すデータ信号S3を書
込み、MEM(PTY) 5にはPTYGEN/CI(
K 6により生成した第2図(c)に示すパリティ信号
S、を書き込む。次に、監視について説明すると、CP
U1は第2図(ト)に示すアドレス信号S4  l第4
図(f)に示すMEM入力信号S6.第2図(j)に示
すデータ制御信号5illおよび第2図伝)に示すパリ
ティ制御信号814を出力し、双方向バッファ16およ
び双方向バッファ17の方向を切換えてMEM4からデ
ータを読み出し、MEM(PTY) 5からパリティを
読み出す。そして、PTYGEN/CHK6によシデー
タとパリティのパリティ則を第2図(f)に示すMEM
入力信号S6の立上シでチェックし、不合理が生じたと
きにはローレベルのパリティエラー信号を出力するが、
不合理が生じないときにはパリティエラー信号5i11
は第2図(イ)に示すようにハイレベルでおる。次に、
φ):DMA転送時のパリティ生成について説明する。
The data control signal S□ shown in FIG. 2 (j) and the parity control signal 814 shown in FIG. Write the data signal S3 shown in Figure (b), and write PTYGEN/CI(
A parity signal S shown in FIG. 2(c) generated by K6 is written. Next, to explain monitoring, CP
U1 is the address signal S4 l4 shown in FIG.
MEM input signal S6. shown in Figure (f). The data control signal 5ill shown in FIG. 2(j) and the parity control signal 814 shown in FIG. PTY) Read the parity from 5. Then, the parity rule of the data and parity of PTYGEN/CHK6 is shown in FIG. 2(f).
It is checked at the rising edge of the input signal S6, and if an unreasonable condition occurs, a low level parity error signal is output.
Parity error signal 5i11 when no unreasonableness occurs
is at a high level as shown in Figure 2 (a). next,
φ): Parity generation during DMA transfer will be explained.

まず、DMA転送の場合、システムバスの制御権はDM
AC2が持っておシ、第2図(りに示すようにパス制御
信号S工。がローレベルにな9有効となっている。そし
てDMAC2は第2図(、)に示すアドレス信号S4+
第2図(d)に示すI10人力信号S、  l第2図(
、)に示すMEM出力信号S、  l第2図(j)に示
すデータ制御信号S工、、第2因伽)に示すパリティ制
御信号814を出力し、双方向バック716および双方
向バッファ17の方向を切換えてPTYGEN/C)I
K 6によシ第2図(b)に示すデータ信号S8から第
2図(C)に示すパリティ信号S7を生成し、MEM4
にはデータを書き込みφ化M(PTY)5にパリティを
書き込む。次に、監視について説明すると、DMAC2
は第2図(a)に示すアドレス信号S、 l第2図(f
)に示すMEM入力信号S6.第2口伝)に示すVO出
力信号S l、第2図(j>に示すデータ制御信号S□
8.第2図(k)に示すパリティ制御信号814を出力
し、双方向バッファ16および双方向バッファ1Tの方
向を切換えてMEM4からデータを読み出し、MEM(
PTY) 5からパリティを読み出す。そして、PTY
GEN/CHK 6によシデータおよびパリティのパリ
ティ則を第2図(f)に示すMEM入力信号S6の立ち
上が9でチェックし、不合理が生じたときには第4図(
イ)に示すようにローレベルのパリティエラー信号S1
2を出力する。
First, in the case of DMA transfer, control of the system bus is given to the DM.
AC2 has a path control signal S4+ as shown in FIG.
I10 human power signal S shown in Fig. 2 (d), l Fig. 2 (
It outputs the MEM output signal S shown in FIG. 2(j) and the parity control signal 814 shown in FIG. Switch direction and PTYGEN/C)I
K6 generates the parity signal S7 shown in FIG. 2(C) from the data signal S8 shown in FIG. 2(b), and
Data is written to φ conversion M (PTY) 5, and parity is written to φ conversion M (PTY) 5. Next, to explain the monitoring, DMAC2
are the address signals S shown in FIG. 2(a), lFIG. 2(f)
) shown in MEM input signal S6. VO output signal S l shown in 2nd oral history), data control signal S □ shown in Fig. 2 (j>)
8. It outputs the parity control signal 814 shown in FIG.
PTY) Read the parity from 5. And P.T.Y.
The parity rule of the GEN/CHK 6 data and parity is checked at the rising edge 9 of the MEM input signal S6 shown in FIG.
As shown in b), the parity error signal S1 is at a low level.
Outputs 2.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように、この発明に係るメモリパリ
ティ生成/監視回路によれば、1つのメモリパリティ生
成/監視回路によりプログラム転送およびDMA転送の
両方の生成・監視を行なうことができるなどの効果があ
る。
As explained in detail above, the memory parity generation/monitoring circuit according to the present invention has advantages such as being able to generate and monitor both program transfer and DMA transfer with one memory parity generation/monitoring circuit. There is.

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

第1図はこの発明に係るメモリパリティ生成/監視回路
の一実施例を示すブロック図、第2図(a)〜第2図A
はそれぞれ第1図の各部の波形を示す°図、第3図は従
来のメモリパリティ生成/監視回路を示すブロック図、
第4図(−)〜第4図(イ)は第3図の各部の波形を示
す図である。 1・・・・中央処理回路、2・・・・ダイレクトメモリ
アクセスコントローラ、3・・・・周辺回路、4・・・
・メモリ、5・・・・パリティメモリ、6および7・・
・・メモリパリティ生成/監視回路、8および11・・
・・片方向バッファ、9〜13・・・・双方向バッファ
、14・・・・システムバス、151〜150・・・・
アンド回路、16および1T・・・・双方向バッファ、
18および19・・・・アンド回路。
FIG. 1 is a block diagram showing an embodiment of a memory parity generation/monitoring circuit according to the present invention, and FIG. 2(a) to FIG. 2A
1 is a diagram showing the waveforms of each part in FIG. 1, and FIG. 3 is a block diagram showing a conventional memory parity generation/monitoring circuit.
4(-) to 4(a) are diagrams showing waveforms at various parts in FIG. 3. 1...Central processing circuit, 2...Direct memory access controller, 3...Peripheral circuit, 4...
・Memory, 5...Parity memory, 6 and 7...
...Memory parity generation/monitoring circuit, 8 and 11...
...Unidirectional buffer, 9-13...Bidirectional buffer, 14...System bus, 151-150...
AND circuit, 16 and 1T...bidirectional buffer,
18 and 19...AND circuit.

Claims (1)

【特許請求の範囲】[Claims] 周辺回路とメモリ回路間のプログラム転送を行なうとき
のバス制御を司どる中央処理回路と、プログラム転送の
とき有効になるバス制御信号を受けて動作する片方向バ
ッファと、周辺回路とメモリ回路間で中央処理装置を介
さないダイレクトメモリアクセス転送を行なうときのバ
ス制御を司どるダイレクトメモリアクセスコントローラ
と、ダイレクトアクセスメモリ転送のとき有効になるバ
ス制御信号を受けて動作する片方向バッファと、データ
制御信号を受けて動作する双方向バッファと、パリティ
制御信号を受けて動作する双方向バッファと、メモリ回
路にデータを書き込むときにパリティを生成し、メモリ
回路からデータを読み出すときにパリティ則の監視を行
なえる共通のメモリパリティ生成・監視回路とを備えた
ことを特徴とするメモリパリティ生成/監視回路。
A central processing circuit that controls the bus when transferring programs between peripheral circuits and memory circuits, a unidirectional buffer that operates in response to bus control signals that become valid during program transfer, and A direct memory access controller that controls the bus when performing direct memory access transfers that do not go through the central processing unit, a unidirectional buffer that operates in response to bus control signals that become valid during direct access memory transfers, and data control signals. A bidirectional buffer that operates in response to a parity control signal, a bidirectional buffer that operates in response to a parity control signal, and a bidirectional buffer that generates parity when writing data to a memory circuit and monitors parity rules when reading data from a memory circuit. A memory parity generation/monitoring circuit comprising a common memory parity generation/monitoring circuit.
JP62004135A 1987-01-13 1987-01-13 Memory pariry generating/monotoring circuit Pending JPS63173148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62004135A JPS63173148A (en) 1987-01-13 1987-01-13 Memory pariry generating/monotoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62004135A JPS63173148A (en) 1987-01-13 1987-01-13 Memory pariry generating/monotoring circuit

Publications (1)

Publication Number Publication Date
JPS63173148A true JPS63173148A (en) 1988-07-16

Family

ID=11576337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62004135A Pending JPS63173148A (en) 1987-01-13 1987-01-13 Memory pariry generating/monotoring circuit

Country Status (1)

Country Link
JP (1) JPS63173148A (en)

Similar Documents

Publication Publication Date Title
US4237534A (en) Bus arbiter
JPS63173148A (en) Memory pariry generating/monotoring circuit
JPS6269348A (en) Data transfer device
JP2819516B2 (en) Redundant controller
JP3210939B2 (en) Process control device with PIO simulation memory
JP2975638B2 (en) Semiconductor integrated circuit
JPH0337073Y2 (en)
JPH03240148A (en) System switching operation protecting circuit
JP2847741B2 (en) Microcomputer
JPH01214945A (en) Microcomputer
KR0127884B1 (en) Mail box interrupt generating device
JPH0561812A (en) Information processing system
JPH04330541A (en) Common data transfer system
JPH0222755A (en) Address coincidence circuit
JPS62173557A (en) Microprocessor
JPH0664561B2 (en) Simultaneous writing circuit
JPS59148199A (en) Memory parity circuit
JPH02307149A (en) Direct memory access control system
JPS61213958A (en) Data transmission system between cpus
JPS61133465A (en) Switching method of cpu
JPS62262170A (en) Data transfer system
JPS6263363A (en) Memory address control system
JPH04333954A (en) Information processor
JPS6197769A (en) Bus controller
JPS63234334A (en) Computer device