JPH06149725A - Processor applied device - Google Patents

Processor applied device

Info

Publication number
JPH06149725A
JPH06149725A JP4297167A JP29716792A JPH06149725A JP H06149725 A JPH06149725 A JP H06149725A JP 4297167 A JP4297167 A JP 4297167A JP 29716792 A JP29716792 A JP 29716792A JP H06149725 A JPH06149725 A JP H06149725A
Authority
JP
Japan
Prior art keywords
data
cpu
bus
dma
memory
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
JP4297167A
Other languages
Japanese (ja)
Inventor
Hiroaki Nagashima
宏彰 長島
Toshio Murai
俊雄 村井
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4297167A priority Critical patent/JPH06149725A/en
Publication of JPH06149725A publication Critical patent/JPH06149725A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a system which performs another process by a CPU during DMA(direct memory access) transfer as to a system which enables the DMA transfer by using a CPU for the center of control. CONSTITUTION:The address space of a memory is divided into at least two and the device is provided with switching means 407 and 408 which performs separation/coupling control over a DMA transfer processing system 402 and processing systems 401 and 403 by CPUs; and the processing systems by the CPUs are provided with one of the divided address spaces of the memory and the DMA transfer processing system is provided with the other. They are usable as communication buffer memories, the DMA transfer processing system and processing system by the CPUs are separated by the switching means at the time of the DMA transfer, and the processing system by the CPUs can be put in operation during the DMA transfer processing.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は外部とメモリ間でのデー
タ転送を直接行うDMAコントローラと、CPUに対し
て割り込みを発生するような周辺回路等を有するプロセ
ッサ応用装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processor application apparatus having a DMA controller for directly transferring data between the outside and a memory and a peripheral circuit for generating an interrupt to a CPU.

【0002】[0002]

【従来の技術】コンピュータ・システムにおいて、外部
とシステム内部のメモリとの間でのデータ転送を高速で
行うための技術としてはダイレクト・メモリ・アクセス
(以下、DMAと呼ぶ)が一般的である。この技術はC
PUを介在させることなく、直接、メモリをリード・ラ
イト制御して外部とメモリとの間で、データを授受する
ことができるために、データの転送速度はメモリの動作
速度に近い速度が実現でき、連続するデータを送受する
に大変有利である。
2. Description of the Related Art In a computer system, direct memory access (hereinafter referred to as DMA) is generally used as a technique for performing high-speed data transfer between an external memory and a system internal memory. This technology is C
The data can be transferred between the outside and the memory by directly controlling the read / write of the memory without interposing the PU, so that the data transfer speed can be realized close to the operation speed of the memory. It is very advantageous for sending and receiving continuous data.

【0003】このDMAはアクセスすべきメモリのアド
レスとリード・ライトの制御をCPUと無関係に行うD
MAコントローラと、CPUに対して割り込みを発生す
る周辺回路等を有するコンピュータシステムにおいて、
DMAコントローラに読出し開始アドレスまたは書き込
み開始アドレスと、アクセスすべきバイト数をセット
し、CPUをシステムバスから切り離してから、DMA
コントローラを起動させると、読出しモードのときは上
記開始アドレスからメモリをアドレス順に、上記バイト
数分、読出し操作し、システムバスにおけるデータバス
上に送出し、また、書き込みモードのときは上記開始ア
ドレスからメモリをアドレス順に、上記バイト数分、ア
クセスさせながらシステムバスにおけるデータバス上の
データを取り込んで書き込むと云うものである。
This DMA controls the address of the memory to be accessed and the read / write control independently of the CPU.
In a computer system having a MA controller and a peripheral circuit for generating an interrupt to a CPU,
After setting the read start address or write start address and the number of bytes to be accessed in the DMA controller and disconnecting the CPU from the system bus,
When the controller is started, in the read mode, the memory is read from the above start address in the order of the number of bytes and is read out and sent to the data bus in the system bus.In the write mode, the read operation starts from the above start address. It is said that the data on the data bus in the system bus is fetched and written while the memory is accessed by the number of bytes in the order of addresses.

【0004】DMAを使用した従来における通信システ
ムの一例を図5に示す。図5において、41はCPU
(プロセッサ)であり、42はDMA(ダイレクト・メ
モリ・アクセス)コントローラ、43および44はそれ
ぞれインタフェース用LSI、45はメモリ、46はこ
れらが接続されるデータバスである。また、51および
52は伝送速度がそれぞれ異なるシリアルの通信路であ
り、図4の通信システムは、異なる2つの通信路51,
52とリアルタイムでデータ授受をを行うシステムを示
している。
An example of a conventional communication system using DMA is shown in FIG. In FIG. 5, 41 is a CPU
42 is a DMA (direct memory access) controller, 43 and 44 are interface LSIs respectively, 45 is a memory, and 46 is a data bus to which these are connected. Further, 51 and 52 are serial communication paths having different transmission rates, and the communication system of FIG.
52 shows a system for exchanging data with 52 in real time.

【0005】CPUは例えば、マイクロプロセッサを使
用しており、プログラムを実行して演算や各種制御を実
施するものであり、プログラム実行やデータの入出力動
作に必要になメモリのアドレス制御等も行う。
The CPU uses, for example, a microprocessor to execute a program to perform arithmetic operations and various controls, and also performs address control of the memory necessary for program execution and data input / output operations. .

【0006】通信路51はインタフェース用LSI 4
3に接続され、通信路52はインタフェース用LSI
44に接続されている。インタフェース用LSI 43
および44はそれぞれ内部と外部との間のデータ通信用
のLSIであり、受信モードではシリアルデータを受信
してパラレルデータに変換して出力し、送信モードでは
送信すべきパラレルデータをシリアルデータに変換して
出力する機能を有するものであって、受信モードではそ
れぞれシリアルの通信路である通信路51および52の
うち、対応する通信路からの受信データを取り込み、パ
ラレルバスであるデータバス46上に出力し、送信モー
ドではデータバス46上のパラレルデータを取り込ん
で、対応する通信路に出力するものである。
The communication path 51 is an interface LSI 4
3, the communication path 52 is an interface LSI
Connected to 44. Interface LSI 43
Reference numerals 44 and 44 denote LSIs for data communication between the inside and the outside respectively. In the reception mode, serial data is received, converted into parallel data and output, and in the transmission mode, parallel data to be transmitted is converted into serial data. In the reception mode, the reception data from the corresponding communication path of the communication paths 51 and 52, which are serial communication paths, is taken in and is placed on the data bus 46, which is a parallel bus. In the transmission mode, the parallel data on the data bus 46 is fetched and output to the corresponding communication path in the transmission mode.

【0007】また、通信路51はCPU 41によるデ
ータ操作処理によっても十分間に合う程度の低速の伝送
路であるとし、通信路52はCPU 41を介在させた
データ操作処理では間に合わないような高速な伝送路で
あるとすると、低速な通信路51に繋がるインタフェー
ス用LSI 43は通信路51からデータ受信するとC
PU 41に対して割り込み要求をかけ、CPU 41
にこの受信データの取り込みを実施させ、また、CPU
41の制御のもとにデータバス46上のデータを取り
込ませ、この取り込ませたデータを通信路51へ送信さ
せることができる。
Further, it is assumed that the communication path 51 is a low-speed transmission path that can be sufficiently made even by the data operation processing by the CPU 41, and the communication path 52 is a high-speed transmission that cannot be made by the data operation processing through the CPU 41. If the data is received from the communication path 51, the interface LSI 43 connected to the low-speed communication path 51 receives C from the communication path 51.
An interrupt request is issued to the PU 41, and the CPU 41
To receive this received data, and
Under the control of 41, the data on the data bus 46 can be fetched and the fetched data can be transmitted to the communication path 51.

【0008】また、高速な通信路52に繋がるインタフ
ェース用LSI 44はDMAコントローラ42の制御
のもとに通信路52とデータバス46との間でデータ授
受を行うものであり、メモリ45はCPU 41もしく
はDMAコントローラ42の制御のもとにリードライト
のアクセスがなされ、データバス46との間でデータ授
受を行うことができる。メモリ45はCPU 41の実
行する各種プログラムを記憶する他、データ領域、プロ
グラム実行に当たってのCPU 41の作業領域そし
て、データ伝送の際のバッファメモリ等にも使用され
る。
The interface LSI 44 connected to the high-speed communication path 52 transfers data between the communication path 52 and the data bus 46 under the control of the DMA controller 42, and the memory 45 is a CPU 41. Alternatively, read / write access is performed under the control of the DMA controller 42, and data can be exchanged with the data bus 46. The memory 45 stores various programs executed by the CPU 41, and is also used as a data area, a work area of the CPU 41 for executing a program, a buffer memory for data transmission, and the like.

【0009】DMAコントローラ42はメモリ45はC
PU 41の介在なしに直接、メモリ45のリードライ
ト制御を行うためのコントローラであり、DMA制御を
実施するときはCPU 41を停止状態にし、リードラ
イト制御およびアドレス制御を実施する。ここで、一方
の通信路51からデータを受信し、他方の通信路52に
送信する場合の処理を考えてみる。
The DMA controller 42 has a memory 45 of C
This is a controller for directly performing the read / write control of the memory 45 without the intervention of the PU 41. When performing the DMA control, the CPU 41 is stopped and the read / write control and the address control are performed. Now, let us consider a process when data is received from one communication path 51 and transmitted to the other communication path 52.

【0010】通信路51から受信するデータの到来は通
信路51を介してインタフェース用LSI 43と対向
する送信側の相手装置の状態に依存することになるが、
このときデータが連続的に到着する場合はその時間間
隔、すなわち、周期の最小値がTであるとする。
The arrival of data received from the communication path 51 depends on the state of the partner device on the transmission side facing the interface LSI 43 via the communication path 51.
At this time, when data arrives continuously, the time interval, that is, the minimum value of the period is T.

【0011】このような条件下でのデータ受信に対して
のCPU 41の処理方式としては、インタフェース用
LSI 43からの割り込み要求を受け付け、データ到
着に応じてその都度バッファメモリ(この例ではメモリ
45上設けてある)に転送する形態が一般的である。ま
た、CPU 41が実行すべき命令は通常、メモリ45
に格納されており、CPU 41が動作するためには、
そのメモリ45へのアクセスが必要である。
As a processing method of the CPU 41 for receiving data under such conditions, an interrupt request from the interface LSI 43 is accepted, and a buffer memory (memory 45 in this example) is received each time data arrives. (Provided above) is generally used. Also, the instructions to be executed by the CPU 41 are usually in the memory 45.
It is stored in, and in order for the CPU 41 to operate,
Access to the memory 45 is required.

【0012】一方、高速の通信路52に対するデータ転
送については、伝送レートが通信路51より相対的に高
速ならばDMAコントローラ42がメモリ45とインタ
フェース用LSI 44間でDMA転送するのが理想で
あるが、通信路51からの受信データはインタフェース
用LSI 43に取り込まれる毎にCPU 41に割り
込みをかけ、この取り込まれたデータをCPU 41に
よりメモリ45のバッファメモリ領域に一旦、格納さ
せ、このバッファメモリ領域の格納データをインタフェ
ース用LSI 44に送って通信路52へと送り出すか
たちになるので、通信路51からの受信データ取り込み
リアルタイムで行う場合にこの受信データ取り込みに伴
うインタフェース用LSI 43からの割り込み処理や
この割り込み処理に伴う入力データのバッファメモリに
対する格納等の処理と云ったCPU41での処理が必要
なことを考慮すれば、CPUの停止を強制するDMA転
送は実用上、困難になっていた。
On the other hand, regarding the data transfer to the high speed communication path 52, it is ideal that the DMA controller 42 performs the DMA transfer between the memory 45 and the interface LSI 44 if the transfer rate is relatively higher than that of the communication path 51. However, the received data from the communication path 51 interrupts the CPU 41 each time it is fetched by the interface LSI 43, and the fetched data is temporarily stored in the buffer memory area of the memory 45 by the CPU 41. Since the data stored in the area is sent to the interface LSI 44 and sent to the communication path 52, when receiving the reception data from the communication path 51 in real time, the interrupt processing from the interface LSI 43 accompanying the reception data acquisition And input associated with this interrupt processing Considering that processing is required in CPU41 that said that the process of storing such the buffer memory over data, DMA transfers to force the stop of the CPU practical, had become difficult.

【0013】[0013]

【発明が解決しようとする課題】CPUを制御の中枢と
して使用し、伝送速度の異なる2つの通信路間のデータ
授受を行なわせるシステムにおいては、データ授受をリ
アルタイムで行う必要のある場合、通信路が低速であれ
ばその通信路とはCPUの制御のもとにデータを授受す
るインタフェースを使用し、バッファメモリに一旦、蓄
え、これを読出して送信側の通信路に対し、データを授
受するインタフェースを介してこの読出したデータを送
り出すようにすれば良いが、伝送路が高速の場合ではC
PUの制御のもとに転送していたのでは間に合わない。
In a system in which a CPU is used as a control center and data is transferred between two communication paths having different transmission speeds, when the data transfer needs to be performed in real time, If the transmission speed is low, an interface for exchanging data with the communication path is used under the control of the CPU, an interface for temporarily storing the data in the buffer memory, reading it, and exchanging data with the communication path on the transmission side. This read data may be sent out via the C, but if the transmission line is high speed, C
It would not be in time if it was transferred under the control of the PU.

【0014】高速伝送が要求される場合、一般的にはD
MA転送を行うが、これはCPUを停止状態におき、D
MAコントローラにより、リードライト制御とアドレス
制御を行ってゆくものであるから、受信側が低速の場合
にはリアルタイムで受信を行う必要があるときは、CP
Uを停止状態にするわけにゆかない。
When high speed transmission is required, D is generally used.
The MA transfer is performed, but this puts the CPU in the stopped state and D
Since the MA controller carries out read / write control and address control, when it is necessary to perform real-time reception when the receiving side has a low speed, CP
It's hard to stop U.

【0015】すなわち、データ授受をリアルタイムで行
うためには、CPUの制御を必要とする入出力インタフ
ェースを使用している以上、このインタフェースのデー
タ授受に伴う割り込みに対する応答処理が必要となるこ
とから、CPUの停止を強要するDMA転送は事実上、
利用できず、従って、バッファメモリと高速側通信路の
入出力インタフェース間のデータ転送に関しては、DM
Aが使用できないと云う問題が生じ、方式設計に大幅な
制約を受ける云う問題があった。
That is, in order to perform data transfer in real time, since an input / output interface which requires control of the CPU is used, it is necessary to perform a response process to an interrupt accompanying the data transfer of this interface. The DMA transfer that forces the CPU to stop is effectively
It is not available, and therefore DM is used for data transfer between the buffer memory and the input / output interface of the high-speed side communication path
There is a problem that A cannot be used, and there is a problem that the system design is greatly restricted.

【0016】そこで、この発明の目的とするところは、
通信路との間の高速なDMA転送実行中に、同時に通信
路からのデータ受信などの他のプロセスを処理できるよ
うにしたシステムを実現可能にするプロセッサ応用装置
を提供することにある。
Therefore, the object of the present invention is to
It is an object of the present invention to provide a processor application device capable of realizing a system capable of simultaneously processing other processes such as data reception from a communication path during high-speed DMA transfer with the communication path.

【0017】[0017]

【課題を解決するための手段】上記目的を達成するた
め、本発明は次のように構成する。すなわち、バスを介
してメモリとプロセッサとダイレクト・メモリ・アクセ
ス手段とを接続したシステムであって、前記プロセッサ
によるメモリ・アクセス制御に代えてダイレクト・メモ
リ・アクセス手段によりメモリを直接、アクセスしてメ
モリと外部とのデータ転送を行うことができるようにし
たプロセッサ応用システムにおいて、ダイレクト・メモ
リ・アクセス手段によるダイレクト・メモリ・アクセス
転送処理系とプロセッサによる処理系とを分離/結合制
御すべく、前記バスを切り替え制御する切り替え手段を
設けると共に、プロセッサの持つアドレス空間を分割し
て一方をプロセッサの処理系、他方をダイレクト・メモ
リ・アクセス転送処理系に割り当てて前記メモリを配置
し、且つ、プロセッサにはダイレクト・メモリ・アクセ
ス転送時に前記切り替え手段に分離制御させる処理機能
を持たせて構成する。
In order to achieve the above object, the present invention is configured as follows. That is, in a system in which a memory, a processor, and direct memory access means are connected via a bus, the memory is directly accessed by the direct memory access means instead of the memory access control by the processor. In a processor application system capable of transferring data between a bus and the outside, in order to separate / couple control of a direct memory access transfer processing system by a direct memory access means and a processing system by a processor, Is provided with a switching means for switching control, and the address space of the processor is divided so that one is allocated to the processing system of the processor and the other is allocated to the direct memory access transfer processing system to arrange the memory, and Direct memory access The configure to have a separated controlled to processing functions to the switching means at the time of the scan transfer.

【0018】[0018]

【作用】上記の構成において、ダイレクト・メモリ・ア
クセス(DMA)転送処理系とプロセッサ(CPU)に
よる処理系とを分離/結合制御すべく、前記バスを切り
替え制御する切り替え手段が設けてあり、DMA転送処
理の際にはCPUは当該切り替え手段により前記処理系
を分離するように制御する。そのため、DMA転送処理
系とCPU処理系とはハードウェアとして分離された状
態になり、CPU処理系はDMA転送処理とは無関係に
なって独自に動作を続けることができる。
In the above structure, the direct memory access (DMA) transfer processing system and the processing system by the processor (CPU) are provided with switching means for switching control of the bus in order to separate / couple the processing system. At the time of transfer processing, the CPU controls the switching means to separate the processing systems. Therefore, the DMA transfer processing system and the CPU processing system are separated as hardware, and the CPU processing system can continue its own operation independently of the DMA transfer processing.

【0019】このように本発明によれば、メモリのアド
レス空間を少なくとも2分割し、また、DMA転送処理
系とCPUによる処理系とを分離/結合制御する切り替
え手段を設けると共に、前記分割されたメモリのアドレ
ス空間の一方を前記CPUによる処理系に、また、他方
を前記DMA転送処理系に分配して設け、それぞれ通信
用のバッファメモリとして利用可能にし、DMA転送時
には切り替え手段によりDMA転送処理系とCPUによ
る処理系とを分離して、CPUによる処理系をDMA転
送処理中に稼働可能にしたものであり、これにより、D
MA転送の処理中に、CPUによる処理を継続させるこ
とができるようになる。
As described above, according to the present invention, the address space of the memory is divided into at least two, and the switching means for separating / combining the DMA transfer processing system and the processing system by the CPU is provided and the division is performed. One of the memory address spaces is provided to the processing system by the CPU, and the other is provided to the DMA transfer processing system so that they can be used as buffer memories for communication, and the DMA transfer processing system by the switching means at the time of DMA transfer. And the processing system by the CPU are separated so that the processing system by the CPU can operate during the DMA transfer processing.
The processing by the CPU can be continued during the MA transfer processing.

【0020】[0020]

【実施例】以下、本発明の一実施例について、図面を参
照して説明する。ここでは交換機に適用した例を図1に
ブロック図で示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. Here, an example applied to an exchange is shown in a block diagram in FIG.

【0021】図1において、1は交換機本体(PB
X)、2a〜2nはそれぞれポートプロセッサ、4a,
4bはリモート(遠隔)・シェルフである。ポートプロ
セッサ2a〜2nは実端末(例えば、電話端末やファク
シミリ端末、局回線)とのインタフェースをとるための
ものであって、通常は交換機本体1に収容される。
In FIG. 1, reference numeral 1 is an exchange main body (PB).
X), 2a to 2n are port processors, 4a, and
4b is a remote shelf. The port processors 2a to 2n are for interfacing with real terminals (for example, telephone terminals, facsimile terminals, office lines), and are usually housed in the exchange main body 1.

【0022】また、リモート・シェルフ4a,4bは交
換機内部のCPUと、ポートプロセッサ2a〜2nとの
通常のインタフェースを、交換機本体1外に拡張するた
めのインタフェースである。
The remote shelves 4a and 4b are interfaces for expanding a normal interface between the CPU inside the exchange and the port processors 2a to 2n to the outside of the exchange main body 1.

【0023】本システムでは図に示すポートプロセッサ
2a〜2nは回線距離が、交換機本体1に収容される回
線の引き回し可能な距離の範囲外(許容範囲外)の距離
に設置されている。そのため、リモート・シェルフ4a
を交換機本体1に収容し、遠隔地にはリモート・シェル
フ4bを配設して、これらリモート・シェルフ4a,4
b間はディジタル専用回線5で繋ぐことにより、このデ
ィジタル専用回線5を介してリモート・シェルフ4a,
4bを対向設置すると共に、一方のリモート・シェルフ
4b(遠隔地側のリモート・シェルフ)を介してポート
プロセッサ2a〜2nを接続することにより、ポートプ
ロセッサ2a〜2n側の端末を交換機本体1に収容して
あるものとする。すなわち、遠隔地のポートプロセッサ
2a〜2nにはそれぞれ遠隔地側の実端末が接続されて
いるものとする。
In the present system, the port processors 2a to 2n shown in the figure are installed at a line distance outside the range (outside the allowable range) of the line around which the line accommodated in the exchange main body 1 can be routed. Therefore, the remote shelf 4a
Of the remote shelves 4a, 4
By connecting a digital leased line 5 between b, the remote shelves 4a,
4b is installed oppositely, and the port processors 2a to 2n are connected to the exchange main body 1 by connecting the port processors 2a to 2n via one remote shelf 4b (remote shelf on the remote site). It is assumed that That is, it is assumed that the real terminals on the remote side are respectively connected to the port processors 2a to 2n on the remote side.

【0024】このような構成の本システムは、交換機本
体1が構内交換機(PBX)である場合に、遠隔の事業
所を含めた広範囲の距離に内線等が分散されているよう
なケースが相当する。
The present system having such a configuration corresponds to a case where the extension mains are distributed over a wide range of distances including remote offices when the exchange main body 1 is a private branch exchange (PBX). .

【0025】図2にリモート・シェルフ4a,4bの内
部構成を示す。リモート・シェルフ4a,4bはCPU
401、XPC(X. 25プロトコルコントローラ)
402、インタフェース用LSI 403、メインメモ
リ404、DMA用バッファメモリ405、データバス
406、バス・アービタ407、バス・バッファ408
により構成されている。
FIG. 2 shows the internal structure of the remote shelves 4a and 4b. Remote shelves 4a and 4b are CPUs
401, XPC (X.25 protocol controller)
402, interface LSI 403, main memory 404, DMA buffer memory 405, data bus 406, bus arbiter 407, bus buffer 408
It is composed by.

【0026】これらのうち、CPU 401はリモート
・シェルフ内における制御の中枢を担うプロセッサであ
り、例えば、マイクロプロセッサを使用している。ま
た、CPU 401は通信規約「X. 25」のパケット
フォーマットに従うデータ・イメージをメインメモリ4
04上に展開し、アドレス、バイト数をXPC 402
に通知し、XPC 402に対してメインメモリ404
上に展開したデータをDMA転送処理させるように制御
する機能を有する。
Of these, the CPU 401 is a processor that plays a central role in control in the remote shelf, and uses, for example, a microprocessor. The CPU 401 also sends a data image according to the packet format of the communication protocol “X.25” to the main memory 4.
No. 04 on the XPC 402
The main memory 404 to the XPC 402.
It has a function of controlling the data developed above to be DMA-transferred.

【0027】また、XPC 402は通信規約「X. 2
5」のプロトコルをサポートする通信制御用LSIであ
り、DMA機能を内蔵しており、CPU 401から開
始アドレス、およびDMA転送するバイト数の情報を受
けて、この開始アドレスから指定バイト数分のデータを
読出して通信路502に送出し、あるいは開始アドレス
から指定バイト数分に達するまで逐次アドレスを更新し
つつ、通信路502からの受信データを書き込むと云っ
た制御を行うものである。
Further, the XPC 402 is a communication protocol "X.
It is a communication control LSI that supports the "5" protocol, has a built-in DMA function, receives a start address and the number of bytes to be DMA-transferred from the CPU 401, and receives data for a specified number of bytes from this start address. Is read out and sent to the communication path 502, or the address is sequentially updated from the start address until the designated number of bytes is reached, and the received data from the communication path 502 is written.

【0028】また、XPC 402はDMA機能を実行
開始するにあたり、CPU 401にその通知をすると
共に、DMA実行期間中はバス・アービタ407にそれ
を知らせるための信号を与えるようにしてあり、バス・
アービタ407はこの信号によってXPC 402の現
在の状態を把握することができるようになっている。
Further, the XPC 402 notifies the CPU 401 of the start of the execution of the DMA function and also gives a signal for notifying it to the bus arbiter 407 during the DMA execution period.
The arbiter 407 can grasp the current state of the XPC 402 by this signal.

【0029】CPU 401のデータバス406は中間
にバス・バッファ408が介在され、このバス・バッフ
ァ408を境に図の左右領域A,Bに区分けできるよう
にしてあり、このバス・バッファ408によりデータバ
ス406を左領域Aと右領域Bに分断したり、統合した
りすることができる。
The data bus 406 of the CPU 401 has a bus buffer 408 interposed in the middle so that it can be divided into the left and right areas A and B in the figure with the bus buffer 408 as a boundary. The bus 406 can be divided into left area A and right area B or can be integrated.

【0030】また、501および502はそれぞれ通信
路であり、通信路502はディジタル専用線であり、制
御情報はX. 25のプロトコルで伝送する。通信路50
1は低速通信路、例えば、ポートプロセッサ2a〜2n
(遠隔地側の場合)や交換機本体(PBX)1内部のシ
ステムバスに接続されるインタフェース(交換機側の場
合)に一端側が接続され、周期最小値T=125μsで
連続的に割り込みを発生し得る。尚、以下は低速通信路
を交換機本体(PBX)1側として説明する。
Further, 501 and 502 are communication paths, the communication path 502 is a digital leased line, and control information is transmitted by the X.25 protocol. Communication path 50
1 is a low-speed communication path, for example, port processors 2a to 2n
One end is connected to the interface (in the case of the exchange side) connected to the system bus inside the exchange main body (PBX) 1 (in the case of a remote place), and interrupts can be continuously generated at the minimum cycle value T = 125 μs. . In the following, the low-speed communication path will be described as the exchange main body (PBX) 1 side.

【0031】通信インタフェースLSI 403は交換
機本体1のインタフェースと、リモート・シェルフ40
3との間でのデータの授受を行うための回路であり、デ
ータバス406における領域A側に接続されている。そ
して、通信インタフェースLSI 403は交換機本体
1からデータを受信する毎にこれを取り込んでからCP
U 401に割り込み要求をかけ、また、CPU 40
1からの要求により、データバス46上のデータを取り
込んで通信路51に送り出すと云った動作をするもので
ある。
The communication interface LSI 403 includes an interface of the exchange main body 1 and the remote shelf 40.
3 is a circuit for exchanging data with the data bus 3, and is connected to the area A side of the data bus 406. Then, the communication interface LSI 403 captures data each time it receives data from the exchange main body 1, and then executes CP.
Interrupt request to U 401, CPU 40
In response to the request from No. 1, the data on the data bus 46 is taken in and sent to the communication path 51.

【0032】従って、CPU 401にはこの割り込み
要求を受けると現在の処理を中断して割り込み要求を受
け付け、この割り込み要求により通信インタフェースL
SI403にその取り込んだデータをデータバス406
に出力させ、これをメインメモリ404の所定の領域に
一時記憶させると云った処理機能を持たせてある。
Therefore, when the CPU 401 receives this interrupt request, it interrupts the current processing and accepts the interrupt request, and the communication interface L is received by this interrupt request.
The data taken in to SI403 is transferred to the data bus 406.
Is output to the main memory 404 and is temporarily stored in a predetermined area of the main memory 404.

【0033】メインメモリ404はCPU 401の各
種制御プログラムやデータを保持するものであり、デー
タバス406における領域A側に接続されている。DM
A用バッファメモリ405はDMA転送するデータの一
時保持用のメモリであり、データバス406における領
域B側に接続されている。
The main memory 404 holds various control programs and data of the CPU 401, and is connected to the area A side of the data bus 406. DM
The A buffer memory 405 is a memory for temporarily holding data to be DMA-transferred, and is connected to the area B side of the data bus 406.

【0034】バス・アービタ407は、データバス40
6を領域A,Bに分断したり、統合したりするための制
御を行う調停回路であり、CPU 401の制御の元に
動作してバス・バッファ408を制御することにより、
このような調停動作をするものである。バス・バッファ
408はバス・アービタ407からの制御信号により、
データを通す状態になったり、ハイインピーダンス状態
になったりする。
The bus arbiter 407 is the data bus 40.
6 is an arbitration circuit that performs control for dividing or integrating 6 into areas A and B, and operates under the control of the CPU 401 to control the bus buffer 408.
Such an arbitration operation is performed. The bus buffer 408 receives a control signal from the bus arbiter 407,
It may be in a state of passing data or in a high impedance state.

【0035】本システムでは、図3に示すように、CP
U 401の持つアドレス空間のうち、CPU 401
の制御プログラムやそのプログラム実行に必要なデータ
の格納領域としてプログラム格納領域E1を定め、ま
た、通信インタフェースLSI403との間での授受デ
ータを格納するための第1のバッファ領域E2を定め、
更にまた、DMA転送用のデータ格納に供するDMA転
送用の第2のバッファ領域E3を定めて、それぞれ異な
るアドレス領域に割り付けてあり、これらのうちプログ
ラム格納領域E1と第1のバッファ領域E2はメインメ
モリ404の割り付けアドレスに割り付けてあり、第2
のバッファ領域E3はDMA用バッファメモリ404の
割り付けアドレスに割り付けてある。
In this system, as shown in FIG.
Of the address space of the U 401, the CPU 401
, A program storage area E1 is defined as a storage area for the control program and data necessary for executing the program, and a first buffer area E2 for storing data exchanged with the communication interface LSI 403 is defined.
Furthermore, a second buffer area E3 for DMA transfer, which is used for storing data for DMA transfer, is defined and allocated to different address areas. Of these, the program storage area E1 and the first buffer area E2 are main areas. It is allocated to the allocation address of the memory 404, and the second
The buffer area E3 of is allocated to the allocation address of the DMA buffer memory 404.

【0036】そして、CPU 401により制御される
バス・アービタ407により、バス・バッファ408は
制御されてデータバス406を、XPC 402による
DMA転送時にはA,Bの2領域に分断し、DMA転送
が行われていないときはA,Bの2領域分断を解除する
ように制御される結果、DMA転送処理時でも、データ
バス406の領域AをDMA転送処理系である領域Bと
完全に隔離して、独立して動作可能な状態におくことが
できるようになっている。このような構成の本システム
の作用を説明する。
Then, the bus arbiter 407 controlled by the CPU 401 controls the bus buffer 408 to divide the data bus 406 into two areas A and B at the time of DMA transfer by the XPC 402, and DMA transfer is performed. As a result of being controlled so as to release the division of the two areas A and B when not opened, the area A of the data bus 406 is completely separated from the area B which is the DMA transfer processing system even during the DMA transfer processing. It can be operated independently. The operation of this system having such a configuration will be described.

【0037】PBX側より通信路501を介して送信デ
ータが最小周期125μsで到来するとする。この送信
データは通信インタフェース403に取り込まれ、通信
インタフェース403はこの取り込み毎に割り込み要求
をCPU 401に出力する。CPU 401は割り込
み要求を受けると処理を中断してこの要求を受け付け、
通信インタフェース403に取り込まれたデータをメイ
ンメモリ404の第1のバッファ領域E2に格納する。
It is assumed that transmission data arrives from the PBX side via the communication path 501 with a minimum period of 125 μs. This transmission data is fetched by the communication interface 403, and the communication interface 403 outputs an interrupt request to the CPU 401 every fetching. When the CPU 401 receives an interrupt request, it interrupts the process and accepts this request,
The data fetched by the communication interface 403 is stored in the first buffer area E2 of the main memory 404.

【0038】このようにして、PBX側より伝送されて
くる送信データは通信インタフェース403に取り込ま
れ、その都度の割り込み処理により、メインメモリ40
4の第1のバッファ領域E2に格納されてゆく。
In this way, the transmission data transmitted from the PBX side is fetched by the communication interface 403, and the main memory 40 is processed by the interrupt processing at each time.
It is stored in the first buffer area E2 of No. 4.

【0039】そして、このメインメモリ404の第1の
バッファ領域E2に格納されたデータは、通信路502
に伝送するにあたって、DMA用バッファメモリ405
に転送される。この転送はCPU 401により、転送
処理のルーチン実行時に順次行われる。転送処理によ
り、所定量のデータがDMA用バッファメモリ405に
蓄積されると、CPU 401は通信路502への転送
をXPC 402に指令する。
The data stored in the first buffer area E2 of the main memory 404 is the communication path 502.
To the DMA buffer memory 405
Transferred to. This transfer is sequentially performed by the CPU 401 when the transfer processing routine is executed. When a predetermined amount of data is accumulated in the DMA buffer memory 405 by the transfer processing, the CPU 401 instructs the XPC 402 to transfer to the communication path 502.

【0040】このとき、CPU 401はDMA用バッ
ファメモリ405のアドレス空間のうち、転送すべきデ
ータが蓄積された領域の先頭アドレスと、転送すべきバ
イト数の情報をデータバス406に送り出し、XPC
402にセットさせる。そして、バス・アービタ407
にバス・バッファ406をハイインピーダンス状態にす
るように指令し、これによって、バス・アービタ407
はバス・バッファ408をハイインピーダンス状態に保
つ。従って、ハイインピーダンス状態になったバス・バ
ッファ408によりデータバス406はA,Bの2領域
に分断され、互いの領域が完全に隔離される。
At this time, the CPU 401 sends out to the data bus 406 the start address of the area where the data to be transferred is stored in the address space of the DMA buffer memory 405 and the number of bytes to be transferred to the data bus 406, and the XPC
Set it to 402. And the bus arbiter 407
To place the bus buffer 406 in a high impedance state, which causes the bus arbiter 407 to
Keeps bus buffer 408 in a high impedance state. Therefore, the data bus 406 is divided into two areas A and B by the bus buffer 408 in the high impedance state, and the areas are completely isolated from each other.

【0041】一方、先頭アドレスと、転送すべきバイト
数の情報を受け、且つ、DMA転送の指令を受けたXP
C 402は前記先頭アドレスより順次、アドレス更新
しつつ、バッファメモリ405を読出し制御し、この読
出したデータを通信路502に送出する。
On the other hand, the XP which has received the information of the start address and the number of bytes to be transferred and has also received the DMA transfer command.
The C 402 controls the reading of the buffer memory 405 while sequentially updating the address from the start address, and sends the read data to the communication path 502.

【0042】このとき、バス・バッファ408により分
断されたデータバス406のA領域ではDMA転送の影
響をなにも受けない状態になる。そのため、CPU 4
01はDMAによる動作停止を強制されることなく、制
御プログラムの実行を可能にする。従って、PBX側よ
り通信路501を介して送信データが到来する毎に通信
インタフェース403から発生する割り込み要求を受け
付けることができ、受信処理を継続することが可能にな
る。
At this time, the area A of the data bus 406 divided by the bus buffer 408 is not affected by the DMA transfer. Therefore, CPU 4
01 makes it possible to execute the control program without being forced to stop the operation by the DMA. Therefore, an interrupt request generated from the communication interface 403 can be accepted each time transmission data arrives from the PBX side via the communication path 501, and the reception process can be continued.

【0043】また、XPC 402では転送すべきバイ
ト数分、読出しが終了したところでDMA転送を終了
し、バス・アービタ407に知らせる。これにより、バ
ス・アービタ407はバス・バッファ408のハイイン
ピーダンス状態を解き、データバス406の分断されて
いたA,Bの領域を統合する。
In addition, the XPC 402 ends the DMA transfer when the reading is completed by the number of bytes to be transferred, and notifies the bus arbiter 407. As a result, the bus arbiter 407 releases the high impedance state of the bus buffer 408, and integrates the divided areas A and B of the data bus 406.

【0044】このように、異なる2つの通信路501お
よび通信路502の各々に対応するバッファメモリのマ
ッピングを独立にし、独立させたバッファメモリをDM
A処理系とCPU処理系の2つに分断させることができ
るようにすると共に両処理系を、隔離できるようにした
たため、DMA処理系とCPU処理系を別々に並行して
動作させることが可能になり、XPC 402が通信路
502との間でDMA転送処理中であっても、CPU
401は通信インタフェースLSI 403からの割り
込みに応じてリアルタイムでバッファリング処理を行う
ことが可能となる。
As described above, the mapping of the buffer memories corresponding to the two different communication paths 501 and 502 is made independent, and the independent buffer memories are DM'd.
The A processing system and the CPU processing system can be divided into two, and both processing systems can be separated, so that the DMA processing system and the CPU processing system can be operated separately in parallel. Even if the XPC 402 is performing the DMA transfer process with the communication path 502, the CPU
The buffer 401 can perform buffering processing in real time in response to an interrupt from the communication interface LSI 403.

【0045】通信路502からの受信データのDMA転
送は、通信路502からデータを受信することにより、
通信インタフェース403bがDMA転送を要求し、こ
れによってXPC 402がCPU 401にDMAの
処理要求を出し、これによりCPU 401は開始アド
レスとバイト数をXPC 402に設定し、DMA転送
を指令すると共に、バス・アービタ407に指令を出し
てバスバッファ408をハイインピーダンスの状態にす
る。従って、ハイインピーダンス状態になったバス・バ
ッファ408によりデータバス406はA,Bの2領域
に分断され、互いの領域が完全に隔離される。
The DMA transfer of the received data from the communication path 502 is performed by receiving the data from the communication path 502.
The communication interface 403b requests DMA transfer, which causes the XPC 402 to issue a DMA processing request to the CPU 401, which causes the CPU 401 to set the start address and the number of bytes in the XPC 402, and to instruct DMA transfer, -A command is issued to the arbiter 407 to put the bus buffer 408 in a high impedance state. Therefore, the data bus 406 is divided into two areas A and B by the bus buffer 408 in the high impedance state, and the areas are completely isolated from each other.

【0046】一方、先頭アドレスと、転送すべきバイト
数の情報を受け、且つ、DMA転送の指令を受けたXP
C 402は前記先頭アドレスより順次、アドレス更新
しつつ、バッファメモリ405にXPC 402の受信
データを書き込み制御する。
On the other hand, the XP which has received the information of the start address and the number of bytes to be transferred and which has received the DMA transfer command
The C 402 controls the writing of the received data of the XPC 402 to the buffer memory 405 while sequentially updating the address from the head address.

【0047】このとき、バス・バッファ408により分
断されたデータバス406のA領域ではDMA転送の影
響をなにも受けない状態になる。そのため、CPU 4
01はDMAによる動作停止を強制されることなく、制
御プログラムの実行を可能にする。
At this time, the area A of the data bus 406 divided by the bus buffer 408 is not affected by the DMA transfer. Therefore, CPU 4
01 makes it possible to execute the control program without being forced to stop the operation by the DMA.

【0048】XPC 402では転送すべきバイト数
分、書き込みが終了したところでDMA転送を終了し、
バス・アービタ407に知らせる。これにより、バス・
アービタ407はバス・バッファ408のハイインピー
ダンス状態を解き、データバス406の分断されていた
A,Bの領域を統合する。
The XPC 402 ends the DMA transfer when the writing is completed for the number of bytes to be transferred,
Notify the Bus Arbiter 407. This allows the bus
The arbiter 407 solves the high impedance state of the bus buffer 408 and integrates the divided areas A and B of the data bus 406.

【0049】以上は、XPC 402が通信路502と
の間でデータを直接転送する場合を例に説明したが、D
MA転送系にも通信用のインタフェースLSIを介在さ
せて通信路502とDMA転送によるデータ授受を行う
構成とすることができる。その例を図4に示す。図4の
構成は基本的には図2のものと同じであるが、通信用の
インタフェースLSIをDMA転送系にも持たせてある
点が異なる。
The case where the XPC 402 directly transfers data to and from the communication path 502 has been described above as an example.
The MA transfer system can also be configured to exchange data with the communication path 502 by DMA transfer with an interface LSI for communication interposed. An example thereof is shown in FIG. The configuration of FIG. 4 is basically the same as that of FIG. 2 except that a communication interface LSI is also provided in the DMA transfer system.

【0050】この場合、403aは低速通信用の、ま
た、403bは高速通信用のインタフェースLSIであ
り、インタフェースLSI 403aは図2で説明した
ものと同じである。
In this case, 403a is an interface LSI for low speed communication and 403b is an interface LSI for high speed communication, and the interface LSI 403a is the same as that described in FIG.

【0051】高速通信用のインタフェースLSI 40
3bは通信路502からデータを受信するとXPC 4
02にDMA転送要求を出し、また、DMA制御信号に
よって受信データを順次、データバス406に出力した
り、データバス406からのデータを取り込んで通信路
502に出力すると云った動作をする。
Interface LSI 40 for high speed communication
3b receives the data from the communication path 502 and then XPC 4
02, a DMA transfer request is issued, and received data is sequentially output to the data bus 406 by a DMA control signal, or data from the data bus 406 is fetched and output to the communication path 502.

【0052】また、XPC 402は通信規約「X. 2
5」のプロトコルをサポートする通信制御用LSIであ
り、DMA機能を内蔵しており、CPU 401から開
始アドレス、およびDMA転送するバイト数の情報を受
けて、バッファメモリ4405をダイレクトにアクセス
し、この開始アドレスから指定バイト数分のデータを読
出してデータバス406に送出し、あるいは開始アドレ
スから指定バイト数分に達するまで逐次アドレスを更新
しつつ、バッファメモリ405に書き込むと云った制御
を行うものである。また、XPC 402はDMA機能
を実行開始するにあたり、CPU 401にその通知を
すると共に、DMA実行期間中はバス・アービタ407
にそれを知らせるための信号を与えるようにしてあり、
バス・アービタ407はこの信号によってXPC 40
2の現在の状態を把握することができるようになってい
る。
Further, the XPC 402 uses the communication protocol "X. 2
It is a communication control LSI that supports the "5" protocol, has a built-in DMA function, receives the start address and the number of bytes to be DMA-transferred from the CPU 401, and directly accesses the buffer memory 4405. Control is performed such that data of a specified number of bytes is read from the start address and is sent to the data bus 406, or the address is sequentially updated until the specified number of bytes is reached from the start address while writing to the buffer memory 405. is there. Further, the XPC 402 notifies the CPU 401 of the start of the execution of the DMA function, and the bus arbiter 407 is executed during the DMA execution period.
To give it a signal
The bus arbiter 407 receives the signal from the XPC 40.
It is possible to grasp the current status of the second item.

【0053】このような構成の本システムはCPUの制
御のもとに送受信データを授受する低速通信系は図2で
説明したシステムの動作と同じである。また、DMA用
バッファメモリ405に転送された送信データをDMA
転送する場合は、CPU 401は通信路502への転
送をXPC 402に指令する。
In this system having such a configuration, the low-speed communication system for transmitting / receiving the transmission / reception data under the control of the CPU is the same as the operation of the system described in FIG. In addition, the transmission data transferred to the DMA buffer memory 405 is DMA
When transferring, the CPU 401 commands the XPC 402 to transfer to the communication path 502.

【0054】このとき、CPU 401はDMA用バッ
ファメモリ405のアドレス空間のうち、転送すべきデ
ータが蓄積された領域の先頭アドレスと、転送すべきバ
イト数の情報をデータバス406に送り出し、XPC
402にセットさせる。そして、バス・アービタ407
にバス・バッファ406をハイインピーダンス状態にす
るように指令し、これによって、バス・アービタ407
はバス・バッファ408をハイインピーダンス状態に保
つ。従って、ハイインピーダンス状態になったバス・バ
ッファ408によりデータバス406はA,Bの2領域
に分断され、互いの領域が完全に隔離される。
At this time, the CPU 401 sends to the data bus 406 the information of the start address of the area in which the data to be transferred is stored in the address space of the DMA buffer memory 405 and the number of bytes to be transferred, and the XPC
Set it to 402. And the bus arbiter 407
To place the bus buffer 406 in a high impedance state, which causes the bus arbiter 407 to
Keeps bus buffer 408 in a high impedance state. Therefore, the data bus 406 is divided into two areas A and B by the bus buffer 408 in the high impedance state, and the areas are completely isolated from each other.

【0055】一方、先頭アドレスと、転送すべきバイト
数の情報を受け、且つ、DMA転送の指令を受けたXP
C 402は前記先頭アドレスより順次、アドレス更新
しつつ、バッファメモリ405の内容を読出し制御し、
この読出したデータを通信インタフェースLSI 40
3bに取り込ませ、通信インタフェースLSI 403
bはこの取り込んだデータを通信路502に送出する。
On the other hand, the XP which has received the information of the start address and the number of bytes to be transferred and has also received the DMA transfer command.
The C 402 controls the reading of the contents of the buffer memory 405 while sequentially updating the address from the start address.
The read data is used for the communication interface LSI 40.
3b, communication interface LSI 403
b transmits the fetched data to the communication path 502.

【0056】このとき、バス・バッファ408により分
断されたデータバス406のA領域ではDMA転送の影
響をなにも受けない状態になる。そのため、CPU 4
01はDMAによる動作停止を強制されることなく、制
御プログラムの実行を可能にする。従って、PBX側よ
り通信路501を介して送信データが到来する毎に通信
インタフェース403aから発生する割り込み要求を受
け付けることができ、受信処理を継続することが可能に
なる。
At this time, the area A of the data bus 406 divided by the bus buffer 408 is not affected by the DMA transfer. Therefore, CPU 4
01 makes it possible to execute the control program without being forced to stop the operation by the DMA. Therefore, an interrupt request generated from the communication interface 403a can be accepted each time transmission data arrives from the PBX side via the communication path 501, and the reception process can be continued.

【0057】また、XPC 402では転送すべきバイ
ト数分、読出しが終了したところでDMA転送を終了
し、バス・アービタ407に知らせる。これにより、バ
ス・アービタ407はバス・バッファ408のハイイン
ピーダンス状態を解き、データバス406の分断されて
いたA,Bの領域を統合する。
In addition, the XPC 402 ends the DMA transfer when the reading is completed by the number of bytes to be transferred, and notifies the bus arbiter 407. As a result, the bus arbiter 407 releases the high impedance state of the bus buffer 408, and integrates the divided areas A and B of the data bus 406.

【0058】通信路502からの受信データのDMA転
送は、通信路502からデータを受信することにより、
通信インタフェース403bがDMA転送を要求し、こ
れによってXPC 402がCPU 401にDMAの
処理要求を出し、これによりCPU 401は開始アド
レスとバイト数をXPC 402に設定し、DMA転送
を指令すると共に、バス・アービタ407に指令を出し
てバスバッファ408をハイインピーダンスの状態にす
る。従って、ハイインピーダンス状態になったバス・バ
ッファ408によりデータバス406はA,Bの2領域
に分断され、互いの領域が完全に隔離される。
The DMA transfer of the received data from the communication path 502 is performed by receiving the data from the communication path 502.
The communication interface 403b requests DMA transfer, which causes the XPC 402 to issue a DMA processing request to the CPU 401, which causes the CPU 401 to set the start address and the number of bytes in the XPC 402, and to instruct DMA transfer, -A command is issued to the arbiter 407 to put the bus buffer 408 in a high impedance state. Therefore, the data bus 406 is divided into two areas A and B by the bus buffer 408 in the high impedance state, and the areas are completely isolated from each other.

【0059】一方、先頭アドレスと、転送すべきバイト
数の情報を受け、且つ、DMA転送の指令を受けたXP
C 402は前記先頭アドレスより順次、アドレス更新
しつつ、バッファメモリ405に通信インタフェースL
SI 403bの受信データを書き込み制御する。
On the other hand, the XP which has received the information of the start address and the number of bytes to be transferred and has also received the DMA transfer command.
The C 402 sequentially updates the address from the above-mentioned start address, and stores the communication interface L in the buffer memory 405.
Write control of the received data of SI 403b is performed.

【0060】このとき、バス・バッファ408により分
断されたデータバス406のA領域ではDMA転送の影
響をなにも受けない状態になる。そのため、CPU 4
01はDMAによる動作停止を強制されることなく、制
御プログラムの実行を可能にする。
At this time, the area A of the data bus 406 divided by the bus buffer 408 is not affected by the DMA transfer. Therefore, CPU 4
01 makes it possible to execute the control program without being forced to stop the operation by the DMA.

【0061】XPC 402では転送すべきバイト数
分、書き込みが終了したところでDMA転送を終了し、
バス・アービタ407に知らせる。これにより、バス・
アービタ407はバス・バッファ408のハイインピー
ダンス状態を解き、データバス406の分断されていた
A,Bの領域を統合する。
The XPC 402 ends the DMA transfer when the writing is completed for the number of bytes to be transferred,
Notify the Bus Arbiter 407. This allows the bus
The arbiter 407 solves the high impedance state of the bus buffer 408 and integrates the divided areas A and B of the data bus 406.

【0062】以上説明したように、本発明によれば、メ
モリのアドレス空間を少なくとも2分割し、また、DM
A転送処理系とCPUによる処理系とを分離/結合制御
する切り替え手段を設けると共に、前記分割されたメモ
リのアドレス空間の一方を前記CPUによる処理系に、
また、他方を前記DMA転送処理系に分配して設け、そ
れぞれ通信用のバッファメモリとして利用可能にし、D
MA転送時には切り替え手段によりDMA転送処理系と
CPUによる処理系とを分離して、CPUによる処理系
をDMA転送処理中に稼働可能にしたものであり、これ
により、DMA転送の処理中に、CPUによる処理を継
続させることができるようになり、DMA処理を行いつ
つ、CPUによる他の処理を実行可能として、システム
の潜在的性能を十分に生かす設計を可能とすることがで
きる。尚、本発明は上記し、且つ、図面に示す実施例に
限定することなく、その要旨を変更しない範囲内で適宜
変形して実施し得るものである。
As described above, according to the present invention, the address space of the memory is divided into at least two, and the DM
A switching means for controlling separation / coupling between the A transfer processing system and the processing system by the CPU is provided, and one of the address spaces of the divided memory is provided to the processing system by the CPU
In addition, the other is provided by being distributed to the DMA transfer processing system, and each can be used as a buffer memory for communication.
During MA transfer, the DMA transfer processing system and the CPU processing system are separated by the switching means so that the CPU processing system can be operated during the DMA transfer process. This allows the CPU to operate during the DMA transfer process. The processing can be continued, and other processing by the CPU can be executed while performing the DMA processing, and it is possible to perform a design that makes full use of the potential performance of the system. The present invention is not limited to the embodiments described above and shown in the drawings, but can be appropriately modified and implemented within the scope of the invention.

【0063】[0063]

【発明の効果】以上、詳述したように本発明によれば、
通信路との間の高速なDMA転送実行中に、同時に通信
路からのデータ受信などの他のプロセスを処理できるよ
うにしたシステムを実現可能にするマイクロプロセッサ
応用装置を提供することができる。
As described above in detail, according to the present invention,
It is possible to provide a microprocessor application device that can realize a system capable of simultaneously processing other processes such as data reception from a communication path during execution of high-speed DMA transfer with the communication path.

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

【図1】本発明の一実施例の全体構成を示すシステムブ
ロック図。
FIG. 1 is a system block diagram showing the overall configuration of an embodiment of the present invention.

【図2】図1の要部の詳細を示すブロック図。FIG. 2 is a block diagram showing details of a main part of FIG.

【図3】本システムでのメモリ空間の割り付け状況を説
明するメモリマップ。
FIG. 3 is a memory map for explaining the allocation status of memory space in this system.

【図4】本発明の他の実施例を示すブロック図。FIG. 4 is a block diagram showing another embodiment of the present invention.

【図5】従来例を説明するためのブロック図。FIG. 5 is a block diagram for explaining a conventional example.

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

1…交換機(PBX)本体、2a,2b,〜4n…ポー
トプロセッサ、5…ディジタル専用線、41,401…
CPU、42…DMAコントローラ、402…、40
3,403a,403b…通信インタフェースLSI、
45…メモリ、404…メインメモリ、405…DMA
用バッファメモリ、406…データバス、408…バス
・バッファ、407…バス・アービタ、501,502
…通信路。
1 ... Switch (PBX) main body, 2a, 2b, to 4n ... Port processor, 5 ... Digital dedicated line, 41, 401 ...
CPU, 42 ... DMA controller, 402 ..., 40
3, 403a, 403b ... Communication interface LSI,
45 ... Memory, 404 ... Main memory, 405 ... DMA
Buffer memory, 406 ... Data bus, 408 ... Bus buffer, 407 ... Bus arbiter, 501, 502
… Communication path.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】バスを介してメモリ,プロセッサおよびダ
イレクト・メモリ・アクセス手段とを接続したシステム
であって、前記プロセッサによるメモリ・アクセス制御
に代えてダイレクト・メモリ・アクセス手段によりメモ
リを直接、アクセスしてメモリと外部とのデータ転送を
行うことができるようにしたプロセッサ応用システムに
おいて、 ダイレクト・メモリ・アクセス手段によるダイレクト・
メモリ・アクセス転送処理系とプロセッサによる処理系
とを分離/結合制御すべく、前記バスを切り替え制御す
る切り替え手段を設けると共に、プロセッサの持つアド
レス空間を分割して一方をプロセッサの処理系、他方を
ダイレクト・メモリ・アクセス転送処理系に割り当てて
前記メモリを配置し、且つ、プロセッサにはダイレクト
・メモリ・アクセス転送時に前記切り替え手段に分離制
御させる処理機能を持たせて構成することを特徴とする
プロセッサ応用装置。
1. A system in which a memory, a processor and a direct memory access means are connected via a bus, and the memory is directly accessed by the direct memory access means instead of the memory access control by the processor. In a processor application system that enables data transfer between the memory and the outside, direct memory access means
In order to separate / couple the memory access transfer processing system and the processing system by the processor, switching means for switching the bus is provided, and the address space of the processor is divided so that one of the processing system of the processor and the other A processor characterized in that the memory is allocated to a direct memory access transfer processing system, and the processor is provided with a processing function that causes the switching means to perform separate control during direct memory access transfer. Applied equipment.
JP4297167A 1992-11-06 1992-11-06 Processor applied device Pending JPH06149725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4297167A JPH06149725A (en) 1992-11-06 1992-11-06 Processor applied device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4297167A JPH06149725A (en) 1992-11-06 1992-11-06 Processor applied device

Publications (1)

Publication Number Publication Date
JPH06149725A true JPH06149725A (en) 1994-05-31

Family

ID=17843059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4297167A Pending JPH06149725A (en) 1992-11-06 1992-11-06 Processor applied device

Country Status (1)

Country Link
JP (1) JPH06149725A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011525778A (en) * 2008-06-23 2011-09-22 クゥアルコム・インコーポレイテッド Method and system for background scanning in an OFDMA mobile station

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011525778A (en) * 2008-06-23 2011-09-22 クゥアルコム・インコーポレイテッド Method and system for background scanning in an OFDMA mobile station

Similar Documents

Publication Publication Date Title
US6189062B1 (en) Apparatus and method for address translation in bus bridge devices
JP2002123371A (en) Device and method for controlling disk array
JPH06149725A (en) Processor applied device
JP2583586B2 (en) Bus control method
JPS6298444A (en) Data communication system
JP2000244585A (en) Bus interface circuit
JP2705955B2 (en) Parallel information processing device
JP2856709B2 (en) Bus coupling system
JP2002229929A (en) Memory access control method and memory access control device
JPH03175851A (en) Communication controller
JPS61250758A (en) Communication controller
KR20020051545A (en) DMA controller for the high speed image processor at real time
US7093053B2 (en) Console chip and single memory bus system
JPH02211571A (en) Information processor
JP3458383B2 (en) Bus connection method
JPH07319823A (en) Inter-processor communication system
JP2000029823A (en) Bus access control circuit
JPS61271555A (en) Transferring system for direct memory access
JPS6240565A (en) Memory control system
JPH0650494B2 (en) Data transfer method in I / O controller
JPH0452848A (en) Host adaptor
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JP2001134513A (en) Data communication system
JPH041819A (en) Data block controller
JPS60136853A (en) Data transfer system