JPH04225457A - microcomputer - Google Patents
microcomputerInfo
- Publication number
- JPH04225457A JPH04225457A JP2414424A JP41442490A JPH04225457A JP H04225457 A JPH04225457 A JP H04225457A JP 2414424 A JP2414424 A JP 2414424A JP 41442490 A JP41442490 A JP 41442490A JP H04225457 A JPH04225457 A JP H04225457A
- Authority
- JP
- Japan
- Prior art keywords
- chip
- microcomputer
- outside
- evaluation
- central processing
- 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.)
- Withdrawn
Links
Landscapes
- Bus Control (AREA)
- Microcomputers (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、中央処理装置と周辺回
路を含んで1チップ化されたマイクロコンピュータ、こ
とに既存の回路モジュールに新たな回路モジュールを組
み合わせて成るマイクロコンピュータに関し、例えばシ
ステム評価用チップと実チップとの共通化に適用して有
効な技術に関するものである。[Industrial Application Field] The present invention relates to a microcomputer that is integrated into a single chip and includes a central processing unit and peripheral circuits, and particularly to a microcomputer that combines an existing circuit module with a new circuit module. The present invention relates to a technology that is effective when applied to the common use of commercial chips and real chips.
【0002】0002
【従来の技術】半導体集積回路の開発コスト低減や開発
期間の短縮などを目的としたASIC(アプリケーショ
ン・スペシフィク・インテグレーテッド・サーキット)
もしくはスタンダードセルのような手法に鑑み、独立し
た半導体集積回路としても構成可能な、若しくはもとも
と独立した1個の半導体集積回路として構成可能なマク
ロセルを複数個組合せて、又は標準品として提供されて
いるマクロセルと共に、ユーザの個別仕様に応じて設計
されるカスタムモジュールを同一半導体基板に形成して
新たな半導体集積回路を形成する試みが本発明者によっ
てなされた。[Prior Art] ASIC (Application Specific Integrated Circuit) is used to reduce the development cost and development period of semiconductor integrated circuits.
Or, considering methods such as standard cells, it is provided as a standard product by combining multiple macro cells that can be configured as an independent semiconductor integrated circuit or originally configured as an independent semiconductor integrated circuit. The inventor has attempted to form a new semiconductor integrated circuit by forming a custom module designed according to a user's individual specifications on the same semiconductor substrate together with a macro cell.
【0003】例えば、株式会社日立製作所製のネットワ
ークプロセッサ(HD64180S)をコアユニットと
して、同ユニットと共にカスタムモジュールを付加し、
更に同コアユニットに含まれる一部の周辺回路機能を別
モジュールで機能拡張するようにして、マイクロコンピ
ュータを構成する。For example, a network processor (HD64180S) manufactured by Hitachi, Ltd. is used as a core unit, and a custom module is added along with the same unit.
Furthermore, a microcomputer is constructed by expanding some of the peripheral circuit functions included in the core unit with separate modules.
【0004】尚、HD64180Sについて記載された
文献の例としては「日経データプロ・マイクロプロセッ
サ」MC1−104−501〜505(1989年7月
)の8ビットマイクロプロセッサがある。An example of a document describing the HD64180S is an 8-bit microprocessor by "Nikkei Data Pro Microprocessor" MC1-104-501-505 (July 1989).
【0005】[0005]
【発明が解決しようとする課題】しかしながら、コアユ
ニットにカスタムモジュールや機能拡張モジュールを組
み合わせてユーザの要求仕様を満足させるとき、そのマ
イクロコンピュータの機能若しくは種類は多岐に亘り、
1種類毎にエミュレーション等によるシステム評価用チ
ップを新たに設計して提供していたのでは、評価チップ
の開発に時間がかかり、システム評価のための環境整備
が遅れてしまう。そうかといって、評価専用信号の入力
又は出力用外部ピンを予め配置するように実チップを構
成するなら、システム・オンチップ化若しくは集積規模
の増大という傾向にあって、パッケージの外部端子数の
制約から実質的にそれを実現することは不可能であり、
その上使い勝手も悪くなる。[Problem to be Solved by the Invention] However, when a core unit is combined with a custom module or a function expansion module to satisfy the user's required specifications, the functions or types of the microcomputer vary widely.
If a new system evaluation chip was designed and provided for each type by emulation or the like, it would take time to develop the evaluation chip, and the preparation of the environment for system evaluation would be delayed. However, if the actual chip is configured in such a way that external pins for input or output of evaluation-only signals are arranged in advance, the number of external pins on the package will increase due to the trend toward system-on-chip technology or an increase in the scale of integration. It is virtually impossible to achieve this due to constraints,
Moreover, it becomes difficult to use.
【0006】また、ユーザカスタム論理を反映して、コ
アユニットに含まれる一部の周辺回路の機能を、高機能
拡張モジュールに代替させるように、マイクロコンピュ
ータを構成するとき、当該コアユニットと外部とのイン
タフェースが、同コアユニット単体で半導体集積回路化
されたマイクロコンピュータと相違されると、ユーザカ
スタム論理を反映したマイクロコンピュータの機能診断
において、既に提供されているコアユニットのテストパ
ターンを流用することが難しくなり、LSIそれ自体の
テストパターン作成にも多大の労力が必要になる。[0006] Furthermore, when configuring a microcomputer to reflect user custom logic and replace the functions of some peripheral circuits included in the core unit with a high-function expansion module, it is also possible to connect the core unit to the outside. If the interface of the microcomputer is different from that of a microcomputer in which the same core unit is integrated into a semiconductor integrated circuit, it is necessary to reuse the test pattern of the core unit already provided in the functional diagnosis of the microcomputer that reflects the user's custom logic. This makes it difficult to create test patterns for the LSI itself, and a great deal of effort is required to create test patterns for the LSI itself.
【0007】本発明の目的は、パッケージの外部端子を
無駄に占有することなく実チップと評価チップとを兼用
することができるマイクロコンピュータを提供すること
にある。An object of the present invention is to provide a microcomputer that can serve as both an actual chip and an evaluation chip without unnecessarily occupying the external terminals of the package.
【0008】本発明の別の目的は、他のマイクロコンピ
ュータから流用した論理部分の診断に、当該他のマイク
ロコンピュータ用に開発されたテストパターンを容易に
流用することができるマイクロコンピュータを提供する
ことにある。Another object of the present invention is to provide a microcomputer in which a test pattern developed for another microcomputer can be easily used for diagnosis of a logic section borrowed from another microcomputer. It is in.
【0009】本発明の前記並びにその他の目的と新規な
特徴は本明細書の記述及び添付図面から明らかになるで
あろう。The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.
【0010】0010
【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を簡単に説明すれば下記
の通りである。[Means for Solving the Problems] A brief overview of typical inventions disclosed in this application is as follows.
【0011】すなわち、評価チップと実チップの兼用と
いう観点からは、チップ外に接続される所定の外部端子
を、中央処理装置のシステム評価専用信号端子又は周辺
回路の個別信号端子の何れか一方に選択接続可能な、選
択回路を設けて、中央処理装置及び周辺回路を1チップ
に含んだマイクロコンピュータを構成するものである。In other words, from the viewpoint of dual use of the evaluation chip and the actual chip, a predetermined external terminal connected to the outside of the chip can be connected to either the system evaluation dedicated signal terminal of the central processing unit or the individual signal terminal of the peripheral circuit. A selection circuit that can be selectively connected is provided to configure a microcomputer that includes a central processing unit and peripheral circuits on one chip.
【0012】評価チップと実チップの兼用、並びに、他
のマイクロコンピュータから流用した論理部分の診断に
当該他のマイクロコンピュータ用テストパターンを流用
可能にするという観点に立って、コアユニットにカスタ
ムモジュールなどを組み合わせてユーザ要求仕様を満足
させるマイクロコンピュータを構成するときは、前記コ
アユニットに含まれる所定周辺回路の個別信号端子、コ
アユニット外に配置された周辺回路の個別信号端子、又
は中央処理装置のシステム評価専用信号端子の何れかに
、チップ外部に接続される所定の外部端子を選択接続す
る、選択回路を設けて、中央処理装置及び周辺回路を1
チップに含んだマイクロコンピュータを構成するもので
ある。[0012] From the viewpoint of using both the evaluation chip and the actual chip and making it possible to use test patterns for other microcomputers for diagnosis of logic parts that have been used from other microcomputers, a custom module etc. is installed in the core unit. When configuring a microcomputer that satisfies user specifications by combining the above, the individual signal terminals of a predetermined peripheral circuit included in the core unit, the individual signal terminals of a peripheral circuit located outside the core unit, or the central processing unit A selection circuit is provided that selectively connects a predetermined external terminal connected to the outside of the chip to any of the signal terminals dedicated to system evaluation.
It constitutes a microcomputer included in a chip.
【0013】他のマイクロコンピュータから流用した論
理部分の診断に当該他のマイクロコンピュータ用テスト
パターンを流用可能にするという観点に立って、コアユ
ニットにカスタムモジュールなどを組み合わせてユーザ
要求仕様を満足させるマイクロコンピュータを構成する
ときは、前記コアユニットに含まれる所定周辺回路の個
別信号端子、又はコアユニット外に配置された周辺回路
の個別信号端子の何れかに、チップ外部に接続される所
定の外部端子を選択接続する、選択回路を設けて、中央
処理装置及び周辺回路を1チップに含んだマイクロコン
ピュータを構成するものである。From the viewpoint of making it possible to use test patterns for other microcomputers in diagnosing logic parts borrowed from other microcomputers, we have developed a microcomputer that satisfies user specifications by combining the core unit with custom modules. When configuring a computer, a predetermined external terminal connected to the outside of the chip is attached to either an individual signal terminal of a predetermined peripheral circuit included in the core unit or an individual signal terminal of a peripheral circuit arranged outside the core unit. A microcomputer including a central processing unit and peripheral circuits on one chip is constructed by providing a selection circuit for selectively connecting the two.
【0014】[0014]
【作用】上記した手段によれば、実チップとして利用さ
れる動作モードにおいて選択回路は、所定周辺回路の個
別信号端子を外部とインタフェースさせて所期のシステ
ム動作を可能にする。評価チップとして利用される動作
モードにおいて前記選択回路は、評価専用信号端子をエ
ミュレータなどとインタフェースさせてシステム評価を
サポート可能にする。According to the above-described means, in the operation mode used as a real chip, the selection circuit interfaces the individual signal terminals of the predetermined peripheral circuits with the outside to enable the desired system operation. In the operating mode used as an evaluation chip, the selection circuit allows evaluation-dedicated signal terminals to interface with an emulator or the like to support system evaluation.
【0015】ユーザカスタム論理を反映して、コアユニ
ットに含まれる一部の周辺回路の機能を、別の機能拡張
モジュールに代替させるようにして、カスタム論理を取
り込んでマイクロコンピュータが構成されるとき、実チ
ップとしてのシステム動作時における選択回路は、前記
機能拡張モジュールに含まれるような所定周辺回路の個
別信号端子を外部とインタフェースさせて所期のシステ
ム動作を可能にする。マイクロコンピュータの機能診断
時において前記選択回路は、前記機能拡張モジュールに
機能代替されたコアユニット内周辺回路の個別信号端子
を外部とインタフェースさせて、既に提供されているコ
アユニットのテストパターンを流用可能にする。[0015] When a microcomputer is configured by incorporating custom logic so that the functions of some of the peripheral circuits included in the core unit are replaced by another function expansion module, reflecting the user custom logic, During system operation as a real chip, the selection circuit interfaces individual signal terminals of predetermined peripheral circuits included in the function expansion module with the outside to enable desired system operation. When diagnosing the functionality of a microcomputer, the selection circuit allows the individual signal terminals of peripheral circuits in the core unit whose functions have been replaced by the function expansion module to be interfaced with the outside, so that test patterns for the core unit that have already been provided can be used. Make it.
【0016】[0016]
【実施例】図1には本発明の一実施例に係るネットワー
クプロセッサ1が示される。同図に示されるネットワー
クプロセッサ1は、プロセッシングコアモジュール2、
ユーザカスタムモジュール3、機能拡張モジュール4、
及び選択回路5を含み、それらは公知の半導体集積回路
製造技術によって単結晶シリコンのような1個の半導体
基板に形成される。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a network processor 1 according to an embodiment of the present invention. The network processor 1 shown in the figure includes a processing core module 2,
User custom module 3, function expansion module 4,
and a selection circuit 5, which are formed on one semiconductor substrate such as single crystal silicon by known semiconductor integrated circuit manufacturing techniques.
【0017】前記プロセッシングコアモジュール(以下
単にコアモジュールとも記す)2は、それ自体で単体の
マイクロコンピュータとして既に提供されているシリア
ル・コミュニケーション・インタフェース機能を備えた
汎用マイクロコンピュータとしての機能を備え、特に制
限されないが、CPU(セントラル・プロセッシング・
ユニット)20を中心に、HDLCなど複数の通信プロ
トコルをサポート可能なマルチプロトコル・シリアル・
コミュニケーション・インタフェース(以下単にMSC
Iとも記す)21、調歩同期で通信制御を行うアシンク
ロナス・シリアル・コミュニケーション・インタフェー
ス(以下単にASCIとも記す)22、通信データのダ
イレクト・メモリ転送制御を行うためのダイレクト・メ
モリ・アクセス・コントローラ(以下単にDMACとも
記す)23,24、2個のタイマ25,26、プロセッ
シングコアモジュール2内部の論理アドレスを物理アド
レスに変換するメモリ・マネージメント・ユニット27
、及びコアモジュール2の外部との間で情報のやりとり
を行うための入出力回路28が設けられ、それらはアド
レスバスABUSとデータバスDBUSで代表されるよ
うな内部バスに共通接続される。The processing core module (hereinafter simply referred to as core module) 2 has a function as a general-purpose microcomputer equipped with a serial communication interface function, which is already provided as a single microcomputer, and in particular, Although not limited to, CPU (Central Processing)
Multi-protocol, serial, and multi-protocol units that can support multiple communication protocols such as HDLC
Communication Interface (hereinafter simply MSC)
(also referred to as I) 21, Asynchronous Serial Communication Interface (hereinafter also simply referred to as ASCI) 22, which performs asynchronous communication control; Direct Memory Access Controller (hereinafter also referred to as I) which performs direct memory transfer control of communication data. (also simply referred to as DMAC) 23, 24, two timers 25, 26, and a memory management unit 27 that converts logical addresses inside the processing core module 2 into physical addresses.
, and an input/output circuit 28 for exchanging information with the outside of the core module 2, which are commonly connected to an internal bus represented by an address bus ABUS and a data bus DBUS.
【0018】前記機能拡張モジュール4は、例えば2個
のMSCI40,41とされ、前記データバスDBUS
及びアドレスバスABUS等の内部バスに共通接続され
て、CPU20の制御を受けるようになっている。The function expansion module 4 includes, for example, two MSCIs 40 and 41, and the data bus DBUS
It is commonly connected to an internal bus such as an address bus ABUS, and is controlled by the CPU 20.
【0019】前記ユーザカスタムモジュール3は、特に
制限されないが、図2に示されるようにコアモジュール
2との間で情報をやりとりするための入出力回路30、
及びパッド電極のような外部端子群34を介してチップ
外との間で情報をやりとりするための入出力回路31を
有する。入出力回路30,31は、バススイッチ回路3
2を介して択一的にパッド電極のような外部端子群35
に接続され、その接続制御は、入出力回路30側からの
アクセス要求と、入出力回路31側からのアクセス要求
を調停する調停回路33がそのアクセス競合を回避する
ように行う。The user custom module 3 includes, but is not particularly limited to, an input/output circuit 30 for exchanging information with the core module 2, as shown in FIG.
It also has an input/output circuit 31 for exchanging information with the outside of the chip via a group of external terminals 34 such as pad electrodes. The input/output circuits 30 and 31 are the bus switch circuit 3
2, an external terminal group 35 such as a pad electrode can alternatively be connected to the
The connection is controlled by an arbitration circuit 33 that arbitrates between access requests from the input/output circuit 30 side and access requests from the input/output circuit 31 side to avoid access conflicts.
【0020】本実施例のネットワークプロセッサ1は、
コアモジュール2を中心にユーザカスタム論理を反映す
るように、ユーザカスタムモジュール3をオンチップ化
すると共に、コアモジュール2に含まれる一部の周辺回
路例えばASCI22及びタイマー26を不要とし、さ
らに同機能若しくは同回路を高機能な拡張モジュール4
に代替させるようにして、ユーザ要求仕様を満足するマ
イクロコンピュータとして構成される性質を有する。こ
のようにして、ユーザカスタム論理を反映させたマイク
ロコンピュータ1を構成するに当たり、前記ASCI2
2,タイマー26はチップ上から削除してもよいが、既
にマスクパターン等が提供されているコアモジュール2
をそのまま採用してある。したがって、マイクロコンピ
ュータ1は、それが適用されるシステム上での動作(シ
ステム動作)では、ASCI22,タイマー26夫々の
個別信号は外部とインタフェースさせなくてもよいが、
機能拡張モジュール4に含まれるMSCI40,41の
個別信号は外部とインタフェースさせる必要がある。The network processor 1 of this embodiment includes:
The user custom module 3 is on-chip so as to reflect the user custom logic centering on the core module 2, and some peripheral circuits included in the core module 2, such as the ASCI 22 and the timer 26, are not required, and the same functions or Expansion module 4 with high functionality of the same circuit
It has the property of being configured as a microcomputer that satisfies the specifications required by the user. In this way, when configuring the microcomputer 1 that reflects user custom logic, the ASCII 2
2. The timer 26 may be deleted from the chip, but the core module 2 is already provided with a mask pattern etc.
has been adopted as is. Therefore, when the microcomputer 1 operates on the system to which it is applied (system operation), the individual signals of the ASCI 22 and the timer 26 do not need to be interfaced with the outside,
The individual signals of MSCIs 40 and 41 included in the function expansion module 4 need to be interfaced with the outside.
【0021】ここで、周辺回路の前記個別信号は個々の
周辺回路がLSI外部の回路と個別的にやりとりするス
トローブ信号やタイミング信号などとされる。例えば、
MSCI21,40,41並びにASCI22において
は同期信号や送受信信号などとされ、タイマー25,2
6の場合にはタイマー入力信号やタイマー出力信号とさ
れ、DMAC23,24にあってはDMAリクエスト信
号やDMA完了信号などとされる。図1において夫々の
周辺回路における個別信号は、21a,22a,23a
,24a,45a,26a,40a,41aとして図示
され、夫々の周辺回路における個別信号入力又は出力端
子群は、21b,22b,23b,24b,45b,2
6b,40b,41bとして図示されている。Here, the individual signals of the peripheral circuits are strobe signals, timing signals, etc. that each peripheral circuit individually exchanges with circuits outside the LSI. for example,
In MSCI21, 40, 41 and ASCI22, it is used as a synchronization signal, transmission/reception signal, etc., and timer 25, 2
In the case of 6, the signal is used as a timer input signal or a timer output signal, and in the case of the DMACs 23 and 24, it is used as a DMA request signal, a DMA completion signal, etc. In FIG. 1, individual signals in each peripheral circuit are 21a, 22a, 23a.
, 24a, 45a, 26a, 40a, 41a, and individual signal input or output terminal groups in the respective peripheral circuits are shown as 21b, 22b, 23b, 24b, 45b, 2
6b, 40b, 41b.
【0022】前記CPU20は、エミュレーションのた
めの評価専用信号を入出力する機能を予め備えている。
この評価専用信号は、特に制限されないが、図示しない
エミュレータがブレーク条件を検出したときにCPU2
0によるエミュレーション動作を停止させるためのブレ
ーク割り込み信号(入力信号)、ブレーク割り込みを受
け付けたことを外部に通知するためのブレーク・アクノ
レッジ信号(出力)、命令フェッチサイクルであること
を外部に知らせるための通常のロード・インストラクシ
ョン・レジスタ信号よりも早いタイミングで変化される
エミュレーション用ロード・インストラクション・レジ
スタ信号、メモリアクセスサイクルであることを外部に
知らせるための通常のメモリ・イネーブル信号よりも早
いタイミングで変化されるエミュレーション用メモリ・
イネーブル信号、及び論理アドレスなどとされる。この
評価専用信号は図1において20aで図示され、20b
で示される入力又は出力端子群(評価専用端子群)から
CPU20の外部に入出力される。[0022] The CPU 20 is previously equipped with a function of inputting and outputting evaluation-dedicated signals for emulation. This evaluation-only signal is not particularly limited, but when the emulator (not shown) detects a break condition, the CPU 2
A break interrupt signal (input signal) to stop the emulation operation by 0, a break acknowledge signal (output) to notify the outside that a break interrupt has been accepted, and a break acknowledge signal (output) to notify the outside that it is an instruction fetch cycle. The emulation load instruction register signal changes at a faster timing than the normal load instruction register signal, and the normal memory enable signal changes at a faster timing than the normal memory enable signal that informs the outside that it is a memory access cycle. Memory for emulation
It is considered to be an enable signal, a logical address, etc. This evaluation-only signal is illustrated at 20a in FIG.
The data is input/output to the outside of the CPU 20 from the input or output terminal group (evaluation-only terminal group) indicated by .
【0023】前記選択回路5は、チップ外部に接続され
るパッド電極のような所定の外部端子群60を、CPU
20の前記評価専用信号端子群20b、コアモジュール
2に配置されたASCI22及びタイマー26の個別信
号端子群22b,26b、又はコアモジュール2外に配
置されたMSCI40,41の個別信号端子群40b,
41bの何れかに選択接続するものであり、例えば第1
セレクタ50と第2セレクタ51を有する。第1セレク
タ50は、ASCI22及びタイマー26を第2セレク
タ51に導通させる第1状態、又はMSCI40,41
を第2セレクタ51に導通させる第2状態を択一的に選
択する。第2セレクタ51は、CPU20を外部端子群
60に導通させる第3状態、又は第1セレクタ50を外
部端子群60に導通させる第4状態を択一的に選択する
。第1セレクタ50による状態選択は、適宜のレジスタ
例えばMSCI40に含まれるレジスタの1ビットに割
り当てられたコントロールビットの論理値に従って制御
される。また、第2セレクタ51は、CPU20にエミ
ュレーションモードが設定されることにより第3状態を
選択し、ノーマルモードが設定されることにより第4状
態を選択する。CPU20の動作モードは、特に制限さ
れないが、パッド電極のような外部端子61から供給さ
れる所定のモード信号62のレベルによって決定される
。The selection circuit 5 selects a predetermined group of external terminals 60 such as pad electrodes connected to the outside of the chip from the CPU.
20 evaluation-dedicated signal terminal groups 20b, individual signal terminal groups 22b and 26b of the ASCI 22 and timer 26 arranged in the core module 2, or individual signal terminal groups 40b of the MSCI 40 and 41 arranged outside the core module 2,
41b, for example, the first
It has a selector 50 and a second selector 51. The first selector 50 is in a first state where the ASCI 22 and the timer 26 are connected to the second selector 51, or the MSCI 40, 41
A second state in which the second selector 51 is made conductive is alternatively selected. The second selector 51 selectively selects a third state in which the CPU 20 is electrically connected to the external terminal group 60 or a fourth state in which the first selector 50 is electrically electrically connected to the external terminal group 60. The state selection by the first selector 50 is controlled according to the logical value of a control bit assigned to one bit of an appropriate register, for example, a register included in the MSCI 40. Further, the second selector 51 selects the third state when the emulation mode is set in the CPU 20, and selects the fourth state when the normal mode is set. Although the operating mode of the CPU 20 is not particularly limited, it is determined by the level of a predetermined mode signal 62 supplied from an external terminal 61 such as a pad electrode.
【0024】図3には本実施例のネットワークプロセッ
サ1を適用した通信制御システムが示される。FIG. 3 shows a communication control system to which the network processor 1 of this embodiment is applied.
【0025】図3において10はシステムバスであり、
これに上位CPU11、メインメモリ12、及び本実施
例のネットワークプロセッサ1などが結合されている。
このネットワークプロセッサ1は前記システムバス10
のほかにローカルバス13や共有メモリ14ともインタ
フェースされる。このネットワークプロセッサ1もロー
カルな通信制御モジュールの一つとされ、ローカルバス
13はユーザカスタムモジュール3とコアモジュール2
の双方に、外部端子群62を介して共通接続される。こ
のローカルバス13には例えばローカルメモリ15やI
SDN用コントローラ16などが結合されている。前記
共有メモリ14は前記コアモジュール2内CPU20と
上位CPU11とによって共有されるバッファメモリと
され、例えばコアモジュール2や機能拡張モジュール4
に含まれるシリアル・コミュニケーション・インタフェ
ースによる受信データや送信データの一時記憶領域など
として利用される。この共有メモリ14は前記外部端子
群35に接続され、共有メモリ14をCPU20にアク
セスさせるか上位CPU11にアクセスさせるかの調停
制御をユーザカスタムモジュール3が行う。In FIG. 3, 10 is a system bus;
The host CPU 11, main memory 12, network processor 1 of this embodiment, etc. are coupled to this. This network processor 1 is connected to the system bus 10.
In addition to this, it is also interfaced with the local bus 13 and shared memory 14. This network processor 1 is also considered as one of the local communication control modules, and the local bus 13 is connected to the user custom module 3 and the core module 2.
are commonly connected to both through an external terminal group 62. This local bus 13 includes, for example, a local memory 15 and an I
An SDN controller 16 and the like are combined. The shared memory 14 is a buffer memory shared by the CPU 20 in the core module 2 and the upper CPU 11, and is, for example, a buffer memory shared by the core module 2 and the function expansion module 4.
It is used as a temporary storage area for data received and transmitted by the serial communication interface included in the . This shared memory 14 is connected to the external terminal group 35, and the user custom module 3 performs arbitration control to determine whether the shared memory 14 is accessed by the CPU 20 or the host CPU 11.
【0026】本実施例のネットワークプロセッサ1が実
チップとして図3のようなシステム上で動作されるとき
、モード信号62によりCPU20にはノーマルモード
が設定される。これにより、外部端子群60は第1セレ
クタ50と導通される。そして、所定のコントロールビ
ットに例えば論理”0”を書き込むことによって第1セ
レクタ50に第2状態を選択させて、機能拡張モジュー
ル4に含まれるMSCI40,41の個別信号40a,
41aを外部端子群60を介してプロセッサ1の外部に
入力又は出力可能にする。これにより、ネットワークプ
ロセッサ1はユーザカスタム論理に従って動作可能にさ
れる。このとき、個別信号を外部とやりとりすることが
できなタイマー26はチップ内部のタイミング検出など
に利用することができる。尚、前記所定のコントロール
ビットを論理”1”に設定すれば、機能拡張モジュール
4に代えてコアモジュール2内のASCI22及びタイ
マー26を直接外部とインタフェースさせて利用するこ
とも可能である。When the network processor 1 of this embodiment is operated as a real chip on a system as shown in FIG. 3, the normal mode is set in the CPU 20 by the mode signal 62. Thereby, the external terminal group 60 is electrically connected to the first selector 50. Then, by writing logic "0", for example, to a predetermined control bit, the first selector 50 is caused to select the second state, and the individual signals 40a and 40a of the MSCIs 40 and 41 included in the function expansion module 4,
41a can be input or output to the outside of the processor 1 via the external terminal group 60. This enables network processor 1 to operate according to user custom logic. At this time, the timer 26, which cannot exchange individual signals with the outside, can be used for timing detection inside the chip. Note that by setting the predetermined control bit to logic "1", it is also possible to use the ASCI 22 and timer 26 in the core module 2 instead of the function expansion module 4 by directly interfacing with the outside.
【0027】図3に示されるようなシステムのためのソ
フトウェア評価を行う場合には、モード信号62により
CPU20にはエミュレーションモードが設定される。
これにより、外部端子群60は第2セレクタ51を介し
て評価専用信号を入出力可能にされる。このようなエミ
ュレーションモードが設定されたネットワークプロセッ
サ1は評価チップとして図示しないエミュレータ及び評
価対象システムに接続され、評価対象システムを代行制
御すると共に、その制御動作を追跡可能なトレース情報
などをエミュレータに出力する。このエミュレーション
によるシステム評価において、MSCI40,41は夫
々個別信号を端子群40b,41bを介して直接外部と
やりとりすることはできないが、送信部と受信部とを接
続するような内部ループモードで動作させることによっ
て通信制御プログラムのソフトウェアデバッグを行うこ
とができる。タイマー26やASCI22を利用する場
合にもループモードを利用して通信制御プログラムのソ
フトウェアデバッグを行うことができる。When performing software evaluation for a system such as that shown in FIG. 3, the emulation mode is set in the CPU 20 by the mode signal 62. This allows the external terminal group 60 to input and output evaluation-only signals via the second selector 51. The network processor 1 set in such an emulation mode is connected as an evaluation chip to an emulator (not shown) and the evaluation target system, and controls the evaluation target system on behalf of the system, and outputs trace information etc. that can trace the control operation to the emulator. do. In system evaluation using this emulation, although the MSCIs 40 and 41 cannot directly exchange individual signals with the outside via the terminal groups 40b and 41b, they operate in an internal loop mode that connects the transmitting section and the receiving section. This allows software debugging of the communication control program. Even when using the timer 26 and the ASCI 22, software debugging of the communication control program can be performed using the loop mode.
【0028】ネットワークプロセッサ1の機能診断時に
は、ノーマルモードを設定すると共に第1セレクタ50
に第1状態を選択させ、これによりプロセッシングコア
モジュール2に対しては、既に提供されているテストパ
ターンを流用することができる。機能拡張モジュール4
やユーザカスタムモジュール3に対しては個々のモジュ
ール専用テストパターンを利用して機能診断を行う。When diagnosing the function of the network processor 1, the normal mode is set and the first selector 50
selects the first state, thereby allowing the processing core module 2 to use the test pattern already provided. Function expansion module 4
and user custom modules 3, functional diagnosis is performed using test patterns dedicated to individual modules.
【0029】上記実施例によれば以下の作用効果を得る
ことができる。According to the above embodiment, the following effects can be obtained.
【0030】(1)本実施例のネットワークプロセッサ
1は、コアモジュール2を中心にユーザカスタム論理を
反映するように、ユーザカスタムモジュール3及び機能
拡張モジュール4をオンチップ化して、ユーザ要求仕様
を満足する構成を実現するが、実チップとして利用され
るノーマルモードにおいて選択回路5は、機能拡張モジ
ュール4の個別信号端子40b,41bを外部とインタ
フェースさせて、ユーザの要求に適合する所期のシステ
ム動作を可能にし、また、評価チップとして利用される
エミュレーションモードにおいて前記選択回路5は、C
PU20の評価専用信号端子20bをエミュレータなど
とインタフェースさせてシステム評価をサポート可能に
する。したがって、多数の回路モジュールを集積したネ
ットワークプロセッサ1において、そのパッケージの外
部端子数が制約されるなかで、パッケージの外部端子を
無駄に占有することなく実チップと評価チップとを兼用
させることができる。(1) The network processor 1 of this embodiment has the user custom module 3 and the function expansion module 4 on-chip so as to reflect the user custom logic around the core module 2, thereby satisfying the user required specifications. However, in the normal mode used as a real chip, the selection circuit 5 interfaces the individual signal terminals 40b and 41b of the function expansion module 4 with the outside to achieve the desired system operation that meets the user's requirements. In the emulation mode used as an evaluation chip, the selection circuit 5
The evaluation-dedicated signal terminal 20b of the PU 20 is interfaced with an emulator or the like to support system evaluation. Therefore, in the network processor 1 that integrates a large number of circuit modules, even though the number of external terminals of the package is limited, the external terminals of the package can be used for both the actual chip and the evaluation chip without occupying them unnecessarily. .
【0031】(2)ユーザカスタム論理を反映して、コ
アモジュール2に含まれるASCI22,タイマー26
の個別信号利用機能を、機能拡張モジュール4に代替さ
せるようにして、コアモジュール2に機能拡張ジュール
4を組み合わせたネットワークプロセッサ1において、
実チップとしてのシステム動作時における選択回路5は
、前記機能拡張モジュール4の個別信号端子40b,4
1bを外部とインタフェースさせて所期のシステム動作
を可能にするが、プロセッサ1の機能診断時において前
記選択回路5は、コアモジュール2内のASCI22,
タイマー26の個別信号端子22b,26bを外部とイ
ンタフェースさせることが可能であるから、既に提供さ
れているコアモジュール2のテストパターンを流用して
機能診断を行うことができる。したがって、新規開発に
係るプロセッサ1のテストパターン作成工数を低減する
ことができる。(2) The ASCI 22 and timer 26 included in the core module 2 reflect the user custom logic.
In the network processor 1 in which the function expansion module 4 is combined with the core module 2, the function expansion module 4 is substituted for the individual signal utilization function of the network processor 1.
During system operation as a real chip, the selection circuit 5 connects the individual signal terminals 40b and 4 of the function expansion module 4.
1b is interfaced with the outside to enable the desired system operation. When diagnosing the function of the processor 1, the selection circuit 5 connects the ASCI 22 in the core module 2,
Since the individual signal terminals 22b and 26b of the timer 26 can be interfaced with the outside, it is possible to perform functional diagnosis by reusing the test pattern of the core module 2 that has already been provided. Therefore, the number of man-hours required for creating test patterns for the processor 1 for new development can be reduced.
【0032】以上本発明者によってなされた発明を実施
例に基づいて具体的に説明したが、本発明はそれに限定
されるものではなく、その要旨を逸脱しない範囲におい
て種々変更可能であることは言うまでもない。Although the invention made by the present inventor has been specifically explained based on examples, it goes without saying that the present invention is not limited thereto and can be modified in various ways without departing from the gist thereof. stomach.
【0033】例えば、エミュレーションモードの設定に
は専用のモード信号62を利用することに限定されず、
CPUにおける既存のストローブ信号などの信号レベル
の組み合わせでモード設定するようにしてもよい。また
、コアモジュール、機能拡張モジュール、並びにユーザ
カスタムモジュールに含まれる回路ブロックは上記実施
例に限定されず、適宜変更することができる。また、1
チップ化されたネットワークプロセッサ1をパッケージ
ングしたLSIを実チップ専用とする場合には、外部端
子61をパッケージのリード端子にボンディングせず、
ボンディングオプションで所定の電源端子に結合したり
、マスタスライスで所定の電源配線に接続しておくこと
ができる。また、評価チップとして専用化するには、外
部端子61を上記とは逆の電位に固定すればよい。組立
完了されたLSIを実チップ及び評価チップの双方に択
一的に利用可能にするには、外部端子62をパッケージ
のリード端子にボンディングしておく。For example, the emulation mode setting is not limited to using the dedicated mode signal 62;
The mode may be set by a combination of signal levels such as existing strobe signals in the CPU. Further, the circuit blocks included in the core module, function expansion module, and user custom module are not limited to the above embodiments, and can be modified as appropriate. Also, 1
When the LSI in which the network processor 1 is packaged as a chip is used exclusively for the actual chip, the external terminals 61 are not bonded to the lead terminals of the package.
It can be bonded to a predetermined power supply terminal using a bonding option, or connected to a predetermined power supply wiring using a master slice. Further, in order to use it exclusively as an evaluation chip, the external terminal 61 may be fixed to a potential opposite to that described above. In order to make the assembled LSI available for use as both an actual chip and an evaluation chip, the external terminals 62 are bonded to the lead terminals of the package.
【0034】また、本発明はチップそれ自体を実チップ
に専用化する技術にも適用することができる。例えば図
1において、第1セレクタを直接外部端子群60に結合
して、第2セレクタ51を廃止する。The present invention can also be applied to a technique for dedicating the chip itself to a real chip. For example, in FIG. 1, the first selector is directly coupled to the external terminal group 60, and the second selector 51 is eliminated.
【0035】以上の説明では主として本発明者によって
なされた発明をその背景となった利用分野であるネット
ワークプロセッサに適用した場合について説明したが、
本発明はそれに限定されるものではなく、各種マイクロ
コンピュータに広く適用することができる。[0035] In the above explanation, the invention made by the present inventor was mainly applied to a network processor, which is the background field of application.
The present invention is not limited thereto, and can be widely applied to various microcomputers.
【0036】本発明は少なくとも、部分的にカスタム論
理を反映して多様化される条件のものに広く適用するこ
とができる。The present invention is broadly applicable to conditions that are diversified to reflect, at least in part, custom logic.
【0037】[0037]
【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば下記
の通りである。Effects of the Invention The effects obtained by typical inventions disclosed in this application are briefly explained below.
【0038】すなわち、評価用信号端子と評価時には利
用しなくても済むような周辺回路個別信号端子を選択的
にチップ外とインタフェース可能にしたから、パッケー
ジの外部端子を無駄に占有することなく実チップと評価
チップとを兼用させることができるという効果がある。In other words, since the evaluation signal terminals and the individual signal terminals of the peripheral circuits that do not need to be used during evaluation can be selectively interfaced with outside the chip, it is possible to implement them without wasting the external terminals of the package. This has the advantage that it can be used as both a chip and an evaluation chip.
【0039】また、他のマイクロコンピュータから流用
した論理部分をそのまま動作させるための外部インタフ
ェース状態を選択的に採り得るから、他のマイクロコン
ピュータから流用した論理部分の診断に、当該他のマイ
クロコンピュータ用に開発されたテストパターンを容易
に流用することができ、ユーザカスタム論理を反映した
新規開発に係るマイクロコンピュータのテストパターン
作成工数を低減することができるという効果がある。Furthermore, since it is possible to selectively adopt the external interface state for operating the logic part borrowed from another microcomputer as it is, when diagnosing the logic part borrowed from another microcomputer, the This has the effect that test patterns developed in 1998 can be easily reused, and the number of man-hours required to create test patterns for a microcomputer that reflect user custom logic can be reduced.
【図1】図1は本発明に係るマイクロコンピュータの一
実施例としてのネットワークプロセッサのブロック図で
ある。FIG. 1 is a block diagram of a network processor as an embodiment of a microcomputer according to the present invention.
【図2】図2はネットワークプロセッサに含まれるユー
ザカスタムモジュールの一例ブロック図である。FIG. 2 is a block diagram of an example of a user custom module included in a network processor.
【図3】図3はネットワークプロセッサを適用した一例
システム構成ブロック図である。FIG. 3 is a block diagram of an example system configuration to which a network processor is applied.
1 ネットワークプロセッサ 2 プロセッシングコアモジュール 3 ユーザカスタムモジュール 4 機能拡張モジュール 5 選択回路 20 CPU 20b 評価専用信号端子 21 MSCI 21b 個別信号端子 22 ASCI 22b 個別信号端子 23 DMAC 23b 個別信号端子 24 DMAC 24b 個別信号端子 25 タイマー 25b 個別信号端子 26 タイマー 26b 個別信号端子 40 MSCI 40b 個別信号端子 41 MSCI 41b 個別信号端子 50 第1セレクタ 51 第2セレクタ 60 外部端子 1 Network processor 2 Processing core module 3 User custom module 4 Function expansion module 5 Selection circuit 20 CPU 20b Evaluation-only signal terminal 21 MSCI 21b Individual signal terminal 22 ASCII 22b Individual signal terminal 23 DMAC 23b Individual signal terminal 24 DMAC 24b Individual signal terminal 25 Timer 25b Individual signal terminal 26 Timer 26b Individual signal terminal 40 MSCI 40b Individual signal terminal 41 MSCI 41b Individual signal terminal 50 1st selector 51 Second selector 60 External terminal
Claims (3)
辺回路を含んで1チップ化されたマイクロコンピュータ
であって、前記中央処理装置は、システム評価専用信号
の入力又は出力端子を持ち、前記周辺回路の一部又は全
部は、内部バスに非接続の個別信号入力又は出力用端子
を有し、チップ外に接続される所定の外部端子を、中央
処理装置の前記評価専用信号端子又は周辺回路の前記個
別信号端子の何れか一方に選択接続可能な、選択回路を
設けて、成るものであることを特徴とするマイクロコン
ピュータ。1. A single-chip microcomputer including a central processing unit and a peripheral circuit that share an internal bus, wherein the central processing unit has an input or output terminal for a signal dedicated to system evaluation, and the central processing unit has an input or output terminal for a signal dedicated to system evaluation; Part or all of the circuit has individual signal input or output terminals that are not connected to the internal bus, and a predetermined external terminal connected outside the chip is connected to the evaluation-dedicated signal terminal of the central processing unit or the peripheral circuit. A microcomputer comprising a selection circuit that can be selectively connected to either one of the individual signal terminals.
辺回路を含んで1チップ化されたマイクロコンピュータ
であって、前記中央処理装置と一部の周辺回路はコアユ
ニットを成し、前記コアユニットに含まれる所定の周辺
回路及びコアユニット外に配置された周辺回路は、夫々
内部バスに非接続の個別信号入力又は出力用端子を有し
、前記中央処理装置はシステム評価専用信号の入力又は
出力端子を持ち、チップ外部に接続される所定の外部端
子を、前記評価専用信号端子、コアユニット内周辺回路
の個別信号端子、又はコアユニット外周辺回路の個別信
号端子の何れかに選択接続する、選択回路を設けて、成
るものであることを特徴とするマイクロコンピュータ。2. A microcomputer integrated into one chip including a central processing unit and peripheral circuits that share an internal bus, wherein the central processing unit and some of the peripheral circuits form a core unit, and the core unit Predetermined peripheral circuits included in the core unit and peripheral circuits arranged outside the core unit each have individual signal input or output terminals that are not connected to the internal bus, and the central processing unit inputs or outputs signals dedicated to system evaluation. having a terminal and selectively connecting a predetermined external terminal connected to the outside of the chip to any of the evaluation-dedicated signal terminal, the individual signal terminal of the peripheral circuit within the core unit, or the individual signal terminal of the peripheral circuit outside the core unit; A microcomputer comprising a selection circuit.
辺回路を含んで1チップ化されたマイクロコンピュータ
であって、前記中央処理装置と一部の周辺回路はコアユ
ニットを成し、前記コアユニットに含まれる所定の周辺
回路及びコアユニット外に配置された周辺回路は、夫々
内部バスに非接続の個別信号入力又は出力用端子を有し
、チップ外部に接続される所定の外部端子を、コアユニ
ット内周辺回路の個別信号端子、又はコアユニット外周
辺回路の個別信号端子の何れか一方に選択接続する、選
択回路を設けて、成るものであることを特徴とするマイ
クロコンピュータ。3. A single-chip microcomputer including a central processing unit and peripheral circuits that share an internal bus, wherein the central processing unit and some of the peripheral circuits form a core unit, and the core unit Predetermined peripheral circuits included in the chip and peripheral circuits arranged outside the core unit each have individual signal input or output terminals that are not connected to the internal bus, and predetermined external terminals connected to the outside of the chip are connected to the core. A microcomputer comprising a selection circuit selectively connected to either an individual signal terminal of a peripheral circuit within the unit or an individual signal terminal of a peripheral circuit outside the core unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2414424A JPH04225457A (en) | 1990-12-26 | 1990-12-26 | microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2414424A JPH04225457A (en) | 1990-12-26 | 1990-12-26 | microcomputer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04225457A true JPH04225457A (en) | 1992-08-14 |
Family
ID=18522908
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2414424A Withdrawn JPH04225457A (en) | 1990-12-26 | 1990-12-26 | microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04225457A (en) |
-
1990
- 1990-12-26 JP JP2414424A patent/JPH04225457A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5525971A (en) | Integrated circuit | |
| US6557069B1 (en) | Processor-memory bus architecture for supporting multiple processors | |
| US4626985A (en) | Single-chip microcomputer with internal time-multiplexed address/data/interrupt bus | |
| US5420985A (en) | Bus arbiter system and method utilizing hardware and software which is capable of operation in distributed mode or central mode | |
| JPH0738187B2 (en) | Microcomputer configured in LSI | |
| KR100513820B1 (en) | Bus-to-bus bridge circuit with integrated loopback test capability and method of use | |
| US4839820A (en) | Monolithic semi-custom LSI | |
| US7353315B2 (en) | Bus controller with virtual bridge | |
| US20020053005A1 (en) | Microcontroller | |
| US6052746A (en) | Integrated circuit having programmable pull device configured to enable/disable first function in favor of second function according to predetermined scheme before/after reset | |
| JPH04225457A (en) | microcomputer | |
| CN118210750A (en) | A multi-bus interconnection architecture based on communication performance optimization | |
| JP4116805B2 (en) | Internal bus test device and internal bus test method | |
| JPS63108741A (en) | Semiconductor integrated circuit device | |
| US20050193154A1 (en) | Controller for peripheral communications with processing capacity for peripheral functions | |
| KR960001270B1 (en) | Communication control circuit with redundancy | |
| KR970007762B1 (en) | Semiconductor integrated circuit | |
| US6467001B1 (en) | VLSI chip macro interface | |
| JP2628311B2 (en) | Microcomputer | |
| JP2005276033A (en) | Multiprocessor module | |
| JP2001236305A (en) | Semiconductor integrated circuit and data processing device | |
| JPH0562384B2 (en) | ||
| JP2000076199A (en) | Multiprocessor device provided with debugging terminal | |
| JPH03195044A (en) | Semiconductor integrated circuit and development of semiconductor integrated circuit | |
| JPH0346351A (en) | Semiconductor integrated circuit device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980312 |