JPH0575845U - CPU interrupt table data fixed circuit - Google Patents
CPU interrupt table data fixed circuitInfo
- Publication number
- JPH0575845U JPH0575845U JP1153192U JP1153192U JPH0575845U JP H0575845 U JPH0575845 U JP H0575845U JP 1153192 U JP1153192 U JP 1153192U JP 1153192 U JP1153192 U JP 1153192U JP H0575845 U JPH0575845 U JP H0575845U
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- table data
- circuit
- output
- logic circuit
- 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
(57)【要約】
【目的】 RAM上に書き込まれているテーブルデータ
を暴走時に保護することのできるCPU割込みテーブル
データ固定回路を提供すること。
【構成】 1はCPUで、外部による割込み要求に対
し、応答信号をロジック回路2へ出力す。ロジック回
路2からベクタと呼ばれる8bitデータがCPU1へ
出力される。これによりテーブルアドレスが決定され
る。このアドレスのデータはRAM3上に置かれている
が、ロジック回路2から出力される。
(57) [Abstract] [Purpose] To provide a CPU interrupt table data fixing circuit capable of protecting table data written in a RAM during runaway. [Configuration] 1 is a CPU, which outputs a response signal to a logic circuit 2 in response to an external interrupt request. 8-bit data called a vector is output from the logic circuit 2 to the CPU 1. This determines the table address. The data of this address is placed on the RAM 3 but is output from the logic circuit 2.
Description
【0001】[0001]
本考案はCPU割込み時にCPUがフェッチする割込み処理プログラムの先頭 アドレスを示すテーブルデータの出力回路に関し、特にテーブルデータの設定を ロジック回路により行うことに関する。 The present invention relates to an output circuit of table data indicating a start address of an interrupt processing program fetched by a CPU when a CPU interrupts, and particularly to setting table data by a logic circuit.
【0002】[0002]
従来16bitCPUなどでは割込み処理時に割込み処理プログラムの先頭ア ドレス(テーブルデータ)がCPUのメモリマップ上の外部メモリより供給され ていた。この外部メモリはRAMを使用するのが普通である。 In the conventional 16-bit CPU and the like, the head address (table data) of the interrupt processing program is supplied from the external memory on the memory map of the CPU during interrupt processing. This external memory normally uses RAM.
【0003】[0003]
従来のテーブルデータはRAM上に書き込まれているため、プログラムのバグ やプログラム開発時の不完全さにより暴走した時書き変わる可能性があった。 Since the conventional table data is written in the RAM, it may be rewritten when a runaway occurs due to a bug in the program or incompleteness during program development.
【0004】 それ故に本考案の目的はテーブルデータを暴走時に保護することができるCP U割込みテーブルデータ固定回路を提供することにある。Therefore, an object of the present invention is to provide a CPU interrupt table data fixing circuit capable of protecting table data in case of runaway.
【0005】[0005]
従って、本考案は上述の目的を達成するために、CPUのメモリマップ上にあ るテーブルデータを1回のみの書込みを可能としたロジック回路部を設けたもの である。 Therefore, in order to achieve the above-mentioned object, the present invention is provided with a logic circuit section which allows the table data on the memory map of the CPU to be written only once.
【0006】[0006]
本考案によれば、プログラム暴走時、外部によりマニュアル操作で割込み要求 を行い動作を復旧させようとすると確実に行える。 According to the present invention, when a program goes out of control, it is possible to reliably perform the operation by externally issuing an interrupt request by an external operation.
【0007】 ここで述べている復旧とはテーブルデータで示したプログラム上の色々なアド レスから再起動できることを述べている。(ワープロ等ではプログラム上電源起 動の際文書をクリアするようになっているプログラムを、暴走時に文書を保護し た状態で再起動したい場合などである。)The recovery described here means that the program can be restarted from various addresses on the program indicated by the table data. (In a word processor, etc., you may want to restart a program that clears the document when the power is turned on by the program, with the document protected during a runaway.)
【0008】[0008]
以下、本考案の実施例について図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
【0009】 図1は本考案の構成を示したブロック図および動作シーケンスを示したもので ある。図2は図1で示したロジック部の内容の概略をブロック図で示したもので ある。図3は図2中で示している1回のみ書込み可能なロジック部の回路例を示 したものである。FIG. 1 is a block diagram showing the configuration of the present invention and an operation sequence. FIG. 2 is a block diagram showing an outline of the contents of the logic section shown in FIG. FIG. 3 shows an example of the circuit of the logic section shown in FIG. 2, which can be written only once.
【0010】 図1において、外部による割込み要求に対し応答信号がCPU1からロジ ック回路2へ出力され、ベクタと呼ばれる8bitデータがCPU1へ出力され る。これによりテーブルアドレスが決定されるが、このアドレスのデータが通 常RAM3上に置かれているが、図1より、ロジック部2より出力されているこ とが示されている。In FIG. 1, a response signal is output from the CPU 1 to the logic circuit 2 in response to an external interrupt request, and 8-bit data called a vector is output to the CPU 1. Although the table address is determined by this, although the data of this address is normally placed in the RAM 3, FIG. 1 shows that it is output from the logic unit 2.
【0011】 図2はCPU1より出力されたテーブルデータがアドレスデコーダ2aにより テーブルデータのリード時(A)、ライト時(B)、RAM3のチップセレクト 信号(C)に各々分けられている。テーブルアドレス上にRAMエリアがある場 合はテーブルデータセレクト時にRAMのチップセレクトをインアクティブとし なければならない。CPU1がテーブルデータをリード時、3stateより出 力される。出力データは、ロジック部2b(D)部に格納されていて、CPUが 初期設定時に書き込む。In FIG. 2, the table data output from the CPU 1 is divided by the address decoder 2a into a table data read (A), a write (B), and a RAM 3 chip select signal (C). When there is a RAM area on the table address, RAM chip select must be inactive when selecting table data. When the CPU 1 reads the table data, it is output from 3state. The output data is stored in the logic unit 2b (D) and is written by the CPU at the time of initial setting.
【0012】 図3はロジック部2b(D)の回路例でフリップフロップにより初期設定時の データがラッチされ、(I)〜(IV)の各ブロック最下段のフリップフロップの 出力により1度書き込んだ後はリセットが入るまで書き込めない回路となってい る。CPUは16bitBusなのでテーブルデータ4Byteを2度に分け、 図3の(A)〜(P)の組合せ回路から時分割で出力する。FIG. 3 is a circuit example of the logic unit 2b (D), in which the data at the time of initialization is latched by the flip-flop, and the data is written once by the output of the flip-flop at the bottom of each block of (I) to (IV). After that, the circuit cannot be written until reset is entered. Since the CPU is a 16-bit bus, the table data 4 Bytes are divided into two and are output in a time-division manner from the combinational circuit of (A) to (P) of FIG.
【0013】[0013]
以上のように、本考案によれば、テーブルデータはロジック回路部内にプログ ラムにより1度書き込まれると固定となるため、プログラム暴走時、外部からの マニュアル操作で割り込みを行いプログラムを復旧させる方法をとる際に書き変 わらないので、確実な復旧が行える。 As described above, according to the present invention, the table data becomes fixed once it is written in the logic circuit section by the program. Since it does not change when it is taken, it can be reliably restored.
【図1】本考案のCPU割り込みテーブル固定回路の一
実施例の構成を示したブロック図及び動作シーケンスで
ある。FIG. 1 is a block diagram and an operation sequence showing a configuration of an embodiment of a CPU interrupt table fixing circuit of the present invention.
【図2】図1で示したロジック部の内容の概略を示した
ブロック図である。FIG. 2 is a block diagram showing an outline of contents of a logic unit shown in FIG.
【図3】図2で示した1回書き込み可能なロジック部の
回路例である。3 is a circuit example of a once-writable logic unit shown in FIG. 2;
1 CPU 2 ロジック回路 3 RAM 1 CPU 2 Logic circuit 3 RAM
Claims (1)
レス出力回路とを有し、 CPUのメモリアクセス上にある割込み処理先頭アドレ
スを1回のみ書込みを可能としたロジック回路を設ける
ことを特徴としたCPU割込みテーブルデータ固定回
路。1. A CPU comprising a CPU and an interrupt processing start address output circuit of the CPU, and provided with a logic circuit capable of writing the interrupt processing start address on the memory access of the CPU only once. Interrupt table data fixed circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1153192U JPH0575845U (en) | 1992-03-09 | 1992-03-09 | CPU interrupt table data fixed circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1153192U JPH0575845U (en) | 1992-03-09 | 1992-03-09 | CPU interrupt table data fixed circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0575845U true JPH0575845U (en) | 1993-10-15 |
Family
ID=11780555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1153192U Pending JPH0575845U (en) | 1992-03-09 | 1992-03-09 | CPU interrupt table data fixed circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0575845U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11550619B2 (en) | 2020-09-23 | 2023-01-10 | Kabushiki Kaisha Toshiba | Information processing device and processing method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01123342A (en) * | 1987-11-09 | 1989-05-16 | Oki Electric Ind Co Ltd | Writing protecting circuit for memory |
JPH01226061A (en) * | 1988-03-07 | 1989-09-08 | Toshiba Corp | Central processing unit interruption system |
-
1992
- 1992-03-09 JP JP1153192U patent/JPH0575845U/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01123342A (en) * | 1987-11-09 | 1989-05-16 | Oki Electric Ind Co Ltd | Writing protecting circuit for memory |
JPH01226061A (en) * | 1988-03-07 | 1989-09-08 | Toshiba Corp | Central processing unit interruption system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11550619B2 (en) | 2020-09-23 | 2023-01-10 | Kabushiki Kaisha Toshiba | Information processing device and processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3628373B2 (en) | Power management unit, computer system, and method for accessing a plurality of configuration registers in a power management unit of a computer system | |
JPH09505429A (en) | Register status protection during read-modify-write operations | |
JP3918434B2 (en) | Information processing device | |
JPH0575845U (en) | CPU interrupt table data fixed circuit | |
JPH0158535B2 (en) | ||
JP2009093270A (en) | Computer system and startup method therefor | |
JP2562838B2 (en) | Processor and store buffer control method | |
JPS5940399A (en) | Information processor | |
JPH04280334A (en) | One chip microcomputer | |
KR930002263Y1 (en) | Resume processor | |
JPS62151936A (en) | Cache circuit built in microprocessor | |
JPS60193046A (en) | Detecting system for instruction exception | |
JPH04107630A (en) | Central processing unit | |
JPH0628268A (en) | Microprocessor i/o access tracing system | |
JPH0259933A (en) | Microprocessor | |
JPH1165922A (en) | Personal computer | |
JPS59165143A (en) | Data processor | |
JPH07244610A (en) | Information processor | |
JPH01279353A (en) | Initialization system for extended board | |
JPS6399948U (en) | ||
KR890016477A (en) | Operation program and data loading method of electronic exchange | |
JPH04312144A (en) | Prom processor | |
JPS6137661B2 (en) | ||
JPH07219896A (en) | Semiconductor integrated circuit | |
JPH0644298B2 (en) | Program rewriting device for data flow type computer |