JPH02210543A - Data processor - Google Patents

Data processor

Info

Publication number
JPH02210543A
JPH02210543A JP2962389A JP2962389A JPH02210543A JP H02210543 A JPH02210543 A JP H02210543A JP 2962389 A JP2962389 A JP 2962389A JP 2962389 A JP2962389 A JP 2962389A JP H02210543 A JPH02210543 A JP H02210543A
Authority
JP
Japan
Prior art keywords
parity
data
delay time
parity part
stored
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
JP2962389A
Other languages
Japanese (ja)
Inventor
Shunichi Kaneko
俊一 金子
Shinya Shiraishi
白石 慎也
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 Software Shikoku Ltd
Original Assignee
NEC Corp
NEC Software Shikoku 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 Software Shikoku Ltd filed Critical NEC Corp
Priority to JP2962389A priority Critical patent/JPH02210543A/en
Publication of JPH02210543A publication Critical patent/JPH02210543A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To shorten the delay time of a parity part by inhibiting the application of a selection means which selects one of optical data containing parities for a parity part having a large delay time. CONSTITUTION:A 1st selection means 12 which selects the optional one of plural data containing parities, a 1st memory means 20 which holds the selected data containing a parity are provided. Then a 2nd memory means 24 which holds the parity part of the data containing a parity which has a large delay time of the parity part, a 2nd selection mean 28 which performs the switch between a parity part 22 stored in the means 20 and the parity part stored in the means 24 and outputs selectively both parity parts are provided. Further more, the control parts 26 and 30 are provided to give an instruction to the means 28 to select the parity part stored in the means 24 when the data containing a parity having a large delay time of the parity part is selected by the means 12 and then written into the means 20. As a result, the delay time of the parity part is shortened when a parity is produced via a duplex computing element.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパリティ付きデータを取り扱うデータ処理装置
に係わり、特にパリティ付きデータのパリティ部の遅延
時間が大きい場合の処理に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device that handles data with parity, and particularly relates to processing when the delay time of the parity part of data with parity is large.

〔従来の技術〕[Conventional technology]

一般に演算器により算出されたデータのパリティを作成
する場合に演算器を二重化し、一方の演算器を演算デー
タを得るために使用し、他方の演算器をパリティ作成用
として使用する方法がある。
Generally, when creating parity for data calculated by an arithmetic unit, there is a method in which the arithmetic units are duplicated, one arithmetic unit is used to obtain the arithmetic data, and the other arithmetic unit is used for creating parity.

上述した二重化回路により求められたデータとパリティ
を選択回路を通して記憶装置に書き込むように構成され
た回路は、パリティ付きデータを取り扱うデータ処理装
置によく用いられる。
A circuit configured to write the data and parity determined by the duplication circuit described above into a storage device through a selection circuit is often used in a data processing device that handles data with parity.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したパリティ付きデータを取り扱うデータ処理装置
における二重化回路によりパリティを作成する場合に、
パリティ付きデータのうちパリティ部はパリティ作成回
路を通した後にデータ部と同じ選択手段を介して選択さ
れるように構成されていたために、データ部に比して遅
延時間が大きくなるという問題があった。
When creating parity using a duplex circuit in a data processing device that handles data with parity, as described above,
Since the parity part of the data with parity was configured to be selected through the same selection means as the data part after passing through the parity generation circuit, there was a problem that the delay time was longer than that of the data part. Ta.

本発明はこのような事情に鑑みてなされたものであり、
演算器を二重化してパリティを作成する場合に、パリテ
ィ付きデータのうちのパリティ部の遅延時間の短縮を図
ったデータ処理装置を提供することを目的とするもので
ある。
The present invention was made in view of these circumstances, and
It is an object of the present invention to provide a data processing device in which the delay time of the parity part of data with parity is reduced when parity is created by duplicating arithmetic units.

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

本発明は上記した目的を達成するために、複数個のパリ
ティ付きデータの中から任意のパリティ付きデータを選
択する第1の選択手段と、この第1の選択手段により選
択されたパリティ付きデータを保持する第1の記憶手段
と、パリティ部の遅延時間が大きいパリティ付きデータ
のパリティ部を保持する第2の記憶手段と、第1の記憶
手段に記憶されているパリティ部と第2の記憶手段に記
憶されているパリティ部とを切り替えて選択的に出力す
る第2の選択手段と、パリティ部の遅延時間が大きいパ
リティ付きデータが第1の選択手段により選択されかつ
第1の記憶手段に書き込まれた場合に、第2の選択手段
が第2の記憶手段に記憶されているパリティ部を選択す
るように指示する制御部とを有することを特徴とするも
のである。
In order to achieve the above object, the present invention includes a first selection means for selecting arbitrary data with parity from a plurality of data with parity, and a data with parity selected by the first selection means. a first storage means for holding a parity part of data with parity having a large delay time; a second storage means for holding a parity part of data with parity having a large delay time; and a parity part stored in the first storage means and a second storage means. a second selection means for selectively outputting the parity part by switching between the data and the parity part stored in the first selection means; The present invention is characterized in that it has a control section that instructs the second selection means to select the parity part stored in the second storage means when the second selection means selects the parity part stored in the second storage means.

本発明によれば、パリティ付きデータのうち遅延時間の
大きいパリティ部については任意のパリティ付きデータ
のうちのいずれかを選択する選択手段を通さないように
構成されているので、演算器を二重化してパリティを作
成する場合にパリティ部の遅延時間を短縮することがで
きる。
According to the present invention, since the parity portion of the parity-attached data with a large delay time is not passed through the selection means for selecting any one of the parity-attached data, the arithmetic unit can be duplicated. When creating parity using the above method, the delay time of the parity section can be shortened.

〔実施例〕〔Example〕

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

第1図には本発明に係わるデータ処理装置の一実施例の
構成が示されている。本実施例では8ビツトのデータ部
に1ビツトのパリティ部を加えた9ビツトのデータを扱
うものとする。同図において、データ処理装置は任意の
パリティ付きデータのうちのいずれかを選択するセレク
ト信号100をデコードするデコーダ10と、デコーダ
10によりデコードされた情報に基づいて特定のパリテ
ィ付きデータを選択するセレクタ12と、データOPI
、OF2を演算する演算器14.16と、演算器16の
演算出力に基づいてパリティを作成するパリティ作成回
路18と、セレクタ12により選択されたパリティ付き
データのデータ部を保持するレジスタ20と、そのパリ
ティ付きデータのうちのパリティ部を保持するレジスタ
22と、パリティ作成回路18により作成されたパリテ
ィを保持するレジスタ24と、セレクタ12が演算器1
4より出力されるデータALU (0〜7)を選択しか
つセット信号102によりセット指示が出されている場
合に論理“1”がセットされるレジスタ26と、レジス
タ26の出力に基づいてレジスタ22またはレジスタ2
4のいずれかのパリティを選択するセレクタ28と、ア
ンドゲート30、インバータ32とを有している。
FIG. 1 shows the configuration of an embodiment of a data processing device according to the present invention. In this embodiment, it is assumed that 9-bit data, which is an 8-bit data section plus a 1-bit parity section, is handled. In the figure, the data processing device includes a decoder 10 that decodes a select signal 100 that selects any one of arbitrary data with parity, and a selector that selects specific data with parity based on information decoded by the decoder 10. 12 and data OPI
, OF2, a parity creation circuit 18 that creates parity based on the calculation output of the calculation unit 16, and a register 20 that holds the data part of the data with parity selected by the selector 12. A register 22 that holds the parity part of the data with parity, a register 24 that holds the parity created by the parity creation circuit 18, and a selector 12 are connected to the arithmetic unit 1.
A register 26 is set to logic "1" when the data ALU (0 to 7) output from the register 4 is selected and a set instruction is issued by the set signal 102; or register 2
4, an AND gate 30, and an inverter 32.

セレクタ12はデコーダ10によりセレクト信号100
がデコードされた結果に基づいてデータA(0〜8、P
) 、B (0〜8、P) 、C(0〜8、P)、・・
・・・・X(0〜8、P)、のいずれかまたはデータA
LU (0〜7)の一方を選択する。
The selector 12 receives a select signal 100 by the decoder 10.
Data A (0 to 8, P
), B (0-8, P), C (0-8, P),...
...X (0 to 8, P), or data A
Select one of LU (0 to 7).

ここでデータALU (0〜7)はデータ○P1、OF
2を演算器14により演算した結果である。
Here, data ALU (0 to 7) is data ○P1, OF
This is the result of computing 2 by the computing unit 14.

またセレクタ12から出力されるパリティ付きデータは
セット信号102がセット指示を出している時にはその
データ部がレジスタ20に、パリティ部がレジスタ22
に書き込まれるようになっている。演算器16は演算器
14を二重化したものであり、演算器16の演算出力に
基づいてパリティを作成する。
Furthermore, when the set signal 102 issues a set instruction, the data with parity outputted from the selector 12 has its data portion stored in the register 20 and its parity portion stored in the register 20.
It is now written to . The arithmetic unit 16 is a duplication of the arithmetic unit 14, and creates parity based on the calculation output of the arithmetic unit 16.

更にレジスタ24には、セット信号102によりセット
指示が出されている時にパリティ作成回路18により作
成された新たなパリティがセットされ、それ以外の時に
は前回作成されたパ゛リテイが保持される。
Further, a new parity created by the parity creation circuit 18 is set in the register 24 when a set instruction is issued by the set signal 102, and at other times, the previously created parity is held.

上記の構成においてセレクト信号100がデータALU
 (0〜7)の選択を指示し、かつセット信号102が
セット指示を出していた場合のデータ処理装置の動作に
ついて説明する。
In the above configuration, the select signal 100 is the data ALU
The operation of the data processing apparatus when the selection of (0 to 7) is instructed and the set signal 102 issues a set instruction will be described.

さてセレクト信号100がデータALU (0〜7)の
選択を指示すると、セレクタ12はデコーダ10の出力
を受けて演算器14から出力されるデータALU (0
〜7)を選択し、この選択されたデータALU (0〜
7)はレジスタ20にセットされ、レジスタ20の内容
は出力端子0UT(0〜8)に出力される。これと同時
に演算器14.16により得られた演算結果ALU (
0〜7)に対するパリティがパリティ作成回路18によ
り作成され、レジスタ24にセットされる。この時にセ
レクト信号100がデータALU (0〜7)の選択を
指示し、かつセット信号102がセット指示を出してい
るのでレジスタ26には論理゛1”のデータがセットさ
れる。
Now, when the select signal 100 instructs the selection of data ALU (0 to 7), the selector 12 receives the output of the decoder 10 and outputs the data ALU (0 to 7) from the arithmetic unit 14.
~7) and select this selected data ALU (0~7).
7) is set in the register 20, and the contents of the register 20 are output to the output terminal 0UT (0-8). At the same time, the calculation results ALU (
0 to 7) is created by the parity creation circuit 18 and set in the register 24. At this time, the select signal 100 instructs selection of data ALU (0-7) and the set signal 102 issues a set instruction, so data of logic "1" is set in the register 26.

一方、セレクタ28はレジスタ26に論理“1″がセッ
トされているので、レジスタ22、レジスタ24に書き
込まれているパリティのうちレジスタ24に書き込まれ
ているパリティを選択し、出力端子OUT (P)に出
力する。
On the other hand, since the logic "1" is set in the register 26, the selector 28 selects the parity written in the register 24 from among the parities written in the registers 22 and 24, and outputs the output terminal OUT (P). Output to.

従って本実施例によれば、セレクタ12を逆さずに遅延
時間の大きいパリティ部のデータを直接レジスタ24に
書き込むことができ、パリティ部のデータ処理上の遅延
時間を短縮することができる。
Therefore, according to this embodiment, the data of the parity section having a long delay time can be written directly to the register 24 without reversing the selector 12, and the delay time in data processing of the parity section can be shortened.

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

以上説明したように本発明では、パリティ付きデータの
うち遅延時間の大きいパリティ部については任意のパリ
ティ付きデータのうちのいずれかを選択する選択手段を
通さないように構成したので、演算器を二重化してパリ
ティを作成する場合に遅延時間の大きいパリティ部の遅
延時間を短縮することができる。
As explained above, in the present invention, the parity portion of the parity data with a large delay time is not passed through the selection means for selecting any of the parity data, so the arithmetic unit is duplicated. When parity is created using this method, the delay time of the parity part, which has a long delay time, can be shortened.

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

第1図は本発明に係わるデータ処理装置の一実施例の構
成を示すブロック図である。 10・・・・・・デコーダ、12.28・・・用セレク
タ、14.16・・・・・・演算器、 18・・・・・・パリティ作成回路、 20.22.24.26・旧・・レジスタ。
FIG. 1 is a block diagram showing the configuration of an embodiment of a data processing device according to the present invention. 10...Decoder, 12.28...Selector, 14.16...Arithmetic unit, 18...Parity creation circuit, 20.22.24.26/Old ··register.

Claims (1)

【特許請求の範囲】 複数個のパリティ付きデータの中から任意のパリティ付
きデータを選択する第1の選択手段と、この第1の選択
手段により選択されたパリティ付きデータを保持する第
1の記憶手段と、 パリティ部の遅延時間が大きいパリティ付きデータのパ
リティ部を保持する第2の記憶手段と、前記第1の記憶
手段に記憶されているパリティ部と第2の記憶手段に記
憶されているパリティ部とを切り替えて選択的に出力す
る第2の選択手段と、 前記パリティ部の遅延時間が大きいパリティ付きデータ
が第1の選択手段により選択されかつ第1の記憶手段に
書き込まれた場合に第2の選択手段が第2の記憶手段に
記憶されているパリティ部を選択するように指示する制
御部 とを有することを特徴とするデータ処理装置。
[Claims] A first selection means for selecting arbitrary data with parity from among a plurality of data with parity, and a first storage for holding the data with parity selected by the first selection means. means, a second storage means for holding a parity part of data with parity having a large delay time in the parity part, and a parity part stored in the first storage means and a parity part stored in the second storage means. a second selection means for selectively outputting the parity part by switching between the parity parts; and a second selection means for selectively outputting the parity part; A data processing device comprising: a control section that instructs the second selection means to select a parity section stored in the second storage means.
JP2962389A 1989-02-10 1989-02-10 Data processor Pending JPH02210543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2962389A JPH02210543A (en) 1989-02-10 1989-02-10 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2962389A JPH02210543A (en) 1989-02-10 1989-02-10 Data processor

Publications (1)

Publication Number Publication Date
JPH02210543A true JPH02210543A (en) 1990-08-21

Family

ID=12281213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2962389A Pending JPH02210543A (en) 1989-02-10 1989-02-10 Data processor

Country Status (1)

Country Link
JP (1) JPH02210543A (en)

Similar Documents

Publication Publication Date Title
JPH02210543A (en) Data processor
JPS638971A (en) Polynomial vector arithmetic and control unit
JPH0962533A (en) Test circuit for single chip microprocessor
JP2982129B2 (en) Micro program controller
JPS6086625A (en) Data processing device
JP3117214B2 (en) Sequencer microprogram control method
JPS6020379A (en) Frame pointer control method
JP2737524B2 (en) Trace circuit
JPH0546389A (en) Parallel processor
JPH05127870A (en) Data processor
JPS6015969B2 (en) Microinstruction address generation method
JPH02153444A (en) Memory control circuit
JPS59129995A (en) Storage device
JPS60146333A (en) Designating method of memory area
JPS6258340A (en) Register updating mechanism
JPH07271630A (en) Register/memory switching control unit of microprocessor
JPH04137138A (en) Information processor
JPH0812600B2 (en) Parallel data processing control method
JPH02294829A (en) Memory operand takeout system
JPH0468439A (en) Information processor
JPS6024642A (en) Microprogram controlling system
JPH06259264A (en) Clock control circuit
JPH04305736A (en) Microprocessor
JPH0221333A (en) Address generating device
JPS58129657A (en) Controller for microprogram