JP4999361B2 - Processing equipment - Google Patents

Processing equipment Download PDF

Info

Publication number
JP4999361B2
JP4999361B2 JP2006144025A JP2006144025A JP4999361B2 JP 4999361 B2 JP4999361 B2 JP 4999361B2 JP 2006144025 A JP2006144025 A JP 2006144025A JP 2006144025 A JP2006144025 A JP 2006144025A JP 4999361 B2 JP4999361 B2 JP 4999361B2
Authority
JP
Japan
Prior art keywords
signal
alu
command
selection
signals
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 - Fee Related
Application number
JP2006144025A
Other languages
Japanese (ja)
Other versions
JP2007316824A (en
Inventor
達夫 平松
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2006144025A priority Critical patent/JP4999361B2/en
Publication of JP2007316824A publication Critical patent/JP2007316824A/en
Application granted granted Critical
Publication of JP4999361B2 publication Critical patent/JP4999361B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、四則演算や論理演算等の複数の機能を実現可能な処理装置に関する。
The present invention relates to a processing device capable of realizing a plurality of functions such as four arithmetic operations and logical operations.

近年、ハードウェアを固定的に用いるのではなく、与えられたデータに従い、或る程度の動作変更が可能となるように構成されたリコンフィギャラブル回路が注目されている。このようなリコンフィギャラブル回路では、多くのALU(Arithmetic and Logic Unit)を並列動作させる構成をとることが多い。各ALUは、与えられたコマンドに従って演算処理を行う。   In recent years, attention has been paid to a reconfigurable circuit configured not to use hardware in a fixed manner but to be able to change the operation to some extent according to given data. Such reconfigurable circuits often have a configuration in which many ALUs (Arithmetic and Logic Units) are operated in parallel. Each ALU performs arithmetic processing according to a given command.

この種の回路では、演算処理を行うべき各タイミングにおいて、全てのALUにコマンドを同時に供給する必要がある。例えば、4×6=24個のALUを用いる場合、1つのALUに与えるコマンドが4ビットのデジタル信号で表現されていたとしても、1回のコマンド供給あたり、合計96ビットのコマンドデータが必要となる。   In this type of circuit, it is necessary to simultaneously supply commands to all ALUs at each timing at which arithmetic processing is to be performed. For example, when 4 × 6 = 24 ALUs are used, even if a command given to one ALU is expressed by a 4-bit digital signal, a total of 96-bit command data is required for each command supply. Become.

このコマンドデータは、通常、リコンフィギャラブル回路に内蔵されたコマンドRAM(Random Access Memory)に格納され、コマンドデータの増大は、リコンフィギャラブル回路の回路規模増大を招く。このため、この種の回路においては、コマンドのデータ量を如何に減らすかが重要な課題となっている。   This command data is normally stored in a command RAM (Random Access Memory) built in the reconfigurable circuit, and the increase in the command data causes an increase in the circuit scale of the reconfigurable circuit. For this reason, in this type of circuit, how to reduce the amount of command data is an important issue.

コマンドのデータ量を削減することを目的とした手法が下記特許文献1に開示されている。下記特許文献1では、ALUが絶えず稼動している訳ではなく、稼動しない場合は無効コマンド(NOP)がALUに供給される、ということを利用している。具体的には、無効コマンドを除き有効コマンドのみを詰めて記載したデータを形成すると共に、各コマンドの有効/無効を示すインデックスのようなデータを形成する。   A technique for reducing the amount of command data is disclosed in Patent Document 1 below. In Patent Document 1 below, the fact that the ALU is not constantly operating, and that the invalid command (NOP) is supplied to the ALU when not operating is utilized. Specifically, except for invalid commands, data describing only valid commands is formed, and data such as an index indicating validity / invalidity of each command is formed.

特開平7−175648号公報JP 7-175648 A

上記特許文献1に記載されている手法は、コマンドRAMの必要メモリ領域の削減に貢献するものであり、或る局面においては、有効に機能しうる。しかし、無効コマンドの出現頻度はアプリケーションによって大きく異なり、コマンドRAMとしては、最も使用メモリの大きなアプリケーションにあわせたものを準備しておく必要があるため、常に十分なコマンド圧縮効果を得ることができるとは言えない。   The technique described in Patent Document 1 contributes to a reduction in the required memory area of the command RAM, and can function effectively in a certain aspect. However, the frequency of appearance of invalid commands varies greatly depending on the application, and it is necessary to prepare a command RAM suitable for the application with the largest use memory, so that a sufficient command compression effect can always be obtained. I can't say that.

また、インデックスを格納するためのメモリが必要であることから、元のコマンドのビット数が少ない場合は、全データに対するインデックスのデータ量の割合が大きくなり、圧縮効果が下がってしまう。また、デコードの際、詰めて記載したデータを伸張する必要があり、伸張回路が大きくなって消費電力が増大してしまう。   In addition, since a memory for storing the index is necessary, when the number of bits of the original command is small, the ratio of the data amount of the index to all data is increased, and the compression effect is reduced. Further, when decoding, it is necessary to decompress the data described in a packed manner, and the decompression circuit becomes large, resulting in an increase in power consumption.

そこで本発明は、ALU等の可変機能実現手段に対して供給が必要なデータの量の削減に寄与する処理装置を提供することを目的とする。
Therefore, an object of the present invention is to provide a processing apparatus that contributes to a reduction in the amount of data that needs to be supplied to a variable function realizing means such as an ALU.

発明に係る処理装置は、第1のALUと、複数のALUからの入力信号のうち、選択信号に従って選択した信号を第1のALUに出力する選択部と、第1のALUに対する命令信号を生成する命令生成部と、前記選択部に供給する選択信号を生成する選択信号生成部と、を備え、前記前記選択信号生成部は、前記選択部に対し前記複数のALUのいずれかからの入力信号が存在しない場合、第1のALUに対する命令信号の一部を生成することを特徴とする。
Processing apparatus according to the present invention includes a first ALU, among the input signals from a plurality of ALU, a selection unit and outputs the selected signal in accordance with selection No.択信the first ALU, the instruction signal for the first ALU An instruction generation unit for generating the selection signal, and a selection signal generation unit for generating a selection signal to be supplied to the selection unit, the selection signal generation unit from the ALU from any of the plurality of ALUs When there is no input signal, a part of the instruction signal for the first ALU is generated .

本発明は、ALU等の可変機能実現手段に対して供給が必要なデータの量の削減に寄与する。   The present invention contributes to a reduction in the amount of data that needs to be supplied to a variable function realization means such as an ALU.

以下、本発明の実施の形態につき、図面を参照して具体的に説明する。参照される各図において、同一の部分には同一の符号を付す。図1は、本発明の実施の形態に係る集積回路1の概略構成ブロック図である。   Hereinafter, embodiments of the present invention will be specifically described with reference to the drawings. In the drawings to be referred to, the same parts are denoted by the same reference numerals. FIG. 1 is a schematic block diagram of an integrated circuit 1 according to an embodiment of the present invention.

集積回路1は、ALU(Arithmetic and Logic Unit)10、セレクタSELA、SELB及びSELC、ALU11、12及び13、並びに、RAM(Random Access Memory)14、15及び16及び17を有して構成される。   The integrated circuit 1 includes an ALU (Arithmetic and Logic Unit) 10, selectors SELA, SELB and SELC, ALUs 11, 12 and 13, and RAMs (Random Access Memory) 14, 15, 16 and 17.

集積回路1は、例えば、論理回路の再構成を可能とする機能を備えたリコンフィギャラブル回路であり、内部に四則演算や論理演算などを行うALUを複数個、備えている。例えば、並列処理を行う数10〜数100個程度のALU(不図示)が集積回路1に組み込まれており、各ALUに対して同時にコマンドが供給される。   The integrated circuit 1 is, for example, a reconfigurable circuit having a function that enables reconfiguration of a logic circuit, and includes a plurality of ALUs that perform four arithmetic operations and logical operations. For example, several tens to several hundreds of ALUs (not shown) that perform parallel processing are incorporated in the integrated circuit 1, and commands are simultaneously supplied to the respective ALUs.

図1は、その複数個のALUの内の1つのALU10に着目した部分のみを図示している。セレクタSELA、SELB及びSELCは、ALU10に付随して設けられており、ALU10、セレクタSELA、SELB及びSELCから成る部位と同様或いは類似する部位が、多数、集積回路1に設けられる。   FIG. 1 illustrates only a portion focused on one ALU 10 among the plurality of ALUs. The selectors SELA, SELB, and SELC are provided in association with the ALU 10, and a number of parts that are the same as or similar to the parts that include the ALU 10, the selectors SELA, SELB, and SELC are provided in the integrated circuit 1.

図2は、ALU10の周辺回路の構成ブロック図である。図1の集積回路1には、更に、図2に示す選択信号生成部21、22及び23、主コマンド信号生成部24並びにデコーダ25が設けられている。選択信号生成部22及び23並びに主コマンド信号生成部24は、ALU制御部(制御手段)26を形成する。   FIG. 2 is a configuration block diagram of peripheral circuits of the ALU 10. The integrated circuit 1 in FIG. 1 further includes selection signal generation units 21, 22, and 23, a main command signal generation unit 24, and a decoder 25 shown in FIG. The selection signal generation units 22 and 23 and the main command signal generation unit 24 form an ALU control unit (control means) 26.

セレクタSELAは、ALU11、12及び13の夫々からの出力信号と、RAM14及びRAM15の夫々からの出力信号と、の合計5つの信号を入力信号として受ける。そして、図2の選択信号生成部21にて生成された選択信号INAに基づいて、その5つの入力信号の中から1つの入力信号を選択し、選択した信号をALU10に対して出力する。セレクタSELAは、自身への5つの入力信号の何れをも選択可能に構成されており、それ故に、上記の選択信号INAは、3ビットのデジタル信号から形成される。   The selector SELA receives as input signals a total of five signals, that is, output signals from the ALUs 11, 12 and 13, and output signals from the RAM 14 and RAM 15, respectively. Then, based on the selection signal INA generated by the selection signal generation unit 21 in FIG. 2, one input signal is selected from the five input signals, and the selected signal is output to the ALU 10. The selector SELA is configured to be able to select any of the five input signals to itself, and thus the selection signal INA is formed from a 3-bit digital signal.

セレクタSELBは、ALU11、12及び13の夫々からの出力信号と、RAM16及びRAM17の夫々からの出力信号と、の合計5つの信号を入力信号として受ける。そして、図2の選択信号生成部22にて生成された選択信号INBに基づいて、その5つの入力信号の中から1つの入力信号を選択し、選択した信号をALU10に対して出力する。セレクタSELBは、自身への5つの入力信号の何れをも選択可能に構成されており、それ故に、上記の選択信号INBは、3ビットのデジタル信号から形成される。   The selector SELB receives, as input signals, a total of five signals: output signals from the ALUs 11, 12 and 13 and output signals from the RAM 16 and RAM 17, respectively. Then, based on the selection signal INB generated by the selection signal generation unit 22 in FIG. 2, one input signal is selected from the five input signals, and the selected signal is output to the ALU 10. The selector SELB is configured to be able to select any of the five input signals to itself. Therefore, the selection signal INB is formed from a 3-bit digital signal.

セレクタSELCは、ALU11、12及び13の夫々からの合計3つの出力信号を入力信号として受ける。そして、図2の選択信号生成部23にて生成された選択信号INCに基づいて、その3つの入力信号の中から1つの入力信号を選択し、選択した信号をALU10に対して出力する。セレクタSELCは、自身への3つの入力信号の何れをも選択可能に構成されており、それ故に、上記の選択信号INCは、2ビットのデジタル信号から形成される。   The selector SELC receives a total of three output signals from the ALUs 11, 12, and 13 as input signals. Then, based on the selection signal INC generated by the selection signal generation unit 23 in FIG. 2, one input signal is selected from the three input signals, and the selected signal is output to the ALU 10. The selector SELC is configured to be able to select any of the three input signals to itself. Therefore, the selection signal INC is formed from a 2-bit digital signal.

ALU10は、セレクタSELA、SELB及びSELCの出力信号を自身への入力信号として受ける。セレクタSELA、SELB及びSELCからALU10に与えられた信号を、夫々、信号A、信号B及び信号Cと呼ぶ。セレクタSELA、SELB及びSELCへの各入力信号はデジタル信号であり、信号A、B及びCもデジタル信号である。従って、信号A、B及びCは、夫々、離散的な値を有する。   The ALU 10 receives the output signals of the selectors SELA, SELB, and SELC as input signals to itself. Signals given from the selectors SELA, SELB, and SELC to the ALU 10 are referred to as signal A, signal B, and signal C, respectively. Each input signal to the selectors SELA, SELB, and SELC is a digital signal, and the signals A, B, and C are also digital signals. Accordingly, the signals A, B, and C each have a discrete value.

ALU10は、複数の機能を実現可能に構成されており、可変機能実現手段として機能する。ALU10は、クロック信号などに同期しつつ次々と必要な処理を実行するが、処理を実行する各タイミングにおいて実際に実行される処理の種類(内容)は、デコーダ25から与えられる機能制御信号にて決定される。   The ALU 10 is configured to be able to realize a plurality of functions, and functions as a variable function realization means. The ALU 10 executes necessary processes one after another in synchronization with a clock signal or the like, but the type (content) of the process actually executed at each timing of executing the process is a function control signal given from the decoder 25. It is determined.

主コマンド信号生成部24は、ALU10にて実現される機能を指定するための主コマンド信号α(命令信号)を出力する。この主コマンド信号αは、2ビットのデジタル信号から形成される。   The main command signal generator 24 outputs a main command signal α (command signal) for designating a function realized by the ALU 10. The main command signal α is formed from a 2-bit digital signal.

デコーダ25は、主コマンド信号α、選択信号INB及びINCに基づいて、上記の機能制御信号を生成し、これをALU10に与える。   The decoder 25 generates the function control signal based on the main command signal α and the selection signals INB and INC, and supplies the function control signal to the ALU 10.

尚、選択信号INA、INB及びINCは、ALU10への入力信号を特定するためのものであるため、選択信号INA、INB及びINCも、ALU10に対するコマンド信号と解釈することもできる。   Since the selection signals INA, INB, and INC are for specifying an input signal to the ALU 10, the selection signals INA, INB, and INC can also be interpreted as command signals for the ALU 10.

図3を参照して、ALU10が実行可能な処理の種類(内容)を例示する。デコーダ25からの機能制御信号は、ALU10に所望の処理を指示するためのコマンドとして機能するものであり、その機能制御信号の種類(即ち、コマンドの種類)は、11種類となっている。   With reference to FIG. 3, the types (contents) of processing that can be executed by the ALU 10 are illustrated. The function control signal from the decoder 25 functions as a command for instructing the ALU 10 to perform a desired process, and there are eleven types of function control signals (that is, command types).

この11種類の機能から所望の機能を択一的に選択するためには、通常、4ビット分の信号が必要となる。しかしながら、本実施形態では、主コマンド信号αが2ビットで表現されている。これを実現するための手法の説明を継続する。   In order to selectively select a desired function from these 11 types of functions, a signal of 4 bits is usually required. However, in the present embodiment, the main command signal α is expressed by 2 bits. The explanation of the technique for realizing this will be continued.

上記の11種類のコマンドは、コマンドCOM0、COM1、COM2、COM3、COM4、COM5、COM6、COM7、COM8、COM9及びCOM10から構成される。図3において、ALU10のデジタルの出力信号をYにて表す。   The eleven types of commands are composed of commands COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, and COM10. In FIG. 3, the digital output signal of the ALU 10 is represented by Y.

コマンドCOM0〜COM2に対応する処理は、1つの入力信号にのみ依存する1入力処理である。コマンドCOM0及びCOM1は、所謂スルーコマンドである。コマンドCOM0に対応する機能制御信号を受けたとき、ALU10は、信号Aをそのまま出力する。コマンドCOM1に対応する機能制御信号を受けたとき、ALU10は、信号Bをそのまま出力する。コマンドCOM2は否定に対応するコマンドである。コマンドCOM2に対応する機能制御信号を受けたとき、ALU10は、信号Aの否定(信号Aを反転させた値)を出力する。   The process corresponding to the commands COM0 to COM2 is a one-input process that depends only on one input signal. The commands COM0 and COM1 are so-called through commands. When receiving the function control signal corresponding to the command COM0, the ALU 10 outputs the signal A as it is. When receiving the function control signal corresponding to the command COM1, the ALU 10 outputs the signal B as it is. The command COM2 is a command corresponding to negation. When receiving the function control signal corresponding to the command COM2, the ALU 10 outputs a negation of the signal A (a value obtained by inverting the signal A).

コマンドCOM3〜COM8に対応する処理は、2つの入力信号にのみ依存する2入力処理である。コマンドCOM3〜COM8に対応する機能制御信号を受けたとき、ALU10は、信号AとBを用いた演算の演算結果を出力する。   The process corresponding to the commands COM3 to COM8 is a two-input process that depends only on two input signals. When receiving the function control signal corresponding to the commands COM3 to COM8, the ALU 10 outputs the calculation result of the calculation using the signals A and B.

具体的には、コマンドCOM3、COM4に対応する機能制御信号を受けたとき、ALU10は、夫々、信号Aと信号Bの和(A+B)、信号Aと信号Bの差(A−B)を出力する。コマンドCOM5、COM6に対応する機能制御信号を受けたとき、ALU10は、夫々、信号Aと信号Bの論理積、信号Aと信号Bの論理和を出力する。コマンドCOM7に対応する機能制御信号を受けたとき、ALU10は、信号Aの値と信号Bの値を比較し、信号Bの値の方が大きい場合に「1」を出力し、そうでない場合に「0」を出力する。コマンドCOM8に対応する機能制御信号を受けたとき、ALU10は、信号Aの値と信号Bの値を比較し、信号Aの値の方が大きい場合に「1」を出力し、そうでない場合に「0」を出力する。   Specifically, when receiving the function control signals corresponding to the commands COM3 and COM4, the ALU 10 outputs the sum of the signals A and B (A + B) and the difference between the signals A and B (A−B), respectively. To do. When receiving the function control signals corresponding to the commands COM5 and COM6, the ALU 10 outputs the logical product of the signals A and B and the logical sum of the signals A and B, respectively. When receiving the function control signal corresponding to the command COM7, the ALU 10 compares the value of the signal A with the value of the signal B, and outputs “1” when the value of the signal B is larger, and otherwise. “0” is output. When receiving the function control signal corresponding to the command COM8, the ALU 10 compares the value of the signal A with the value of the signal B, and outputs “1” if the value of the signal A is larger, and otherwise. “0” is output.

コマンドCOM9及びCOM10に対応する処理は、3つの入力信号の全てに依存する3入力処理である。具体的には、コマンドCOM9に対応する機能制御信号を受けたとき、ALU10は、信号Cの値を参照し、信号Cの値が「1」ならば信号Aを出力する一方、信号Cの値が「0」ならば信号Bを出力する。コマンドCOM10に対応する機能制御信号を受けたとき、ALU10は、信号Cの値を参照し、信号Cの値が「1」ならば信号Bを出力する一方、信号Cの値が「0」ならば信号Aを出力する。   The process corresponding to the commands COM9 and COM10 is a three-input process that depends on all three input signals. Specifically, when receiving the function control signal corresponding to the command COM9, the ALU 10 refers to the value of the signal C. If the value of the signal C is “1”, the ALU 10 outputs the signal A, while the value of the signal C If B is “0”, signal B is output. When the function control signal corresponding to the command COM10 is received, the ALU 10 refers to the value of the signal C. If the value of the signal C is “1”, the ALU 10 outputs the signal B, while if the value of the signal C is “0”. Signal A is output.

このように、ALU10の処理には、1つの入力信号にのみ依存する1入力処理、2つの入力信号にのみ依存する2入力処理、3つの入力信号の全てに依存する3入力処理がある。ところで、1入力処理を実行する場合には、残りの2入力に対する選択信号(コマンド)は不要であり、2入力処理を実行する場合には、残りの1入力に対する選択信号(コマンド)は不要である。   As described above, the processing of the ALU 10 includes one-input processing that depends only on one input signal, two-input processing that depends only on two input signals, and three-input processing that depends on all three input signals. By the way, when executing 1-input processing, selection signals (commands) for the remaining 2 inputs are unnecessary, and when executing 2-input processing, selection signals (commands) for the remaining 1 input are not required. is there.

本実施形態は、ここに着目して、不要となる選択信号(コマンド)を、上記の11種類の機能の選択のために用いる。   In this embodiment, paying attention to this point, an unnecessary selection signal (command) is used for selecting the above-described 11 types of functions.

図3に示す表の右欄に、信号の具体的な割り当て方を示す。また、図4に、デコーダ25の内部ブロック図を示す。   The specific method for assigning signals is shown in the right column of the table shown in FIG. FIG. 4 shows an internal block diagram of the decoder 25.

主コマンド信号αを形成する2ビットのデジタル値を、α=(i,j)にて表現する。選択信号INCを形成する2ビットのデジタル値を、INC=(i,j)にて表現する。選択信号INBを形成する3ビットのデジタル値を、INB=(i,j,k)にて表現する。ここで、i、j及びkは、それぞれ独立に1又は0の値をとる。尚、図3等において“,”の表記は省略している。   A 2-bit digital value forming the main command signal α is expressed by α = (i, j). A 2-bit digital value forming the selection signal INC is expressed by INC = (i, j). A 3-bit digital value forming the selection signal INB is expressed by INB = (i, j, k). Here, i, j, and k each independently take a value of 1 or 0. In FIG. 3 and the like, the notation “,” is omitted.

コマンドCOM0及びCOM2に対応する処理は、信号Aにのみ依存する1入力処理であるので、これらを実行させる際、ALU制御部26は、主コマンド信号αに加えて選択信号INC及びINBを、ALU10の機能の選択用信号として使用する。   Since the processing corresponding to the commands COM0 and COM2 is one-input processing that depends only on the signal A, when executing these, the ALU control unit 26 sends the selection signals INC and INB to the ALU10 in addition to the main command signal α. Used as a function selection signal.

ALU制御部26から、“α=(1,1)、INC=(1,1)且つINB=(0,X,X)の信号”を受けたとき、“α=(1,1)、INC=(1,1)且つINB=(1,X,X)の信号”を受けたとき、デコーダ25は、夫々、コマンドCOM0、COM2を表す機能制御信号をALU10に供給する。ここで、選択信号INBの内容を表す表記における“X”は、そのデジタル値が任意である(即ち、1と0のどちらでも良い)ことを表す。   When “α = (1, 1), INC = (1, 1) and INB = (0, X, X)” is received from the ALU control unit 26, “α = (1, 1), INC When the signal “= (1, 1) and INB = (1, X, X)” is received, the decoder 25 supplies the ALU 10 with function control signals representing the commands COM0 and COM2, respectively. Here, “X” in the notation indicating the content of the selection signal INB indicates that the digital value is arbitrary (that is, either 1 or 0 may be used).

コマンドCOM1に対応する処理は、1入力処理ではあるが信号Bに依存する。このため、コマンドCOM1に対応する処理を実行させる際、ALU制御部26は、主コマンド信号αと選択信号INCをALU10の機能の選択用信号として使用し、選択信号INBを該選択用信号としては使用しない。   The process corresponding to the command COM1 is a one-input process but depends on the signal B. For this reason, when executing processing corresponding to the command COM1, the ALU control unit 26 uses the main command signal α and the selection signal INC as selection signals for the function of the ALU 10, and the selection signal INB as the selection signal. do not use.

また、COM3〜8に対応する処理は、信号A及び信号Bにのみ依存する2入力処理であるので、これらを実行する際、ALU制御部26は、主コマンド信号αに加えて選択信号INCを、ALU10の機能の選択用信号として使用する。   Further, since the processing corresponding to COM3 to 8 is a two-input processing that depends only on the signal A and the signal B, when executing these, the ALU control unit 26 outputs the selection signal INC in addition to the main command signal α. , And used as a function selection signal for the ALU 10.

具体体には、ALU制御部26から、
“α=(1,1)且つINC=(1,0)の信号”を受けたとき、
“α=(0,1)且つINC=(0,0)の信号”を受けたとき、
“α=(0,1)且つINC=(0,1)の信号”を受けたとき、
“α=(0,1)且つINC=(1,0)の信号”を受けたとき、
“α=(0,1)且つINC=(1,1)の信号”を受けたとき、
“α=(1,1)且つINC=(0,0)の信号”を受けたとき、
“α=(1,1)且つINC=(0,1)の信号”を受けたとき、
デコーダ25は、夫々、コマンドCOM1、COM3、COM4、COM5、COM6、COM7、COM8を表す機能制御信号をALU10に供給する。
Specifically, from the ALU control unit 26,
When “α = (1, 1) and INC = (1, 0) signal” is received,
When “α = (0, 1) and INC = (0, 0) signal” is received,
When “α = (0, 1) and INC = (0, 1) signal” is received,
When “α = (0, 1) and INC = (1, 0) signal” is received,
When “α = (0, 1) and INC = (1, 1) signal” is received,
When “α = (1,1) and INC = (0,0) signal” is received,
When “α = (1,1) and INC = (0,1) signal” is received,
The decoder 25 supplies function control signals representing the commands COM1, COM3, COM4, COM5, COM6, COM7, and COM8 to the ALU 10, respectively.

コマンドCOM9及び10に対応する処理は、3つの入力信号の全てに依存する3入力処理であるので、ALU制御部26は、主コマンド信号αのみを、ALU10の機能の選択用信号として使用する。   Since the process corresponding to the commands COM 9 and 10 is a three-input process that depends on all three input signals, the ALU control unit 26 uses only the main command signal α as a function selection signal for the ALU 10.

ALU制御部26から、“α=(0,0)の信号”を受けたとき、“α=(1,0)の信号”を受けたとき、デコーダ25は、夫々、コマンドCOM9、COM10を表す機能制御信号をALU10に供給する。   When “α = (0,0) signal” is received from the ALU control unit 26 and “α = (1,0) signal” is received, the decoder 25 represents commands COM9 and COM10, respectively. A function control signal is supplied to the ALU 10.

ALU10に指定されるべきコマンドを表すデータは、集積回路1に内蔵されたコマンドRAM(不図示)に格納されることになるが、上記のように構成することにより、通常は4ビット必要になるコマンド信号(本実施形態においては、主コマンド信号α)が2ビットに削減される。この結果、コマンドを格納するために必要なメモリ領域が縮小され、集積回路のチップ面積の小型化及び低消費電力化が図られる。例えば、集積回路1内にALU10と同様のALUが全部で24個存在するなら、1回分のコマンド供給に対応して48ビットのメモリ領域が削減され、一連の処理の全体で考えれば、膨大なメモリ領域が削減されることになる。   Data representing a command to be specified in the ALU 10 is stored in a command RAM (not shown) built in the integrated circuit 1. However, with the configuration described above, 4 bits are usually required. The command signal (main command signal α in this embodiment) is reduced to 2 bits. As a result, the memory area necessary for storing the command is reduced, and the chip area of the integrated circuit can be reduced and the power consumption can be reduced. For example, if there are a total of 24 ALUs similar to the ALU 10 in the integrated circuit 1, a 48-bit memory area is reduced in response to a single command supply, and an enormous amount of data can be obtained by considering the entire series of processes. Memory area will be reduced.

図5に、図3の表に示すような信号の割り当ての手順を示す。まず、ステップS1において、3入力処理に対応するコマンドCOM9及び10に対して、主コマンド信号αを割り当てる。次に、2入力処理に対応するコマンドCOM3〜COM8に対して、ステップS1で用いていない主コマンド信号αと、選択信号INCと、を割り当てる(ステップS2)。そして、最後に、1入力処理に対応するコマンドCOM0〜COM2に対して、ステップS1とS2で用いていない“主コマンド信号αと選択信号INCの組み合わせ”を割り当てると共に、コマンドCOM0及びCOM2に対しては、更に、選択信号INBを割り当てる(ステップS3)。   FIG. 5 shows a signal allocation procedure as shown in the table of FIG. First, in step S1, the main command signal α is assigned to the commands COM9 and 10 corresponding to the three-input process. Next, the main command signal α not used in step S1 and the selection signal INC are assigned to the commands COM3 to COM8 corresponding to the two-input process (step S2). Finally, a “combination of the main command signal α and the selection signal INC” not used in steps S1 and S2 is assigned to the commands COM0 to COM2 corresponding to one input process, and to the commands COM0 and COM2. Further assigns a selection signal INB (step S3).

<<変形等>>
上述した集積回路1の機能は、ハードウェアによって、ソフトウェアによって、或いは、それらの組み合わせによって、実現することが可能である。
<< Deformation, etc. >>
The functions of the integrated circuit 1 described above can be realized by hardware, software, or a combination thereof.

尚、上述の実施形態において、可変機能実現装置は、可変機能実現手段としてのALU10と、機能選択手段(機能指定手段)としてのデコーダ25と、を含んで構成される。デコーダ25とALU制御部26とで機能選択手段(機能指定手段)が形成される、と考えることもできる。   In the above-described embodiment, the variable function realization apparatus includes the ALU 10 as the variable function realization means and the decoder 25 as the function selection means (function designation means). It can be considered that the decoder 25 and the ALU control unit 26 form a function selection unit (function designation unit).

本発明の実施の形態に係る集積回路の概略構成ブロック図である。It is a schematic block diagram of an integrated circuit according to an embodiment of the present invention. 図1のALUの周辺回路の構成ブロック図である。FIG. 2 is a configuration block diagram of a peripheral circuit of the ALU in FIG. 1. 図2のALUが実行可能な複数の処理と、各処理に対応する信号と、を表す表である。3 is a table showing a plurality of processes that can be executed by the ALU of FIG. 2 and signals corresponding to the processes. 図2のデコーダの内部ブロック図である。FIG. 3 is an internal block diagram of the decoder of FIG. 2. 図3の表に示すような信号の割り当て方の手順を示すフローチャートである。It is a flowchart which shows the procedure of how to allocate a signal as shown in the table | surface of FIG.

符号の説明Explanation of symbols

1 集積回路
10 ALU
21、22、23 選択信号生成部
24 主コマンド信号生成部
25 デコーダ
26 ALU制御部
SELA、SELB、SELC セレクタ
1 Integrated circuit 10 ALU
21, 22, 23 Selection signal generator 24 Main command signal generator 25 Decoder 26 ALU controller SELA, SELB, SELC selector

Claims (1)

複数の入力信号を入力し演算を行う第1のALUと、
前記第1のALUの前段に配置され、前記第1のALUに対してデータを出力する複数のALUと
前記第1のALUの入力ごとに備わり、前記複数のALUからのデータを、選択信号に従って選択して前記第1のALUのそれぞれの入力信号として出力する複数の選択部と、
第1のALUに対する命令信号を生成する命令生成部と、
前記複数の選択部のそれぞれに対応して備わり、各選択部に供給する選択信号を生成する複数の選択信号生成部と、を備え、
前記複数の選択信号生成部のうち少なくとも1つは、対応する前記選択部に対して前記複数のALUのいずれからの入力信号存在しない場合、第1のALUに対する命令信号の一部を生成する
ことを特徴とする処理装置。
A first ALU that inputs a plurality of input signals and performs an operation ;
A plurality of ALUs arranged in front of the first ALU and outputting data to the first ALU ;
A plurality of selection units provided for each input of the first ALU, for selecting data from the plurality of ALUs according to a selection signal and outputting the data as respective input signals of the first ALU ;
An instruction generator for generating an instruction signal for the first ALU;
A plurality of selection signal generation units provided corresponding to each of the plurality of selection units, and generating a selection signal to be supplied to each selection unit,
At least one of the plurality of selection signal generation units generates a part of the instruction signal for the first ALU when there is no input signal from any of the plurality of ALUs to the corresponding selection unit. The processing apparatus characterized by the above-mentioned.
JP2006144025A 2006-05-24 2006-05-24 Processing equipment Expired - Fee Related JP4999361B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006144025A JP4999361B2 (en) 2006-05-24 2006-05-24 Processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006144025A JP4999361B2 (en) 2006-05-24 2006-05-24 Processing equipment

Publications (2)

Publication Number Publication Date
JP2007316824A JP2007316824A (en) 2007-12-06
JP4999361B2 true JP4999361B2 (en) 2012-08-15

Family

ID=38850641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006144025A Expired - Fee Related JP4999361B2 (en) 2006-05-24 2006-05-24 Processing equipment

Country Status (1)

Country Link
JP (1) JP4999361B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2915131B2 (en) * 1990-11-09 1999-07-05 株式会社日立製作所 Data processing device
JP3781519B2 (en) * 1997-08-20 2006-05-31 富士通株式会社 Instruction control mechanism of processor
JP2000112754A (en) * 1998-10-06 2000-04-21 Mitsubishi Electric Corp Data processor
JP2004220377A (en) * 2003-01-15 2004-08-05 Sanyo Electric Co Ltd Reconfigurable circuit, and integrated circuit device and data conversion device capable of using it

Also Published As

Publication number Publication date
JP2007316824A (en) 2007-12-06

Similar Documents

Publication Publication Date Title
US6098087A (en) Method and apparatus for performing shift operations on packed data
US7120903B2 (en) Data processing apparatus and method for generating the data of an object program for a parallel operation apparatus
US5964861A (en) Method for writing a program to control processors using any instructions selected from original instructions and defining the instructions used as a new instruction set
JP2009157629A (en) Semiconductor integrated circuit device, and clock control method therefor
JP4999361B2 (en) Processing equipment
JPH05291891A (en) Primary random pulse train generating circuit device
JP2002229970A (en) Simd product sum operation method, sum of product sum arithmetic circuit and semiconductor integrated circuit device
JPH1091430A (en) Instruction decoding device
US7278087B2 (en) Hardware circuit for the puncturing and repetitive coding of data streams, and a method for operating the said hardware circuit
US7017033B2 (en) Arithmetic apparatus and arithmetic method
JP2003228418A (en) Control apparatus for industrial purpose robot, and display method for the apparatus
JP2004302827A (en) Microcontroller
JP3987805B2 (en) Array type processor
JP3702475B2 (en) Automatic circuit generator
US20070180016A1 (en) Method of operand width reduction to enable usage of narrower saturation adder
KR100257502B1 (en) Shifter operated without cluck
JP2003337694A (en) Shift circuit
JP4258350B2 (en) Arithmetic processing unit
JP4646853B2 (en) Control information supply device
KR0126106B1 (en) Fuzzy arithemetic apparatus
JPH1091216A (en) Programmable semiconductor device
JPS63245568A (en) Picture converter
JPH11119976A (en) Data dividing parallel shifter
JPH0573297A (en) Microcomputer
JPH04342067A (en) Vector arithmetic unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111227

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120224

TRDD Decision of grant or rejection written
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20120411

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120417

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120515

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees