JPH0154735B2 - - Google Patents

Info

Publication number
JPH0154735B2
JPH0154735B2 JP55020548A JP2054880A JPH0154735B2 JP H0154735 B2 JPH0154735 B2 JP H0154735B2 JP 55020548 A JP55020548 A JP 55020548A JP 2054880 A JP2054880 A JP 2054880A JP H0154735 B2 JPH0154735 B2 JP H0154735B2
Authority
JP
Japan
Prior art keywords
interrupt
register
bit
control
status
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
Application number
JP55020548A
Other languages
Japanese (ja)
Other versions
JPS56118128A (en
Inventor
Katsuhiko Ueda
Takashi Sakao
Koichi Inoe
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2054880A priority Critical patent/JPS56118128A/en
Publication of JPS56118128A publication Critical patent/JPS56118128A/en
Publication of JPH0154735B2 publication Critical patent/JPH0154735B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Microcomputers (AREA)

Description

【発明の詳細な説明】 近年、コンピユータ、特にマイクロコンピユー
タの周辺制御チツプ(以下、周辺チツプと記す。)
の大規模化が、著しく行われている。第1図はそ
の一例で、1チツプに、並列入出力ポートが4
個、直列入出力ポートが1個、カウンターが2
個、内部機能ブロツクとして納められている。ま
た、コンピユータ側とは、データバス、アドレス
バス及び、リード/ライト信号、同期信号、割込
み要求信号等の制御信号とで結合されている。
(本願発明において、機能ブロツクもしくは内部
機能ブロツクという言葉は、周辺制行を行うため
に周辺制御チツプに納められ、その動作がデータ
バス、アドレスバス、制御信号により制御プロセ
ツサから制御される1つの機能を果す装置を示し
ている。) 一般に周辺チツプ内には、前記ポート内部の各
機能ブロツクの状態を外部から観測したり、ある
いは、内部の各機能ブロツクを外部から制御する
ために、ステイタス/コントロールレジスタが設
けられている。そして、これらのレジスタは、固
有のアドレスが割付けられており、外部から与え
られるアドレス信号、及びリード/ライト信号等
により、レジスタの内容が、データバスに読み出
されたり、あるいはデータバスの内容がレジスタ
に書き込まれたりする。第1図に示した周辺チツ
プでは、第2図に示すように、並列Aレジスタ
1、並列Bレジスタ2、並列Cレジスタ3、並列
Dレジスタ4、直列レジスタ5、カウンタAレジ
スタ6、カウンタBレジスタ7、という計7個の
8ビツト構成のステイタス/コントロールレジス
タを有している。通常、これらステイタス/コン
トロールレジスタはそれぞれ、そのレジスタに対
応する各機能ブロツクが割込み要求状態になつた
時セツトされるフラツグビツトと、このフラツグ
ビツトがセツトされた時、コンピユータ側に割込
みを要求するかどうかを選択する割込み許可ビツ
トとを持つている。第2図に示したステイタス/
コントロールレジスタでは、ビツト7がフラツグ
ビツトであり、ビツト6が割込み許可ビツトであ
る。
[Detailed Description of the Invention] In recent years, peripheral control chips (hereinafter referred to as peripheral chips) for computers, particularly microcomputers, have become popular.
is increasing in scale significantly. Figure 1 is an example of this, with 4 parallel input/output ports on one chip.
, 1 serial input/output port, 2 counters
Each is housed as an internal functional block. Further, it is connected to the computer side through a data bus, address bus, and control signals such as read/write signals, synchronization signals, and interrupt request signals.
(In the present invention, the term "function block" or "internal function block" refers to a function that is housed in a peripheral control chip to perform peripheral control, and whose operation is controlled by a control processor using a data bus, an address bus, and control signals.) ) Generally, the peripheral chip has a status/control device in order to observe the status of each functional block inside the port from the outside or to control each internal functional block from the outside. A register is provided. These registers are assigned unique addresses, and the contents of the registers can be read out to the data bus or the contents of the data bus can be read out by address signals, read/write signals, etc. given from the outside. written to a register. In the peripheral chip shown in FIG. 1, as shown in FIG. 2, parallel A register 1, parallel B register 2, parallel C register 3, parallel D register 4, serial register 5, counter A register 6, counter B register 7, a total of seven 8-bit status/control registers. Normally, each of these status/control registers has a flag bit that is set when each functional block corresponding to that register enters an interrupt request state, and a flag bit that indicates whether or not to request an interrupt from the computer when this flag bit is set. It has an interrupt enable bit to select. Status shown in Figure 2/
In the control register, bit 7 is the flag bit and bit 6 is the interrupt enable bit.

従来のステイタス/コントロールレジスタの構
成による周辺チツプで、割込みを用いる時の手順
の一例を、第1図の周辺チツプを例にとつて説明
する。第3図の流れ図に示すように、割込みを利
用するためには、先ず、割込みを利用したい機能
ブロツクに対応するステイタス/コントロールレ
ジスタ1,2,3,4,5,6,7のビツト6を
セツトし、そうでないビツト6はリセツトする。
ある機能ブロツクが割込み要求状態となり割込み
がかかると、コンピユータは、まず、ステイタ
ス/コントロールレジスタ1,2,3,4,5,
6,7を読み出して、ビツト6がセツトされ、か
つビツト7がセツトされているレジスタを捜す。
そして、この条件を満たすレジスタが見付かれ
ば、そのレジスタに対応する機能ブロツクに対す
る処理を行う。また、ビツト6、ビツト7が共に
セツトされているレジスタが見付からなければ、
この割込みは、他の周辺チツプ等からのものであ
るので、そちらの方を検索する。このように、割
込みを用いるためには、まず、割込み許可ビツト
を操作する段階で、ステイタス/コントロールレ
ジスタの数に等しい回数だけ、このレジスタをア
クセスし、割込みが要求された段階で、同回数こ
のレジスタをアクセスしなければならない。更
に、割込みが要求された後のステイタス/コント
ロールレジスタの検索では、フラツグビツト、割
込み許可ビツトが共にセツトされているかをチエ
ツクしなければならない。また、割込み要求が、
この周辺チツプからのものでない場合も、コンピ
ユータ側はそれを知ることができないので、一応
総てのステイタス/コントロールレジスタを読み
出して、チエツクしなければならない。そこで、
周辺チツプの規模が大きくなり、ステイタス/コ
ントロールレジスタの数が増加すると、上に述べ
た割込み利用のための手順は益々繁雑となり、こ
れに要する時間も、大きな問題となつてくる。
An example of the procedure for using interrupts in a peripheral chip with a conventional status/control register configuration will be explained using the peripheral chip shown in FIG. 1 as an example. As shown in the flowchart in Figure 3, to use interrupts, first set bit 6 of status/control registers 1, 2, 3, 4, 5, 6, and 7 corresponding to the function block for which you want to use interrupts. Otherwise, bit 6 is reset.
When a certain function block enters an interrupt request state and an interrupt occurs, the computer first registers status/control registers 1, 2, 3, 4, 5,
6 and 7 to find a register in which bit 6 is set and bit 7 is set.
If a register satisfying this condition is found, processing is performed on the functional block corresponding to that register. Also, if a register with both bits 6 and 7 set is not found,
Since this interrupt is from another peripheral chip, etc., that side is searched. In this way, in order to use an interrupt, first, when manipulating the interrupt enable bit, this register is accessed a number of times equal to the number of status/control registers, and when an interrupt is requested, this register is accessed the same number of times. A register must be accessed. Furthermore, when searching the status/control register after an interrupt is requested, it must be checked whether the flag bit and interrupt enable bit are both set. Also, if an interrupt request is
Even if it is not from this peripheral chip, the computer cannot know this, so it must read and check all status/control registers. Therefore,
As the size of peripheral chips increases and the number of status/control registers increases, the above-described procedure for utilizing interrupts becomes increasingly complicated, and the time required becomes a major problem.

本発明は、上記のような欠点をなくすためにな
されたもので、割込み許可レジスタ、および割込
み要求レジスタを導入し、チツプ内の全機能ブロ
ツクへの割込み許可、不許可を一括して行い、更
に、各機能ブロツクからの割込み要求を一括して
検索することを可能にすることにより、割込み利
用のための手順の繁雑さ、およびこれに要する時
間を大幅に削減する。
The present invention was made in order to eliminate the above-mentioned drawbacks, and it introduces an interrupt enable register and an interrupt request register, enables and disables interrupts to all functional blocks in a chip at once, and further By making it possible to collectively search for interrupt requests from each functional block, the complexity of the procedure for using interrupts and the time required for this can be significantly reduced.

本発明における前記割込み許可レジスタは次の
ように構成される。すなわち、 (1) 本レジスタの各ビツト(割込み許可ビツト)
は、本チツプ内の各機能ブロツクに1対1に対
応しており、各機能ブロツクが割込み要求状態
となるとき、それを割込み要因として、制御プ
ロセツサ側に割込みをかけるかどうかを選択す
る。
The interrupt permission register in the present invention is configured as follows. That is, (1) Each bit of this register (interrupt enable bit)
corresponds one-to-one to each functional block in this chip, and when each functional block enters an interrupt request state, it is used as an interrupt factor to select whether or not to issue an interrupt to the control processor side.

(2) 本レジスタは、制御プロセツサ側よりみて、
固有のアドレスを有し、本レジスタ内の各ビツ
トは、制御プロセツサ側から一括して操作、あ
るいは制御プロセツサ側に読み出される。
(2) From the control processor side, this register is
Each bit in this register has a unique address and can be operated on or read out from the control processor side all at once.

(3) ステイタス/コントロールレジスタに前記(1)
の条件を満たすビツトが存在するとき、そのビ
ツトは、本レジスタ内の対応するビツトを操作
することによつても操作可能であり、また、そ
の逆も可能である。
(3) Add the above (1) to the status/control register.
When a bit exists that satisfies the condition, that bit can also be manipulated by manipulating the corresponding bit in this register, and vice versa.

また、割込み要求レジスタは次のような構成と
なつている。
Furthermore, the interrupt request register has the following configuration.

(1) 本レジスタのビツトのうち、ひとつのビツト
を除く他のビツトは、本チツプ内の各機能ブロ
ツクに1対1に対応しており、各機能ブロツク
が割込み要求状態となり、かつ、その機能ブロ
ツクに対する前記割込み許可ビツトが許可状態
にあるときに、セツトされる。
(1) Of the bits in this register, all but one bit correspond to each functional block in this chip on a one-to-one basis, and when each functional block enters an interrupt request state, Set when the interrupt enable bit for a block is in the enabled state.

(2) 本レジスタは、制御プロセツサ側より見て、
固有のアドレスを有し、本レジスタ内の各ビツ
トは、制御プロセツサ側に一括して読み出され
る。
(2) This register is viewed from the control processor side.
It has a unique address, and each bit in this register is read out all at once to the control processor.

(3) 本レジスタのひとつのビツト、例えば最上位
のビツトは、本レジスタ内の他のビツトの論理
和となつており、また、このビツトは、割込み
要求信号として割込み制御ラインに出ている。
(3) One bit of this register, for example the most significant bit, is the logical sum of other bits in this register, and this bit is output to the interrupt control line as an interrupt request signal.

次に本発明の一実施例を、第1図に示した周辺
チツプで説明する。周辺チツプ内には、第2図に
示したステイタス/コントロールレジスタ1,
2,3,4,5,6,7以外に、第4図に示すよ
うに、割込み許可レジスタ8、割込み要求レジス
タ9を設ける。これらのレジスタは、アドレスデ
コーダ10により、固有のアドレスが割付けられ
ており、レジスタ内の各ビツトは、データバス1
1、内部データバス12を通して、コンピユータ
側から一括して操作、検索を行うことが可能であ
る。
Next, one embodiment of the present invention will be explained using the peripheral chip shown in FIG. In the peripheral chip, status/control registers 1 and 1 shown in FIG.
In addition to 2, 3, 4, 5, 6, and 7, as shown in FIG. 4, an interrupt permission register 8 and an interrupt request register 9 are provided. These registers are assigned unique addresses by the address decoder 10, and each bit in the register is assigned a unique address by the address decoder 10.
1. Through the internal data bus 12, it is possible to perform operations and searches all at once from the computer side.

割込み許可レジスタ8の各ビツトは、第5図の
ように割付けされている。すなわち、割込み許可
レジスタ8は、各機能ブロツク毎に存在するステ
イタス/コントロールレジスタ1,2,3,4,
5,6,7の割込み許可ビツトを集めたものであ
る。そこで、各機能ブロツクのステイタス/コン
トロールレジスタ1,2,3,4,5,6,7の
割込み許可ビツトは、割込み許可レジスタ8を通
して、一括して操作、検索を行うことが可能とな
る。また、個々のステイタス/コントロールレジ
スタを通して割込み許可ビツトを操作、検索する
ことも勿論可能である。
Each bit of the interrupt permission register 8 is allocated as shown in FIG. That is, the interrupt permission register 8 includes the status/control registers 1, 2, 3, 4, and 1, which exist for each functional block.
This is a collection of interrupt enable bits 5, 6, and 7. Therefore, the interrupt enable bits of the status/control registers 1, 2, 3, 4, 5, 6, and 7 of each functional block can be operated and searched at once through the interrupt enable register 8. It is also of course possible to manipulate and retrieve interrupt enable bits through individual status/control registers.

割込み要求レジスタ9の各ビツトは、第6図の
ように割付けされている。すなわち、割込み要求
レジスタ9は各機能ブロツク毎に存在するステイ
タス/コントロールレジスタ1,2,3,4,
5,6,7のフラツグビツトと、割込み許可ビツ
トとの論理積を集めたものである。また割込み要
求レジスタ9のビツト7は、同レジスタのビツト
0からビツト6の論理和である。またこのビツト
は第4図に示すように割込み要求信号としてコン
ピユータ側に出力される。そこで、コンピユータ
に対して割込み要求が出された時、コンピユータ
は、従来のように各機能ブロツクのステイタス/
コントロールレジスタ1,2,3,4,5,6,
7を順次読み出して、フラツグビツト、割込み許
可ビツトが共にセツトされているレジスタを捜す
必要はなく、割込み要求レジスタ9を1回読み出
して、まずビツト7がセツトされているかどう
か、もしセツトされておれば、ビツト6以下のど
のビツトがセツトされているかを検索するだけで
よい。また、割込みを用いずに処理を行う場合
は、個々のステイタス/コントロールレジスタの
フラツグビツトを検索すればよい。
Each bit of the interrupt request register 9 is allocated as shown in FIG. In other words, the interrupt request register 9 includes status/control registers 1, 2, 3, 4, and 1, which exist for each functional block.
This is a collection of logical products of flag bits 5, 6, and 7 and the interrupt enable bit. Further, bit 7 of interrupt request register 9 is the logical sum of bits 0 to 6 of the same register. Further, this bit is output to the computer side as an interrupt request signal as shown in FIG. Therefore, when an interrupt request is issued to the computer, the computer checks the status/status of each functional block as in the past.
Control registers 1, 2, 3, 4, 5, 6,
There is no need to sequentially read bit 7 and search for a register in which both the flag bit and interrupt enable bit are set. Instead, read interrupt request register 9 once and first check whether bit 7 is set or not. , which bits below bit 6 are set. Furthermore, when processing is performed without using interrupts, the flag bits of individual status/control registers may be searched.

次に、割込み許可レジスタ8、割込み要求レジ
スタ9を利用した時の割込み利用手順の一例につ
いて、第7図の流れ図に従つて説明する。まず、
割込み許可レジスタ8の各ビツトのうち、割込み
を利用したい機能ブロツクに対応するビツトをセ
ツトし、そうでないビツトはリセツトする。この
操作は、割込み許可レジスタ8に対して、1回ア
クセスするだけでよい。そして割込みがかかると
コンピユータは、第一番に割込み要求レジスタ9
を読み出し、まず、ビツト7がセツトされている
かを調べる。もしセツトされていなければ、この
割込み要求は他からのものであると判断できるの
で、他の割込み要因を捜す。もしビツト7がセツ
トされておれば、この割込み要求は、この周辺チ
ツプからのものであると判断できるので、更にビ
ツト6からビツト0を調べる。そしてセツトされ
ているビツトが見つかれば、そのビツトに対応す
る機能ブロツクに対して処理を行う。以上の実施
例は、割込み許可レジスタ、割込み要求レジスタ
がそれぞれ1個の場合の例であるが、ステイタ
ス/コントロールレジスタの数が本実施例よりも
多い場合は、割込み許可レジスタ、割込み要求レ
ジスタをそれぞれふやすだけで本質はかわらな
い。
Next, an example of an interrupt usage procedure when using the interrupt permission register 8 and the interrupt request register 9 will be explained according to the flowchart shown in FIG. first,
Of the bits in the interrupt permission register 8, the bits corresponding to the functional block for which the interrupt is to be used are set, and the other bits are reset. This operation requires only one access to the interrupt permission register 8. When an interrupt occurs, the computer first registers the interrupt request register 9.
First, check whether bit 7 is set. If it is not set, it can be determined that this interrupt request is from another source, so another interrupt factor is searched for. If bit 7 is set, it can be determined that this interrupt request is from this peripheral chip, so bits 6 to 0 are further checked. If a set bit is found, the function block corresponding to that bit is processed. The above embodiment is an example in which there is one interrupt permission register and one interrupt request register, but if the number of status/control registers is greater than this example, the interrupt permission register and interrupt request register are respectively Just adding more doesn't change the essence.

本発明による割込み許可レジスタ、割込み要求
レジスタを用いることにより、下記に示す効果を
得ることができる。
By using the interrupt permission register and interrupt request register according to the present invention, the following effects can be obtained.

(1) 第3図の流れ図と第7図の流れ図に示すよう
に、割込み機能を利用するために要する準備の
ための時間、及び準備のためのプログラムに要
するメモリーの容量が大幅に削減される。すな
わち、従来は割込み許可ビツトを操作するため
に、各機能ブロツクのステイタス/コントロー
ルレジスタのそれぞれに対してアクセスする必
要があつたが、割込み許可レジスタを設けるこ
とにより、このレジスタに対する1回のアクセ
スで、一括して割込み許可ビツトを操作できる
ために、少なくともアクセス回数の減少分だけ
時間を大幅に削減できる。また、従来と異り一
括して割込み許可ビツトを操作するために、プ
ログラムのステツプ数、すなわち、プログラム
に必要なメモリーの容量を大幅に削減できる。
(1) As shown in the flow chart in Figure 3 and the flow chart in Figure 7, the preparation time required to use the interrupt function and the memory capacity required for the preparation program are significantly reduced. . In other words, in the past, it was necessary to access each status/control register of each function block in order to manipulate the interrupt enable bit, but by providing an interrupt enable register, this register can be accessed only once. Since the interrupt permission bits can be manipulated all at once, time can be significantly reduced by at least the reduction in the number of accesses. Furthermore, unlike the conventional method, the interrupt enable bits are manipulated all at once, so the number of program steps, that is, the amount of memory required for the program can be significantly reduced.

(2) チツプ内のどの機能ブロツクに対して割込み
を許可したかという情報を、メモリー内に持た
なくても、割込み許可レジスタを1回アクセス
するだけで、この情報を得ることができる。
(2) Even if the information about which function blocks in the chip are enabled for interrupts is not stored in memory, this information can be obtained by accessing the interrupt enable register once.

(3) 第3図の流れ図と第7図の流れ図に示すよう
に、コンピユータ側が割込み要因を検索するの
に要する時間、及び検索のためのプログラムに
要するメモリーの容量が大幅に削減される。す
なわち、従来は割込み要因を検索するために、
各機能ブロツクのステイタス/コントロールレ
ジスタのそれぞれに対してアクセスする必要が
あつたが、割込み要求レジスタを設けることに
より、このレジスタに対する1回のアクセス
で、一括して割込み要因をコンピユータ側に取
り込むことができるため、少なくともアクセス
回数の減少分だけ時間を大幅に削減できる。ま
た従来と異り、一括して割込み要因をコンピユ
ータ側に取り込むため、取り込みに要するプロ
グラムのステツプ数、すなわち、プログラムに
必要なメモリーの容量を大幅に削減できる。
(3) As shown in the flowchart of FIG. 3 and the flowchart of FIG. 7, the time required for the computer to search for an interrupt cause and the memory capacity required for the program for the search are significantly reduced. In other words, conventionally, in order to search for an interrupt factor,
It was necessary to access each of the status/control registers of each functional block, but by providing an interrupt request register, it is now possible to import interrupt causes into the computer side with a single access to this register. Therefore, the time can be significantly reduced by at least the reduction in the number of accesses. Also, unlike the conventional method, since interrupt factors are imported into the computer side all at once, the number of program steps required to import them, or in other words, the amount of memory required for the program, can be significantly reduced.

(4) 割込み要因を検索するため、従来はコンピユ
ータ側に取り込んだステイタス/コントロール
レジスタの内容の2つのビツトすなわち、フラ
ツグビツトと割込み許可ビツトが、共にセツト
されているかを調べる必要があつたが、割込み
要求レジスタを設けると、各機能ブロツクに対
して、1つのビツトを調べるだけでよい。
(4) In order to search for an interrupt cause, it was conventionally necessary to check whether two bits in the contents of the status/control register imported into the computer, namely a flag bit and an interrupt enable bit, were both set. With the request register, only one bit needs to be examined for each functional block.

(5) 第6図に示すように、割込み要求レジスタの
ビツト7は、レジスタ内の他のビツトの論理和
となつているため、割込みがコンピユータ側に
要求された時コンピユータ側は従来とは異り、
割込み要求レジスタのビツト7を調べるだけ
で、割込み要求が、この周辺チツプからのもの
であるかどうかを判断することができ、割込み
要因の検索時間を短縮することができる。
(5) As shown in Figure 6, bit 7 of the interrupt request register is the logical sum of the other bits in the register, so when an interrupt is requested to the computer, the computer will respond differently than before. the law of nature,
By simply checking bit 7 of the interrupt request register, it is possible to determine whether the interrupt request is from this peripheral chip, and the time required to search for the interrupt cause can be reduced.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は、周辺チツプの一例、第2図は、周辺
チツプ内のステイタス/コントロールレジスタの
一例、第3図は、従来のステイタス/コントロー
ルレジスタを用いた割込み処理手順の一例、第4
図は、本発明のレジスタを有する周辺チツプ内の
一例、第5図は、割込み許可レジスタのビツト割
付けの一例、第6図は、割込み要求レジスタのビ
ツト割付けの一例、第7図は、本発明のレジスタ
を用いた割込み処理手順の一例をそれぞれ示す図
である。 1……並列Aレジスタ、2……並列Bレジス
タ、3……並列Cレジスタ、4……並列Dレジス
タ、5……直列レジスタ、6……カウンタ―Aレ
ジスタ、7……カウンタ―Bレジスタ、8……割
込み許可レジスタ、9……割込み要求レジスタ、
10……アドレスデコーダ、11……データバ
ス、12……内部データバス、13……バスドラ
イバ。
FIG. 1 is an example of a peripheral chip, FIG. 2 is an example of a status/control register in a peripheral chip, FIG. 3 is an example of an interrupt processing procedure using a conventional status/control register, and FIG.
The figure shows an example of a peripheral chip having a register according to the present invention, FIG. 5 shows an example of the bit assignment of the interrupt enable register, FIG. 6 shows an example of the bit assignment of the interrupt request register, and FIG. 7 shows an example of the bit assignment of the interrupt request register. FIG. 3 is a diagram illustrating an example of an interrupt processing procedure using the registers of FIG. 1...Parallel A register, 2...Parallel B register, 3...Parallel C register, 4...Parallel D register, 5...Series register, 6...Counter-A register, 7...Counter-B register, 8...Interrupt permission register, 9...Interrupt request register,
10...Address decoder, 11...Data bus, 12...Internal data bus, 13...Bus driver.

Claims (1)

【特許請求の範囲】[Claims] 1 制御プロセツサに対し、バスにより接続され
た周辺制御チツプの割込み制御方式において、前
記周辺制御チツプは少なくとも割込み要求状態に
なつた時セツトされるフラツグビツトと、このフ
ラツグビツトがセツトされた時コンピユータ側に
割込みを要求するかどうかを選択する割込み許可
ビツトを有する各機能ブロツク対応のステイタ
ス/コントロールレジスタと、前記各ステイタ
ス/コントロールレジスタの前記割込み許可ビツ
トからなる割込み許可レジスタと、前記各ステイ
タス/コントロールレジスタの前記フラツグビツ
トと前記割込み許可ビツトの論理積からなるビツ
トおよびそれらのビツトの論理和をとつたビツト
から構成される割込み要求レジスタとを有し、前
記ステイタス/コントロールレジスタ内の割込み
許可ビツトとこれに対応する前記割込み許可レジ
スタ内の割込み許可ビツトとは常に同一の値を示
し、前記割込み要求レジスタ内の論理和のビツト
を割込み制御ラインに出力するように構成したこ
とを特徴とする割込み制御方式。
1. In an interrupt control method for a peripheral control chip connected to a control processor by a bus, the peripheral control chip at least has a flag bit that is set when it enters an interrupt request state, and when this flag bit is set, an interrupt is sent to the computer side. a status/control register corresponding to each functional block having an interrupt enable bit for selecting whether or not to request an interrupt; an interrupt enable register consisting of the interrupt enable bit of each of the status/control registers; It has an interrupt request register consisting of a bit consisting of the AND of the flag bit and the interrupt enable bit, and a bit consisting of the logical OR of these bits, and corresponds to the interrupt enable bit in the status/control register. An interrupt control method characterized in that the interrupt permission bit in the interrupt permission register always shows the same value, and the logical sum bit in the interrupt request register is output to an interrupt control line.
JP2054880A 1980-02-22 1980-02-22 Interruption controlling system for peripheral control chip of microcomputer Granted JPS56118128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2054880A JPS56118128A (en) 1980-02-22 1980-02-22 Interruption controlling system for peripheral control chip of microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2054880A JPS56118128A (en) 1980-02-22 1980-02-22 Interruption controlling system for peripheral control chip of microcomputer

Publications (2)

Publication Number Publication Date
JPS56118128A JPS56118128A (en) 1981-09-17
JPH0154735B2 true JPH0154735B2 (en) 1989-11-21

Family

ID=12030197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2054880A Granted JPS56118128A (en) 1980-02-22 1980-02-22 Interruption controlling system for peripheral control chip of microcomputer

Country Status (1)

Country Link
JP (1) JPS56118128A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1241761A (en) * 1985-02-28 1988-09-06 International Business Machines Corporation Interrupt driven prioritized work queue
JPS6224329A (en) * 1985-07-23 1987-02-02 Mitsubishi Electric Corp State signal detector
JPS63159938A (en) * 1986-12-24 1988-07-02 Mitsubishi Electric Corp Data processor
JPS63271654A (en) * 1987-04-30 1988-11-09 Yokogawa Medical Syst Ltd Multiprocessor system
US5267246A (en) * 1988-06-30 1993-11-30 International Business Machines Corporation Apparatus and method for simultaneously presenting error interrupt and error data to a support processor

Also Published As

Publication number Publication date
JPS56118128A (en) 1981-09-17

Similar Documents

Publication Publication Date Title
US4550368A (en) High-speed memory and memory management system
US5475858A (en) Real time multiprocessor system having a write only data link connected to one of the ports of the memory of each of the processor nodes
US5930484A (en) Method and system for input/output control in a multiprocessor system utilizing simultaneous variable-width bus access
KR100346484B1 (en) Bus utilization optimization with read/write coherence
US3938097A (en) Memory and buffer arrangement for digital computers
US5838993A (en) System for DMA controller sharing control signals in conventional mode and having separate control signals for each number of channels in distributed mode
US6078977A (en) Hierarchical bus structure access system
US5901294A (en) Method and system for bus arbitration in a multiprocessor system utilizing simultaneous variable-width bus access
US5913044A (en) Method and system for simultaneous variable-width bus access in a multiprocessor system
US4821169A (en) Access verification arrangement for digital data processing system which has demand-paged memory with page crossing detection
US5249297A (en) Methods and apparatus for carrying out transactions in a computer system
US5287482A (en) Input/output cache
KR0175983B1 (en) Data processing system having demand based write through cache with enforced ordering
US5293622A (en) Computer system with input/output cache
JPS629456A (en) Data transfer unit
JPH0154735B2 (en)
US5408612A (en) Microprocessor system for selectively accessing a processor internal register when the processor has control of the bus and partial address identifying the register
US4964037A (en) Memory addressing arrangement
JPH0227696B2 (en) JOHOSHORISOCHI
US6742073B1 (en) Bus controller technique to control N buses
JPH0330175B2 (en)
GB2037466A (en) Computer with cache memory
JPS6113633B2 (en)
JP2502406B2 (en) Storage control system and data processing device
JPS58201157A (en) Control circuit of bank memory