JPS61198354A - Lsi mode setting circuit - Google Patents

Lsi mode setting circuit

Info

Publication number
JPS61198354A
JPS61198354A JP60039281A JP3928185A JPS61198354A JP S61198354 A JPS61198354 A JP S61198354A JP 60039281 A JP60039281 A JP 60039281A JP 3928185 A JP3928185 A JP 3928185A JP S61198354 A JPS61198354 A JP S61198354A
Authority
JP
Japan
Prior art keywords
mode
lsi
flip
data
flop
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
JP60039281A
Other languages
Japanese (ja)
Inventor
Teruhisa Fujimoto
曜久 藤本
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP60039281A priority Critical patent/JPS61198354A/en
Publication of JPS61198354A publication Critical patent/JPS61198354A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

PURPOSE:To eliminate the need for any special input pin by adding a small quantity of hardware to the inside and outside of an LSI so as to use the firmware in common. CONSTITUTION:Plural mode settings are attained by adding gates 6, 7, 8, 9 and a flip-flop 10. When n-set of the mode setting flip-flops 10 are used, a maximum of 2<n> ways of modes are set. In order to change the mode even except resetting, a clock signal from an address decoder 11 and a mode data input from a data bus (DATA) are given to the mode setting flip-flop 10. When no mode change is required except resetting, the circuit above is not required and an RS flip-flop with a few cell number can be used for the flip-flop 10.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はモード初期設定機能を持つLSIのLSIモー
ド設定回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an LSI mode setting circuit for an LSI having a mode initial setting function.

近年、半導体技術の進歩により、マイクロプロセッサ及
びその周辺ファミリーである周辺デバイス制御用のLS
Iが安価に入手出来る様になった。これら既成のLSI
コンポーネントは外部論理回路を付加せずに組合せ可能
でちり、これらが持つソフトウェア命令を用いて有機的
に結合することにより比較的高性能なマイクロコンピュ
ータシステムを構築することが出来る。
In recent years, due to advances in semiconductor technology, LS for controlling peripheral devices, which are microprocessors and their peripheral families, has increased.
I can now be obtained cheaply. These ready-made LSIs
The components can be combined without adding an external logic circuit, and by organically combining them using their software instructions, a relatively high-performance microcomputer system can be constructed.

ところで、従来、上述したLSIを複数のモードで動作
させようとした場合、これを選択するには以下に示す2
通シの方法が用いられていた。
By the way, conventionally, when trying to operate the above-mentioned LSI in multiple modes, the following two modes were used to select one.
The traditional method was used.

1つはLSI内部にモードを選択するフリップフロップ
を設け、これi CPUの入出カニリアに割当てて、フ
丁−ムウアアでモード設定を行方う方法である。他の1
つは単体で使用する様な場合等、CPUによシモード設
定ができない場合、モード設定用の入力ビンをLSIに
設けてモード設定する方法である。
One method is to provide a flip-flop for selecting a mode inside the LSI, allocate it to the input/output terminal of the iCPU, and set the mode on a one-to-one basis. other 1
One method is to set the mode by providing an input bin for mode setting on the LSI when the CPU cannot set the mode, such as when the LSI is used alone.

前者は、LSIが動作しはじめた時、既にモード設定が
されていなければならない場合には不適当な方法であり
、初期設定が違うというだけの理由でファーム・ウェア
が共用できないことがしばしばある。又、後者はモード
設定のための専用入力ピンが必要とな9、このビンが有
効に使われていないといった不都合を有していた。
The former method is inappropriate when the mode must already be set when the LSI starts operating, and firmware often cannot be shared simply because the initial settings are different. Furthermore, the latter requires a dedicated input pin for mode setting9, and has the disadvantage that this pin is not used effectively.

〔発明の目的〕[Purpose of the invention]

本発明は上記欠点に鑑みてなされたものであり、LSI
内外に少量のハードウェアを付加することによりファー
ムウェアの共通化をはかフ、特別な入力ビンを不要とす
るLSIモード設定回路を提供することを目的とする。
The present invention has been made in view of the above drawbacks, and is
It is an object of the present invention to provide an LSI mode setting circuit that allows commonization of firmware by adding a small amount of hardware inside and outside, and eliminates the need for a special input bin.

〔発明の概要〕[Summary of the invention]

現在、LSIの多くは、モードの初期設定をファームウ
ェアで行なっているが、ファームウェアの中にはLSI
の初期設定部分をなくせば、共通して使えるという場合
がしばしばある。そこで、LSI自体がモード初期設定
の機能を持つことは、非常に有用である。本発明はこの
ことに鑑み、LSI中にモードフリップフロッグ及びモ
ードデータ及びリセット信号からモードフリップフロッ
プのセット/リセットをコントロールするいくつかのゲ
ートを備え、且つLSIの外に、データベース経由のあ
る目的で使用される入力信号と設定すべきモードデータ
とを多重化し、リセット時モードデータ、それ以外のと
き入力信号を上記LSIへ供給する外部付加回路とを備
えた。
Currently, most LSIs use firmware to make initial mode settings, but some firmware
It is often possible to use them in common by removing the initial setting part. Therefore, it is very useful for the LSI itself to have a mode initial setting function. In view of this, the present invention includes a mode flip-flop in the LSI and several gates that control the set/reset of the mode flip-flop from mode data and reset signals, and also provides a mode flip-flop outside the LSI for a certain purpose via a database. An external additional circuit is provided which multiplexes the input signal to be used and the mode data to be set, and supplies the mode data at reset time and the input signal at other times to the LSI.

このことにより、ファームウェアでLSIのモード初期
設定を行なう必要がなくなフ、ファームウェアの共通化
をはかることが出来る。又、特別な入力ピンを設ける必
要もなくなる。
This eliminates the need to initialize the mode of the LSI using firmware, making it possible to standardize the firmware. Also, there is no need to provide a special input pin.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明実施例につき図面を使用して詳細に説明す
る。第1図は本発明の実施例を示すLSI内部の回路構
成を示す図であフ、本発明の特徴部分のみが抽出され示
されている。図において、1〜5はLSIの入出カバ、
ファ、6はモード入力を反転させるインバータ、7はリ
セ。
Hereinafter, embodiments of the present invention will be described in detail using the drawings. FIG. 1 is a diagram showing a circuit configuration inside an LSI showing an embodiment of the present invention, and only the characteristic parts of the present invention are extracted and shown. In the figure, 1 to 5 are LSI input/output covers;
6 is an inverter that inverts the mode input, and 7 is a reset circuit.

ト信号を反転させるインバータ、8,9はモード設定フ
リップフロ、プ10をセット/リセットするナンドゲー
ト、10はモード設定フリップフロップ、11はLSI
内部レジスタ(図示せず)のアドレス・デコーダである
8 and 9 are mode setting flip-flops, NAND gates are used to set/reset 10, 10 is a mode setting flip-flop, and 11 is an LSI.
Address decoder for internal registers (not shown).

本発明実施例は2つのモードを持つ場合を例示したもの
であシ、)y’ −トロ、8.9.10及びフリップフ
ロップ10を追加することで複数のモード設定を行なう
ことが出来る。モード設定フリップフロップ10がn個
ある場合、最大で2n通りのモードが設定可能である。
The embodiment of the present invention is an example of a case where there are two modes; however, by adding )y'-toro, 8.9.10, and a flip-flop 10, a plurality of mode settings can be performed. When there are n mode setting flip-flops 10, a maximum of 2n modes can be set.

本発明実施例では、リセット時以外でもモードの変更が
できるように、モード設定フリップフロップ10にアド
レス・デコーダ11からのクロック信号、データ・バス
(DATA)からのモード・データ入力が接続しである
が、リセット時以外にモードの変更が必要でない場合に
は、この回路は不要であり、モード設定フリップ70.
グ10には、セル数の少゛ない、RSタイグフリップ7
0ツブを用いることができる。
In the embodiment of the present invention, the clock signal from the address decoder 11 and the mode data input from the data bus (DATA) are connected to the mode setting flip-flop 10 so that the mode can be changed even at times other than reset. However, if there is no need to change the mode other than during reset, this circuit is unnecessary and the mode setting flip 70.
Group 10 includes RS tie flip 7, which has a small number of cells.
0 tubes can be used.

第1図に示し之LSIを使用した場合、本発明を完成さ
せるために必要な外部回路の実施例を第2図に示す。あ
る目的で使用される入力信号Xとモード・データ(ここ
ではVCC又はGNDとする)をセレクタ21で多重化
しLSI 22に入力する。セレクタ2ノは、リセット
時にはモード・データ、それ以外では入力信号xt比出
力るように制御する。
When the LSI shown in FIG. 1 is used, FIG. 2 shows an example of an external circuit necessary to complete the present invention. An input signal X used for a certain purpose and mode data (here VCC or GND) are multiplexed by a selector 21 and input to an LSI 22 . The selector 2 is controlled so that mode data is output at the time of reset, and the input signal xt ratio is output at other times.

第3図に示した実施例は、モード・データをデータバス
(DATA)から入力するケースであり、データ・パス
(DATA)に接続しであるトライステート・バッファ
31,32.33をONにしてデータバス(DATA)
上にモード・データを出力する。このときデータの衝突
を防ぐためにデータバス(DATA)に接続されている
他のトライステートバッファはすべてOFFにしておく
必要がある。
The embodiment shown in FIG. 3 is a case where mode data is input from the data bus (DATA), and the tristate buffers 31, 32, and 33 connected to the data path (DATA) are turned on. Data bus (DATA)
Output mode data on top. At this time, all other tristate buffers connected to the data bus (DATA) must be turned off to prevent data collision.

モード・データはリセット時のみ出力されるものとして
、LSI 34内部の双方向性データ・パス・バッファ
の方向は、リセット時に外部から内部へ入力するように
制御する。第1図において、モード・データはデータ・
パスから入力するため、接続はポイント■−■からポイ
ント■−0にする。LSIのどのピンからモード・デー
タを入力するかは、外部回路が簡単になるかどうかを考
慮して決める。
Assuming that mode data is output only at reset, the direction of the bidirectional data path buffer inside the LSI 34 is controlled so that it is input from the outside to the inside at reset. In Figure 1, mode data is data
In order to input from the path, connect from point ■-■ to point ■-0. Which pin of the LSI should be used to input the mode data is determined by considering whether the external circuit will be simple.

第4図は本発明実施例の動作を示すタイミングチャート
である。
FIG. 4 is a timing chart showing the operation of the embodiment of the present invention.

以下、本発明実施例の動作につき第4図に示したタイミ
ングチャートを使用して詳細に説明する。第4図に示し
たタイミングチャートはLSIに入力するリセット信号
入力(RESET)とモード信号入力(MODE)との
関係が示されており、を凰五、ハリセット信号ノ臂ルス
幅j tDAYは、リセ、ト信号の立下がりからモード
設定データが確定するまでの時間1 kglcTは、リ
セット信号が立上がるまでのモード・データ保持期間を
示す。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail using the timing chart shown in FIG. The timing chart shown in FIG. 4 shows the relationship between the reset signal input (RESET) and the mode signal input (MODE) input to the LSI. The time 1 kglcT from the fall of the reset signal until the mode setting data is determined indicates the mode data holding period until the reset signal rises.

リセットがかかると、LSI外部のセレクタ・即ち、第
2図のセレクタ21.第3図のトライステードパ、ファ
31.32.33を通して、LSIのある入力ピンから
モード・データが入力される。モード・データが確定し
て、ナントゲート8,9によシモード設定フリッf70
ッデがセットまたは、リセットされる。toAv+ts
+ct時間以上経過してからリセット信号を立上げると
ナントゲート8.9出力は共に″T(IGH”レヘルと
な夛モード設定が終了する。タイミング上必要な条件を
以下に列挙する。
When a reset is applied, a selector external to the LSI, that is, selector 21. in FIG. Mode data is input from a certain input pin of the LSI through the tri-stepper 31, 32, and 33 in FIG. After the mode data is confirmed, set the mode using Nantes gates 8 and 9 f70
set or reset. toAv+ts
When the reset signal is raised after +ct time has elapsed, both the outputs of the Nant gates 8 and 9 are set to the "T (IGH") level, and the multiple mode setting is completed. Required timing conditions are listed below.

(”)   taxs > toxv + tB!H7
+ LSI内部のゲート・ディレィ (2)  taxr>モードフリップフロップ10のセ
ットリセット最小パルス幅 (3)  t HL Dは、LSI内部のケートのディ
レィを考慮してモード設定フリップフ ロッジ10にデータを保持する のに充分な時間をとる。
(”) taxes > toxv + tB!H7
+ Gate delay inside the LSI (2) taxr > mode flip-flop 10 set/reset minimum pulse width (3) t HL D holds data in the mode setting flip-flop 10 considering the gate delay inside the LSI Take enough time to

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

以上説明の様に本発明によればファーム・ウェアでLS
Iのモード初期設定を行なう必要がない。このことは、
初期設定におけるモードの選択やモード設定がハードウ
ェアの違いによる(例えば、メモリの種類の違いによる
コントロール糸の変更など)ファーム・ウェアの動作フ
ローに影響しない場合に、ファーム・ウェアを変更する
必要がなく、ファーム・ウェアの共通化を行なうことが
できる。またリセット時にモード設定を行なうため、モ
ードの違いによる出力ピンの不定状態が起こらない。又
、モード・データ入力は、多重化しているので、特別な
入力ピンを設ける必要がなくなり、従ってどのタイプの
LSIにも用いることができる。
As explained above, according to the present invention, LS is
There is no need to initialize the I mode. This means that
It is necessary to change the firmware when the mode selection or mode setting in the initial setup does not affect the firmware operation flow due to differences in hardware (for example, changing the control string due to different types of memory). This makes it possible to standardize firmware without having to use the same software. Furthermore, since the mode is set at reset, the output pin will not be in an undefined state due to a difference in mode. Furthermore, since the mode data input is multiplexed, there is no need to provide a special input pin, and therefore it can be used with any type of LSI.

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

第1図は本発明の実施例であるLSIの内部回路構成を
示す図、第2図、第3図は第1図に示したLSIの外部
に付加される外部回路の実施例を示すブロック図、第4
図は本発明実施例の動作を示すタイミングチャートであ
る。 1.2,3,4.5・・・入出力バッファ、6゜7・・
・インバータ、8.9・・・ナンドゲート、10・・・
モード設定フリ、fフロップ、1ノ・・・アドレスデコ
ーダ、21・・・セレクタ、31,32゜33・・・ト
ライステートバッファ、22.34・・・LSI 出願人代理人  弁理士 鈴 江 武 彦第1図 第2図 第3図 第4図
FIG. 1 is a diagram showing an internal circuit configuration of an LSI that is an embodiment of the present invention, and FIGS. 2 and 3 are block diagrams showing embodiments of an external circuit added to the outside of the LSI shown in FIG. 1. , 4th
The figure is a timing chart showing the operation of the embodiment of the present invention. 1.2,3,4.5...I/O buffer, 6゜7...
・Inverter, 8.9... NAND gate, 10...
Mode setting function, f-flop, 1...address decoder, 21...selector, 31, 32゜33...tri-state buffer, 22.34...LSI Patent attorney Patent attorney Suzue Takehiko Figure 1 Figure 2 Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)データバス経由で得られる入力信号とモードデー
タとを多重化し、リセット時、モードデータ、それ以外
は上記入力信号を有効として出力する様に制御される外
部回路と、この外部回路から得られる多重化信号及びリ
セット信号入力が供給されるLSIと、上記モードデー
タが記憶される上記LSI中の少くとも1個のモードフ
リップフロップと、上記外部回路から得られるモードデ
ータ及びリセット信号により上記モードフリップフロッ
プのセット/リセットをコントロールするLSI中のい
くつかのゲートとを具備することを特徴とするLSIモ
ード設定回路
(1) An external circuit that multiplexes the input signal and mode data obtained via the data bus, and is controlled to output the mode data at reset and the above input signal as valid at other times, and the input signal obtained from this external circuit. an LSI to which a multiplexed signal and a reset signal input are supplied; at least one mode flip-flop in the LSI in which the mode data is stored; and the mode data and reset signal obtained from the external circuit. An LSI mode setting circuit comprising several gates in an LSI that control setting/resetting of flip-flops.
(2)上記モードフリップフロップにLSI内蔵のアド
レスデコーダからのクロック信号及びデータバスを介し
て得られるモードデータを供給し、リセット時以外にも
モードデータの設定を行なうことを特徴とする特許請求
の範囲第1項記載のLSIモード設定回路。
(2) The mode flip-flop is supplied with a clock signal from an address decoder built into the LSI and mode data obtained via a data bus, and the mode data is set even at times other than reset. The LSI mode setting circuit described in Range 1.
JP60039281A 1985-02-28 1985-02-28 Lsi mode setting circuit Pending JPS61198354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60039281A JPS61198354A (en) 1985-02-28 1985-02-28 Lsi mode setting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60039281A JPS61198354A (en) 1985-02-28 1985-02-28 Lsi mode setting circuit

Publications (1)

Publication Number Publication Date
JPS61198354A true JPS61198354A (en) 1986-09-02

Family

ID=12548778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60039281A Pending JPS61198354A (en) 1985-02-28 1985-02-28 Lsi mode setting circuit

Country Status (1)

Country Link
JP (1) JPS61198354A (en)

Similar Documents

Publication Publication Date Title
US6989695B2 (en) Apparatus and method for reducing power consumption by a data synchronizer
US5115503A (en) System for adapting its clock frequency to that of an associated bus only when it requires usage thereof
US5522048A (en) Low-power area-efficient and robust asynchronous-to-synchronous interface
US5479646A (en) Method and apparatus for obtaining data from a data circuit utilizing alternating clock pulses to gate the data to the output
US6633995B1 (en) System for generating N pipeline control signals by delaying at least one control signal corresponding to a subsequent data path circuit
JPH0645879A (en) Flip flop
US6348828B1 (en) Clock enable circuit for use in a high speed reprogrammable delay line incorporating glitchless enable/disable functionality
JPS61198354A (en) Lsi mode setting circuit
JPH06196997A (en) Data output device, its method and storage device
JPS6331935B2 (en)
JPS59104820A (en) Flip-flop circuit
JPH03238694A (en) Semiconductor memory
KR940001827Y1 (en) Clock-delay circuit
KR940001028Y1 (en) Cash memory clock control circuit
JPH0237067Y2 (en)
JPS5917719A (en) Cmos flip-flop circuit
JPH0160792B2 (en)
JPS6111786Y2 (en)
JPH05327484A (en) Variable divider
JPH05265949A (en) Integrated circuit device
JPS60117163A (en) Test facilitating circuit
JPH0632049B2 (en) Microcomputer equipment
JPH07121367A (en) Microprocessor
JPS59208476A (en) Semiconductor integrated circuit device
JPH0588773A (en) Portable computer