JPH0784917A - Method and circuit for final data supervisory control - Google Patents

Method and circuit for final data supervisory control

Info

Publication number
JPH0784917A
JPH0784917A JP5225624A JP22562493A JPH0784917A JP H0784917 A JPH0784917 A JP H0784917A JP 5225624 A JP5225624 A JP 5225624A JP 22562493 A JP22562493 A JP 22562493A JP H0784917 A JPH0784917 A JP H0784917A
Authority
JP
Japan
Prior art keywords
data
control data
control
transfer
final
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.)
Withdrawn
Application number
JP5225624A
Other languages
Japanese (ja)
Inventor
Shinichiro Miyajima
眞一郎 宮島
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5225624A priority Critical patent/JPH0784917A/en
Publication of JPH0784917A publication Critical patent/JPH0784917A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Bus Control (AREA)
  • Computer And Data Communications (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To provide a method and circuit for final data supervisory control which can process codes corresponding to many kind of control data without increasing the device capacity or cost with regard to a method and a circuit for final data supervision for data transfer using a direct memory access controller. CONSTITUTION:The final data supervisory control method which outputs an interruption signal Sp for final processing to a CPU 1 and a DMAC 3 after receiving the specific number of control data added to the tail of transfer data stores a code showing the number of the control data to be received in a specific address of a data detection memory, and transfers this specific address in the control data at the time of transmission and also outputs the interruption signal Sp based on the code corresponding to an address read out of the data detection memory at the time of the reception.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は転送データの最終データ
監視方法と回路に関し、特に、ダイレクトメモリアクセ
スコントローラを用いたデータ転送の最終データ監視方
法と回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a final data monitoring method and circuit for transfer data, and more particularly to a final data monitoring method and circuit for data transfer using a direct memory access controller.

【0002】[0002]

【従来技術】ある装置から他の装置にデータを転送する
場合、通信モデムにダイレクトメモリアクセスコントロ
ーラ(以下DMACという)を備え、CPUは通信の開
始と終了だけを監視する方式が用いられる。この方式に
よるとデータの送受信時にCPUが塞がれることがなく
CPUの負担が軽減されることになる。
2. Description of the Related Art When transferring data from one device to another device, a communication modem is provided with a direct memory access controller (hereinafter referred to as a DMAC), and a CPU monitors only the start and end of communication. According to this method, the CPU is not blocked when transmitting / receiving data, and the load on the CPU is reduced.

【0003】図5は上記DMACを用いた従来の最終デ
ータ監視回路の概念図である。転送されてきたデータは
プロトコルコントローラ4に入力され、該転送データの
ヘッドに載せられているDMAC3の起動信号によって
DMAC3を起動する。これによってDMAC3はメモ
リ2へのアクセスが可能となり、プロトコルコントロー
ラ4で抽出された本来の転送データ(転送データには本
来の転送データの他、通信形式を規定するためのデータ
等が含まれる。)をメモリ2に転送して書き込む。
FIG. 5 is a conceptual diagram of a conventional final data monitoring circuit using the above DMAC. The transferred data is input to the protocol controller 4, and the DMAC 3 is activated by the activation signal of the DMAC 3 mounted on the head of the transferred data. As a result, the DMAC 3 can access the memory 2 and the original transfer data extracted by the protocol controller 4 (the transfer data includes the original transfer data and data for defining the communication format). Is transferred to the memory 2 and written.

【0004】転送データの最後尾には転送の終了を意味
する制御データと、更に必要に応じていくつかの制御デ
ータが付加される。ここで、上記制御データとは上記の
ように転送の終了を意味するデータの他に発信元装置の
状態(例えば正常か異常か)等を意味するデータ、ある
いは複数の発信元装置がある場合には該複数の発信元装
置を区別するアドレスデータ等が考えられる。これ等制
御データの数及び種類の組み合わせは複数種考えられ、
上記複数種の組み合わせのそれぞれに対応した最終デー
タ処理回路10が設けられ該各最終データ処理回路10
にはアドレスが付されている。
At the end of the transfer data, control data indicating the end of the transfer and, if necessary, some control data are added. Here, the control data means, in addition to the data indicating the end of the transfer as described above, data indicating the state (for example, normal or abnormal) of the transmission source device, or when there are a plurality of transmission source devices. Can be address data or the like that distinguishes the plurality of source devices. There are several possible combinations of the number and types of control data.
A final data processing circuit 10 corresponding to each of the plurality of combinations is provided, and each final data processing circuit 10 is provided.
Is assigned an address.

【0005】一方、各制御データ内は上記の各最終デー
タ処理回路10を指定するアドレスが載せられており、
該制御データが持つアドレスと同じアドレスが最終デー
タ処理回路10に入力されたとき以下に説明するように
所定のタイミングで割り込み信号を発生する。
On the other hand, in each control data, an address designating each of the final data processing circuits 10 described above is provided.
When the same address as that of the control data is input to the final data processing circuit 10, an interrupt signal is generated at a predetermined timing as described below.

【0006】上記、最終データ処理回路10は、データ
検出回路50とカウンタ60とよりなり、データ検出回
路50は更に、監視データ設定器59とコンパレータ5
8よりなる。
The final data processing circuit 10 comprises a data detection circuit 50 and a counter 60. The data detection circuit 50 further includes a monitor data setting device 59 and a comparator 5.
It consists of 8.

【0007】監視データ設定器59には上記のように各
最終データ処理回路10を特定するアドレスが設定さ
れ、該アドレスはコンパレータ58の一方の端子に入力
されている。
An address for specifying each final data processing circuit 10 is set in the monitor data setting unit 59 as described above, and the address is input to one terminal of the comparator 58.

【0008】一方、コンパレータ58の他方の端子には
転送データが入力されており、転送データ中に上記アド
レスと一致するアドレスが載せられているときにはその
出力は“1”となり、カウンタ60を作動させる。上記
カウンタ60は上記DMAC3がメモリ2をアクセスす
るときに使用するアクセスタイミング信号Stをカウン
トするようになっており、そのカウント数は上記制御デ
ータの組み合わせによる該制御データの数に対応してい
る。
On the other hand, transfer data is input to the other terminal of the comparator 58, and when an address matching the above address is included in the transfer data, the output becomes "1" and the counter 60 is operated. . The counter 60 counts the access timing signal St used when the DMAC 3 accesses the memory 2, and the count number corresponds to the number of the control data by the combination of the control data.

【0009】すなわち、上記転送データが終了を意味す
る制御データC0 のみしか含まないとき、図6 I に示
すようにカウンタ60は上記アクセスタイミング信号S
11を1回カウントした後、直ちに割り込み信号Spを
出力する。
That is, when the transfer data includes only the control data C 0 which means the end, the counter 60 is controlled by the access timing signal S as shown in FIG. 6I.
After counting t 11 once, the interrupt signal Sp is immediately output.

【0010】また、終了を意味する制御データC0 に発
信元装置の正常,異常を示す制御データC1 が付加され
ているときには、図6 II に示すようにカウンタ60は
該制御データC0 を受けた後、上記アクセスタイミング
信号を2カウント(St12 、St13 )してから割り込み
信号Spを発生する。更に(図示しないが)、終了を意
味する制御データに発信元装置の正常,異常を示す制御
データと、発信元装置の種類を示す制御データが付加さ
れた場合にはカウンタ60は最終データを受けてから発
生するアクセスタイミング信号を3カウントして割り込
み信号を発生するようになっている。
Further, when the control data C 0 indicating the end and the control data C 1 indicating the normality or abnormality of the transmission source device are added, the counter 60 outputs the control data C 0 as shown in FIG. 6 II. After the reception, the access timing signal is counted 2 times (S t12 , S t13 ) and then the interrupt signal Sp is generated. Further (not shown), if control data indicating normality / abnormality of the transmission source device and control data indicating the type of the transmission source device are added to the control data indicating termination, the counter 60 receives the final data. Then, the access timing signal generated later is counted to generate an interrupt signal.

【0011】上記のように装置間の転送データは重要な
データと、さして重要でないデータがある。重要なデー
タは転送元装置に異常があるとそれを受けた側で直ちに
その異常に対処する必要があり、従って、正常か異常か
を示す制御データを1回の転送が終わる毎に転送する必
要がある。
As described above, transfer data between devices includes important data and much less important data. When there is an abnormality in the transfer source device, it is necessary for the important side of the transfer device to immediately deal with the abnormality. Therefore, it is necessary to transfer the control data indicating whether it is normal or abnormal after each transfer. There is.

【0012】しかしながら、さして重要でないデータに
ついては複数回のデータ転送が終わった後に終了処理を
すれば足りる。そこで、終了を意味する制御データが特
定回数入力された後に割り込み信号Spを発生させるこ
ともできる。すなわち、データの重要度についてのレベ
ル指定ができるわけである。例えば図6 III では終了
を意味する制御データC0 が2回入力した後に(アクセ
スタイミング信号Stを2回(St14,t15)カウントし
た後に)割り込み信号Spを出力している。
However, for unimportant data, it suffices to perform termination processing after the data has been transferred a plurality of times. Therefore, the interrupt signal Sp can be generated after the control data indicating the end is input a specific number of times. That is, it is possible to specify the level of importance of data. For example, in FIG. 6 III, the interrupt signal Sp is output after the control data C 0 indicating the end is input twice (after the access timing signal St is counted twice (S t14, S t15 )).

【0013】[0013]

【発明が解決しようとする課題】上記従来の最終データ
監視回路10において転送元装置に異常が発生したと
き、該転送元装置のどこの部分が異常であるのかを更
に、正確に知りたいといった要求があると、該異常部分
を区分するために制御データの組み合わせを多種類持つ
必要がある。また、転送元装置の種類が増加すればどの
装置のどの部分が異常であるかを通知する必要があり、
組み合わせの数がますます増加する傾向にある。その上
に、更にデータの重要度をレベル付けしたいような場合
には、更に組み合わせ数が増加する。
When an abnormality occurs in the transfer source device in the conventional final data monitoring circuit 10 as described above, there is a demand for more accurately knowing which part of the transfer source device is abnormal. If so, it is necessary to have a large number of combinations of control data in order to distinguish the abnormal portion. Also, if the type of transfer source device increases, it is necessary to notify which part of which device is abnormal,
The number of combinations tends to increase. In addition, the number of combinations is further increased when it is desired to further level the importance of data.

【0014】ところが、上記監視データ設定手段59に
は一種類の組み合わせしか設定できないので、上記のよ
うに多種類の組み合わせを扱う場合には各コードに応じ
た最終データ監視回路10を必要とし、装置容量あるい
は装置コストが大幅に増加することになる。
However, since only one kind of combination can be set in the monitoring data setting means 59, the final data monitoring circuit 10 corresponding to each code is required when handling many kinds of combinations as described above, and the device The capacity or equipment cost will increase significantly.

【0015】本発明は上記従来の事情に鑑みて提案され
たものであって、装置容量やコストを増加させないで多
種の制御データに対応するコードを処理できる最終デー
タ監視制御方法と回路を提供することを目的とするもの
である。
The present invention has been proposed in view of the above conventional circumstances, and provides a final data monitoring control method and circuit capable of processing codes corresponding to various types of control data without increasing the device capacity or cost. That is the purpose.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するため
に本発明は以下の手段を採用している。すなわち、転送
データの後尾に付加される所定数の制御データを受け取
った後、CPU1とDMAC3とに対し、最終処理する
ための割り込み信号Spを出力する最終データ監視制御
方法において、上記受け取るべき制御データの数を表わ
すコードをデータ検出メモリ51の所定アドレスに収納
しておき、送信時に上記所定アドレスを制御データに載
せて転送するとともに、受信時に上記データ検出メモリ
51より読み出した上記アドレスに対応するコードに基
づいて割り込み信号Spを出力する構成とする。
To achieve the above object, the present invention employs the following means. That is, in the final data monitoring control method of receiving the predetermined number of control data added to the end of the transfer data and then outputting the interrupt signal Sp for final processing to the CPU 1 and the DMAC 3, the control data to be received The code indicating the number of the data is stored in a predetermined address of the data detection memory 51, the predetermined address is transferred on the control data at the time of transmission, and the code corresponding to the address read from the data detection memory 51 at the time of reception. The interrupt signal Sp is output based on the above.

【0017】上記方法を実現するためにこの発明は図1
に示すように、上記制御データに載せたアドレスに対応
して上記受け取るべき制御データ数を表わすコードを収
納したデータ検出メモリ51よりなるデータ検出手段5
と、上記制御データが入力されたとき、データ検出メモ
リ51より得られる上記コードが表わす制御データ数を
カウントして必要なタイミングで割り込み信号Spを出
力する上記割り込み信号発生手段6を備えるようにして
いる。
In order to realize the above method, the present invention is shown in FIG.
As shown in FIG. 5, the data detecting means 5 comprising a data detecting memory 51 containing a code representing the number of control data to be received corresponding to the address included in the control data.
When the control data is input, the interrupt signal generating means 6 for counting the number of control data represented by the code obtained from the data detection memory 51 and outputting the interrupt signal Sp at a necessary timing is provided. There is.

【0018】上記制御データ数は、複数回のデータ転送
の各転送の後尾に付加される制御データ数であって、転
送データのレベル付けのための数とすることも可能であ
る。
The above-mentioned control data number is the number of control data added to the end of each transfer of a plurality of data transfers, and may be a number for leveling the transfer data.

【0019】[0019]

【作用】制御データにデータ検出メモリ51の特定のア
ドレスが載せられているので、制御データが入力したと
き、上記データ検出メモリ51より該アドレスに収納さ
れているコードを読み出すことができる。このコードは
終了を意味する制御データが入力されてから割り込み信
号を発生する迄のタイミング(アクセスタイミング信号
の数)を表しているので、割り込み信号発生手段6では
上記コードを読んで所定の個数アクセスタイミング信号
の数をカウントした後、割り込み信号Spを作成する。
これによってDMAC3はメモリ2へのアクセスを停止
するとともに、CPU1はデータ転送が終了したことを
認識することになる。
Since the specific address of the data detection memory 51 is placed on the control data, when the control data is input, the code stored at the address can be read from the data detection memory 51. Since this code represents the timing (the number of access timing signals) from the input of the control data indicating the end to the generation of the interrupt signal, the interrupt signal generating means 6 reads the above code and accesses a predetermined number of times. After counting the number of timing signals, the interrupt signal Sp is created.
As a result, the DMAC 3 stops accessing the memory 2 and the CPU 1 recognizes that the data transfer is completed.

【0020】[0020]

【実施例】図2は本発明の一実施例ブロック図である。
送信されてきた転送データはプロトコルコントローラ4
に入力され、該転送データのヘッドに載せられているD
MAC3の起動信号によってDMAC3を起動する。こ
れによってDMAC3はメモリ2へのアクセスが可能と
なり、プロトコルコントローラ4で抽出された本来の転
送データ(転送データには本来の転送データの他、通信
形式を規定するためのデータ等が含まれる。)をメモリ
2に転送して書き込む。以上の基本的な点は従来と同様
である。
FIG. 2 is a block diagram of an embodiment of the present invention.
The transmitted transfer data is the protocol controller 4
D that has been input to and is placed on the head of the transfer data.
The DMAC3 is activated by the activation signal of the MAC3. As a result, the DMAC 3 can access the memory 2 and the original transfer data extracted by the protocol controller 4 (the transfer data includes the original transfer data and data for defining the communication format). Is transferred to the memory 2 and written. The above basic points are the same as the conventional ones.

【0021】一方、本発明では、上記転送データがデー
タ検出手段5に備えられるデータ検出メモリ51に入力
される。このデータ検出メモリ51は、例えば図3に示
すように各アドレスA0 …A7 に対応して割り込み信号
を発生するタイミングをコード化してキーボード等の設
定手段52より入力され収納されている。
On the other hand, in the present invention, the transfer data is input to the data detection memory 51 provided in the data detection means 5. For example, as shown in FIG. 3, the data detection memory 51 is stored by being input from a setting means 52 such as a keyboard by coding the timing of generating an interrupt signal corresponding to each address A 0 ... A 7 .

【0022】ここで、アドレスA0 〜A3 に収納された
コードはデータの重要度を示すレベル付けに使用され
る。例えば、アドレスA0 =2000には1ビット目が
“1”となるコードが書き込まれている。これによって
転送データの末尾の制御データに“2000”なるアドレス
が載せられていると、上記データ検出メモリ51より
“00000001”なるコードが読み出されて、割り込み信号
発生手段6を構成するカウンタCT0 の入力側に設けら
れたゲートG0 がONとなり、DMAC3よりアクセス
タイミング信号Stが1回入力されると、該カウンタC
0 (1進カウンタ)は直ちに割り込み信号Spを出力
することになる(図6 I 参照)。
Here, the codes stored in the addresses A 0 to A 3 are used for leveling the importance of the data. For example, at address A 0 = 2000, a code whose first bit is “1” is written. As a result, when the address "2000" is placed in the control data at the end of the transfer data, the code "00000001" is read from the data detection memory 51 and the counter CT 0 constituting the interrupt signal generating means 6 is read. When the gate G 0 provided on the input side of is turned on and the access timing signal St is input once from the DMAC 3, the counter C
The T 0 (primary counter) immediately outputs the interrupt signal Sp (see FIG. 6I).

【0023】アドレスA2 =2001には2ビット目が
“1”であるコードが書き込まれている。これによって
制御データに“2001”なるアドレスが載せられている
と、データ検出メモリ51より上記“00000010”なるコ
ードが読み出されてカウンタCT1(2進カウンタ)の
入力側に設けられたゲートG1 がONとなる。このゲー
トG 1 は制御データが入力されるごとにONとなり、制
御データ以外のデータが入力されてもデータ検出メモリ
51よりコードが読み出されないのでONとならない。
そこで図6 III に示すように、DMAC3より2回の
アクセスタイミング信号Stが入力されたとき割り込み
信号Spが発生する。このようにして制御データがn回
入力したときに割り込み信号Spが発生する構成とし
て、転送データの重要度に対応したレベル付けをするこ
とができる。
Address A2= 2001 has the second bit
A code that is "1" is written. by this
The address "2001" is included in the control data.
Then, from the data detection memory 51,
Read out the counter CT1(Binary counter)
Gate G provided on the input side1Turns on. This game
G 1Is turned on every time control data is input,
Data detection memory even if data other than control data is input
Since the code is not read from 51, it does not turn on.
Therefore, as shown in FIG.
Interrupt when access timing signal St is input
The signal Sp is generated. In this way, control data is sent n times
The configuration is such that the interrupt signal Sp is generated when input
The level of transfer data according to its importance.
You can

【0024】すなわち、上記アドレスA0 の例は非常に
重要なデータであるので、終了を意味する制御データが
入力される毎にDMAC3とCPU1は終了処理をし、
更に必要がある場合は転送の装置が正常であるか否かの
制御データを付加(この点は後述する)して、転送元装
置に異常があるか否か等のチェックをすることになる。
That is, since the example of the address A 0 is very important data, the DMAC 3 and the CPU 1 perform the termination processing every time the control data indicating the termination is input.
If further necessary, control data indicating whether the transfer device is normal or not is added (this point will be described later), and it is checked whether or not the transfer source device is abnormal.

【0025】それに対して、上記終了を意味する制御デ
ータが複数n回入力して割り込み信号を出力する例で
は、アドレスA0 の例に比してさほど重要でないデータ
転送に対して適用することができる。
On the other hand, in the example in which the control data indicating the end is input a plurality of times n times and the interrupt signal is output, it can be applied to data transfer which is not so important as compared with the example of the address A 0. it can.

【0026】一方、上記アドレスA4 〜A7 では転送デ
ータの後尾に上記終了を意味する制御データの他に更
に、CUP1に必要な処理をさせるための制御データを
載せた場合のコードを収納している。例えば、上記図3
の例では制御データにアドレスA4 =2004が載せられて
いると、5ビット目が“1”であるコードがデータ検出
メモリ51より読み出され、カウンタCT4 を計数可能
にする。
On the other hand, further to other control data, which means the completion to the end of the transfer data in the address A 4 to A 7, houses a code when loaded with control data for the processing required CUP1 ing. For example, in FIG.
In this example, when the address A 4 = 2004 is included in the control data, the code having the fifth bit “1” is read from the data detection memory 51, and the counter CT 4 can be counted.

【0027】ここで、カウンタCT4 (2進カウンタ)
は、アクセスタイミング信号Stが2回入力したときに
割り込み信号Spを出力することができる〔図6 II 参
照〕。 これによって単にDMAC3とCPU1に終了
処理をさせるだけでなく、発信元の装置が正常であるか
否か、あるいは発信元の装置が複数あるときには該複数
の発信元の区別をする制御データをメモリ2に入力する
ことができることになる。従って、上記のように割り込
み信号Spを受けたCPU1はその後発信元装置に異常
があるとの制御データがメモリ2に入力されているとき
は、警報を出す等の処理をする。
Here, the counter CT 4 (binary counter)
Can output the interrupt signal Sp when the access timing signal St is input twice (see FIG. 6II). This not only causes the DMAC 3 and the CPU 1 to perform termination processing, but also stores control data for determining whether or not the source device is normal, or when there are a plurality of source devices, in the memory 2 You will be able to type in. Therefore, when the CPU 1 having received the interrupt signal Sp as described above subsequently issues a warning or the like when the control data indicating that the transmission source device has an abnormality is input to the memory 2.

【0028】更に、上記転送データに対するレベル付け
と連続する制御データによる割り込み制御を組み合わせ
ることもできる。すなわち、最初に2ビット目が“1”
となるコードを選択し、次いで5ビット目が“1”とな
るコードを選択した場合を例に説明すると図4に示すよ
うになる。
Furthermore, the leveling of the transfer data and the interrupt control by continuous control data can be combined. That is, first the second bit is "1"
4 will be described by taking as an example the case of selecting a code having the following bits and then selecting a code having the fifth bit of "1".

【0029】最初にアドレスA1 =2001が入力され、カ
ウンタCT1 が計数可能となる。これによって2回のア
クセスタイミング信号Stが入力されたとき、カウンタ
CT 1 から割り込み信号が出力される状態となる。
Address A first1= 2001 is entered,
Unta CT1Can be counted. By doing this,
When the access timing signal St is input, the counter
CT 1The interrupt signal is output from.

【0030】ところが、2回目の制御データC02にはA
4 =2004なるアドレスが載っているので、DMAC3か
ら2回目のアクセスタイミング信号St2 が入力される
直前に5ビット目が“1”であるコードがデータ検出メ
モリ51から読み出されて、上記カウンタCT1 を計数
不能にし、カウンタCT4 を計数可能にする。このカウ
ンタCT4 は2進カウンタであるので、アクセスタイミ
ング信号St2 ,St 3 を計数した後、すなわち2回目
の終了を意味する制御データCo2 と正常異常を表わす
制御データC1 がメモリ2に入力されてから割り込み信
号Spを生成することになる。
However, the second control data C02For A
Four= 2004 address is listed, so DMAC3?
From the second access timing signal St2Is entered
Immediately before, the code whose fifth bit is "1" is the data detection
The counter CT read from the memory 511Counting
Disable and counter CTFourCan be counted. This cow
Input CTFourIs a binary counter, so access timing
Signal St2, St 3After counting, that is, the second time
Data Co that means the end of2And indicates normal abnormality
Control data C1Is input to memory 2 and then the interrupt
No. Sp will be generated.

【0031】上記図3に示したコード群は発信元のシス
テムに応じて複数種用意することができる。例えば、上
記例ではアドレスA0 〜A3 にデータのレベル付けがで
きるコードを収納したが、データのレベル付けは一種類
とし、他の制御データを多数組み合わせたコード群等複
数のパターン群II,IIIを用意することもできる。
A plurality of types of the code group shown in FIG. 3 can be prepared according to the originating system. For example, in the above example, the codes capable of leveling the data are stored in the addresses A 0 to A 3 , but the leveling of the data is one type, and a plurality of pattern groups II, such as a code group in which many other control data are combined, III can also be prepared.

【0032】[0032]

【発明の効果】以上のように本発明はDMACとCPU
に終了処理をするための割り込み信号を発生するときの
該割り込み信号の発生タイミングをパターン化してメモ
リに収納する一方、転送データの制御データに上記メモ
リのアドレスを載せるようにしているので、パターンご
とに最終データ監視回路を備える必要がなく、容積およ
びコストとも小さくなり、多種のデータ監視ができる効
果がある。
As described above, the present invention is based on the DMAC and the CPU.
Since the generation timing of the interrupt signal when generating the interrupt signal for the end processing is patterned and stored in the memory, the address of the memory is placed in the control data of the transfer data. Since there is no need to provide a final data monitoring circuit, the volume and cost can be reduced, and various data can be monitored.

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

【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.

【図2】本発明の一実施例である。FIG. 2 is an example of the present invention.

【図3】本発明のデータ検出メモリに収納されたパター
ンを示す概念図である。
FIG. 3 is a conceptual diagram showing a pattern stored in a data detection memory of the present invention.

【図4】本発明による割り込み信号発生の一例を示すタ
イムチャートである。
FIG. 4 is a time chart showing an example of generating an interrupt signal according to the present invention.

【図5】従来例概念図である。FIG. 5 is a conceptual diagram of a conventional example.

【図6】従来例タイムチャートである。FIG. 6 is a time chart of a conventional example.

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

1 CPU 3 ダイレクトメモリアクセスコントローラ 5 データ検出手段 6 割り込み信号発生手段 51 データ検出メモリ Sp 割り込み信号 1 CPU 3 Direct Memory Access Controller 5 Data Detecting Unit 6 Interrupt Signal Generating Unit 51 Data Detecting Memory Sp Interrupt Signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 転送データの後尾に付加される所定数の
制御データを受け取った後、CPU(1) とダイレクトメ
モリアクセスコントローラ(以下DMACという)(3)
とに対し、最終処理するための割り込み信号(Sp)を出力
する最終データ監視制御方法において、 上記受け取るべき制御データの数を表わすコードをデー
タ検出メモリ(51)の所定アドレスに収納しておき、送信
時に上記所定アドレスを制御データに載せて転送すると
ともに、受信時に上記データ検出メモリ(51) より読み
出した上記アドレスに対応するコードに基づいて割り込
み信号(Sp) を出力することを特徴とする最終データ監
視制御方法。
1. A CPU (1) and a direct memory access controller (hereinafter referred to as DMAC) (3) after receiving a predetermined number of control data added to the end of transfer data.
On the other hand, in the final data monitoring control method of outputting an interrupt signal (Sp) for final processing, a code representing the number of control data to be received is stored in a predetermined address of the data detection memory (51), At the time of transmission, the predetermined address is placed on control data and transferred, and at the time of reception, an interrupt signal (Sp) is output based on the code corresponding to the address read from the data detection memory (51). Data monitoring control method.
【請求項2】 転送データの後尾に付加される所定数の
制御データを受け取った後にCPU(1) とDMA(3) に
対し、最終処理をするための割り込み信号(Sp)を出力す
る割り込み信号発生手段(6) を備えた最終データ監視制
御回路において、 上記制御データに載せたアドレスに対応して上記受け取
るべき制御データ数を表わすコードを収納したデータ検
出メモリ(51)を備えたデータ検出手段(5) と、 上記制御データが入力されたとき、データ検出メモリ(5
1)より得られる上記コードが表わす制御データ数をカウ
ントして必要なタイミングで割り込み信号(Sp)を出力す
る上記割り込み信号発生手段(6) を備えたことを特徴と
する最終データ監視制御回路。
2. An interrupt signal for outputting an interrupt signal (Sp) for final processing to the CPU (1) and the DMA (3) after receiving a predetermined number of control data added to the end of transfer data. In the final data supervisory control circuit provided with the generation means (6), the data detection means provided with the data detection memory (51) storing the code representing the number of the control data to be received corresponding to the address carried in the control data. (5) When the above control data is input, the data detection memory (5
A final data monitoring control circuit comprising the interrupt signal generating means (6) for counting the number of control data represented by the code obtained from 1) and outputting an interrupt signal (Sp) at a necessary timing.
【請求項3】 上記制御データ数が複数回のデータ転送
の各転送の後尾に付加される制御データ数であって、転
送データのレベル付けのための数である請求項2に記載
の最終データ監視制御回路。
3. The final data according to claim 2, wherein the number of control data is the number of control data added to the end of each transfer of a plurality of data transfers, and is a number for leveling the transfer data. Supervisory control circuit.
JP5225624A 1993-09-10 1993-09-10 Method and circuit for final data supervisory control Withdrawn JPH0784917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5225624A JPH0784917A (en) 1993-09-10 1993-09-10 Method and circuit for final data supervisory control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5225624A JPH0784917A (en) 1993-09-10 1993-09-10 Method and circuit for final data supervisory control

Publications (1)

Publication Number Publication Date
JPH0784917A true JPH0784917A (en) 1995-03-31

Family

ID=16832231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5225624A Withdrawn JPH0784917A (en) 1993-09-10 1993-09-10 Method and circuit for final data supervisory control

Country Status (1)

Country Link
JP (1) JPH0784917A (en)

Similar Documents

Publication Publication Date Title
JPS58502027A (en) Peripherals adapted to monitor low data rate serial input/output interfaces
JPH0784917A (en) Method and circuit for final data supervisory control
US5319574A (en) Status change monitoring apparatus
US6907503B2 (en) Dual port RAM communication protocol
US4531215A (en) Validity checking arrangement for extended memory mapping of external devices
JPS633351B2 (en)
JP2659994B2 (en) Modem monitoring method
JPS5848593A (en) Polling transmission system
JPH0576821B2 (en)
JPH0448306B2 (en)
JPS58129859A (en) Transmitting method of process signal
JPS5844419Y2 (en) data channel device
JPH0324601A (en) Control method
JPH0732415B2 (en) Data transmission method and device
JPH0143336B2 (en)
JP2755410B2 (en) Method and apparatus for transmitting and receiving multiple messages
JPH04286241A (en) Supervisory system for communication network
JP2855768B2 (en) Message transfer test method
JPH0739035Y2 (en) Terminal
JPH0213871B2 (en)
JPS6196849A (en) Transmission system control system
JPS6042496B2 (en) Parity error processing method
JPS6045866A (en) Interruption control system
JPS6191755A (en) Data transmission control system
JPH0728730A (en) Communication controller

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001128