JP3270040B2 - Bus control method - Google Patents

Bus control method

Info

Publication number
JP3270040B2
JP3270040B2 JP21875190A JP21875190A JP3270040B2 JP 3270040 B2 JP3270040 B2 JP 3270040B2 JP 21875190 A JP21875190 A JP 21875190A JP 21875190 A JP21875190 A JP 21875190A JP 3270040 B2 JP3270040 B2 JP 3270040B2
Authority
JP
Japan
Prior art keywords
bus
central processing
storage device
data
processing unit
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
JP21875190A
Other languages
Japanese (ja)
Other versions
JPH04101260A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP21875190A priority Critical patent/JP3270040B2/en
Publication of JPH04101260A publication Critical patent/JPH04101260A/en
Application granted granted Critical
Publication of JP3270040B2 publication Critical patent/JP3270040B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、バス制御方式に関し、特に情報処理装置の
バス制御方式に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus control system, and more particularly to a bus control system for an information processing apparatus.

〔従来の技術〕[Conventional technology]

従来、この様な情報処理装置においては、バスの構造
上一時に一つのサイクルしか行えず、データの転送サイ
クルと、割り込み制御のサイクルが分かれていて、各々
のサイクルは排他的に行われていた。
Conventionally, in such an information processing apparatus, only one cycle can be performed at a time due to the structure of a bus, and a data transfer cycle and an interrupt control cycle are separated, and each cycle is performed exclusively. .

また、周辺装置とのDMAによるデータの授受は、周辺
装置が一つのサイクルで扱うデータの幅が中央処理装置
の扱うデータの幅より小さいものであった。
Also, when data is exchanged with the peripheral device by DMA, the width of data handled by the peripheral device in one cycle is smaller than the width of data handled by the central processing unit.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述した従来の方式では、DMAによる周辺装置とのデ
ータの授受を行っているときに、バスのデータ幅を総て
使ってデータを伝送しているわけでなく開いているデー
タバスはただ遊んでいるだけであり、資源の有効利用が
図られていなかった。
In the conventional method described above, when data is being exchanged with peripheral devices by DMA, data is not transmitted using the entire data width of the bus. Only effective use of resources was not achieved.

また中央処理装置は、その間バスを使用することがで
きないため、何もせずにただバスが開くのを待っている
だけであった。
Also, since the central processing unit cannot use the bus during that time, it simply waits for the bus to open without doing anything.

〔課題を解決するための手段〕[Means for solving the problem]

本発明のバス制御方式は、情報処理装置に使用される
情報伝送路(以下バスと呼ぶ)であって、前記バスは同
じデータ幅を有する上位下位の二つのデータバスに分割
できるデータバスと、アドレスバスと、前記上位下位二
つのデータバスの情報を入れ換える機能を有する第1,第
2,第3の三つの切り替え回路と、外部でダイレクトメモ
リアクセス(以下DMAと呼ぶ)動作中であっても割り込
み制御が上位データバスを使用して行える機能を持った
中央処理装置と、前記中央処理装置を動かすプログラム
やデータを格納する第1の記憶装置と、前記中央処理装
置の割り込み処理のための情報を格納し前記第1の記憶
装置と無関係に情報を引き出すことのできる第2の記憶
装置と、前記中央処理装置に対して割り込み要求信号を
送り前記中央処理装置の割り込み処理のための要因情報
を前記中央処理装置に与える機能を有する周辺回路と、
情報処理装置に接続される周辺機器を制御する周辺機器
制御回路と、前記周辺機器制御回路と前記第1の記憶装
置との間でDMA方式によるデータの授受を行うDMA制御回
路と、前記中央処理装置の出力するアドレスを前記第2
の記憶装置と前記アドレスバスとのいずれかに流すよう
に切り替える機能を持つ第4の切り替え回路と、前記第
1第2第3第4の切り替え回路を制御するバス制御回路
とを有し、前記中央処理装置は前記第4の切り替え回路
を介してアドレスバスに接続され、前記第1の記憶装置
は前記第1の切り替え回路を介して前記アドレスバスに
接続され、前記第2の記憶装置は前記第3の切り替え回
路を介して前記データバスに接続され、前記周辺回路は
前記第2の切り替え回路を介して前記データバスに接続
されて構成される。
The bus control method according to the present invention is an information transmission path (hereinafter, referred to as a bus) used for an information processing apparatus, wherein the bus is divided into two upper and lower data buses having the same data width; The first and second address buses have a function of exchanging information of the upper and lower two data buses.
A central processing unit having a function of performing interrupt control using a higher-order data bus even when a direct memory access (hereinafter referred to as DMA) operation is being performed externally; A first storage device for storing a program or data for operating a processing device, and a second storage device for storing information for interrupt processing of the central processing unit and capable of extracting information independently of the first storage device A peripheral circuit having a function of sending an interrupt request signal to the central processing unit and providing the central processing unit with factor information for interrupt processing of the central processing unit;
A peripheral device control circuit for controlling peripheral devices connected to the information processing apparatus; a DMA control circuit for transmitting and receiving data in a DMA system between the peripheral device control circuit and the first storage device; The output address of the device is
A fourth switching circuit having a function of switching to flow to one of the storage device and the address bus, and a bus control circuit controlling the first, second, third, and fourth switching circuits, The central processing unit is connected to the address bus via the fourth switching circuit, the first storage device is connected to the address bus via the first switching circuit, and the second storage device is The data bus is connected via a third switching circuit, and the peripheral circuit is connected to the data bus via the second switching circuit.

〔実施例〕〔Example〕

本発明の実施例について第1図を参照しながら説明す
る。
An embodiment of the present invention will be described with reference to FIG.

ここで、このシステムは32ビットのデータバスを持つ
ものとする。また、このシステムの中央処理装置がデー
タの転送を行うときには、下位データバス202と上位デ
ータバス203を使い上位下位計32ビットのデータを第一
の記憶装置105や周辺回路102との間で授受を行い、DMA
時には下位16ビットの下位データバス202を使用してデ
ータを第1の記憶装置105との間で授受し、中央処理装
置101の割り込み要因情報、ベクタ引き取り時には、通
常は下位データバス202を使用してデータの転送を行う
ものとする。
Here, this system has a 32-bit data bus. When the central processing unit of this system transfers data, upper and lower 32-bit data is transferred between the first storage device 105 and the peripheral circuit 102 using the lower data bus 202 and the upper data bus 203. Do, DMA
Sometimes, data is exchanged with the first storage device 105 using the lower 16-bit lower data bus 202, and when the interrupt factor information of the central processing unit 101 and the vector are received, the lower data bus 202 is normally used. Data transfer.

また、第1図のシステムにおいてDMA転送が行われる
場合には、DMA制御回路103は中央処理装置101に対して
ホールド要求信号をホールド要求信号線206に出力す
る。これに対して中央処理装置101は、ホールド要求許
可信号をホールド要求許可信号線207に出力する。この
信号をDMA制御回路103が受け取るとDMAの動作を開始
し、アドレスバス201に第1の記憶装置105へのアドレス
をアドレスバス201に出力し、周辺機器制御回路104及び
記憶装置105に対しての制御信号をDMA制御線208に送
る。この制御信号を受け取ることにより、周辺機器制御
回路104と第1の記憶装置105とは下位データバス202を
使用してデータを転送する。
When the DMA transfer is performed in the system shown in FIG. 1, the DMA control circuit 103 outputs a hold request signal to the central processing unit 101 to the hold request signal line 206. On the other hand, the central processing unit 101 outputs a hold request permission signal to the hold request permission signal line 207. When this signal is received by the DMA control circuit 103, the operation of DMA is started, an address to the first storage device 105 is output to the address bus 201, and the address is transmitted to the peripheral device control circuit 104 and the storage device 105. Is sent to the DMA control line 208. By receiving this control signal, the peripheral device control circuit 104 and the first storage device 105 transfer data using the lower data bus 202.

そして、バス制御回路106は中央処理装置101からのホ
ールド許可信号を受け取ると、切り替え回路107,112,11
0,111に対して制御信号をDMA制御線208に送り、切り替
え回路107はDMAの転送アドレスに応じて第1の記憶装置
105に接続されるデータバスを上位と下位に振り分け、
第2の切り替え回路112と第3の切り替え回路111とはデ
ータバスを上位と下位で切り替えられて上位データバス
203に第2の記憶装置109と周辺回路102とを接続し、第
4の切り替え回路110は中央処理装置101のアドレスライ
ンを第2の記憶装置109へ切り替える。
When receiving the hold permission signal from the central processing unit 101, the bus control circuit 106 switches the switching circuits 107, 112, 11
A control signal is sent to the DMA control line 208 with respect to 0, 111, and the switching circuit 107 switches the first storage device in accordance with the DMA transfer address.
The data bus connected to 105 is divided into upper and lower
The second switching circuit 112 and the third switching circuit 111 can switch the data bus between the upper and lower data buses, and
The second storage device 109 and the peripheral circuit 102 are connected to 203, and the fourth switching circuit 110 switches the address line of the central processing unit 101 to the second storage device 109.

ここで、割り込み要因を持つ周辺回路102より中央処
理装置101に割り込み要求信号線204を使用して割り込み
要求が入力されると、中央処理装置101は割り込みに対
する応答信号を割り込み応答信号線205に出力し、それ
と同時に割り込み要因情報の引き取りを行う。この時、
要因情報の転送は上位側データバス203を使用して行わ
れる。
Here, when an interrupt request is input from the peripheral circuit 102 having the interrupt factor to the central processing unit 101 using the interrupt request signal line 204, the central processing unit 101 outputs a response signal to the interrupt to the interrupt response signal line 205. At the same time, the interrupt factor information is taken. At this time,
The transfer of the factor information is performed using the upper data bus 203.

この期中央処理装置101は、引き取った要因情報を基
に第2の記憶装置109に記憶されている飛び先のアドレ
スを読み込み、DMAの転送が終了したのと同時に、割り
込みに対する次の処理を行う。
The central processing unit 101 reads the jump destination address stored in the second storage device 109 based on the received factor information, and performs the next process for the interrupt at the same time as the completion of the DMA transfer. .

〔発明の効果〕〔The invention's effect〕

以上説明したように、中央処理装置にホールド中でも
割り込み制御を行える機能を持たせ、更に中央処理装置
を接続するバスのデータバスを切り替え可能なものにす
ることにより、DMAのサイクル中においても使用してい
ないバスを有効に使用することができると同時に、割り
込みによる処理をDMAサイクルの終了と同時に始めるこ
とができる。
As described above, by providing the central processing unit with the function of performing interrupt control even during hold, and by making the data bus of the bus connecting the central processing unit switchable, it can be used even during DMA cycles. At the same time as the bus which has not been used can be used effectively, the processing by the interrupt can be started at the same time as the end of the DMA cycle.

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

第1図は本発明の一実施例の構成を示すブロック図。 101……中央処理装置、102……周辺回路、103……DNA制
御回路、104……周辺機器制御回路、105……第1の記憶
装置、106……バス制御回路、107……第1の切り替え回
路、109……第2の記憶装置、110……第4の切り替え回
路、111……第3の切り替え回路、112……第2の切り替
え回路、201……アドレスバス、202……下位データバ
ス、203……上位データーバス、204……割り込み要求信
号線、205……割り込み応答信号線、206……ホールド要
求信号線、207……ホールド応答信号線、208……DMA制
御線。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. 101 central processing unit, 102 peripheral circuit, 103 DNA control circuit, 104 peripheral device control circuit, 105 first storage device, 106 bus control circuit, 107 first Switching circuit, 109: second storage device, 110: fourth switching circuit, 111: third switching circuit, 112: second switching circuit, 201: address bus, 202: lower data Bus 203, upper data bus 204 interrupt request signal line 205 interrupt response signal line 206 hold request signal line 207 hold response signal line 208 DMA control line.

フロントページの続き (56)参考文献 特開 平1−248264(JP,A) 特開 平2−181251(JP,A) 特開 昭63−5455(JP,A) 特開 平1−319850(JP,A) 特開 昭61−175750(JP,A) 実開 平2−6353(JP,U) (58)調査した分野(Int.Cl.7,DB名) G06F 13/16,13/28 G06F 13/32,13/36 Continuation of front page (56) References JP-A-1-248264 (JP, A) JP-A-2-181251 (JP, A) JP-A-63-5455 (JP, A) JP-A-1-319850 (JP, A) JP-A-61-175750 (JP, A) JP-A-2-6353 (JP, U) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 13/16, 13/28 G06F 13 / 32,13 / 36

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】情報処理装置に使用される情報伝送路(以
下バスと呼ぶ)であって、前記バスは同じデータ幅を有
する上位下位の二つのデータバスに分割できるデータバ
スと、アドレスバスと、前記上位下位二つのデータバス
の情報を入れ換える機能を有する第1、第2、第3の三
つの切り替え回路と、外部でダイレクトメモリアクセス
(以下DMAと呼ぶ)動作中であっても割り込み制御が上
位データバスを使用して行える機能を持った中央処理装
置と、前記中央処理装置を動かすプログラムやデータを
格納する第1の記憶装置と、前記中央処理装置の割り込
み処理のための情報を格納し前記第1の記憶装置と無関
係に前記割り込み処理のための情報を引き出すことので
きる第2の記憶装置と、前記中央処理装置に対して割り
込み要求信号を送り前記中央処理装置の割り込み処理の
ための要因情報を前記中央処理装置に与える機能を有す
る周辺回路と、情報処理装置に接続される周辺機器を制
御する周辺機器制御回路と、前記周辺機器制御回路と前
記第1の記憶装置との間でDMA方式によるデータの授受
を行うDMA制御回路と、前記中央処理装置の出力するア
ドレスを前記第2の記憶装置と前記アドレスバスとのい
ずれかに流すように切り替える機能を持つ第4の切り替
え回路と、前記第1第2第3第4の切り替え回路を制御
するバス制御回路とを有し、前記中央処理装置は前記第
4の切り替え回路を介してアドレスバスに接続され、前
記第1の記憶装置は前記第1の切り替え回路を介して前
記アドレスバスに接続され、前記第2の記憶装置は前記
第3の切り替え回路を介して前記データバスに接続さ
れ、前記周辺回路は前記第2の切り替え回路を介して前
記データバスに接続されて成ることを特徴とするバス制
御方式。
An information transmission path (hereinafter, referred to as a bus) used in an information processing apparatus, wherein said bus is a data bus which can be divided into two upper and lower data buses having the same data width, and an address bus. A first, a second, and a third switching circuit having a function of exchanging information of the upper and lower two data buses, and interrupt control even during an external direct memory access (hereinafter referred to as DMA) operation. A central processing unit having a function that can be performed by using an upper data bus; a first storage device for storing a program and data for operating the central processing unit; and information for interrupt processing of the central processing device. A second storage device capable of extracting information for the interrupt processing independently of the first storage device, and an interrupt request signal to the central processing device. A peripheral circuit having a function of providing factor information for interrupt processing of the central processing unit to the central processing unit, a peripheral device control circuit for controlling peripheral devices connected to the information processing device, and the peripheral device control circuit; A DMA control circuit for transmitting and receiving data to and from the first storage device according to a DMA method, and an address output from the central processing unit flowing to one of the second storage device and the address bus. A fourth switching circuit having a switching function; and a bus control circuit for controlling the first, second, third, and fourth switching circuits, wherein the central processing unit controls an address bus via the fourth switching circuit. , The first storage device is connected to the address bus via the first switching circuit, and the second storage device is connected to the data bus via the third switching circuit. Connected to said peripheral circuit bus control method characterized by comprising connected to the data bus via the second switching circuit.
JP21875190A 1990-08-20 1990-08-20 Bus control method Expired - Fee Related JP3270040B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21875190A JP3270040B2 (en) 1990-08-20 1990-08-20 Bus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21875190A JP3270040B2 (en) 1990-08-20 1990-08-20 Bus control method

Publications (2)

Publication Number Publication Date
JPH04101260A JPH04101260A (en) 1992-04-02
JP3270040B2 true JP3270040B2 (en) 2002-04-02

Family

ID=16724847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21875190A Expired - Fee Related JP3270040B2 (en) 1990-08-20 1990-08-20 Bus control method

Country Status (1)

Country Link
JP (1) JP3270040B2 (en)

Also Published As

Publication number Publication date
JPH04101260A (en) 1992-04-02

Similar Documents

Publication Publication Date Title
JPS63255759A (en) Control system
JPH07225727A (en) Computer system
JP3270040B2 (en) Bus control method
JPS6298444A (en) Data communication system
JPS59218531A (en) Information processor
JPS63118950A (en) Information processor
JP3206910B2 (en) DMA transfer method
JPS61271555A (en) Transferring system for direct memory access
JPS6130300B2 (en)
JPH056333A (en) Multi-processor system
JPS61251943A (en) Data processor
JP2667285B2 (en) Interrupt control device
JP2554423Y2 (en) Memory controller
JP2803270B2 (en) SCSI host adapter circuit
JPS6337453A (en) Bus switch device
JPH0410031A (en) Microprogram controller
JPS61105662A (en) Direct memory access unit and data transfer unit
JPS59157735A (en) Data bus control system
JPS59201153A (en) Host connection system for stand-alone type picture processing system
JPS60120458A (en) Data transferring device
JPH04205047A (en) Data processor
KR19990079974A (en) Apparatus for controlling delayed request between two buses in multiprocessor system and its control method
JPS63279359A (en) Data transfer device for multi-cpu
JPH03238549A (en) Microprocessor
JPH0581166A (en) Data transfer control device and system with this device

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees