JPS6288030A - Logic circuit - Google Patents
Logic circuitInfo
- Publication number
- JPS6288030A JPS6288030A JP60229245A JP22924585A JPS6288030A JP S6288030 A JPS6288030 A JP S6288030A JP 60229245 A JP60229245 A JP 60229245A JP 22924585 A JP22924585 A JP 22924585A JP S6288030 A JPS6288030 A JP S6288030A
- Authority
- JP
- Japan
- Prior art keywords
- register
- circuit
- state
- control
- signal
- 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
- 230000007704 transition Effects 0.000 claims abstract description 12
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 238000007562 laser obscuration time method Methods 0.000 description 1
Landscapes
- Executing Machine-Instructions (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は論理回路に関し、特に所要時間の異なる複数の
演算を待ち時間なく実行可能ならしめる論理回路に関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic circuit, and more particularly to a logic circuit that allows a plurality of operations requiring different times to be executed without waiting time.
従来の論理回路は第3図に示したように、データと演算
結果などを格納するレジスタ21及びこのレジスタの内
容を信号線201 ’e介して入力し、制御信号を制御
回路25から信号11i1203を介して入力すること
によって演算処理を行なう演算回路22を有する演算部
20と、状態レジスタ24並びに前記レジスタ21の内
容、状態レジスタ24の内容及び複数のクロックを入力
して前記レジスタ21、状態レジスタ24及び演算回路
22に制御信号を供給する制御回路25を有する制御部
23とを含み、前記状態レジスタ24に対しては、制御
状態の遷移に際して同期する信号として、複数のクロッ
クから一つ(第3図では214)を固定的に供給するよ
うに構成されてい友。第4図は第3図に示した従来の論
理回路の動作を示すタイムチヤードである。OLI〜C
L4は1単位時間ずつ位相の異なるクロックであり、(
a)は所要時間の異なる幾つかの演算を実行させた場合
の実行タイミングを示し、(ロ)は状態レジスタ24の
状態を示している。As shown in FIG. 3, the conventional logic circuit inputs a register 21 for storing data and operation results, the contents of this register through a signal line 201'e, and sends a control signal from a control circuit 25 to a signal 11i1203. an arithmetic unit 20 having an arithmetic circuit 22 that performs arithmetic processing by inputting data through a state register 24, the contents of the register 21, the contents of the state register 24, and a plurality of clocks; and a control unit 23 having a control circuit 25 that supplies a control signal to the arithmetic circuit 22.The state register 24 receives one clock (third 214) in the figure. FIG. 4 is a time chart showing the operation of the conventional logic circuit shown in FIG. OLI~C
L4 is a clock whose phase differs by one unit time, and (
(a) shows the execution timing when several operations with different required times are executed, and (b) shows the state of the status register 24.
(alに示した演算の意味を以下に例示する。(The meaning of the operation shown in al is illustrated below.
(1)CIR=BBUS : BBUSのデータt−C
IRK格納する。(1) CIR=BBUS: BBUS data t-C
Store IRK.
(2)X=OP1(BBUS、CIR): BBUSの
データ及びCIRのデータにOPIで指定される演算を
施し、結果t−Xに格納する。(2) X=OP1 (BBUS, CIR): Performs the operation specified by OPI on the BBUS data and CIR data, and stores the result in t-X.
(3) Y=OP2(BBUS、X、CIR) :
BBUSのデータ、Xのデータ及びCIRのデータにO
F2で指定される演算を施し、結果iYに格納する。(3) Y=OP2 (BBUS, X, CIR):
O to BBUS data, X data and CIR data
Perform the operation specified by F2 and store the result in iY.
talに示し比演算の所要時間は
CIR=BBU8 : 2単位時間01’
l :4単位時間UP2.OP3
.OP5 : 3単位時間UP4
: 5単位時間である。The time required for the ratio calculation shown in tal is CIR=BBU8: 2 unit time 01'
l: 4 credit hours UP2. OP3
.. OP5: 3 credit hours UP4
: 5 credit hours.
第4図に示したように、従来の論理回路においてもバス
BBUSの関与しない演算についてはOF2゜OF2
のように所要時間が4単位時間よシ短いあるいは長い
場合もそれぞれ状態がP3のときのCLl、状態がPO
のときのCL3で演算結果をラッチすることによって実
行可能だが、バスBBUSの関与する演算は、所要時間
が4単位時間未満であるものが含まれており、他の演算
との間にデータの依存関係がないにもかかわらず、クロ
ックCL4に同期して実行せざるを得ない。これはバス
の関与する演算はデータバスが変化するためKどの演算
を実行中であるかを示す信号を必要とするが、特定の演
算を実行中であることを示す信号は状態レジスタの内容
とレジスタ21の内容以外から生成することは困難であ
り、他方状態レジスタ24の内容はの)に示したように
常にクロックCL4 に同期して変化しているからに
他ならない。As shown in FIG. 4, even in conventional logic circuits, for operations that do not involve the bus BBUS, OF2°OF2
If the required time is shorter or longer than 4 unit hours, respectively, CLl when the state is P3 and PO when the state is P3.
It can be executed by latching the operation result in CL3 when Even though there is no relationship, it has to be executed in synchronization with clock CL4. This is because operations involving the bus change the data bus, so a signal indicating which operation is being executed is required, but the signal indicating that a specific operation is being executed is based on the contents of the status register. It is difficult to generate it from anything other than the contents of the register 21, and this is because the contents of the status register 24 always change in synchronization with the clock CL4 as shown in (a).
本発明はこのような従来技術の欠点を除去せしめてレジ
スタ及び演算回路を有する演算部とこれらによる演算処
理を制御する制御部とを有する論理回路において所要時
間の異なる複数の演算を待ち時間なく実行可能ならしめ
るtめに必要な手段を提供することにある。The present invention eliminates the drawbacks of the prior art and executes multiple operations with different required times without waiting time in a logic circuit having an operation section having registers and an operation circuit, and a control section that controls the operation processing by these. The purpose is to provide the necessary means to make this possible.
本発明によればデータと演算結果などを格納するレジス
タ及びこのレジスタの内容に関する演算処理を行なう演
算回路を有する演算部と、状態レジスタ並びに該状態レ
ジスタの内容、前記レジスタの内容及び複数のクロック
を入力して前記レジスタ、前記状態レジスタ及び演算回
路に制御信号を供給する制御回路を有する制御部とを含
み、前記制御回路が、前記レジスタの内容及び前記状態
レジスタの内容に従って、前記状態レジスタに対し、制
御状態の遷移に際して同期する信号として、複数のクロ
ックから一つを動的に選択して供給するように構成した
ことを特徴とする論理回路が得られる。According to the present invention, there is provided an arithmetic unit having a register for storing data and operation results, an arithmetic circuit for performing arithmetic processing on the contents of this register, a status register, the contents of the status register, the contents of the register, and a plurality of clocks. a control unit having a control circuit that inputs and supplies control signals to the register, the state register, and an arithmetic circuit, the control circuit controlling the state register according to the contents of the register and the contents of the state register. , there is obtained a logic circuit characterized in that it is configured to dynamically select and supply one of a plurality of clocks as a signal synchronized at the time of transition of a control state.
次に本発明の実施例について図面を参照して詳細に説明
する。Next, embodiments of the present invention will be described in detail with reference to the drawings.
第1図は本発明の一実施例を示すブロック図である。第
1図に示し九本発明の一実施例は、データと演算結果な
どを格納するレジスタ11及びこのレジスタの内容を信
号線101ヲ介して入力し、制御信号を制御回路15か
ら信号線103を介して入力することによって演算処理
を行なう演算回路12t−有する演算部10と、状態レ
ジスタ14並びに前記レジスタ11の内容、状態レジス
タ14の内容及び複数のクロックを入力して前記レジス
タ11、状態レジスタ14及び演算回路12に制御信号
を供給する制御回路15t−有する制御部13とを含み
、前記状態レジスタ14に対しては、制御状態の遷移に
際して同期する信号として、複数のクロックから一つを
動的に選択して供給するよう構成される論理回路である
。レジスタ11はデータと演算結果などを格納する複数
のレジスタからなるレジスタアレイで、制御回路15か
ら信号線102ヲ介してレジスタアレイを構成する個々
のレジスタに対する同期信号を受は取シ、信号線105
ヲ介して演算回路12の出力を受は取ってこれを格納し
、演算回路12に信号線101ヲ介してその出力を供給
し、更に制御回路15に信号線106全介してその出力
を供給するよう構成されている。FIG. 1 is a block diagram showing one embodiment of the present invention. In the embodiment of the present invention shown in FIG. 1, a register 11 for storing data and calculation results, the contents of this register are inputted via a signal line 101, and a control signal is sent from a control circuit 15 to a signal line 103. An arithmetic unit 10 having an arithmetic circuit 12t which performs arithmetic processing by inputting data through a state register 14, the contents of the register 11, the contents of the state register 14, and a plurality of clocks. and a control circuit 15t that supplies a control signal to the arithmetic circuit 12.The state register 14 dynamically receives one of the plurality of clocks as a signal to synchronize with the transition of the control state. This is a logic circuit configured to selectively supply the following information. The register 11 is a register array consisting of a plurality of registers for storing data, calculation results, etc., and receives and receives synchronization signals from the control circuit 15 to the individual registers that make up the register array via a signal line 102.
It receives and stores the output of the arithmetic circuit 12 through the signal line 101, supplies the output to the arithmetic circuit 12 through the signal line 101, and further supplies the output to the control circuit 15 through the signal line 106. It is configured like this.
演算回路12は複数の組み合わせ論理回路からなる組み
合わせ論理回路プレイでレジスタ11から信号線101
ffi介してその出力全党は取シ、ま九制御回路15
から信号線103t−介して組み合わせ論理回路アレイ
を構成する個々の組み合わせ論理回路が行なう演算の内
容を定める信号を受は取って演算処理全実行し、この結
果を信号線105を介してレジスタ11に出力するよう
構成されている。The arithmetic circuit 12 is a combinational logic circuit play consisting of a plurality of combinational logic circuits, and is connected from the register 11 to the signal line 101.
The entire output is taken through the ffi, and the nine control circuits 15
The signal that determines the content of the calculation to be performed by each combinational logic circuit constituting the combinational logic circuit array is received via the signal line 103t from the combinatorial logic circuit array, and the result is sent to the register 11 via the signal line 105. is configured to output.
状態レジスタ14は制御回路15から信号線104を介
して制御状態の遷移先金定める信号及び信号線107全
介して制御状態の遷移を同期させるクロック信号を受は
取って定められ九制御状態の遷移を行ない、この結果を
制御回路15に供給するよう構成されている。制御回路
15は状態レジスタ14から入力した制御状態とレジス
タ1工から信号線106を介して入力した演算結果など
とから、信号線111−114で入力したクロックCL
I〜4によって、レジスタ11へ信号線102ヲ介して
個々の組み合わせ論理回路に対する演算の内容を定める
信号、状態レジスタ14に信号線104ft介して制御
状態の遷移先を指定する信号及び状態レジスタ14に信
号線107を介して制御状態の遷移を同期させるクロッ
クをそれぞれ供給するよう構成されている。The state register 14 receives a signal from the control circuit 15 via the signal line 104 to determine the transition destination of the control state, and a clock signal to synchronize the transition of the control state via the signal line 107. It is configured to perform this and supply the result to the control circuit 15. The control circuit 15 uses the control state input from the status register 14 and the calculation result input from the register 1 via the signal line 106 to determine the clock CL input via the signal lines 111-114.
I to 4 send a signal to the register 11 via the signal line 102 to determine the content of the operation for each combinational logic circuit, a signal to the state register 14 via the signal line 104ft to specify the transition destination of the control state, and a signal to the state register 14 via the signal line 104ft. They are configured to supply clocks for synchronizing control state transitions via signal lines 107, respectively.
第2図は本発明の一実施例の動作を示すタイムチャート
である。CLI〜CL4は1単位時間ずつ位相の異なる
りaツクであり、(a)は所要時間の異なる幾つかの演
算を実行させた場合の実行タイミングを示し、(b)は
状態レジスタ14の状態を示している。FIG. 2 is a time chart showing the operation of one embodiment of the present invention. CLI to CL4 have different phases for each unit time, and (a) shows the execution timing when several operations with different required times are executed, and (b) shows the state of the status register 14. It shows.
fatに示した演算の意味を以下に例示する。The meaning of the operation shown in fat is illustrated below.
(1)CI凡=BBUS : BBU、SのデータをC
IRに格納する。(1) CI = BBUS: BBU, S data to C
Store in IR.
(2) X = UPI (BBUS 、 CIR)
: BBUSのデータ及びCIHのデータにUPI
で指定される演算を施し、結果t−Xに格納する。(2) X = UPI (BBUS, CIR)
: UPI for BBUS data and CIH data
Performs the operation specified by and stores the result in t-X.
(3) Y = OF2 (BBUS、X、CIR)
: BBU8のデータ、Xのデータ及びCIRのデー
タにOF2で指定される演算を施し、結果iYに格納す
る。(3) Y = OF2 (BBUS, X, CIR)
: Perform the operation specified by OF2 on the data of BBU8, the data of X, and the data of CIR, and store the result in iY.
(alに示した演算の所要時間はI
CI凡=BBUS :2単位時間OPI
: 4単位時間OP2.OP3.OP
5 : 3単位時間OP4
: 5単位時間である。(The time required for the calculation shown in al is I CI = BBUS: 2 unit time OPI
: 4 credit hours OP2. OP3. OP
5: 3 credit hours OP4
: 5 credit hours.
第2図において最初にCIR−BBUSの演算が実行さ
れる。ここで状態レジスタ14の内容は(b)に示した
ようにPOであり、この演算は2単位時間で終了する。In FIG. 2, the CIR-BBUS calculation is first performed. Here, the contents of the status register 14 are PO as shown in (b), and this operation is completed in 2 units of time.
このとき制御回路15は状態レジスタ14の内容とレジ
スタ11の内容とからその出力の信号線107に、クロ
ックCL4から2単位時間離れ几クロックであるCL2
k選択して状態レジスタ14に供給する。これによ
シ前記の演算に必要な最小の単位時間経過後に状態レジ
スタ14の制御状態をPOからPlに遷移させることが
できる。同様に状態P1でX=OP1(BBUS、CI
R)の演算を実行させたときもCL2 、状態P2でY
=OP2 (BBUS、X、CIR)の演算全実行させ
友ときはCLI、状態P3でZ=OP3 (BBU8
、 Y 。At this time, the control circuit 15 uses the contents of the status register 14 and the contents of the register 11 to output the signal line 107 to the output signal line 107, which is the clock CL2, which is two units of time apart from the clock CL4.
k is selected and supplied to the status register 14. This allows the control state of the state register 14 to be transitioned from PO to Pl after the minimum unit time required for the above calculation has elapsed. Similarly, in state P1, X=OP1(BBUS, CI
When executing the operation R), CL2 also returns Y in state P2.
= OP2 (BBUS,
,Y.
CIR)の演算を実行させたときはCL4に同期させて
状態レジスタ140制御状態全遷移させる。CIR), all control states of the state register 140 are changed in synchronization with CL4.
このように本発明は制御回路15が信号線107ヲ介し
て状態レジスタ14に供給する制御状態の遷移を同期さ
せるクロック信号を状態レジスタ14の内容及びレジス
タ11の内容に従うて、クロックCLI〜CL4の一つ
を動的に選択して供給するように構成している。As described above, in the present invention, the control circuit 15 synchronizes the transition of the control state that the control circuit 15 supplies to the state register 14 via the signal line 107 according to the contents of the state register 14 and the register 11, so that the clock signals CLI to CL4 are synchronized. The configuration is such that one is dynamically selected and supplied.
これによってバスの関与する演算はデータバスが変化す
るためKどの演算を実行中であるかを示゛す信号を必要
とし、他方特定の演算を実行中であることを示す信号は
状態レジスタ14の内容と前記レジスタ11の内容とか
ら生成するにもかかわらず、制御状態の遷移が異なる適
尚な時間間隔で行なわれるtめに所要時間の異なる複数
の演算を待ち時間なく実行させることが可能となる。As a result, operations involving the bus require a signal indicating which operation is being executed since the data bus changes, while a signal indicating that a specific operation is being executed is sent to the status register 14. Despite being generated from the contents of the register 11 and the contents of the register 11, it is possible to execute multiple operations with different required times without waiting time because the control state transitions are performed at different appropriate time intervals. Become.
以上述べたように本発明はレジスタ及び演算回路を有す
る演算部とこれらによる演算処理を制御する制御部とを
有する論理回路において、制御部の状態レジスタに対し
、制御状態の遷移に際して同期する信号として、複数の
クロックから一つを動的に選択して供給するように構成
することによって所要時間の異なる複数の演算を待ち時
間なく実行可能ならしめ、高速な処理が実現できるとい
う効果がある。As described above, the present invention provides a logic circuit having an arithmetic unit having registers and an arithmetic circuit, and a control unit that controls arithmetic processing by these, as a signal that is synchronized with the state register of the control unit when the control state transitions. By configuring the system to dynamically select and supply one clock from a plurality of clocks, it is possible to execute a plurality of operations with different required times without waiting time, thereby realizing high-speed processing.
第1図は本発明の一実施例を示すブロック図、第2図は
本発明の一実施例の動作を示すタイムチャート、第3図
は従来の論理回路を示すブロック図、第4図は従来の論
理回路の動作を示すタイムチャートである。10・・・
・・・演算部、11・・・・・・レジスタ、12・・・
・・・演算回路、13・・・・・・制御部、14・・・
・・・状態レジスタ、15・・・・・・制御回路、10
1〜107・・・・・・信号線、111〜114・・・
・・・信号線。
代理人 弁理士 内 原 晋 、w+ ?IJ
rつ寸
%I −1−1−1已 之u
CJ (J cp
−Nrつす
JJJ
(J(Jす0FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a time chart showing the operation of an embodiment of the present invention, FIG. 3 is a block diagram showing a conventional logic circuit, and FIG. 4 is a conventional logic circuit. 3 is a time chart showing the operation of the logic circuit of FIG. 10...
...Arithmetic unit, 11...Register, 12...
... Arithmetic circuit, 13... Control section, 14...
...Status register, 15...Control circuit, 10
1-107...Signal line, 111-114...
···Signal line. Agent: Susumu Uchihara, patent attorney, w+? I.J.
r -1-1-1㾲》u
CJ (J cp -NrtsusuJJJ (J(Jsu0
Claims (1)
スタの内容に関する演算処理を行なう演算回路を有する
演算部と、状態レジスタ並びに該状態レジスタの内容、
前記レジスタの内容及び複数のクロックを入力して前記
レジスタ、前記状態レジスタ及び演算回路に制御信号を
供給する制御回路を有する制御部とを含み、前記制御回
路が、前記レジスタの内容及び前記状態レジスタの内容
に従って、前記状態レジスタに対し、制御状態の遷移に
際して同期する信号として、複数のクロックから一つを
動的に選択して供給するように構成したことを特徴とす
る論理回路。an arithmetic unit having a register for storing data, arithmetic results, etc., and an arithmetic circuit for performing arithmetic processing on the contents of this register; a status register; and the contents of the status register;
a control unit having a control circuit that inputs the contents of the register and a plurality of clocks and supplies control signals to the register, the status register, and the arithmetic circuit, the control circuit inputting the contents of the register and the status register; 1. A logic circuit configured to dynamically select one of a plurality of clocks and supply it to the state register as a signal synchronized with a transition of a control state according to the content of the logic circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60229245A JPS6288030A (en) | 1985-10-14 | 1985-10-14 | Logic circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60229245A JPS6288030A (en) | 1985-10-14 | 1985-10-14 | Logic circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6288030A true JPS6288030A (en) | 1987-04-22 |
Family
ID=16889089
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60229245A Pending JPS6288030A (en) | 1985-10-14 | 1985-10-14 | Logic circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6288030A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63196738U (en) * | 1987-06-09 | 1988-12-19 |
-
1985
- 1985-10-14 JP JP60229245A patent/JPS6288030A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63196738U (en) * | 1987-06-09 | 1988-12-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2688166B2 (en) | Apparatus and method for managing asynchronous events in a finite state machine | |
| US4419739A (en) | Decentralized generation of synchronized clock control signals having dynamically selectable periods | |
| US4851995A (en) | Programmable variable-cycle clock circuit for skew-tolerant array processor architecture | |
| JPH06318123A (en) | Semiconductor integrated circuit | |
| JPS6288030A (en) | Logic circuit | |
| US5752061A (en) | Arrangement of data processing system having plural arithmetic logic circuits | |
| JP2924736B2 (en) | Pipeline arithmetic unit | |
| JP3429790B2 (en) | Time sharing control device for common bus | |
| JPS648369B2 (en) | ||
| US6552590B2 (en) | Clocking scheme for ASIC | |
| JPH01217278A (en) | Integrated circuit | |
| JP2545986B2 (en) | Logical path multiplexing method | |
| JP2541697B2 (en) | Pipeline arithmetic unit | |
| JPH04123610A (en) | Timing pulse generating circuit | |
| JPS62191910A (en) | Clock control system | |
| JPH09145802A (en) | Pattern generating circuit | |
| JPS63201725A (en) | Signal processing circuit | |
| JPH0473165B2 (en) | ||
| JPH05101198A (en) | Microcomputer | |
| JPH0473166B2 (en) | ||
| JPS59103143A (en) | Multiplexed arithmetic system | |
| JPS60128539A (en) | Scan in/out control circuit | |
| JPS5856117A (en) | Control circuit for timing signal generation | |
| JPH04153716A (en) | Bus control circuit | |
| JPS6117031B2 (en) |