JPH04361343A - Parity check circuit - Google Patents

Parity check circuit

Info

Publication number
JPH04361343A
JPH04361343A JP3137340A JP13734091A JPH04361343A JP H04361343 A JPH04361343 A JP H04361343A JP 3137340 A JP3137340 A JP 3137340A JP 13734091 A JP13734091 A JP 13734091A JP H04361343 A JPH04361343 A JP H04361343A
Authority
JP
Japan
Prior art keywords
parity
memory
data
circuit
cycle
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
JP3137340A
Other languages
Japanese (ja)
Inventor
Koichi Iwashima
岩島 幸一
Hironari Hayama
羽山 裕也
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
NEC Office Systems Ltd
Original Assignee
NEC Corp
NEC Office Systems 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 NEC Corp, NEC Office Systems Ltd filed Critical NEC Corp
Priority to JP3137340A priority Critical patent/JPH04361343A/en
Publication of JPH04361343A publication Critical patent/JPH04361343A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To make operations into a pipeline and to perform access to a memory in a shortest cycle by temporarily latching read data and parity by a latch circuit, completing the operation of a memory bus and afterwards executing a parity check. CONSTITUTION:When a request signal comes from a system bus in the case of a memory read cycle, a memory controller 1 generates a control signal required for access and according to this control signal, the data and the parity are read out of the memory. These data and parity are temporarily latched by a latch circuit 7 at timing for a host to accept the data, and the access cycle of the host side is finished. On the other hand, the next cycle is started at the system bus from this point of time and at a parity check/judgement circuit 5, however, the truth of the preceding access is judged. Then, the result is latched and outputted to the outside according to a parity error latch timing signal to be outputted from the memory controller 1 at the next timing.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、パリティチェック回路
、特に、パリティチェック機構をもち高速メモリアクセ
スを実現する記憶装置のパリティチェック回路に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parity check circuit, and more particularly to a parity check circuit for a storage device having a parity check mechanism and realizing high-speed memory access.

【0002】0002

【従来の技術】記憶装置において一般にデータの真偽性
をチェックする方法としてパリティチェック方式が多く
用いられるが従来この種のパリティチェック方式におい
ては、読み出したデータとパリティによりそのメモリリ
ードサイクル内でデータの真偽を判定するように構成さ
れている。その様子を図3(ブロック図)および図4(
波形図)により説明する。
2. Description of the Related Art In general, a parity check method is often used as a method of checking the authenticity of data in a storage device. Conventionally, in this type of parity check method, the read data and parity are used to determine whether the data is is configured to determine the truth or falsity of. The situation is shown in Figure 3 (block diagram) and Figure 4 (
(waveform diagram).

【0003】図3に示すパリティチェック方式は、デー
タ部12,パリティ部13,パリティ発生/チェック回
路14,判定回路15は同じメモリバス上に配置される
為、同じメモリアクセスサイクル内でデータの真偽を判
定しなければならない。メモリデータリードサイクル時
の動作は、図4の波形図の如くシステムバスよりメモリ
に対して要求信号1aがあるとメモリコントローラ11
はデータリードに必要な制御信号1bを出力する。この
制御信号によって読み出されたデータ1cとパリティ1
dは、パリティ発生/チェック回路14を通過し、その
結果を判定回路15によってチェックされ、同じアクセ
スサイクル内でメモリコントローラ1により生成される
パリティエラーラッチタイミング信号1hの立上りエッ
ジt11によってパリティエラーかどうかの情報がラッ
チされ外部に出力されるが、一般にパリティ発生/チェ
ック回路14,判定回路15の動作速度は非常に遅く、
仮にリードアクセスにおいてデータ部12より読み出さ
れたデータの授受には問題無くても、パリティチェック
の結果判定がパリティエラーラッチタイミング信号1h
の立上りエッジt11までに終了しなければ、アクセス
サイクルを延長しなければならない事態がしばしばあり
、システム性を著しく低下させるものであった。
In the parity check method shown in FIG. 3, since the data section 12, parity section 13, parity generation/check circuit 14, and judgment circuit 15 are arranged on the same memory bus, the truth of the data can be verified within the same memory access cycle. Must be determined to be false. The operation during the memory data read cycle is as shown in the waveform diagram of FIG.
outputs the control signal 1b necessary for data reading. Data 1c and parity 1 read by this control signal
d passes through the parity generation/check circuit 14, the result is checked by the determination circuit 15, and the rising edge t11 of the parity error latch timing signal 1h generated by the memory controller 1 within the same access cycle determines whether or not there is a parity error. The information is latched and output to the outside, but the operating speed of the parity generation/check circuit 14 and the judgment circuit 15 is generally very slow.
Even if there is no problem in sending and receiving data read from the data section 12 during read access, the result of the parity check is determined by the parity error latch timing signal 1h.
If the access cycle is not completed by the rising edge t11 of , the access cycle often has to be extended, which significantly degrades system performance.

【0004】0004

【発明が解決しようとする課題】従来の技術は、メモリ
データリードサイクル時にメモリコントローラの出力す
る制御信号によって読み出されたデータとパリティは、
パリティ発生/チェック回路を通過しその真偽を判定回
路によってパリティエラーかどうかの判定をそのサイク
ル内で行うが、一般にこのパリティ発生/チェック回路
および判定回路の動作速度は非常に遅い為、ホストとの
データの授受には、問題無くてもパリティチェックが終
了しなければサイクルを延長しなければならずシステム
性能を著しく低下させるという欠点があった。
[Problems to be Solved by the Invention] In the conventional technology, data and parity read by control signals output from a memory controller during a memory data read cycle are
It passes through a parity generation/check circuit, and a circuit that determines its authenticity determines whether or not it is a parity error within that cycle.However, the operating speed of the parity generation/check circuit and determination circuit is generally very slow, so the host However, even if there is no problem in data exchange, if the parity check is not completed, the cycle must be extended, which significantly degrades system performance.

【0005】本発明の目的は上記欠点を改善し読み出し
たデータとパリティを一旦ラッチ回路でラッチしメモリ
バスの動作を終了しその後パリティチェックを行うこと
により動作をパイプライン化しメモリを最速のサイクル
でアクセスできるようにすることによりシステム性能を
向上させるものである。
The purpose of the present invention is to improve the above-mentioned drawbacks, to pipeline the operation by latching the read data and parity in a latch circuit, completing the operation of the memory bus, and then checking the parity, so that the memory can be stored in the fastest cycle. This improves system performance by providing access.

【0006】[0006]

【課題を解決するための手段】本発明のパリティチェッ
ク回路は、データ部とパリティ部とで構成されるメモリ
とそれらメモリに対しリード/ライトに必要な制御信号
を出力するメモリコントローラと、メモリデータライト
時にライトパリティを発生するパリティ発生回路と、メ
モリデータリード時リードデータ,リードパリティをメ
モリコントローラよりのタイミング信号でラッチしメモ
リバスから分離するためのラッチ回路と、ラッチ回路の
出力内容によりアクセスサイクル後パリティエラーかど
うかを判定するパリティチェック/判定回路とを備える
ことによって構成される。
[Means for Solving the Problems] A parity check circuit of the present invention includes a memory configured with a data section and a parity section, a memory controller that outputs control signals necessary for reading/writing to these memories, and a memory controller that outputs control signals necessary for reading/writing to the memories. A parity generation circuit that generates write parity when writing, a latch circuit that latches read data and read parity using a timing signal from the memory controller and isolates it from the memory bus when reading memory data, and an access cycle depending on the output contents of the latch circuit. and a parity check/determination circuit for determining whether or not there is a subsequent parity error.

【0007】[0007]

【実施例】次に本発明について図面を参照して説明する
。図1は、本発明の一実施例を示すブロック図、図2は
その動作を説明するための波形図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a waveform diagram for explaining its operation.

【0008】図1においてパリティチェック/判定回路
5はラッチ回路7によってメモリバスから分離され、動
作をパイプライニングさせることによりメモリアクセス
サイクルを最短時間で行い、なおかつパリティチェック
/判定回路5の応答時間に余裕をもたせることにより高
速メモリアクセスを可能にしシステム性能向上を計る。 その時の動作を図2により説明する。
In FIG. 1, the parity check/judgment circuit 5 is separated from the memory bus by a latch circuit 7, and by pipelining the operation, the memory access cycle is performed in the shortest possible time, and the response time of the parity check/judgment circuit 5 is shortened. By providing a margin, high-speed memory access is enabled and system performance is improved. The operation at that time will be explained with reference to FIG.

【0009】メモリリードサイクル時システムバスより
要求信号aがあるとメモリコントローラ1によりアクセ
スに必要な制御信号bが生成されこの制御信号によりメ
モリからデータcおよびパリティdが読み出される。こ
れらはホストがデータを引き取ることができるt1 で
一旦ラッチ回路7にメモリコントローラ1から出力され
るラッチタイミング信号eの立上りエッジによりラッチ
され又ホスト側のアクセスサイクルは終了される。
When a request signal a is received from the system bus during a memory read cycle, the memory controller 1 generates a control signal b necessary for access, and data c and parity d are read from the memory by this control signal. These are latched by the rising edge of the latch timing signal e output from the memory controller 1 to the latch circuit 7 at t1 when the host can receive the data, and the access cycle on the host side is completed.

【0010】一方この時点よりシステムバスでは次のサ
イクルが開始されるが、パリティチェック/判定回路5
では前アクセスでの真偽が判定されその結果がt2 の
時点で決定される。この結果を外部信号として出力する
為t3 でメモリコントローラ1より出力されるパリテ
ィエラーラッチタイミング信号hによりラッチされ外部
信号として出力される。
On the other hand, from this point on, the next cycle starts on the system bus, but the parity check/judgment circuit 5
Then, the truth or falsity of the previous access is determined, and the result is determined at time t2. In order to output this result as an external signal, it is latched by the parity error latch timing signal h output from the memory controller 1 at t3 and output as an external signal.

【0011】このようにシステムバスからのアクセス要
求によるサイクルとパリティチェックの動作をオーバー
ラップさせることによりメモリアクセスサイクルを最短
で行うことができる為高速メモリアクセスが可能となり
システム性能を向上することができる。
[0011] In this way, by overlapping the cycle for access requests from the system bus with the parity check operation, the memory access cycle can be performed in the shortest possible time, thereby enabling high-speed memory access and improving system performance. .

【0012】0012

【発明の効果】本発明のパリティチェック回路は、ホス
トがリードデータを引き取ることのできる最短のメモリ
アクセスサイクルを決定することができる為高速メモリ
アクセスが可能となりシステム性能を向上できる効果が
ある。
The parity check circuit of the present invention can determine the shortest memory access cycle in which the host can receive read data, thereby enabling high-speed memory access and improving system performance.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】図1の動作を説明する波形図である。FIG. 2 is a waveform diagram illustrating the operation of FIG. 1;

【図3】従来の一例を示すブロック図である。FIG. 3 is a block diagram showing a conventional example.

【図4】図3の動作を説明する波形図である。FIG. 4 is a waveform diagram illustrating the operation of FIG. 3;

【符号の説明】[Explanation of symbols]

1,11    メモリコントローラ 2,12    データ部 3,13    パリティ部 4    パリティ発生回路 5    パリティチェック/判定回路6,16   
 バッファ 7    ラッチ回路 14    パリティ発生/チェック回路15    
判定回路
1, 11 Memory controller 2, 12 Data section 3, 13 Parity section 4 Parity generation circuit 5 Parity check/judgment circuit 6, 16
Buffer 7 Latch circuit 14 Parity generation/check circuit 15
Judgment circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  パリティメモリチェック機構をもつメ
モリとそれらメモリに対するリード/ライトに必要な制
御信号を出力するメモリコントローラと、メモリデータ
ライト時にライトパリティを発生するパリティ発生回路
と、メモリデータリード時リードデータ,リードパリテ
ィをメモリコントローラよりのタイミング信号でラッチ
しメモリバスから分離するラッチ回路と、ラッチ回路の
出力内容によりアクセスサイクル後パリティエラーかど
うかを判定するパリティチェック/判定回路とを備える
ことを特徴とするパリティチェック回路。
1. A memory having a parity memory check mechanism, a memory controller that outputs control signals necessary for reading/writing to the memory, a parity generation circuit that generates write parity when writing memory data, and a read when reading memory data. It is characterized by comprising a latch circuit that latches data and read parity using a timing signal from a memory controller and separates it from the memory bus, and a parity check/judgment circuit that determines whether there is a parity error after an access cycle based on the output contents of the latch circuit. parity check circuit.
JP3137340A 1991-06-10 1991-06-10 Parity check circuit Pending JPH04361343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3137340A JPH04361343A (en) 1991-06-10 1991-06-10 Parity check circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3137340A JPH04361343A (en) 1991-06-10 1991-06-10 Parity check circuit

Publications (1)

Publication Number Publication Date
JPH04361343A true JPH04361343A (en) 1992-12-14

Family

ID=15196361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3137340A Pending JPH04361343A (en) 1991-06-10 1991-06-10 Parity check circuit

Country Status (1)

Country Link
JP (1) JPH04361343A (en)

Similar Documents

Publication Publication Date Title
US5201036A (en) Data processor having wait state control unit
JPH06250938A (en) Circuit for performing test of ram array and control and its method
JPH04361343A (en) Parity check circuit
JP2979918B2 (en) Interrupt detection circuit
JPH0414438B2 (en)
JP2912090B2 (en) Time slot interchange circuit
JPH05158810A (en) Error detection circuit
JPS5936853A (en) Operation processor
JPH06222975A (en) Storage controller
JPH0375908B2 (en)
JPS5819785A (en) Memory access controlling system
JPH11184751A (en) Memory control circuit and memory device
JPS61271543A (en) Parity generation detecting circuit
JPH04332060A (en) Arithmetic unit for data
JPS6146538A (en) Fast reading method of memory
JPH0554666A (en) Memory device
JP2003297098A (en) Semiconductor memory device
JPH03208146A (en) Digital data error detection system
JPS607546A (en) Control system of general-purpose register
JPH0258647B2 (en)
JPH09282887A (en) Semiconductor memory device
JPH0554200B2 (en)
JPS62206632A (en) Control system for main storage device
JPH06175910A (en) Memory access circuit and automatic detecting method for memory access timing
JPS63216150A (en) Storage device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20001017