JPS61101837A - Arithmetic unit - Google Patents

Arithmetic unit

Info

Publication number
JPS61101837A
JPS61101837A JP59222264A JP22226484A JPS61101837A JP S61101837 A JPS61101837 A JP S61101837A JP 59222264 A JP59222264 A JP 59222264A JP 22226484 A JP22226484 A JP 22226484A JP S61101837 A JPS61101837 A JP S61101837A
Authority
JP
Japan
Prior art keywords
address
circuit
arithmetic unit
arithmetic
chip
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.)
Granted
Application number
JP59222264A
Other languages
Japanese (ja)
Other versions
JPH0310974B2 (en
Inventor
Fumiaki Ishino
文明 石野
Yoshitaka Ito
芳孝 伊藤
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP59222264A priority Critical patent/JPS61101837A/en
Publication of JPS61101837A publication Critical patent/JPS61101837A/en
Publication of JPH0310974B2 publication Critical patent/JPH0310974B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/26Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
    • G06F9/262Arrangements for next microinstruction selection
    • G06F9/268Microinstruction selection not based on processing results, e.g. interrupt, patch, first cycle store, diagnostic programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To decrease the number of chips of an arithmetic unit and to improve the general-purpose applications by applying an execution address of a microinstruction built in an integrated circuit chip from the outside of the chip to execute various kinds of arithmetic with free combination of external instructions. CONSTITUTION:Before the arithmetic unit 1 subjected to chip integration starts arithmetic a control circuit 12 switches a selector 11 via a control line 14 to supply and set a signal from a control line 13 to an address memory circuit 6. Further a head address of the address stored in the circuit 6 is fed from the circuit 12, and a microinstruction address and an address memory circuit address are generated on a latch register 20 by using the address read from the circuit 6 by the address converting circuit 8 through signal lines 7-1-7-n and a status signal of a status signal line 6 from the arithmetic unit 1. Then the execution address of an ROM built in the arithmetic unit 1 is applied from the outside of the chip and various kinds of arithmetic are executed by free combination of external instructions to decrease the number of chips of the arithmetic unit 1.

Description

【発明の詳細な説明】 (発明の属する分野) 本発明は、チップ外部からマイクロプログラム実行アド
レスを与え、内蔵するマイクロプログラムにより演算を
行う集積化演算器に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field to which the invention pertains) The present invention relates to an integrated arithmetic unit that receives a microprogram execution address from outside the chip and performs operations using a built-in microprogram.

(従来の技術) プロセッサの小形化、経済化の為には、集積回路化が必
須となる。しかし、現在の半導体技術では、制御部、演
算部、メモリ部等を含めたプロセッサ全体を1チップ化
する事は困難である。そこで、例えば、演算部のみの1
チップ化を考えた場合、演算部は各種分野に使用できる
様に汎用化が必須となり、演算実行機能を、チップ内と
チップ外とでどの様に分担すべ、きかが新たな問題とし
て生ずる。
(Prior Art) In order to make processors more compact and economical, integrated circuits are essential. However, with current semiconductor technology, it is difficult to integrate the entire processor including a control section, an arithmetic section, a memory section, etc. into one chip. Therefore, for example, 1
When considering chip design, it is essential that the arithmetic unit be general-purpose so that it can be used in various fields, and a new problem arises as to how the arithmetic execution function should be divided between on-chip and off-chip parts.

従来、1チップ演算LSIでは、加算、減算、乗算、除
算等の基本演算機能を実現する一連のマイクロプログラ
ムを内蔵し、チップ外から与えるマクロ命令を契機とし
て、対応する一連のシーケンスをチップ内部で制御する
ことにより、所定の演算機能を実現していた。
Conventionally, one-chip arithmetic LSIs have built-in a series of microprograms that implement basic arithmetic functions such as addition, subtraction, multiplication, and division, and when a macro instruction given from outside the chip is triggered, a corresponding series of sequences is executed inside the chip. By controlling it, a predetermined calculation function was realized.

ところが、この方法では、例えば、三角関数。However, with this method, for example, trigonometric functions.

対数関数等の各種関数演算を実行しようとした場合、各
種演算機能の最初でその演算の種類が変る毎に、その都
度マツピングが必要になる等、マイクロ命令の処理ステ
ップ数が増加し、演算実行時間が大きくなるという欠点
があった。
When attempting to execute various functional operations such as logarithmic functions, each time the type of operation changes at the beginning of each operation function, mapping is required each time, and the number of processing steps of micro instructions increases. The drawback was that it took a long time.

(発明の目的) 本発明は、このような欠点を解決するために、集積回路
チップが内蔵するマイクロ命令の実行アドレスをチップ
外から供給する事により、外部からのマイクロ命令を自
由に組合せて各種演算を実行する汎用′演算チップを実
現する演算器を提供することを目的とするものである。
(Object of the Invention) In order to solve these drawbacks, the present invention provides execution addresses for microinstructions built into an integrated circuit chip from outside the chip, thereby freely combining microinstructions from the outside to execute various types of microinstructions. The purpose of this invention is to provide an arithmetic unit that realizes a general-purpose arithmetic chip that performs arithmetic operations.

(発明の構成および作用) 図は本発明の機能ブロック構成を示す一実施例図であり
、1−はチップ集積化された演算器、2はマイクロ命令
を格納するROM、3は加算、減算、乗算、シフト等の
基本機能を実現する演算回路、4はマイクロ命令の分岐
条件と前記演算回路の動作条件とに基づき演算器のステ
ータスを決定するテストマトリクス回路、5はそのテス
トマトリクス回路4にて発生され、チップ外部にて次マ
イク゛1     口命令アドレスを決定するのに使用
される演算器のステータス信号、6は各種演算機能を実
行するための、マイクロ命令の次アドレスフィールドを
格納するためのアドレスメモリ回路、6−1は次アドレ
スフィールド、7−1〜7−nはアドレスメモリ回路6
から読み出された次アドレスフィールドをアドレス変換
回路に転送するための信号線、8は次アドレスフィール
ドと演算器1からのステータス信号5に基づき次に実行
すべきマイクロアドレスとアドレスメモリ回路のアドレ
スを発生するアドレス変換回路、9はマイクロ命令アド
レス信号線、10はアドレスメモリ回路アドレス信号線
、11はセレクタ、12は本回路全体を制御する制御回
路、13は各種演算実行の最初においてアドレスメモリ
回路6の読出しアドレスを与える制御線、14はセレク
タ11を制御する制御線、15は演算回路3を制御する
マイクロ命令の制御フィールド、16はマイクロ命令の
分岐条件を示す分岐条件フィールド、17は制御フィー
ルド15の内容に基づき演算回路3を制御するための制
御線、18−1〜18−nはテストマトリクス回路4に
分岐条件を供給する制御線。
(Structure and operation of the invention) The figure is an embodiment diagram showing the functional block structure of the present invention, 1- is a chip-integrated arithmetic unit, 2 is a ROM that stores micro instructions, 3 is an addition, subtraction, An arithmetic circuit that realizes basic functions such as multiplication and shifting; 4 a test matrix circuit that determines the status of the arithmetic unit based on the branch condition of the microinstruction and the operating condition of the arithmetic circuit; 5, the test matrix circuit 4; The status signal of the arithmetic unit is generated and used to determine the next microinstruction address outside the chip. 6 is an address for storing the next address field of the microinstruction to execute various arithmetic functions. Memory circuit, 6-1 is next address field, 7-1 to 7-n are address memory circuits 6
A signal line 8 is used to transfer the next address field read from the address conversion circuit to the address conversion circuit, and a signal line 8 indicates the next microaddress to be executed and the address of the address memory circuit based on the next address field and the status signal 5 from the arithmetic unit 1. 9 is a microinstruction address signal line, 10 is an address memory circuit address signal line, 11 is a selector, 12 is a control circuit that controls the entire circuit, 13 is an address memory circuit 6 at the beginning of execution of various operations. 14 is a control line that controls the selector 11, 15 is a microinstruction control field that controls the arithmetic circuit 3, 16 is a branch condition field that indicates the microinstruction branch condition, and 17 is a control field 15. 18-1 to 18-n are control lines for supplying branch conditions to the test matrix circuit 4.

19−1〜19−nは演算回路3の動作結果を表示する
信号線、20はアドレス変換回路8において作成された
アドレス情報を一時蓄積するラッチレジスタ、21−1
〜21−nは分岐条件に対応してそれぞれ、制御線18
−1〜18−nの信号と信号線19−1〜19−nの信
号を用いて演算回路3の動作結果をテストする論理積回
路、22は論理積回路21−1〜21−nの出力を用い
て演算器のステータス信号を作成する論理和回路、−2
3,24は信号1iA7−1〜7−nからのアドレス情
報とステータス信号線5の信号とからマイクロ命令アド
レス及びアドレスメモリ回路6のアドレスを作成するた
めの論′理和回路である。
19-1 to 19-n are signal lines that display the operation results of the arithmetic circuit 3; 20 is a latch register that temporarily stores address information created in the address conversion circuit 8; 21-1;
~21-n are the control lines 18 corresponding to the branch conditions, respectively.
An AND circuit that tests the operation result of the arithmetic circuit 3 using the signals of -1 to 18-n and the signals of signal lines 19-1 to 19-n, and 22 is the output of the AND circuits 21-1 to 21-n. An OR circuit that creates a status signal for an arithmetic unit using -2
3 and 24 are logical sum circuits for creating a microinstruction address and an address of the address memory circuit 6 from the address information from the signals 1iA7-1 to 7-n and the signal on the status signal line 5.

次に本発明の詳細な説明する。Next, the present invention will be explained in detail.

演算開始に先立ち、制御回路12は制御線14を通して
セレクタ11を切替え、制御線13からの信号がアドレ
スメモリ回路6に供給される様に設定しておく。
Prior to the start of the calculation, the control circuit 12 switches the selector 11 through the control line 14 so that the signal from the control line 13 is supplied to the address memory circuit 6.

制御回路12は制御線13、セレクタ11を通してアド
レスメモリ回路6に所定の演算機能を実現するために、
予めアドレスメモリ回路6に格納されている一連のアド
レスの先頭アドレスを供給する。
The control circuit 12 provides the address memory circuit 6 with a predetermined arithmetic function through the control line 13 and the selector 11.
The first address of a series of addresses stored in the address memory circuit 6 in advance is supplied.

アドレス変換回路8では、アドレスメモリ回路6から読
み出された信号線7−1〜7−nからのアドレス情報と
、演算器1のステータス信号線5からのステータス信号
とにより、マイクロ命令アドレスと、アドレスメモリ回
路アドレスとを発生する。
In the address conversion circuit 8, the address information from the signal lines 7-1 to 7-n read from the address memory circuit 6 and the status signal from the status signal line 5 of the arithmetic unit 1 are used to convert the microinstruction address and Address memory circuit generates an address.

すなわち、論理和回路23において、信号線5と7−1
の論理和がとられ、さらに信号線7−2〜7−nと論理
和回路23の出力が、論理和回路24において論理和が
とられラッチレジスタ20に一時蓄積され、それぞれ信
号線9.10を介して演算器1およびアドレスメモリ回
路6に供給される。
That is, in the OR circuit 23, the signal lines 5 and 7-1
Further, the outputs of the signal lines 7-2 to 7-n and the OR circuit 23 are logically summed in the OR circuit 24 and temporarily stored in the latch register 20, and the outputs of the signal lines 9 and 7-n are logically summed. The signal is supplied to the arithmetic unit 1 and the address memory circuit 6 via.

ここで、例えば、最初信号線7−1〜7−nのアドレス
情報が偶数番地を示す様に信号線7−1の情報を“0”
としてアドレスメモリ回路6に格納しておけば、ステー
タス信号線5の信号値がit I HHの時には。
Here, for example, first, the information on the signal line 7-1 is set to "0" so that the address information on the signal lines 7-1 to 7-n indicates an even address.
If the signal value of the status signal line 5 is it I HH, it is stored in the address memory circuit 6 as .

奇数番地アドレスがアドレス変換回路8から出力され、
ステータス信号線5の信号により、命令の実行アドレス
の変更が可能となる。
The odd address is output from the address conversion circuit 8,
A signal on the status signal line 5 allows the execution address of an instruction to be changed.

演算器1では、マイクロ命令アドレス信号線9の信号に
従って、マイクロ命令をROM 2から読出し、制御線
17を通して演算回路3を制御すると共に、制Jl[1
g−1〜18−nを通してテストマトリクス回路4に分
岐条件を供給する。
In the arithmetic unit 1, the microinstruction is read out from the ROM 2 according to the signal on the microinstruction address signal line 9, and the arithmetic circuit 3 is controlled through the control line 17.
Branch conditions are supplied to the test matrix circuit 4 through g-1 to g-18-n.

演算回路3は所定の運算機能実行後、信号線19−1〜
19−nからステータス信号をテストマトリクス回路4
に供給する。テストマトリクス回路4では、制御線18
−1〜18−nの信号と信号線19−1〜19−nの信
号から演算器1のステータスを決定し、ステータス信号
線5を介してチップ外に通知する。すなわち、論理積回
路21−1〜21−nにおいて、制御線18−1〜18
−〇の分岐条件がテストされ、さらに論理和回路22に
おいて論理和がとられステータス信号線5にステータス
信号を生成する。
After executing a predetermined calculation function, the calculation circuit 3 connects the signal lines 19-1 to 19-1.
19-n to test matrix circuit 4
supply to. In the test matrix circuit 4, the control line 18
The status of the arithmetic unit 1 is determined from the signals of -1 to 18-n and the signals of signal lines 19-1 to 19-n, and is notified to the outside of the chip via the status signal line 5. That is, in the AND circuits 21-1 to 21-n, the control lines 18-1 to 18
The branch condition -0 is tested, and the logical sum is further performed in the logical sum circuit 22 to generate a status signal on the status signal line 5.

一方、セレクタ11はアドレスメモリ回路6から、次ア
ドレスフィールド6−1の読出し終了後、アドレスメモ
リ回路アドレス信号線10の側に切替えられており、ア
ドレス変換回路8において発生されたアドレスメモリ回
路アドレスは信号線10を介してアドレスメモリ回路6
に供給されており1次命令アドレスが信号線7−1〜7
−nに読出されている。
On the other hand, the selector 11 is switched to the address memory circuit address signal line 10 side after reading out the next address field 6-1 from the address memory circuit 6, and the address memory circuit address generated in the address conversion circuit 8 is Address memory circuit 6 via signal line 10
The primary instruction address is supplied to signal lines 7-1 to 7-7.
−n.

この信号線7−1〜7−nに読出されているアドレスと
ステータス信号線5のステータス信号を用いて。
Using the address read out to the signal lines 7-1 to 7-n and the status signal on the status signal line 5.

アドレス変換回路8は、次のマイクロ命令実行アドレス
とアドレスメモリ回路アドレスをラッチレジスタ20に
記憶させ、それぞれ信号線9及び10に供給される。
Address conversion circuit 8 stores the next microinstruction execution address and address memory circuit address in latch register 20, and supplies them to signal lines 9 and 10, respectively.

この様にして、順次マイクロ命令が実行され所定のシー
ケンスを終了すると、信号線9,10には特定アドレス
、例えば0番地が発生する様に予めアドレスメモリ回路
6が構成されている。また、ROM 2のO番地には「
無効命令」が、また、アドレスメモリ回路6の0番地に
は0′″が格納されており、その演算機能に必要な一連
のシーケンスが終了すると演算器は無効命令を実行し続
ける。
In this way, the address memory circuit 6 is configured in advance so that when the microinstructions are sequentially executed and a predetermined sequence is completed, a specific address, for example, address 0, is generated on the signal lines 9 and 10. Also, at address O of ROM 2, “
0'' is stored at address 0 of the address memory circuit 6, and the arithmetic unit continues to execute the invalid instruction when a series of sequences necessary for the arithmetic function are completed.

以上説明した様に、1チップ演算器の中に基本的なマイ
クロ制御命令を用意し、チップ外部から。
As explained above, basic microcontrol instructions are prepared in a single-chip arithmetic unit and can be controlled from outside the chip.

これらを組合せて実行するための一連のアドレスを供給
する事により、ユーザの希望する演算機能を実現できる
。                     6+以
上の説明では、演算器の内部のマイクロ命令格納には、
 ROMを用いたが、これはPLAに置替えても何ら不
都合は生じない。
By combining these and supplying a series of addresses for execution, the user's desired arithmetic function can be realized. In the explanation for 6+ and above, microinstruction storage inside the arithmetic unit includes:
Although ROM was used, there will be no problem even if it is replaced with PLA.

(効果) 以上説明したように、本発明によれば、チップに内蔵し
たマイクロ命令の実行アドレスをチップ外部から供給す
る構成になっているため、ユーザは、内蔵の基本的マイ
クロ命令を用いて各種演算機能を少ないステップ数で効
率良く実現できるという利点がある。
(Effects) As explained above, according to the present invention, the execution address of the microinstructions built into the chip is supplied from outside the chip, so the user can use the built-in basic microinstructions to perform various operations. It has the advantage that calculation functions can be efficiently realized with a small number of steps.

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

図は本発明の機能ブロック構成を示す一実施例図である
。 1 ・・・ 1チップ集積化された演算器、2・・・R
OM、 3 ・・・演算回路、4・・・テストマトリク
ス回路、5 ・・・ステータス信号線、6 ・・・アド
レスメモリ回路、6−1・・・次アドレスフィールド、
7−1〜7−n・・・信号線、8 ・・・アドレス変換
回路、9 ・・・マイクロ命令アドレス信号線、10・
・・アドレスメモリ回路アドレス信号線、11・・・セ
レクタ、12・・・制御回路、13,14,17.18
−l−18−n−・−制御回路。 15・・・制御フィールド、16・・・分岐条件フィー
ルド、 19−1〜19−n・・・信号線、20・・・
ラッチレジスタ、21−1〜21−n・・・論理積回路
、22.23.24・・・論理和回路。
The figure is an embodiment diagram showing a functional block configuration of the present invention. 1...1-chip integrated arithmetic unit, 2...R
OM, 3...Arithmetic circuit, 4...Test matrix circuit, 5...Status signal line, 6...Address memory circuit, 6-1...Next address field,
7-1 to 7-n...Signal line, 8...Address conversion circuit, 9...Micro instruction address signal line, 10.
...Address memory circuit address signal line, 11...Selector, 12...Control circuit, 13, 14, 17.18
-l-18-n-.-Control circuit. 15... Control field, 16... Branch condition field, 19-1 to 19-n... Signal line, 20...
Latch register, 21-1 to 21-n...AND circuit, 22.23.24...OR circuit.

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラム制御により演算を実行する集積化演
算器において、マイクロ命令の制御フィールド及び分岐
条件フィールドは1チップ集積化された演算器内に形成
し、次命令アドレスフィールドは演算器外に設置し、演
算器からは次命令アドレス決定に必要なステータス信号
を送出し、演算器外でそのステータス信号と次命令アド
レスフィールドを基に次マイクロ命令のアドレスを発生
する手段を有することを特徴とする演算器。
In an integrated arithmetic unit that executes operations under microprogram control, the microinstruction control field and branch condition field are formed within the arithmetic unit integrated on one chip, and the next instruction address field is placed outside the arithmetic unit. 1. An arithmetic unit characterized by having means for transmitting a status signal necessary for determining the next instruction address from the arithmetic unit, and generating an address for the next microinstruction based on the status signal and the next instruction address field outside the arithmetic unit.
JP59222264A 1984-10-24 1984-10-24 Arithmetic unit Granted JPS61101837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59222264A JPS61101837A (en) 1984-10-24 1984-10-24 Arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59222264A JPS61101837A (en) 1984-10-24 1984-10-24 Arithmetic unit

Publications (2)

Publication Number Publication Date
JPS61101837A true JPS61101837A (en) 1986-05-20
JPH0310974B2 JPH0310974B2 (en) 1991-02-14

Family

ID=16779659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59222264A Granted JPS61101837A (en) 1984-10-24 1984-10-24 Arithmetic unit

Country Status (1)

Country Link
JP (1) JPS61101837A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55129837A (en) * 1979-03-28 1980-10-08 Hitachi Ltd Microprogram address control unit
JPS59186048A (en) * 1983-04-07 1984-10-22 Nec Corp Microprogram control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55129837A (en) * 1979-03-28 1980-10-08 Hitachi Ltd Microprogram address control unit
JPS59186048A (en) * 1983-04-07 1984-10-22 Nec Corp Microprogram control system

Also Published As

Publication number Publication date
JPH0310974B2 (en) 1991-02-14

Similar Documents

Publication Publication Date Title
US4168523A (en) Data processor utilizing a two level microaddressing controller
US4038643A (en) Microprogramming control system
JP5199931B2 (en) 8-bit microcontroller with RISC architecture
TWI476597B (en) Data processing apparatus and semiconductor integrated circuit device
JPS6311697B2 (en)
JPS61101837A (en) Arithmetic unit
US5983344A (en) Combining ALU and memory storage micro instructions by using an address latch to maintain an address calculated by a first micro instruction
JP2511151B2 (en) Data processing device
JP2567134B2 (en) Bit field logical operation processing device and monolithic microprocessor having the same
JPH04359323A (en) Microcomputer
JPS6167148A (en) Microcomputer
JPS6015969B2 (en) Microinstruction address generation method
JP2760808B2 (en) Data processing device
JP3524240B2 (en) Parallel instruction processing unit
KR100737802B1 (en) Modular digital signal processor block and system-on-chip using thereof
JP2731618B2 (en) emulator
JPS6120132A (en) Processing unit
JPH0221331A (en) Program control system for microcomputer
JPS5822455A (en) Data processor
Leventhal Microprogrammable microprocessors
JPH02181821A (en) Arithmetic device
JPS6278630A (en) Information processor
Mick Microprogramming for the hardware engineer
JPH02310618A (en) Information processor
JPS60233737A (en) Incorporated test device of microprocessor