JP2006227969A - Semiconductor integrated circuit and information processing apparatus - Google Patents

Semiconductor integrated circuit and information processing apparatus Download PDF

Info

Publication number
JP2006227969A
JP2006227969A JP2005041755A JP2005041755A JP2006227969A JP 2006227969 A JP2006227969 A JP 2006227969A JP 2005041755 A JP2005041755 A JP 2005041755A JP 2005041755 A JP2005041755 A JP 2005041755A JP 2006227969 A JP2006227969 A JP 2006227969A
Authority
JP
Japan
Prior art keywords
rom
ram
cpu
address
interrupt
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
Application number
JP2005041755A
Other languages
Japanese (ja)
Inventor
Takeshi Saito
剛 斉藤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005041755A priority Critical patent/JP2006227969A/en
Publication of JP2006227969A publication Critical patent/JP2006227969A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor integrated circuit and an information processing apparatus, which can improve the performance of interrupt processing if reference targets for storage position information on interrupt handlers are fixed to interrupt vectors in a ROM. <P>SOLUTION: When receiving an interrupt signal from a specified device, if a CPU 11 specifies an address within interrupt vectors in a ROM 13, and requires a data read, a combination circuit 14d switches the data read request to the ROM 13 to a RAM 12. In addition, a memory controller 14e switches the address within the interrupt vectors in the ROM 13 to an address in an area of the RAM 12 storing information copied from the interrupt vectors to read out the information from the RAM 12 and then transmits it to the CPU 11. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、CPU[Central Processing Unit]とROM[Read Only Memory]及びRAM[Random Access Memory]との間でデータの遣り取りを制御する機能を有する半導体集積回路と、この半導体集積回路が組み込まれた情報処理装置とに、関する。   The present invention includes a semiconductor integrated circuit having a function of controlling data exchange between a CPU [Central Processing Unit], a ROM [Read Only Memory], and a RAM [Random Access Memory], and the semiconductor integrated circuit is incorporated. The present invention relates to an information processing apparatus.

周知のように、割り込み処理とは、デバイスから割り込み信号を受けたCPUがそれまで行っていた処理を中断して行う処理を言う。CPUは、割り込み信号を受けて処理を中断すると、割り込みハンドラという命令コード(プログラム)の格納位置情報(アドレス)が記録された領域(割り込みベクタ)を参照した後、目的の割り込みハンドラを読み込んで所定のルーチンを実行するようになっている。   As is well known, interrupt processing refers to processing performed by interrupting the processing that has been performed by the CPU that has received the interrupt signal from the device. When the CPU interrupts processing upon receiving an interrupt signal, the CPU refers to an area (interrupt vector) in which storage location information (address) of an instruction code (program) called an interrupt handler is recorded, and then reads the target interrupt handler to obtain a predetermined The routine is executed.

ところで、前述したような割り込み処理を行う装置の中には、割り込みハンドラの格納位置情報の参照先がROMの割り込みベクタに固定されているものがある。この場合、CPUは、割り込み信号を受けた後、ROMにアクセスすることによって割り込みベクタ内の情報を参照することとなる。   By the way, among the devices that perform the interrupt processing as described above, there is one in which the reference destination of the storage location information of the interrupt handler is fixed to the ROM interrupt vector. In this case, the CPU refers to the information in the interrupt vector by accessing the ROM after receiving the interrupt signal.

ところが、ROMへのアクセス速度は、RAMへのアクセス速度に比べて低いため、需要者の中には、割り込みハンドラの格納位置情報の参照がRAMアクセスを介して行われるように構成することにより割り込み処理のパフォーマンスを向上させることができないかと要望する者がいた。   However, since the access speed to the ROM is lower than the access speed to the RAM, it is possible for some consumers to interrupt the storage by referring to the storage location information of the interrupt handler through the RAM access. Some people have asked if processing performance can be improved.

本発明は、前述したような従来の事情に鑑みてなされたものであり、その課題は、割り込みハンドラの格納位置情報の参照先がROMの割り込みベクタに固定されている場合において割り込み処理のパフォーマンスを向上させることにある。   The present invention has been made in view of the above-mentioned conventional circumstances, and its problem is to improve the performance of interrupt processing when the reference destination of the storage location information of the interrupt handler is fixed to the ROM interrupt vector. It is to improve.

上記の課題を解決するために発明された半導体集積回路は、CPU,ROM,RAM,及び、前記ROMに割り込みベクタとしてマッピングされた領域内の情報を前記RAMにコピーするコピー手段を備える情報処理装置に組み込まれることによって、前記CPUと前記ROM及び前記RAMとの間でデータの遣り取りを制御するものであって、前記ROMの前記割り込みベクタ内のアドレスの指定とともにそのROMへのデータの読み出し要求を前記CPUから受け付ける要求受付部,及び、前記要求受付部が前記読み出し要求を前記CPUから受け付けると、前記コピー手段によって前記ROMの前記割り込みベクタから前記RAMにコピーされた情報をそのRAMから読み出して前記CPUへ引き渡すベクタ読出部を備えることを、特徴としている。   A semiconductor integrated circuit invented to solve the above problems is an information processing apparatus comprising a CPU, a ROM, a RAM, and a copy means for copying information in an area mapped as an interrupt vector in the ROM to the RAM. Is incorporated into the CPU to control the exchange of data between the CPU and the ROM and the RAM, and the data read request to the ROM is designated together with the designation of the address in the interrupt vector of the ROM. When the request accepting unit that accepts from the CPU and the request accepting unit accepts the read request from the CPU, information copied from the interrupt vector of the ROM to the RAM is read from the RAM by the copying unit, and It is necessary to provide a vector reading unit that is handed over to the CPU. It is set to.

このように構成されると、割り込みハンドラの格納位置情報の参照先がROMの割り込みベクタに固定されている場合であっても、割り込みハンドラの格納位置情報自体は、ROMに比べてアクセス速度の高いRAMから読み出されるようになるので、割り込み処理のパフォーマンスが、従来のようなROMへのアクセスに比べ、向上することになる。   With this configuration, even when the reference destination of the interrupt handler storage location information is fixed to the ROM interrupt vector, the interrupt handler storage location information itself has a higher access speed than the ROM. Since the data is read from the RAM, the interrupt processing performance is improved as compared with the conventional access to the ROM.

また、上記の課題を解決するために発明された情報処理装置は、CPU,ROM,RAM,及び、前記CPUと前記ROM及び前記RAMとの間でデータの遣り取りを制御するための半導体集積回路からなるものであって、前記ROMに割り込みベクタとしてマッピングされた領域内の情報を前記RAMにコピーするコピー手段を備え、前記半導体集積回路が、前記ROMの前記割り込みベクタ内のアドレスの指定とともにそのROMへのデータの読み出し要求を前記CPUから受け付ける要求受付部,及び、前記要求受付部が前記読み出し要求を前記CPUから受け付けると、前記コピー手段によって前記ROMの前記割り込みベクタから前記RAMにコピーされた情報をそのRAMから読み出して前記CPUへ引き渡すベクタ読出部を備えることを、特徴としている。   An information processing apparatus invented to solve the above problems includes a CPU, a ROM, a RAM, and a semiconductor integrated circuit for controlling the exchange of data between the CPU and the ROM and the RAM. And a copy means for copying information in an area mapped as an interrupt vector in the ROM to the RAM, wherein the semiconductor integrated circuit is configured to specify the address in the interrupt vector of the ROM together with the ROM. A request accepting unit that accepts a data read request from the CPU, and information that is copied from the interrupt vector of the ROM to the RAM by the copying unit when the request accepting unit accepts the read request from the CPU. Is read from the RAM and delivered to the CPU The Rukoto, is characterized.

従って、この情報処理装置は、前述した本発明の半導体集積回路が組み込まれた情報処理装置と同等に機能することになる。   Therefore, this information processing apparatus functions in the same manner as the information processing apparatus incorporating the semiconductor integrated circuit of the present invention described above.

このように、本発明によれば、割り込みハンドラの格納位置情報の参照先がROMの割り込みベクタに固定されている場合であっても割り込み処理のパフォーマンスが向上することになる。   As described above, according to the present invention, even when the reference destination of the storage location information of the interrupt handler is fixed to the ROM interrupt vector, the interrupt processing performance is improved.

以下、添付図面に基づいて、本発明を実施するための一つの形態である情報処理装置について説明する。   Hereinafter, an information processing apparatus which is one embodiment for carrying out the present invention will be described with reference to the accompanying drawings.

図1は、本実施形態である情報処理装置10の簡単な内部構成図である。情報処理装置10は、コンピュータやプリンタ等の機器であり、主要な構成として、CPU11,RAM12,ROM13,及び、ASIC14を、内蔵している。   FIG. 1 is a simple internal configuration diagram of an information processing apparatus 10 according to the present embodiment. The information processing apparatus 10 is a device such as a computer or a printer, and includes a CPU 11, a RAM 12, a ROM 13, and an ASIC 14 as main components.

CPU11は、情報処理装置10全体を統合的に制御する回路である。RAM12は、CPU11の作業領域が展開される揮発性メモリである。   The CPU 11 is a circuit that controls the information processing apparatus 10 as a whole. The RAM 12 is a volatile memory in which the work area of the CPU 11 is expanded.

ROM13は、情報処理装置10を制御するための各種のプログラム及びデータが記録された不揮発性メモリである。本実施形態では、このROM13には、幾つかの割り込みハンドラが記録されているとともに、それら割り込みハンドラの格納位置情報(アドレス)が、このROM13に割り込みベクタとしてマッピングされた領域に記録されている。また、このROM13には、情報処理装置10の起動時に割り込みハンドラの格納位置情報をRAM12内の所定領域にコピーする処理をCPU11に行わせるためのプログラムが、記録されている。   The ROM 13 is a non-volatile memory in which various programs and data for controlling the information processing apparatus 10 are recorded. In the present embodiment, several interrupt handlers are recorded in the ROM 13, and storage location information (address) of these interrupt handlers is recorded in an area mapped as an interrupt vector in the ROM 13. The ROM 13 stores a program for causing the CPU 11 to copy the storage location information of the interrupt handler to a predetermined area in the RAM 12 when the information processing apparatus 10 is activated.

なお、図2は、本実施形態のメモリマップを示す図である。図2に示されるように、ROM13には、0x0000_0000以降のアドレスが割り当てられており、RAM12には、0x8000_0000以降のアドレスが割り当てられている。そして、ROM13内の0x0000_0000から0x0000_0FFFまでの領域は、上記の割り込みベクタとしての領域となっており、RAM12内の0x8000_0000から0x80000_0FFFまでの領域は、上記の割り込みベクタに記録されている割り込みハンドラの格納位置情報がコピーされる領域となっている。   FIG. 2 is a diagram showing a memory map of this embodiment. As shown in FIG. 2, addresses after 0x0000_0000 are assigned to the ROM 13, and addresses after 0x8000_0000 are assigned to the RAM 12. The area from 0x0000_0000 to 0x0000_0FFF in the ROM 13 is an area as the above interrupt vector, and the area from 0x8000_0000 to 0x80000_0FFF in the RAM 12 is the storage location of the interrupt handler recorded in the interrupt vector. It is an area where information is copied.

ASIC14は、少なくとも、CPU11とRAM12との間のインターフェース,及び、CPU11とROM13との間のインターフェースとして機能する半導体集積回路であり、複数の回路モジュールから構成されている。   The ASIC 14 is a semiconductor integrated circuit that functions as at least an interface between the CPU 11 and the RAM 12 and an interface between the CPU 11 and the ROM 13 and includes a plurality of circuit modules.

このASIC14の構成の一部を具体的に説明すると、図1に示されるように、このASIC14は、切り替えレジスタ14a,アドレスデコード回路14b,メインステート回路14c,組み合わせ回路14d,及び、メモリコントローラ14eを、含んでいる。   Specifically, a part of the configuration of the ASIC 14 will be described. As shown in FIG. 1, the ASIC 14 includes a switching register 14a, an address decoding circuit 14b, a main state circuit 14c, a combinational circuit 14d, and a memory controller 14e. , Including.

切り替えレジスタ14aは、CPU11に引き渡す格納位置情報をROM13内のものとするかRAM12内のものとするかを定義する情報が記録される記憶素子である。本実施形態では、この切り替えレジスタ14a内の情報は、デフォルトでは、「0(ROM)」となっており、ROM13内の上記のプログラムに従ったCPU11が、ROM13の割り込みベクタから割り込みハンドラの格納位置情報をRAM12にコピーした後、この切り替えレジスタ14a内の情報を「0(ROM)」から「1(RAM)」に切り替えるようになっている。そして、この切り替えレジスタ14a内に「0(ROM)」が記録されているときには、INTMODE端子から出力される信号がLOWにされ、「1(RAM)」が記録されているときには、INTMODE端子から出力される信号がHIGHにされる。   The switching register 14a is a storage element in which information defining whether the storage position information delivered to the CPU 11 is in the ROM 13 or the RAM 12 is recorded. In the present embodiment, the information in the switching register 14 a is “0 (ROM)” by default, and the CPU 11 according to the program in the ROM 13 stores the interrupt handler storage location from the interrupt vector in the ROM 13. After the information is copied to the RAM 12, the information in the switching register 14a is switched from “0 (ROM)” to “1 (RAM)”. When “0 (ROM)” is recorded in the switching register 14a, the signal output from the INTMODE terminal is set to LOW, and when “1 (RAM)” is recorded, the signal is output from the INTMODE terminal. Signal to be HIGH.

アドレスデコード回路14bは、RAM12又はROM13からデータを読み出すという要求がCPU11から来たときに処理を行う回路モジュールである。   The address decoding circuit 14b is a circuit module that performs processing when a request to read data from the RAM 12 or the ROM 13 is received from the CPU 11.

このアドレスデコード回路14bが行う処理を具体的に説明すると、このアドレスデコード回路14bは、通常状態では、INTV_DEC端子から出力する信号をLOW状態にしておき、CPU11が制御バスを通じてデータ読み出し要求を送信してくるとともに、アドレスバスを通じてROM13内の0x0000_0000から0x0000_0FFFまでの範囲(割り込みベクタ)のうちの何れかのアドレスを指定してきたときに、INTV_DEC信号にHIGHパルスを発生させる。   The processing performed by the address decode circuit 14b will be described in detail. In the normal state, the address decode circuit 14b keeps the signal output from the INTV_DEC terminal in the LOW state, and the CPU 11 transmits a data read request through the control bus. At the same time, when an address in the range (interrupt vector) from 0x0000_0000 to 0x0000_0FFF in the ROM 13 is designated through the address bus, a HIGH pulse is generated in the INTV_DEC signal.

また、このアドレスデコード回路14bは、通常状態では、RAM_DEC端子から出力する信号をLOW状態にしておき、CPU11が制御バスを通じてデータ読み出し要求を送信してくるとともに、アドレスバスを通じてRAM12内の何れかのアドレスを指定してきたときに、RAM_DEC信号にHIGHパルスを発生させる。   In the normal state, the address decode circuit 14b keeps the signal output from the RAM_DEC terminal in the LOW state, the CPU 11 transmits a data read request through the control bus, and any one of the RAM 12 in the RAM 12 through the address bus. When an address is designated, a HIGH pulse is generated in the RAM_DEC signal.

さらに、このアドレスデコード回路14bは、通常状態では、ROM_DEC端子から出力する信号をLOW状態にしておき、CPU11が制御バスを通じてデータ読み出し要求を送信してくるとともに、アドレスバスを通じてROM13内の何れかのアドレスを指定してきたときに、ROM_DEC信号にHIGHパルスを発生させる。   Further, in a normal state, the address decode circuit 14b keeps the signal output from the ROM_DEC terminal in the LOW state, and the CPU 11 transmits a data read request through the control bus, and any one of the ROMs 13 in the ROM 13 through the address bus. When an address is designated, a HIGH pulse is generated in the ROM_DEC signal.

従って、CPU11が、データ読み出し要求を送信した場合において、RAM12内のアドレスを指定したときには、RAM_DEC信号にHIGHパルスが発生し、ROM_DEC信号とINTV_DEC信号にはHIGHパルスが発生しない。   Therefore, when the CPU 11 transmits a data read request and designates an address in the RAM 12, a HIGH pulse is generated in the RAM_DEC signal, and a HIGH pulse is not generated in the ROM_DEC signal and the INTV_DEC signal.

また、CPU11が、データ読み出し要求を送信した場合において、ROM13の割り込みベクタ内のアドレス以外のアドレスを指定したときには、ROM_DEC信号にHIGHパルスが発生し、RAM_DEC信号とINTV_DEC信号にはHIGHパルスが発生しない。   In addition, when the CPU 11 transmits a data read request and designates an address other than the address in the interrupt vector of the ROM 13, a HIGH pulse is generated in the ROM_DEC signal, and no HIGH pulse is generated in the RAM_DEC signal and the INTV_DEC signal. .

そして、CPU11が、データ読み出し要求を送信した場合において、ROM13の割り込みベクタ内のアドレスを指定したときには、RAM_DEC信号にはHIGHパルスが発生せず、ROM_DEC信号とINTV_DEC信号にHIGHパルスが同時発生する。   When the CPU 11 transmits a data read request and designates an address in the interrupt vector of the ROM 13, a HIGH pulse is not generated in the RAM_DEC signal, and a HIGH pulse is simultaneously generated in the ROM_DEC signal and the INTV_DEC signal.

メインステート回路14cは、CPU11が制御バスを通じてデータ読み出し要求を送信してきたことを検出する回路モジュールである。このメインステート回路14cが行う処理を具体的に説明すると、このメインステート回路14cは、通常状態では、REQ端子から出力する信号をLOW状態にしておき、CPU11が制御バスを通じてデータ読み出し要求を送信してきたときに、REQ信号にHIGHパルスを発生させる。従って、上記のアドレスデコード回路14bがRAM_DEC信号にHIGHパルスを発生させたとき、又は、ROM_DEC信号にHIGHパルスを発生させたときに、REQ信号にHIGHパルスが発生することとなる。   The main state circuit 14c is a circuit module that detects that the CPU 11 has transmitted a data read request through the control bus. The processing performed by the main state circuit 14c will be described in detail. In the normal state, the main state circuit 14c keeps the signal output from the REQ terminal in the LOW state, and the CPU 11 transmits a data read request through the control bus. When this occurs, a HIGH pulse is generated in the REQ signal. Therefore, when the address decode circuit 14b generates a HIGH pulse in the RAM_DEC signal or generates a HIGH pulse in the ROM_DEC signal, a HIGH pulse is generated in the REQ signal.

なお、以上に説明したアドレスデコード回路14b及びメインステート回路14cは、前述した要求受付部に相当している。   The address decoding circuit 14b and the main state circuit 14c described above correspond to the request accepting unit described above.

組み合わせ回路14dは、INTMODE信号,INTV_DEC信号,RAM_DEC信号,ROM_DEC信号,及び、REQ信号に基づいて、メモリコントローラ14eに入力されるRAM_REQ信号及びROM_REQ信号の状態を変化させるための回路モジュールである。   The combinational circuit 14d is a circuit module for changing the states of the RAM_REQ signal and the ROM_REQ signal input to the memory controller 14e based on the INTMODE signal, the INTV_DEC signal, the RAM_DEC signal, the ROM_DEC signal, and the REQ signal.

この組み合わせ回路14dが行う処理を具体的に説明すると、この組み合わせ回路14dは、RAM_DEC信号とREQ信号とがHIGHである(このとき、前述したように、ROM_DEC信号とINTV_DEC信号はともにLOWである)場合には、INTMODE信号がLOWであろうとHIGHであろうと、RAM_REQ信号をHIGHにするとともに、ROM_REQ信号をLOWにする。   The processing performed by the combinational circuit 14d will be specifically described. In the combinational circuit 14d, the RAM_DEC signal and the REQ signal are HIGH (at this time, the ROM_DEC signal and the INTV_DEC signal are both LOW as described above). In some cases, whether the INTMODE signal is LOW or HIGH, the RAM_REQ signal is set to HIGH and the ROM_REQ signal is set to LOW.

また、組み合わせ回路14dは、ROM_DEC信号とREQ信号とがHIGHであってINTV_DEC信号がLOWである(このとき、前述したように、RAM_DEC信号はLOWである)場合には、INTMODE信号がLOWであろうとHIGHであろうと、RAM_REQ信号をLOWにするとともに、ROM_REQ信号をHIGHにする。   The combinational circuit 14d determines that the INTMODE signal is LOW when the ROM_DEC signal and the REQ signal are HIGH and the INTV_DEC signal is LOW (at this time, the RAM_DEC signal is LOW as described above). Whether the signal is HIGH or HIGH, the RAM_REQ signal is set to LOW and the ROM_REQ signal is set to HIGH.

さらに、組み合わせ回路14dは、ROM_DEC信号とINTV_DEC信号とREQ信号とがともにHIGHである(このとき、前述したように、RAM_DEC信号はLOWである)場合において、INTMODE信号がLOWであるときには、RAM_REQ信号をLOWにしてROM_REQ信号をHIGHにし、INTMODE信号がHIGHであるときには、RAM_REQ信号をHIGHにしてROM_REQ信号をLOWにする。   Further, the combinational circuit 14d is configured such that when the ROM_DEC signal, the INTV_DEC signal, and the REQ signal are all HIGH (as described above, the RAM_DEC signal is LOW), the RAM_REQ signal is output when the INTMODE signal is LOW. Is set to LOW, the ROM_REQ signal is set to HIGH, and when the INTMODE signal is HIGH, the RAM_REQ signal is set to HIGH and the ROM_REQ signal is set to LOW.

メモリコントローラ14eは、RAM12に対するデータの読み書き,及び、ROM13からのデータの読み出しを制御するための回路モジュールであり、このメモリコントローラ14eには、上記の組み合わせ回路14dからRAM_REQ信号及びROM_DEC信号が入力されている。   The memory controller 14e is a circuit module for controlling reading / writing of data to / from the RAM 12 and reading of data from the ROM 13. The RAM_REQ signal and the ROM_DEC signal are input to the memory controller 14e from the combinational circuit 14d. ing.

このメモリコントローラ14eが行う処理を具体的に説明すると、このメモリコントローラ14eは、RAM_REQ信号がHIGHとなった場合においてRAM12内のアドレスがアドレスバスを通じて指定されたときには、RAM12内のそのアドレスからデータを読み出してCPU11に引き渡す。   The processing performed by the memory controller 14e will be specifically described. When the RAM_REQ signal becomes HIGH, the memory controller 14e receives data from the address in the RAM 12 when the address in the RAM 12 is designated through the address bus. Read out and deliver to CPU11.

また、このメモリコントローラ14eは、ROM_REQ信号がHIGHとなった場合においてROM13内のアドレスがアドレスバスを通じて指定されたときには、ROM13内のそのアドレスからデータを読み出してCPU11に引き渡す。   In addition, when the ROM_REQ signal becomes HIGH and the address in the ROM 13 is designated through the address bus, the memory controller 14e reads data from the address in the ROM 13 and delivers it to the CPU 11.

さらに、このメモリコントローラ14eは、RAM_REQ信号がHIGHとなった場合においてアドレスバスを通じてROM13内の0x0000_0000から0x0000_0FFFまでの範囲(割り込みベクタ)のうちの何れかのアドレスが指定されたときには、その下位アドレスしか参照しないため、RAM12内の0x8000_0000から0x8000_0FFFまでの範囲のうちの対応するアドレスにアクセスし、そのアドレスの格納位置情報を読み出して、CPU11に引き渡す。   In addition, when the RAM_REQ signal becomes HIGH, the memory controller 14e, when any address in the range (interrupt vector) from 0x0000_0000 to 0x0000_0FFF in the ROM 13 is designated through the address bus, only the lower address thereof is designated. Since no reference is made, the corresponding address in the range from 0x8000_0000 to 0x8000_0FFF in the RAM 12 is accessed, and the storage location information of the address is read and transferred to the CPU 11.

なお、以上に説明した切り替えレジスタ14a,組み合わせ回路14d及びメモリコントローラ14eは、前述したベクタ読出部に相当している。また、ROM13内の上記プログラムとCPU11とは、前述したコピー手段に相当している。   The switching register 14a, the combinational circuit 14d, and the memory controller 14e described above correspond to the vector reading unit described above. The program in the ROM 13 and the CPU 11 correspond to the above-described copying means.

以上に説明したように構成される情報処理装置10では、起動時に、割り込みベクタ内の情報がRAM12にコピーされるとともに、切り替えレジスタ14aに「1(RAM)」が記録され、INTMODE信号が常時HIGHになる。   In the information processing apparatus 10 configured as described above, the information in the interrupt vector is copied to the RAM 12 and “1 (RAM)” is recorded in the switching register 14a at the time of startup, and the INTMODE signal is always HIGH. become.

そして、このような状態において、図示せぬデバイスから割り込み信号を受けたCPU11が、ROM13内の0x0000_0000から0x0000_0FFFまで範囲(割り込みベクタ)のうちの何れかのアドレスを指定して、データの読み出しを要求してきた場合にのみ、組み合わせ回路14dは、前述したように、必ず、RAM_REQ信号をHIGHにしてROM_REQ信号をLOWにする。すると、前述したように、メモリコントローラ14eは、CPU11からはROM13の割り込みベクタ内のアドレスが指定されたにも拘わらずRAM_REQ信号がHIGHになったことを、認識して、割り込みハンドラの格納位置情報をRAM12から読み出すべきと判断し、格納位置情報をRAM12から読み出してCPU11に引き渡す。   In such a state, the CPU 11 that has received an interrupt signal from a device (not shown) designates any address in the range (interrupt vector) from 0x0000_0000 to 0x0000_0FFF in the ROM 13 and requests to read data. Only in the above case, the combinational circuit 14d always sets the RAM_REQ signal to HIGH and the ROM_REQ signal to LOW as described above. Then, as described above, the memory controller 14e recognizes that the RAM_REQ signal has become HIGH despite the address in the interrupt vector of the ROM 13 being specified by the CPU 11, and stores the storage location information of the interrupt handler. Is read from the RAM 12, and the storage location information is read from the RAM 12 and delivered to the CPU 11.

従って、本実施形態の情報処理装置10によれば、割り込みハンドラの格納位置情報の参照先がROM13の割り込みベクタに固定されている場合であっても、割り込みハンドラの格納位置情報自体は、ROM13に比べてアクセス速度の高いRAM12に起動時に一括してコピーされ、読み出し時にはこのRAM12から読み出されるようになるので、割り込み処理のパフォーマンスが、従来のようなROM13からのアクセスに比べ、向上することになる。然も、CPU11には、割り込みハンドラの格納位置情報の格納先がRAM12にもあることを意識させないで済む。   Therefore, according to the information processing apparatus 10 of this embodiment, even when the reference destination of the interrupt handler storage location information is fixed to the interrupt vector of the ROM 13, the interrupt handler storage location information itself is stored in the ROM 13. Compared to the conventional access from the ROM 13, the interrupt processing performance is improved because the RAM 12 having a higher access speed is copied to the RAM 12 at the time of startup and read from the RAM 12 at the time of reading. . However, the CPU 11 does not have to be aware that the storage location information of the interrupt handler is also stored in the RAM 12.

なお、前述した切り替えレジスタ14a,アドレスデコード回路14b,メインステート回路14c,及び、組み合わせ回路14dが、ASIC14に新たに組み込まれるように設計製造しても、これら回路モジュール14a〜14dは、ゲート規模が極めて小さいため、ASIC14の設計製造費用を増加させることは殆ど無い。   Even if the switching register 14a, the address decoding circuit 14b, the main state circuit 14c, and the combinational circuit 14d are designed and manufactured so as to be newly incorporated in the ASIC 14, the circuit modules 14a to 14d have a gate scale. Since it is extremely small, it hardly increases the design and manufacturing cost of the ASIC 14.

本実施形態である情報処理装置の簡単な内部構成図Simple internal configuration diagram of the information processing apparatus according to the present embodiment 本実施形態のメモリマップを示す図The figure which shows the memory map of this embodiment

符号の説明Explanation of symbols

10 情報処理装置
11 CPU
12 RAM
13 ROM
14 ASIC
14a 切り替えレジスタ
14b アドレスデコード回路
14c メインステート回路
14d 組み合わせ回路
14e メモリコントローラ
10 Information processing apparatus 11 CPU
12 RAM
13 ROM
14 ASIC
14a switching register 14b address decoding circuit 14c main state circuit 14d combinational circuit 14e memory controller

Claims (4)

CPU,ROM,RAM,及び、前記ROMに割り込みベクタとしてマッピングされた領域内の情報を前記RAMにコピーするコピー手段を備える情報処理装置に組み込まれることによって、前記CPUと前記ROM及び前記RAMとの間でデータの遣り取りを制御する半導体集積回路であって、
前記ROMの前記割り込みベクタ内のアドレスの指定とともにそのROMへのデータの読み出し要求を前記CPUから受け付ける要求受付部,及び、
前記要求受付部が前記読み出し要求を前記CPUから受け付けると、前記コピー手段によって前記ROMの前記割り込みベクタから前記RAMにコピーされた情報をそのRAMから読み出して前記CPUへ引き渡すベクタ読出部
を備えることを特徴とする半導体集積回路。
The CPU, the ROM, the RAM, and the information processing apparatus provided with a copy unit that copies the information in the area mapped as an interrupt vector in the ROM to the RAM. A semiconductor integrated circuit for controlling the exchange of data between them,
A request accepting unit for accepting from the CPU a request to read data from the ROM together with designation of an address in the interrupt vector of the ROM; and
When the request accepting unit accepts the read request from the CPU, the copy reading unit includes a vector reading unit that reads information copied from the interrupt vector of the ROM from the RAM to the RAM and delivers it to the CPU. A semiconductor integrated circuit.
前記ベクタ読出部は、前記ROMへの読み出し要求を前記RAMへの読み出し要求へ切り替えるとともに、前記ROMの前記割り込みベクタ内のアドレスの指定を、前記RAMにおける前記割り込みベクタ内の情報がコピーされている領域内のアドレスの指定に切り替えて、前記RAMからその情報を読み出す
ことを特徴とする請求項1記載の半導体集積回路。
The vector read unit switches the read request to the ROM to the read request to the RAM, and the address designation in the interrupt vector of the ROM is copied with the information in the interrupt vector in the RAM. 2. The semiconductor integrated circuit according to claim 1, wherein the information is read from the RAM by switching to designation of an address in the area.
CPU,ROM,RAM,及び、前記CPUと前記ROM及び前記RAMとの間でデータの遣り取りを制御するための半導体集積回路からなる情報処理装置であって、
前記ROMに割り込みベクタとしてマッピングされた領域内の情報を前記RAMにコピーするコピー手段を備え、
前記半導体集積回路が、
前記ROMの前記割り込みベクタ内のアドレスの指定とともにそのROMへのデータの読み出し要求を前記CPUから受け付ける要求受付部,及び、
前記要求受付部が前記読み出し要求を前記CPUから受け付けると、前記コピー手段によって前記ROMの前記割り込みベクタから前記RAMにコピーされた情報をそのRAMから読み出して前記CPUへ引き渡すベクタ読出部
を備える
ことを特徴とする情報処理装置。
An information processing apparatus comprising a CPU, a ROM, a RAM, and a semiconductor integrated circuit for controlling data exchange between the CPU and the ROM and the RAM,
Copying means for copying information in an area mapped as an interrupt vector in the ROM to the RAM;
The semiconductor integrated circuit is
A request accepting unit for accepting from the CPU a request to read data from the ROM together with designation of an address in the interrupt vector of the ROM; and
When the request accepting unit accepts the read request from the CPU, the copy reading unit includes a vector reading unit that reads information copied from the interrupt vector of the ROM from the RAM to the RAM and delivers it to the CPU. A characteristic information processing apparatus.
前記コピー手段は、主電源投入時に、前記ROMに前記割り込みベクタとしてマッピングされた領域内の情報を前記RAMにコピーする
ことを特徴とする請求項3記載の情報処理装置。
4. The information processing apparatus according to claim 3, wherein the copying unit copies information in an area mapped as the interrupt vector in the ROM to the RAM when main power is turned on.
JP2005041755A 2005-02-18 2005-02-18 Semiconductor integrated circuit and information processing apparatus Withdrawn JP2006227969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005041755A JP2006227969A (en) 2005-02-18 2005-02-18 Semiconductor integrated circuit and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005041755A JP2006227969A (en) 2005-02-18 2005-02-18 Semiconductor integrated circuit and information processing apparatus

Publications (1)

Publication Number Publication Date
JP2006227969A true JP2006227969A (en) 2006-08-31

Family

ID=36989298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005041755A Withdrawn JP2006227969A (en) 2005-02-18 2005-02-18 Semiconductor integrated circuit and information processing apparatus

Country Status (1)

Country Link
JP (1) JP2006227969A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110113216A1 (en) * 2007-08-31 2011-05-12 Panasonic Corporation Information processing apparatus
JP2021040893A (en) * 2019-09-10 2021-03-18 株式会社藤商事 Game machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110113216A1 (en) * 2007-08-31 2011-05-12 Panasonic Corporation Information processing apparatus
JP2021040893A (en) * 2019-09-10 2021-03-18 株式会社藤商事 Game machine
JP7097863B2 (en) 2019-09-10 2022-07-08 株式会社藤商事 Pachinko machine

Similar Documents

Publication Publication Date Title
JP4338514B2 (en) Method and apparatus utilizing flash burst mode to improve processor performance
JP3520102B2 (en) Microcomputer
KR101913968B1 (en) Micro computer
JP2008009817A (en) Semiconductor device and data transfer method
JP2003006046A (en) Method and circuit for memory protection
JP2006227969A (en) Semiconductor integrated circuit and information processing apparatus
JP2007299227A (en) Information processing apparatus and method for booting the same
JPWO2006132006A1 (en) Memory control device and memory control method
JP2006079230A (en) Semiconductor circuit device and runaway detecting method
JP2008046983A (en) Semiconductor device
JP2006127407A (en) Semiconductor integrated circuit
JP5823000B2 (en) Microcomputer
JP2010237770A (en) Information processing apparatus, bridge device, and information processing method
JP2005107873A (en) Semiconductor integrated circuit
JP2011203843A (en) Information processing apparatus
JP2005276104A (en) Microcomputer
JP5555514B2 (en) Processor system
JP2010122787A (en) Semiconductor integrated circuit and register address control device
JP2007026091A (en) Interrupt control circuit and its control method
JP2005010966A (en) Lsi device
JP2007241757A (en) Information processor
JPH06231072A (en) Microcomputer
JP5868535B2 (en) Image forming apparatus
JP4052157B2 (en) Memory control device
JP2005025340A (en) Memory data protection device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071115

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20071207

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090701

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090707

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20090826