JPH0528093A - Circuit for generating burst transfer end interrupt signal - Google Patents

Circuit for generating burst transfer end interrupt signal

Info

Publication number
JPH0528093A
JPH0528093A JP17855491A JP17855491A JPH0528093A JP H0528093 A JPH0528093 A JP H0528093A JP 17855491 A JP17855491 A JP 17855491A JP 17855491 A JP17855491 A JP 17855491A JP H0528093 A JPH0528093 A JP H0528093A
Authority
JP
Japan
Prior art keywords
signal
memory
interrupt signal
circuit
burst
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
JP17855491A
Other languages
Japanese (ja)
Inventor
Shoji Yamashita
祥司 山下
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP17855491A priority Critical patent/JPH0528093A/en
Publication of JPH0528093A publication Critical patent/JPH0528093A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To prevent an interrupt signal of burst transfer end from being erroneously given to a processor from a burst transfer end interrupt signal generating circuit. CONSTITUTION:An interrupt signal S62 is outputted from an AND circuit 62 and is given to a processor 2 on conditions that a memory empty signal 85 of a FIFO memory 5 for temporary data storage is turned on and a data transfer end signal Sb4 indicating the burst transfer end from a DMA control circuit 4 is turned on and a write signal S4 a given from the DMA control circuit 4 to the FIFO memory 5 does not exist for a certain time by delay of a timer 61, that is, a timer output signal S61 is turned on.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、先入先出メモリ(以
下、FIFOメモリという)をデータ転送経路上の一時
記憶に持つバースト・データ転送処理装置等におけるバ
ースト転送終了割込信号発生回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a burst transfer end interrupt signal generating circuit in a burst data transfer processing device or the like having a first-in first-out memory (hereinafter referred to as a FIFO memory) for temporary storage on a data transfer path. Is.

【0002】[0002]

【従来の技術】図2は、従来のバースト転送終了割込信
号発生回路を組み込んだバースト・データ転送処理装置
の一構成例を示すブロック図である。
2. Description of the Related Art FIG. 2 is a block diagram showing an example of the construction of a conventional burst data transfer processing device incorporating a burst transfer end interrupt signal generating circuit.

【0003】このバースト・データ転送処理装置は、デ
ータ転送バス1を有し、それには装置全体を制御するプ
ロセッサ2、データ格納用のメモリ3、ダイレクト・メ
モリ・アクセス制御回路(以下、DMA制御回路とい
う)、及びFIFOメモリ5が接続されている。DMA
制御回路4は、プロセッサ2を介さずに、メモリ3から
データを読出し、書込信号S4aをFIFOメモリ5へ
与え、そのFIFOメモリ5へ読出したデータを書込む
というバースト転送を実施し、バースト転送終了後にデ
ータ転送終了信号S4bを出力する機能を有している。
FIFOメモリ5は、そのメモリ領域が空になると、メ
モリ空信号S5を出力する機能を有している。
This burst data transfer processing device has a data transfer bus 1 in which a processor 2 for controlling the entire device, a memory 3 for storing data, a direct memory access control circuit (hereinafter, a DMA control circuit). , And the FIFO memory 5 are connected. DMA
The control circuit 4 performs burst transfer in which data is read from the memory 3, the write signal S4a is supplied to the FIFO memory 5 and the read data is written to the FIFO memory 5, without passing through the processor 2, and burst transfer is performed. It has a function of outputting the data transfer end signal S4b after the end.
The FIFO memory 5 has a function of outputting a memory empty signal S5 when its memory area becomes empty.

【0004】DMA制御回路4及びFIFOメモリ5に
は、バースト転送終了割込信号発生回路(以下、この回
路を単に割込信号発生回路と略称することもある)6が
接続され、さらに該FIFOメモリ5に、データ転送回
路7が接続されている。割込信号発生回路6は、データ
の一時記憶用FIFOメモリ5のメモリ領域が空を示す
メモリ空信号S5がオンであり、かつDMA制御回路4
がバースト転送終了を示すデータ転送終了信号S4bが
オンである時に、バースト転送終了を割込信号S6の形
でプロセッサ2に通知する機能を有している。データ転
送回路7は、FIFOメモリ5に書込まれたデータを自
発的に取り出して図示しない外部へ送出する機能を有し
ている。
A burst transfer end interrupt signal generation circuit (hereinafter, this circuit may be simply referred to as an interrupt signal generation circuit) 6 is connected to the DMA control circuit 4 and the FIFO memory 5, and the FIFO memory is further provided. A data transfer circuit 7 is connected to 5. The interrupt signal generation circuit 6 has a memory empty signal S5 indicating that the memory area of the FIFO memory 5 for temporary storage of data is empty, and the DMA control circuit 4
Has a function of notifying the processor 2 of the end of burst transfer in the form of an interrupt signal S6 when the data transfer end signal S4b indicating the end of burst transfer is on. The data transfer circuit 7 has a function of spontaneously taking out the data written in the FIFO memory 5 and sending it to the outside (not shown).

【0005】ここで、DMA制御回路4は、例えば数十
〜数百ナノ秒毎に単位ワードの読み書きを繰り返し、高
速バースト転送を実現するものとする。
Here, it is assumed that the DMA control circuit 4 realizes high-speed burst transfer by repeating reading and writing of a unit word every tens to hundreds of nanoseconds, for example.

【0006】次に、動作を説明する。Next, the operation will be described.

【0007】プロセッサ2は、DMA制御回路4に対し
てバースト転送を命令すると、該DMA制御回路4が、
メモリ3からデータを読出し、その読出したデータを書
込信号S4aによってFIFOメモリ5へ書込む。この
FIFOメモリ5に書込まれたデータは、データ転送回
路7によって自発的に取り出され、外部へ送出される。
When the processor 2 commands the DMA control circuit 4 to perform burst transfer, the DMA control circuit 4
The data is read from the memory 3 and the read data is written to the FIFO memory 5 by the write signal S4a. The data written in the FIFO memory 5 is spontaneously taken out by the data transfer circuit 7 and sent to the outside.

【0008】プロセッサ2は、バースト転送中には何等
それに関与せず、全く別の処理を実行してシステム全体
の処理効率を高めている。割込信号発生回路6は、DM
A制御回路4からのデータ転送終了信号S4bがオン、
かつFIFOメモリ5のメモリ空信号S5がオンの時
に、割込信号S6をプロセッサ2へ供給する。これによ
り、プロセッサ2は、データ転送が終了したことを認識
できる。
The processor 2 does not participate in the burst transfer and performs a completely different process to improve the processing efficiency of the entire system. The interrupt signal generation circuit 6 is DM
The data transfer end signal S4b from the A control circuit 4 is turned on,
When the memory empty signal S5 of the FIFO memory 5 is on, the interrupt signal S6 is supplied to the processor 2. As a result, the processor 2 can recognize that the data transfer is completed.

【0009】このように、プロセッサ2は、割込信号発
生回路6からの割込信号S6を監視することにより、バ
ースト転送の終了のタイミングを判断でき、そのタイミ
ングを即時、外部へ通知することができる。このプロセ
ッサ2からの通知を受ける外部の装置は、バースト・デ
ータの最後尾データを受信するタイミングと、前記通知
とのタイミングが合致するので、効率的な処理が実現で
きる。
As described above, the processor 2 can determine the timing of the end of burst transfer by monitoring the interrupt signal S6 from the interrupt signal generation circuit 6, and immediately notify the timing to the outside. it can. Since the external device receiving the notification from the processor 2 matches the timing of receiving the last data of the burst data with the timing of the notification, efficient processing can be realized.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、従来の
バースト転送終了割込信号発生回路6では、次のような
課題があった。
However, the conventional burst transfer end interrupt signal generation circuit 6 has the following problems.

【0011】(a) バースト転送する語数は一般にそ
の都度可変長であり、どの様な長さであっても通知を受
ける外部装置で、前記タイミングを保障する必要があ
る。ところが、従来の構成では、バースト語数が極小で
あるという条件で、FIFOメモリ5内に外部に送出す
べきデータが残留しているにも関わらず、誤った割込信
号S6を発生する。
(A) Generally, the number of words to be burst-transferred is variable each time, and it is necessary to guarantee the timing by an external device that receives a notification regardless of the length. However, in the conventional configuration, an erroneous interrupt signal S6 is generated under the condition that the number of burst words is extremely small, although the data to be transmitted to the outside remains in the FIFO memory 5.

【0012】つまり、FIFOメモリ5は、例えば空の
状態からデータが1個入った場合、そのデータが1個入
ったことをある時間遅れをもって該FIFOメモリ5外
へ知らせる。そのため、FIFOメモリ5内に送出すべ
きデータが残留しているにも関わらず、瞬間的にメモリ
空信号S5がオンになることがあり、それによって割込
信号発生回路6が誤った割込信号S6を発生するおそれ
がある。このような誤った割込信号S6が発生すると、
外部の通知を受ける装置側で、前記タイミングを保障す
るようにプロセッサ2が該外部装置に通知するのは困難
である。
That is, for example, when one piece of data is entered from an empty state, the FIFO memory 5 notifies the outside of the FIFO memory 5 with a certain time delay that one piece of data has been entered. Therefore, the memory empty signal S5 may be momentarily turned on even though the data to be transmitted remains in the FIFO memory 5, which causes the interrupt signal generation circuit 6 to generate an erroneous interrupt signal. There is a risk of generating S6. When such an erroneous interrupt signal S6 is generated,
On the device side receiving an external notification, it is difficult for the processor 2 to notify the external device so as to guarantee the timing.

【0013】(b) バースト語数が極小であるという
特別な条件以外でも、バースト・データ転送中、データ
転送バス1の輻輳(ビジー)等によってバースト・デー
タの流れが該データ転送バス1上で一時途絶えて、FI
FOメモリ5において空の状態がバースト・データの後
尾で発生すると、前記(a)と同様な現象が発生する。
(B) Even under the special condition that the number of burst words is extremely small, during burst data transfer, the flow of burst data is temporarily on the data transfer bus 1 due to congestion of the data transfer bus 1 or the like. Stop, FI
When an empty state occurs at the end of the burst data in the FO memory 5, the same phenomenon as (a) above occurs.

【0014】(c) 一般的な現象として、バースト・
データ転送中、データ転送回路7が外部へデータを送り
出す速度が、DMA制御回路4の転送速度より若干速い
場合で、該FIFOメモリ5がしばしば空になるような
転送条件の時、バースト・データ転送の後尾で前記と同
様な現象が発生する。
(C) As a general phenomenon, a burst
During the data transfer, when the speed at which the data transfer circuit 7 sends the data to the outside is slightly higher than the transfer speed of the DMA control circuit 4 and the transfer condition is such that the FIFO memory 5 is often empty, burst data transfer A phenomenon similar to the above occurs at the tail of the.

【0015】(d) 従来の割込信号発生回路6では、
FIFOメモリ5の空信号S5がオンし、かつDMA制
御回路4のデータ転送終了信号S4bがオンの時に、プ
ロセッサ2に与える割込信号S6を生成している。その
ため、DMA制御回路4がバースト最終データをFIF
Oメモリ5に書込んだ時、該DMA制御回路4はデータ
転送終了信号S4bをオンにしているが、該FIFOメ
モリ5の動作に遅れがあるため、メモリ空信号S5は即
オフにならずにしばらくの間オンのままである。これに
より、FIFOメモリ5内にデータが存在している時で
も、誤った割込信号S6が出力されることがある。
(D) In the conventional interrupt signal generation circuit 6,
When the empty signal S5 of the FIFO memory 5 is turned on and the data transfer end signal S4b of the DMA control circuit 4 is turned on, the interrupt signal S6 given to the processor 2 is generated. Therefore, the DMA control circuit 4 sends the last burst data to the FIFO.
When writing to the O memory 5, the DMA control circuit 4 turns on the data transfer end signal S4b, but since the operation of the FIFO memory 5 is delayed, the memory empty signal S5 does not turn off immediately. It remains on for a while. As a result, an erroneous interrupt signal S6 may be output even when there is data in the FIFO memory 5.

【0016】本発明は、前記従来技術が持っていた課題
として、誤って割込信号S6がプロセッサ2に供給され
るという点について解決したバースト転送終了割込信号
発生回路を提供するものである。
The present invention provides a burst transfer end interrupt signal generation circuit which solves the problem that the interrupt signal S6 is erroneously supplied to the processor 2 as a problem that the above-mentioned prior art has.

【0017】[0017]

【課題を解決するための手段】第1の発明は、前記課題
を解決するために、バースト転送終結処理を行うプロセ
ッサを介することなく、DMA制御回路によってデータ
をバースト的にデータの一時記憶用FIFOメモリに書
込んでバースト転送を行う時に、該バースト転送の終了
を割込信号の形で前記プロセッサに知らせるバースト転
送終了割込信号発生回路において、次のように構成して
いる。
In order to solve the above-mentioned problems, a first aspect of the present invention is a FIFO for temporarily storing data in a burst by a DMA control circuit without a processor for performing a burst transfer termination process. A burst transfer end interrupt signal generation circuit for notifying the processor of the end of the burst transfer in the form of an interrupt signal when the burst transfer is performed by writing in the memory is configured as follows.

【0018】即ち、前記FIFOメモリのメモリ領域が
空を示すメモリ空信号がオンで、前記DMA制御回路が
データ転送終了を示すデータ転送終了信号がオンであ
り、かつ前記DMA制御回路が前記FIFOメモリへ与
える書込信号が一定時間存在しないことを条件にして、
前記割込信号を前記プロセッサに供給する構成にしてい
る。
That is, the memory empty signal indicating that the memory area of the FIFO memory is empty is ON, the data transfer end signal indicating that the DMA control circuit is terminating data transfer is ON, and the DMA control circuit indicates that the FIFO memory is ON. Condition that the write signal given to
The interrupt signal is supplied to the processor.

【0019】第2の発明では、第1の発明のバースト転
送終了割込信号発生回路を、前記FIFOメモリへ供給
する書込信号を一定時間遅らせるタイマと、前記メモリ
空信号、前記データ転送終了信号、及び前記タイマの出
力の論理積を求めて前記割込信号を出力するアンド回路
とで、構成している。
In the second invention, the burst transfer end interrupt signal generating circuit of the first invention delays a write signal supplied to the FIFO memory for a predetermined time, the memory empty signal and the data transfer end signal. , And an AND circuit that obtains the logical product of the outputs of the timer and outputs the interrupt signal.

【0020】[0020]

【作用】第1の発明によれば、従来のバースト転送終了
割込信号発生回路の出力条件を規定する簡単な入力条件
を一つ付加することにより、プロセッサに対する誤った
割込信号の供給を防止している。つまり、FIFOメモ
リのメモリ空信号のオンと、DMA制御回路のデータ転
送終了信号のオンの2つの信号の他に、該DMA制御回
路がFIFOメモリに対する書込信号を与え終えた時か
ら一定時間はバースト転送終了割込信号発生回路の出力
をオンにしないという条件を付加している。
According to the first aspect of the present invention, an erroneous interrupt signal is prevented from being supplied to the processor by adding one simple input condition for defining the output condition of the conventional burst transfer end interrupt signal generating circuit. is doing. That is, in addition to the two signals of turning on the memory empty signal of the FIFO memory and turning on of the data transfer end signal of the DMA control circuit, there is a fixed time from when the DMA control circuit finishes giving the write signal to the FIFO memory. A condition is added that the output of the burst transfer end interrupt signal generation circuit is not turned on.

【0021】これにより、プロセッサはDMA制御回路
にバースト転送の指示を与えると、以後はバースト転送
とは直接関係しない別処理を実施している。このバース
ト転送実施中は、DMA制御回路により、データがFI
FOメモリに書込まれる。このFIFOメモリに書込ま
れたデータは、データ転送回路等で読出され、外部に転
送される。
As a result, when the processor gives a burst transfer instruction to the DMA control circuit, thereafter, another processing which is not directly related to the burst transfer is executed. During the burst transfer, the data is FI by the DMA control circuit.
Written to FO memory. The data written in the FIFO memory is read by a data transfer circuit or the like and transferred to the outside.

【0022】DMA制御回路が出力するデータ終了信号
がオンし、FIFOメモリのメモリ空信号がオンし、さ
らにDMA制御回路がFIFOメモリに書込信号を与え
終えた時から一定時間後のオンになる信号の、3つの信
号により、バースト転送終了割込信号発生回路から割込
信号がプロセッサへ出力される。これにより、プロセッ
サはバースト転送が終了したことを認識し、バースト転
送の終了判定の精度が向上する。
The data end signal output from the DMA control circuit is turned on, the memory empty signal of the FIFO memory is turned on, and further, it is turned on after a fixed time from the time when the DMA control circuit has finished giving the write signal to the FIFO memory. The burst transfer end interrupt signal generation circuit outputs an interrupt signal to the processor in accordance with the three signals. As a result, the processor recognizes that the burst transfer has ended, and the accuracy of the burst transfer end determination is improved.

【0023】第2の発明では、FIFOメモリに与える
書込信号をタイマで一定時間遅らせ、メモリ空信号、タ
イマの出力信号、及びデータ転送終了信号をアンド回路
に与え、該アンド回路で3入力の論理積を求めて割込信
号を生成している。これにより、簡単な回路でかつ的確
に、バースト転送の終了判定の精度が向上する。従っ
て、前記課題を解決できるのである。
According to the second aspect of the invention, the write signal given to the FIFO memory is delayed by the timer for a certain period of time, the memory empty signal, the output signal of the timer, and the data transfer end signal are given to the AND circuit, and the AND circuit inputs three signals. An interrupt signal is generated by obtaining a logical product. This improves the accuracy of burst transfer end determination with a simple circuit. Therefore, the above problem can be solved.

【0024】[0024]

【実施例】図1は、本発明の実施例を示すバースト転送
終了割込信号発生回路を組み込んだバースト・データ転
送処理装置の構成ブロック図であり、従来の図2中の要
素と共通の要素には共通の符号が付されている。
1 is a block diagram showing the construction of a burst data transfer processing device incorporating a burst transfer end interrupt signal generating circuit according to an embodiment of the present invention. Elements common to those shown in FIG. Are assigned common reference numerals.

【0025】このバースト・データ転送処理装置は、従
来と同様のデータ転送バス1、プロセッサ2、メモリ
3、DMA制御回路4、FIFOメモリ5、及びデータ
転送回路7を備えており、そのDMA制御回路4及びF
IFOメモリ5の出力側に接続されたバースト転送終了
割込信号発生回路60の回路構成のみが、従来のものと
異なっている。
This burst data transfer processing device is provided with a data transfer bus 1, a processor 2, a memory 3, a DMA control circuit 4, a FIFO memory 5 and a data transfer circuit 7, which are the same as those in the conventional case. 4 and F
Only the circuit configuration of the burst transfer end interrupt signal generation circuit 60 connected to the output side of the IFO memory 5 is different from the conventional one.

【0026】この割込信号発生回路60は、DMA制御
回路4からFIFOメモリ5へ与えられる書込信号S4
aを一定時間遅延させるタイマ61と、その出力側に接
続された3入力のアンド回路62とで、構成されてい
る。アンド回路62は、DMA制御回路4からのデータ
転送終了信号S4bと、タイマ61の出力信号S61
と、FIFOメモリ5からのメモリ空信号S5とを入力
し、それらの論理積を求めて割込信号S62を生成し、
該割込信号S62をプロセッサ2へ与える回路である。
The interrupt signal generating circuit 60 is provided with a write signal S4 supplied from the DMA control circuit 4 to the FIFO memory 5.
It is composed of a timer 61 for delaying a for a certain time and a 3-input AND circuit 62 connected to the output side thereof. The AND circuit 62 receives the data transfer end signal S4b from the DMA control circuit 4 and the output signal S61 of the timer 61.
And a memory empty signal S5 from the FIFO memory 5 are input, the logical product of them is calculated to generate an interrupt signal S62,
This is a circuit for giving the interrupt signal S62 to the processor 2.

【0027】次に、図1の装置の全体的な動作を説明す
る。プロセッサ2がDMA制御回路4に対してバースト
転送指令を与えると、該DMA制御回路4では、該プロ
セッサ2を介さずに、メモリ3からデータを読出し、書
込信号S4aをFIFOメモリ5に与え、読出したデー
タをそのFIFOメモリ5へ書込むというバースト転送
を実施する。FIFOメモリ5に書込まれたデータは、
データ転送回路7によって取り出され、図示しない外部
装置へ送出される。
Next, the overall operation of the apparatus shown in FIG. 1 will be described. When the processor 2 gives a burst transfer command to the DMA control circuit 4, the DMA control circuit 4 reads data from the memory 3 without passing through the processor 2 and gives a write signal S4a to the FIFO memory 5, Burst transfer of writing the read data into the FIFO memory 5 is performed. The data written in the FIFO memory 5 is
The data is taken out by the data transfer circuit 7 and sent to an external device (not shown).

【0028】この時、バースト転送の終了をプロセッサ
2に通知するため、割込信号発生回路60では、DMA
制御回路4のデータ転送終了信号S4bがオンであり、
FIFOメモリ5のメモリ空信号S5がオンであり、か
つFIFOメモリ5への書込信号S4aが存在する(即
ち、タイマ61の出力信号S61)という3つの信号を
監視し、それらの論理積を求め、3入力が全てオンの時
には割込信号S62を出力する。これにより、プロセッ
サ2は、割込信号発生回路60からの割込信号S62を
監視することにより、バースト・転送の終了のタイミン
グを知ることができ、そのタイミングを即時かつ正確に
外部装置に通知することができる。
At this time, in order to notify the processor 2 of the end of the burst transfer, the interrupt signal generation circuit 60 uses the DMA
The data transfer end signal S4b of the control circuit 4 is ON,
The three signals that the memory empty signal S5 of the FIFO memory 5 is on and the write signal S4a to the FIFO memory 5 exists (that is, the output signal S61 of the timer 61) are monitored, and the logical product of them is obtained. When all three inputs are turned on, an interrupt signal S62 is output. Thus, the processor 2 can know the timing of the end of burst / transfer by monitoring the interrupt signal S62 from the interrupt signal generation circuit 60, and immediately and accurately notify the external device of the timing. be able to.

【0029】次に、図1の動作(I),(II)を図3
(a),(b)を用いてさらに詳細に説明する。
Next, the operations (I) and (II) of FIG. 1 will be described with reference to FIG.
This will be described in more detail with reference to (a) and (b).

【0030】図3(a)はバースト転送中のFIFOメ
モリ5への書込が淀みなく行われる例、及び同図(b)
はバースト転送中のFIFOメモリ5への書込がデータ
転送バス1の都合等で待たされる例を示している。
FIG. 3A shows an example in which writing to the FIFO memory 5 during burst transfer is performed without stagnation, and FIG. 3B.
Shows an example in which the writing to the FIFO memory 5 during the burst transfer is waited for the convenience of the data transfer bus 1.

【0031】(i) 図3(a)に示す動作 DMA制御回路4がFIFOメモリ5へ与えるパルス信
号からなる書込信号S4aに関して規定個数を出し終え
ると同時に、該DMA制御回路4は、データ転送終了信
号S4bをアンド回路62へ出力する。以後、FIFO
メモリ5に書込はない。データ転送回路7により、独自
にFIFOメモリ5からデータを取り出しているので、
該FIFOメモリ5が記憶しているデータが空になった
時点で、メモリ空信号S5がオンとなる。
(I) The operation DMA control circuit 4 shown in FIG. 3 (a) finishes outputting a prescribed number of write signals S4a consisting of pulse signals given to the FIFO memory 5, and at the same time, the DMA control circuit 4 transfers data. The end signal S4b is output to the AND circuit 62. After that, FIFO
There is no writing in the memory 5. Since the data transfer circuit 7 independently retrieves the data from the FIFO memory 5,
When the data stored in the FIFO memory 5 becomes empty, the memory empty signal S5 turns on.

【0032】一方、タイマ61は、FIFOメモリ5へ
のパルス信号からなる書込信号S4aが消滅してから一
定時間Tw 経過後にタイマ出力信号S61をオンにす
る。この一定時間Tw については、書込信号S4aをF
IFOメモリ5が空の時に与えた時、それに対応して該
FIFOメモリ5がメモリ空信号S5をオフにするまで
の時間より、若干長くする必要があるが、これについて
は後の(II)の動作で説明する。
On the other hand, the timer 61 turns on the timer output signal S61 after a certain time T w has elapsed after the write signal S4a consisting of the pulse signal to the FIFO memory 5 disappeared. For this fixed time T w , the write signal S4a is set to F
When the IFO memory 5 is given when it is empty, it is necessary to make it slightly longer than the time until the FIFO memory 5 turns off the memory empty signal S5, which is described later in (II). The operation will be described.

【0033】アンド回路62は、データ転送終了信号S
4b、タイマ出力信号S61、及びメモリ空信号S5が
全てオンの時に割込信号S62をプロセッサ2に与えて
いるので、この時点でFIFOメモリ5内のデータは全
てデータ転送回路7を経由して外部に転送済みである。
The AND circuit 62 has a data transfer end signal S.
4b, the timer output signal S61, and the memory empty signal S5 are all on, the interrupt signal S62 is given to the processor 2. Therefore, at this point, all the data in the FIFO memory 5 is transferred to the outside via the data transfer circuit 7. Have been transferred to.

【0034】(II) 図3(b)に示す動作 DMA制御回路4がFIFOメモリ5へ与えるパルス信
号からなる書込信号S4aに関して規定個数を出し終え
ると同時に、該DMA制御回路4は、データ転送終了信
号S4bをオンにする。以後、FIFOメモリ5に書込
はない。データ転送回路7は、独自にFIFOメモリ5
からデータを取り出しているので、該FIFOメモリ5
が記憶しているデータが空になった時点でメモリ空信号
S5がオンとなる。
(II) The operation DMA control circuit 4 shown in FIG. 3 (b) finishes outputting a prescribed number of write signals S4a consisting of pulse signals given to the FIFO memory 5, and at the same time, the DMA control circuit 4 transfers data. The end signal S4b is turned on. After that, there is no writing in the FIFO memory 5. The data transfer circuit 7 has its own FIFO memory 5
Since the data is taken out from the FIFO memory 5,
When the data stored in is empty, the memory empty signal S5 is turned on.

【0035】図3(a)との相違は、バースト転送中、
FIFOメモリ5への書込が等間隔に行われず、書込パ
ルスの間隔が最終書込時に広がっている。そのため、F
IFOメモリ5が一旦空になり、その後、最終書込が実
施されてFIFOメモリ5のメモリ空信号S5がオフに
なり、その後再びオンになっている点が図3(a)と異
なっている。
The difference from FIG. 3A is that during burst transfer,
Writing to the FIFO memory 5 is not performed at equal intervals, and the intervals of write pulses are widened at the time of final writing. Therefore, F
3A in that the IFO memory 5 is once emptied, then the final write is performed, the memory empty signal S5 of the FIFO memory 5 is turned off, and then turned on again.

【0036】図3(b)において、時間Te は書込信号
S4aをFIFOメモリ5が空の時に与えた時、それに
対応して該FIFOメモリ5がメモリ空信号S5をオフ
にするまでの時間であり、該FIFOメモリ5の固有値
である。タイマ61の出力信号S61については、FI
FOメモリ5への書込パルスが消滅してから一定時間T
w 経過後にオンになる信号であり、図3(b)の場合
は、書込パルス間隔の相違からオンになる部分が2箇所
ある。
In FIG. 3B, the time T e is the time until the FIFO memory 5 turns off the memory empty signal S5 when the write signal S4a is given when the FIFO memory 5 is empty. Which is a unique value of the FIFO memory 5. Regarding the output signal S61 of the timer 61, the FI
For a certain time T after the writing pulse to the FO memory 5 disappears
This signal is turned on after the elapse of w , and in the case of FIG. 3B, there are two portions that are turned on due to the difference in write pulse intervals.

【0037】アンド回路62は、データ転送終了信号S
4b、タイマ出力信号S61、メモリ空信号S5が全て
オンの時に、プロセッサ2へ割込信号S62を与えるよ
うに構成され、時間Tw は時間Te より長くなるように
タイマ61で管理される。そのため、データ転送終了信
号S4bとメモリ空信号S5がオンになった時点で割込
信号S62はアンド回路62から出力されず、データ転
送終了信号S4bとタイマ出力信号S61とメモリ空信
号S5とがオンになった時点で、アンド回路62がプロ
セッサ2に対して割込信号S62を与える。この時点
で、FIFOメモリ5内のデータは全てデータ転送回路
7を経由して外部へ転送済みであることが保障されてい
る。
The AND circuit 62 receives the data transfer end signal S.
4b, the timer output signal S61, when the memory space signal S5 are all turned on, is configured to provide an interrupt signal S62 to the processor 2, the time T w is managed by the timer 61 to be longer than the time T e. Therefore, when the data transfer end signal S4b and the memory empty signal S5 are turned on, the interrupt signal S62 is not output from the AND circuit 62, and the data transfer end signal S4b, the timer output signal S61, and the memory empty signal S5 are turned on. Then, the AND circuit 62 gives an interrupt signal S62 to the processor 2. At this point, it is guaranteed that all the data in the FIFO memory 5 has already been transferred to the outside via the data transfer circuit 7.

【0038】以上のように、本実施例では次のような利
点を有している。データ転送終了信号S4bとメモリ空
信号S5の他に、FIFOメモリ5への書込信号S4a
をタイマ61を介してタイマ出力信号S61がオンにな
る一定時間は、アンド回路62から割込信号S62が出
力されない。そのため、バースト転送に関わるあらゆる
タイミングの変動、あるいはバースト語数がどのように
可変しても、プロセッサ2へ与える割込信号S62はバ
ースト転送終了タイミングのうち、FIFOメモリ5か
らデータ転送回路7を経由してデータが外部へ送出され
た時点でのタイミングを、プロセッサ2から外部の装置
に正確に知らせることを保障することができる。従っ
て、データ転送回路7を経由してデータを受信する外部
装置に対し、バースト・データ最後尾データを受信する
タイミンを正確に認識させることができるので、例えば
外部の受信側装置では高効率及び信頼性の高い処理が可
能である。
As described above, this embodiment has the following advantages. In addition to the data transfer end signal S4b and the memory empty signal S5, a write signal S4a to the FIFO memory 5
The AND circuit 62 does not output the interrupt signal S62 for a certain period of time when the timer output signal S61 is turned on via the timer 61. Therefore, the interrupt signal S62 given to the processor 2 is transmitted from the FIFO memory 5 through the data transfer circuit 7 at the burst transfer end timing, no matter how the timing of the burst transfer changes or the number of burst words changes. It is possible to guarantee that the processor 2 accurately informs the external device of the timing when the data is transmitted to the outside. Therefore, the external device that receives the data via the data transfer circuit 7 can accurately recognize the timing that receives the last data of the burst data, so that, for example, the external receiving device is highly efficient and reliable. Highly efficient processing is possible.

【0039】なお、本発明は上記実施例に限定されず、
種々の変形が可能である。その変形例としては、例えば
次のようなものがある。
The present invention is not limited to the above embodiment,
Various modifications are possible. The following are examples of such modifications.

【0040】(i) 上記実施例では、バースト転送終
了割込信号発生回路60をタイマ61及びアンド回路6
2で構成したが、タイマ61を他の遅延手段で構成した
り、あるいはデータ転送終了信号S4b、タイマ出力信
号S61及びメモリ空信号S5の極性を変えることによ
り、アンド回路62を他のゲート回路等で構成すること
も可能である。
(I) In the above embodiment, the burst transfer end interrupt signal generating circuit 60 is provided with the timer 61 and the AND circuit 6.
Although the timer 61 is configured by other delay means, or by changing the polarities of the data transfer end signal S4b, the timer output signal S61 and the memory empty signal S5, the AND circuit 62 is configured by another gate circuit or the like. It is also possible to configure with.

【0041】(ii) 図1のバースト・データ転送処理
装置に、他の機能ブロック等を付加することにより、種
々のデータ転送システムを構成しても良い。例えば、F
IFOメモリ5を使用したバースト・データ転送回路と
プロセッサ2とを組み合わせた一般のデータ転送システ
ムにも、上記実施例を適用でき、それによってバースト
・データ転送の汎用性を拡大できる。
(Ii) Various data transfer systems may be constructed by adding other functional blocks to the burst data transfer processing device of FIG. For example, F
The above-described embodiment can be applied to a general data transfer system in which the burst data transfer circuit using the IFO memory 5 and the processor 2 are combined, whereby the versatility of burst data transfer can be expanded.

【0042】[0042]

【発明の効果】以上詳細に説明したように、第1の発明
によれば、メモリ空信号がオンで、データ転送終了信号
がオンで、かつ書込信号が一定時間存在しないことを条
件にして、割込信号をプロセッサに供給するようにした
ので、バースト転送に関わるあらゆるタイミングの変
動、あるいはバースト語数がどのように可変しても、割
込信号がプロセッサに誤って供給されることがなく、バ
ースト転送の終了を正確にプロセッサに知らせることが
できる。そのため、例えば外部の受信側装置等では、高
効率及び信頼性の高い処理が可能となる。
As described above in detail, according to the first aspect of the invention, the memory empty signal is on, the data transfer end signal is on, and the write signal does not exist for a certain period of time. Since the interrupt signal is supplied to the processor, the interrupt signal is not erroneously supplied to the processor, no matter how the timing of burst transfer changes or the number of burst words can be changed. It is possible to accurately notify the processor of the end of the burst transfer. Therefore, for example, an external receiving side device or the like can perform highly efficient and highly reliable processing.

【0043】第2の発明によれば、タイマとアンド回路
とでバースト転送終了割込信号を構成したので、タイマ
で的確に書込信号を遅らせ、データ転送終了信号、タイ
マ出力信号、及びメモリ空信号が全てオン状態となった
時にアンド回路から、簡単な構造で、的確に割込信号を
プロセッサへ供給できる。
According to the second aspect of the invention, since the burst transfer end interrupt signal is constituted by the timer and the AND circuit, the write signal is properly delayed by the timer, and the data transfer end signal, the timer output signal, and the memory empty signal. When all the signals are turned on, the AND circuit can accurately supply the interrupt signal to the processor with a simple structure.

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

【図1】本発明の実施例を示すバースト転送終了割込信
号発生回路を組み込んだバースト・データ転送処理装置
の構成ブロック図である。
FIG. 1 is a configuration block diagram of a burst data transfer processing device incorporating a burst transfer end interrupt signal generation circuit showing an embodiment of the present invention.

【図2】従来のバースト転送終了割込信号発生回路を組
み込んだバースト・データ転送処理装置の構成ブロック
図である。
FIG. 2 is a configuration block diagram of a burst data transfer processing device incorporating a conventional burst transfer end interrupt signal generation circuit.

【図3】図1の動作を示すタイミングチャートである。FIG. 3 is a timing chart showing the operation of FIG.

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

1 データ転送バス 2 プロセッサ 3 メモリ 4 DMA制御回路 5 FIFOメモリ 7 データ転送回路 60 バースト転送終了割込信号発生回路 61 タイマ 62 アンド回路 S4a 書込信号 S4b データ転送終了信号 S5 メモリ空信号 S61 タイマ出力信号 S62 割込信号 1 data transfer bus 2 processors 3 memory 4 DMA control circuit 5 FIFO memory 7 Data transfer circuit 60 Burst transfer end interrupt signal generation circuit 61 timer 62 AND circuit S4a Write signal S4b Data transfer end signal S5 Memory empty signal S61 Timer output signal S62 interrupt signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 バースト転送終結処理を行うプロセッサ
を介することなく、 ダイレクト・メモリ・アクセス制御回路によってデータ
をバースト的にデータの一時記憶用先入先出メモリに書
込んでバースト転送を行う時に、該バースト転送の終了
を割込信号の形で前記プロセッサに知らせるバースト転
送終了割込信号発生回路において、 前記先入先出メモリのメモリ領域が空を示すメモリ空信
号がオンで、前記ダイレクト・メモリ・アクセス制御回
路がデータ転送終了を示すデータ転送終了信号がオンで
あり、かつ前記ダイレクト・メモリ・アクセス制御回路
が前記先入先出メモリへ与える書込信号が一定時間存在
しないことを条件にして、前記割込信号を前記プロセッ
サに供給する構成にしたことを特徴とするバースト転送
終了割込信号発生回路。
1. When performing burst transfer by writing data in a burst into a first-in first-out memory for temporary storage of data by a direct memory access control circuit without passing through a processor for performing burst transfer termination processing, In the burst transfer end interrupt signal generation circuit for notifying the processor of the end of burst transfer in the form of an interrupt signal, a memory empty signal indicating that the memory area of the first-in first-out memory is empty is ON, and the direct memory access If the data transfer end signal indicating the end of data transfer by the control circuit is on, and the write signal given to the first-in first-out memory by the direct memory access control circuit does not exist for a certain period of time, the division Burst transfer end interrupt signal generation characterized by supplying an interrupt signal to the processor Road.
【請求項2】 請求項1記載のバースト転送終了割込信
号発生回路において、 前記先入先出メモリへ供給する書込信号を一定時間遅ら
せるタイマと、 前記メモリ空信号、前記データ転送終了信号、及び前記
タイマの出力の論理積を求めて前記割込信号を出力する
アンド回路とで、 構成したことを特徴とするバースト転送終了割込信号発
生回路。
2. The burst transfer end interrupt signal generation circuit according to claim 1, wherein a timer for delaying a write signal supplied to the first-in first-out memory by a predetermined time, the memory empty signal, the data transfer end signal, and A burst transfer end interrupt signal generation circuit comprising: an AND circuit for obtaining a logical product of outputs of the timers and outputting the interrupt signal.
JP17855491A 1991-07-19 1991-07-19 Circuit for generating burst transfer end interrupt signal Withdrawn JPH0528093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17855491A JPH0528093A (en) 1991-07-19 1991-07-19 Circuit for generating burst transfer end interrupt signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17855491A JPH0528093A (en) 1991-07-19 1991-07-19 Circuit for generating burst transfer end interrupt signal

Publications (1)

Publication Number Publication Date
JPH0528093A true JPH0528093A (en) 1993-02-05

Family

ID=16050517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17855491A Withdrawn JPH0528093A (en) 1991-07-19 1991-07-19 Circuit for generating burst transfer end interrupt signal

Country Status (1)

Country Link
JP (1) JPH0528093A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6728795B1 (en) * 2000-04-17 2004-04-27 Skyworks Solutions, Inc. DMA channel for high-speed asynchronous data transfer
US6944397B2 (en) * 2003-03-25 2005-09-13 Fujinon Corporation Distance measuring device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6728795B1 (en) * 2000-04-17 2004-04-27 Skyworks Solutions, Inc. DMA channel for high-speed asynchronous data transfer
US6944397B2 (en) * 2003-03-25 2005-09-13 Fujinon Corporation Distance measuring device

Similar Documents

Publication Publication Date Title
US5195185A (en) Dynamic bus arbitration with concurrent same bus granting every cycle
US4740891A (en) Asynchronous state machine
EP2808801B1 (en) Multiple data rate memory with read timing information
JPH077376B2 (en) System bus control method
JPH04232518A (en) Digital processor block circuit
US8176353B2 (en) Method for the data transfer between at least two clock domains
JPH0528093A (en) Circuit for generating burst transfer end interrupt signal
JPH0259949A (en) Daisy chain interruption processor
US20030088724A1 (en) Asynchronous bus interface apparatus
JP2624388B2 (en) DMA device
JP3093374B2 (en) Interrupt controller
JP2000315381A (en) Circuit and method for generating pointer
JPH10106253A (en) I/o buffer memory circuit
KR970004522B1 (en) Preempt request arbitrator among bus masters
JP6580815B2 (en) Bus access timing control circuit
JP3266610B2 (en) DMA transfer method
EP1122733A1 (en) Internal regeneration of the address latch enable (ALE) signal of a protocol of management of a burst interleaved memory and relative circuit
SU1566336A1 (en) Device for information output
SU1755367A1 (en) Device for generating pulse trains
JPH067519Y2 (en) Memory access controller
JP3211971B2 (en) Data input and input / output devices
KR100445915B1 (en) Apparatus for controlling memory system
JP2004110705A (en) Data transfer device
JPH06103766A (en) Refresh and arbiter circuit for dram
JPH0738594A (en) Cyclic data control method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981008