JPH02253486A - Program table input/output circuit - Google Patents

Program table input/output circuit

Info

Publication number
JPH02253486A
JPH02253486A JP7723389A JP7723389A JPH02253486A JP H02253486 A JPH02253486 A JP H02253486A JP 7723389 A JP7723389 A JP 7723389A JP 7723389 A JP7723389 A JP 7723389A JP H02253486 A JPH02253486 A JP H02253486A
Authority
JP
Japan
Prior art keywords
program
circuit
program table
input
pipe line
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
JP7723389A
Other languages
Japanese (ja)
Other versions
JP2762537B2 (en
Inventor
Kozo Honda
本田 耕三
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 JP7723389A priority Critical patent/JP2762537B2/en
Publication of JPH02253486A publication Critical patent/JPH02253486A/en
Application granted granted Critical
Publication of JP2762537B2 publication Critical patent/JP2762537B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Semiconductor Integrated Circuits (AREA)
  • Advance Control (AREA)

Abstract

PURPOSE:To contrive the standardization of a program table input/output circuit by providing a command decoder, pipe line adjusting and delay circuit and a gate circuit and increasing a time table on an external part. CONSTITUTION:The program table input/output circuit is composed of program tables 1-4, selectors 7-11 for input switching, multiplexers 17-20, gates 12-16 for monitoring the contents of the program table, a gate 5 to obtain interface with the program table added in the external part, a pipe line adjusting and a delay circuit for matching with the pipe line of an arithmetic circuit and a command decoder to decode the control signal of the program table from an external input signal. Thus, since the program decoder 6 to synthesize the program tables 1-4 in bit direction and word direction, input/output gate circuit 5 to increase the program tables 1-4 in the external part and pipe line adjusting circuit 50 to adjust the pipe line are provided, the program table input/output circuit can be composed of one kind of the circuit and efficiently formed to make an LSI.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラムテーブル入出力回路に関し、特にマ
イコンに接続する低速バスからプログラムテーブルにロ
ードしたプログラムID、演算パラメータ、データID
等を、演算起動時に読み出して参照するためのデータフ
ロープロセッサの演算モジュールを構成する回路の1つ
であるプログラムテーブル入出力回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a program table input/output circuit, and in particular to a program ID, calculation parameters, and data ID loaded into a program table from a low-speed bus connected to a microcomputer.
The present invention relates to a program table input/output circuit, which is one of the circuits constituting an arithmetic module of a data flow processor, for reading out and referencing the data flow processor at the time of starting an operation.

〔従来の技術〕[Conventional technology]

データフロープロセッサは、第2図に示すように演算デ
ータ用の高速バス80とプログラムロード用の低速バス
90に、機能の異なる演算モジュールが並列に接続され
る構成になっている。
As shown in FIG. 2, the data flow processor has a configuration in which arithmetic modules with different functions are connected in parallel to a high-speed bus 80 for arithmetic data and a low-speed bus 90 for program loading.

演算データは、データIDを持ち高速バスから演算モジ
ュール70〜72に入力される。演算モジュール70〜
72では、データIDはプログラムテーブル入出力回路
に入力され、演算パラメータを読み出して演算回路に送
る。演算データは演算回路に入力され、演算パラメータ
に従って処理され、プログラムテーブル入出力回路から
出力されるデータIDとデータの行先を示すモジュール
IDとを付加されてふたたび高速バス80に出力される
The calculation data has a data ID and is input to the calculation modules 70 to 72 from the high-speed bus. Arithmetic module 70~
At 72, the data ID is input to the program table input/output circuit, and the calculation parameters are read out and sent to the calculation circuit. The arithmetic data is input to the arithmetic circuit, processed in accordance with the arithmetic parameters, and outputted to the high-speed bus 80 again with the data ID output from the program table input/output circuit and the module ID indicating the data destination.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプログラムテーブル入出力回路は、プロ
グラムテーブルのサイズ及び個数が固定となっているた
め、演算モジュール毎に異なったプログラム入出力回路
を用意する必要があり、回路の標準化が難しいという欠
点があった。
The conventional program table input/output circuit described above has the disadvantage that the size and number of program tables are fixed, so it is necessary to prepare a different program input/output circuit for each calculation module, making it difficult to standardize the circuit. there were.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプログラムテーブル入出力回路は、演算モジュ
ールのプログラムID、演算パラメータ及び演算結果の
データに付加するデータID、モジュールIDがロード
されるプログラムテーブルと、前記プログラムテーブル
のコントロール信号や、セレクタ、ゲート及びマルチプ
レクサの切換え信号を発生するコマンドデコーダと、前
記プログラムテーブルのアドレスを切換えるセレクタと
、パイプラインの段数を調節するパイプライン調節遅延
回路と、プログラムテーブルを増設するためのゲート回
路とを備えて構成される。
The program table input/output circuit of the present invention includes a program ID of a calculation module, a data ID added to data of calculation parameters and calculation results, a program table into which the module ID is loaded, and control signals, selectors, and gates of the program table. and a command decoder that generates a multiplexer switching signal, a selector that switches the address of the program table, a pipeline adjustment delay circuit that adjusts the number of pipeline stages, and a gate circuit that adds a program table. be done.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

本実施例は、プログラムテーブル1〜4と、その入力切
換えのためのセレクタ7〜11と、マルチプレクサ(以
下MPXという)17〜20と、プログラムテーブルの
内容をモニタするためのゲート12〜16と、外部に追
加したプログラムテーブルとインタフェースを取るゲー
ト5と、演算回路のパイプラインとマツチングを取るた
めのパイプライン調節遅延回路50と、外部入力信号か
らプログラムテーブルの制御信号をデコードするコマン
ドデコーダ6とからなる。
This embodiment includes program tables 1 to 4, selectors 7 to 11 for switching their inputs, multiplexers (hereinafter referred to as MPX) 17 to 20, and gates 12 to 16 for monitoring the contents of the program tables. A gate 5 that interfaces with an externally added program table, a pipeline adjustment delay circuit 50 that matches the pipeline of the arithmetic circuit, and a command decoder 6 that decodes the control signal of the program table from an external input signal. Become.

本実施例では、演算回路100に演算パラメータをロー
ドするプログラムテーブル3.4と、外部に追加したプ
ログラムテーブルとインタフェースを取るゲート5を、
演算回路100のパイプライン(3段)とマツチングが
取れるように構成している。演算回路100は、3段の
パイプラインで構成され、1段目のパイプラインで演算
パラメータ1を、2段目のパイプラインで演算パラメー
タ2を参照し、3段目のパイプラインではゲート5を通
して制御され演算回路10内に増設したプログラムテー
ブルの出力を参照する。パイプライン調節遅延回路50
はレジスタ21.22で構成され、MPX17〜20で
段数を選べるようになっている0本実施例では例えばM
PX18の出力をプログラムID信号PIDIに、これ
よりレジスタ21により遅延されたMPX19の出力を
プログラムID信号PID2に、更にレジスタ21によ
り遅延したMPX20の出力をプログラムID信号PI
D3に切換えるようにしたものである。
In this embodiment, a program table 3.4 for loading calculation parameters into the calculation circuit 100 and a gate 5 for interfacing with an externally added program table are provided.
It is configured so that it can be matched with the pipeline (three stages) of the arithmetic circuit 100. The arithmetic circuit 100 is composed of a three-stage pipeline, with the first pipeline referring to the computation parameter 1, the second pipeline referring to the computation parameter 2, and the third pipeline referring to the computation parameter 2 through the gate 5. The output of the program table added in the controlled arithmetic circuit 10 is referred to. Pipeline adjustment delay circuit 50
is composed of registers 21 and 22, and the number of stages can be selected using MPX17 to MPX20. In this embodiment, for example, M
The output of PX18 is used as the program ID signal PIDI, the output of MPX19 delayed by the register 21 is used as the program ID signal PID2, and the output of MPX20 further delayed by the register 21 is used as the program ID signal PI.
It is designed to switch to D3.

各プログラムテーブル1〜4及び外部増設用のゲート5
のコントロール信号であるセレクタ7〜11の切換え信
号C1,C5,C9,C13,C17、ライトイネーブ
ル端子Wに印加されるライトイネーブル信号C2,C6
,CIO,C14゜C18、リードイネーブル端子Rに
印加されるリードイネーブル信号C3,C7,C11,
C15、C19、チップセレクト端子C8に印加される
チップセレクト信号C4,C8,CI2.C16、C2
0は、外部入力のリードコントロール信号RC、ライト
コントロール信号WC、テーブルセレクト信号TBO〜
4、高速バスアクセス信号HBA、低速バスアクセス信
号LBAを、コマンドデコーダ6でデコードして作られ
る。
Each program table 1 to 4 and gate 5 for external expansion
switching signals C1, C5, C9, C13, C17 of selectors 7 to 11, which are control signals of , and write enable signals C2, C6 applied to write enable terminal W.
, CIO, C14°C18, read enable signals C3, C7, C11, applied to read enable terminal R;
C15, C19, chip select signals C4, C8, CI2 . C16, C2
0 is an external input read control signal RC, write control signal WC, table select signal TBO~
4. It is generated by decoding the high-speed bus access signal HBA and low-speed bus access signal LBA by the command decoder 6.

また、各プログラムテーブル1〜4は、アドレス信号C
Aが入力するセレクタ7〜11を切換えることによって
、低速バスアクセス信号LBA及び高速バスアクセス信
号HBAからアクセスできる。低速バスからのアクセス
では、プログラムをロードしたり、ロードしたものをモ
ニタする。高速バスからのアクセスは演算時で、演算パ
ラメータを演算回路に送り出したり、演算と同期させて
モジュールID、データIDを出力する。
In addition, each program table 1 to 4 has an address signal C
By switching the selectors 7 to 11 to which A is input, it is possible to access from the low-speed bus access signal LBA and the high-speed bus access signal HBA. When accessing from a low-speed bus, the program is loaded and the loaded program is monitored. Access from the high-speed bus occurs during calculations, and calculation parameters are sent to the calculation circuit, and module IDs and data IDs are output in synchronization with calculations.

以上で動作を説明した0次にプログラムテーブル3,4
の構成方法について説明する0本実施例ではプログラム
テープJし3.4は16ビツトX128ワードとして使
っているが、具体的には例えばコマンドデコーダ6のテ
ーブルセレクト端子TB3.4をショートしたり、連続
にすることによって32ビツト×128ワード、又は1
6ビツト×256ワードとして使うことができる。
Zero-order program tables 3 and 4 whose operation was explained above
In this embodiment, the program tape J3.4 is used as 16 bits x 128 words. 32 bits x 128 words, or 1
It can be used as 6 bits x 256 words.

さらに16ビツト×128ワードのテーブル2個分で不
足する時は、ゲート5の外部に増設したプログラムテー
ブルを、本実施例で示すように接続することができる。
Furthermore, if two tables of 16 bits x 128 words are insufficient, a program table added outside the gate 5 can be connected as shown in this embodiment.

ゲート5は、プログラムテーブルを制御するライトイネ
ーブル端子W。
Gate 5 is a write enable terminal W that controls the program table.

リードイネーブル端子R,チップセレクト端子C8の信
号で切換えられる入出力ゲートである。
This is an input/output gate that can be switched by signals from read enable terminal R and chip select terminal C8.

なお、第1図で丸印内に数字のある接続線は、丸印内に
同一の数字のある接続線に結ばれていることを示してい
る。
In FIG. 1, a connection line with a number inside a circle indicates that it is connected to a connection line with the same number inside a circle.

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

以上説明したように本発明は、演算回路によって演算パ
ラメータをロードするプログラムテーブルのサイズ、個
数、パイプラインが異なるため別々の回路として設計す
る必要があったプログラムテーブル入出力回路を、プロ
グラムテーブルをビット方向及びワード方向に合成でき
るコマンドデコーダとプログラムテーブルを外部に増設
するための入出力ゲート回路とパイプラインの調節を行
なうパイプライン調節回路とを有することにより、1種
類の回路で構成でき効率良<LSI化できるという効果
がある。
As explained above, the present invention replaces the program table input/output circuit, which had to be designed as a separate circuit because the size, number, and pipeline of the program tables for loading calculation parameters by the calculation circuit differ, by converting the program table into bits. It has a command decoder that can be synthesized in the direction and word direction, an input/output gate circuit for externally adding a program table, and a pipeline adjustment circuit for adjusting the pipeline, so it can be configured with one type of circuit and is highly efficient. It has the effect of being able to be integrated into an LSI.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図はデータフロープロセッサのモジュール構成を示す
一般的な説明図。 1〜4・・・プログラムテーブル、5・・・外部増設用
のゲート、6・・・コマンドデコーダ、7〜11・・・
セレクタ、12〜16・・・ゲート、17〜20・・・
マルチプレクサ、21.22・・・レジスタ、100・
・・演算回路。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a general explanatory diagram showing the module configuration of a data flow processor. 1-4...Program table, 5...Gate for external expansion, 6...Command decoder, 7-11...
Selector, 12-16... Gate, 17-20...
Multiplexer, 21.22...Register, 100.
...Arithmetic circuit.

Claims (1)

【特許請求の範囲】[Claims] 演算モジュールのプログラムID、演算パラメータ及び
演算結果のデータに付加するデータID、モジュールI
Dがロードされるプログラムテーブルと、前記プログラ
ムテーブルのコントロール信号や、セレクタ、ゲート及
びマルチプレクサの切換え信号を発生するコマンドデコ
ーダと、前記プログラムテーブルのアドレスを切換える
セレクタと、パイプラインの段数を調節するパイプライ
ン調節遅延回路と、プログラムテーブルを増設するため
のゲート回路とを備えて成ることを特徴とするプログラ
ムテーブル入出力回路。
Program ID of the calculation module, data ID added to calculation parameters and calculation result data, module I
A program table into which D is loaded, a command decoder that generates control signals for the program table and switching signals for selectors, gates, and multiplexers, a selector that switches addresses of the program table, and a pipe that adjusts the number of pipeline stages. A program table input/output circuit comprising a line adjustment delay circuit and a gate circuit for adding a program table.
JP7723389A 1989-03-28 1989-03-28 Program table input / output circuit Expired - Lifetime JP2762537B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7723389A JP2762537B2 (en) 1989-03-28 1989-03-28 Program table input / output circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7723389A JP2762537B2 (en) 1989-03-28 1989-03-28 Program table input / output circuit

Publications (2)

Publication Number Publication Date
JPH02253486A true JPH02253486A (en) 1990-10-12
JP2762537B2 JP2762537B2 (en) 1998-06-04

Family

ID=13628149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7723389A Expired - Lifetime JP2762537B2 (en) 1989-03-28 1989-03-28 Program table input / output circuit

Country Status (1)

Country Link
JP (1) JP2762537B2 (en)

Also Published As

Publication number Publication date
JP2762537B2 (en) 1998-06-04

Similar Documents

Publication Publication Date Title
US7085863B2 (en) I2C device including bus switches and programmable address
US7088134B1 (en) Programmable logic device with flexible memory allocation and routing
US5386155A (en) Apparatus and method for selecting polarity and output type in a programmable logic device
JPH06333394A (en) Dual port computer memory device, method for access, computer memory device and memory structure
US6667636B2 (en) DSP integrated with programmable logic based accelerators
US6578155B1 (en) Data processing system with adjustable clocks for partitioned synchronous interfaces
US5968146A (en) Data transfer device for decreasing load of CPU by avoiding direct control from the CPU in parallel computer system
JPH02253486A (en) Program table input/output circuit
US5712991A (en) Buffer memory for I/O writes programmable selective
KR100453821B1 (en) Data bus system for micro controller
US5678030A (en) Modification of timing in an emulator circuit and method
US7058842B2 (en) Microcontroller with multiple function blocks and clock signal control
JPH03214250A (en) Memory control circuit
US7676631B2 (en) Methods for operating a CPU having an internal data cache
JPH06150024A (en) Microcomputer
JPH01142844A (en) Semiconductor integrated circuit
JPH05250497A (en) Device for selecting input/output function of microcomputer
JPH10254725A (en) Processor, and its bug adoiding method
JPH1166031A (en) Integrated timer for microcomputer
US20090108928A1 (en) Large-scale integrated circuit
JPH033047A (en) Memory with arithmetic function
JPH0497455A (en) Memory control circuit
KR19980083459A (en) Databus Sizing Device
JP2003288316A (en) Microcomputer device, input/output device, and semiconductor device
JPH11120114A (en) Data transfer device