JPH0363831A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH0363831A
JPH0363831A JP1201666A JP20166689A JPH0363831A JP H0363831 A JPH0363831 A JP H0363831A JP 1201666 A JP1201666 A JP 1201666A JP 20166689 A JP20166689 A JP 20166689A JP H0363831 A JPH0363831 A JP H0363831A
Authority
JP
Japan
Prior art keywords
simulation
user cell
signal
system clock
clock
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
JP1201666A
Other languages
Japanese (ja)
Inventor
Masahiro Nakamura
雅博 中村
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 JP1201666A priority Critical patent/JPH0363831A/en
Publication of JPH0363831A publication Critical patent/JPH0363831A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To enable a pattern generated in simulation for a single user cell to be used as it is in the simulation for whole of a chip by providing a means to select whether the output signal of a frequency division circuit or a signal from an external terminal is supplied to a user cell as a clock. CONSTITUTION:At a case other than the simulation of the user cell, switching circuits 43, 44 are energized and switching circuits 42, 45 are interrupted since a test mode signal is set at 0, therefore, the outputs 50, 51 of the frequency division circuit 34 go to system clocks phi1, phi2. In the simulation of the user cell, the test mode signal is set at 1, and the switching circuits 43, 44 are energized, and the circuits 42, 45 are interrupted, therefore, the signals inputted to terminals 8 and 41 go to the system clocks phi1, phi2, respectively. Thereby, it is possible to use a simulation pattern for the single user cell as it is as the pattern in the simulation for the whole of the chip.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、CPUコア方式スタンダードセルカスタムL
SIとなるマイクロコンピュータに関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is a CPU core type standard cell custom L
It relates to a microcomputer that becomes SI.

〔従来の技術〕[Conventional technology]

スタンダードセル方式カスタムLSIの中でも特に、C
PUコア方式と呼ばれるカスタムLSIは、CPU、R
OM、RAM、I10ボート、シリアルI10.タイマ
等のLSI製造メーカが用意した大規模セルを組合わせ
ることにより、また、LSI製造メーカが用意した基本
ゲートセルを組合わせてユーザ独自の回路(以下ユーザ
セルという)を設計し、ユーザセルとメーカが用意した
大規模セルとを組合せることにより、ユーザは独自の目
的にあったマイクロコンピュータを自由に構成できる。
Among standard cell type custom LSIs, C
A custom LSI called the PU core method uses CPU, R
OM, RAM, I10 boat, serial I10. By combining large-scale cells prepared by LSI manufacturers such as timers, or by combining basic gate cells prepared by LSI manufacturers, users can design their own circuits (hereinafter referred to as "user cells"). By combining it with large-scale cells prepared by , users can freely configure microcomputers that suit their own purposes.

このようなマイクロコンピュータを以下、カスタムマイ
コンという。
Such a microcomputer is hereinafter referred to as a custom microcomputer.

ユーザセルと大規模セルにより構成されたカスタムマイ
コンのブロック図を第3図に示す、このカスタムマイコ
ンにおいて、CPU1.タイマ2、I10ボート32発
振器を内蔵したシステムクロック生成部5を含み、これ
らはいずれもメーカにより予め用意された大規模セルで
あり、4は基本ゲートセルを組合わせてつくられたユー
ザセルである。システムクロック生成部5は、端子8.
9に接続された発振子による発振クロックを分周して、
システムクロックφ1、φ2をCPU1、タイマ2、I
10ボート3、ユーザセル4に供給している。さらに、
CPtJ 1、タイマ2、I10ポート3、ユーザセル
4はアドレスバス6、データバス7、リード信号10、
ライト信号11及び、図示されないがリセット信号によ
り接続されている。
FIG. 3 shows a block diagram of a custom microcomputer composed of a user cell and a large-scale cell.In this custom microcomputer, CPU1. It includes a timer 2 and a system clock generator 5 having a built-in I10 port 32 oscillator, and these are all large-scale cells prepared in advance by the manufacturer, and 4 is a user cell made by combining basic gate cells. The system clock generator 5 has a terminal 8.
By dividing the oscillation clock by the oscillator connected to 9,
System clocks φ1 and φ2 are connected to CPU1, timer 2, and I.
10 boats 3 and user cells 4. moreover,
CPtJ 1, timer 2, I10 port 3, user cell 4 has address bus 6, data bus 7, read signal 10,
They are connected by a write signal 11 and a reset signal (not shown).

このようなカスタムマイコンをユーザが設計した場合、
ユーザセルのシミュレーションはユーザにより行われる
。特に設計の初期の段階では、シミュレーション期間の
短縮のためユーザセル単体でのシミュレーションを行い
、ある程度シミュレーションが進みユーザセル中の回路
修正等が収束した時点でチップ全体でのシミュレーショ
ンに移行する。ユーザセル単体でのシミュレーションを
行う場合、CPUとユーザセルのインターフェイスを行
う端子におけるシミュレーションバタンを定義する必要
がある。すなわち、アドレスバス6、データバス7、リ
ード信号10、ライト信号11、リセット信号及びシス
テムクロックφ1、φ2に於けるテズトパタンを定義し
ていた。
If a user designs such a custom microcontroller,
The user cell simulation is performed by the user. Particularly in the early stages of design, simulation is performed on a single user cell in order to shorten the simulation period, and once the simulation has progressed to a certain extent and circuit modifications in the user cell have been completed, the simulation shifts to the entire chip. When simulating a single user cell, it is necessary to define a simulation button at a terminal that interfaces between the CPU and the user cell. That is, test patterns for the address bus 6, data bus 7, read signal 10, write signal 11, reset signal, and system clocks φ1 and φ2 were defined.

第4図はこのユーザセル単体でのシミュレーションに於
ける動作波形図で、リード時のアドレスバス、データバ
ス、リード信号及びシステムクロックφ1、φ2のパタ
ンのタイムチャートを示す、ユーザセル単体でシミュレ
ーションを行う場合、システムクロックも入力バタンと
して定義するために、第4図に示すようなφ1、φ2の
パタンを定義していた。
Figure 4 is an operational waveform diagram in the simulation of this user cell alone, and a time chart of the address bus, data bus, read signal, and system clock φ1, φ2 patterns during read. In order to define the system clock as an input button, patterns of φ1 and φ2 as shown in FIG. 4 were defined.

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

帰還抵抗と反転増幅器により構成された発振回路に外部
より振動子を接続して構成される発振器の発振クロック
は、クロックのハイレベル幅及びロウレベル幅が保証さ
れないので、通常は発振クロックを分周したクロックが
システムクロックとして用いられる。
The oscillation clock of an oscillator, which is constructed by connecting an external resonator to an oscillation circuit constructed of a feedback resistor and an inverting amplifier, cannot guarantee the high-level width and low-level width of the clock, so it is usually a frequency-divided oscillation clock. A clock is used as the system clock.

第3図のシステムクロック生成部5の内部回路の1例を
第5図に、第5図の回路から生成されるシステムクロッ
クφ1、φ2のタイムチャートを第6図に示す。
FIG. 5 shows an example of the internal circuit of the system clock generator 5 shown in FIG. 3, and FIG. 6 shows a time chart of the system clocks φ1 and φ2 generated from the circuit shown in FIG.

第5図に於ては、外部端子8.9に接続された発振子に
よる発振クロックは2分周されてシステムクロックφ1
、φ2となる。第6図に於けるφ1、φ2ともに1でな
い時間1.は、インバータ23.25〜28.30〜3
3.35.36及び、NANDゲート24.29等の遅
延時間により生成されたものであり、システムクロック
が重なったときにおこるフリップフロップ等に於けるデ
ータのつりぬけ等を防いでいる。
In FIG. 5, the oscillation clock by the oscillator connected to the external terminal 8.9 is divided by two and becomes the system clock φ1.
, φ2. Time 1 when both φ1 and φ2 are not 1 in FIG. is inverter 23.25~28.30~3
3, 35, 36 and the delay time of NAND gates 24, 29, etc., and prevents data leakage in flip-flops etc. that occurs when system clocks overlap.

チップ全体でのシミュレーションの場合、システムクロ
ックφ1、φ2はシステムクロック生成部5からユーザ
セルに対して供給されるため、シミュレーションバタン
はアドレスバス、データバス、リード信号、ライト信号
、リセット信号について定義すればよく、システムクロ
ックについては定義する必要が無い、チップ全体でのシ
ミュレーションに於けるリード時のアドレスバス、デー
タバス、リード信号とシステムクロックの関係を第7図
に示す。
In the case of simulation for the entire chip, the system clocks φ1 and φ2 are supplied from the system clock generator 5 to the user cells, so simulation patterns must be defined for the address bus, data bus, read signal, write signal, and reset signal. FIG. 7 shows the relationship between the address bus, data bus, read signal, and system clock at the time of reading in a simulation of the entire chip, in which there is no need to define the system clock.

チップ全体でのシミュレーションに於いてシステムクロ
ックは、゛システムクロック生成部で生成されたクロッ
クを使用するため、ユーザセル単体でのシミュレーショ
ンと比べてパタンとクロックの関係が異なり、ユーザセ
ル単体で作成したシミュレーションパタンがチップ全体
でのシミュレーションにはそのままでは使用できないと
いう欠点があった。
In simulating the entire chip, the system clock uses the clock generated by the system clock generator, so the relationship between the pattern and the clock is different compared to simulating a single user cell, so There was a drawback that the simulation pattern could not be used as is for simulation of the entire chip.

本発明の目的は、分周回路の出力信号をクロックとして
ユーザセルに供給するか、外部端子から入力された信号
をクロックとしてユーザセルに供給するか選択する手段
を設けることにより、ユーザセル単体でのシミュレーシ
ョン時に作成したシミュレーションバタンをチップ全体
でのシミュレーション時にそのまま使用出来るようにし
たマイクロコンピュータを提供することにある。
An object of the present invention is to provide a means for selecting whether to supply the output signal of the frequency dividing circuit to the user cell as a clock or to supply the signal input from an external terminal to the user cell as a clock. To provide a microcomputer in which a simulation button created during a simulation can be used as is during a simulation of the entire chip.

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

本発明の構成は、定義されたシステムクロックに基づき
動作を行う複数個のセルを組合せて構成されたマイクロ
コンピュータに於いて、クロック信号を分周する分周回
路と、この分周回路の出力信号または外部端子から入力
されたクロック信号を前記システムクロックとして前記
複数個のセルのうち特定のセルに対する供給を選択する
切換手段とを備えたことを特徴とする。
The configuration of the present invention is to provide a microcomputer configured by combining a plurality of cells that operate based on a defined system clock. Alternatively, the present invention is characterized by comprising a switching means for selecting supply of a clock signal inputted from an external terminal to a specific cell among the plurality of cells as the system clock.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例のカスタムマイコンのシステ
ムクロック生成部のブロック図である。
FIG. 1 is a block diagram of a system clock generation section of a custom microcomputer according to an embodiment of the present invention.

図に於いて、34は分周回路、20は帰還抵抗と反転増
幅器より構成される発振回路であり、端子8.9に接続
される水晶振動子などによって発振クロックが分周回路
34に入力される。42〜45は切換回路であり、その
コントロール信号が“1”のとき導通状態、“O”のと
き、遮断状態となる。
In the figure, 34 is a frequency divider circuit, 20 is an oscillation circuit composed of a feedback resistor and an inverting amplifier, and an oscillation clock is input to the frequency divider circuit 34 by a crystal oscillator connected to terminals 8 and 9. Ru. 42 to 45 are switching circuits, which are in a conductive state when the control signal is "1" and are in a cutoff state when the control signal is "O".

ユーザセルのシミュレーション以外の時には、テストモ
ード信号は“O″であるから切換回路43.44は導通
状態、切換回路42.45は遮断状態となる。従って、
分周回路34の出力50.51がシステムクロックφ1
、φ2となる。ユーザセルのシミュレーション時にはテ
ストモード信号は“1”となり、切換回路43.44は
導通状態、回路42.45は遮断状態となる。
When the user cell is not being simulated, the test mode signal is "O", so the switching circuits 43 and 44 are in a conductive state and the switching circuits 42 and 45 are in a cut-off state. Therefore,
The output 50.51 of the frequency dividing circuit 34 is the system clock φ1
, φ2. During user cell simulation, the test mode signal becomes "1", switching circuits 43 and 44 are in a conductive state, and circuits 42 and 45 are in a cut-off state.

従って、端子8,41に入力される信号がそれぞれシス
テムクロックφl、φ2となる。
Therefore, the signals input to terminals 8 and 41 become system clocks φl and φ2, respectively.

第2図は本発明の第2の実施例を示すブロック図である
。42〜45.47はその制御信号が“1”で導通状態
となる切換回路であり、切換回路47は発振回路20a
に含まれている。
FIG. 2 is a block diagram showing a second embodiment of the invention. 42 to 45.47 are switching circuits that become conductive when the control signal is "1", and the switching circuit 47 is the oscillation circuit 20a.
included in.

ユーザセルのシミュレーション以外の時には、テストモ
ード信号は“O”であるから、切換回路43.44.4
7は導通状態、切換回路42゜45は遮断状態となり、
端子9は発振回路20aと接続される。端子8,9に接
続される発振子の発振クロックが、分周回路34に入力
され、出力信号50.51がそれぞれシステムクロック
φ1、φ2となる。
Since the test mode signal is "O" at times other than user cell simulation, the switching circuits 43, 44, 4
7 is in a conductive state, switching circuits 42 and 45 are in a cut-off state,
Terminal 9 is connected to oscillation circuit 20a. The oscillation clocks of the oscillators connected to the terminals 8 and 9 are input to the frequency dividing circuit 34, and the output signals 50 and 51 become the system clocks φ1 and φ2, respectively.

ユーザセルのシミュレーション時には、テストモード信
号は“1”となり、端子9は発振回路20aと論理的に
切離された状態となる。この時、切換回路43.44は
遮断状態、切換回路42.45は導通状態となる。従っ
て、端子9゜8に入力される信号がそれぞれシステムク
ロックφ1、φ2となる。
During user cell simulation, the test mode signal becomes "1", and the terminal 9 is logically separated from the oscillation circuit 20a. At this time, the switching circuits 43 and 44 are in a cutoff state, and the switching circuits 42 and 45 are in a conductive state. Therefore, the signals input to the terminal 9.8 become the system clocks φ1 and φ2, respectively.

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

以上説明したように本発明によれは、マイクロコンピュ
ータのシステムクロックとして分周回路の出力信号をユ
ーザセルに供給するか、外部端子から入力された信号を
供給するがを選択する手段を備えているので、ユーザセ
ル単体でのシミュレーションバタンをそのままチップ全
体でのシミュレーションに於けるバタンとして使用でき
、マイクロコンピュータ開発に於けるユーザの負担を低
減できるという効果がある。
As explained above, the present invention includes means for selecting whether to supply the output signal of the frequency dividing circuit to the user cell or to supply the signal input from the external terminal as the system clock of the microcomputer. Therefore, the simulation button for a single user cell can be directly used as a button for simulation for the entire chip, which has the effect of reducing the burden on the user in microcomputer development.

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

第1図は本発明の一実施例のマイクロコンピュータのシ
ステムクロック生成部のブロック図、第2図は本発明の
第2の実施例のシステムクロック生成部のブロック図、
第3図は一般のマイクロコンピュータの構成を示すブロ
ック図、第4図は従来のマイクロコンピュータのユーザ
セルの単体でのシミュレーションにおけるシミュレーシ
ョンバタンを示すタイムチャート、第5図は第3図のシ
ステムクロック生成部を示す回路図、第6図は第5図の
システムクロック生成部の動作を示すタイムチャート、
第7図は従来のユーザセルのチップ全体でのシミュレー
ションに於けるシミュレーションバタンを示すタイムチ
ャートである。 1・・・CPU、2・・・タイマ、3・・・I10ボー
ト、4・・・ユーザセル、5・・・システムクロック生
成部、6・・・アドレスバス、7・・・データバス、1
0・・・リード信号、11・・・ライト信号、20・・
・発振回路、8゜9.41・・・外部端子、34・・・
分周回路、22゜23.25〜28.30〜33,35
,36゜46・・・インバータ、24.29・・・NA
NDゲート、42〜45・・・切換回路、51.52・
・・分周回路の出力信号。
FIG. 1 is a block diagram of a system clock generation section of a microcomputer according to an embodiment of the present invention, and FIG. 2 is a block diagram of a system clock generation section of a second embodiment of the present invention.
Fig. 3 is a block diagram showing the configuration of a general microcomputer, Fig. 4 is a time chart showing the simulation button in a simulation of a single user cell of a conventional microcomputer, and Fig. 5 is the system clock generation shown in Fig. 3. FIG. 6 is a time chart showing the operation of the system clock generation section in FIG.
FIG. 7 is a time chart showing simulation patterns in a simulation of the entire chip of a conventional user cell. DESCRIPTION OF SYMBOLS 1... CPU, 2... Timer, 3... I10 boat, 4... User cell, 5... System clock generation part, 6... Address bus, 7... Data bus, 1
0...Read signal, 11...Write signal, 20...
・Oscillation circuit, 8°9.41...External terminal, 34...
Frequency dividing circuit, 22° 23.25 ~ 28.30 ~ 33,35
, 36° 46... Inverter, 24.29... NA
ND gate, 42-45... switching circuit, 51.52.
...Output signal of the frequency divider circuit.

Claims (1)

【特許請求の範囲】[Claims]  定義されたシステムクロックに基づき動作を行う複数
個のセルを組合せて構成されたマイクロコンピュータに
於いて、クロック信号を分周する分周回路と、この分周
回路の出力信号または外部端子から入力されたクロック
信号を前記システムクロックとして前記複数個のセルの
うち特定のセルに対する供給を選択する切換手段とを備
えたことを特徴とするマイクロコンピュータ。
In a microcomputer configured by combining multiple cells that operate based on a defined system clock, there is a frequency divider circuit that divides the clock signal, and an output signal of this frequency divider circuit or input from an external terminal. 1. A microcomputer comprising: switching means for selecting supply of a clock signal obtained as the system clock to a specific cell among the plurality of cells.
JP1201666A 1989-08-02 1989-08-02 Microcomputer Pending JPH0363831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1201666A JPH0363831A (en) 1989-08-02 1989-08-02 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1201666A JPH0363831A (en) 1989-08-02 1989-08-02 Microcomputer

Publications (1)

Publication Number Publication Date
JPH0363831A true JPH0363831A (en) 1991-03-19

Family

ID=16444884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1201666A Pending JPH0363831A (en) 1989-08-02 1989-08-02 Microcomputer

Country Status (1)

Country Link
JP (1) JPH0363831A (en)

Similar Documents

Publication Publication Date Title
Kessels et al. Designing asynchronous standby circuits for a low-power pager
CN114417760B (en) Trigger unit containing clock gating circuit
JPS61191973A (en) Semiconductor integrated circuit with testing circuit
JP3693722B2 (en) Data processing system and method
CN114417759B (en) Design method of trigger unit
JPH0363831A (en) Microcomputer
US6091664A (en) Elementary storage circuits
JPH03191406A (en) Microcomputer
JPH0391195A (en) Memory circuit
JP2797355B2 (en) D-type flip-flop circuit
JPS609221A (en) Frequency dividing circuit with test function
JPS6119574Y2 (en)
JP3075224B2 (en) Integrated circuit device
JPH0733179Y2 (en) Reset circuit for digital circuit test
JPH04177539A (en) Custom lsi
JPH02280263A (en) Microprocessor
JPH0450657Y2 (en)
JPH0431617Y2 (en)
JP2722920B2 (en) Clock oscillation stop control circuit
JP2543108B2 (en) Synchronous pulse generator
JP2702147B2 (en) Test mode setting circuit for integrated circuits
JPH0728662A (en) Microcomputer
JPH0352087B2 (en)
JPH0716188Y2 (en) Test mode designation circuit
JPH02162273A (en) Test mode function execution input circuit