JP3820707B2 - Interrupt vector address generator and microcomputer - Google Patents

Interrupt vector address generator and microcomputer Download PDF

Info

Publication number
JP3820707B2
JP3820707B2 JP29843297A JP29843297A JP3820707B2 JP 3820707 B2 JP3820707 B2 JP 3820707B2 JP 29843297 A JP29843297 A JP 29843297A JP 29843297 A JP29843297 A JP 29843297A JP 3820707 B2 JP3820707 B2 JP 3820707B2
Authority
JP
Japan
Prior art keywords
address
interrupt
interrupt vector
cpu
vector
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
Application number
JP29843297A
Other languages
Japanese (ja)
Other versions
JPH11134201A (en
Inventor
秀治 我妻
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP29843297A priority Critical patent/JP3820707B2/en
Publication of JPH11134201A publication Critical patent/JPH11134201A/en
Application granted granted Critical
Publication of JP3820707B2 publication Critical patent/JP3820707B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、CPUによる割込処理に応じて所定の割込ベクタアドレスを発生する割込ベクタアドレス生成装置及び当該割込ベクタアドレス生成装置を備えたマイクロコンピュータに関する。
【0002】
【従来の技術】
マイクロコンピュータ(以下、マイコンと称する)が電子基板上に実装された状態で不具合が発生した場合は、マイコンを電子基板から取外してマイコン単体で解析を行ったり、マイコン内に内蔵されたシリアル通信を利用してRAM上に解析プログラムを転送し、RAM上の解析プログラムで実行させて不具合箇所を特定するようにしている。
【0003】
【発明が解決しようとする課題】
ところが、マイコン単体で解析する場合には、システムが複雑化すると不具合再現が困難となり、解析に長時間を要する。また、RAM上の解析プログラムで不具合箇所を特定する場合には、システムに沿った解析を行うことはできるものの、RAM上の制限された解析プログラムで実行されるため、既にROM上に実装されているユーザプログラムから独立させるには割込処理を除いて解析を行わなくてはならない。つまり、解析プログラムの実行中に割込要因が発生したときはマイクロコンピュータのCPUはROM上のユーザプログラムの割込ベクタアドレスにアクセスすこるとにより割込処理ルーチンへ分岐し、RAM上の解析プログラムから離れて解析を続行できなくなるので、割込を加味した不具合解析を行うことができないという欠点がある。
【0004】
本発明は上記事情に鑑みてなされたもので、その目的は、解析プログラムに従って不具合解析する場合に、割込を加味した不具合解析を行うことができる割込ベクタ発生装置及びマイクロコンピュータを提供することにある。
【0005】
【課題を解決するための手段】
請求項1の発明によれば、CPUは、割込要因に応じて割込処理を実行するときはユーザプログラム記憶用アドレス空間に設定された所定の割込ベクタアドレスにアクセスする。このとき、割込ベクタ検出回路は、CPUからのアドレスが所定の割込ベクタアドレスであるので、割込検出指令を出力する。
【0006】
ここで、割込ベクタアドレス変換回路は、通常においてはCPUが割込ベクタアドレスにアクセスすることを有効化しているので、上述したようにCPUがユーザプログラム記憶用アドレス空間に設定された割込ベクタアドレスにアクセスしたときはCPUはユーザプログラムへ移行する。
【0007】
さて、CPUが割込処理を実行するときにユーザプログラムではなく解析プログラム上で行わせるときは、割込ベクタアドレス変換回路に対して割込ベクタアドレス発生切替指令を与える。すると、割込ベクタアドレス変換回路は、割込ベクタ発生切替指令が与えられた状態で割込ベクタ検出回路から割込検出指令が与えられたときは、CPUからの割込ベクタアドレスの所定の上位アドレスのビットパターンを反転することにより解析プログラム記憶用アドレス空間に設定さたれ所定の割込ベクタアドレスに変換する。
【0008】
これにより、CPUは、解析プログラム記憶用アドレス空間に設定された所定の割込ベクタアドレスにアクセスするようになるので、割込処理をユーザプログラムから解析プログラムに移行させることができる。
【0009】
この場合、割込ベクタアドレス変換回路としては、ビットパターンを反転する機能を持たせれば済むので、回路構成を簡単化することができる。
【0010】
【発明の実施の形態】
以下、本発明をシングルチップマイクロコンピュータに適用した一実施例を図面を参照して説明する。
図1はワンチップマイクロコンピュータの構成のうち本発明に関連した構成を概略的に示している。この図1において、マイクロコンピュータ1は16ビットのCPU2を主体として構成されており、そのデータ端子D15〜D0及びアドレス端子A11〜A0は内部データバス(アドレスバス及びデータバス)を介してRAM3、ROM4、周辺回路5、シリアル通信回路6と接続されている。
【0011】
シリアル通信回路6は、シリアル送信端子6a及びシリアル受信端子6bを有しており、これらの端子6a,6bを通じてRAM3上に解析プログラムを転送することができる。
【0012】
また、CPU2のアドレス端子A15〜A0はベクタアドレス生成回路7と接続されている。このベクタアドレス生成回路7は、CPU2からのベクタアドレスに基づいて所定のベクタアドレスを生成してアドレスバスに出力するものである。
【0013】
即ち、ベクタアドレス生成回路7において、割込ベクタ検出回路としての割込ベクタROM領域デコーダ回路8にはCPU2のアドレス端子A15〜A0が接続されている。この割込ベクタROM領域デコーダ回路8は、アドレス端子A15〜A10が[FF00]h、「FF02]h、[FF04]hとなったときにハイレベルの割込検出指令をNAND回路9の一方の入力端子に出力する。
【0014】
NAND回路9の他方の入力端子は外部端子と接続されており、この外部端子を通じて割込ベクタ発生切替信号が与えられるようになっている。
4個のAND回路10の一方の入力端子はCPU2のアドレス端子A15〜A12と夫々接続され、他方の入力端子はNAND回路9の出力端子と接続されている。そして、AND回路10の出力端子はアドレスバスを介して各回路と接続されている。本実施例では、これらのNAND回路9とAND回路10により割込ベクタアドレス変換回路が構成されている。
【0015】
図2はCPU2がアクセス可能なアドレス空間を示している。この図2において、CPU2のアドレス空間において、[0000]h〜[07FF]h番地がIO領域に設定され、[0800]h〜[3FFF]h番地がRAM領域に設定され、[4000]h〜[FFFF]h番地がROM領域に設定されている。
【0016】
ROM4にはユーザプログラムが格納されており、このユーザプログラムにおける[FF00]h番地が通常動作時のスタートベクタに設定され、[FF02]h番地が通常動作時のタイマ割込ベクタに設定され、[FF04]h番地が通常動作時のNMI(Non Maskable Interrupt)割込ベクタに設定されている。
【0017】
RAM3には、CPU2によりユーザプログラムが実行されるのに伴ってワーキングデータが格納される。このRAM3には、動作解析時は解析プログラムが通信により格納されるようになっており、その解析プログラムにおける[0F00]h番地が解析動作時のスタートベクタに設定され、[0F02]h番地が解析動作時のタイマ割込ベクタに設定され、[0F04]h番地が解析動作時のNMI割込ベクタに設定されている。
【0018】
ここで、スタートベクタとは、リセット解除後に最初に設定されるベクタで、プログラムの先頭番地にジャンプする処理を実行する。また、タイマ割込ベクタは、例えばタイマのカウント値のオーバフロー時に発生するベクタで、タイマがオーバフローしたときは、次はシステム的にどのような処理が必要かによってその動作内容が決まる。NMI割込は、CPU2が有するNMI端子から信号が入力したときに発生するベクタで、割込マスクが無効化されており非常に優先順位の高い割込であり、システム的に致命的な場合に行われるものである。
尚、上述したベクタとは、割込プログラムのジャンプ先のアドレスのことであり、CPU2は、ベクタが示すアドレスにジャンプするようになっている。
【0019】
次に上記構成の作用について説明する。
CPU2の不具合動作を解析するときは、RAM3上に解析プログラムをシリアル通信回路6を通じて転送して記憶させてからその解析プログラムを動作させる。
【0020】
さて、解析プログラムの実行中に周辺回路5或いはシリアル通信回路6から割込が要求されたときは、CPU2は、割込要因に対応して割込ベクタを発生させる。
【0021】
即ち、CPU2は、割込ベクタとしてスタートベクタ、タイマ割込ベクタ、NMI割込ベクタが設定されており、スタートベクタを発生するときは[FF00]hをアドレスとして出力し、タイマ割込ベクタを発生するときは[FF02]hをアドレスとして出力とし、NMI割込ベクタを発生するときは[FF04]hをアドレスとして出力する。
【0022】
ここで、CPU2がタイマ割込処理を実行する際の動作について説明する。 CPU2は、タイマのカウント値がオーバフローすることによりタイマ割込要因信号が入力したときは、[FF02]hをアドレスとして出力する(図3参照)。
すると、割込ベクタROM領域デコーダ回路8は、アドレスが[FF02]hとなることによりNAND回路9にハイレベルの割込検出指令を出力する。
【0023】
このとき、NAND回路9の一方の入力端子がハイレベルとなるものの、他方の入力端子に入力している割込ベクタ発生切替信号はローレベルのままであるので、NAND回路9からはハイレベル信号が出力されている。従って、CPU2からアドレスとして[FF02]hが出力されたときは、全てのAND回路10の入力端子はハイレベルとなるので、AND回路10からはハイレベル信号が出力される。
【0024】
要するに、CPU2からアドレスとして[FF02]hが出力されたときは、ベクタアドレス生成回路7の存在にかかわらずアドレスバスに[FF02]hが出力されることになる。
【0025】
以上の動作により、CPU2は、ROM領域の[FF02]h番地に記憶されている通常動作時タイマ割込ベクタに基づいてタイマ割込処理に移行する。これにより、タイマがオーバフローしたときの次の処理に移行するようになる。
【0026】
ところで、上述したように解析プログラムの実行時に割込要因が発生したときは、通常の割込処理に移行してしまい、解析動作が不可能となってしまう。
【0027】
そこで、本実施例では、次のようにして割込要因が発生したときはCPU2が解析用の割込処理を実行するようにした。
即ち、解析用の割込処理の実行を希望するときは、NAND回路9と接続された外部端子に与えられている割込ベクタ発生切替信号をハイレベルに切替える(図4参照)。
【0028】
すると、NAND回路9の出力端子の信号レベルがローレベルとなるので、上述したようにタイマがオーバフローすることによりCPU2から[FF02]hがアドレスとして出力されるにしても、AND回路10の出力はローレベルとなる。
【0029】
以上の動作により、ベクタアドレス生成回路7からはアドレスA15〜A12としてローレベルが出力されるので、アドレスは[0F02]hに変換されることになる。
【0030】
ここで、図2に示すようにアドレス空間の[0F02]h番地はRAM領域であり、解析プログラムにおける解析動作時のタイマ割込ベクタに設定されているので、CPU2は、解析動作時の割込ベクタによって設定されたアドレスに移行することによりタイマ動作解析用の処理を実行するようになる。
【0031】
同様にして、CPU2は、割込要因の発生によりスタート割込或いはNMI割込処理を実行するときは、割込ベクタ発生切替信号の信号レベルに基づいて通常動作用の割込と解析用の割込とを選択的に実行することができる。
【0032】
上記構成のものによれば、ベクタアドレス生成回路7は、CPU2から割込用のアドレスが出力されたときは、割込ベクタ発生切替信号の信号レベルに応じてユーザプログラム中の割込処理若しくは解析プログラム中の割込処理を選択的に実行するので、CPU2による割込処理を任意に切替えることができる。従って、割込要因に応じてCPUが割込処理を実行するときは通常動作時の割込処理しか実行できない構成とは違って、割込処理に応じた解析が可能となり、CPU2の動作解析の精度を高めることができる。
【0033】
また、ベクタアドレス生成回路7は、割込ベクタROM領域デコーダ回路8及びNAND回路9並びにAND回路10という簡単なデジタル回路から構成されているので、回路構成を簡単化することができる。
【0034】
本発明は上記実施例にのみ限定されるものではなく、次のように変形または拡張できる。
割込ベクタROM発生切替信号入力用の外部端子を設ける構成に代えて、マイクロコンピュータ内にベクタ発生切替制御レジスタを設け、CPU2からデータ(1or0)を書込むことによりベクタアドレス生成回路7にレベル信号を与えるように構成してもよい。
アドレス空間としては、RAM領域をROM領域よりも上位アドレスに設定するようにしてもよい。
【図面の簡単な説明】
【図1】本発明の一実施例における全体構成を示す概略図
【図2】CPUのアドレス空間を示す模式図
【図3】割込ベクタ発生切替信号がローレベルの場合の信号波形図
【図4】割込ベクタ発生切替信号がハイレベルの場合の信号波形図
【符号の説明】
1はシングルチップコンピュータ、2はCPU、3はRAM、4はROM、5は周辺回路、6はシリアル通信回路、7はベクタアドレス生成回路、8は割込ベクタROM領域デコーダ回路(割込ベクタ検出回路)、9はNAND回路(割込ベクタアドレス変換回路)、10はAND回路(割込ベクタアドレス変換回路)である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an interrupt vector address generation device that generates a predetermined interrupt vector address in response to an interrupt process by a CPU, and a microcomputer including the interrupt vector address generation device.
[0002]
[Prior art]
If a problem occurs when a microcomputer (hereinafter referred to as a microcomputer) is mounted on an electronic board, the microcomputer is removed from the electronic board and analyzed by itself, or serial communication built into the microcomputer is performed. The analysis program is transferred to the RAM by using it, and is executed by the analysis program on the RAM so as to identify the defective portion.
[0003]
[Problems to be solved by the invention]
However, when analyzing with a microcomputer alone, if the system becomes complicated, it becomes difficult to reproduce the problem, and the analysis takes a long time. In addition, when a failure location is specified by the analysis program on the RAM, the analysis can be performed along the system, but since it is executed by the limited analysis program on the RAM, it is already mounted on the ROM. In order to make it independent of the existing user program, analysis must be performed except for interrupt processing. In other words, if an interrupt factor occurs during the execution of the analysis program, the microcomputer CPU branches to the interrupt processing routine by accessing the interrupt vector address of the user program on the ROM, and the analysis program on the RAM Since it is impossible to continue the analysis away from the problem, there is a disadvantage that the failure analysis cannot be performed in consideration of the interruption.
[0004]
The present invention has been made in view of the above circumstances, and an object thereof is to provide an interrupt vector generation device and a microcomputer capable of performing a failure analysis taking into account an interrupt when performing a failure analysis according to an analysis program. It is in.
[0005]
[Means for Solving the Problems]
According to the first aspect of the present invention, the CPU accesses a predetermined interrupt vector address set in the user program storage address space when executing the interrupt process according to the interrupt factor. At this time, the interrupt vector detection circuit outputs an interrupt detection command because the address from the CPU is a predetermined interrupt vector address.
[0006]
Here, since the interrupt vector address conversion circuit normally enables the CPU to access the interrupt vector address, the interrupt vector set in the user program storage address space as described above. When accessing the address, the CPU shifts to the user program.
[0007]
When the CPU executes interrupt processing on the analysis program instead of the user program, an interrupt vector address generation switching command is given to the interrupt vector address conversion circuit. Then, the interrupt vector address conversion circuit, when the interrupt vector generation circuit receives the interrupt detection command from the interrupt vector generation switching command, gives a predetermined higher order of the interrupt vector address from the CPU. By inverting the bit pattern of the address, it is set in the analysis program storage address space and converted into a predetermined interrupt vector address.
[0008]
As a result, the CPU accesses a predetermined interrupt vector address set in the analysis program storage address space, so that the interrupt processing can be shifted from the user program to the analysis program.
[0009]
In this case , since the interrupt vector address conversion circuit only needs to have a function of inverting the bit pattern, the circuit configuration can be simplified.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment in which the present invention is applied to a single chip microcomputer will be described with reference to the drawings.
FIG. 1 schematically shows a configuration related to the present invention among the configurations of a one-chip microcomputer. In FIG. 1, a microcomputer 1 is mainly composed of a 16-bit CPU 2. Data terminals D15 to D0 and address terminals A11 to A0 are connected to a RAM 3 and a ROM 4 via an internal data bus (address bus and data bus). The peripheral circuit 5 and the serial communication circuit 6 are connected.
[0011]
The serial communication circuit 6 has a serial transmission terminal 6a and a serial reception terminal 6b, and an analysis program can be transferred onto the RAM 3 through these terminals 6a and 6b.
[0012]
The address terminals A15 to A0 of the CPU 2 are connected to the vector address generation circuit 7. The vector address generation circuit 7 generates a predetermined vector address based on the vector address from the CPU 2 and outputs it to the address bus.
[0013]
In other words, in the vector address generation circuit 7, the address terminals A15 to A0 of the CPU 2 are connected to the interrupt vector ROM area decoder circuit 8 as an interrupt vector detection circuit . The interrupt vector ROM area decoder circuit 8 issues a high-level interrupt detection command to one of the NAND circuits 9 when the address terminals A15 to A10 are [FF00] h, "FF02] h, and [FF04] h. Output to the input terminal.
[0014]
The other input terminal of the NAND circuit 9 is connected to an external terminal, and an interrupt vector generation switching signal is given through this external terminal.
One input terminal of each of the four AND circuits 10 is connected to the address terminals A15 to A12 of the CPU 2, and the other input terminal is connected to the output terminal of the NAND circuit 9. The output terminal of the AND circuit 10 is connected to each circuit via an address bus. In this embodiment, the NAND vector 9 and the AND circuit 10 constitute an interrupt vector address conversion circuit.
[0015]
FIG. 2 shows an address space accessible by the CPU 2. In FIG. 2, addresses [0000] h to [07FF] h are set in the IO area, addresses [0800] h to [3FFF] h are set in the RAM area, and [4000] h to [FFFF] address h is set in the ROM area.
[0016]
The ROM 4 stores a user program, and [FF00] h address in the user program is set as a start vector during normal operation, and [FF02] h address is set as a timer interrupt vector during normal operation. FF04] address h is set as an NMI (Non Maskable Interrupt) interrupt vector during normal operation.
[0017]
The RAM 3 stores working data as the user program is executed by the CPU 2. In the RAM 3, an analysis program is stored by communication during operation analysis, and [0F00] h address in the analysis program is set as a start vector during analysis operation, and [0F02] h address is analyzed. The timer interrupt vector during operation is set, and [0F04] h address is set as the NMI interrupt vector during analysis operation.
[0018]
Here, the start vector is a vector that is set first after reset release, and executes a process of jumping to the start address of the program. The timer interrupt vector is a vector generated when the count value of the timer overflows, for example. When the timer overflows, the operation content is determined depending on what processing is necessary in the system next. An NMI interrupt is a vector that is generated when a signal is input from the NMI terminal of the CPU 2, and is an interrupt with a very high priority because the interrupt mask is invalidated. Is to be done.
The vector mentioned above is an address to which the interrupt program jumps, and the CPU 2 jumps to the address indicated by the vector.
[0019]
Next, the operation of the above configuration will be described.
When analyzing the malfunction operation of the CPU 2, the analysis program is transferred to the RAM 3 through the serial communication circuit 6 and stored, and then the analysis program is operated.
[0020]
When an interrupt is requested from the peripheral circuit 5 or the serial communication circuit 6 during the execution of the analysis program, the CPU 2 generates an interrupt vector corresponding to the interrupt factor.
[0021]
That is, the CPU 2 has a start vector, a timer interrupt vector, and an NMI interrupt vector set as interrupt vectors. When generating a start vector, [FF00] h is output as an address to generate a timer interrupt vector. [FF02] h is output as an address when generating, and [FF04] h is output as an address when generating an NMI interrupt vector.
[0022]
Here, the operation when the CPU 2 executes the timer interrupt process will be described. When the timer count factor overflows and the timer interrupt factor signal is input, the CPU 2 outputs [FF02] h as an address (see FIG. 3).
Then, the interrupt vector ROM area decoder circuit 8 outputs a high-level interrupt detection command to the NAND circuit 9 when the address becomes [FF02] h.
[0023]
At this time, although one input terminal of the NAND circuit 9 is at a high level, the interrupt vector generation switching signal input to the other input terminal remains at a low level. Is output. Therefore, when [FF02] h is output from the CPU 2 as an address, the input terminals of all the AND circuits 10 are at a high level, so that a high level signal is output from the AND circuit 10.
[0024]
In short, when [FF02] h is output as an address from the CPU 2, [FF02] h is output to the address bus regardless of the presence of the vector address generation circuit 7.
[0025]
With the above operation, the CPU 2 shifts to the timer interrupt process based on the normal operation timer interrupt vector stored in the [FF02] h address in the ROM area. As a result, the process proceeds to the next process when the timer overflows.
[0026]
By the way, as described above, when an interrupt factor occurs during the execution of the analysis program, the routine shifts to a normal interrupt process, and the analysis operation becomes impossible.
[0027]
Therefore, in this embodiment, when an interrupt factor is generated as follows, the CPU 2 executes an interrupt process for analysis.
That is, when it is desired to execute the interrupt processing for analysis, the interrupt vector generation switching signal given to the external terminal connected to the NAND circuit 9 is switched to the high level (see FIG. 4).
[0028]
Then, since the signal level of the output terminal of the NAND circuit 9 becomes a low level, even if [FF02] h is output as an address from the CPU 2 due to the timer overflow as described above, the output of the AND circuit 10 is Become low level.
[0029]
With the above operation, since the low level is output from the vector address generation circuit 7 as the addresses A15 to A12, the address is converted to [0F02] h.
[0030]
Here, as shown in FIG. 2, address [0F02] h in the address space is a RAM area, and is set as a timer interrupt vector at the time of analysis operation in the analysis program, so the CPU 2 interrupts at the time of analysis operation. By moving to the address set by the vector, processing for timer operation analysis is executed.
[0031]
Similarly, when executing a start interrupt or NMI interrupt process due to the generation of an interrupt factor, the CPU 2 performs an interrupt for normal operation and an interrupt for analysis based on the signal level of the interrupt vector generation switching signal. Can be selectively executed.
[0032]
According to the above configuration, when the interrupt address is output from the CPU 2, the vector address generation circuit 7 performs interrupt processing or analysis in the user program according to the signal level of the interrupt vector generation switching signal. Since the interrupt process in the program is selectively executed, the interrupt process by the CPU 2 can be arbitrarily switched. Therefore, when the CPU executes the interrupt process according to the interrupt factor, unlike the configuration in which only the interrupt process at the normal operation can be executed, the analysis according to the interrupt process can be performed, and the operation analysis of the CPU 2 can be performed. Accuracy can be increased.
[0033]
Since the vector address generation circuit 7 is composed of simple digital circuits such as the interrupt vector ROM area decoder circuit 8, the NAND circuit 9, and the AND circuit 10, the circuit configuration can be simplified.
[0034]
The present invention is not limited to the above embodiment, and can be modified or expanded as follows.
Instead of providing an external terminal for interrupt vector ROM generation switching signal input, a vector generation switching control register is provided in the microcomputer, and a level signal is sent to the vector address generation circuit 7 by writing data (1 or 0) from the CPU 2. You may comprise so that.
As the address space, the RAM area may be set to a higher address than the ROM area.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing an overall configuration of an embodiment of the present invention. FIG. 2 is a schematic diagram showing an address space of a CPU. FIG. 3 is a signal waveform diagram when an interrupt vector generation switching signal is at a low level. 4] Signal waveform diagram when interrupt vector generation switching signal is high level [Explanation of symbols]
1 is a single chip computer, 2 is a CPU, 3 is a RAM, 4 is a ROM, 5 is a peripheral circuit, 6 is a serial communication circuit, 7 is a vector address generation circuit, 8 is an interrupt vector ROM area decoder circuit (interrupt vector detection) Circuit), 9 is a NAND circuit (interrupt vector address conversion circuit), and 10 is an AND circuit (interrupt vector address conversion circuit).

Claims (2)

CPUがアクセスしたアドレスがユーザプログラム記憶用アドレス空間に設定された所定の割込ベクタアドレスであったときは割込検出指令を出力する割込ベクタ検出回路と、
通常においては前記CPUが割込ベクタアドレスにアクセスすることを有効化すると共に、外部から割込ベクタ発生切替指令が与えられた状態で前記割込ベクタ検出回路から割込検出指令が与えられたときは、前記CPUからの割込ベクタアドレスの所定の上位ビットパターンを反転することにより解析プログラム記憶用アドレス空間に設定された所定の割込ベクタアドレスに変換する割込ベクタアドレス変換回路とを備えたことを特徴とする割込ベクタアドレス生成装置。
An interrupt vector detection circuit that outputs an interrupt detection command when the address accessed by the CPU is a predetermined interrupt vector address set in the user program storage address space;
Normally, when the CPU enables access to an interrupt vector address, and an interrupt detection command is given from the interrupt vector detection circuit while an interrupt vector generation switching command is given from the outside Comprises an interrupt vector address conversion circuit that converts a predetermined high-order bit pattern of an interrupt vector address from the CPU into a predetermined interrupt vector address set in an analysis program storage address space. An interrupt vector address generator characterized by the above.
請求項1の割込ベクタアドレス生成装置を備えたことを特徴とするマイクロコンピュータ。A microcomputer comprising the interrupt vector address generation device according to claim 1.
JP29843297A 1997-10-30 1997-10-30 Interrupt vector address generator and microcomputer Expired - Fee Related JP3820707B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29843297A JP3820707B2 (en) 1997-10-30 1997-10-30 Interrupt vector address generator and microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29843297A JP3820707B2 (en) 1997-10-30 1997-10-30 Interrupt vector address generator and microcomputer

Publications (2)

Publication Number Publication Date
JPH11134201A JPH11134201A (en) 1999-05-21
JP3820707B2 true JP3820707B2 (en) 2006-09-13

Family

ID=17859639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29843297A Expired - Fee Related JP3820707B2 (en) 1997-10-30 1997-10-30 Interrupt vector address generator and microcomputer

Country Status (1)

Country Link
JP (1) JP3820707B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10017934A1 (en) * 2000-04-11 2001-08-09 Fujitsu Siemens Computers Gmbh Method for handling interrupts for a computer system with a CPU and a system bus in which a multiplexor is used to redirect address to an interrupt base address register to optimize system speed for soft or hard boot-ups

Also Published As

Publication number Publication date
JPH11134201A (en) 1999-05-21

Similar Documents

Publication Publication Date Title
US4954942A (en) Software debugging system for writing a logical address conversion data into a trace memory of an emulator
US5832251A (en) Emulation device
JPS62243058A (en) Control method of interruption for multi-processor system
JP3226055B2 (en) Information processing device
US5168559A (en) Emulation system capable of complying with microcomputers having different on-chip memory capacities
US6986028B2 (en) Repeat block with zero cycle overhead nesting
JP2001184226A (en) Digital system having memory block and emulating method of block of memory
EP0530816A2 (en) Microprocessor with cache memory and trace analyzer therefor
JP3003782B2 (en) Development support equipment
JP3820707B2 (en) Interrupt vector address generator and microcomputer
JPS62179033A (en) Ic microprocessor
JP3822885B2 (en) 1 chip data processor
JP3547012B2 (en) Microcomputer
JP4024713B2 (en) Data processing system and control device
JP3006487B2 (en) Emulation device
JP4421148B2 (en) Debug system
JPH0679278B2 (en) Microcomputer development equipment
JP2004295874A (en) Microcomputer application system, microcomputer, signal processing system and signal processing lsi
JPH05151369A (en) Integrated circuit
JP2004070461A (en) Method of controlling memory access
JPS6319040A (en) Information processor
JPH11212945A (en) Microcomputer and it memory
JPH0697435B2 (en) Variation chip
JP2002288042A (en) Micro-computer
JP2003263338A (en) Debug function-incorporated microcomputer

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060428

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060530

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060612

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090630

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100630

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100630

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110630

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110630

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120630

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120630

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130630

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140630

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees