JP2780406B2 - Initial setting control method - Google Patents
Initial setting control methodInfo
- Publication number
- JP2780406B2 JP2780406B2 JP2002988A JP298890A JP2780406B2 JP 2780406 B2 JP2780406 B2 JP 2780406B2 JP 2002988 A JP2002988 A JP 2002988A JP 298890 A JP298890 A JP 298890A JP 2780406 B2 JP2780406 B2 JP 2780406B2
- Authority
- JP
- Japan
- Prior art keywords
- parallel
- data
- serial
- output
- input
- 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
Links
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は初期設定制御方式に係り、特にバス接続制御
回路のような初期設定が必要な大規模集積回路(LSI)
の初期設定を行う制御方式に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an initialization control method, and particularly to a large-scale integrated circuit (LSI) requiring an initialization such as a bus connection control circuit.
And a control method for performing an initial setting.
例えば交換機、情報処理装置等における情報転送手段
として用いられる“共通バス(あるいはバス)”には、
多くのバス接続装置がつながるが、これら装置のバス接
続部にはバス接続制御回路(Bus Interface Controlle
r:BICと略す)が不可欠である。BIC内には適用装置に応
じた各種の転送動作条件を指定する制御レジスタがあ
り、これらの制御レジスタは電源断あるいはリセット時
に内容がクリアされるため、電源投入あるいはリセット
実行後に制御レジスタの内容を所定の状態にセットす
る、いわゆる“初期設定”が必要である。For example, "common buses (or buses)" used as information transfer means in exchanges, information processing devices, and the like include:
Many bus connection devices are connected, and a bus connection control circuit (Bus Interface Controlle) is provided at the bus connection portion of these devices.
r: BIC) is indispensable. The BIC has control registers that specify various transfer operation conditions according to the applicable device.The contents of these control registers are cleared when the power is turned off or reset. A so-called "initial setting" for setting to a predetermined state is required.
交換機、情報処理装置等における情報転送手段として
用いられる共通バスでは、各種の装置(CPU/メモリ/IO
等)を接続するが、それら装置ではバスと接続するため
にBICが用いられる。BICを正常な状態で使用するには内
部制御レジスタの初期設定が必要であるが、初期設定の
ため、バスアクセスオーダによる制御レジスタへの書き
込み/読み出しを行う場合に、いわゆるアドレス情報と
は別に装置を特定するための識別符号(ID)を付与し、
BICはアドレスとは別に送信されたID値と自身が保持す
るID値とを比較し、ID一致の場合はアクセスを受付け、
ID不一致の場合は無応答とし、無用な誤アクセスを防止
する方式が用いられることがある(なお、アドレスは、
この場合、BIC内部の制御レジスタを指定するために用
いられる)。また、IDには、BICおよびBIC配下の内部バ
スにつながる装置類を含む全体に対して付与するID(ID
A)と、BIC自身あるいはBICの内部バスにつながる装置
を特定するためのID(IDB)の2種類がある。In a common bus used as information transfer means in exchanges, information processing devices, etc., various devices (CPU / memory / IO
The BIC is used to connect to the bus in these devices. To use the BIC in a normal state, it is necessary to initialize the internal control register. However, when writing / reading to / from the control register by the bus access order for the initial setting, the device is separate from the so-called address information. Is given an identification code (ID) for identifying
BIC compares the ID value sent separately from the address with the ID value held by itself, and if the ID matches, accepts the access,
In the case of ID mismatch, there is a case where no response is made and a method for preventing unnecessary erroneous access is used.
In this case, it is used to specify the control register inside the BIC.) In addition, the ID assigned to the entire device including the BIC and the devices connected to the internal bus under the BIC (ID
A) and ID (IDB) for specifying a device connected to the BIC itself or the internal bus of the BIC.
BICの一般的な初期設定方法は、共通バスにつなが
るCPU等から共通バスインタフェース経由で制御レジス
タアクセスを行う場合と、内部バスにマイクロプロセ
ッサのようなインテリジェンスのあるものがつながって
いて、内部バス経由で制御レジスタアクセスを行う場
合、とがある。前者の場合にはIDAを指定し、後者の場
合にはIDBを指定して制御レジスタアクセスを行う必要
がある。The general method of initializing the BIC is to access control registers from the CPU or other device connected to the common bus via the common bus interface, or to connect the internal bus to a device with intelligence such as a microprocessor. There is a case where the control register is accessed by using. In the former case, IDA must be specified, and in the latter case, IDB must be specified to access the control register.
制御レジスタのオーダアクセスによる初期設定の手順
は上述の通りであるが、電源投入時あるいはリセット実
行時の制御レジスタアクセスの場合は、後述のID情報確
定のための自律初期設定が更に必要である。即ち、電源
投入あるいはリセット実行時は、BIC内の制御レジスタ
内容はクリアされているので、IDA/IDBとも正しい値に
なっていない。このような状態で、バスアクセスの受付
けを正しく判定できないため、予め、通常のバスインタ
フェースとは別の手段でこれらのIDを自律初期設定する
必要がある。The procedure of the initial setting by order access of the control register is as described above. However, in the case of the control register access at the time of turning on the power or executing the reset, the autonomous initial setting for determining the ID information described later is further required. That is, when the power is turned on or the reset is executed, the contents of the control registers in the BIC are cleared, so that neither IDA nor IDB has a correct value. In such a state, the acceptance of the bus access cannot be correctly determined. Therefore, it is necessary to autonomously initialize these IDs in advance by means different from a normal bus interface.
最近では、BICはLSIで実現されるのが普通であり、こ
の自律初期設定を、BIC−LSIの入出力端子の一部をID用
に使用し、該端子を所望のID値になるように電気的にプ
ルアップ/プルダウンしておき、電源投入あるいはリセ
ット実行時の直接にBIC内の自ID保持用制御レジスタへ
該端子情報を取り込むようにして実現するのが、これま
で初期設定制御方式である。Recently, the BIC is usually realized by an LSI, and this autonomous initialization is performed by using a part of the input / output terminals of the BIC-LSI for an ID so that the terminal has a desired ID value. Until now, it has been realized by the initial setting control method that the terminal information is directly taken into the own ID holding control register in the BIC when the power is turned on or the reset is executed. is there.
以上の例で述べた従来の初期設定制御方式では、IDA
またはIDB情報のビット数に等しいLSI端子とIDの種別を
指示するLSI端子が不可欠である。In the conventional initialization control method described in the above example, IDA
Alternatively, an LSI terminal equal to the number of bits of IDB information and an LSI terminal indicating the type of ID are indispensable.
しかるに、従来の方式ではBICのIDA/IDBの自律初期設
定をLSI端子から直接入力により実現するには、IDの自
律初期設定時に、取り敢えずIDA/IDBの何れか一方のみ
有ればよいので、IDAまたはIDBの何れか大きいビット数
に等しい端子数が必要になる。また、設定する情報がID
A/IDBの何れであるかを指定するIDタイプ表示ビット用
の1端子が必要になる。例えば、IDA/IDBが共に8ビッ
トの場合は、計9端子必要となる。このため、BICの場
合、共通バスと内部バスの双方のインタフェースを持
ち、元来、LSI端子数を多く必要とするうえに、自律初
期設定のために上記の如く多くのLSI端子数が必要なた
め、BICが高価になってしまうという問題がある。However, in the conventional method, in order to realize the autonomous initial setting of IDA / IDB of BIC by directly inputting from the LSI terminal, at the time of autonomous initial setting of ID, only IDA / IDB needs to be provided for only one of IDA / IDB. Alternatively, the number of terminals equal to the larger number of bits of IDB is required. The information to be set is ID
One terminal for an ID type indication bit for specifying which of A / IDB is required. For example, if IDA / IDB are both 8 bits, a total of 9 terminals are required. For this reason, the BIC has both a common bus and an internal bus interface, and originally requires a large number of LSI terminals, and also requires a large number of LSI terminals for autonomous initialization as described above. Therefore, there is a problem that BIC becomes expensive.
本発明は上記の点に鑑みてなされたもので、端子制限
の厳しい制御用LSIにおいてハードウェアで自律的に行
う初期設定に必要な端子数を削減し、更には設定情報も
容易に可変にし得る初期設定制御方式を提供することを
目的とする。The present invention has been made in view of the above points, and in a control LSI with severe terminal restrictions, the number of terminals required for initial setting to be autonomously performed by hardware can be reduced, and further, setting information can be easily changed. An object is to provide an initialization control method.
第1図は本発明の原理構成図を示す。同図中、101は
初期設定対象集積回路で、内部に直並列変換手段102,保
持レジスタ103及び信号発生回路104を有し、また直列デ
ータ入力端子105,クロック出力端子106及びシフト入出
力指示信号出力端子107を有する。上記の保持レジスタ1
03は直並列変換手段102の出力並列データを保持する。
また、信号発生回路104は少なくともシフト入出力指示
信号及びクロックを夫々発生する。FIG. 1 shows a principle configuration diagram of the present invention. In the figure, reference numeral 101 denotes an initial setting target integrated circuit, which internally has a serial-parallel conversion means 102, a holding register 103, and a signal generation circuit 104, and has a serial data input terminal 105, a clock output terminal 106, and a shift input / output instruction signal. It has an output terminal 107. Holding register 1 above
03 holds the output parallel data of the serial-parallel conversion means 102.
The signal generating circuit 104 generates at least a shift input / output instruction signal and a clock.
また、初期設定対象集積回路101の外部には、並直列
変換手段108及び並列データ出力手段109が設けられてい
る。この並直列変換手段108は、シフト入出力指示信号
がアサートしたことを契機に、並列データ出力手段109
からの並列データを内部に設定し、前記クロックに同期
して並直列変換を行い、得られた直列データを直列デー
タ入力端子105を介して直並列変換手段102へ供給する。Outside the initialization target integrated circuit 101, a parallel / serial conversion means 108 and a parallel data output means 109 are provided. The parallel-to-serial conversion means 108 is triggered by the shift input / output instruction signal being asserted.
Is set internally, parallel-to-serial conversion is performed in synchronization with the clock, and the obtained serial data is supplied to the serial-to-parallel conversion means 102 via the serial data input terminal 105.
直並列変換手段102はこの入力直列データを前記クロ
ックに同期して直並列変換を行い、得られた並列データ
を保持レジスタ103に初期設定情報として保持させる。The serial / parallel conversion means 102 performs serial / parallel conversion of the input serial data in synchronization with the clock, and causes the holding register 103 to hold the obtained parallel data as initial setting information.
また、前記並列データ出力手段109は、保持レジスタ1
03に初期設定情報として保持される並列データであっ
て、並列データの一部が設定データ種別を示し、かつ、
並列データの残りが設定データ内容を示すデータフォー
マットの並列データを出力する。Further, the parallel data output means 109 is provided in the holding register 1.
03 is parallel data held as initial setting information, a part of the parallel data indicates a setting data type, and
The remaining parallel data outputs parallel data in a data format indicating the contents of the setting data.
本発明の初期設定制御方式では、制御用LSIの自律初
期設定入力インタフェースをシリアル化したため、シリ
アルデータ信号(1本)、クロック(1本)、シフト入
出力指示信号(1本)、の計3本のLSI端子105〜107で
済み、制御用LSIの端子ネックの改善に寄与できる。In the initialization control method of the present invention, since the autonomous initialization input interface of the control LSI is serialized, a serial data signal (one), a clock (one), and a shift input / output instruction signal (one) are required. Only one LSI terminal 105 to 107 is needed, which can contribute to the improvement of the terminal neck of the control LSI.
また、自律初期設定情報は、設定データ種別と設定デ
ータとから構成し、制御用LSI外に設けた並直列変換手
段108の並列入力として初期設定情報を与えるため、目
的に応じて自由かつ可変な自律初期設定が可能になる。In addition, the autonomous initial setting information is composed of a setting data type and setting data, and the initial setting information is given as a parallel input of the parallel-serial conversion means 108 provided outside the control LSI, so that it is free and variable according to the purpose. Autonomous initialization becomes possible.
本発明方式は第2図に示す如き構成のマルチプロセッ
サシステムに適用される。同図中、1は共通バス、2−
1〜2−nはn台の中央処理装置(CPU)、3は共通メ
モリ(CMと略す)で、CPU2−1〜2−nとCM3とは共通
バス1を介して接続されている。The method of the present invention is applied to a multiprocessor system having a configuration as shown in FIG. In the figure, 1 is a common bus, 2-
1 to 2-n are n central processing units (CPUs), 3 is a common memory (abbreviated as CM), and the CPUs 2-1 to 2-n and CM3 are connected via a common bus 1.
共通バス1とインタフェースを持つ、CPU2−1〜2−
n,CM3とはそれぞれ内部にBICを内蔵し、CPU間あるいはC
PU−CM間でデータ送受のバス通信を行いつつ、所定の各
CPU内の目的プログラムを実行する。CPU 2-1 to 2- having interface with common bus 1
n and CM3 each have a built-in BIC,
While performing bus communication for data transmission and reception between PU and CM,
Execute the target program in the CPU.
第3図は、第2図のBICの位置付けを明確にするためC
PU2−1の内部構成を例示したもので、4はBIC,5は外付
け初期設定制御回路(INICと略す)、6はINIC−BIC間
のシリアルインタフェース、7はBICに接続する内部バ
ス、8はマイクロプロセッサ(MPUと略す)、9はRAMで
ある。INIC5は、電源投入あるいはシステムのリセット
実行時にBICの制御レジスタに自律初期設定のためのID
データを転送する回路であり、一旦、自律初期設定を完
了すると、以後のCPU内のプログラム実行には無関係と
なる。Fig. 3 shows C to clarify the position of BIC in Fig. 2.
The internal configuration of the PU 2-1 is illustrated as an example. 4 is a BIC, 5 is an external initialization control circuit (abbreviated as INIC), 6 is a serial interface between INIC and BIC, 7 is an internal bus connected to the BIC, 8 Denotes a microprocessor (abbreviated as MPU), and 9 denotes RAM. INIC5 has an ID for autonomous initialization in the BIC control register when the power is turned on or the system is reset.
This is a circuit for transferring data. Once autonomous initialization is completed, it becomes irrelevant for the subsequent execution of programs in the CPU.
RAM9にはCPU2−1で実行すべきプログラムが格納さ
れ、MPU8はそのプログラム実行の主体である。内部バス
7は、CPU2−1内の転送を行うと共に、共通バス1から
BIC4を介した受信転送、あるいはMPU8からプログラム命
令実行に従った内部バス7→BIC4→共通バス1→第2図
のCM3あるいは他CPU2−2〜2−nへの送信転送にも用
いられる。なお、この場合、第2図のCM3には各CPUで共
有されるデータが格納される。A program to be executed by the CPU 2-1 is stored in the RAM 9, and the MPU 8 is a main body for executing the program. The internal bus 7 transfers data within the CPU 2-1, and transmits data from the common bus 1.
It is also used for reception transfer via the BIC4 or transmission transfer from the MPU 8 to the internal bus 7 → BIC4 → common bus 1 → CM3 of FIG. 2 or other CPUs 2-2 to 2-n according to execution of a program instruction. In this case, data shared by the CPUs is stored in the CM3 in FIG.
本実施例はこのようなマルチプロセッサシステムを構
成するCPU2−1〜2−n内の各々のBIC4を前記初期設定
対象集積回路101とし、INIC5により初期設定を行なう例
であり、次に第4図及び第5図と共に本発明方式の一実
施例について説明する。This embodiment is an example in which each of the BICs 4 in the CPUs 2-1 to 2-n constituting such a multiprocessor system is set as the initialization target integrated circuit 101, and initialization is performed by using the INIC 5. FIG. An embodiment of the system of the present invention will be described with reference to FIGS.
第4図は本発明方式の一実施例の回路図で、同図中、
第1図と同一構成部分には同一符号を付し、その説明を
省略する。第4図において、10は直並列変換シフタ、10
−1は直並列変換シフタの出力信号線(mビット幅)、
11は保持レジスタ、11−1は保持レジスタ11の出力信号
線、12は各回路動作に必要なクロック供給用のパルスジ
ェネレータ(PGと略す)、13はINIC5およびBIC内の初期
設定データ受信用回路のタイミング制御信号およびセッ
ト/リセット信号を生成する制御回路、13−1は保持レ
ジスタ11用のデータセット指示出力信号線、13−2はカ
ウンタ18のリセット出力信号線、14は第1のアンドゲー
ト、15は電源クランプ入力信号線、16はリセット入力信
号線、17は第2のアンドゲート、17−1は第2のアンド
ゲートの出力信号線、18は直並列変換シフタのビット入
力計数用の2m−1ビットのカウンタ、18−1はカウンタ
のオーバフロー出力信号線、19は並直列変換シフタ、20
は第3のアンドゲート、20−1は第3のアンドゲートの
出力信号線、21は2入力選択形のディップスイッチ(DI
PSWと略す)、21−1〜21−mはDIPSW21の出力信号線、
22はDIPSW21の2入力選択用端子の一方に接続するグラ
ンド線、23はDIPSW21の2入力選択用端子の他の一方に
接続する+Vボルトの電源線である。また、6−1はシ
リアルデータ線、6−2はクロック線、6−3はシフト
入出力指示信号(TRNSと略す)線で、これらは前記シリ
アルインタフェース6を構成している。FIG. 4 is a circuit diagram of an embodiment of the method of the present invention.
The same components as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. In FIG. 4, reference numeral 10 denotes a serial-parallel conversion shifter;
-1 is an output signal line (m bit width) of the serial-parallel conversion shifter,
11 is a holding register, 11-1 is an output signal line of the holding register 11, 12 is a pulse generator (abbreviated as PG) for supplying a clock required for each circuit operation, and 13 is a circuit for receiving initial setting data in the INIC5 and the BIC. 13-1 is a data set instruction output signal line for the holding register 11, 13-2 is a reset output signal line of the counter 18, and 14 is a first AND gate. , 15 is a power clamp input signal line, 16 is a reset input signal line, 17 is a second AND gate, 17-1 is an output signal line of the second AND gate, and 18 is a bit input count of the serial-parallel conversion shifter. 2 m -1 bit counter, 18-1 is a counter overflow output signal line, 19 is a parallel / serial conversion shifter, 20
Is a third AND gate, 20-1 is an output signal line of the third AND gate, 21 is a two-input selection type DIP switch (DI
PSW), 21-1 to 21-m are output signal lines of DIPSW21,
Reference numeral 22 denotes a ground line connected to one of the two-input selection terminals of the DIPSW 21, and reference numeral 23 denotes a + V volt power supply line connected to the other one of the two-input selection terminals of the DIPSW 21. 6-1 is a serial data line, 6-2 is a clock line, 6-3 is a shift input / output instruction signal (abbreviated as TRNS) line, and these constitute the serial interface 6.
本実施例はBIC4のIDA/IDB値入力用のインタフェース
をシリアル化し、BIC4の外付け回路で用意した情報を送
り込むことで、BIC−LSI自身の所要端子数を削減する。
また、外付け回路からは、IDA/IDBの何れかであること
を示すIDタイプ表示ビット(1ビット)とID値ビット
(システムによって必要なビット数、例えば8ビット)
のみを生成してBIC4に送信できる機能を持たせる。実際
の外付け回路は、並直列変換シフタ19を中心に構成し、
並直列変換シフタ19の並列入力をID値およびIDタイプ表
示ビットに割付け、電源投入あるいはリセット実行の完
了タイミングに、並列情報を直列情報に変換して、ID初
期設定用シリアルインタフェースを介してBIC4へ送信す
るよう構成する。このような機能を持つ基本回路は市販
されており、容易に入手することが可能である(例え
ば、テキサス インスツルメンツ社の8ビット並直列変
換用SN54/74LSI65−IC等)。なお、BIC4内ではこれらの
ID情報を保持するための制御レジスタを用意するが、こ
の点に関しては従来方式でも本実施例でも同じである。In this embodiment, the required number of terminals of the BIC-LSI itself is reduced by serializing the interface for inputting the IDA / IDB value of the BIC 4 and sending information prepared by an external circuit of the BIC 4.
Also, from an external circuit, an ID type indication bit (1 bit) indicating IDA or IDB and an ID value bit (the number of bits required by the system, for example, 8 bits)
It has a function that can generate and transmit only to BIC4. The actual external circuit is composed mainly of the parallel / serial conversion shifter 19,
The parallel input of the parallel-to-serial conversion shifter 19 is assigned to the ID value and the ID type display bit, and the parallel information is converted to serial information at the completion timing of the power-on or reset execution, and is transmitted to the BIC4 via the ID initial setting serial interface. Configure to send. A basic circuit having such a function is commercially available and can be easily obtained (for example, an SN54 / 74LSI65-IC for 8-bit parallel / serial conversion by Texas Instruments). In BIC4, these
A control register for holding ID information is prepared, and this point is the same in the conventional method and the present embodiment.
本実施例では、自律初期設定の際に、BIC4内で受信し
たIDタイプ表示ビットとID値(IDA/IDB)とを保持レジ
スタに格納し、保持レジスタの内容を以後のBIC内制御
に用いる。In this embodiment, at the time of the autonomous initialization, the ID type display bit and the ID value (IDA / IDB) received in the BIC 4 are stored in the holding register, and the contents of the holding register are used for the subsequent BIC control.
次に本実施例の動作について第5図を参照しつつ第4
図と共に説明する。第4図において、信号線15を介して
BIC4の外部から供給される電源クランプ入力又は信号線
16を介してBIC4の外部から供給されるリセット入力が
“1"になると、第1のアンドゲート14の出力14−1が
“1"となり、制御回路13は該出力14−1が“1"となって
から一定のタイミングディレーを取った後、PG12の第5
図(B)に示す出力クロックに同期して信号線6−3の
TRNS信号を第5図(A)に示す如く“1"とし、並直列変
換シフタ19および直並列変換シフタ10のシフト機能をイ
ネーブル状態にすると共に、リセット出力信号線13−2
の信号を“1"にしてカウンタ18にリセットを指示する。
これと同時に、第2のアンドゲート17および第3のアン
ドゲート20はTRNS信号が“1"になると、第5図(C)に
示す如くクロックを出力してシフタ10およびシフタ19の
クロック端子へ供給する。Next, the operation of this embodiment will be described with reference to FIG.
It will be described with reference to the drawings. In FIG. 4, via signal line 15
Power supply clamp input or signal line supplied from outside BIC4
When the reset input supplied from the outside of the BIC 4 via "16" becomes "1", the output 14-1 of the first AND gate 14 becomes "1", and the control circuit 13 sets the output 14-1 to "1". After a certain timing delay, the fifth PG12
In synchronization with the output clock shown in FIG.
The TRNS signal is set to "1" as shown in FIG. 5 (A), the shift function of the parallel / serial conversion shifter 19 and the serial / parallel conversion shifter 10 is enabled, and the reset output signal line 13-2 is set.
Is set to "1" to instruct the counter 18 to reset.
At the same time, when the TRNS signal becomes "1", the second AND gate 17 and the third AND gate 20 output a clock as shown in FIG. 5 (C) to the clock terminals of the shifters 10 and 19. Supply.
並直列変換シフタ19の並列入力はDIPSW21のmビット
出力であり、DIPSW21のmビット出力に対応する2入力
選択はグランドレベル22か+Vボルトの電源23から抵抗
を介して供給される電圧レベルかである。その選択はDI
PSW21のm個のスイッチによって設定され、並直列変換
シフタ19には“0"または“1"の任意の組み合わせのmビ
ット入力が与えられる。並直列変換シフタ19への実際の
mビット並列データ入力の取り込みは、第3のアンドゲ
ート20へのTRNS信号線6−3を介して入力されるTRNS信
号が“1"になり、かつ、クロック線6−2を介してクロ
ック入力が第3のアンドゲート20へ入力されることによ
りアンドゲート20から信号線20−1へ出力される第5図
(C)に示すクロックに同期して行われる。The parallel input of the parallel-to-serial conversion shifter 19 is the m-bit output of the DIPSW21, and the two-input selection corresponding to the m-bit output of the DIPSW21 depends on the ground level 22 or the voltage level supplied from the power supply 23 of + V volt through the resistor. is there. The choice is DI
This is set by the m switches of the PSW 21, and the parallel-to-serial conversion shifter 19 is provided with an m-bit input of any combination of “0” or “1”. The actual input of the m-bit parallel data to the parallel-to-serial conversion shifter 19 is performed when the TRNS signal input to the third AND gate 20 via the TRNS signal line 6-3 becomes "1" and the clock is The clock input to the third AND gate 20 via the line 6-2 is performed in synchronization with the clock shown in FIG. 5C output from the AND gate 20 to the signal line 20-1. .
TRNS信号が“1"になったこと(すなわちアサートした
こと)を契機にしてmビットデータのセットが並直列変
換シフタ19で完了し、一定のタイミング後、並直列変換
シフタ19は該並列データをクロックに同期してシリアル
データ線6−1を介して第5図(E)に示す如くビット
シリアルに送出する。第5図(D)はこの並直列変換シ
フタ19でのシフタデータ確定を“1"で模式的に示してい
る。When the TRNS signal becomes “1” (that is, asserted), the set of m-bit data is completed by the parallel / serial conversion shifter 19, and after a certain timing, the parallel / serial conversion shifter 19 outputs the parallel data. The data is transmitted bit-serially in synchronization with the clock via the serial data line 6-1 as shown in FIG. FIG. 5 (D) schematically shows the determination of the shifter data in the parallel / serial conversion shifter 19 by "1".
一方、直並列変換シフタ10は、TRNS信号が“1"になる
と、動作可能状態になり、シリアルデータ線6−1から
送信されるシリアルデータを、第2のアンドゲート17か
ら出力信号線17−1を介して入力されるクロックに同期
して受信する。この時、カウンタ18はアンドゲート17か
らのクロック出力により、クロック毎にカウントアップ
し、mビットをカウントした時点でオーバフロー出力信
号線18−1の出力信号を“1"とし、制御回路13に直列デ
ータの受信完了を知らせる。On the other hand, when the TRNS signal becomes "1", the serial-parallel conversion shifter 10 is in an operable state, and transfers serial data transmitted from the serial data line 6-1 to the output signal line 17- 1 and is received in synchronization with a clock input through the clock. At this time, the counter 18 counts up for each clock by the clock output from the AND gate 17, and when the m bits are counted, the output signal of the overflow output signal line 18-1 is set to "1", and the counter 18 is connected to the control circuit 13 in series. Notifies completion of data reception.
並直列変換シフタ19と直並列変換シフタ10との間で、
mビットのデータ送受信が完了すると、制御回路13はTR
NS信号が第5図(A)に示す如く“0"となるよう(ネゲ
ートするよう)制御する。この時点で、直並列変換シフ
タ10のmビットの出力信号線10−1へ取り出されるmビ
ット並列データは第5図(F)に“1"で模式的に示す如
く確定する。Between the parallel / serial conversion shifter 19 and the serial / parallel conversion shifter 10,
When the transmission and reception of m-bit data are completed, the control circuit 13
Control is performed so that the NS signal becomes "0" (negated) as shown in FIG. 5 (A). At this point, the m-bit parallel data extracted to the m-bit output signal line 10-1 of the serial-parallel conversion shifter 10 is determined as schematically shown by "1" in FIG. 5 (F).
次に、制御回路13は保持レジスタ11へセット入力信号
を出力13−1より供給し、これを受けた保持レジスタ11
は出力信号線10−1のmビット並列データをクロックに
同期して第5図(G)に模式的に示す如く初期設定情報
として取り込む。これ以降、保持レジスタ11の出力信号
線11−1によるデータは、第5図(H)に“1"で模式的
に示す如く確定し、BIC内部の各種制御に参照される。Next, the control circuit 13 supplies the set input signal to the holding register 11 from the output 13-1, and receives the set input signal from the holding register 11.
Captures the m-bit parallel data on the output signal line 10-1 in synchronization with the clock as initial setting information as schematically shown in FIG. 5 (G). Thereafter, the data on the output signal line 11-1 of the holding register 11 is determined as schematically shown by "1" in FIG. 5 (H), and is referred to for various controls inside the BIC.
次に、データ内容について説明すると、最終的に保持
レジスタ11にセットされるデータは、前記設定データ種
別に相当するIDタイプ表示データ1ビットと、特定デー
タ内容に相当するIDデータ(m−1)ビットからなり、
データそのものは送信元のDIPSW21のスイッチの状態で
決定される。例えば、IDタイプ表示ビットが“0"の場合
はIDデータがIDBを意味し、IDタイプ表示ビットが“1"
の場合は、IDデータがIDAを意味するように定義する。Next, the data content will be described. The data finally set in the holding register 11 includes ID type display data 1 bit corresponding to the set data type and ID data (m-1) corresponding to the specific data content. Consisting of bits,
The data itself is determined by the state of the switch of the source DIPSW21. For example, if the ID type indicator bit is “0”, the ID data indicates IDB, and the ID type indicator bit is “1”.
In the case of, the ID data is defined to mean IDA.
このようにして、本発明の実施例では、電源投入ある
いはリセット実行を契機に、IDタイプ表示ビットおよび
IDB/IDAの何れかの任意の(m−1)ビットのIDデータ
を自律初期設定可能である。As described above, in the embodiment of the present invention, the ID type display bit and the
Any ID data of (m-1) bits of IDB / IDA can be autonomously initialized.
BIC4は、これ以降、保持レジスタ11の内容を参照し、
IDタイプ表示ビットの内容がIDBを指定している場合
は、第3図の内部バス7からのバスアクセスを受け付け
るが、その際、保持レジスタ11の残りの(m−1)ビッ
トのデータをBIC4自身のIDBと解釈して、内部バス7か
ら送られるIDBと比較し、一致したらそのアクセスを受
付け、不一致であれば無応答となるよう動作する。BIC4 thereafter refers to the contents of the holding register 11, and
If the content of the ID type display bit specifies IDB, the bus access from the internal bus 7 in FIG. 3 is accepted. At this time, the remaining (m-1) -bit data of the holding register 11 is transferred to the BIC4. It interprets the IDB as its own IDB, compares it with the IDB sent from the internal bus 7, accepts the access if it matches, and operates without response if it does not match.
一方、IDタイプ表示ビットがIDAを指定している場合
には、第3図の共通バス1からのアクセスを受付け、上
記と同様に一致/不一致に応じた動作を行う。BIC4は、
これらのバスアクセスが受信可能になったことにより、
BIC4の転送制御動作に必要な他の各種制御レジスタの内
容を書き込む、いわゆる“初期設定”が可能になる。な
お、mはシステムの要求に応じて任意のビット幅を選択
できるが、通常、8ビット程度で十分と考えられる(ID
が7ビットで27=128個の指定可能)。On the other hand, when the ID type indication bit specifies IDA, the access from the common bus 1 in FIG. 3 is accepted, and the operation corresponding to the match / mismatch is performed in the same manner as described above. BIC4 is
By receiving these bus accesses,
The so-called "initial setting" of writing the contents of other various control registers necessary for the transfer control operation of the BIC 4 becomes possible. Note that m can be selected to any bit width in accordance with the requirements of the system, but it is generally considered that about 8 bits is sufficient (ID
Is 7 bits and 2 7 = 128 can be specified).
又、上述の実施例では、並直列変換シフタ19の並列入
力手段としてDIPSW21を用いる場合について述べたが、
用途によって入力を固定化した方がよい場合には、並直
列変換シフタ19の並列入力の各端子をそれぞれプルアッ
プあるいはプルダウンするようハンダ付け処理してもよ
い。In the above-described embodiment, the case where the DIPSW 21 is used as the parallel input means of the parallel-to-serial conversion shifter 19 has been described.
If it is better to fix the input depending on the application, soldering processing may be performed so that each parallel input terminal of the parallel-to-serial conversion shifter 19 is pulled up or down.
なお、本発明の実施例では、BIC4のIDのみを自律初期
設定する場合について説明したが、BIC4の保持レジスタ
11へ取り込むmビットの内容定義を変更することで、他
の制御情報の設定も可能になり、また、他の制御用LSI
の制御情報の自律初期設定にも容易に応用できることは
上述より明らかである。In the embodiment of the present invention, the case where only the ID of BIC4 is autonomously initialized has been described.
By changing the definition of the m-bit content to be loaded into 11, other control information can be set, and other control LSI
It is clear from the above that the present invention can be easily applied to the autonomous initialization of the control information.
以上説明した通り、本発明方式によれば、従来のLSI
端子から直接入力する制御方式に較べ、シリアルインタ
フェース用の3端子のみで済むため所要LSI端子数を大
幅に削減することができ、また、外付けの並直列変換シ
フタの並列入力への設定情報内容を可変化できるので、
上記IDに限らず各種制御情報を自由かつ可変な初期設定
ができる等の特長を有するものである。As described above, according to the method of the present invention, the conventional LSI
Compared to the control method of direct input from the terminals, only three terminals for the serial interface are required, so the number of required LSI terminals can be greatly reduced. Also, the setting information contents for the parallel input of the external parallel-to-serial conversion shifter Can be varied,
Not only the ID but also various kinds of control information can be freely and variably initialized.
第1図は本発明の原理構成図、 第2図は本発明が適用されるマルチプロセッサシステム
の構成例を示す図、 第3図は第2図中のCPUの構成図、 第4図は本発明方式の一実施例の回路図、 第5図は第4図の動作説明用タイムチャートである。 4…バス接続制御回路(BIC)、5…外付け初期設定制
御回路(INIC)、10…直並列変換シフタ、11,103…保持
レジスタ、19…並直列シフタ、21…ディップスイッチ
(DIPSW)、101…初期設定対象集積回路、102…直並列
変換手段、104…信号発生回路、105…直列データ入力端
子、106…クロック出力端子、107…シフト入出力指示信
号出力端子。FIG. 1 is a block diagram showing the principle of the present invention, FIG. 2 is a diagram showing a configuration example of a multiprocessor system to which the present invention is applied, FIG. 3 is a block diagram of a CPU in FIG. 2, and FIG. FIG. 5 is a circuit diagram of an embodiment of the method of the invention, and FIG. 5 is a time chart for explaining the operation of FIG. 4 Bus connection control circuit (BIC), 5 External initialization control circuit (INIC), 10 Serial-parallel conversion shifter, 11,103 Holding register, 19 Parallel serial shifter, 21 Dip switch (DIPSW), 101 Initial setting target integrated circuit, 102: serial-parallel conversion means, 104: signal generation circuit, 105: serial data input terminal, 106: clock output terminal, 107: shift input / output instruction signal output terminal.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−58109(JP,A) 特開 昭61−289452(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 1/24────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-3-58109 (JP, A) JP-A-61-289452 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 1/24
Claims (2)
段と、該直並列変換手段の出力並列データを保持する保
持レジスタと、少なくとも該直並列変換手段のシフト動
作を制御するシフト入出力指示信号及びクロックを夫々
発生する信号発生回路と、該直並列変換手段への直列デ
ータ入力端子と、該クロックの出力端子と該シフト入出
力指示信号の出力端子とを設け、 該初期設定対象集積回路の外部に、該シフト入出力指示
信号により動作制御され、かつ、外部入力並列データを
該クロックに基づいて並直列変換する並直列変換手段
と、該並直列変換手段へ並列データを出力する並列デー
タ出力手段とを設け、 該シフト入出力指示信号がアサートしたことを契機に、
該並直列変換手段は該並列データ出力手段からの並列デ
ータを内部に設定し、該クロックに同期して並直列変換
し、その直列データを該直列データ入力端子を介して該
直並列変換手段に入力し、該クロックに同期して該直並
列変換手段により直並列変換して得た並列データを前記
保持レジスタに初期設定情報として保持させることを特
徴とする初期設定制御方式。1. A serial / parallel converter, a holding register for holding output parallel data of the serial / parallel converter, and a shift input / output for controlling at least a shift operation of the serial / parallel converter in an integrated circuit to be initialized. A signal generating circuit for respectively generating an instruction signal and a clock, a serial data input terminal to the serial-parallel conversion means, an output terminal for the clock, and an output terminal for the shift input / output instruction signal; A parallel / serial conversion means for controlling the operation of the shift input / output instruction signal outside the circuit and for parallel / serial conversion of external input parallel data based on the clock, and a parallel / serial conversion means for outputting parallel data to the parallel / serial conversion means. Data output means, and when the shift input / output instruction signal is asserted,
The parallel / serial conversion means sets parallel data from the parallel data output means therein, performs parallel / serial conversion in synchronization with the clock, and converts the serial data to the serial / parallel conversion means via the serial data input terminal. An initial setting control method, wherein parallel data input and serial data converted by the serial / parallel conversion means in synchronization with the clock is held in the holding register as initial setting information.
スタに初期設定情報として保持される並列データであっ
て、該並列データの一部が設定データ種別を示し、か
つ、該並列データの残りが設定データ内容を示すデータ
フォーマットの並列データを出力することを特徴とする
請求項1記載の初期設定制御方式。2. The parallel data output means according to claim 1, wherein said parallel data is held as initial setting information in said holding register, wherein a part of said parallel data indicates a set data type, and a remainder of said parallel data is 2. The initial setting control method according to claim 1, wherein parallel data in a data format indicating the contents of the setting data is output.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002988A JP2780406B2 (en) | 1990-01-10 | 1990-01-10 | Initial setting control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002988A JP2780406B2 (en) | 1990-01-10 | 1990-01-10 | Initial setting control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03208110A JPH03208110A (en) | 1991-09-11 |
| JP2780406B2 true JP2780406B2 (en) | 1998-07-30 |
Family
ID=11544757
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002988A Expired - Fee Related JP2780406B2 (en) | 1990-01-10 | 1990-01-10 | Initial setting control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2780406B2 (en) |
-
1990
- 1990-01-10 JP JP2002988A patent/JP2780406B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03208110A (en) | 1991-09-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4935868A (en) | Multiple port bus interface controller with slave bus | |
| US4349870A (en) | Microcomputer with programmable multi-function port | |
| KR900007564B1 (en) | Data processor with a dynamic bus | |
| EP0233373B1 (en) | Programmable communication card | |
| JPH05204820A (en) | Microcessor, processing system and bus interface | |
| WO1998048356A1 (en) | A single chip microcontroller having down-loadable memory organization supporting 'shadow' personality, optimized for bi-directional data transfers over a communication channel | |
| JPH0738187B2 (en) | Microcomputer configured in LSI | |
| EP0978051A1 (en) | Dynamically reconfigurable hardware system for real-time control of processes | |
| JPS5831431A (en) | Interface circuit | |
| US6671765B1 (en) | Architecture enabling code overlay using a dedicated endpoint | |
| JPS63106060A (en) | High-speed interconnect equipment for digital data processing systems | |
| US6122747A (en) | Intelligent subsystem interface for modular hardware system | |
| JPH09212451A (en) | System and method for data processing for accessing external element | |
| JPS5925254B2 (en) | Digital data processing equipment | |
| JPS5844558A (en) | N-channel mos semiconductor processor | |
| EP1629374B1 (en) | System boot method | |
| US6175887B1 (en) | Deterministic arbitration of a serial bus using arbitration addresses | |
| US5892930A (en) | Target peripheral device detection | |
| US5862375A (en) | System for effecting communications between a computing device and a plurality of peripheral devices | |
| JP2780406B2 (en) | Initial setting control method | |
| EP0473277B1 (en) | Apparatus for controlling access to a data bus | |
| US20040015615A1 (en) | Method for performing data transfer of KVM switch | |
| US6813697B1 (en) | Data processor and data processing system | |
| KR100238313B1 (en) | Apparatus and method for interfacing between cpu and peripheral device | |
| JP2687416B2 (en) | Microprocessor with expansion port |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090515 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |