Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0364886B2 - - Google Patents
[go: Go Back, main page]

JPH0364886B2 - - Google Patents

Info

Publication number
JPH0364886B2
JPH0364886B2 JP60249318A JP24931885A JPH0364886B2 JP H0364886 B2 JPH0364886 B2 JP H0364886B2 JP 60249318 A JP60249318 A JP 60249318A JP 24931885 A JP24931885 A JP 24931885A JP H0364886 B2 JPH0364886 B2 JP H0364886B2
Authority
JP
Japan
Prior art keywords
adder
register
calculation
parity check
bits
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.)
Expired - Lifetime
Application number
JP60249318A
Other languages
Japanese (ja)
Other versions
JPS62108343A (en
Inventor
Yukinori Matsukawa
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 JP60249318A priority Critical patent/JPS62108343A/en
Publication of JPS62108343A publication Critical patent/JPS62108343A/en
Publication of JPH0364886B2 publication Critical patent/JPH0364886B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔概要〕 加算演算の高速化方式であつて、アダーに入力
する所定ビツト数からなる複数入力を加算演算
し、その上位ビツト部分の途中結果を取出し、以
降の上位ビツト部分の演算を別の演算部で処理
し、チエツクすることにより、前記入力の加算演
算処理での上位ビツト部分と下位ビツト部分との
間の伝播時間のバランスが取れ、クロツクのサイ
クルを縮めることが可能となる。
[Detailed Description of the Invention] [Summary] This is a method for accelerating addition operations, in which multiple inputs consisting of a predetermined number of bits are added to the adder, the intermediate result of the upper bit part is taken out, and the subsequent upper bits are By processing and checking the partial operation in a separate operation unit, the propagation time between the upper bit part and the lower bit part in the addition operation processing of the input can be balanced, and the clock cycle can be shortened. It becomes possible.

〔産業上の利用分野〕[Industrial application field]

本発明は、アダーを含む加算演算回路に関し、
例えばDAT(動的アドレス変換)コマンドにより
仮想アドレスを実行アドレスに変換する方式にお
いて、前記アダーの高速化を図る加算演算の処理
方式に関する。
The present invention relates to an addition operation circuit including an adder,
For example, the present invention relates to an addition operation processing method for speeding up the adder in a method for converting a virtual address into an execution address using a DAT (dynamic address translation) command.

情報処理システムの1つの方式として仮想記憶
方式があり、これは記憶装置の実アドレスの生成
を、DAT(動的アドレス変換)コマンド実行中に
仮想アドレスを演算回路等を使用して実アドレス
に変換して生成する方式である。
One method for information processing systems is the virtual storage method, which converts the virtual address into a real address using an arithmetic circuit while executing a DAT (dynamic address translation) command. This method generates the

上記方式を動的アドレス変換(以下ダツト
(DAT)と称する)と言い、これはダツト
(DAT)コマンドにより実行される。即ち、実ア
ドレスへの変換はアダーを含む加算演算回路に仮
想アドレスに相当する数十ビツトからなる複数入
力を演算すると共に、そのパリテイチエツクを行
うことにより行われる。
The above method is called dynamic address translation (hereinafter referred to as DAT), and is executed by a DAT command. That is, conversion to a real address is performed by operating a plurality of inputs consisting of several tens of bits corresponding to a virtual address in an addition operation circuit including an adder, and performing a parity check on the inputs.

かかる変換が正確にしかも高速に行われること
が情報処理システムの高速化を果たす上で重要な
要因となる。
Accurate and high-speed conversion is an important factor in speeding up information processing systems.

〔従来の技術〕[Conventional technology]

第3図は従来例を説明するブロツク図、第4図
は従来例の動作を説明する図をそれぞれ示す。
FIG. 3 is a block diagram for explaining the conventional example, and FIG. 4 is a diagram for explaining the operation of the conventional example.

第3図は上位の装置又は上位のプログラムから
のダツト(DAT)コマンドにより入力するデー
タに基づき実アドレスに変換する回路のブロツク
図を示すもので、 ダツト(DAT)コマンド発行以外の場合に上
位より指定されるアドレスを格納するレジスタC
1と、 ダツト(DAT)コマンド発行時に入力する複
数入力,を加算演算して所定データとパリテ
イを生成するアダー2と、 通常はレジスタC1側に向き、アダーセレクト
レジスタ((AS1)7にフラグが立つた場合はア
ダー2側に接続されるマルチプレクサ(以下
MPXと称する)3と、 MPX3からの出力を格納し、それをパリテイ
チエツク部5に出力するレジススタD4と、 レジスタD4の出力のパリテイとアダー入力デ
ータから予測したパリテイとの比較によりチエツ
クを行うパリテイチエツク部5と、 パリテイチエツク部5でチエツクされたレジス
タD4の内容を格納して所定メモリ(図示してな
い)のアドレスとして出力するレジスタE6
と、 ダツト(DAT)コマンドによりフラグを立て、
MPX3をアダー2側に切替えるアダーセレクト
レジスタ(AS1)7とから構成されている。尚、
本例では入力、共に32ビツトのデータと4ビ
ツトのパリテイからなるものとする。
Figure 3 shows a block diagram of a circuit that converts data into a real address based on data input by a DAT command from a higher-level device or a higher-level program. Register C that stores the specified address
1 and the multiple inputs input when issuing the DAT command to generate predetermined data and parity.Adder 2 normally faces register C1 and has a flag in adder select register ((AS1)7. If it is connected to the adder 2 side, the multiplexer (below
A register D4 stores the output from MPX3 and outputs it to the parity check unit 5. Checks are performed by comparing the parity of the output of the register D4 with the parity predicted from the adder input data. a parity check section 5; and a register E6 that stores the contents of the register D4 checked by the parity check section 5 and outputs it as an address of a predetermined memory (not shown).
and set a flag with the DAT command,
It consists of an adder select register (AS1) 7 that switches the MPX3 to the adder 2 side. still,
In this example, it is assumed that both inputs consist of 32-bit data and 4-bit parity.

第4図はアダーセレクトレジスタ(AS1)7に
フラグが立つた場合の動作図を示す。
FIG. 4 shows an operation diagram when a flag is set in the adder select register (AS1) 7.

即ち、ダツト(DAT)コマンドによりアダー
セレクトレジスタ(AS1)7にフラグが立つと、
MPX3はそれまでのレジスタC1側への接続を
アダー2側に切替える。
That is, when a flag is set in the adder select register (AS1) 7 by the DAT command,
MPX3 switches the connection to the register C1 side to the adder 2 side.

この時、アダー2は入力,の加算演算を行
い、その結果生成された所定データとパリテイと
をMPX3を通じてレジスタD4に所定クロツク
に同期して格納する。レジスタD4に格納された
所定データとパリテイとが出力されると、パリテ
イチエツク部5でパリテイを用いて所定データの
正常性のチエツクを行い、チエツク後のデータを
レジスタE6に格納する。
At this time, the adder 2 performs an addition operation on the input, and stores the predetermined data and parity generated as a result in the register D4 through the MPX3 in synchronization with a predetermined clock. When the predetermined data and parity stored in the register D4 are output, the parity check section 5 checks the normality of the predetermined data using the parity, and stores the checked data in the register E6.

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

上述のように、アダー2に入力する仮想アドレ
スを演算して、実アドレスへの変換を行う場合、
演算結果のチエツクにはそれ程時間を要しない
が、アダー2での加算処理時は桁上げの伝播時間
がかかるため、下位ビツト部分は早く、上位ビツ
トになる程遅く確定する。
As mentioned above, when calculating the virtual address input to adder 2 and converting it to a real address,
Although it does not take much time to check the result of an operation, since it takes time to propagate a carry during the addition process in adder 2, the lower bits are determined faster and the higher bits are determined later.

一方、レジスタD4にセツトするためのクロツ
クの周期は最長の回路伝播時間に合わせる必要が
あり、アダー2の最上位ビツトが確定するまでに
要する時間以下に縮めことが出来ないため、特に
アドレスのビツト数が多くなつている最近の装置
において、加算演算処理の高速化に制限が加えら
れると言う問題点がある。
On the other hand, the cycle of the clock for setting register D4 must match the longest circuit propagation time, and cannot be shortened to less than the time required for the most significant bit of adder 2 to be determined. In recent devices, which are increasing in number, there is a problem in that there is a limit to the speeding up of addition operation processing.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の実施例を説明するブロツク図
を示す。
FIG. 1 shows a block diagram illustrating an embodiment of the invention.

本実施例のブロツク図は第3図で説明したレジ
スタC1、アダー2、MPX3、レジスタD4、
パリテイチエツク部5、レジスタE6及びアダー
セレクトレジスタ(AS1)7と、 MPX12の接続切替え制御を行うアダーセレ
クトレジスタ(AS2)8と、 アダー2の途中結果データ(例えば、上位の
16ビツト)を格納するレジスタS9と、 レジスタS9に格納した上位ビツト部分の加算
演算を行う演算部10と、 演算部10の演算結果のパリテイチエツクを行
うパリテイチエツク部11と、 通常はレジスタD4側に接続されており、アダ
ーセレクトレジスタ(AS2)8の制御によりパリ
テイチエツク部11側に切替えるMPX12とか
ら構成されている。
The block diagram of this embodiment shows the register C1, adder 2, MPX3, register D4, and
Parity check unit 5, register E6, adder select register (AS1) 7, adder select register (AS2) 8 that controls connection switching of MPX12, intermediate result data of adder 2 (for example, upper
16 bits), an arithmetic section 10 that performs an addition operation on the upper bit part stored in the register S9, and a parity check section 11 that performs a parity check on the operation result of the arithmetic section 10. The MPX 12 is connected to the D4 side and is switched to the parity check section 11 side under the control of the adder select register (AS2) 8.

尚、パリテイチエツク部5はレジスタE6に格
納しているデータのパリテイチエツクを行うよう
に構成されている。
Note that the parity check section 5 is configured to perform a parity check on the data stored in the register E6.

〔作用〕[Effect]

アダーに入力する所定ビツト数からなる複数入
力を加算演算し、早く確定する下位ビツト部分は
最終結果をレジスタDに格納し、確定が遅くなる
全ビツト数の中位以上の上位ビツト部分の途中結
果をレジスタSに一旦格納し、それを別の演算部
に送り、次のクロツクサイクルで残りの演算とパ
リテイチエツクを行うように構成することによ
り、レジスタ間の伝播時間のバランスが取れ、ク
ロツクのサイクルを縮めることが可能となる。
Addition operations are performed on multiple inputs consisting of a predetermined number of bits input to the adder, and the final result is stored in register D for the lower bit part that is determined quickly, and the intermediate result of the upper bit part that is more than the middle of the total number of bits that is determined later. By storing it in register S once, sending it to another arithmetic unit, and performing a parity check with the remaining operations in the next clock cycle, the propagation time between registers can be balanced, and the clock This makes it possible to shorten the cycle.

〔実施例〕〔Example〕

以下本発明の要旨を第1図、第2図に示す実施
例により具体的に説明する。
The gist of the present invention will be specifically explained below with reference to embodiments shown in FIGS. 1 and 2.

第2図は本発明の実施例における動作を説明す
る図を示す。尚、全図を通じて同一符号は同一対
象物を示す。
FIG. 2 shows a diagram explaining the operation in the embodiment of the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

例えば、32ビツトからなる入力,がアダー
2に入力し、その演算の途中結果である中位ビツ
ト以上からなる上位ビツト部分及び桁上げ操作の
ためのキヤリールツクアヘツド(CLA)の出力
をレジスタS9に取出し保持する。
For example, an input consisting of 32 bits is input to the adder 2, and the upper bit part consisting of middle bits and above, which is the intermediate result of the operation, and the output of the carrier read head (CLA) for carry operation are registered. It is taken out and held in S9.

この時はダツト(DAT)コマンドが発行され
ており、アダーセレクトレジスタ(AS1)7には
フラグが立ちMPX3はアダー2側に切替えられ
ているものとする。尚、MPX3はレジスタC1
を選択する時は32ビツト、アダー2の中位ビツト
以下からなる下位ビツト部分のみ選択する時は16
ビツトのみ選択することとなる。
At this time, it is assumed that the DAT command has been issued, a flag has been set in the adder select register (AS1) 7, and the MPX3 has been switched to the adder 2 side. Furthermore, MPX3 is register C1.
32 bits when selecting , 16 when selecting only the lower bit part consisting of the middle bit of adder 2 and below
Only the bits will be selected.

又、後述するMPX12は、レジスタC1を選
択する時はレジスタD4からの32ビツトを選択
し、アダー2側選択の時はMPX3からの16ビツ
トとパリテイチエツク部11からの16ビツトとを
連結して選択するものである。
Also, MPX12, which will be described later, selects 32 bits from register D4 when selecting register C1, and concatenates 16 bits from MPX3 and 16 bits from parity check section 11 when selecting the adder 2 side. The selection is made based on the

次のサイクルにおいて、前サイクルのアダーセ
レクトレジスタ(AS1)7の値がシフトされ、ア
ダーセレクトレジスタ(AS2)8にフラグが立
ち、MPX12をパリテイチエツク部11側へ切
替える。
In the next cycle, the value of the adder select register (AS1) 7 of the previous cycle is shifted, a flag is set in the adder select register (AS2) 8, and the MPX 12 is switched to the parity check section 11 side.

このサイクルでは、レジスタS9に保持してい
る上位ビツト部分(16ビツト)に対する残りの
加算処理を演算部10で行い、パリテイチエツク
部11でチエツクした結果をMPX12を通じて
レジスタE6に格納する。
In this cycle, the remaining addition processing for the upper bit portion (16 bits) held in the register S9 is performed by the arithmetic unit 10, and the result checked by the parity check unit 11 is stored in the register E6 via MPX12.

パリテイチエツク部11でのチエツクはMPX
3,12を含まない加算部分だけのチエツクを行
い、次に、レジスタE6に格納した内容はパリテ
イチエツク部5でMPX3,12を含めたパリテ
イチエツクを行い、例えば実アドレスとして送
出される。
The check in parity check section 11 is MPX.
Only the addition part excluding MPX3 and MPX12 is checked, and then the contents stored in the register E6 are parity checked in the parity check section 5 including MPX3 and MPX12, and then sent out as, for example, a real address.

又、アダー2に入力,が入力してからレジ
スタE6に格納するまでのタイミングは第3図に
示すブロツク図の場合と変わらないが、計算の途
中結果をレジスタS9に取出し保持することによ
り、レジスタD4、レジスタS9間の伝播時間の
バランスが取れ、クロツクのサイクル自体も縮め
ることが可能となつた。
Also, the timing from when input is input to adder 2 until it is stored in register E6 is the same as in the block diagram shown in FIG. The propagation time between D4 and register S9 is balanced, and the clock cycle itself can be shortened.

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

以上のような本発明によれば、アダー部分で桁
上げ伝播時間が遅く確定し、サイクルタイムオー
バが発生する状態が解消され、前記サイクルタイ
ム自体の短縮化が出来ると言う効果がある。
According to the present invention as described above, the carry propagation time is determined late in the adder portion, and the situation where cycle time over occurs is eliminated, and the cycle time itself can be shortened.

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

第1図は本発明の実施例を説明するブロツク
図、第2図は本発明の実施例における動作を説明
する図、第3図は従来例を説明するブロツク図、
第4図は従来例の動作を説明する図、をそれぞれ
示す。 図において、1はレジスタC、2はアダー、
3,12はMPX、4はレジスタD、5,11は
パリテイチエツク部、6はレジスタE、7はアダ
ーセレクトレジスタ(AS1)、8はアダーセレク
トレジスタ(AS2)、9はレジスタS、10は演
算部、をそれぞれ示す。
FIG. 1 is a block diagram for explaining an embodiment of the present invention, FIG. 2 is a diagram for explaining the operation of the embodiment of the present invention, and FIG. 3 is a block diagram for explaining a conventional example.
FIG. 4 shows diagrams explaining the operation of the conventional example. In the figure, 1 is register C, 2 is adder,
3 and 12 are MPX, 4 is register D, 5 and 11 are parity check sections, 6 is register E, 7 is adder select register (AS1), 8 is adder select register (AS2), 9 is register S, 10 is The arithmetic units are shown respectively.

Claims (1)

【特許請求の範囲】 1 所定ビツト数からなる入力(,)を加算
演算するアダー2と、前記アダー2の演算結果を
パリテイチエツクするパリテイチエツク部を具備
する加算演算回路において、 前記アダー2での所定上位ビツト部分について
の演算途中結果を格納する格納手段9と、 前記アダー2での残りの下位ビツト部分につい
ての演算結果を格納する手段4と、 前記格納手段9に格納したデータに対しての演
算を行う演算手段10と、 前記演算手段10での演算結果のパリテイチエ
ツクを行うパリテイチエツク手段11と、 前記パリテイチエツク手段11からのチエツク
済みの演算結果上位部分と前記格納手段4からの
演算結果下位部分とを連結して取出す選択手段1
2とを設け、 前記アダー2での下位ビツト部分についての演
算及び上位ビツト部分についての途中までの演算
を1サイクルで行い、上記上位ビツト部分につい
ての残りの演算とその上位ビツト部分演算結果に
ついてのパリテイチエツクとを次の1サイクルで
行うようにしたことを特徴とする加算演算処理方
式。
[Scope of Claims] 1. An addition operation circuit comprising an adder 2 that performs an addition operation on inputs (,) consisting of a predetermined number of bits, and a parity check section that parity-checks the operation result of the adder 2, wherein the adder 2 storage means 9 for storing the intermediate calculation results for a predetermined upper bit part in the adder 2; means 4 for storing the calculation results for the remaining lower bit parts in the adder 2; a calculation means 10 for performing all calculations; a parity check means 11 for performing a parity check on the calculation results of the calculation means 10; and a high-order part of the checked calculation results from the parity check means 11 and the storage means. Selection means 1 for concatenating and extracting the lower part of the calculation result from 4.
2 is provided, and the calculation for the lower bit part and the calculation for the upper bit part in the adder 2 up to the middle are performed in one cycle, and the remaining calculation for the upper bit part and the calculation result for the upper bit part are performed in one cycle. An addition calculation processing method characterized in that a parity check is performed in the next cycle.
JP60249318A 1985-11-07 1985-11-07 Additive arithmetic processing system Granted JPS62108343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60249318A JPS62108343A (en) 1985-11-07 1985-11-07 Additive arithmetic processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60249318A JPS62108343A (en) 1985-11-07 1985-11-07 Additive arithmetic processing system

Publications (2)

Publication Number Publication Date
JPS62108343A JPS62108343A (en) 1987-05-19
JPH0364886B2 true JPH0364886B2 (en) 1991-10-08

Family

ID=17191211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60249318A Granted JPS62108343A (en) 1985-11-07 1985-11-07 Additive arithmetic processing system

Country Status (1)

Country Link
JP (1) JPS62108343A (en)

Also Published As

Publication number Publication date
JPS62108343A (en) 1987-05-19

Similar Documents

Publication Publication Date Title
EP0208870B1 (en) Vector data processor
JPS59117666A (en) Vector processor
JPH0248931B2 (en)
US5226135A (en) Method for sorting vector data on the basis of partial vectors and vector processor
EP0240606A2 (en) Pipe-line processing system and microprocessor using the system
JPH0364886B2 (en)
JP2812610B2 (en) Pipeline control method
JPS60211554A (en) Data processing unit
JP2982129B2 (en) Micro program controller
JP2583614B2 (en) Vector arithmetic unit
JP2771912B2 (en) Arithmetic control method of vector arithmetic processing unit
JPS6015969B2 (en) Microinstruction address generation method
JPS6279519A (en) General-use register reading method
JPH0218732B2 (en)
JPS6126089B2 (en)
JPH0792902A (en) Programmable controller
JPS6028014B2 (en) microprocessor
JPS6226729B2 (en)
JPS62147545A (en) Transfer command processing method in information processing equipment
JPS59116856A (en) Processing system for microprogram control data
JPH0520063A (en) Address calculation device for integrated circuit microprocessor
JPH0412491B2 (en)
JPS63158608A (en) Quick arithmetic processing system for sequencer
JPS6210733A (en) Adding control system
JPH02217924A (en) Store processing method of data processing device