JPS63126035A - Semiconductor integrated circuit device - Google Patents

Semiconductor integrated circuit device

Info

Publication number
JPS63126035A
JPS63126035A JP27182786A JP27182786A JPS63126035A JP S63126035 A JPS63126035 A JP S63126035A JP 27182786 A JP27182786 A JP 27182786A JP 27182786 A JP27182786 A JP 27182786A JP S63126035 A JPS63126035 A JP S63126035A
Authority
JP
Japan
Prior art keywords
signal
level
microprocessor
peripheral circuit
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.)
Pending
Application number
JP27182786A
Other languages
Japanese (ja)
Inventor
Takashi Maruyama
隆 丸山
Keiichi Kurakazu
倉員 桂一
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP27182786A priority Critical patent/JPS63126035A/en
Publication of JPS63126035A publication Critical patent/JPS63126035A/en
Pending 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

Abstract

PURPOSE:To reduce the number of wires by connecting a microprocessor to peripheral circuits through only one control line. CONSTITUTION:When an interruption request cause is generated in a peripheral circuit I/O in case of applying an interruption request from the peripheral circuit I/O to the microprocessor CPU, the circuit I/O charges up a control signal line IRQ/the inverse of ACK from a low level to a high level synchronously with a 2-phase system clock signal 2 out of signals phi1, phi2 and transmits the an interruption request signal IRQ to the CPU. The CPU receives a change in a signal level as the timing of the clock signal phi1 and decides whether the interruption is to be received or not. At the time of determining the reception of the interruption, said control line IRQ/the inverse of ACK is turned from the high level to the low level synchronously with the clock phi1 and an acknowledge signal is transmitted to the peripheral circuit I/O.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、半導体集積回路装置に関し、例えばマイク
ロプロセッサとその周辺回路からなる1チンプのマイク
ロコンピュータシステムにおける割り込み制御回路に利
用して有効な技術に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a semiconductor integrated circuit device, and provides a technology that is effective for use in an interrupt control circuit in a one-chip microcomputer system consisting of a microprocessor and its peripheral circuits, for example. It is related to.

〔従来の技術〕[Conventional technology]

周辺回路からマイクロプロセッサに対する割り込み制御
は、2つの信号を用いて行われる。すなわち、周辺回路
はマイクロプロセッサに対して割り込み要求信号を送出
する。マイクロプロセッサは割り込みを受は付けると、
割り込みアクノリッジ信号を周辺回路に送出する0周辺
回路は上記割り込みアクノリッジ信号が供給されると、
データバスを介してベクタを出力し、これに従ってマイ
クロプロセッサは割り込み処理に移行する。このような
割り込み制御機能を持つマイクロブロセッサとしては、
例えば■日立製作所昭和60年3月発行rHD6418
0 (0MO38ビツトマイクロプロセツサ)ユーザー
ズマニュアルJ頁24がある。
Interrupt control from peripheral circuits to the microprocessor is performed using two signals. That is, the peripheral circuit sends an interrupt request signal to the microprocessor. When a microprocessor accepts an interrupt,
When the 0 peripheral circuit that sends the interrupt acknowledge signal to the peripheral circuit receives the interrupt acknowledge signal,
A vector is output via the data bus, and the microprocessor shifts to interrupt processing accordingly. As a microprocessor with such an interrupt control function,
For example, Hitachi Ltd. rHD6418, published in March 1985.
0 (0MO38-bit microprocessor) User's manual J page 24 is available.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のように従来のマイクロプロセッサと周辺回路の割
り込み制御には、割り込み要求信号と割り込みアクノリ
ッジ信号の2つの制′a信号を必要とするものである。
As described above, conventional interrupt control of microprocessors and peripheral circuits requires two control signals: an interrupt request signal and an interrupt acknowledge signal.

したがって、1つの周辺回路に対して最低2本の割り込
み制御線が必要になる。
Therefore, at least two interrupt control lines are required for one peripheral circuit.

このため、上記マイクロプロセッサと周辺回路を1つの
半導体集積回路装置に構成する場合、信号線の数が多く
なる。この信号線はマイクロプロセッサと各周辺回路と
の間で一対一対応して配線される。したがって、半導体
チップ上を比較的長い距離をもって引き回されることが
多くなるため、その集積度を悪くする大きな原因になる
Therefore, when the microprocessor and peripheral circuits are configured into one semiconductor integrated circuit device, the number of signal lines increases. These signal lines are wired in one-to-one correspondence between the microprocessor and each peripheral circuit. Therefore, the wires are often routed over a relatively long distance over the semiconductor chip, which is a major cause of deteriorating the degree of integration.

この発明の目的は、高集積化を図った半導体集積回路装
置を提供することにある。
An object of the present invention is to provide a semiconductor integrated circuit device that is highly integrated.

この発明の前記ならびにそのほかの目的と新規な特徴は
、本明細書の記述および添付図面から明らかになるであ
ろう。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔問題点を解決するための手段〕[Means for solving problems]

本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば、下記の通りである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、周辺回路は信号線を一方のレベルから他方の
レベルに変化させることにより割り込み要求信号をマイ
クロプロセッサ供給し、マイクロプロセッサは上記同じ
信号線における上記他方のレベルヲ一方のレベルに変化
させることによって割り込みアクノリッジ信号を周辺回
路に供給するものである。
That is, the peripheral circuit supplies an interrupt request signal to the microprocessor by changing the signal line from one level to the other level, and the microprocessor supplies the interrupt request signal to the microprocessor by changing the other level to one level on the same signal line. It supplies an acknowledge signal to peripheral circuits.

〔作 用〕[For production]

上記した手段によれば、マイクロプロセッサと周辺回路
間の割り込み制御信号を1本の制御線により構成できる
According to the above-mentioned means, the interrupt control signal between the microprocessor and the peripheral circuit can be configured by one control line.

〔実施例〕〔Example〕

第F図には、この発明が適用された1チツプのマイクロ
コンピュータシステムのブロック図が示されている。同
図の各回路ブロックは、公知の半導体集積回路の製造技
術によって、特に制限されないが、単結晶シリコンのよ
うな1つの半導体基板上において形成される。
FIG. F shows a block diagram of a one-chip microcomputer system to which the present invention is applied. Each circuit block in the figure is formed on one semiconductor substrate such as, but not limited to, single-crystal silicon using known semiconductor integrated circuit manufacturing techniques.

この実施例の1チツプマイクロコンピユータは、マイク
ロプロセッサCPUと、周辺回路1100ないしI /
 Onから構成される。これらのマイクロプロセッサC
PUと各周辺回路■100ないしI / Onは、アド
レスバスAB、データバスDB及び図示の割り込み制御
用の信号線を含む制御バス(図示せず)により相互に接
続される。
The one-chip microcomputer of this embodiment includes a microprocessor CPU and peripheral circuits 1100 to 1100/1100.
Consists of On. These microprocessors C
The PU and each of the peripheral circuits 100 to I/On are interconnected by a control bus (not shown) including an address bus AB, a data bus DB, and a signal line for interrupt control shown in the drawing.

上記周辺回路l100ないしI / Onは、特に制限
されないが、タイマー回路、A/D変換回路等のような
各種機能を持つようにモジュール化された回路が用意さ
れていおり、そのうちユーザーの仕様に応じて必要なも
のが種々の組み合わせにより搭載されるようにされる。
The above peripheral circuits l100 to I/On are not particularly limited, but modularized circuits with various functions such as timer circuits, A/D conversion circuits, etc. The necessary items can be installed in various combinations.

上記マイクロプロセッサCPUそのものの構成は、前記
rHD64180 (0MO38ビツトマイクロプロセ
ツサ)ユーザーズマニュアル」等により周知であり、そ
の具体的な内部構成の説明を省略する。
The configuration of the microprocessor CPU itself is well known from the rHD64180 (0MO 38-bit microprocessor) user's manual, and a detailed explanation of its internal configuration will be omitted.

この実施例では、割り込み制御のための信号線の数を削
減するために、マイクロプロセッサCPUと、各周辺回
路l100ないしI / Onとの間にそれぞれ設けら
れる制御信号線は、制御信号線IRQ/ACKOないし
IRQ/ACKnのような1本の信号線から構成される
In this embodiment, in order to reduce the number of signal lines for interrupt control, the control signal lines provided between the microprocessor CPU and each peripheral circuit I100 to I/On are the control signal lines IRQ/I/On. It is composed of one signal line such as ACKO or IRQ/ACKn.

上述のように割り込み制御動作においては、周辺回路I
10からマイクロプロセッサCPUに対する割り込み制
御動作は、ある周辺回路I10からマイクロプロセッサ
CPUに対して割り込み要求信号IRQを送出し、マイ
クロプロセッサCPUはこれを受は付けると、割り込み
アクノリッジ信号ACKを転送することにより行われる
。このため、上記両信号IRQとACKは同時に伝達さ
れることがなく、常に所定の時間差を持って伝達される
。このことに着目して、この実施例では、上記のうよう
に1本の制御信号線を用いて、上記両信号IRQとAC
Kを、いわば時分割的に伝達するものである。ただし、
通常の意味での時分割と多少異なり、次に第2図に示し
たタイミング図を参照して説明するように、上記両信号
IRQとACKの時間差と信号レベルとの組み合わせか
ら両信号IRQとACKの区別がなされる。
As mentioned above, in the interrupt control operation, the peripheral circuit I
10 to the microprocessor CPU, a certain peripheral circuit I10 sends an interrupt request signal IRQ to the microprocessor CPU, and when the microprocessor CPU accepts it, it transfers an interrupt acknowledge signal ACK. It will be done. Therefore, both the signals IRQ and ACK are never transmitted at the same time, but are always transmitted with a predetermined time difference. Focusing on this, this embodiment uses one control signal line as described above to control both the IRQ and AC signals.
K is transmitted, so to speak, in a time-division manner. however,
This is somewhat different from time-division in the usual sense, and as will be explained next with reference to the timing diagram shown in FIG. A distinction is made.

第2図には、上記割り込み制御のための信号転送動作の
一例を説明するためのタイミング図が示されている。
FIG. 2 shows a timing diagram for explaining an example of a signal transfer operation for the above interrupt control.

制御信号線IRQ/ACKがロウレベルであることによ
って、割り込み要求がない状態であり、周辺回路I10
からマイクロプロセッサCPUに対して割り込み要求を
行う場合、周辺回路110において割り込み要求原因が
発生すると、周辺回路I10は2相のシステムクロック
信号φ1とφ2のうち、クロック信号φ2に同期して制
御信号IIRQ/ACKをロウレベルからハイレベルに
チャージアップし、割り込み要求信号IRQとしてマイ
クロプロセッサCPUに伝えるマイクロブOセフ ”)
 CP U ハニー (7)制御信号vAIRQ/AC
Kの信号レベルの変化をクロック信号φ1のタイミング
で取り込み、割り込みを受は付けるか否かの判定を行う
。この間、上記制?111信号線IRQ/ACKはハイ
レベルにチャージアップされたまま維持される。マイク
ロプロセッサCPUは、割り込み要求を受は付けると、
クロック信号φ1に同期して上記制御信号線IRQ/A
CKをハイレベルからロウレベルにディスチャージさせ
ることによって割り込みアクノリッジ信号ACKを周辺
回路I10に転送する0周辺回路I10は、上記割り込
みアクノリッジ信号ACKが転送されたことを確認する
と、データバスDBを介して割り込みベクタをマイクロ
プロセッサCPUに転送する。このとき、まだ割り込み
処理が終了していないことより、割り込み要求が出され
ているため、クロック信号φ2に同期して上記制御信号
線IRQ/ACKを再びハイレベルにチャージアップし
ておく。
Since the control signal line IRQ/ACK is at a low level, there is no interrupt request, and the peripheral circuit I10
When an interrupt request is made to the microprocessor CPU from the peripheral circuit 110, when the cause of the interrupt request occurs in the peripheral circuit 110, the peripheral circuit I10 outputs the control signal IIRQ in synchronization with the clock signal φ2 of the two-phase system clock signals φ1 and φ2. /ACK is charged up from low level to high level and transmitted to the microprocessor CPU as an interrupt request signal IRQ.
CPU Honey (7) Control signal vAIRQ/AC
A change in the signal level of K is taken in at the timing of the clock signal φ1, and it is determined whether or not to accept the interrupt. During this time, the above system? The 111 signal line IRQ/ACK is maintained charged up to a high level. When the microprocessor CPU accepts an interrupt request,
The control signal line IRQ/A is synchronized with the clock signal φ1.
The peripheral circuit I10 transfers the interrupt acknowledge signal ACK to the peripheral circuit I10 by discharging CK from high level to low level. When the peripheral circuit I10 confirms that the interrupt acknowledge signal ACK has been transferred, it discharges the interrupt vector via the data bus DB. is transferred to the microprocessor CPU. At this time, since the interrupt processing has not yet been completed and an interrupt request has been issued, the control signal line IRQ/ACK is charged up to a high level again in synchronization with the clock signal φ2.

マイクロプロセッサCPUは、上記データバスDBを介
して転送されたベクタに従い、それに応じた割り込みは
処理に移行する。この割り込み処理が終了すると、マイ
クロプロセッサCPUは、上記制御信号線IRQ/AC
Kをロウレベルにディスチャージして、割り込み要求の
ない状態とするものである。
The microprocessor CPU processes the corresponding interrupt according to the vector transferred via the data bus DB. When this interrupt processing is completed, the microprocessor CPU connects the control signal line IRQ/AC to the
K is discharged to a low level to create a state where there is no interrupt request.

この実施例では、上述のように割り込み要求信号IRQ
は、制御信号線のレベルがロウレベルからハイレベルに
変化したことによってアクティブとなり、割り込みアク
ノリッジ信号ACKは、上記制御信号線がハイレベルか
らロウレベルに変化したことによってアクティブとなる
。このように時間差とそのレベル変化の組み合わせから
、1つの信号線を用いて2つの信号が時分割的に授受さ
れるものである。
In this embodiment, as described above, the interrupt request signal IRQ
becomes active when the level of the control signal line changes from low level to high level, and interrupt acknowledge signal ACK becomes active when the control signal line changes from high level to low level. In this way, two signals are transmitted and received in a time-division manner using one signal line due to the combination of the time difference and its level change.

この実施例では、上記のように割り込み要求とそのアク
ノリッジ信号を1つの制御信号線を用いて授受するもの
であるため、制御信号線の数を1/2に減少させること
ができる。
In this embodiment, since the interrupt request and its acknowledge signal are sent and received using one control signal line as described above, the number of control signal lines can be reduced to 1/2.

上記の実施例から得られる作用効果は、下記の通りであ
る。すなわち、 (11周辺回路は信号線を一方のレベルから他方のレベ
ルに変化させることにより割り込み要求信号をマイクロ
プロセッサ供給し、マイクロプロセッサは上記同じ信号
線における上記他方のレベルを一方のレベルに変化させ
ることによって割り込みアクノリッジ信号を周辺回路に
供給することによって、マイクロプロセッサと周辺回路
間の割り込み制御信号を1本の制御線により構成できる
ため、高集積化が図られるという効果が得られる。
The effects obtained from the above examples are as follows. That is, (11) the peripheral circuit supplies an interrupt request signal to the microprocessor by changing the signal line from one level to the other, and the microprocessor changes the other level on the same signal line to one level. By supplying the interrupt acknowledge signal to the peripheral circuit, the interrupt control signal between the microprocessor and the peripheral circuit can be configured using one control line, thereby achieving the effect of achieving high integration.

(2)上記割り込み要求信号の伝達を共通の制御信号線
のチャージアンプとディスチージ動作により形成するこ
とによって、信号の発生及び判定回路が極めて簡単な構
成により実現できるという効果が得られる。
(2) By transmitting the interrupt request signal using a charge amplifier and a discharge operation on a common control signal line, it is possible to realize the signal generation and determination circuit with an extremely simple configuration.

(3)2相のクロック信号を用いて上記チャージアップ
/ディスチャージ動作の制御を行うことによって、その
レベル判定のタイミングが容易にできるという効果が得
られる。
(3) By controlling the charge-up/discharge operation using two-phase clock signals, it is possible to easily determine the timing of the level determination.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本願発明は上記実施例に限定される
ものではなく、その要旨を逸脱しない範囲で種々変更可
能であることはいうまでもない。例えば、共通の制御信
号線を用いて一方のレベルから他方のレベルに変化させ
て割り込み要求信号を発生させ、上記他方のレベルから
一方のレベルに変化させて割り込みアクノリフジ信号を
発生させる回路の具体的構成は、種々の実施形態を採る
ことができるものである。
Although the invention made by the present inventor has been specifically explained above based on examples, it goes without saying that the present invention is not limited to the above-mentioned examples, and can be modified in various ways without departing from the gist thereof. Nor. For example, a specific example of a circuit that generates an interrupt request signal by changing from one level to another using a common control signal line, and generates an interrupt acknowledge signal by changing from the other level to one level. The configuration can take various embodiments.

この発明は、1チツプのマイクロコンピュータの他、マ
イクロコンピュータ機能を持つ各種半導体集積回路装置
に広く利用できるものである。
The present invention can be widely used not only in one-chip microcomputers but also in various semiconductor integrated circuit devices having microcomputer functions.

〔発明の効果〕〔Effect of the invention〕

本願において開示される発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば、下記の通りである
。すなわち、1チツプのマイクロコンピュータシステム
において、周辺回路は信号線を一方のレベルから他方の
レベルに変化させることにより割り込み要求信号をマイ
クロプロセッサ供給し、マイクロプロセッサは上記同じ
信号線における上記他方のレベルを一方のレベルに変化
させることによって割り込みアクノリッジ信号を周辺回
路に供給することによって、マイクロプロセッサと周辺
回路間の割り込み制御信号を1零の制御線により構成で
きる。
A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows. That is, in a one-chip microcomputer system, the peripheral circuit supplies an interrupt request signal to the microprocessor by changing the signal line from one level to the other, and the microprocessor changes the other level on the same signal line. By supplying the interrupt acknowledge signal to the peripheral circuit by changing it to one level, the interrupt control signal between the microprocessor and the peripheral circuit can be configured by a one-zero control line.

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

第1図は、この発明の一実施例を示すブロック図、 第2図は、その動作の一例を説明するためのタイミング
図である。 CPU・・マイクロプロセッサ、l10ONI/ On
・・周辺回路、DB・・データバス、AB・・アドレス
バス、IRQ/ACKO〜IRQ/ACKn・・制御信
号線
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a timing diagram for explaining an example of its operation. CPU...Microprocessor, l10ONI/On
...Peripheral circuit, DB...Data bus, AB...Address bus, IRQ/ACKO to IRQ/ACKn...Control signal line

Claims (1)

【特許請求の範囲】 1、マイクロプロセッサと周辺回路とを含み、周辺回路
からマイクロプロセッサに対して信号線を一方のレベル
から他方のレベルに変化させることにより割り込み要求
信号を供給し、マイクロプロセッサから周辺回路に対し
て上記同じ信号線における上記他方のレベルを一方のレ
ベルに変化させて割り込みアクノリッジ信号を供給する
ことを特徴とする半導体集積回路装置。 2、上記信号線は、2相以上のクロック信号のうち、一
方のクロック信号に同期して周辺回路において上記一方
のレベルから他方のレベルにチャージアップすることに
より割り込み要求信号が形成され、他方のクロック信号
に同期してマイクロプロセッサにおいて上記他方のレベ
ルから一方のレベルにディスチャージすることにより割
り込みアクノリッジ信号が形成されるものであることを
特徴とする特許請求の範囲第1項記載の半導体集積回路
装置。
[Claims] 1. Includes a microprocessor and a peripheral circuit, and supplies an interrupt request signal from the peripheral circuit to the microprocessor by changing a signal line from one level to the other; A semiconductor integrated circuit device characterized in that an interrupt acknowledge signal is supplied to a peripheral circuit by changing the other level of the same signal line to one level. 2. The above signal line generates an interrupt request signal by charging up from one level to the other level in the peripheral circuit in synchronization with one of the clock signals of two or more phases. The semiconductor integrated circuit device according to claim 1, wherein the interrupt acknowledge signal is formed by discharging the other level to one level in a microprocessor in synchronization with a clock signal. .
JP27182786A 1986-11-17 1986-11-17 Semiconductor integrated circuit device Pending JPS63126035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27182786A JPS63126035A (en) 1986-11-17 1986-11-17 Semiconductor integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27182786A JPS63126035A (en) 1986-11-17 1986-11-17 Semiconductor integrated circuit device

Publications (1)

Publication Number Publication Date
JPS63126035A true JPS63126035A (en) 1988-05-30

Family

ID=17505407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27182786A Pending JPS63126035A (en) 1986-11-17 1986-11-17 Semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JPS63126035A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0706136A1 (en) 1994-09-30 1996-04-10 Nec Corporation Interruption control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0706136A1 (en) 1994-09-30 1996-04-10 Nec Corporation Interruption control system
US5784271A (en) * 1994-09-30 1998-07-21 Nec Corporation Data processor for interruption control between the CPU and the interruption controller

Similar Documents

Publication Publication Date Title
JP3860209B2 (en) Serial interrupt bus protocol
EP0428330A2 (en) Computer interface circuit
DE60029118D1 (en) ASYNCHRONOUS CENTRALIZED MULTICANAL DMA CONTROL
RU2155375C2 (en) Method and device for data processing
US7007124B2 (en) Image processing system, and semiconductor device and digital still camera apparatus using image processing system
JPS63126035A (en) Semiconductor integrated circuit device
JP2624388B2 (en) DMA device
JPH0343804A (en) Sequence controller
JP2624989B2 (en) Data transfer control device
JP2526208B2 (en) Microprocessor
JPS63163638A (en) Semiconductor integrated circuit device
JPS6280753A (en) Bus control system
JPS6269348A (en) Data transfer device
JPH03121556A (en) Data transfer device
JPS6217780B2 (en)
JPS62272345A (en) Bus arbitrating system
JPS62160560A (en) Bus control system
JPS59223871A (en) Data transfer system
JPS61183764A (en) Direct memory access controlling system
JPS6097461A (en) Data bus control circuit
JPH0240754A (en) Dma unit
JPH0461387B2 (en)
JPS6346559A (en) Dma controller
JPH07160667A (en) Semiconductor integrated circuit
JPS59142626A (en) Preventing circuit of bus competition