JPH0683764A - Interface system between cpu and bus control circuit - Google Patents

Interface system between cpu and bus control circuit

Info

Publication number
JPH0683764A
JPH0683764A JP25364392A JP25364392A JPH0683764A JP H0683764 A JPH0683764 A JP H0683764A JP 25364392 A JP25364392 A JP 25364392A JP 25364392 A JP25364392 A JP 25364392A JP H0683764 A JPH0683764 A JP H0683764A
Authority
JP
Japan
Prior art keywords
card
cpu
data
hardware
control circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25364392A
Other languages
Japanese (ja)
Inventor
Yuji Ishikawa
裕次 石川
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 JP25364392A priority Critical patent/JPH0683764A/en
Publication of JPH0683764A publication Critical patent/JPH0683764A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To reduce the load of a CPU about data transfer among a CPU card and plural hardware cards. CONSTITUTION:A data storing area 21 in a memory 2 stores plural card data to be transferred among the CPU card 10 and plural hardware cards 4. A pointer area 22 in the memory 2 stores respective pointers having information indicating the storing positions of respective card data stored in the area 21 and information for linking plural card data stored in the area 21. A bus control circuit 3 controls data transfer (data transfer relating to all the card data stored in the area 21) among the CPU card 10 and the hardware ards 4 by referring to the area 22 based upon a data transfer command outputted from the CPU 1, and at the end of data transfer, issues a transfer end interruption to the CPU 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プログラムを実行する
CPU(Central Processing Un
it。中央処理装置)を備えるCPUカードと複数のハ
ードウェアカード(ハードウェアを構成するカードまた
はハードウェアを制御するカード)と高速ハードウェア
制御バス(CPUカードとハードウェアカードとの間の
高速なデータ転送を行うために両カードを接続する制御
バス)とを有する制御装置におけるCPU−バス制御回
路間インタフェース方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CPU (Central Processing Unit) for executing a program.
it. CPU card including a central processing unit, a plurality of hardware cards (cards that configure hardware or cards that control hardware), and high-speed hardware control bus (high-speed data transfer between the CPU card and the hardware card) CPU-bus control circuit interface system in a control device having a control bus for connecting both cards to each other.

【0002】[0002]

【従来の技術】上述のような制御装置におけるCPUカ
ード内には、高速ハードウェア制御バスに関する制御を
行うバス制御回路が設けられている。そして、CPUカ
ードと複数のハードウェアカードとの間のデータ転送を
行うためには、CPUとバス制御回路との間でデータ転
送のためのインタフェースを制御するCPU−バス制御
回路間インタフェース方式が必要になっている。
2. Description of the Related Art A bus control circuit for controlling a high-speed hardware control bus is provided in a CPU card of a control device as described above. In order to transfer data between the CPU card and a plurality of hardware cards, a CPU-bus control circuit interface method for controlling an interface for data transfer between the CPU and the bus control circuit is required. It has become.

【0003】従来、この種のCPU−バス制御回路間イ
ンタフェース方式では、CPUとバス制御回路との間に
おけるデータ転送のためのインタフェースはハードウェ
アカード単位のデータ転送に閉じていた。すなわち、一
のハードウェアカードに関するデータ(ハードウェアカ
ードに対してCPUカードへのデータの送信を促すデー
タ送信要求を含む)の送信が行われる毎にCPUからバ
ス制御回路にデータ転送指示が発行され、一のハードウ
ェアカードに関するデータ(ハードウェアカードがCP
Uカードからのデータを受信した旨を示すデータ受信応
答を含む)の受信が行われる毎(一のハードウェアカー
ドに関するデータ転送が終了する毎)にその旨を示す割
込み(データ転送の終了を示す割込み。以下、転送終了
割込みという)がバス制御回路からCPUに発行されて
いた。
Conventionally, in this type of CPU-bus control circuit interface system, the interface for data transfer between the CPU and the bus control circuit has been closed to hardware card-based data transfer. That is, the CPU issues a data transfer instruction to the bus control circuit every time data relating to one hardware card (including a data transmission request for prompting the hardware card to transmit data to the CPU card is transmitted). , Data about one hardware card (the hardware card is CP
Every time a reception is made (including a data reception response indicating that data from the U card is received) (every time data transfer for one hardware card is completed), an interrupt (indicates the end of data transfer) An interrupt (hereinafter referred to as a transfer end interrupt) was issued from the bus control circuit to the CPU.

【0004】したがって、CPUは、ハードウェアカー
ド単位で、上述のデータ転送指示を発行する際の送信処
理を行う必要があり、上述の転送終了割込みを受けた際
の受信処理を行う必要があった。すなわち、他のハード
ウェアカードに関するデータ転送のためのインタフェー
スの制御に係る処理(上述の送信処理および受信処理
等)は、当該一のハードウェアカードに関する処理が終
了した後に改めて行われていた。
Therefore, the CPU needs to perform the transmission processing when issuing the above-mentioned data transfer instruction, and the reception processing when receiving the above-mentioned transfer end interrupt, for each hardware card. . That is, the processing (the above-described transmission processing and reception processing, etc.) related to the control of the interface for data transfer regarding another hardware card has been performed again after the processing regarding the one hardware card is completed.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のCPU
−バス制御回路間インタフェース方式では、CPUとバ
ス制御回路との間におけるデータ転送のためのインタフ
ェースはハードウェアカード単位のデータ転送に閉じて
いるので、CPUカードとハードウェアカードとの間の
データ転送に関するCPUの負荷が大きくなり、複数の
ハードウェアカードのそれぞれに数バイト毎のデータが
転送される場合等には、CPUはデータ転送のためのイ
ンタフェースの制御に係る処理ばかりを行うことにな
り、CPUの処理効率が低下するという欠点があった。
SUMMARY OF THE INVENTION The conventional CPU described above.
In the inter-bus control circuit interface method, since the interface for data transfer between the CPU and the bus control circuit is closed for data transfer in hardware card units, data transfer between the CPU card and the hardware card is performed. In the case where the load on the CPU with respect to the hardware becomes large and data of several bytes is transferred to each of the plurality of hardware cards, the CPU only performs the processing related to the control of the interface for data transfer. There is a drawback that the processing efficiency of the CPU is reduced.

【0006】近年、高速ハードウェア制御バスの性能の
向上(高速化)が進むに従って、上述の欠点は顕著なも
のになり、CPUの処理効率の低下は著しいものになっ
ている。
In recent years, as the performance of the high-speed hardware control bus has been improved (higher speed), the above-mentioned drawbacks have become more prominent, and the processing efficiency of the CPU has significantly decreased.

【0007】本発明の目的は、上述の点に鑑み、CPU
とバス制御回路との間にデータ格納領域およびポインタ
格納領域を有するメモリを接続すること等により、CP
Uカードとハードウェアカードとの間のデータ転送に関
するCPUの負荷を軽減し、CPUカードとハードウェ
アカードとの間の高速なデータ転送を確保しつつCPU
の処理効率を向上させることができるCPU−バス制御
回路間インタフェース方式を提供することにある。
In view of the above points, an object of the present invention is to provide a CPU
By connecting a memory having a data storage area and a pointer storage area between the bus control circuit and the bus control circuit,
CPU while reducing the load on the CPU related to data transfer between the U card and the hardware card and ensuring high-speed data transfer between the CPU card and the hardware card
An object of the present invention is to provide a CPU-bus control circuit interface method capable of improving the processing efficiency of the above.

【0008】[0008]

【課題を解決するための手段】本発明のCPU−バス制
御回路間インタフェース方式は、CPUを備えるCPU
カードとこのCPUカードによって制御される複数のハ
ードウェアカードと前記CPUカードと前記ハードウェ
アカードとを接続する高速ハードウェア制御バスとこの
高速ハードウェア制御バスに関する制御を行う前記CP
Uカード内のバス制御回路と前記CPUと前記バス制御
回路との間に接続される前記CPUカード内のメモリと
を含んで構成される制御装置におけるCPU−バス制御
回路間インタフェース方式において、前記CPUカード
と複数の前記ハードウェアカードとの間におけるデータ
転送の対象となる複数のカードデータを格納する前記メ
モリ内のデータ格納領域と、このデータ格納領域内の各
カードデータの格納場所を示す情報と前記データ格納領
域内の複数のカードデータをリンクするための情報とを
有する各ポインタを格納する前記メモリ内のポインタ領
域と、前記CPUからのデータ転送指示に基づいて前記
ポインタ領域を参照することによって前記CPUカード
と前記ハードウェアカードとの間の前記データ格納領域
内の全てのカードデータに関するデータ転送を制御し当
該データ転送の終了時に前記CPUに対して転送終了割
込みを発行する前記バス制御回路とを有する。
A CPU-bus control circuit interface system according to the present invention is a CPU having a CPU.
Card, a plurality of hardware cards controlled by the CPU card, a high-speed hardware control bus for connecting the CPU card and the hardware card, and the CP for performing control related to the high-speed hardware control bus
In a CPU-bus control circuit interface system in a control device including a bus control circuit in a U card and a memory in the CPU card connected between the CPU and the bus control circuit, the CPU A data storage area in the memory for storing a plurality of card data to be data-transferred between the card and the plurality of hardware cards, and information indicating a storage location of each card data in the data storage area By referring to the pointer area in the memory for storing each pointer having information for linking a plurality of card data in the data storage area and the pointer area based on a data transfer instruction from the CPU All cards in the data storage area between the CPU card and the hardware card Controls data transfer for over data having said bus controller that issues a transfer end interrupt to the CPU at the end of the data transfer.

【0009】[0009]

【作用】本発明のCPU−バス制御回路間インタフェー
ス方式では、メモリ内のデータ格納領域がCPUカード
と複数のハードウェアカードとの間におけるデータ転送
の対象となる複数のカードデータを格納し、メモリ内の
ポインタ領域がデータ格納領域内の各カードデータの格
納場所を示す情報とデータ格納領域内の複数のカードデ
ータをリンクするための情報とを有する各ポインタを格
納し、バス制御回路がCPUからのデータ転送指示に基
づいてポインタ領域を参照することによってCPUカー
ドとハードウェアカードとの間のデータ格納領域内の全
てのカードデータに関するデータ転送を制御し当該デー
タ転送の終了時にCPUに対して転送終了割込みを発行
する。
In the CPU-bus control circuit interface system of the present invention, the data storage area in the memory stores a plurality of card data to be data transferred between the CPU card and the plurality of hardware cards, A pointer area stores therein each pointer having information indicating a storage location of each card data in the data storage area and information for linking a plurality of card data in the data storage area, and a bus control circuit from the CPU By referring to the pointer area based on the data transfer instruction, the data transfer for all card data in the data storage area between the CPU card and the hardware card is controlled and transferred to the CPU at the end of the data transfer. Issues an end interrupt.

【0010】[0010]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0011】図1は、本発明のCPU−バス制御回路間
インタフェース方式の一実施例の構成を示すブロック図
である。本実施例のCPU−バス制御回路間インタフェ
ース方式は、CPU1と、データ格納領域21およびポ
インタ領域22を有するメモリ2と、バス制御回路3
と、複数のハードウェアカード4と、CPUバス5と、
高速ハードウェア制御バス6とを含んで構成されてい
る。ここで、CPU1,メモリ2,バス制御回路3およ
びCPUバス5は、CPUカード10に備えられてい
る。また、CPU1およびバス制御回路3によるメモリ
2へのアクセスはCPUバス5を介して行われる(以下
の説明においてはCPUバス5への言及を省略する)。
FIG. 1 is a block diagram showing the configuration of an embodiment of a CPU-bus control circuit interface system according to the present invention. The CPU-bus control circuit interface method according to the present embodiment includes a CPU 1, a memory 2 having a data storage area 21 and a pointer area 22, and a bus control circuit 3.
, A plurality of hardware cards 4, a CPU bus 5,
A high-speed hardware control bus 6 is included. Here, the CPU 1, the memory 2, the bus control circuit 3, and the CPU bus 5 are provided in the CPU card 10. Access to the memory 2 by the CPU 1 and the bus control circuit 3 is performed via the CPU bus 5 (the reference to the CPU bus 5 is omitted in the following description).

【0012】図2は、CPU1とバス制御回路3との間
に接続されているメモリ2の構造(データ構造)を示す
ブロック図である。メモリ2内には、CPUカード10
と複数のハードウェアカード4との間で転送され複数の
データ(ハードウェアカード4における処理対象のデー
タおよびハードウェアカード4を制御するためのデータ
等。以下、カードデータという)を格納するデータ格納
領域21(複数のデータ格納領域21がメモリ2内に存
在しうる)と、データ格納領域21内の各カードデータ
に対応する各ポインタを格納するポインタ領域22とが
存在する。図2に示すように、メモリ2はCPU1およ
びバス制御回路3によってアクセスされ、メモリ2内の
ポインタ領域22はバス制御回路3によって参照され
る。
FIG. 2 is a block diagram showing the structure (data structure) of the memory 2 connected between the CPU 1 and the bus control circuit 3. In the memory 2, the CPU card 10
Storage for storing a plurality of data (data to be processed in the hardware card 4 and data for controlling the hardware card 4, etc .; hereinafter referred to as card data) transferred between the hardware card 4 and the plurality of hardware cards 4. There are an area 21 (a plurality of data storage areas 21 can exist in the memory 2) and a pointer area 22 for storing each pointer corresponding to each card data in the data storage area 21. As shown in FIG. 2, the memory 2 is accessed by the CPU 1 and the bus control circuit 3, and the pointer area 22 in the memory 2 is referenced by the bus control circuit 3.

【0013】ポインタ領域22内のポインタは、対応す
るカードデータの格納場所を示す情報(ここでは、各カ
ードデータの先頭アドレス)と、データ格納領域21内
の複数のカードデータをリンクするための情報(対応す
るカードデータの次のカードデータに対応するポインタ
の格納場所を示す情報(ここでは、そのポインタの先頭
アドレス)とを有している。なお、複数のカードデータ
のリンクの終了を示すために「NULL(0)」を格納
するポインタ(NULLポインタ)が設けられ、当該リ
ンクにおける最後のカードデータに対応するポインタは
そのNULLポインタの先頭アドレスを格納している。
The pointer in the pointer area 22 is information for linking the information indicating the storage location of the corresponding card data (here, the head address of each card data) and a plurality of card data in the data storage area 21. (Has information (here, the start address of the pointer) indicating the storage location of the pointer corresponding to the card data next to the corresponding card data. In order to indicate the end of the link of a plurality of card data. Is provided with a pointer (NULL pointer) for storing "NULL (0)", and the pointer corresponding to the last card data in the link stores the leading address of the NULL pointer.

【0014】図3(a)は、従来のCPU−バス制御回
路間インタフェース方式によるデータ転送の制御シーケ
ンスの一例を示す図である。また、図3(b)は、本実
施例のCPU−バス制御回路間インタフェース方式によ
るデータ転送の制御シーケンスの一例(図3(a)に示
す制御シーケンスと対応する制御シーケンス)を示す図
である。
FIG. 3A is a diagram showing an example of a control sequence of data transfer by the conventional CPU-bus control circuit interface method. 3B is a diagram showing an example of a control sequence of data transfer by the CPU-bus control circuit interface method of the present embodiment (a control sequence corresponding to the control sequence shown in FIG. 3A). .

【0015】次に、このように構成された本実施例のC
PU−バス制御回路間インタフェース方式の動作につい
て説明する。
Next, C of this embodiment having the above-mentioned configuration
The operation of the PU-bus control circuit interface method will be described.

【0016】CPUカード10内のCPU1は、CPU
カード10と複数のハードウェアカード4との間のデー
タ転送の必要が生じると、送信対象のカードデータ(C
PUカード10からハードウェアカード4に送信される
カードデータ(データ送信要求を含む))を格納するた
めのデータ格納領域21および受信対象のカードデータ
(ハードウェアカード4からCPUカード10に送信さ
れるカードデータ(データ受信応答を含む))を格納す
るためのデータ格納領域21をメモリ2に確保する。な
お、1つのデータ格納領域21内のカードデータの数は
任意の設定が可能であり、各カードデータのデータ長は
可変長であってよい。
The CPU 1 in the CPU card 10 is a CPU
When it becomes necessary to transfer data between the card 10 and the plurality of hardware cards 4, the card data (C
A data storage area 21 for storing card data (including a data transmission request) transmitted from the PU card 10 to the hardware card 4 and card data to be received (transmitted from the hardware card 4 to the CPU card 10). A data storage area 21 for storing card data (including a data reception response) is secured in the memory 2. The number of card data in one data storage area 21 can be set arbitrarily, and the data length of each card data may be variable.

【0017】次に、CPU1は、上述のようにして確保
したデータ格納領域21に格納される複数のカードデー
タに関するデータ転送を連続して行うために、当該デー
タ格納領域21内の各カードデータに対応するポインタ
が格納されるポインタ領域22(当該データ格納領域2
1に対応するポインタ領域22)をメモリ2に確保す
る。このポインタ領域22内の各ポインタには、対応す
るカードデータの先頭アドレスと次のポインタ(複数の
カードデータのリンクにおける次のポインタ)の先頭ア
ドレスとが格納される。なお、ポインタ領域22には、
対応するデータ格納領域21内の複数のカードデータの
リンクの終了を示すために、NULLポインタが設けら
れる。
Next, the CPU 1 transfers data regarding a plurality of card data stored in the data storage area 21 secured as described above to each card data in the data storage area 21 in order to continuously perform data transfer. A pointer area 22 (corresponding data storage area 2 in which the corresponding pointer is stored
The pointer area 22) corresponding to 1 is secured in the memory 2. Each pointer in this pointer area 22 stores the start address of the corresponding card data and the start address of the next pointer (the next pointer in the link of a plurality of card data). In the pointer area 22,
A NULL pointer is provided to indicate the end of linking of a plurality of card data in the corresponding data storage area 21.

【0018】以上のようなメモリ2内の設定が終了する
と、CPU1はバス制御回路3にデータ転送指示を発行
する。このデータ転送指示には、送信対象のカードデー
タおよび受信対象のカードデータに係るデータ格納領域
21に対応するポインタ領域22の先頭アドレスが含ま
れる。また、このデータ転送指示の発行とともに、CP
U1は送信対象のカードデータに係るデータ格納領域2
1に送信対象の複数のカードデータ(データ送信要求を
含む)を設定する。
When the setting in the memory 2 as described above is completed, the CPU 1 issues a data transfer instruction to the bus control circuit 3. This data transfer instruction includes the start address of the pointer area 22 corresponding to the data storage area 21 related to the card data to be transmitted and the card data to be received. In addition to issuing the data transfer instruction, the CP
U1 is a data storage area 2 related to card data to be transmitted
A plurality of pieces of card data to be transmitted (including a data transmission request) are set in 1.

【0019】バス制御回路3は、そのデータ転送指示に
基づき、送信対象のカードデータに係るデータ格納領域
21に対応するポインタ領域22内の先頭のポインタか
らNULLポインタまでの各ポインタをたどり、送信対
象の各カードデータの先頭アドレスを順に獲得していく
(1つのカードデータの送信を終えると、次のカードデ
ータに対応するポインタ内の情報(対応するカードデー
タの先頭アドレス)を獲得する)。そして、そのような
先頭アドレスによって特定されるカードデータをデータ
格納領域21から獲得し、そのカードデータを高速ハー
ドウェア制御バス6を介して所定のハードウェアカード
4(送信先のハードウェアカード4を示す情報はカード
データ中に存在する)に送信する。
Based on the data transfer instruction, the bus control circuit 3 traces each pointer from the first pointer to the NULL pointer in the pointer area 22 corresponding to the data storage area 21 relating to the card data to be transmitted, The head address of each card data is sequentially acquired (when the transmission of one card data is completed, the information in the pointer corresponding to the next card data (the head address of the corresponding card data) is acquired). Then, the card data specified by such a start address is acquired from the data storage area 21, and the card data is transferred to the predetermined hardware card 4 (the destination hardware card 4 is transmitted via the high-speed hardware control bus 6). The information shown is present in the card data).

【0020】バス制御回路3は、以上の処理を送信対象
のカードデータが存在しなくなるまで繰り返す。ここ
で、送信対象のカードデータの全ての送信の終了は、ポ
インタ領域22内のNULLポインタの存在によって判
断する。
The bus control circuit 3 repeats the above processing until there is no card data to be transmitted. Here, the end of all the transmission of the card data to be transmitted is judged by the presence of the NULL pointer in the pointer area 22.

【0021】バス制御回路3から送信されてきたカード
データを受信した各ハードウェアカード4は、そのカー
ドデータに基づく処理を行い、その処理に基づくカード
データ(データ受信応答を含む)を高速ハードウェア制
御バス6を介してCPUカード10に送信する。
Each hardware card 4 that has received the card data transmitted from the bus control circuit 3 performs a process based on the card data and sends the card data (including a data reception response) based on the process to the high-speed hardware. It is transmitted to the CPU card 10 via the control bus 6.

【0022】CPUカード10内のバス制御回路3は、
各ハードウェアカード4から受信したカードデータを受
信対象のカードデータに係るデータ格納領域21に格納
する。ここで、バス制御回路3は、当該データ格納領域
21内の各カードデータの格納場所を、上述のデータ転
送指示によって獲得した受信対象のカードデータに係る
データ格納領域21に対応するポインタ領域22の先頭
アドレスおよび当該ポインタ領域22内の各ポインタ中
の情報によって認識する。
The bus control circuit 3 in the CPU card 10 is
The card data received from each hardware card 4 is stored in the data storage area 21 related to the card data to be received. Here, the bus control circuit 3 stores the storage location of each card data in the data storage area 21 in the pointer area 22 corresponding to the data storage area 21 related to the card data to be received which is acquired by the above-mentioned data transfer instruction. It is recognized by the head address and the information in each pointer in the pointer area 22.

【0023】バス制御回路3は、受信対象のカードデー
タの全ての受信が終了した時点(上述のデータ転送指示
に係る全てのデータ転送が終了した時点)で、CPU1
に転送終了割り込みを発行し、CPU1にデータ転送の
終了を知らせる。
When the bus control circuit 3 finishes receiving all the card data to be received (when all the data transfer relating to the above-mentioned data transfer instruction is finished), the CPU 1
To the CPU 1 to notify the CPU 1 of the end of the data transfer.

【0024】CPU1は、その転送終了割り込みを受け
取ると、メモリ2内の受信対象のカードデータに係るデ
ータ格納領域21内の各カードデータを取得し、各カー
ドデータに関する受信処理を行う。
When the CPU 1 receives the transfer end interrupt, the CPU 1 acquires each card data in the data storage area 21 related to the card data to be received in the memory 2 and performs the receiving process for each card data.

【0025】なお、CPU1は、上述のデータ転送指示
を発行してから上述の転送終了割込みを受け取るまで、
送信処理および受信処理以外の処理(他処理)を行うこ
とができる。すなわち、CPU1の処理効率が向上す
る。
It should be noted that the CPU 1 operates from the issuance of the above data transfer instruction until the receipt of the above transfer end interrupt.
Processing (other processing) other than transmission processing and reception processing can be performed. That is, the processing efficiency of the CPU 1 is improved.

【0026】次に、図3(a)および(b)を参照し
て、従来のCPU−バス制御回路間インタフェース方式
と本実施例のCPU−バス制御回路間インタフェース方
式とにおけるデータ転送の制御シーケンスの差異を説明
する。
Next, referring to FIGS. 3A and 3B, a data transfer control sequence in the conventional CPU-bus control circuit interface method and the CPU-bus control circuit interface method of the present embodiment. The difference will be explained.

【0027】従来のCPU−バス制御回路間インタフェ
ース方式では、1つのハードウェアカード4に関するデ
ータ転送が終了する毎に、バス制御回路3からCPU1
に転送終了割込みが発行されていた(図3(a)参
照)。したがって、CPU1は、1つのハードウェアカ
ード4に関するデータ転送毎にそのデータ転送に関する
送信処理を行う必要があり、1つのハードウェアカード
4に関するデータ転送毎にそのデータ転送に関する受信
処理を行う必要があった。したがって、送信処理と受信
処理との間における他処理(送信処理および受信処理以
外の処理)を行うための時間は限られたものになってい
た。
In the conventional CPU-bus control circuit interface system, the bus control circuit 3 sends the CPU 1 to the CPU 1 each time data transfer for one hardware card 4 is completed.
A transfer end interrupt was issued to the device (see FIG. 3 (a)). Therefore, the CPU 1 needs to perform a transmission process related to the data transfer for each data transfer related to one hardware card 4, and needs to perform a reception process related to the data transfer for each data transfer related to the one hardware card 4. It was Therefore, the time for performing other processing (processing other than the transmission processing and the reception processing) between the transmission processing and the reception processing has been limited.

【0028】これに対して本実施例、ひいては本発明の
CPU−バス制御回路間インタフェース方式では、連続
する複数のカードデータ(複数のハードウェアカード4
に関する複数のカードデータ)のデータ転送が1つのデ
ータ転送指示および転送終了割込みによって行われる
(図3(b)参照)。したがって、バス制御回路3の制
御によって行われる当該データ転送(連続する複数のカ
ードデータに関するデータ転送)が終了するまで、CP
U1は他処理を行うことが可能となる。これによって、
CPU1の処理効率が向上するという効果が生ずる。こ
のような本実施例(本発明)の効果は、連続したデータ
転送の対象となるハードウェアカード4の数が多くなる
ほど、また高速ハードウェア制御バス6の性能が高くな
るほど、顕著になる。
On the other hand, in the present embodiment, and further in the CPU-bus control circuit interface method of the present invention, a plurality of continuous card data (a plurality of hardware cards 4
Data transfer of a plurality of card data) is performed by one data transfer instruction and a transfer end interrupt (see FIG. 3B). Therefore, until the data transfer (data transfer regarding a plurality of consecutive card data) performed under the control of the bus control circuit 3 is completed, the CP
U1 can perform other processing. by this,
There is an effect that the processing efficiency of the CPU 1 is improved. The effect of this embodiment (the present invention) becomes more remarkable as the number of hardware cards 4 subject to continuous data transfer increases and the performance of the high-speed hardware control bus 6 increases.

【0029】[0029]

【発明の効果】以上説明したように本発明は、CPUと
バス制御回路との間に接続されるメモリ内に複数のカー
ドデータが格納されるデータ格納領域とそのデータ格納
領域内の複数のカードデータをリンクするためのポイン
タが格納されるポインタ領域とを設け、バス制御回路が
そのポインタ領域を参照して複数のカードデータのデー
タ転送に関する制御を行うことにより、複数のハードウ
ェアカードに関する複数のカードデータのデータ転送を
行うに際してのCPUの介在を削減することができ、C
PUカードとハードウェアカードとの間のデータ転送に
関するCPUの負荷を軽減することができ、本来的にC
PUが行うべき処理(上述の「他処理」)を長時間にわ
たってCPUに行わせることが可能になり、CPUカー
ドとハードウェアカードとの間の高速なデータ転送を確
保しつつCPUの処理効率を向上させることができると
いう効果がある。
As described above, according to the present invention, a data storage area for storing a plurality of card data in a memory connected between a CPU and a bus control circuit and a plurality of cards in the data storage area. A pointer area for storing pointers for linking data is provided, and the bus control circuit refers to the pointer area to perform control related to data transfer of a plurality of card data. It is possible to reduce the intervention of the CPU when transferring the data of the card data.
It is possible to reduce the load on the CPU related to the data transfer between the PU card and the hardware card, and the C
It becomes possible for the CPU to perform the processing (the above-mentioned “other processing”) that should be performed by the PU for a long time, and ensure the high-speed data transfer between the CPU card and the hardware card while improving the processing efficiency of the CPU. There is an effect that it can be improved.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】図1中のメモリの構造等を示すブロック図であ
る。
FIG. 2 is a block diagram showing a structure and the like of a memory in FIG.

【図3】(a)は従来のCPU−バス制御回路間インタ
フェース方式によるデータ転送の制御シーケンスの一例
を示す図であり、(b)は図1に示すCPU−バス制御
回路間インタフェース方式によるデータ転送の制御シー
ケンスの一例を示す図である。
3A is a diagram showing an example of a control sequence of data transfer according to a conventional CPU-bus control circuit interface system, and FIG. 3B is a diagram showing data according to the CPU-bus control circuit interface system shown in FIG. It is a figure which shows an example of the control sequence of transfer.

【符号の説明】[Explanation of symbols]

1 CPU 2 メモリ 3 バス制御回路 4 ハードウェアカード 5 CPUバス 6 高速ハードウェア制御バス 10 CPUカード 21 データ格納領域 22 ポインタ領域 1 CPU 2 Memory 3 Bus Control Circuit 4 Hardware Card 5 CPU Bus 6 High Speed Hardware Control Bus 10 CPU Card 21 Data Storage Area 22 Pointer Area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 CPUを備えるCPUカードと、このC
PUカードによって制御される複数のハードウェアカー
ドと、前記CPUカードと前記ハードウェアカードとを
接続する高速ハードウェア制御バスと、この高速ハード
ウェア制御バスに関する制御を行う前記CPUカード内
のバス制御回路と、前記CPUと前記バス制御回路との
間に接続される前記CPUカード内のメモリとを含んで
構成される制御装置におけるCPU−バス制御回路間イ
ンタフェース方式において、 前記CPUカードと複数の前記ハードウェアカードとの
間におけるデータ転送の対象となる複数のカードデータ
を格納する前記メモリ内のデータ格納領域と、 このデータ格納領域内の各カードデータの格納場所を示
す情報と前記データ格納領域内の複数のカードデータを
リンクするための情報とを有する各ポインタを格納する
前記メモリ内のポインタ領域と、 前記CPUからのデータ転送指示に基づいて前記ポイン
タ領域を参照することによって前記CPUカードと前記
ハードウェアカードとの間の前記データ格納領域内の全
てのカードデータに関するデータ転送を制御し、当該デ
ータ転送の終了時に前記CPUに対して転送終了割込み
を発行する前記バス制御回路とを有することを特徴とす
るCPU−バス制御回路間インタフェース方式。
1. A CPU card having a CPU and the CPU card
A plurality of hardware cards controlled by a PU card, a high-speed hardware control bus connecting the CPU card and the hardware card, and a bus control circuit in the CPU card for controlling the high-speed hardware control bus And a CPU-bus control circuit interface method in a control device including a memory in the CPU card connected between the CPU and the bus control circuit, wherein the CPU card and a plurality of the hardware are provided. A data storage area in the memory for storing a plurality of card data to be transferred to and from a wear card, information indicating a storage location of each card data in the data storage area, and a data storage area in the data storage area. Stores each pointer with information for linking multiple card data A pointer area in the memory, and all card data in the data storage area between the CPU card and the hardware card by referring to the pointer area based on a data transfer instruction from the CPU. A CPU-bus control circuit interface method comprising: a bus control circuit which controls data transfer and issues a transfer end interrupt to the CPU at the end of the data transfer.
JP25364392A 1992-08-31 1992-08-31 Interface system between cpu and bus control circuit Pending JPH0683764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25364392A JPH0683764A (en) 1992-08-31 1992-08-31 Interface system between cpu and bus control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25364392A JPH0683764A (en) 1992-08-31 1992-08-31 Interface system between cpu and bus control circuit

Publications (1)

Publication Number Publication Date
JPH0683764A true JPH0683764A (en) 1994-03-25

Family

ID=17254186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25364392A Pending JPH0683764A (en) 1992-08-31 1992-08-31 Interface system between cpu and bus control circuit

Country Status (1)

Country Link
JP (1) JPH0683764A (en)

Similar Documents

Publication Publication Date Title
JP2829091B2 (en) Data processing system
US6678755B1 (en) Method and apparatus for appending memory commands during a direct memory access operation
JPH02299337A (en) Bus constitution suitable for data communication
JPH0683764A (en) Interface system between cpu and bus control circuit
JPH0696007A (en) Dma transfer system
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
US6910119B1 (en) Instruction pipe and stall therefor to accommodate shared access to return stack buffer
JPH0553902A (en) Memory control circuit
JPH07334281A (en) Scsi connector
JP2907275B2 (en) Command transfer method
JPH01309445A (en) Data transfer system
JPH09218859A (en) Multiprocessor control system
JP2594673B2 (en) Data processing method
JP2638505B2 (en) Bus interface device
US7853737B2 (en) Data transfer and alignment device and method for transferring data acquired from memory
JP3277016B2 (en) Data transceiver
JPH05120215A (en) Input/output controller
JPH0452848A (en) Host adaptor
JPS61239339A (en) System for controlling transfer of page data
JP2000298641A (en) Information processor, its data transferring method and storage medium with data transfer control program stored therein
JPH05233525A (en) Input/otuput processor
JPH08161253A (en) Dma control method and dma controller
JP2000035939A (en) Intelligent type pc add-in board
JPS63149755A (en) Input/output controller
JPH05204829A (en) Data transfer device