JPS6232535A - Information processor - Google Patents

Information processor

Info

Publication number
JPS6232535A
JPS6232535A JP60172588A JP17258885A JPS6232535A JP S6232535 A JPS6232535 A JP S6232535A JP 60172588 A JP60172588 A JP 60172588A JP 17258885 A JP17258885 A JP 17258885A JP S6232535 A JPS6232535 A JP S6232535A
Authority
JP
Japan
Prior art keywords
data
approximate reciprocal
memory decoder
address
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
Application number
JP60172588A
Other languages
Japanese (ja)
Inventor
Tomohiko Endo
友彦 遠藤
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
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP60172588A priority Critical patent/JPS6232535A/en
Publication of JPS6232535A publication Critical patent/JPS6232535A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To curtail hardware quantity by integrating an approximate inverse number table for storing a divisor whose use frequency is low, and a memory decoder for storing a control signal to an operating circuit, in the same storage means, and switching and using a read-out address and an output data. CONSTITUTION:In an approximate inverse number table/memory decoder 30, an approximate inverse number data of a divisor, and a part of plural groups of control signals to an operating circuit 25 are stored by plural words each in mutually different addresses. Switching of an approximate inverse number table function or a memory decoder function of the approximate inverse number table/memory decoder 30 is executed by an address selector 40 in accordance with an indication of a micro-instruction which is sent out onto a signal line 78 from a micro-instruction register 20.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は近似逆数テーブルとメモリデコーダとを併用し
た情報処理装置に関し、特に上記両機能を一体化した逆
数テーブル/メそりデコーダを備えた情報処理装置に関
する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to an information processing device that uses both an approximate reciprocal table and a memory decoder, and in particular, an information processing device that uses an approximate reciprocal table and a memory decoder, and in particular, an information processing device that is equipped with a reciprocal table/mesori decoder that integrates both of the above functions. It relates to a processing device.

(従来技術) 鉦−3図は、従来技術による斯かる情報処理装置の一例
を示すブロック図である。第2図において、10は制御
記憶装置、20はマイクロ命令レジスタ、25は演算回
路、31はメモリデコーダ、32は近似逆数テーブルで
ある。
(Prior Art) Figure 3 is a block diagram showing an example of such an information processing device according to the prior art. In FIG. 2, 10 is a control storage device, 20 is a microinstruction register, 25 is an arithmetic circuit, 31 is a memory decoder, and 32 is an approximate reciprocal table.

第2図において、演算回路25への制御信号は複数語の
マイクロ命令を格納した制御記憶装置10から、演算命
令の各マシンサイクルごとにマイクロ命令をマイクロ命
令レジスタ20に読出される。読出されたマイクロ命令
の一部は、信号線79を介して、直接、制御信号として
演算回路25へ送出される。いっぽう、メモリデコーダ
31に格納された複数語の制御信号の組のうち、−語の
制御信号は信号線75を介して演算回路25へ送出され
る。マイクロ命令レジスタ20に格納されているマイク
ロ命令のアドレスフィールドから、信号線72を介して
送出されたアドレス信号によって、メモリデコーダ31
の制御信号が選択され読出される。メモリデコーダ31
の出力は、上記のようにして信号線75を介して演算回
路25へ供給されるわけである。
In FIG. 2, the control signal to the arithmetic circuit 25 is read out from the control storage device 10, which stores a plurality of words of microinstructions, into the microinstruction register 20 for each machine cycle of the arithmetic instruction. A portion of the read microinstructions is directly sent to the arithmetic circuit 25 as a control signal via the signal line 79. On the other hand, among the set of multiple word control signals stored in the memory decoder 31, the - word control signal is sent to the arithmetic circuit 25 via the signal line 75. The memory decoder 31 receives an address signal sent from the address field of the microinstruction stored in the microinstruction register 20 via the signal line 72.
control signals are selected and read out. Memory decoder 31
The output of is supplied to the arithmetic circuit 25 via the signal line 75 as described above.

いっぽう、除数の近似逆数データは複数語の近似逆数デ
ータが格納されている近似逆数テーブル32から、信号
線77を介して演算回路25へ送出される。近似逆数テ
ーブル32は、信号線71上の除数データを読出しアド
レスとして使用している。
On the other hand, the approximate reciprocal data of the divisor is sent to the arithmetic circuit 25 via the signal line 77 from the approximate reciprocal table 32 in which multiple words of approximate reciprocal data are stored. The approximate reciprocal table 32 uses the divisor data on the signal line 71 as a read address.

上記構成においては、除数命令で使用される除数の近似
逆数を格納しておくための近似逆数テーブル32が、演
算回路25に対する制御信号の一部を格納するためのメ
モリデコーダ31とは独立して専用のハードウェアとし
て備えである。しかし、近似逆数テーブル32から実際
に近似逆数データが信号線77によって読出されるのは
、この種の情報処理装置で実行される多くの種類の命令
のなかでも除算命令だけである。従って、除算命令のな
かでも一度ずつしか近似逆数データは情報処理装置に用
いられない。
In the above configuration, the approximate reciprocal table 32 for storing the approximate reciprocal of the divisor used in the divisor instruction is independent of the memory decoder 31 for storing a part of the control signal for the arithmetic circuit 25. It is prepared as dedicated hardware. However, among the many types of instructions executed by this type of information processing device, only the division instruction actually reads approximate reciprocal data from the approximate reciprocal table 32 via the signal line 77. Therefore, the approximate reciprocal data is used by the information processing device only once in each division instruction.

また、近似逆数データに要求される精度、すなわちデー
タ幅と語数とは演算回路25の演算処理能力(こよって
決定される。
Further, the accuracy required for the approximate reciprocal data, that is, the data width and the number of words, is determined by the arithmetic processing capacity of the arithmetic circuit 25.

(発明が解決しようとする問題点) 上述した従来の情報処理装置では、近似逆数テーブルと
メモリデコーダとを独立したハードウェアにより実現し
ているので、近年の半導体技術の向上によってもたらさ
れた半導体メモリ素子の容量の著しい増加lこより、近
似逆数テーブルに上記半導体メモリ素子を使用した場合
には空き領域が生ずることがあると云う欠点があった0 また、この種の情報処理装置において除数の近似逆数テ
ーブルを専有することはハードウェアの無駄を多くする
と云う欠点があった。
(Problems to be Solved by the Invention) In the conventional information processing device described above, the approximate reciprocal table and the memory decoder are realized by independent hardware, so the semiconductor Due to the remarkable increase in the capacity of memory elements, there is a disadvantage that when the above semiconductor memory element is used for an approximate reciprocal table, there may be a vacant area. Exclusive use of the reciprocal table has the disadvantage of increasing hardware waste.

本発明の目的は、使用頻度の低い除数を格納するための
近似逆数テーブルと、演算回路への制御信号を格納する
ためのメモリデコーダとを同一の記憶手段に組込み、読
出しアドレスと出力データとを切替えて使用することに
より上記欠点を除去し、ハードウェアを無駄なく構成し
た情報処理装置を提供することにある。
An object of the present invention is to incorporate an approximate reciprocal table for storing rarely used divisors and a memory decoder for storing control signals to an arithmetic circuit into the same storage means, and to store read addresses and output data. It is an object of the present invention to provide an information processing apparatus in which the above-mentioned drawbacks are eliminated by switching and using the apparatus, and the hardware is configured without waste.

(問題点を解決するための手段) 本発明による情報処理装置は記憶手段と、アドレスセレ
クタ手段と、ゲート回路手段と、データセレクタ手段と
、演算回路とを具備して構成したものである。
(Means for Solving the Problems) An information processing device according to the present invention is configured to include storage means, address selector means, gate circuit means, data selector means, and an arithmetic circuit.

記憶手段は、除■命令を実行するための除数の近似逆数
データ、ならびに除算命令を実行制御する制御信号をそ
れぞれ複数語に及び格納するためのものである。
The storage means is for storing approximate reciprocal data of the divisor for executing the deletion instruction and control signals for controlling the execution of the division instruction, each of which spans a plurality of words.

アドレスセレクタ手段は、記憶手段の読出しアドレスを
除算命令の除数、あるいは制御信号を読出すため、マシ
ンサイクルごとに定められたアドレスデータを選択する
ためのものである。
The address selector means selects predetermined address data for each machine cycle in order to read out the read address of the storage means as a divisor of a division instruction or a control signal.

ゲート回路手段は、記憶手段から読出された近似逆数デ
ータを出力するためのものである。
The gate circuit means is for outputting approximate reciprocal data read from the storage means.

データセレクタ手段は、記憶手段から読出されたデータ
が制御信号であるときには上記データを選択し、記憶手
段から読出されたデータが近似逆数データであるときに
は前もって定められた近似逆数データを選択するための
ものである0 演算回路は、データセレクタ手段の出力を制御信号とし
、ゲート回路から出力された近似逆数データを使用して
処理を実行するためのものである。
The data selector means selects the data when the data read from the storage means is a control signal, and selects predetermined approximate reciprocal data when the data read from the storage means is approximate reciprocal data. The arithmetic circuit uses the output of the data selector means as a control signal and executes processing using approximate reciprocal data output from the gate circuit.

(実施例) 次に、本発明について図面を参照して説明する0 第1図は、本発明による情報処理装置の一実施例を示す
ブロック図である。第1図において、10は制御記憶装
置、20はマイクロ命令レジスタ、25は演算回路、3
0は近似逆数テーブル/メモリデコーダ、40はアドレ
スセレクタ、50はデータセレクタ、60はゲート回路
である0 第1図において、制御記憶装置10、マイクロ命令レジ
スタ20、ならびに演算回路25は従来技術におけるも
のと同様なものである。近似係数テーブル/メモリデコ
ーダ30には除数の近似逆数データと、演算回路25に
対する複数組の制御信号の一部とが複数語ずつ相互に異
なるアドレスに格納されている。
(Embodiment) Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of an information processing apparatus according to the present invention. In FIG. 1, 10 is a control storage device, 20 is a microinstruction register, 25 is an arithmetic circuit, and 3
0 is an approximate reciprocal table/memory decoder, 40 is an address selector, 50 is a data selector, and 60 is a gate circuit. It is similar to In the approximate coefficient table/memory decoder 30, approximate reciprocal data of the divisor and part of a plurality of sets of control signals for the arithmetic circuit 25 are stored in plural words at mutually different addresses.

近似逆数テーブル/メモリデコーダ30の近似逆数テー
ブル機能、あるいはメモリデコーダ機能の切替えは、マ
イクロ命令レジスタ20から信号線78上に送出された
マイクロ命令の指示lこ応して、アドレスセレクタ40
によりて行われる。これζこよって、アドレスセレクタ
40は演算回路25から信号線71上に送出された除数
データを選択するか、あるいはマイクロ命令レジスタ2
0にセットされたマイクロ命令のアドレスフィールドか
ら信号線72上に送出されたメモリデコーダ機能のアド
レス信号を選択する。選択されたアドレス信号はアドレ
ス信号線73上に送出され、近似逆数テーブル/メモリ
デコーダ30にアドレス情報として加えられる。
Approximate reciprocal table/memory decoder 30's approximate reciprocal table function or memory decoder function is switched by the address selector 40 in response to a microinstruction instruction sent from the microinstruction register 20 onto the signal line 78.
This is done by Therefore, the address selector 40 selects the divisor data sent from the arithmetic circuit 25 onto the signal line 71, or selects the divisor data sent from the microinstruction register 25
The address signal of the memory decoder function sent on signal line 72 is selected from the address field of the microinstruction set to 0. The selected address signal is sent onto the address signal line 73 and added to the approximate reciprocal table/memory decoder 30 as address information.

マイクロ命令レジスタ20から信号線78上に送出され
た切替え指示が近似逆数テーブル機能を指示している場
合には、近似逆数テーブル/メモリデコーダ30から信
号線76上に読出された出力データは、ゲート回路60
を介して演算回路25の近似逆数データとして信号線7
7へ供給されている。
If the switching instruction sent from the microinstruction register 20 onto the signal line 78 instructs the approximate reciprocal table function, the output data read from the approximate reciprocal table/memory decoder 30 onto the signal line 76 is circuit 60
as approximate reciprocal data of the arithmetic circuit 25 via the signal line 7.
7.

データセレクタ50によって前もって定められた内容の
制御信号74が信号線75に供給される。この制御信号
は、信号線75を介して演算回路25へ送出される。
A control signal 74 having a predetermined content is supplied to a signal line 75 by the data selector 50 . This control signal is sent to the arithmetic circuit 25 via the signal line 75.

いっぽう、信号線78上の切替え指示がメモリデコーダ
機能を指示している場合には、信号線76上の出力デー
タはデータセレクタ50から信号線75を介して演算回
路25に対する制御信号として供給される。
On the other hand, when the switching instruction on the signal line 78 instructs the memory decoder function, the output data on the signal line 76 is supplied from the data selector 50 via the signal line 75 as a control signal to the arithmetic circuit 25. .

第2図は、第1図に示す実施例の動作例を示すタイムチ
ャートである。第2図において、マシンサイクルt0か
らt4までの5サイクルのなかで、t、においてはマイ
クロ命令のなかの切替え指示信号(信号線78)によっ
て近似逆数テーブル機能が指示されている。このとき、
アドレスセレクタ40は信号線71上の除数データを選
択し、近似逆数テーブル30から対応するアドレスに格
納されている近似逆数データが読出され、ゲート回路6
0を介して近似逆数データ(信号線77)として演算回
路25に供給されている。いっぽう、制御信号(信号線
75)はtOsおよびt、〜t4では切替え指示(信号
線78)がメモリデコーダ機能を指示しているため、マ
イクロ命令に含まれたアドレス信号閃によりで指定され
た制御信号により、データ(A)がメモリデコーダ30
から読出されて演算回路25へ供給される。t、におい
ては、読出しデータ(A)は制御信号として使用できず
、代りに前もって定められた内容のデータ(B)が制御
信号として供給される。これによって、演算回路25か
ら連続的にマシンサイクルごとに制御信号が供給される
FIG. 2 is a time chart showing an example of the operation of the embodiment shown in FIG. In FIG. 2, among the five machine cycles t0 to t4, at t, the approximate reciprocal table function is instructed by a switching instruction signal (signal line 78) in the microinstruction. At this time,
The address selector 40 selects the divisor data on the signal line 71, and the approximate reciprocal data stored at the corresponding address is read out from the approximate reciprocal table 30, and the gate circuit 6
0 to the arithmetic circuit 25 as approximate reciprocal data (signal line 77). On the other hand, since the switching instruction (signal line 78) instructs the memory decoder function at tOs and t to t4, the control signal (signal line 75) performs the control specified by the address signal flash included in the microinstruction. The data (A) is sent to the memory decoder 30 by the signal.
The data is read out from and supplied to the arithmetic circuit 25. At time t, read data (A) cannot be used as a control signal, and instead, data (B) with predetermined contents is supplied as a control signal. As a result, a control signal is continuously supplied from the arithmetic circuit 25 for each machine cycle.

(発明の効果) 以上説明したように本発明には、使用頻度の低い除数を
格納するための近似逆数テーブルと、演算回路への制御
信号を格納するためのメモリデコーダとを同一の記憶手
段に組込み、読出しアドレスと出力データとを切替えて
使用することにより、異なった2つの機能を同一のハー
ドウェアによって実現できるため、性能の低下を防ぐこ
とができるとともにハードウェア量を削減できると云う
効果がある。
(Effects of the Invention) As explained above, in the present invention, an approximate reciprocal table for storing a divisor that is used infrequently and a memory decoder for storing a control signal to an arithmetic circuit are stored in the same storage means. By switching between embedded and read addresses and output data, two different functions can be realized with the same hardware, which has the effect of preventing performance degradation and reducing the amount of hardware required. be.

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

第1図は、本発明による情報処理装置の−実路側を示す
ブロック図である。 第2図は、第1図に示す情報処理装置の動作例を示すタ
イムチャートである。 第3図は、従来技術による情報処理装置の一例を示すブ
ロック図である。 10・・・制御記憶装置 20・・・マイクロ命令レジスタ 25・・・演算回路 30・・・近似逆数テーブル/メモリデコーダ31・・
・メモリデコーダ 32・・・近似逆数テーブル 40.50・・・セレクタ 60・・・ゲート回路 特許用願人  日本電気株式会社 代理人 弁理士 井ノロ   壽 第1図 第2図 通イ吐t(侶5電77)     口==コA’l#e
 (#号fi り3−ン     A       B
       AA       AA、7′づ・イク
ノt         I    +!a   l  
  t+    l    tz    l     
b   l     t4123図
FIG. 1 is a block diagram showing the actual road side of an information processing apparatus according to the present invention. FIG. 2 is a time chart showing an example of the operation of the information processing apparatus shown in FIG. FIG. 3 is a block diagram showing an example of an information processing device according to the prior art. 10... Control storage device 20... Micro instruction register 25... Arithmetic circuit 30... Approximate reciprocal table/memory decoder 31...
・Memory decoder 32...Approximate reciprocal table 40.50...Selector 60...Gate circuit patent applicant NEC Corporation representative Patent attorney Hisashi Inoro 5den77) 口==koA'l#e
(# No. fi R3-n A B
AA AA, 7' Ikunot I +! a l
t+ l tz l
b l t4123 diagram

Claims (1)

【特許請求の範囲】[Claims] 除算命令を実行するための除数の近似逆数データ、なら
びに前記除算命令を実行制御する制御信号をそれぞれ複
数語に及び格納するための記憶手段と、前記記憶手段の
読出しアドレスを前記除算命令の除数、あるいは前記制
御信号を読出すため、マシンサイクルごとに定められた
アドレスデータを選択するためのアドレスセレクタ手段
と、前記記憶手段から読出された前記近似逆数データを
出力するためのゲート回路手段と、前記記憶手段から読
出されたデータが前記制御信号であるときには前記デー
タを選択し、前記記憶手段から読出されたデータが前記
近似逆数データであるときには前もって定められた前記
近似逆数データを選択するためのデータセレクタ手段と
、前記データセレクタ手段の出力を制御信号とし、前記
ゲート回路から出力された前記近似逆数データを使用し
て処理を実行するための演算回路とを具備して構成した
ことを特徴とする情報処理装置。
a storage means for storing approximate reciprocal data of a divisor for executing a division instruction and a control signal for controlling the execution of the division instruction in a plurality of words, and a read address of the storage means for the divisor of the division instruction; Alternatively, address selector means for selecting address data determined for each machine cycle in order to read the control signal, gate circuit means for outputting the approximate reciprocal data read from the storage means; Data for selecting the data when the data read from the storage means is the control signal, and selecting the predetermined approximate reciprocal data when the data read from the storage means is the approximate reciprocal data. It is characterized by comprising a selector means and an arithmetic circuit for using the output of the data selector means as a control signal and executing processing using the approximate reciprocal data output from the gate circuit. Information processing device.
JP60172588A 1985-08-06 1985-08-06 Information processor Pending JPS6232535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60172588A JPS6232535A (en) 1985-08-06 1985-08-06 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60172588A JPS6232535A (en) 1985-08-06 1985-08-06 Information processor

Publications (1)

Publication Number Publication Date
JPS6232535A true JPS6232535A (en) 1987-02-12

Family

ID=15944627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60172588A Pending JPS6232535A (en) 1985-08-06 1985-08-06 Information processor

Country Status (1)

Country Link
JP (1) JPS6232535A (en)

Similar Documents

Publication Publication Date Title
JPH08305585A (en) Interruption controller
JPS6041769B2 (en) Addressing method
JPS6232535A (en) Information processor
JP2692444B2 (en) Timer device
JPH0218729B2 (en)
JPS6198441A (en) Semiconductor integrated circuit
JP2720401B2 (en) Instruction memory range expansion device
JPS6083141A (en) Microprocessor
JPS6260034A (en) Stored program system controller
JPH027616A (en) Timer circuit
KR0164769B1 (en) System program execution method
JPS6229813B2 (en)
JPS5868159A (en) Data processor
JPH04358227A (en) Microprocessor
JPS59165145A (en) Pointer
KR20010071797A (en) Object oriented processing with dedicated pointer memories
JPS6214245A (en) One-chip microcomputer
JPS61182135A (en) Process selecting system
JPH0347536B2 (en)
JPS60214040A (en) Data processor
JPS61131126A (en) Information processing unit
JPS59112321A (en) Controlling method of central processing unit
JPS6242237A (en) Loading system to instruction buffer
JPS6024642A (en) Microprogram controlling system
JPH01291324A (en) Micro-instruction device