JP2000011636A - Control circuit of asynchronous first-in first-out memory - Google Patents

Control circuit of asynchronous first-in first-out memory

Info

Publication number
JP2000011636A
JP2000011636A JP15173599A JP15173599A JP2000011636A JP 2000011636 A JP2000011636 A JP 2000011636A JP 15173599 A JP15173599 A JP 15173599A JP 15173599 A JP15173599 A JP 15173599A JP 2000011636 A JP2000011636 A JP 2000011636A
Authority
JP
Japan
Prior art keywords
signal
clock
unit
transmitted
write
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.)
Granted
Application number
JP15173599A
Other languages
Japanese (ja)
Other versions
JP3138865B2 (en
Inventor
Kenshiyu Kin
堅 洙 金
Shoseki Ko
鐘 錫 高
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.)
KOREA TELECOMMUN
Original Assignee
KOREA TELECOMMUN
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 KOREA TELECOMMUN filed Critical KOREA TELECOMMUN
Publication of JP2000011636A publication Critical patent/JP2000011636A/en
Application granted granted Critical
Publication of JP3138865B2 publication Critical patent/JP3138865B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/06Clock generators producing several clock signals

Abstract

PROBLEM TO BE SOLVED: To obtain a control circuit for an asynchronous first-in first-out memory device with a less-capacity memory by generating a recognition event signal from a write and read processor by an output signal from means for judging the data store condition in the memory.
SOLUTION: A D-flip flop at a recognition event signal output part latches a signal outputted from a selector by a clock transmitted through an inverter 352 and outputs it to a read processor or selector, in this case if a first store condition signal empty which has been inputted as a select signal at the selector is under a low state, the recognition event signal output part outputs a recognition event signal oark to the read processor, and if the first store condition signal empty is under a high state, the D-flip flop at the recognition event signal output part latches a signal outputted from the selector and then returns it to the input of the selector.
COPYRIGHT: (C)2000,JPO

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は非同期式先入先出メ
モリ装置の制御回路に関し、特に自主的に生成したロー
カル(Local)クロックを利用して非同期式先入先出メモ
リ装置を效率的に制御するための制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control circuit for an asynchronous first-in, first-out memory device, and more particularly, to efficiently control an asynchronous first-in, first-out memory device by using a locally generated local clock. To a control circuit.

【0002】[0002]

【従来の技術】近年、マルチメディアサービス分野の技
術及び半導体技術の飛躍的な発展により、携帯用端末ま
たは無線マルチメディア端末を介したサービスの需要及
び発展が加速されている。このようなサービスは超小型
の注文型半導体(ASIC)チップによって可能になり、近来
に開発されているASICチップ等は小型、軽量、低電力消
耗の程度によって価格競争力が決定される。したがっ
て、ハードウェアを設計するにあたって上記要件を揃え
なければならない。さる数十年間では、ほとんどあらゆ
るデジタルシステムのデザインにおいて、中央集中的制
御が可能で制御が単純なシステムクロックにシステムの
あらゆる動作を同期させる同期式設計が主流をなしてき
た。ただし、コンピュータが最初に開発され始めた初期
には非同期式設計技法でデジタルシステムを設計するこ
ともあった。しかし、非同期式設計はデータが処理され
るあちこちで局部的に制御がなされなければならないの
で、設計が複雑でかつ実現がむずかしいという短所があ
ったことから同期式設計が主流をなすようになった。
2. Description of the Related Art In recent years, with the rapid development of multimedia service technology and semiconductor technology, demand and development of services via portable terminals or wireless multimedia terminals have been accelerated. Such services are made possible by ultra-small custom-made semiconductor (ASIC) chips, and the price competitiveness of recently developed ASIC chips and the like is determined by the degree of small size, light weight, and low power consumption. Therefore, when designing hardware, the above requirements must be aligned. In recent decades, the design of almost any digital system has been dominated by synchronous designs that synchronize all operations of the system to a system clock that allows for centralized control and is simple to control. However, in the early days when computers were first developed, digital systems were sometimes designed using asynchronous design techniques. However, asynchronous design has to be controlled locally in various places where data is processed, so the disadvantages of complex design and difficulty in realization have made synchronous design the mainstream. .

【0003】[0003]

【発明が解決しようとする課題】さらに、最近では、半
導体技術の発展により一つのチップに大規模なロジック
を含めるようになったが、膨大なシステム全体を制御す
るためのクロックの制御が半導体回路設計時に大きな負
担として生じ、実際にクロックに対するオーバーヘッド
(overhead)が非常に大きくなってシステム全体のロジッ
クの領域の1/3程度までをクロック分配用に割り当てな
ければならない場合も発生したし、それによって設計が
非常に複雑でかつむずかしくなることだけでなく、多く
の電力が浪費される等の色々な問題が引き起こされた。
Furthermore, recently, with the development of semiconductor technology, large-scale logic has been included in one chip. However, control of a clock for controlling an enormous system as a whole has been performed by a semiconductor circuit. It is a heavy burden at the time of design, and the actual overhead for the clock
In some cases, (overhead) became so large that up to about one-third of the logic area of the entire system had to be allocated for clock distribution, which only made the design very complex and difficult. Various problems, such as wasting a lot of power.

【0004】本発明は上記のような問題点を解決するた
めに為されたものであり、自主的に生成したローカルク
ロックによって必要とした部分だけを局部的に動作させ
てその以外の部分は動作させないことにより、不必要な
電力消耗を防止し、大規模システム設計時に生じるクロ
ック分配の問題を簡単に解消する非同期式先入先出メモ
リ装置の制御回路を提供することをその目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems. Only a part required by a local clock generated independently is operated locally, and other parts are operated. An object of the present invention is to provide a control circuit for an asynchronous first-in, first-out memory device which prevents unnecessary power consumption and easily solves a clock distribution problem which occurs when designing a large-scale system.

【0005】[0005]

【課題を解決するための手段】本発明の、書き込み及び
読み出しプロセッサー間に備わる先入先出(FIFO)メモリ
を非同期式で制御するための回路は、前記書き込み及び
読み出しプロセッサーから要求イベント信号を受け取
り、クロックを発生するためのクロック発生手段と、前
記クロック発生手段からクロックを受け取り、データを
貯蔵するアドレスを指定するための書き込みアドレスポ
インタ信号及び読むデータが貯蔵されたアドレスを指定
するための読み出しアドレスポインタ信号を発生する書
き込み及び読み出しアドレスポインタ発生手段と、前記
クロック発生手段から伝えられたクロックによって、前
記書き込み及び読み出しアドレスポインタ発生手段から
伝えられた書き込みアドレスポインタ信号及び読み出し
アドレスポインタ信号を前記メモリに選択的に伝達する
ための第1選択手段と、前記クロック発生手段からクロ
ックを受け取り、前記メモリにデータを書くための書き
込みイネーブル信号及び前記メモリに貯蔵されたデータ
を読むための読み出しイネーブル信号を発生して前記メ
モリに伝達する書き込み及び読み出しイネーブル信号発
生手段と、前記書き込み及び読み出しアドレスポインタ
発生手段から伝えられた書き込みアドレスポインタ信号
及び読み出しアドレスポインタ信号を利用して、前記メ
モリにデータが貯蔵されている状態を判別するための貯
蔵状態判別手段と、前記クロック発生手段から伝えられ
たクロックと前記貯蔵状態判別手段の出力信号とによっ
て、前記書き込み及び読み出しプロセッサーから要求イ
ベント信号を受け取って確認イベント信号を発生して前
記書き込み及び読み出しプロセッサーに伝達する確認イ
ベント信号発生手段とを含み、これにより上記目的を達
成する。
SUMMARY OF THE INVENTION A circuit for asynchronously controlling a first-in, first-out (FIFO) memory between a write and a read processor receives a request event signal from the write and a read processor. Clock generating means for generating a clock, a write address pointer signal for receiving a clock from the clock generating means and designating an address where data is stored, and a read address pointer for designating an address where data to be read are stored A write / read address pointer generating means for generating a signal; and a write address pointer signal and a read address pointer signal transmitted from the write / read address pointer generating means by a clock transmitted from the clock generating means. First selecting means for selectively transmitting the data to the memory, a write enable signal for receiving a clock from the clock generating means and writing data to the memory, and a read enable signal for reading data stored in the memory A write / read enable signal generating means for generating a signal and transmitting the signal to the memory; and a write address pointer signal and a read address pointer signal transmitted from the write / read address pointer generating means, to store data in the memory. Receiving a request event signal from the write and read processor according to a clock transmitted from the clock generating means and an output signal of the storage state determining means, and confirming the stored state determining means for determining the stored state; Event information The generated and a confirmation event signal generating means for transmitting to said writing and reading processor, thereby achieving the above object.

【0006】本発明の非同期式先入先出メモリ装置の制
御回路は、前記クロック発生手段から伝えられたクロッ
クを反転するための反転手段と、前記クロック発生手段
から伝えられたクロックによって、前記メモリから出力
されたデータをラッチして前記読み出しプロセッサーに
伝達するラッチ手段とをさらに備えていてもよい。
The control circuit of the asynchronous first-in first-out memory device according to the present invention includes an inverting means for inverting a clock transmitted from the clock generating means, and a clock transmitted from the clock generating means. Latch means for latching the output data and transmitting the latched data to the read processor.

【0007】前記クロック発生手段は、前記書き込みプ
ロセッサーから要求イベント信号を受け取ってクロック
を発生するための第1クロック発生部と、前記読み出し
プロセッサーから要求イベント信号を受け取ってクロッ
クを発生するための第2クロック発生部とを備えていて
もよい。
The clock generating means includes a first clock generator for receiving a request event signal from the write processor and generating a clock, and a second clock generator for receiving the request event signal from the read processor and generating a clock. A clock generator may be provided.

【0008】前記第1クロック発生部は、前記書き込み
プロセッサーから伝えられた要求イベント信号を遅延す
るための遅延部と、前記書き込みプロセッサーから直接
伝えられた要求イベント信号と前記遅延部を介して遅れ
た要求イベント信号とを受け取り、クロックを発生する
ためのクロック発生器とを備えていてもよい。
[0008] The first clock generating unit is configured to delay a request event signal transmitted from the write processor, and to delay the request event signal transmitted directly from the write processor via the delay unit. And a clock generator for receiving the request event signal and generating a clock.

【0009】前記クロック発生器は、第1入力端が前記
書き込みプロセッサーの出力端に接続され、第2入力端
が前記遅延部の出力端に接続され、前記第1入力端を介
して前記書き込みプロセッサーから直接入力された要求
イベント信号と前記遅延部を介して遅れて前記第2入力
端に入力された要求イベント信号とを排他的論理和する
ための排他的論理和演算手段とを備えていてもよい。
The clock generator has a first input terminal connected to an output terminal of the write processor, a second input terminal connected to an output terminal of the delay unit, and the clock processor via the first input terminal. Exclusive OR operation means for exclusive ORing the request event signal directly input from the second input terminal and the request event signal input to the second input terminal with a delay via the delay unit. Good.

【0010】前記第2クロック発生部は、前記読み出し
プロセッサーから伝えられた要求イベント信号を遅延す
るための遅延部と、前記読み出しプロセッサーから直接
伝えられた要求イベント信号と前記遅延部を介して遅れ
た要求イベント信号とを受け取ってクロックを発生する
ためのクロック発生器とを備えていてもよい。
[0010] The second clock generating unit may delay the request event signal transmitted from the read processor, and may delay the request event signal transmitted directly from the read processor via the delay unit. And a clock generator for receiving the request event signal and generating a clock.

【0011】前記クロック発生器は、第1入力端が前記
読み出しプロセッサーの出力端に接続され、第2入力端
が前記遅延部の出力端に接続され、前記第1入力端を介
して前記読み出しプロセッサーから直接入力された要求
イベント信号と前記遅延部を介して遅れて前記第2入力
端に入力された要求イベント信号とを排他的論理和する
ための排他的論理和演算手段を備えていてもよい。
The clock generator has a first input terminal connected to an output terminal of the read processor, a second input terminal connected to an output terminal of the delay unit, and the read processor via the first input terminal. Exclusive OR operation means for exclusive-ORing the request event signal directly input from the controller and the request event signal input to the second input terminal with a delay via the delay unit. .

【0012】前記書き込み及び読み出しアドレスポイン
タ発生手段は、前記第1クロック発生部から伝えられた
クロックを受け取り、データを貯蔵するアドレスを指定
するための書き込みアドレスポインタ信号を発生して前
記第1選択手段と貯蔵状態判別手段に伝達する書き込み
アドレスポインタ発生手段と、前記第2クロック発生部
から伝えられたクロックを受け取り、読むデータが貯蔵
されたアドレスを指定するための読み出しアドレスポイ
ンタ信号を発生して前記第1選択手段と貯蔵状態判別手
段に伝達する読み出しアドレスポインタ発生手段とを備
えていてもよい。
The write and read address pointer generator receives the clock transmitted from the first clock generator, generates a write address pointer signal for designating an address where data is stored, and generates the first selector. Write address pointer generating means for transmitting to the storage state discriminating means, receiving the clock transmitted from the second clock generating section, and generating a read address pointer signal for designating an address at which data to be read is stored. A read address pointer generating means for transmitting to the first selecting means and the storage state determining means may be provided.

【0013】前記書き込みアドレスポインタ発生手段
は、外部から印加される初期化信号をリセット端子を介
して受け取り、入力端子が前記第1クロック発生部の出
力端に接続され、出力端子が前記第1選択手段の第1入
力端と前記貯蔵状態判別手段の第1入力端とに接続さ
れ、前記第1クロック発生部から伝えられたクロックを
カウントして前記第1選択手段の第1入力端と貯蔵状態
判別手段の第1入力端とに伝達する第1カウンティング
手段を備えていてもよい。
The write address pointer generating means receives an externally applied initialization signal via a reset terminal, has an input terminal connected to an output terminal of the first clock generation section, and has an output terminal connected to the first selection terminal. Means connected to a first input terminal of the first means and a first input terminal of the storage state discriminating means for counting clocks transmitted from the first clock generating unit, and connecting the first input terminal of the first selection means to the storage state. A first counting means for transmitting the signal to the first input terminal of the determination means may be provided.

【0014】前記読み出しアドレスポインタ発生手段
は、外部から印加される初期化信号をリセット端子を介
して受け取り、入力端子が前記第2クロック発生部の出
力端に接続され、出力端子が前記第1選択手段の第2入
力端と前記貯蔵状態判別手段の第2入力端とに接続さ
れ、前記第2クロック発生部から伝えられたクロックを
カウントして前記第1選択手段の第2入力端と前記貯蔵
状態判別手段の第2入力端とに伝達する第2カウンティ
ング手段を備えていてもよい。
The read address pointer generating means receives an externally applied initialization signal via a reset terminal, has an input terminal connected to an output terminal of the second clock generation section, and has an output terminal connected to the first selection terminal. Means connected to a second input terminal of the storage means and a second input terminal of the storage state discriminating means for counting clocks transmitted from the second clock generation unit, and connecting the second input terminal of the first selection means to the storage means. A second counting means for transmitting the signal to the second input terminal of the state determination means may be provided.

【0015】前記反転手段は、入力端が前記第1クロッ
ク発生部の出力端に接続され、出力端が前記書き込み及
び読み出しイネーブル信号発生手段の入力端に接続さ
れ、前記第1クロック発生部から伝えられたクロックを
反転して前記書き込み及び読み出しイネーブル信号発生
手段に伝達する第1反転部と、入力端が前記第2クロッ
ク発生部の出力端に接続され、出力端が前記確認イベン
ト信号発生手段の入力端に接続され、前記第2クロック
発生部から伝えられたクロックを反転して前記確認イベ
ント信号発生手段に伝達する第2反転部とを備えていて
もよい。
The inverting means has an input terminal connected to an output terminal of the first clock generation unit, an output terminal connected to an input terminal of the write / read enable signal generation means, and transmits the signal from the first clock generation unit. A first inverting unit for inverting the received clock and transmitting the inverted clock to the write and read enable signal generating means; an input terminal connected to the output terminal of the second clock generating unit; A second inverting unit connected to the input terminal for inverting a clock transmitted from the second clock generating unit and transmitting the inverted clock to the confirmation event signal generating unit.

【0016】前記書き込み及び読み出しイネーブル信号
発生手段は、入力端が前記第1反転部の出力端に接続さ
れ、出力端が前記メモリに接続され、前記第1反転部か
ら伝えられたクロックを遅延して前記メモリに伝達する
遅延器を備えていてもよい。
The write and read enable signal generating means has an input terminal connected to the output terminal of the first inversion unit, an output terminal connected to the memory, and delays a clock transmitted from the first inversion unit. A delay unit for transmitting the data to the memory.

【0017】前記ラッチ手段は、外部から印加される初
期化信号をリセット端子を介して受け取り、クロック端
子が前記第2クロック発生部の出力端に接続され、出力
端子が前記読み出しプロセッサーの入力端に接続され、
前記メモリから伝えられたデータを遅延して前記読み出
しプロセッサーに出力するD−フリップフロップを備え
ていてもよい。
The latch means receives an externally applied initialization signal via a reset terminal, has a clock terminal connected to an output terminal of the second clock generator, and has an output terminal connected to an input terminal of the read processor. Connected
The memory may further include a D-flip-flop that delays data transmitted from the memory and outputs the delayed data to the read processor.

【0018】前記貯蔵状態判別手段は、前記書き込みア
ドレスポインタ発生手段から伝えられた書き込みアドレ
スポインタ信号と前記読み出しアドレスポインタ発生手
段から伝えられた読み出しアドレスポインタ信号との大
きさを比較する第1比較手段と、前記書き込みアドレス
ポインタ信号から前記読み出しアドレスポインタ信号を
減算して第1減算値を出力し、前記メモリのアドレス最
大値から前記読み出しアドレスポインタ信号を減算した
第2減算値と前記書き込みアドレスポインタ信号とを加
算した加算値を出力する加減算手段と、前記第1比較手
段の出力信号によって、前記加減算手段の出力信号を選
択的に伝達するための第2選択手段と、前記第2選択手
段の出力信号と所定の基準値とが同じかどうかを比較
し、比較結果により判別された前記メモリのデータ貯蔵
状態を示す第1貯蔵状態信号を前記確認イベント信号発
生手段に伝達する第2比較手段と、前記第2選択手段の
出力信号とあらかじめ設定された前記メモリのアドレス
最大値とが同じかどうかを比較して、比較結果により判
別された前記メモリのデータ貯蔵状態を示す第2貯蔵状
態信号を前記確認イベント信号発生手段に伝達する第3
比較手段とを備えていてもよい。
The storage state determination means compares the magnitude of a write address pointer signal transmitted from the write address pointer generation means with the magnitude of a read address pointer signal transmitted from the read address pointer generation means. Subtracting the read address pointer signal from the write address pointer signal to output a first subtraction value, a second subtraction value obtained by subtracting the read address pointer signal from the maximum address of the memory, and the write address pointer signal. Adding and subtracting means for outputting an addition value obtained by adding the following, a second selecting means for selectively transmitting an output signal of the adding and subtracting means according to an output signal of the first comparing means, and an output of the second selecting means. Compare whether the signal and the predetermined reference value are the same, and Second comparing means for transmitting a first storage state signal indicating the separated data storage state of the memory to the acknowledgment event signal generating means, and an output signal of the second selecting means and a preset maximum address of the memory. A third storage state signal indicating a data storage state of the memory determined by the comparison result to the confirmation event signal generating means;
A comparison means may be provided.

【0019】前記第2比較手段は、前記第2選択手段の
出力信号と所定の基準値とが同じであれば、前記メモリ
に貯蔵されたデータが無いことを示すハイ状態の前記第
1貯蔵状態信号を前記確認イベント信号発生手段に出力
し、前記第2選択手段の出力信号が所定の基準値より大
きければ、前記メモリにデータが貯蔵されていることを
示すロー状態の前記第1貯蔵状態信号を前記確認イベン
ト信号発生手段に出力するようにしてもよい。
The second comparing means, if the output signal of the second selecting means is equal to a predetermined reference value, indicates that there is no data stored in the memory. And outputting a signal to the confirmation event signal generation means. If the output signal of the second selection means is larger than a predetermined reference value, the first storage state signal in a low state indicating that data is stored in the memory. May be output to the confirmation event signal generating means.

【0020】前記第3比較手段は、前記第2選択手段の
出力信号とあらかじめ設定された前記メモリのアドレス
最大値とが同じであれば、前記メモリのあらゆるアドレ
スにデータが貯蔵されたことを示すハイ状態の前記第2
貯蔵状態信号を前記確認イベント信号発生手段に出力
し、前記第2選択手段の出力信号があらかじめ設定され
た前記メモリのアドレス最大値より小さければ、前記メ
モリにデータが貯蔵されていないアドレスがあることを
示すロー状態の前記第2貯蔵状態信号を前記確認イベン
ト信号発生手段に出力するようにしてもよい。
If the output signal of the second selecting means is equal to a preset address maximum value of the memory, the third comparing means indicates that data has been stored at any address of the memory. The second in a high state
A storage state signal is output to the confirmation event signal generation means. If the output signal of the second selection means is smaller than a preset address maximum value of the memory, there is an address where data is not stored in the memory. May be output to the confirmation event signal generating means.

【0021】前記確認イベント信号発生手段は、前記第
1反転部を介して反転されて伝えられたクロックと前記
第2比較手段から伝えられた第1貯蔵状態信号とによっ
て、前記書き込みプロセッサーから要求イベント信号を
受け取って、データが受信されたことを示す第1確認イ
ベント信号を発生し、前記書き込みプロセッサーに伝達
する第1確認イベント信号発生部と、前記第2反転部を
介して反転されて伝えられたクロックと前記第3比較手
段から伝えられた第2貯蔵状態信号によって、前記読み
出しプロセッサーから要求イベント信号を受け取って、
データが受信されたことを示す第2確認イベント信号を
発生して前記読み出しプロセッサーに伝達する第2確認
イベント信号発生部とを備えていてもよい。
The acknowledgment event signal generating means is configured to output a request event from the write processor in response to a clock inverted and transmitted through the first inverting unit and a first storage state signal transmitted from the second comparing means. Receiving a signal, generating a first confirmation event signal indicating that data has been received, transmitting the first confirmation event signal to the write processor, and inverting the first confirmation event signal through the second inverter. Receiving a request event signal from the read processor according to the received clock and the second storage state signal transmitted from the third comparing means,
A second acknowledgment event signal generator for generating a second acknowledgment event signal indicating that data has been received and transmitting the second acknowledgment event signal to the read processor.

【0022】前記第1確認イベント信号発生部は、前記
第2比較手段から伝えられた第1貯蔵状態信号によっ
て、前記書き込みプロセッサーから伝えられた要求イベ
ント信号と確認イベント信号出力部の出力信号とを選択
的に伝達するための第1選択部と、前記第1反転部を介
して反転されて伝えられたクロックによって、前記第1
選択部の出力信号を受け取って前記第1確認イベント信
号を前記書き込みプロセッサーに出力するための前記確
認イベント信号出力部とを備えていてもよい。
The first acknowledgment event signal generating unit may be configured to, based on the first storage state signal transmitted from the second comparing means, convert the request event signal transmitted from the write processor and the output signal of the acknowledgment event signal output unit. A first selector for selectively transmitting the first signal and a clock inverted and transmitted via the first inverter,
A confirmation event signal output unit for receiving an output signal of the selection unit and outputting the first confirmation event signal to the write processor.

【0023】前記確認イベント信号出力部は、前記第1
反転部を介して反転されて伝えられたクロックによっ
て、前記第1選択部の出力信号をラッチするためのラッ
チ部を備えていてもよい。
The acknowledgment event signal output section is provided with the first
A latch unit may be provided for latching an output signal of the first selecting unit by a clock inverted and transmitted through the inverting unit.

【0024】前記ラッチ部は、外部から印加される初期
化信号をリセット端子を介して受け取り、入力端子が前
記第1選択部の出力端に接続され、クロック端子が前記
第1反転部の出力端に接続され、出力端子が前記書き込
みプロセッサーの入力端と前記第1選択部の入力端とに
共通接続されたD−フリップフロップを備えていてもよ
い。
The latch unit receives an externally applied initialization signal via a reset terminal, has an input terminal connected to an output terminal of the first selection unit, and has a clock terminal connected to an output terminal of the first inversion unit. And a D-flip-flop having an output terminal commonly connected to an input terminal of the write processor and an input terminal of the first selection unit.

【0025】前記第1選択部は、前記第2比較手段から
ロー状態の第1貯蔵状態信号が伝えられた場合に、前記
書き込みプロセッサーから伝えられた要求イベント信号
を前記ラッチ部の入力端に伝達し、前記第2比較手段か
らハイ状態の第1貯蔵状態信号が伝えられた場合に、前
記ラッチ部から帰還された信号を前記ラッチ部の入力端
に伝達するようにしてもよい。
The first selector transmits the request event signal transmitted from the write processor to the input terminal of the latch when the first storage state signal in the low state is transmitted from the second comparator. When a first storage state signal in a high state is transmitted from the second comparing means, a signal fed back from the latch unit may be transmitted to an input terminal of the latch unit.

【0026】前記第2確認イベント信号発生部は、前記
第3比較手段から伝えられた第2貯蔵状態信号によっ
て、前記読み出しプロセッサーから伝えられた要求イベ
ント信号と確認イベント信号出力部の出力信号とを選択
的に伝達するための第2選択部と、前記第2反転部を介
して反転されて伝えられたクロックによって、前記第2
選択部の出力信号を受け取って前記第2確認イベント信
号を前記読み出しプロセッサーに出力するための前記確
認イベント信号出力部とを備えていてもよい。
The second acknowledgment event signal generator may be configured to, based on the second storage state signal transmitted from the third comparing means, convert the request event signal transmitted from the read processor and the output signal of the acknowledgment event signal output unit. A second selecting unit for selectively transmitting the second inverted signal, and a clock inverted and transmitted through the second inverting unit.
A confirmation event signal output unit for receiving an output signal of the selection unit and outputting the second confirmation event signal to the read processor.

【0027】前記確認イベント信号出力部は、前記第2
反転部を介して反転されて伝えられたクロックによっ
て、前記第2選択部の出力信号をラッチするためのラッ
チ部を備えていてもよい。
The acknowledgment event signal output unit is configured to output the second
A latch unit may be provided for latching an output signal of the second selection unit in response to a clock inverted and transmitted through the inversion unit.

【0028】前記ラッチ部は、外部から印加される初期
化信号をリセット端子を介して受け取り、入力端子が前
記第2選択部の出力端に接続され、クロック端子が前記
第2反転部の出力端に接続され、出力端子が前記読み出
しプロセッサーの入力端と前記第2選択部の入力端とに
共通接続されたD−フリップフロップを備えていてもよ
い。
The latch unit receives an externally applied initialization signal via a reset terminal, has an input terminal connected to an output terminal of the second selection unit, and has a clock terminal connected to an output terminal of the second inversion unit. And a D-flip-flop having an output terminal commonly connected to an input terminal of the read processor and an input terminal of the second selection unit.

【0029】前記第2選択部は、前記第3比較手段から
ロー状態の第2貯蔵状態信号が伝えられた場合に、前記
読み出しプロセッサーから伝えられた要求イベント信号
を前記ラッチ部の入力端に伝達し、前記第3比較手段か
らハイ状態の第2貯蔵状態信号が伝えられた場合に、前
記ラッチ部から帰還された信号を前記ラッチ部の入力端
に伝達するようにしてもよい。
The second selector transmits a request event signal transmitted from the read processor to an input terminal of the latch when the second storage state signal in a low state is transmitted from the third comparing means. The signal returned from the latch unit may be transmitted to an input terminal of the latch unit when a second storage state signal in a high state is transmitted from the third comparison unit.

【0030】[0030]

【発明の実施の形態】以下、添付した図面を参照して本
発明の望ましい一実施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

【0031】図1は、本発明が適用される非同期式先入
先出メモリ装置のブロック構成例示図であり、送信側プ
ロセッサー110(以下、「書き込みプロセッサー」と呼
ぶ)と受信側プロセッサー120(以下、「読み出しプロセ
ッサー」と呼ぶ)との間で非同期式でデータをやり取り
するための先入先出(FIFO:first in, first out)メモリ
としてのエスラム(SRAM)140と、それを制御するため
のFIFO制御回路130とを具備する。
FIG. 1 is a block diagram illustrating an asynchronous first-in, first-out memory device to which the present invention is applied. A transmitting processor 110 (hereinafter, referred to as a "write processor") and a receiving processor 120 (hereinafter, referred to as a "write processor"). An SRAM 140 as a first-in, first-out (FIFO) memory for asynchronously exchanging data with a "read processor") and a FIFO control for controlling the same. And a circuit 130.

【0032】一般に、非同期式回路の場合には、データ
をやり取りする時、データ信号以外に付加的にデータ要
求信号及びデータ確認信号を同時にやり取りするように
して相互間の動作を確認しながら送信者と受信者との間
の通信を実行する。これを"ハンドシェーキング(hand
shaking)"と呼ぶ。すなわち、送信者110は、処理完了し
たデータを出力する時、FIFO制御回路130にそのデータ
の可用性がわかるように所定の要求信号ireqを同時に出
力し、上記FIFO制御回路130からそれに対する確認信号i
ackを受けてから次のデータの処理及び送信を実行す
る。そして、受信者120は、自身がデータ処理を望む時
点で上記FIFO制御回路130に所定の要求信号oreqを送っ
て、上記FIFO制御回路がデータ処理を完了してから出力
する時に共に出力する確認信号oackを受けてから次のデ
ータの処理及び受信を実行する。
In general, in the case of an asynchronous circuit, when data is exchanged, a data request signal and a data confirmation signal are simultaneously exchanged in addition to a data signal to confirm the operation between the sender and the sender. Performs communication between and the recipient. This is called "handshaking (hand
That is, when outputting the processed data, the sender 110 simultaneously outputs a predetermined request signal ireq to the FIFO control circuit 130 so that the availability of the data can be known, and the transmitter 110 Confirmation signal i for it
After receiving the acknowledgment, the next data is processed and transmitted. Then, the receiver 120 sends a predetermined request signal oreq to the FIFO control circuit 130 at the time when the receiver 120 desires the data processing, and outputs a confirmation signal together with the FIFO control circuit 130 when the FIFO control circuit completes the data processing and outputs it. After receiving the oack, the next data is processed and received.

【0033】以下、図2を参照して、上記したような構
造を持つ非同期式先入先出装置の動作を詳細に説明す
る。
Hereinafter, the operation of the asynchronous first-in first-out device having the above-described structure will be described in detail with reference to FIG.

【0034】図2は図1の非同期式先入先出装置の動作
過程を例示した流れ図である。
FIG. 2 is a flowchart illustrating the operation of the asynchronous first-in first-out device of FIG.

【0035】図2に示すように、まず、書き込み及び読
み出しプロセッサー110及び120、制御回路130及びFIFO
メモリ(SRAM)140が初期化される(ステップ201)。この
時、全てのイベンツ(event)等の論理的な電圧レベルが'
0'状態となる。そうしてから、上記FIFO制御回路130は
書き込みプロセッサー110または読み出しプロセッサー1
20からの要求イベント信号ireq又はoreqが入力されたか
を判別する(ステップ202)。書き込みプロセッサー110
からの要求イベント信号ireqが入力された場合、上記FI
FO制御回路130は上記書き込みプロセッサー110からの要
求イベントを処理するためにアドレス信号addrと書き込
みイネーブル信号webを発生し、上記書き込みプロセッ
サー110から印加されるデータがFIFOメモリ(SRAM)140に
記録されるようにし、また、要求イベント信号が安全に
処理されたことを知らせるための確認信号iackを上記書
き込みプロセッサー110に伝達する(ステップ203及び20
4)。
As shown in FIG. 2, first, the write and read processors 110 and 120, the control circuit 130 and the FIFO
The memory (SRAM) 140 is initialized (Step 201). At this time, the logical voltage level of all events is set to '
It becomes 0 'state. After that, the above FIFO control circuit 130 is used to write the read processor 110 or the read processor 1
It is determined whether the request event signal ireq or oreq from 20 has been input (step 202). Write Processor 110
If the request event signal ireq from the
The FO control circuit 130 generates an address signal addr and a write enable signal web for processing a request event from the write processor 110, and data applied from the write processor 110 is recorded in a FIFO memory (SRAM) 140. In addition, a confirmation signal iack indicating that the request event signal has been safely processed is transmitted to the write processor 110 (steps 203 and 20).
Four).

【0036】また、上記要求イベント信号が上記読み出
しプロセッサー120からの要求イベント信号oreqである
場合、上記FIFO制御回路130は上記読み出しプロセッサ
ー120からの要求イベント信号oreqを処理するためにア
ドレス信号addrを発生し、上記FIFOメモリ(SRAM)140か
ら指定されたデータを読んで上記読み出しプロセッサー
120に伝達し、データ出力を確認させるための信号oack
を読み出しプロセッサー120に出力する(ステップ203及
び204)。
If the request event signal is the request event signal oreq from the read processor 120, the FIFO control circuit 130 generates an address signal addr to process the request event signal oreq from the read processor 120. Then, the designated data is read from the FIFO memory (SRAM) 140 and the read processor is read.
Signal oack for transmitting to 120 and confirming data output
Is output to the reading processor 120 (steps 203 and 204).

【0037】一方、読み出しプロセッサー120からの要
求イベント信号oreqの入力判別過程(206)において、上
記読み出しプロセッサー120からの要求イベント信号ore
qではなければ、書き込みプロセッサー110からの要求イ
ベント信号ireq入力の判別過程(202)に戻る。
On the other hand, in the input judgment step (206) of the request event signal oreq from the read processor 120, the request event signal ore from the read processor 120 is determined.
If it is not q, the process returns to the step (202) of determining the input of the request event signal ireq from the write processor 110.

【0038】図3は本発明に係る非同期式先入先出メモ
リ装置の制御回路の概略的な構成を示した一実施例ブロ
ック図である。
FIG. 3 is a block diagram of an embodiment showing a schematic configuration of a control circuit of the asynchronous first-in first-out memory device according to the present invention.

【0039】図3は本発明の一実施例に係る非同期式先
入先出システムの制御装置のブロック図である。
FIG. 3 is a block diagram of a control device of the asynchronous first-in first-out system according to one embodiment of the present invention.

【0040】図3に示すように、本発明の非同期式先入
先出メモリ装置の制御回路は、書き込みプロセッサー11
0から要求イベント信号ireqを受け取ってクロックを発
生するための第1クロック発生部310と、読み出しプロ
セッサー120から要求イベント信号oreqを受け取ってク
ロックを発生するための第2クロック発生部320と、第
1クロック発生部310から伝えられたクロックを受け取
り、データを貯蔵するアドレスを指定するための書き込
みアドレスポインタ信号wptrを発生する書き込みアドレ
スポインタ発生部330と、第2クロック発生部320から伝
えられたクロックを受け取り、読むデータが貯蔵された
アドレスを指定するための読み出しアドレスポインタ信
号rptrを発生する読み出しアドレスポインタ発生部340
と、入力端が第1クロック発生部310の出力端に接続さ
れ、第1クロック発生部310から伝えられたクロックを
反転させるためのインバータ351と、入力端が第2クロ
ック発生部320の出力端に接続されて第2クロック発生
部320から伝えられたクロックを反転させるためのイン
バータ352と、第1入力端が書き込みアドレスポインタ
発生部330の出力端に接続され、第2入力端が読み出し
アドレスポインタ発生部340の出力端に接続され、選択
端が第1クロック発生部310の出力端に接続され、第1
クロック発生部310から伝えられたクロックによって、
書き込みアドレスポインタ発生部330から伝えられた書
き込みアドレスポインタ信号wptrと読み出しアドレスポ
インタ発生部340から伝えられた読み出しアドレスポイ
ンタ信号rptrとを上記FIFOメモリ(SRAM)140に選択的に
伝達するための選択部353と、インバータ351からクロッ
クを受け取り、上記FIFOメモリ(SRAM)140にデータを書
くための書き込みイネーブル信号webとSRAM140に貯蔵さ
れたデータを読むための読み出しイネーブル信号rebを
発生して上記FIFOメモリ(SRAM)140に伝達する書き込み
及び読み出しイネーブル信号発生部354と、第2クロッ
ク発生部340から伝えられたクロックによって、上記FIF
Oメモリ(SRAM)140から出力されたデータFIFOOUTをラッ
チして読み出しプロセッサー120に伝達するラッチ部360
と、書き込みアドレスポインタ発生部330から伝えられ
た書き込みアドレスポインタ信号wptrと読み出しアドレ
スポインタ発生部340から伝えられた読み出しアドレス
ポインタ信号rptrを利用し、上記FIFOメモリ(SRAM)140
にデータが貯蔵されている状態を判別するための貯蔵状
態判別部370と、第1クロック発生部310から伝えられた
クロックwiclkと貯蔵状態判別部370の出力信号fullによ
って、書き込みプロセッサー110から要求イベント信号i
reqを受け取って確認イベント信号iackを発生して、こ
の確認イベント信号iackを書き込みプロセッサー110に
伝達する第1確認イベント信号発生部380と、第2クロ
ック発生部320から伝えられたクロックriclkと貯蔵状態
判別部370の出力信号emptyによって、読み出しプロセッ
サー120から要求イベント信号oreqを受け取って確認イ
ベント信号oackを発生して、この確認イベント信号oack
を読み出しプロセッサー120に伝達する第2確認イベン
ト信号発生部390とを具備する。
As shown in FIG. 3, the control circuit of the asynchronous first-in first-out memory device of the present invention includes a write processor 11.
A first clock generator 310 for receiving the request event signal ireq from 0 to generate a clock, a second clock generator 320 for receiving the request event signal oreq from the read processor 120 and generating a clock, A write address pointer generator 330 that receives a clock transmitted from the clock generator 310 and generates a write address pointer signal wptr for specifying an address for storing data, and a clock transmitted from the second clock generator 320 A read address pointer generator 340 that generates a read address pointer signal rptr for specifying an address at which data to be received and read is stored.
An input terminal connected to the output terminal of the first clock generation unit 310, an inverter 351 for inverting the clock transmitted from the first clock generation unit 310, and an input terminal connected to the output terminal of the second clock generation unit 320 And an inverter 352 for inverting the clock transmitted from the second clock generator 320, a first input terminal connected to the output terminal of the write address pointer generator 330, and a second input terminal connected to the read address pointer. The selection terminal is connected to the output terminal of the first clock generation unit 310, and the selection terminal is connected to the output terminal of the first clock generation unit 310.
According to the clock transmitted from the clock generator 310,
A selector for selectively transmitting the write address pointer signal wptr transmitted from the write address pointer generator 330 and the read address pointer signal rptr transmitted from the read address pointer generator 340 to the FIFO memory (SRAM) 140. 353, receives a clock from the inverter 351 and generates a write enable signal web for writing data in the FIFO memory (SRAM) 140 and a read enable signal reb for reading data stored in the SRAM 140 to generate the FIFO memory ( The write and read enable signal generation unit 354 transmitted to the SRAM 140 and the clock transmitted from the second clock generation unit 340
A latch unit 360 that latches the data FIFOOUT output from the O memory (SRAM) 140 and transmits it to the read processor 120
Using the write address pointer signal wptr transmitted from the write address pointer generator 330 and the read address pointer signal rptr transmitted from the read address pointer generator 340, the FIFO memory (SRAM) 140
A storage state determination unit 370 for determining a state in which data is stored in the memory, and a request event from the write processor 110 based on the clock wiclk transmitted from the first clock generation unit 310 and the output signal full of the storage state determination unit 370. Signal i
The first confirmation event signal generator 380 which receives the req to generate the confirmation event signal iack, and transmits the confirmation event signal iack to the write processor 110; the clock riclk transmitted from the second clock generator 320; According to the output signal empty of the determination unit 370, the request event signal oreq is received from the read processor 120, and the confirmation event signal oack is generated.
To the read processor 120.

【0041】第1クロック発生部310は書き込みプロセ
ッサー110から伝えられた要求イベント信号ireqを遅延
するための遅延部311と、書き込みプロセッサー110から
直接伝えられた要求イベント信号ireqと遅延部311を介
して遅れた要求イベント信号とを受け取ってクロックを
発生するためのクロック発生器312を具備する。
The first clock generator 310 is configured to delay the request event signal ireq transmitted from the write processor 110, and to transmit the request event signal ireq transmitted directly from the write processor 110 and the delay unit 311. A clock generator 312 is provided for receiving the delayed request event signal and generating a clock.

【0042】第1クロック発生部310のクロック発生器3
12は一入力端を介して書き込みプロセッサー110から直
接入力された要求イベント信号ireqと遅延部311を介し
て遅れて他入力端に入力された要求イベント信号とを排
他的論理和するための排他的論理和ゲートXOR1で構成さ
れる。
The clock generator 3 of the first clock generator 310
12 is an exclusive OR for exclusive ORing the request event signal ireq directly input from the write processor 110 via one input terminal and the request event signal input to the other input terminal with a delay via the delay unit 311. It is composed of an OR gate XOR1.

【0043】第2クロック発生部320は、読み出しプロ
セッサー120から伝えられた要求イベント信号oreqを遅
延するための遅延部321と、読み出しプロセッサー120か
ら直接伝えられた要求イベント信号oreqと遅延部321を
介して遅れた要求イベント信号とを受け取ってクロック
を発生するためのクロック発生器322を具備する。
The second clock generator 320 is provided with a delay unit 321 for delaying the request event signal oreq transmitted from the read processor 120, and a request event signal oreq transmitted directly from the read processor 120 and the delay unit 321. And a clock generator 322 for receiving the delayed request event signal and generating a clock.

【0044】第2クロック発生部320のクロック発生器3
22は、一入力端を介して読み出しプロセッサー120から
直接入力された要求イベント信号oreqと遅延部321を介
して遅れて他入力端に入力された要求イベント信号とを
排他的論理和するための排他的論理和ゲートXOR2を備え
る。
Clock generator 3 of second clock generator 320
Reference numeral 22 denotes an exclusive OR for exclusive ORing the request event signal oreq input directly from the read processor 120 via one input terminal and the request event signal input to the other input terminal with a delay via the delay unit 321. Logical OR gate XOR2.

【0045】書き込みアドレスポインタ発生部330は、
外部から印加される初期化信号initをリセット端子を介
して受け取り、入力端子がクロック発生部310の排他的
論理和ゲート312の出力端に接続され、出力端子が選択
部353の第1入力端に接続され、クロック発生部310から
伝えられたクロックをカウントするためのカウンター33
1を備える。
The write address pointer generator 330
An initialization signal init applied from the outside is received via a reset terminal, an input terminal is connected to an output terminal of an exclusive OR gate 312 of the clock generation unit 310, and an output terminal is connected to a first input terminal of the selection unit 353. A counter 33 that is connected and counts the clock transmitted from the clock generator 310.
With 1.

【0046】読み出しアドレスポインタ発生部340は、
外部から印加される初期化信号initをリセット端子を介
して受け取り、入力端子がクロック発生部320の排他的
論理和ゲート322の出力端に接続され、出力端子が選択
部353の第2入力端に接続され、クロック発生部320から
伝えられたクロックをカウントするためのカウンター34
1を備える。
The read address pointer generating section 340
An initialization signal init applied from the outside is received via a reset terminal, an input terminal is connected to an output terminal of the exclusive OR gate 322 of the clock generation unit 320, and an output terminal is connected to a second input terminal of the selection unit 353. A counter 34 connected to count the clock transmitted from the clock generator 320.
With 1.

【0047】書き込み及び読み出しイネーブル信号発生
部354は入力端がインバータ351の出力端に接続され、出
力端が上記FIFOメモリ(SRAM)140に接続され、インバー
タ351から伝えられたクロックwiclkを遅延するための遅
延器(図示せず)を備える。
The write and read enable signal generator 354 has an input terminal connected to the output terminal of the inverter 351 and an output terminal connected to the FIFO memory (SRAM) 140 to delay the clock wiclk transmitted from the inverter 351. (Not shown).

【0048】ラッチ部360は、外部から印加される初期
化信号initをリセット端子を介して受け取り、クロック
端子が第2クロック発生部320の排他的論理和ゲートXOR
2の出力端に接続され、出力端子が読み出しプロセッサ
ー120の入力端に接続され、上記FIFOメモリ(SRAM)140か
ら伝えられたデータを遅延するためのD−フリップフロ
ップ361を備える。
The latch section 360 receives an externally applied initialization signal init via a reset terminal, and connects the clock terminal to the exclusive OR gate XOR of the second clock generation section 320.
2 and an output terminal connected to the input terminal of the read processor 120 and a D-flip-flop 361 for delaying data transmitted from the FIFO memory (SRAM) 140.

【0049】貯蔵状態判別部370を図4を参照して詳細
に説明する。
The storage state determining unit 370 will be described in detail with reference to FIG.

【0050】第1及び第2確認イベント信号発生部380
及び390は、図5A及び図5Bを参照して詳細に説明す
る。
First and second confirmation event signal generator 380
And 390 are described in detail with reference to FIGS. 5A and 5B.

【0051】上述したような構造を有する本発明の非同
期式先入先出メモリ装置の制御回路の動作を以下に詳細
に説明する。
The operation of the control circuit of the asynchronous first-in first-out memory device of the present invention having the above-described structure will be described in detail below.

【0052】第1クロック発生部310は、書き込みプロ
セッサー110から伝えられた要求イベント信号ireqを受
け取ってクロックを発生した後、該クロックを書き込み
アドレスポインタ発生部330、選択部353、そしてインバ
ータ351を介して書き込み及び読み出しイネーブル信号
発生部354と第1確認イベント信号発生部380とに伝達す
る。また、第2クロック発生部320は、読み出しプロセ
ッサー120から伝えられた要求イベント信号oreqを受け
取ってクロックを発生した後、該クロックを読み出しア
ドレスポインタ発生部340、ラッチ部360、そしてインバ
ータ352を介して第2確認イベント信号発生部390に伝達
する。
The first clock generator 310 receives the request event signal ireq transmitted from the write processor 110 and generates a clock, and then generates the clock via the write address pointer generator 330, the selector 353, and the inverter 351. The write and read enable signal generator 354 and the first confirmation event signal generator 380 are transmitted. Further, the second clock generator 320 receives the request event signal oreq transmitted from the read processor 120, generates a clock, and then generates the clock via the read address pointer generator 340, the latch 360, and the inverter 352. It is transmitted to the second confirmation event signal generator 390.

【0053】書き込みアドレスポインタ発生部330は、
第1クロック発生部310から伝えられたクロックを利用
して書き込みアドレスポインタ信号wptrを発生し、該書
き込みアドレスポインタ信号wptrを選択部353と貯蔵状
態判別部370とに伝達する。また、読み出しアドレスポ
インタ発生部340は、第2クロック発生部320から伝えら
れたクロックを受け取って読み出しアドレスポインタ信
号を発生し、これを選択部353と貯蔵状態判別部370とに
伝達する。
The write address pointer generator 330
The write address pointer signal wptr is generated using the clock transmitted from the first clock generator 310, and the write address pointer signal wptr is transmitted to the selector 353 and the storage state determiner 370. In addition, the read address pointer generator 340 receives the clock transmitted from the second clock generator 320, generates a read address pointer signal, and transmits this to the selector 353 and the storage state determiner 370.

【0054】選択部353は第1クロック発生部310から伝
えられたクロックによって、書き込みアドレスポインタ
発生部330から伝えられた書き込みアドレスポインタ信
号wptr及び読み出しアドレスポインタ発生部340から伝
えられた読み出しアドレスポインタ信号rptrを上記FIFO
メモリ(SRAM)140に選択的に伝達する。すなわち、第1
クロック発生部310からハイ(High)状態のクロッ
クが伝えらた場合に、選択部353は書き込みアドレスポ
インタ発生部330から伝えられた書き込みアドレスポイ
ンタ信号wptrを上記FIFOメモリ(SRAM)140に伝達し、第
1クロック発生部310からロー(Low)状態のクロッ
クが伝えられた場合に、選択部353は読み出しアドレス
ポインタ発生部340から伝えられた読み出しアドレスポ
インタ信号rptrを上記FIFOメモリ(SRAM)140に伝達す
る。ここで、選択部353の出力信号は上記FIFOメモリ(SR
AM)140のアドレスを指定する信号である。
The selection unit 353 uses the clock transmitted from the first clock generation unit 310 to generate the write address pointer signal wptr transmitted from the write address pointer generation unit 330 and the read address pointer signal transmitted from the read address pointer generation unit 340. rptr above FIFO
The signal is selectively transmitted to the memory (SRAM) 140. That is, the first
When a clock in a high state is transmitted from the clock generator 310, the selector 353 transmits the write address pointer signal wptr transmitted from the write address pointer generator 330 to the FIFO memory (SRAM) 140, When a low clock is transmitted from the first clock generator 310, the selector 353 transmits the read address pointer signal rptr transmitted from the read address pointer generator 340 to the FIFO memory (SRAM) 140. I do. Here, the output signal of the selection unit 353 is stored in the FIFO memory (SR
AM) 140 is a signal for specifying the address.

【0055】貯蔵状態判別部370は書き込みアドレスポ
インタ発生部330から伝えられた書き込みアドレスポイ
ンタ信号wptrを利用し、上記FIFOメモリ(SRAM)140にデ
ータを貯蔵することができるアドレスがあるかを判別し
て、これに対する判別結果を第1及び第2確認イベント
信号発生部380及び390に伝達する。また、貯蔵状態判別
部370は、読み出しアドレスポインタ発生部340から伝え
られた読み出しアドレスポインタ信号rptrを受け取り、
上記FIFOメモリ(SRAM)140に貯蔵されたデータがあるか
を判別し、これに対する判別結果を第1及び第2確認イ
ベント信号発生部380及び390に伝達する。
Using the write address pointer signal wptr transmitted from the write address pointer generator 330, the storage state determiner 370 determines whether there is an address in the FIFO memory (SRAM) 140 where data can be stored. Then, the determination result is transmitted to the first and second confirmation event signal generators 380 and 390. Further, the storage state determination unit 370 receives the read address pointer signal rptr transmitted from the read address pointer generation unit 340,
It is determined whether there is data stored in the FIFO memory (SRAM) 140, and the result of the determination is transmitted to the first and second confirmation event signal generators 380 and 390.

【0056】書き込み及び読み出しイネーブル信号発生
部354はインバータ351を介して伝えられたクロックによ
って、上記FIFOメモリ(SRAM)140にデータを書くための
書き込みイネーブル信号web及び上記FIFOメモリ(SRAM)1
40に貯蔵されたデータを読むための読み出しイネーブル
信号rebを発生し、該書き込みイネーブル信号web及び読
み出しイネーブル信号rebを上記FIFOメモリ(SRAM)(140)
に伝達する。
The write / read enable signal generation unit 354 uses a clock transmitted through the inverter 351 to write a write enable signal web for writing data to the FIFO memory (SRAM) 140 and the FIFO memory (SRAM) 1.
A read enable signal reb for reading data stored in 40 is generated, and the write enable signal web and the read enable signal reb are transmitted to the FIFO memory (SRAM) (140).
To communicate.

【0057】このように、書き込み及び読み出しイネー
ブル信号発生部354から読み出しイネーブル信号rebが伝
えられた場合に、上記FIFOメモリ(SRAM)140は選択部353
から伝えられるアドレス信号が指定するアドレスに貯蔵
されたデータをラッチ部360を介して読み出しプロセッ
サー120に伝達し、また書き込み及び読み出しイネーブ
ル信号発生部354から書き込みイネーブル信号webが伝え
られた場合に、上記FIFOメモリ(SRAM)140は、選択部353
から伝えられるアドレス信号が指定するアドレスに書き
込みプロセッサー110から伝えられるデータを貯蔵す
る。
As described above, when the read enable signal reb is transmitted from the write / read enable signal generator 354, the FIFO memory (SRAM) 140 turns the selector 353.
When the data stored at the address specified by the address signal transmitted from is transmitted to the read processor 120 via the latch unit 360, and when the write enable signal web is transmitted from the write and read enable signal generation unit 354, The FIFO memory (SRAM) 140 includes a selection unit 353
The data transmitted from the write processor 110 is stored in the address designated by the address signal transmitted from the write processor 110.

【0058】第1確認イベント信号発生部380は第1ク
ロック発生部310から伝えられたクロックwiclkと貯蔵状
態判別部370の出力信号fullとによって、書き込みプロ
セッサー110から伝えられた要求イベント信号ireqを利
用して確認イベント信号iackを発生し、該確認イベント
信号iackを書き込みプロセッサー110に伝達する。ま
た、第2確認イベント信号発生部390は第2クロック発
生部320から伝えられたクロックriclkと貯蔵状態判別部
370の出力信号emptyとによって、読み出しプロセッサー
120から伝えられた要求イベント信号oreqを利用して確
認イベント信号oackを発生した後、該確認イベント信号
oackを読み出しプロセッサー120に伝達する。
The first acknowledgment event signal generator 380 uses the request event signal ireq transmitted from the write processor 110 according to the clock wiclk transmitted from the first clock generator 310 and the output signal full from the storage state discriminator 370. Then, a confirmation event signal iack is generated, and the confirmation event signal iack is transmitted to the write processor 110. Also, the second acknowledgment event signal generation unit 390 is configured to control the clock riclk transmitted from the second clock generation unit 320 and the storage state determination unit.
Readout processor by 370 output signal empty
After generating the confirmation event signal oack using the request event signal oreq transmitted from 120, the confirmation event signal
The oack is transmitted to the read processor 120.

【0059】図4は、図3に示す貯蔵状態判別部の一実
施例ブロック図である。
FIG. 4 is a block diagram of an embodiment of the storage state determining unit shown in FIG.

【0060】図4に示すように、図3の貯蔵状態判別部
は、書き込みアドレスポインタ発生部330から伝えられ
た書き込みアドレスポインタ信号wptrと読み出しアドレ
スポインタ発生部340から伝えられた読み出しアドレス
ポインタ信号rptrとの大きさを比較するための第1比較
部410と、書き込みアドレスポインタ発生部330から伝え
られた書き込みアドレスポインタ信号wptrから読み出し
アドレスポインタ発生部340から伝えられた読み出しア
ドレスポインタ信号rptrを減算して第1減算値wptr-rpt
rを出力し、上記FIFOメモリ140のアドレス最大値SRAMde
pthから読み出しアドレスポインタ発生部340から伝えら
れた読み出しアドレスポインタ信号rptrを減算した第2
減算値SRAMdepth-rptrと書き込みアドレスポインタ発生
部330から伝えられた書き込みアドレスポインタ信号wpt
rとを加算して、該加算値SRAMdepth-rptr+wptrを出力す
る加減算部420と、第1比較部410の出力信号によって、
加減算部420の出力信号wptr-rptr及びSRAMdepth-rptr+w
ptrを選択的に伝達するための選択部430と、選択部430
の出力信号と所定の基準値の大きさとを比較し、該比較
結果により判別されたエスラム(SRAM)140のデータ貯蔵
状態を示す第1貯蔵状態信号emptyを第2確認イベント
信号発生部390に伝達する第2比較部440と、選択部430
の出力信号とあらかじめ設定された上記FIFOメモリ140
のアドレス最大値SRAMdepthとの大きさを比較し、該比
較結果により判別された上記FIFOメモリ140のデータ貯
蔵状態を示す第2貯蔵状態信号fullを第1確認イベント
信号発生部380に伝達する第3比較部450とを具備する。
As shown in FIG. 4, the storage state determining unit of FIG. 3 includes a write address pointer signal wptr transmitted from the write address pointer generator 330 and a read address pointer signal rptr transmitted from the read address pointer generator 340. And a first comparison unit 410 for comparing the magnitudes of the read address pointer signal rptr transmitted from the read address pointer generation unit 340 with the write address pointer signal wptr transmitted from the write address pointer generation unit 330. And the first subtraction value wptr-rpt
r, and outputs the maximum address SRAMde of the FIFO memory 140.
A second value obtained by subtracting the read address pointer signal rptr transmitted from the read address pointer generation unit 340 from pth
The subtracted value SRAMdepth-rptr and the write address pointer signal wpt transmitted from the write address pointer generator 330
and an addition / subtraction unit 420 that outputs the added value SRAMdepth-rptr + wptr, and an output signal of the first comparison unit 410.
Output signal wptr-rptr and SRAM depth-rptr + w of addition / subtraction unit 420
a selector 430 for selectively transmitting the ptr, and a selector 430
Is compared with a predetermined reference value, and a first storage state signal empty indicating a data storage state of the esram (SRAM) 140 determined based on the comparison result is transmitted to the second confirmation event signal generator 390. A second comparing unit 440, and a selecting unit 430
Output signal and the previously set FIFO memory 140
A third storage state signal full indicating the data storage state of the FIFO memory 140 determined by the comparison result is transmitted to the first confirmation event signal generation unit 380. A comparison unit 450.

【0061】ここで、第2比較部440の一つの入力端に
設定された所定の基準値は10進数の'0'である。
Here, the predetermined reference value set at one input terminal of the second comparing section 440 is a decimal number '0'.

【0062】以下、図3に示した上記のような構造を有
する貯蔵状態判別部の動作を詳細に説明する。
Hereinafter, the operation of the storage state determining unit having the above-described structure shown in FIG. 3 will be described in detail.

【0063】第1比較部410は書き込みアドレスポイン
タ発生部330から伝えられた書き込みアドレスポインタ
信号wptrと読み出しアドレスポインタ発生部340から伝
えられた読み出しアドレスポインタ信号rptrとの大きさ
を比較し、該比較結果が選択部430の選択信号で利用さ
れるように選択部430に出力する。すなわち、書き込み
アドレスポインタ信号wptrが読み出しアドレスポインタ
信号rptrより大きければ、第1比較部410は'1’を選択
部430に出力し、書き込みアドレスポインタ信号wptrが
読み出しアドレスポインタ信号rptrより小さければ、第
1比較部410は'0’を選択部430に出力する。
The first comparing section 410 compares the magnitude of the write address pointer signal wptr transmitted from the write address pointer generating section 330 with the magnitude of the read address pointer signal rptr transmitted from the read address pointer generating section 340. The result is output to the selection unit 430 so as to be used in the selection signal of the selection unit 430. That is, if the write address pointer signal wptr is larger than the read address pointer signal rptr, the first comparing section 410 outputs '1' to the selecting section 430, and if the write address pointer signal wptr is smaller than the read address pointer signal rptr, 1 comparison section 410 outputs '0' to selection section 430.

【0064】加減算部420は書き込みアドレスポインタ
発生部330から伝えられた書き込みアドレスポインタ信
号wptrから、読み出しアドレスポインタ発生部340から
伝えられた読み出しアドレスポインタ信号rptrを減算し
て、このように減算した第1減算値wptr-rptrを選択部4
20に出力する。また、加減算部420は上記FIFOメモリ140
のアドレス最大値SRAMdepthから、読み出しアドレスポ
インタ発生部340から伝えられた読み出しアドレスポイ
ンタ信号rptrを減算した後、このように減算した第2減
算値SRAMdepth-rptrに書き込みアドレスポインタ発生部
330から伝えられた書き込みアドレスポインタ信号wptr
を加算して、該加算値SRAMdepth-rptr+wptrを選択部430
に出力する。
The adder / subtractor 420 subtracts the read address pointer signal rptr transmitted from the read address pointer generator 340 from the write address pointer signal wptr transmitted from the write address pointer generator 330, Selector 4 for 1 subtraction value wptr-rptr
Output to 20. The addition / subtraction unit 420 is provided in the FIFO memory 140.
After subtracting the read address pointer signal rptr transmitted from the read address pointer generator 340 from the address maximum value SRAMdepth of the above, a write address pointer generator is added to the second subtraction value SRAMdepth-rptr thus subtracted.
Write address pointer signal wptr transmitted from 330
And the added value SRAMdepth-rptr + wptr is selected by the selection unit 430.
Output to

【0065】そして、選択部430は第1比較部410の出力
信号によって、加減算部420の二つの出力信号wptr-rptr
及びSRAMdepth-rptr+wptrを第2及び第3比較部440及び
450に選択的に伝達する。この時、第1比較部410から'
0’が伝えられた場合に、選択部430は、加減算部420か
ら出力された減算値wptr-rptrを第2及び第3比較部440
及び450に伝達し、第1比較部410から'1’が伝えられた
場合に、選択部430は加減算部420から出力された加算値
SRAMdepth-rptr+wptrを第2及び第3比較部440及び450
に伝達する。
Then, the selection section 430 outputs two output signals wptr-rptr of the addition / subtraction section 420 according to the output signal of the first comparison section 410.
And SRAMdepth-rptr + wptr are compared with the second and third comparing units 440 and
Communicate selectively to 450. At this time, the first comparison unit 410
When 0 ′ is transmitted, the selection unit 430 compares the subtraction value wptr-rptr output from the addition / subtraction unit 420 with the second and third comparison units 440.
And 450, and when “1” is transmitted from the first comparing unit 410, the selecting unit 430 outputs the added value output from the adding / subtracting unit 420.
SRAMdepth-rptr + wptr is compared with the second and third comparison units 440 and 450
To communicate.

【0066】次いで、第2比較部440は選択部430の出力
信号と所定の基準値の大きさとを比較して、該比較結果
により判別された上記FIFOメモリ140のデータ貯蔵状態
を示す第1貯蔵状態信号emptyを第2確認イベント信号
発生部390に出力し、また第3比較部450は選択部430の
出力信号とあらかじめ設定された上記FIFOメモリ140の
アドレス最大値SRAMdepthとの大きさを比較し、該比較
結果により判別された上記FIFOメモリ140のデータ貯蔵
状態を示す第2貯蔵状態信号fullを第1確認イベント信
号発生部380に出力する。
Next, the second comparing unit 440 compares the output signal of the selecting unit 430 with a predetermined reference value, and determines the first storage indicating the data storage state of the FIFO memory 140 determined based on the comparison result. The status signal empty is output to the second confirmation event signal generator 390, and the third comparator 450 compares the magnitude of the output signal of the selector 430 with the preset address maximum value SRAMdepth of the FIFO memory 140. The second storage state signal full indicating the data storage state of the FIFO memory 140 determined based on the comparison result is output to the first confirmation event signal generator 380.

【0067】加減算部420から出力された減算値wptr-rp
trが選択部430を介して第2及び第3比較部440及び450
に伝えられた場合と加減算部420から出力された加算値S
RAMdepth-rptr+wptrが選択部430を介して第2及び第3
比較部440及び450に伝えられた場合とについて詳細に説
明する。
The subtraction value wptr-rp output from the addition / subtraction unit 420
tr is passed through the selection unit 430 to the second and third comparison units 440 and 450
And the addition value S output from the addition / subtraction unit 420.
RAMdepth-rptr + wptr is passed through the selection unit 430 to the second and third
The case where the information is transmitted to the comparison units 440 and 450 will be described in detail.

【0068】まず、加減算部420から出力された減算値w
ptr-rptrが第2及び第3比較部440及び450に伝えられた
場合について説明する。
First, the subtraction value w output from the addition / subtraction unit 420
A case where ptr-rptr is transmitted to the second and third comparing units 440 and 450 will be described.

【0069】第2比較部440は、所定の基準値と選択部4
30を介して伝えられた減算値wptr-rptrの大きさとを比
較し、該比較結果により判別されたエスラム140のデー
タ貯蔵状態を示す第1貯蔵状態信号emptyを第2確認イ
ベント信号発生部390に出力する。すなわち、所定の基
準値が減算値wptr-rptrより大きければ、第2比較部440
はロー(Low)状態の第1貯蔵状態信号emptyを第2
確認イベント信号発生部390に出力し、所定の基準値(0)
と減算値wptr-rptrとが同じであれば、第2比較部440は
ハイ(High)状態の第1貯蔵状態信号emptyを第2
確認イベント信号発生部390に出力する。
The second comparing section 440 is provided with a predetermined reference value and the selecting section 4.
The first storage state signal empty indicating the data storage state of the esram 140 determined based on the comparison result is compared with the subtraction value wptr-rptr transmitted through 30 and transmitted to the second confirmation event signal generator 390. Output. That is, if the predetermined reference value is larger than the subtraction value wptr-rptr, the second comparison unit 440
Transmits the low state of the first storage state signal empty to the second state.
Output to the confirmation event signal generation unit 390, the predetermined reference value (0)
And the subtraction value wptr-rptr are the same, the second comparing unit 440 outputs the first storage state signal empty in the high state to the second state.
Output to the confirmation event signal generator 390.

【0070】また、第3比較部450はあらかじめ設定さ
れた上記FIFOメモリ140のアドレス最大値SRAMdepthと選
択部430を介して伝えられた減算値wptr-rptrの大きさと
を比較して、該比較結果により判別された上記FIFOメモ
リ140のデータ貯蔵状態を示す第2貯蔵状態信号fullを
第1確認イベント信号発生部380に出力する。すなわ
ち、あらかじめ設定された上記FIFOメモリ140のアドレ
ス最大値SRAMdepthが減算値wptr-rptrより小さければ、
第3比較部450はロー(Low)状態の第2貯蔵状態信
号fullを第2確認イベント信号発生部390に出力し、あ
らかじめ設定された上記FIFOメモリ140のアドレス最大
値SRAM#depthと減算値wptr-rptrとが同一ならば、第3
比較部450はハイ(High)状態の第2貯蔵状態信号f
ullを第1確認イベント信号発生部380に出力する。
The third comparing section 450 compares the preset maximum address SRAMdepth of the FIFO memory 140 with the magnitude of the subtraction value wptr-rptr transmitted via the selecting section 430, and compares the comparison result. The second storage state signal full indicating the data storage state of the FIFO memory 140 determined by the above is output to the first confirmation event signal generator 380. That is, if the preset address maximum value SRAMdepth of the FIFO memory 140 is smaller than the subtraction value wptr-rptr,
The third comparing unit 450 outputs the second storage state signal full in a low state to the second confirmation event signal generating unit 390, and sets a preset address maximum value SRAM # depth of the FIFO memory 140 and a subtraction value wptr. If -rptr is the same, the third
The comparing unit 450 outputs the second storage state signal f in a high state.
ull is output to the first confirmation event signal generator 380.

【0071】次に、加減算部420から出力された加算値S
RAMdepth-rptr+wptrが第2及び第3比較部440及び450に
伝えられた場合について詳細に説明する。
Next, the addition value S output from the addition / subtraction unit 420
The case where RAMdepth-rptr + wptr is transmitted to the second and third comparing units 440 and 450 will be described in detail.

【0072】第2比較部440は、所定の基準値と選択部4
30を介して伝えられた加算値SRAMdepth-rptr+wptrの大
きさとを比較し、該比較結果により判別された上記FIFO
メモリ140のデータ貯蔵状態を表す第1貯蔵状態信号emp
tyを第2確認イベント信号発生部390に出力する。すな
わち、所定の基準値が加算値SRAMdepth-rptr+wptrより
大きければ、第2比較部440はロー(Low)状態の第
1貯蔵状態信号emptyを第2確認イベント信号発生部390
に出力し、所定の基準値と加算値SRAM#depth-rptr+wptr
とが同一ならば、第2比較部440はハイ(High)状
態の第1貯蔵状態信号emptyを第2確認イベント信号発
生部390に出力する。
The second comparing section 440 determines whether a predetermined reference value is
30 and compares the sum with the magnitude of the SRAMdepth-rptr + wptr transmitted through 30 and the FIFO determined by the comparison result.
A first storage state signal emp indicating a data storage state of the memory 140
ty is output to the second confirmation event signal generator 390. That is, if the predetermined reference value is greater than the sum value SRAMdepth-rptr + wptr, the second comparing unit 440 outputs the low first storage state signal empty to the second confirmation event signal generation unit 390.
And the predetermined reference value and the added value SRAM # depth-rptr + wptr
If the values are the same, the second comparing unit 440 outputs the first storage state signal empty in a high state to the second confirmation event signal generation unit 390.

【0073】また、第3比較部450はあらかじめ設定さ
れたエスラム140のアドレス最大値SRAMdepthと選択部43
0を介して伝えられた加算値SRAMdepth-rptr+wptrの大き
さとを比較し、該比較結果により判別された上記FIFOメ
モリ140のデータ貯蔵状態を示す第2貯蔵状態信号full
を第1確認イベント信号発生部380に出力する。すなわ
ち、あらかじめ設定された上記FIFOメモリ140のアドレ
ス最大値SRAMdepthが加算値SRAMdepth-rptr+wptrより小
さければ、第3比較部450はロー(Low)状態の第2
貯蔵状態信号fullを第2確認イベント信号発生部390に
出力し、あらかじめ設定された上記FIFOメモリ140のア
ドレス最大値SRAMdepthと加算値SRAMdepth-rptr+wptrと
が同一ならば、第3比較部450はハイ(High)状態
の第2貯蔵状態信号fullを第1確認イベント信号発生部
380に出力する。
Further, the third comparing section 450 sets the address maximum value SRAMdepth of the preset esram 140 and the selecting section 43
The second storage state signal full indicating the data storage state of the FIFO memory 140 determined by comparing the sum of the sum value SRAMdepth-rptr + wptr transmitted through 0 and the result of the comparison.
To the first confirmation event signal generation unit 380. In other words, if the preset address maximum value SRAMdepth of the FIFO memory 140 is smaller than the sum value SRAMdepth-rptr + wptr, the third comparing unit 450 sets the second state in the low state.
The storage state signal full is output to the second confirmation event signal generation section 390, and if the preset address maximum value SRAMdepth of the FIFO memory 140 and the addition value SRAMdepth-rptr + wptr are the same, the third comparison section 450 The second storage state signal full in a high state is converted to a first confirmation event signal generation unit.
Output to 380.

【0074】図5Aは上記図3に図示された第1確認イ
ベント信号発生部の一実施例ブロック図である。
FIG. 5A is a block diagram of one embodiment of the first acknowledgment event signal generator shown in FIG.

【0075】図5Aに示すように、上記図3の第1確認
イベント信号発生部は、第3比較部450から伝えられた
第2貯蔵状態信号fullによって、書き込みプロセッサー
110から伝えられた要求イベント信号と確認イベント信
号出力部520の出力信号とを選択的に伝達するための選
択部510と、インバータ351を介して反転されて伝えられ
たクロックwiclkによって、選択部510の出力信号を受け
取って第1確認イベント信号を書き込みプロセッサー11
0に出力するための確認イベント信号出力部520とを具備
する。
As shown in FIG. 5A, the first acknowledgment event signal generator of FIG.
A selection unit 510 for selectively transmitting the request event signal transmitted from 110 and the output signal of the confirmation event signal output unit 520, and a selection unit 510 by the clock wiclk inverted and transmitted via the inverter 351. And outputs the first confirmation event signal to the processor 11
And a confirmation event signal output unit 520 for outputting 0.

【0076】確認イベント信号出力部520は、外部から
印加される初期化信号をリセット端子を介して受け取
り、入力端子が選択部510の出力端に接続され、クロッ
ク端子がインバータ351の出力端に接続され、出力端子
が書き込みプロセッサー110の入力端と選択部510の入力
端とに共通接続されたD−フリップフロップ521を備え
る。
The confirmation event signal output unit 520 receives an externally applied initialization signal via a reset terminal, and has an input terminal connected to the output terminal of the selection unit 510, and a clock terminal connected to the output terminal of the inverter 351. The D-flip-flop 521 has an output terminal commonly connected to an input terminal of the write processor 110 and an input terminal of the selection unit 510.

【0077】上記したような構造を持つ図3の第1確認
イベント信号発生部の動作を、以下に詳細に説明する。
The operation of the first acknowledgment event signal generator of FIG. 3 having the above-described structure will be described in detail below.

【0078】選択部510は、第3比較部450からロー(L
ow)状態の第2貯蔵状態信号fullが伝えられた場合
に、書き込みプロセッサー110から伝えられた要求イベ
ント信号ireqを選択して確認イベント信号出力部520の
D−フリップフロップ521の入力端子に伝達する。ま
た、第3比較部450からロー(Low)状態の第2貯蔵
状態信号fullが伝えられた場合には、確認イベント信号
出力部520の出力信号iackを選択して確認イベント信号
出力部520のD−フリップフロップ521の入力端子に伝達
する。
The selecting section 510 outputs a low (L) signal from the third comparing section 450.
ow) When the second storage state signal full of the state is transmitted, the request event signal ireq transmitted from the write processor 110 is selected and transmitted to the input terminal of the D-flip-flop 521 of the confirmation event signal output unit 520. . Also, when the second storage state signal full in the low state is transmitted from the third comparing unit 450, the output signal iack of the confirmation event signal output unit 520 is selected, and D of the confirmation event signal output unit 520 is selected. -Transmit to the input terminal of flip-flop 521.

【0079】次に、確認イベント信号出力部520のD−
フリップフロップ521は、インバータ351を介して伝えら
れたクロックによって選択部510から出力された信号を
ラッチし、ラッチされた信号を書き込みプロセッサー11
0または選択部510に出力する。この時、選択部510の選
択信号として入力された第2貯蔵状態信号fullがロー
(Low)状態であれば、確認イベント信号出力部520
は確認イベント信号iackを書き込みプロセッサー110に
出力し、選択部510の選択信号として入力された第2貯
蔵状態信号fullがハイ(High)状態であれば、確認
イベント信号出力部520のD−フリップフロップ521は選
択部510から入力された信号をラッチさせた後、選択部5
10の入力端に帰還させる。
Next, the D- of the confirmation event signal output unit 520
The flip-flop 521 latches the signal output from the selection unit 510 according to the clock transmitted through the inverter 351 and writes the latched signal to the write processor 11.
Output to 0 or selection section 510. At this time, if the second storage state signal full input as the selection signal of the selection unit 510 is in a low state, the confirmation event signal output unit 520
Outputs the confirmation event signal iack to the write processor 110, and if the second storage state signal full input as the selection signal of the selection unit 510 is high, the D-flip-flop of the confirmation event signal output unit 520 521 latches the signal input from the selection unit 510, and then selects
Return to the input terminal of 10.

【0080】図5Bは図3に図示された第2確認イベン
ト信号発生部の一実施例ブロック図である。
FIG. 5B is a block diagram of an embodiment of the second acknowledgment event signal generator shown in FIG.

【0081】図5Bに示すように、図3の第2確認イベ
ント信号発生部は、第2比較部440から伝えられた第1
貯蔵状態信号emptyによって、読み出しプロセッサー120
から伝えられた要求イベント信号oreqと確認イベント信
号出力部620の出力信号oackとを選択的に伝達するため
の選択部610と、インバータ352を介して反転されて伝え
られたクロックriclkによって、選択部610の出力信号を
受け取って第2確認イベント信号oackを読み出しプロセ
ッサー120に出力するための確認イベント信号出力部620
とを具備する。
As shown in FIG. 5B, the second acknowledgment event signal generator of FIG.
The storage state signal empty causes the read processor 120
The selection unit 610 for selectively transmitting the request event signal oreq transmitted from the ACK and the output signal oack of the confirmation event signal output unit 620, and the clock riclk inverted and transmitted via the inverter 352, the selection unit A confirmation event signal output unit 620 for receiving the output signal of 610 and outputting the second confirmation event signal oack to the read processor 120
And

【0082】確認イベント信号出力部620は、外部から
印加される初期化信号initをリセット端子を介して受け
取り、入力端子が選択部610の出力端に接続され、クロ
ック端子がインバータ352の出力端に接続され、出力端
子が読み出しプロセッサー120の入力端と選択部610の入
力端とに共通接続されたD−フリップフロップ621を備
える。
The confirmation event signal output unit 620 receives an externally applied initialization signal init via a reset terminal, has an input terminal connected to the output terminal of the selection unit 610, and has a clock terminal connected to the output terminal of the inverter 352. A D-flip-flop 621 connected to the input terminal of the read processor 120 and the input terminal of the selection unit 610 is provided.

【0083】上記したような構造を持つ図3の第2確認
イベント信号発生部の動作を、以下に詳細に説明する。
The operation of the second confirmation event signal generator of FIG. 3 having the above-described structure will be described in detail below.

【0084】選択部610は、第2比較部440からロー(L
ow)状態の第1貯蔵状態信号emptyが伝えられた場合
に、読み出しプロセッサー120から伝えられた要求イベ
ント信号oreqを選択して確認イベント信号出力部620の
D−フリップフロップ621の入力端子に伝達する。ま
た、第2比較部440からロー(Low)状態の第1貯蔵
状態信号emptyが伝えられた場合には、確認イベント信
号出力部620の出力信号を選択して確認イベント信号出
力部620のD−フリップフロップ621の入力端子に伝達す
る。
The selecting section 610 outputs the low (L
ow) When the first storage state signal empty in the state is transmitted, the request event signal oreq transmitted from the read processor 120 is selected and transmitted to the input terminal of the D-flip-flop 621 of the confirmation event signal output unit 620. . Also, when the low state first storage state signal “empty” is transmitted from the second comparing unit 440, the output signal of the confirmation event signal output unit 620 is selected and the D-level of the confirmation event signal output unit 620 is selected. The signal is transmitted to the input terminal of the flip-flop 621.

【0085】次に、確認イベント信号出力部620のD−
フリップフロップ621はインバータ352を介して伝えられ
たクロックによって選択部610から出力された信号をラ
ッチし、ラッチされた信号を読み出しプロセッサー120
または選択部610に出力する。この時、選択部610の選択
信号として入力された第1貯蔵状態信号emptyがロー
(Low)状態であれば、確認イベント信号出力部620
は確認イベント信号oackを読み出しプロセッサー120に
出力し、選択部610の選択信号として入力された第1貯
蔵状態信号emptyがハイ(High)状態であれば、確
認イベント信号出力部620のD−フリップフロップ621は
選択部610から入力された信号をラッチさせた後、選択
部610の入力端に帰還させる。
Next, the D- of the confirmation event signal output unit 620
The flip-flop 621 latches the signal output from the selection unit 610 according to the clock transmitted through the inverter 352, reads the latched signal, and reads the latched signal.
Alternatively, output to selection section 610. At this time, if the first storage state signal empty input as the selection signal of the selection unit 610 is in a low state, the confirmation event signal output unit 620.
Outputs the confirmation event signal oack to the read processor 120, and if the first storage state signal empty inputted as the selection signal of the selection unit 610 is in a high state, the D-flip-flop of the confirmation event signal output unit 620 The 621 latches the signal input from the selection unit 610 and then feeds it back to the input terminal of the selection unit 610.

【0086】図6は上記図3に図示された非同期式先入
先出メモリ装置制御回路の動作タイミング図である。図
において、FIFOINは書き込みプロセッサー110から上記F
IFOメモリ140に入力されるデータであり、initは外部か
ら印加される初期化信号であり、ireqは書き込みプロセ
ッサー110から制御装置130に入力される要求イベント信
号であり、direqは第1クロック発生部310の遅延部311
を介して遅れた要求イベント信号であり、cclkは第1ク
ロック発生部310から出力されたクロックであり、wptr
は書き込みアドレスポインタ発生部330から発生された
書き込みアドレスポインタ信号であり、rptrは読み出し
アドレスポインタ発生部340から発生された読み出しア
ドレスポインタ信号であり、addrは選択部353から出力
されたアドレス信号であり、webは書き込み及び読み出
しイネーブル信号発生部354から発生された書き込みイ
ネーブル信号である。
FIG. 6 is an operation timing chart of the asynchronous first-in first-out memory device control circuit shown in FIG. In the figure, FIFOIN is transmitted from the write processor 110 to the F
Data input to the IFO memory 140, init is an externally applied initialization signal, ireq is a request event signal input from the write processor 110 to the control device 130, and direq is a first clock generation unit. 310 delay part 311
Cclk is a clock output from the first clock generation unit 310, and wptr
Is a write address pointer signal generated from the write address pointer generator 330, rptr is a read address pointer signal generated from the read address pointer generator 340, and addr is an address signal output from the selector 353. , Web are write enable signals generated by the write and read enable signal generator 354.

【0087】このように、本発明は非同期式先入先出メ
モリ装置の制御回路に関し、特に自主的に生成したロー
カルクロックを利用して非同期式先入先出メモリ装置を
效率的に制御するための制御回路に関する。本発明の制
御回路に依れば、従来の同期式先入先出メモリ装置の場
合より少ない量のメモリで先入先出メモリ装置を具現で
きることだけでなく、自主的に生成したローカルクロッ
クを用いて、必要とした部分だけを動作させることによ
りシステムを效率的に制御して不必要な電力消耗を防止
できる。また、携帯用無線端末機、マルチメディア端末
機の映像及び音声処理システムなどをASICで具現する時
に複雑なクロック分配の問題を效果的に解決できる。
As described above, the present invention relates to a control circuit for an asynchronous first-in first-out memory device, and more particularly to a control circuit for efficiently controlling an asynchronous first-in-first-out memory device using a local clock generated independently. Circuit. According to the control circuit of the present invention, not only can the first-in-first-out memory device be implemented with a smaller amount of memory than in the case of the conventional synchronous first-in-first-out memory device, By operating only the necessary parts, the system can be efficiently controlled and unnecessary power consumption can be prevented. In addition, it is possible to effectively solve a complicated clock distribution problem when implementing a video and audio processing system of a portable wireless terminal or a multimedia terminal by using an ASIC.

【0088】本発明の技術思想は上記望ましい実施例に
よって具体的に記述されたが、上記一実施例はその説明
のためのものであり、これに限定するためのものでない
ことに留意されたい。また、本発明に関する当該技術分
野の当業者であれば、本発明の技術思想の範囲内で多様
な実施例が可能であることを理解することができる。
Although the technical idea of the present invention has been specifically described by the above-described preferred embodiments, it should be noted that the above-described embodiment is for the purpose of explanation and is not intended to limit the present invention. Also, those skilled in the art of the present invention can understand that various embodiments are possible within the scope of the technical idea of the present invention.

【0089】[0089]

【発明の効果】以上で説明したように、本発明は、従来
の同期式先入先出メモリ装置において、より少ない量の
メモリで先入先出メモリ装置を具現できることだけでな
く、自主的に生成したローカルクロックを用いて、必要
とした部分だけを動作させることにより、システムを效
率的に制御して不必要な電力消耗を防止でき、携帯用無
線端末機、マルチメディア端末機の映像及び音声処理シ
ステムなどをASICで具現するにあたって複雑なクロック
分配の問題を效果的に解決できる。
As described above, according to the present invention, not only the conventional synchronous first-in-first-out memory device but also the first-in-first-out memory device can be realized with a smaller amount of memory, and the self-generated first-in-first-out memory device is generated independently. By using the local clock to operate only the necessary parts, the system can be efficiently controlled and unnecessary power consumption can be prevented, and the video and audio processing system for portable wireless terminals and multimedia terminals In realizing such as an ASIC, complicated problems of clock distribution can be effectively solved.

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

【図1】本発明が適用される非同期式先入先出装置のブ
ロック図である。
FIG. 1 is a block diagram of an asynchronous first-in first-out device to which the present invention is applied.

【図2】図1に示す非同期式先入先出装置の動作過程を
説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining an operation process of the asynchronous first-in first-out device shown in FIG.

【図3】本発明に係る非同期式先入先出メモリ装置の制
御回路の概略的な構成を示した一実施例ブロック図であ
る。
FIG. 3 is a block diagram of an embodiment showing a schematic configuration of a control circuit of the asynchronous first-in first-out memory device according to the present invention;

【図4】図3に図示された貯蔵状態判別部の一実施例ブ
ロック図である。
FIG. 4 is a block diagram illustrating an example of a storage state determination unit illustrated in FIG. 3;

【図5】図3に図示された第1及び第2イベント信号発
生部の一実施例ブロック図である。図5Aは第1確認イ
ベント信号発生部を示し、図5Bは第2確認イベント信
号発生部を示す。
FIG. 5 is a block diagram illustrating an example of first and second event signal generators illustrated in FIG. 3; FIG. 5A shows a first confirmation event signal generator, and FIG. 5B shows a second confirmation event signal generator.

【図6】図3に図示された非同期式先入先出メモリ装置
制御回路の動作タイミング図である。
6 is an operation timing diagram of the asynchronous first-in first-out memory device control circuit shown in FIG. 3;

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

310 第1クロック発生部 320 第2クロック発生部 330 書き込みアドレスポインタ発生部 340 読み出しアドレスポインタ発生部 351、352 インバータ 353 選択部 354 書き込み及び読み出しイネーブル信号発生部 360 ラッチ部 370 貯蔵状態判別部 380 第1確認イベント信号発生部 390 第2確認イベント信号発生部 310 First clock generator 320 Second clock generator 330 Write address pointer generator 340 Read address pointer generator 351, 352 Inverter 353 Selector 354 Write / read enable signal generator 360 Latch 370 Storage state discriminator 380 First Confirmation event signal generator 390 Second confirmation event signal generator

Claims (25)

【特許請求の範囲】[Claims] 【請求項1】 書き込み及び読み出しプロセッサー間に
備わる先入先出メモリを非同期式で制御するための回路
であって、 前記書き込み及び読み出しプロセッサーから要求イベン
ト信号を受け取り、クロックを発生するためのクロック
発生手段と、 前記クロック発生手段からクロックを受け取り、データ
を貯蔵するアドレスを指定するための書き込みアドレス
ポインタ信号及び読むデータが貯蔵されたアドレスを指
定するための読み出しアドレスポインタ信号を発生する
書き込み及び読み出しアドレスポインタ発生手段と、 前記クロック発生手段から伝えられたクロックによっ
て、前記書き込み及び読み出しアドレスポインタ発生手
段から伝えられた書き込みアドレスポインタ信号及び読
み出しアドレスポインタ信号を前記メモリに選択的に伝
達するための第1選択手段と、 前記クロック発生手段からクロックを受け取り、前記メ
モリにデータを書くための書き込みイネーブル信号及び
前記メモリに貯蔵されたデータを読むための読み出しイ
ネーブル信号を発生して前記メモリに伝達する書き込み
及び読み出しイネーブル信号発生手段と、 前記書き込み及び読み出しアドレスポインタ発生手段か
ら伝えられた書き込みアドレスポインタ信号及び読み出
しアドレスポインタ信号を利用して、前記メモリにデー
タが貯蔵されている状態を判別するための貯蔵状態判別
手段と、 前記クロック発生手段から伝えられたクロックと前記貯
蔵状態判別手段の出力信号とによって、前記書き込み及
び読み出しプロセッサーから要求イベント信号を受け取
って確認イベント信号を発生して、前記書き込み及び読
み出しプロセッサーに伝達する確認イベント信号発生手
段とを備える非同期式先入先出メモリ装置の制御回路。
1. A circuit for asynchronously controlling a first-in first-out memory provided between a write and a read processor, comprising: a clock generating means for receiving a request event signal from the write and a read processor and generating a clock. And a write and read address pointer for receiving a clock from the clock generation means and generating a write address pointer signal for specifying an address where data is stored and a read address pointer signal for specifying an address where data to be read are stored. Generating means, and a write address pointer signal and a read address pointer signal transmitted from the write and read address pointer generating means are selectively transmitted to the memory by a clock transmitted from the clock generating means. Receiving the clock from the clock generating means, generating a write enable signal for writing data in the memory, and a read enable signal for reading data stored in the memory; A state in which data is stored in the memory by using a write and read enable signal generating means to be transmitted to the memory; and a write address pointer signal and a read address pointer signal transmitted from the write and read address pointer generating means. A storage state determining unit for determining, and a request event signal from the write and read processor, and a confirmation event signal generated by the clock transmitted from the clock generation unit and the output signal of the storage state determination unit. , The book The control circuit of the asynchronous FIFO memory device and a confirmation event signal generating means for transmitting the write and read processor.
【請求項2】 前記クロック発生手段から伝えられたク
ロックを反転するための反転手段と、 前記クロック発生手段から伝えられたクロックによっ
て、前記メモリから出力されたデータをラッチして前記
読み出しプロセッサーに伝達するラッチ手段とをさらに
備える請求項1に記載の非同期式先入先出メモリ装置の
制御回路。
2. An inverting unit for inverting a clock transmitted from the clock generating unit, and latching data output from the memory and transmitting the latched data to the read processor in accordance with the clock transmitted from the clock generating unit. 2. The control circuit according to claim 1, further comprising: latch means for performing the operation.
【請求項3】 前記クロック発生手段は、 前記書き込みプロセッサーから要求イベント信号を受け
取ってクロックを発生するための第1クロック発生部
と、 前記読み出しプロセッサーから要求イベント信号を受け
取ってクロックを発生するための第2クロック発生部と
を備える請求項1または2に記載の非同期式先入先出メ
モリ装置の制御回路。
3. The first clock generator for receiving a request event signal from the write processor and generating a clock, and a clock generator for receiving the request event signal from the read processor and generating a clock. 3. The control circuit according to claim 1, further comprising a second clock generator.
【請求項4】 前記第1クロック発生部は、 前記書き込みプロセッサーから伝えられた要求イベント
信号を遅延するための遅延部と、 前記書き込みプロセッサーから直接伝えられた要求イベ
ント信号と前記遅延部を介して遅れた要求イベント信号
とを受け取り、クロックを発生するためのクロック発生
器とを備える請求項3に記載の非同期式先入先出メモリ
装置の制御回路。
4. The first clock generation unit includes: a delay unit for delaying a request event signal transmitted from the write processor; and a request event signal transmitted directly from the write processor and the delay unit. 4. The control circuit according to claim 3, further comprising: a clock generator for receiving the delayed request event signal and generating a clock.
【請求項5】 前記クロック発生器は、 第1入力端が前記書き込みプロセッサーの出力端に接続
され、第2入力端が前記遅延部の出力端に接続され、前
記第1入力端を介して前記書き込みプロセッサーから直
接入力された要求イベント信号と前記遅延部を介して遅
れて前記第2入力端に入力された要求イベント信号とを
排他的論理和するための排他的論理和演算手段とを備え
る請求項4に記載の非同期式先入先出メモリ装置の制御
回路。
5. The clock generator, wherein a first input terminal is connected to an output terminal of the write processor, a second input terminal is connected to an output terminal of the delay unit, and the clock generator is connected via the first input terminal. Exclusive OR operation means for exclusive ORing a request event signal directly input from a write processor and a request event signal input to the second input terminal with a delay via the delay unit. Item 5. A control circuit for an asynchronous first-in first-out memory device according to item 4.
【請求項6】 前記第2クロック発生部は、 前記読み出しプロセッサーから伝えられた要求イベント
信号を遅延するための遅延部と、 前記読み出しプロセッサーから直接伝えられた要求イベ
ント信号と前記遅延部を介して遅れた要求イベント信号
とを受け取ってクロックを発生するためのクロック発生
器とを備える請求項3に記載の非同期式先入先出メモリ
装置の制御回路。
6. The delay circuit for delaying a request event signal transmitted from the read processor, the second clock generator, a request event signal transmitted directly from the read processor, and the delay unit. 4. The control circuit according to claim 3, further comprising a clock generator configured to receive the delayed request event signal and generate a clock.
【請求項7】 前記クロック発生器は、 第1入力端が前記読み出しプロセッサーの出力端に接続
され、第2入力端が前記遅延部の出力端に接続され、前
記第1入力端を介して前記読み出しプロセッサーから直
接入力された要求イベント信号と前記遅延部を介して遅
れて前記第2入力端に入力された要求イベント信号とを
排他的論理和するための排他的論理和演算手段を備える
請求項6に記載の非同期式先入先出メモリ装置の制御回
路。
7. The clock generator, wherein a first input terminal is connected to an output terminal of the read processor, a second input terminal is connected to an output terminal of the delay unit, and the clock generator is connected via the first input terminal. An exclusive OR operation means for exclusive ORing a request event signal directly input from a read processor and a request event signal input to the second input terminal with a delay via the delay unit. 7. The control circuit of the asynchronous first-in first-out memory device according to 6.
【請求項8】 前記書き込み及び読み出しアドレスポイ
ンタ発生手段は、 前記第1クロック発生部から伝えられたクロックを受け
取り、データを貯蔵するアドレスを指定するための書き
込みアドレスポインタ信号を発生して前記第1選択手段
と貯蔵状態判別手段に伝達する書き込みアドレスポイン
タ発生手段と、 前記第2クロック発生部から伝えられたクロックを受け
取り、読むデータが貯蔵されたアドレスを指定するため
の読み出しアドレスポインタ信号を発生して前記第1選
択手段と貯蔵状態判別手段に伝達する読み出しアドレス
ポインタ発生手段とを備える請求項3に記載の非同期式
先入先出メモリ装置の制御回路。
8. The write and read address pointer generating means receives a clock transmitted from the first clock generating unit, generates a write address pointer signal for designating an address where data is stored, and generates the first and second address pointer signals. A write address pointer generating means for transmitting to the selecting means and the storage state determining means; receiving a clock transmitted from the second clock generating unit, and generating a read address pointer signal for designating an address where data to be read is stored. 4. The control circuit for an asynchronous first-in first-out memory device according to claim 3, further comprising read address pointer generating means for transmitting the read address pointer to said first selecting means and storage state determining means.
【請求項9】 前記書き込みアドレスポインタ発生手段
は、 外部から印加される初期化信号をリセット端子を介して
受け取り、入力端子が前記第1クロック発生部の出力端
に接続され、出力端子が前記第1選択手段の第1入力端
と前記貯蔵状態判別手段の第1入力端とに接続され、前
記第1クロック発生部から伝えられたクロックをカウン
トして前記第1選択手段の第1入力端と貯蔵状態判別手
段の第1入力端とに伝達する第1カウンティング手段を
備える請求項8に記載の非同期式先入先出メモリ装置の
制御回路。
9. The write address pointer generating means receives an externally applied initialization signal via a reset terminal, has an input terminal connected to an output terminal of the first clock generation section, and has an output terminal connected to the first clock generation section. A first input terminal of the first selection unit is connected to a first input terminal of the first selection unit and a first input terminal of the storage state determination unit, and counts a clock transmitted from the first clock generation unit. 9. The control circuit according to claim 8, further comprising first counting means for communicating with the first input terminal of the storage state determining means.
【請求項10】 前記読み出しアドレスポインタ発生手
段は、 外部から印加される初期化信号をリセット端子を介して
受け取り、入力端子が前記第2クロック発生部の出力端
に接続され、出力端子が前記第1選択手段の第2入力端
と前記貯蔵状態判別手段の第2入力端とに接続され、前
記第2クロック発生部から伝えられたクロックをカウン
トして前記第1選択手段の第2入力端と前記貯蔵状態判
別手段の第2入力端とに伝達する第2カウンティング手
段を備える請求項9に記載の非同期式先入先出メモリ装
置の制御回路。
10. The read address pointer generating means receives an externally applied initialization signal via a reset terminal, has an input terminal connected to an output terminal of the second clock generation section, and has an output terminal connected to the second terminal. 1 is connected to a second input terminal of the first selection means and a second input terminal of the storage state determination means, counts clocks transmitted from the second clock generation unit, and counts the second input terminal of the first selection means. 10. The control circuit according to claim 9, further comprising second counting means for communicating with the second input terminal of the storage state judging means.
【請求項11】 前記反転手段は、 入力端が前記第1クロック発生部の出力端に接続され、
出力端が前記書き込み及び読み出しイネーブル信号発生
手段の入力端に接続され、前記第1クロック発生部から
伝えられたクロックを反転して前記書き込み及び読み出
しイネーブル信号発生手段に伝達する第1反転部と、 入力端が前記第2クロック発生部の出力端に接続され、
出力端が前記確認イベント信号発生手段の入力端に接続
され、前記第2クロック発生部から伝えられたクロック
を反転して前記確認イベント信号発生手段に伝達する第
2反転部とを備える請求項2に記載の非同期式先入先出
メモリ装置の制御回路。
11. The inverting means has an input terminal connected to an output terminal of the first clock generator,
An output terminal connected to an input terminal of the write and read enable signal generating means, a first inverting part for inverting a clock transmitted from the first clock generating part and transmitting the inverted clock to the write and read enable signal generating means; An input terminal is connected to an output terminal of the second clock generator,
3. An output terminal connected to an input terminal of the confirmation event signal generating means, comprising a second inverting section for inverting a clock transmitted from the second clock generating section and transmitting the inverted clock to the confirmation event signal generating means. 3. A control circuit for an asynchronous first-in first-out memory device according to claim 1.
【請求項12】 前記書き込み及び読み出しイネーブル
信号発生手段は、 入力端が前記第1反転部の出力端に接続され、出力端が
前記メモリに接続され、前記第1反転部から伝えられた
クロックを遅延して前記メモリに伝達する遅延器を備え
る請求項3に記載の非同期式先入先出メモリ装置の制御
回路。
12. The write / read enable signal generating means has an input terminal connected to an output terminal of the first inversion unit, an output terminal connected to the memory, and a clock transmitted from the first inversion unit. 4. The control circuit according to claim 3, further comprising a delay unit for delaying the transmission to the memory.
【請求項13】 前記ラッチ手段は、 外部から印加される初期化信号をリセット端子を介して
受け取り、クロック端子が前記第2クロック発生部の出
力端に接続され、出力端子が前記読み出しプロセッサー
の入力端に接続され、前記メモリから伝えられたデータ
を遅延して前記読み出しプロセッサーに出力するD−フ
リップフロップを備える請求項2に記載の非同期式先入
先出メモリ装置の制御回路。
13. The latch means receives an externally applied initialization signal via a reset terminal, a clock terminal connected to an output terminal of the second clock generator, and an output terminal connected to an input terminal of the read processor. 3. The control circuit according to claim 2, further comprising a D-flip-flop connected to an end and delaying the data transmitted from the memory and outputting the delayed data to the read processor.
【請求項14】 前記貯蔵状態判別手段は、 前記書き込みアドレスポインタ発生手段から伝えられた
書き込みアドレスポインタ信号と前記読み出しアドレス
ポインタ発生手段から伝えられた読み出しアドレスポイ
ンタ信号との大きさを比較する第1比較手段と、 前記書き込みアドレスポインタ信号から前記読み出しア
ドレスポインタ信号を減算して第1減算値を出力し、前
記メモリのアドレス最大値から前記読み出しアドレスポ
インタ信号を減算した第2減算値と前記書き込みアドレ
スポインタ信号とを加算した加算値を出力する加減算手
段と、 前記第1比較手段の出力信号によって、前記加減算手段
の出力信号を選択的に伝達するための第2選択手段と、 前記第2選択手段の出力信号と所定の基準値とが同じか
どうかを比較し、比較結果により判別された前記メモリ
のデータ貯蔵状態を示す第1貯蔵状態信号を前記確認イ
ベント信号発生手段に伝達する第2比較手段と、 前記第2選択手段の出力信号とあらかじめ設定された前
記メモリのアドレス最大値とが同じかどうかを比較し
て、比較結果により判別された前記メモリのデータ貯蔵
状態を示す第2貯蔵状態信号を前記確認イベント信号発
生手段に伝達する第3比較手段とを備える請求項3に記
載の非同期式先入先出メモリ装置の制御回路。
14. The storage state determining means compares the magnitude of a write address pointer signal transmitted from the write address pointer generating means with a magnitude of a read address pointer signal transmitted from the read address pointer generating means. Comparing means for subtracting the read address pointer signal from the write address pointer signal to output a first subtraction value, a second subtraction value obtained by subtracting the read address pointer signal from the maximum address of the memory, and the write address Addition / subtraction means for outputting an added value obtained by adding a pointer signal; second selection means for selectively transmitting an output signal of the addition / subtraction means based on an output signal of the first comparison means; and second selection means Compare whether the output signal is the same as the predetermined reference value, and Second comparing means for transmitting a first storage state signal indicating the data storage state of the memory determined to the acknowledgment event signal generating means, an output signal of the second selecting means and a preset address of the memory And a third comparing means for comparing whether or not the maximum value is the same and transmitting a second storage state signal indicating a data storage state of the memory determined by the comparison result to the confirmation event signal generating means. 4. The control circuit of the asynchronous first-in first-out memory device according to 3.
【請求項15】 前記第2比較手段は、 前記第2選択手段の出力信号と所定の基準値とが同じで
あれば、前記メモリに貯蔵されたデータが無いことを示
すハイ状態の前記第1貯蔵状態信号を前記確認イベント
信号発生手段に出力し、 前記第2選択手段の出力信号が所定の基準値より大きけ
れば、前記メモリにデータが貯蔵されていることを示す
ロー状態の前記第1貯蔵状態信号を前記確認イベント信
号発生手段に出力することを特徴とする請求項14に記
載の非同期式先入先出メモリ装置の制御回路。
15. The second comparing means, if the output signal of the second selecting means is equal to a predetermined reference value, indicates that there is no data stored in the memory. Outputting a storage state signal to the acknowledgment event signal generating means; if an output signal of the second selecting means is greater than a predetermined reference value, the first storage in a low state indicating that data is stored in the memory; 15. The control circuit according to claim 14, wherein a status signal is output to said confirmation event signal generating means.
【請求項16】 前記第3比較手段は、 前記第2選択手段の出力信号とあらかじめ設定された前
記メモリのアドレス最大値とが同じであれば、前記メモ
リのあらゆるアドレスにデータが貯蔵されたことを示す
ハイ状態の前記第2貯蔵状態信号を前記確認イベント信
号発生手段に出力し、 前記第2選択手段の出力信号があらかじめ設定された前
記メモリのアドレス最大値より小さければ、前記メモリ
にデータが貯蔵されていないアドレスがあることを示す
ロー状態の前記第2貯蔵状態信号を前記確認イベント信
号発生手段に出力することを特徴とする請求項15に記
載の非同期式先入先出メモリ装置の制御回路。
16. The third comparing means, if the output signal of the second selecting means is equal to a preset address maximum value of the memory, the data is stored at any address of the memory. And outputting the second storage state signal in a high state to the acknowledgment event signal generating means. If the output signal of the second selecting means is smaller than a preset address maximum value of the memory, data is stored in the memory. 16. The control circuit of claim 15, wherein the second storage state signal in a low state indicating that there is an unstored address is output to the confirmation event signal generating means. .
【請求項17】 前記確認イベント信号発生手段は、 前記第1反転部を介して反転されて伝えられたクロック
と前記第2比較手段から伝えられた第1貯蔵状態信号と
によって、前記書き込みプロセッサーから要求イベント
信号を受け取って、データが受信されたことを示す第1
確認イベント信号を発生し、前記書き込みプロセッサー
に伝達する第1確認イベント信号発生部と、 前記第2反転部を介して反転されて伝えられたクロック
と前記第3比較手段から伝えられた第2貯蔵状態信号に
よって、前記読み出しプロセッサーから要求イベント信
号を受け取って、データが受信されたことを示す第2確
認イベント信号を発生して前記読み出しプロセッサーに
伝達する第2確認イベント信号発生部とを備える請求項
3に記載の非同期式先入先出メモリ装置の制御回路。
17. The write event processor according to claim 1, wherein the acknowledgment event signal generating unit is configured to output the acknowledgment signal from the write processor based on a clock inverted and transmitted through the first inverting unit and a first storage state signal transmitted from the second comparing unit. Receiving a request event signal to indicate that data has been received;
A first acknowledgment event signal generating unit for generating a acknowledgment event signal and transmitting the same to the write processor; a clock inverted and transmitted through the second inverting unit; and a second storage transmitted from the third comparing unit. And a second acknowledgment signal generator for receiving a request event signal from the read processor according to a status signal, generating a second acknowledgment event signal indicating that data has been received, and transmitting the second acknowledgment event signal to the read processor. 4. The control circuit of the asynchronous first-in first-out memory device according to 3.
【請求項18】 前記第1確認イベント信号発生部は、 前記第2比較手段から伝えられた第1貯蔵状態信号によ
って、前記書き込みプロセッサーから伝えられた要求イ
ベント信号と確認イベント信号出力部の出力信号とを選
択的に伝達するための第1選択部と、 前記第1反転部を介して反転されて伝えられたクロック
によって、前記第1選択部の出力信号を受け取って前記
第1確認イベント信号を前記書き込みプロセッサーに出
力するための前記確認イベント信号出力部とを備える請
求項17に記載の非同期式先入先出メモリ装置の制御回
路。
18. The first acknowledgment event signal generating unit may include a request event signal transmitted from the write processor and an output signal of a acknowledgment event signal output unit according to the first storage state signal transmitted from the second comparing unit. And a first selector for selectively transmitting the first acknowledgment signal and receiving the output signal of the first selector in response to a clock inverted and transmitted through the first inverter. The control circuit of an asynchronous first-in first-out memory device according to claim 17, further comprising the acknowledgment event signal output unit for outputting to the write processor.
【請求項19】 前記確認イベント信号出力部は、 前記第1反転部を介して反転されて伝えられたクロック
によって、前記第1選択部の出力信号をラッチするため
のラッチ部を備える請求項18に記載の非同期式先入先
出メモリ装置の制御回路。
19. The acknowledgment event signal output unit includes a latch unit for latching an output signal of the first selection unit according to a clock inverted and transmitted through the first inversion unit. 3. A control circuit for an asynchronous first-in first-out memory device according to claim 1.
【請求項20】 前記ラッチ部は、 外部から印加される初期化信号をリセット端子を介して
受け取り、入力端子が前記第1選択部の出力端に接続さ
れ、クロック端子が前記第1反転部の出力端に接続さ
れ、出力端子が前記書き込みプロセッサーの入力端と前
記第1選択部の入力端とに共通接続されたD−フリップ
フロップを備える請求項19に記載の非同期式先入先出
メモリ装置の制御回路。
20. The latch unit receives an externally applied initialization signal via a reset terminal, has an input terminal connected to the output terminal of the first selection unit, and has a clock terminal connected to the first inversion unit. 20. The asynchronous first-in first-out memory device according to claim 19, further comprising a D-flip-flop connected to an output terminal and having an output terminal commonly connected to an input terminal of the write processor and an input terminal of the first selection unit. Control circuit.
【請求項21】 前記第1選択部は、 前記第2比較手段からロー状態の第1貯蔵状態信号が伝
えられた場合に、前記書き込みプロセッサーから伝えら
れた要求イベント信号を前記ラッチ部の入力端に伝達
し、 前記第2比較手段からハイ状態の第1貯蔵状態信号が伝
えられた場合に、前記ラッチ部から帰還された信号を前
記ラッチ部の入力端に伝達することを特徴とする請求項
20に記載の非同期式先入先出メモリ装置の制御回路。
21. An input terminal of the latch unit, wherein the first selection unit receives a request event signal transmitted from the write processor when a low storage state signal is transmitted from the second comparison unit. And transmitting a signal fed back from the latch unit to an input terminal of the latch unit when the first storage state signal in a high state is transmitted from the second comparison unit. 21. The control circuit of the asynchronous first-in first-out memory device according to 20.
【請求項22】 前記第2確認イベント信号発生部は、 前記第3比較手段から伝えられた第2貯蔵状態信号によ
って、前記読み出しプロセッサーから伝えられた要求イ
ベント信号と確認イベント信号出力部の出力信号とを選
択的に伝達するための第2選択部と、 前記第2反転部を介して反転されて伝えられたクロック
によって、前記第2選択部の出力信号を受け取って前記
第2確認イベント信号を前記読み出しプロセッサーに出
力するための前記確認イベント信号出力部とを備える請
求項17に記載の非同期式先入先出メモリ装置の制御回
路。
22. The second acknowledgment event signal generator, comprising: a request event signal transmitted from the read processor and an output signal of a acknowledgment event signal output unit according to the second storage state signal transmitted from the third comparison means. And a second selector for selectively transmitting the second acknowledgment signal and receiving the output signal of the second selector in response to a clock inverted and transmitted through the second inverter. The control circuit of an asynchronous first-in first-out memory device according to claim 17, further comprising the confirmation event signal output unit for outputting to the read processor.
【請求項23】 前記確認イベント信号出力部は、 前記第2反転部を介して反転されて伝えられたクロック
によって、前記第2選択部の出力信号をラッチするため
のラッチ部を備える請求項22記載の非同期式先入先出
メモリ装置の制御回路。
23. The acknowledgment event signal output unit includes a latch unit for latching an output signal of the second selection unit in response to a clock inverted and transmitted through the second inversion unit. A control circuit for the asynchronous first-in first-out memory device as described.
【請求項24】 前記ラッチ部は、 外部から印加される初期化信号をリセット端子を介して
受け取り、入力端子が前記第2選択部の出力端に接続さ
れ、クロック端子が前記第2反転部の出力端に接続さ
れ、出力端子が前記読み出しプロセッサーの入力端と前
記第2選択部の入力端とに共通接続されたD−フリップ
フロップを備える請求項23記載の非同期式先入先出メ
モリ装置の制御回路。
24. The latch section, which receives an externally applied initialization signal via a reset terminal, an input terminal connected to an output terminal of the second selection section, and a clock terminal connected to the second inversion section. 24. The control of the asynchronous first-in first-out memory device according to claim 23, further comprising a D-flip-flop connected to an output terminal and having an output terminal commonly connected to an input terminal of the read processor and an input terminal of the second selection unit. circuit.
【請求項25】 前記第2選択部は、 前記第3比較手段からロー状態の第2貯蔵状態信号が伝
えられた場合に、前記読み出しプロセッサーから伝えら
れた要求イベント信号を前記ラッチ部の入力端に伝達
し、 前記第3比較手段からハイ状態の第2貯蔵状態信号が伝
えられた場合に、前記ラッチ部から帰還された信号を前
記ラッチ部の入力端に伝達することを特徴とする請求項
24に記載の非同期式先入先出メモリ装置の制御回路。
25. An input terminal of the latch unit, wherein the second selection unit receives a request event signal transmitted from the read processor when a second storage state signal in a low state is transmitted from the third comparison unit. Transmitting a signal fed back from the latch unit to an input terminal of the latch unit when the second storage state signal in a high state is transmitted from the third comparison unit. 25. The control circuit of the asynchronous first-in first-out memory device according to 24.
JP11151735A 1998-05-29 1999-05-31 Control circuit for asynchronous first-in first-out memory device Expired - Fee Related JP3138865B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1998-19863 1998-05-29
KR1019980019863A KR19990086737A (en) 1998-05-29 1998-05-29 Control device of asynchronous first-in, first-out system

Publications (2)

Publication Number Publication Date
JP2000011636A true JP2000011636A (en) 2000-01-14
JP3138865B2 JP3138865B2 (en) 2001-02-26

Family

ID=19537925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11151735A Expired - Fee Related JP3138865B2 (en) 1998-05-29 1999-05-31 Control circuit for asynchronous first-in first-out memory device

Country Status (3)

Country Link
JP (1) JP3138865B2 (en)
KR (1) KR19990086737A (en)
CN (1) CN1143315C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006131964A1 (en) * 2005-06-08 2006-12-14 Fujitsu Limited Semiconductor storage apparatus and electronic device
US7463640B2 (en) 2002-08-08 2008-12-09 Sharp Kabushiki Kaisha Self-synchronous FIFO memory device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005101771A (en) * 2003-09-22 2005-04-14 Matsushita Electric Ind Co Ltd Clock transferring circuit and method thereof
CN100536020C (en) * 2004-07-23 2009-09-02 华为技术有限公司 First-in first-out memory and regulating method of read/write address
CN102931994B (en) * 2012-09-26 2015-11-25 成都嘉纳海威科技有限责任公司 Be applied to high speed signal sampling and synchronous framework and the method for signal processing chip

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7463640B2 (en) 2002-08-08 2008-12-09 Sharp Kabushiki Kaisha Self-synchronous FIFO memory device
WO2006131964A1 (en) * 2005-06-08 2006-12-14 Fujitsu Limited Semiconductor storage apparatus and electronic device
JPWO2006131964A1 (en) * 2005-06-08 2009-01-08 富士通株式会社 Semiconductor memory device and electronic device
US7573779B2 (en) 2005-06-08 2009-08-11 Fujitsu Microelectronics Limited Semiconductor memory and electronic device
KR100951420B1 (en) 2005-06-08 2010-04-07 후지쯔 마이크로일렉트로닉스 가부시키가이샤 Semiconductor storage apparatus and electronic device
JP4746038B2 (en) * 2005-06-08 2011-08-10 富士通セミコンダクター株式会社 Semiconductor memory device and electronic device

Also Published As

Publication number Publication date
KR19990086737A (en) 1999-12-15
CN1143315C (en) 2004-03-24
JP3138865B2 (en) 2001-02-26
CN1238528A (en) 1999-12-15

Similar Documents

Publication Publication Date Title
EP0977109A1 (en) Method and apparatus for synchronizing data transfers in a logic circuit having plural clock domains
US8520464B2 (en) Interface circuit and semiconductor device incorporating same
JP3645584B2 (en) Data transfer synchronization device
US20080218225A1 (en) Semiconductor Device and Communication Control Method
JP5230887B2 (en) Efficient clock start and stop device for clock forward system I / O
EP0484652A2 (en) First-in-first-out buffer
JP3138865B2 (en) Control circuit for asynchronous first-in first-out memory device
CN111949582B (en) Pointer synchronization device and method, asynchronous FIFO circuit and processor system
CN115220528B (en) Clock obtaining method, device, chip, electronic equipment and storage medium
US5200647A (en) High-speed signal multiplexing circuit for multiplexing high-speed signals
JP3475857B2 (en) Source synchronous transfer method
US7899955B2 (en) Asynchronous data buffer
JP3790158B2 (en) FIFO circuit
KR100294770B1 (en) Semiconductor storage device
US6255869B1 (en) Method and apparatus for system resource negotiation
CN117311662A (en) Data clearing system and method
CN115834602A (en) Asynchronous data flow communication interaction system
JP3374772B2 (en) Size determination circuit and FIFO circuit using the same
JP2001222407A (en) Fifo circuit
KR100400933B1 (en) Apparatus for synchronization between CPU and external devices in keyphone system
KR100557561B1 (en) First in First out storage device
JP2003196972A (en) Memory device
KR910007746B1 (en) A method and apparatus for relaying unidirectional communication between processors
JP2694408B2 (en) Staff request detection circuit
JP2000132451A (en) Memory control circuit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071215

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081215

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091215

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091215

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101215

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111215

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121215

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131215

Year of fee payment: 13

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees