JPS6235947A - Controller - Google Patents
ControllerInfo
- Publication number
- JPS6235947A JPS6235947A JP60174232A JP17423285A JPS6235947A JP S6235947 A JPS6235947 A JP S6235947A JP 60174232 A JP60174232 A JP 60174232A JP 17423285 A JP17423285 A JP 17423285A JP S6235947 A JPS6235947 A JP S6235947A
- Authority
- JP
- Japan
- Prior art keywords
- chip
- output
- circuit
- terminal
- control memory
- 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
Links
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は制御メモリを内蔵した集積化マイクロプログラ
ム制御の装置においてマイクロプログラムのデバグを容
易化する装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a device for facilitating debugging of a microprogram in an integrated microprogram control device having a built-in control memory.
(発明の概要)
本発明は制御メモリを内蔵した集積化マイクロプログラ
ム制御の装置において、通常時使用頻度の低い入出力端
子の前段にセレクタを配備し、該入出力端子を使用しな
いときは制御メモリのアクセス番地を出力するようにし
、端子数の増加によるチップの大型化およびコストアッ
プを招くことなくマイクロプログラムのデバグを容易に
した制御装置である。(Summary of the Invention) The present invention provides an integrated microprogram controlled device with a built-in control memory, in which a selector is provided in front of an input/output terminal that is rarely used in normal times, and when the input/output terminal is not used, the control memory This control device outputs the access address of the microprogram, making it easy to debug the microprogram without increasing the size of the chip or increasing the cost due to an increase in the number of terminals.
(従来技術および発明が解決しようとする問題点)従来
、マイクロプログラム制御の装置におけるマイクロプロ
グラムのデバグは、制御メモリの読み出しアドレスなら
びに読み出しデータをロジックアナライザ等の装置によ
りトレースして実行していた。(Prior Art and Problems to be Solved by the Invention) Conventionally, debugging of a microprogram in a microprogram controlled device has been carried out by tracing read addresses and read data of a control memory using a device such as a logic analyzer.
集積技術の進歩により制御装置の1チツプ化が可能とな
ったが、当初は制御メモリはチップ外に取り付ける方式
がとられた。この場合はマイクロプログラムの実行状態
をトレースでき問題ないが、更に高集積化が進み制御メ
モリをRAM化(完全にデパグできないためROMとは
できない場合もある。)し、チップに内蔵した場合、マ
イクロプログラムのデバグのためのトレース情報を容易
にチップ外に出力できなくなってきた。Advances in integration technology have made it possible to integrate control devices into a single chip, but initially the control memory was attached outside the chip. In this case, there is no problem because the execution state of the microprogram can be traced, but as the integration becomes higher and higher, the control memory is converted to RAM (sometimes it cannot be used as ROM because it cannot be completely debugged) and built into the chip. It has become impossible to easily output trace information outside the chip for program debugging.
この場合、チップとは別に331.MSルベルで同−論
理を実現したハードウェアシミュレータを作り、これに
よりデバグを行えば大部分のデバグは可能であるが、新
たにハードウェアシミュレータを作らなければならない
という問題が発生する。In this case, 331. Most debugging is possible by creating a hardware simulator that implements the same logic using MS Rubel and debugging it using this, but the problem arises that a new hardware simulator must be created.
また、チップ外にトレース情報を出力する端子を設けた
場合、チップ面積、ケースのサイズ等が大きくなり、コ
ストアップを招くと共に、これらの端子は通常は使用し
ないため、無駄が多くなるという欠点があった。Additionally, if a terminal is provided outside the chip to output trace information, the chip area, case size, etc. will increase, leading to an increase in cost, and since these terminals are not normally used, there will be a lot of waste. there were.
(問題点を解決するための手段)
本発明はこれら問題点を解決するため、通常時に使用頻
度の低い入出力端子を用い、これら端子を使用していな
いとき、マイクロプログラムのデバグに必要なトレース
情報をチップ外に出力するようにしたもので、以下、図
面に沿って詳細に説明する。(Means for Solving the Problems) In order to solve these problems, the present invention uses input/output terminals that are infrequently used in normal times, and when these terminals are not used, traces necessary for debugging microprograms are provided. This is designed to output information outside the chip, and will be explained in detail below with reference to the drawings.
第1図は本発明の一実施例のブロック図であって、1は
マイクロプログラムの実行制御を行うシーケンサ、2は
シーケンサ1の出力である制御メモリアドレス(アクセ
ス番地)、3はマイクロ命令が格納された制御メモリ、
4は制御メモリ3から読み出したマイクロ命令を格納す
るマイクロ命令レジスタ、5はマイクロ命令レジスタ4
により制御され動作する演算系、6は演算系5の実行状
態等を外部に出力する使用頻度の少ない情報線、7は情
報線6に情報がなくチップ外に制御メモリアドレス2を
出力することを指示する情報線、8,9は論理積回路、
10は論理和回路、11.12はデツプ外に信号を出力
す・るための出力バッファ、13.14はチップの出力
端子である。なお、論理積回路8,9.論理和回路10
でいわゆるセレクタを構成している。また、0nで示し
た信号は線ならびに回路がn個有するという意味である
。すなわち、制御メモリアドレス2をn本とすると、情
報線6はn本となり、論理積回路8,9.論理和回路1
0.出力バッファ12.出力端子14はn組存在する。FIG. 1 is a block diagram of an embodiment of the present invention, in which 1 is a sequencer that controls the execution of a microprogram, 2 is a control memory address (access address) that is the output of the sequencer 1, and 3 is where microinstructions are stored. controlled memory,
4 is a microinstruction register that stores microinstructions read from the control memory 3; 5 is a microinstruction register 4;
6 is an information line that is rarely used and outputs the execution status of the arithmetic system 5 to the outside. 7 is an information line that has no information on the information line 6 and outputs the control memory address 2 outside the chip. Instructing information lines, 8 and 9 are AND circuits,
10 is an OR circuit, 11.12 is an output buffer for outputting a signal to the outside of the chip, and 13.14 is an output terminal of the chip. Note that the AND circuits 8, 9 . OR circuit 10
constitutes a so-called selector. Further, the signal indicated by 0n means that there are n lines and circuits. That is, if the number of control memory addresses 2 is n, the number of information lines 6 is n, and the AND circuits 8, 9 . OR circuit 1
0. Output buffer 12. There are n sets of output terminals 14.
ここで、マイクロプログラムの動作は周知の事であるた
め詳細には説明しないが、マイクロ命令レジスタ4の内
容により演算系5を動作させ、マイクロ命令レジスタ4
あるいは演算系5の状態によりシーケンサ1は次のマイ
クロ命令のアドレスを決定し制御メモリアドレス2を出
力し、制御メモリ3を駆動する。ここで、シーケンサ1
は演算系5からチップ外に出力されるn個の端子14が
使用されているか否かをマイクロ命令レジスタ4の内容
をみて知ることができる。すなわち、マイクロ命令レジ
スタ4の内容を解読すれば該情報を端子14に出力する
ということを知ることができる。この解読のためにシー
ケンサ1にデコーダを設け、マイクロ命令レジスタ4の
内容を解読し、解読して論理値が0°′すなわち端子1
4へ情報を出力しないとき情報線7へ論理“1“′を出
力する回路を設ける。Here, since the operation of the microprogram is well known, it will not be explained in detail, but the operation system 5 is operated according to the contents of the microinstruction register 4.
Alternatively, the sequencer 1 determines the address of the next microinstruction depending on the state of the arithmetic system 5, outputs the control memory address 2, and drives the control memory 3. Here, sequencer 1
By looking at the contents of the microinstruction register 4, it is possible to know whether or not the n terminals 14 output from the arithmetic system 5 to the outside of the chip are being used. That is, by decoding the contents of the microinstruction register 4, it is possible to know that the information is to be output to the terminal 14. To decode this, the sequencer 1 is provided with a decoder, which decodes the contents of the micro-instruction register 4.
A circuit is provided which outputs a logic "1"' to the information line 7 when no information is output to the information line 4.
なお、シーケンサ1内のデコーダの構成は説明より明ら
かなため図示はしていない。Note that the configuration of the decoder in the sequencer 1 is not shown because it is clear from the description.
これにより論理積回路8を動作、論理積回路9を不動作
にし、制御メモリアドレス2を論理積回路8.論理和回
路10.出力バッフア12を通じチップの出力端子14
へ出力する。これと同時に情報線7の信号も出力バッフ
ァ11を通しチップの出力端子13へ出力し、出力端子
14から出力されている信号が制御メモリアドレス2で
あることを示す。As a result, the AND circuit 8 is activated, the AND circuit 9 is disabled, and the control memory address 2 is set to the AND circuit 8. OR circuit 10. Output terminal 14 of the chip through output buffer 12
Output to. At the same time, the signal on the information line 7 is also output through the output buffer 11 to the output terminal 13 of the chip, indicating that the signal being output from the output terminal 14 is the control memory address 2.
このような構成となっているため、チップの端子数を増
加させずに制御メモリのアドレスをチップ外に出力する
ことができる。With this configuration, the address of the control memory can be output outside the chip without increasing the number of terminals on the chip.
(発明の効果)
以上説明したように常時使用しない使用頻度の低いチッ
プの端子を制御メモリアドレ哀出力のために用いるため
、
(イ)制御メモリを内蔵するタイプの制御装置であって
もチップ外からマイクロプログラムのデバグが容易に行
える。(Effects of the Invention) As explained above, since the terminals of the infrequently used chip, which are not always used, are used for control memory address output, You can easily debug microprograms from here.
(ロ)チップ面積、ケース端子数を増加させることはな
く、デパグ用のために集積化装置をコストアップさせる
ことはない。(b) There is no increase in the chip area or the number of case terminals, and there is no increase in the cost of the integrated device for Depagu.
等の利点がある。There are advantages such as
第1図は本発明の一実施例を示すブロック図である。 FIG. 1 is a block diagram showing one embodiment of the present invention.
Claims (1)
装置において、通常時使用頻度の低い入出力端子の前段
にセレクタを配備し、該入出力端子を使用しないときは
制御メモリのアクセス番地を出力すると共に、該入出力
端子に該アクセス番地が出力されていることを表示する
他の出力端子を設け、内蔵したマイクロプログラムの実
行状態を集積化装置の外部から観察可能としたことを特
徴とする制御装置。In an integrated microprogram controlled device with a built-in control memory, a selector is provided in front of an input/output terminal that is rarely used in normal times, and when the input/output terminal is not used, it outputs an access address of the control memory, and A control device characterized in that the input/output terminal is provided with another output terminal for displaying that the access address is output, so that the execution state of the built-in microprogram can be observed from outside the integrated device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60174232A JPS6235947A (en) | 1985-08-09 | 1985-08-09 | Controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60174232A JPS6235947A (en) | 1985-08-09 | 1985-08-09 | Controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6235947A true JPS6235947A (en) | 1987-02-16 |
Family
ID=15975028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60174232A Pending JPS6235947A (en) | 1985-08-09 | 1985-08-09 | Controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6235947A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH086918A (en) * | 1994-06-15 | 1996-01-12 | Nec Corp | Microcomputer |
-
1985
- 1985-08-09 JP JP60174232A patent/JPS6235947A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH086918A (en) * | 1994-06-15 | 1996-01-12 | Nec Corp | Microcomputer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR890008699A (en) | Flexible ASIC microcomputer | |
KR900016866A (en) | Data processing systems | |
KR900006853A (en) | Microprocessor | |
KR970012153A (en) | How to run data processor and breakpoint operations | |
KR910017759A (en) | Sequence Action Logic Device | |
JPS6235947A (en) | Controller | |
US5828859A (en) | Method and apparatus for setting the status mode of a central processing unit | |
KR940001268B1 (en) | Data process with check function of undefined addressing over each command | |
KR930001061A (en) | Micro computer | |
JPH045217B2 (en) | ||
KR200175057Y1 (en) | An apparatus for debugging an error of a computer | |
JPS594051B2 (en) | One-chip microprocessor test processing method | |
KR940012128A (en) | Micro computer | |
JPH01253043A (en) | Input/output controller | |
KR0162763B1 (en) | Apparatus and method for implementing the configuration space of a pci device using mux | |
JPS5880741A (en) | Interruption controlling system | |
JPS63291135A (en) | Microcomputer developing device | |
JPH04242871A (en) | Write module for data flow calculator | |
JPS63629A (en) | Data processing system | |
JPS60193046A (en) | Detecting system for instruction exception | |
JP2006172004A (en) | Debug supporting device and incircuit emulator | |
JPH06230958A (en) | Processor | |
JPH01253044A (en) | Input/output controller | |
JPS59123052A (en) | Execution tracing system | |
KR920004966A (en) | Emulation microcomputer |