JPH02139629A - Fifo buffer device - Google Patents

Fifo buffer device

Info

Publication number
JPH02139629A
JPH02139629A JP63293874A JP29387488A JPH02139629A JP H02139629 A JPH02139629 A JP H02139629A JP 63293874 A JP63293874 A JP 63293874A JP 29387488 A JP29387488 A JP 29387488A JP H02139629 A JPH02139629 A JP H02139629A
Authority
JP
Japan
Prior art keywords
data
priority
stage
input
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63293874A
Other languages
Japanese (ja)
Inventor
Keiichi Mori
毛利 啓一
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP63293874A priority Critical patent/JPH02139629A/en
Publication of JPH02139629A publication Critical patent/JPH02139629A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a FIFO buffer device which has such constitution that the device is easily made into one chip by inserting data having a higher priority level before first inputted data having a lower priority level by interruption in accordance with priority levels of data. CONSTITUTION:Priority bits of output data of cells 1 in respective stages and priority bits of external input data are compared by plural comparators 4, and the control of data shift between cells including the control of data selection due to selector circuit parts 2 in cells of respective stages is performed by a control circuit 5 in accordance with outputs of these comparators 4. Data having the same priority level are shifted in order in accordance with the principle of FIFO (first in first out), but interrupt insertion to stages corresponding to priority levels is performed with respect to data having different priority levels. Thus, the FIFO buffer device is easily made into one chip.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、FIFO(先入れ先出し)バッファ装置に関
し、特にデータの持つ優先度に従った割込み挿入機能を
有するFIFOバッファ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a FIFO (first-in, first-out) buffer device, and more particularly to a FIFO buffer device having an interrupt insertion function according to the priority of data.

従来の技術および解決しようとする課題データの単純な
先入れ先出しくFIFO)は、シフトレジスタやブツシ
ュアップ型のスタックによって行うことができる。しか
し、複数のデータ入力元の中の特定のデータ入力元から
のデータを優先して処理する必要があるような用途には
、このような単純な方式は適用できない。
Conventional techniques and problems to be solved A simple first-in, first-out (FIFO) storage of data can be performed using a shift register or a push-up type stack. However, such a simple method cannot be applied to applications where data from a specific data input source among a plurality of data input sources needs to be processed preferentially.

従来、このようなデータの優先度に応じて、優先度が高
いデータを先に入力された優先度の低いデータに優先さ
せて出力させるような・・−ドウエア(FIFOバッフ
ァ装置)は実現されておらず、優先処理付きFIFOに
はソフトウェアによるポーリング機構が利用されている
。しかし、この方式ではFIFOデータを一旦RAM上
に展開しなければならず処理に時間がかかる。また、F
IFO最終段出力後にFIFOデータの優先度を示すピ
ット(優先ビット)を検知して優先処理を行うので、本
来の優先処理、すなわち優先度が高いデ−夕を先に入力
された優先度の低いデータの前(出力段側)に割込み挿
入する処理とは違った内容である。
Conventionally, a software (FIFO buffer device) has not been realized in which data with a higher priority is given priority over data with a lower priority that was input earlier, depending on the priority of the data. Instead, a software polling mechanism is used for FIFO with priority processing. However, in this method, the FIFO data must be expanded onto the RAM, which takes time. Also, F
Since the pit (priority bit) indicating the priority of the FIFO data is detected after the IFO final stage is output and priority processing is performed, the original priority processing is performed, i.e. data with a higher priority is given priority over the input data with a lower priority. This is different from the process of inserting an interrupt before data (on the output stage side).

本発明は、上述の問題点に鑑みてなされたもので、デー
タの優先度に応じて優先度の高いデータを先に入力され
た優先度の低いデータの前に割込み挿入させる機能を有
し、1チツプ化も容易な構成のハードウェアのFIFO
バッファ装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems, and has a function of inserting data with a high priority according to the priority of the data before the data with a low priority that is input earlier. Hardware FIFO that can be easily integrated into a single chip
The purpose is to provide a buffer device.

課題を解決するだめの手段 本発明は上述の課題を解決するため、前段からのデータ
または外部入力データを選択するセレクタ回路部および
該セレクタ回路部によって選択されたデータをラッチす
るラッチ回路部よりなるセルを多段接続し、各段セルの
出力データの優先ビットと外部入力データの優先ビット
とを複数のコンパレータによって比較し、これらコンパ
レータの出力に従ってコントロール回路により各段セル
内のセレクタ回路部によるデータ選択の制御を含むセル
間のデータシフトの制御を行うことによム同−優先度の
データについてはFIFOの原理通りの順番でシフトし
、優先度の違うデータについては優先度に応じた段への
割込み挿入を行うという構成を備えたものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention comprises a selector circuit section that selects data from a previous stage or external input data, and a latch circuit section that latches the data selected by the selector circuit section. Cells are connected in multiple stages, the priority bits of the output data of each stage cell and the priority bits of external input data are compared by multiple comparators, and data is selected by the selector circuit section in each stage cell by a control circuit according to the outputs of these comparators. By controlling the data shift between cells, including control of data, data with the same priority is shifted in the order according to the FIFO principle, and data with different priorities is shifted to the stage according to the priority. It has a configuration for inserting interrupts.

作用 同じ優先度のデータが外部よシ順次入力された場合、各
コンパレータの比較結果に従ってコントロール回路は、
各段セル内のセレクタ回路部に前段セルの出力データを
選択させるとともに各段のセルのデータシフトを行わせ
るため、各入力データは入力順に従って初段のセルより
後段のセルへ順番にシフトされていく。したがって、デ
ータは入力順と同じ順番で出力される。
Effect When data with the same priority is input sequentially from the outside, the control circuit operates according to the comparison results of each comparator.
In order to have the selector circuit section in each stage cell select the output data of the previous stage cell and shift the data of each stage cell, each input data is sequentially shifted from the first stage cell to the subsequent stage cell according to the input order. go. Therefore, data is output in the same order as it was input.

しかし、それまで入力されたデータよりも高い優先度の
データが入力したことが各コンパレータの比較結果から
判明した場合、コントロール回路は、有効なデータがラ
ッチされている最後の段の次段(特定段)のセル内のセ
レクタ回路部に外部入力データを選択させて、特定段以
降のセルにデータシフトを行わせ、その後に特定段より
前の段のセルについてデータシフトを行わせるように制
御する。
However, if it is found from the comparison results of each comparator that data with a higher priority has been input than the data that has been input up to that point, the control circuit control so that the selector circuit section in the cell of the stage) selects external input data, causes the cells in a specific stage and subsequent stages to perform a data shift, and then causes the cells in the stage before the specific stage to perform a data shift. .

様々な優先度を持つデータが順次入力された場合も同様
で、外部入力データの優先度と等しいかそれよシ高い優
先度のデータがラッチされている最も前の段(特定段)
のセル内のセレクタ回路部に外部入力データを選択させ
て特定段以降のセルにデータシフトを行わせ、次に特定
段より前の段のセルについてデータシフトを行わせる。
The same is true when data with various priorities are input sequentially, and the earliest stage (specific stage) where data with a priority equal to or higher than that of the external input data is latched.
The selector circuit section in the cell selects external input data to shift data to cells at a specific stage and subsequent stages, and then shifts data to cells at a stage before the specific stage.

このように、同じ優先度のデータに関してはFIFOの
原則通り先に入力されたデータはど後の段ヘシフトされ
早く出力されることになるが、優先度が違うデータに関
しては、入力順によらずデータ固有の優先度が高いデー
タはど後の段に挿入(割込み挿入)され、優先度の低い
データに優先して早く出力されるようになる。
In this way, as for data with the same priority, according to the principle of FIFO, the data input first will be shifted to the next stage and output earlier, but for data with different priorities, the data will be output regardless of the order of input. Data with a high inherent priority is inserted into the next stage (interrupt insertion), and is output earlier in preference to data with a lower priority.

実施例 以下本発明の一実施例について、図面を参照しながら説
明する。
EXAMPLE An example of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例によるFIFOバッファ装置
の概略構成図である。■は多段(L段)接続された複数
のセルであり、それぞれ前段のセル1の出力データ(デ
ータビットと優先ビットからなる)または外部入力デー
タ(データビットDo、優先ピッ)Loよりなる)を選
択するためのセレクタ回路部2と、これにより選択され
たデータをラッチするだめのラッチ回路部3よシなる。
FIG. 1 is a schematic diagram of a FIFO buffer device according to an embodiment of the present invention. ■ is a plurality of cells connected in multiple stages (L stages), each of which receives output data (consisting of data bits and priority bits) of cell 1 in the previous stage or external input data (consisting of data bits Do, priority bits Lo). It consists of a selector circuit section 2 for selection and a latch circuit section 3 for latching the selected data.

4は各段セルlの出力データの優先ビットと外部入力デ
ータの優先ピッ)Loとの比較を行うコンパレータであ
る。5は各コンパレータ3の比較結果などに応じて各段
セル1内のセレクタ回路部2のデータ選択の制御を含む
セル間のデータシフトの制御を行うコントロール回路で
ある。6はデータ入力元とのハンドシェイクを行うため
の入力ハンドシェイク回路である。
4 is a comparator that compares the priority bit of the output data of each stage cell 1 with the priority bit (Lo) of external input data. Reference numeral 5 denotes a control circuit that controls data shift between cells, including control of data selection of the selector circuit section 2 in each stage cell 1, in accordance with the comparison results of each comparator 3 and the like. 6 is an input handshake circuit for handshaking with the data input source.

入出力インタフェース信号として、入力側は、入力デー
タの信号Input  DATA、入力データの書き込
みのための入力クロックI nput  CK、装置が
データ入力可能であることを示す入力レディ信号I n
put Ready、出力側は、出力データの信号0u
tput  DATA、出力データが有効であることを
示す出力レディ信号0utput Ready 、デー
タ取シ出しのだめの出力クロック0utput CKが
ある。
As input/output interface signals, the input side includes an input data signal Input DATA, an input clock I nput CK for writing input data, and an input ready signal I n that indicates that the device is capable of inputting data.
put Ready, output side is output data signal 0u
There are tput DATA, an output ready signal 0utput Ready indicating that the output data is valid, and an output clock 0utput CK for data extraction.

これらのインタフェース信号の基本タイミングは第2図
に示す通りである。
The basic timing of these interface signals is as shown in FIG.

FIFOバッファ装置に加えられる信号としては、さら
にシフトクロック5hift  CKがある。
A further signal applied to the FIFO buffer device is a shift clock 5hift CK.

なお、外部から入力されるデータおよびFIFOバッフ
ァ装置内をシフトされるデータは、第3図に示すように
、本来のデータ情報であるデータビット11と、゛その
優先度(優先レベル)を示す優先ビット (ピット幅は
Xビット)12とからなる。
As shown in Figure 3, data input from the outside and data shifted within the FIFO buffer device have data bit 11, which is the original data information, and priority bit 11, which indicates its priority (priority level). It consists of 12 bits (pit width is X bits).

第4図はセル1とコントロール回路5の構成を示すブロ
ック図である。図には第n段セル1、第(n−1)段セ
ル1の一部、それに関連したコントロール回路50部分
だけが示されているが、他の段も同様である。
FIG. 4 is a block diagram showing the configuration of the cell 1 and the control circuit 5. Although only the n-th stage cell 1, a part of the (n-1)th stage cell 1, and the related control circuit 50 are shown in the figure, the same applies to the other stages.

セル1内のラッチ回路部3は、データビットをラッチす
るためのラッチ回路21、優先ビットをラッチするため
のラッチ回路部を有し、また段間のデータシフトの制御
に関連して、ラッチ回路21゜nの出力データが有効で
あるか否か(次段へのシフト前の有効なデータが保持さ
れているか否か)を示す1ビツトの有効/無効信号をラ
ッチするためのラッチ回路部を有している。
The latch circuit section 3 in the cell 1 has a latch circuit section 21 for latching data bits, a latch circuit section for latching priority bits, and a latch circuit section 3 for controlling data shift between stages. A latch circuit unit for latching a 1-bit valid/invalid signal indicating whether or not the output data of 21°n is valid (whether or not valid data before being shifted to the next stage is held). have.

データの優先度に応じた割込み挿入のために各段のセル
1内に設けられるセレクタ回路部2は、前段からのデー
タのデータビットまたは外部入力データのデータビット
DOを選択するためのセレクタu1前段からのデータの
優先ビットまたは外部入力データの優先ビットLOを選
択するためセレクタ5、および前段からの有効/無効信
号(これは“1”のときデータが有効であることを意味
し、“0”のときデータが無効すなわちデータ無しを意
味する)または“1”信号を選択するためのセレクタが
からなる。なお、セレクタ5とコンパレータ4を一体の
回路(セレクタ/コンパレータ)とすることもできる。
A selector circuit unit 2 provided in each stage cell 1 for inserting an interrupt according to the priority of data is a selector circuit unit 2 provided in the cell 1 of each stage, and a selector circuit unit 2 is connected to a selector circuit unit 2 in the previous stage of the selector u1 for selecting the data bit of data from the previous stage or the data bit DO of external input data. Selector 5 to select the priority bit of data from LO or the priority bit LO of external input data, and the valid/invalid signal from the previous stage (this means that the data is valid when “1”, and “0” (meaning that the data is invalid, that is, there is no data) or a "1" signal. In addition, the selector 5 and the comparator 4 can also be made into an integrated circuit (selector/comparator).

コントロール回路5は、各段のセルlに対応して設けら
れた、ラッチ回路部のクリア制御用ゲート27およびラ
ッチ回路21.22. Z3に対するラッチクロックを
作るためのゲート路と、各コンパレータ4の出力信号を
入力として各段のセレクタ回路部2の選択制御およびゲ
ー)27の制御のための信号を生成するデコーダ四とか
ら構成される。なお、各段に対応したゲー)27.28
はセルlの一部とみなしてもよい。
The control circuit 5 includes clear control gates 27 and latch circuits 21, 22, . It consists of a gate path for creating a latch clock for Z3, and a decoder 4 that receives the output signal of each comparator 4 and generates a signal for selection control of the selector circuit section 2 of each stage and control of the gate 27. Ru. In addition, games corresponding to each stage) 27.28
may be considered as part of cell l.

なお、最終段のセルlについては、第8図に示すように
、ラッチ回路21.Z3の出力がそれぞれ出力データ0
utput  DATA、出力レディ信号Ou t p
u tReady として外部へ送出され、また出力ク
ロック0utput  CKはその1まラッチ回路部の
クリア信号C(Z)となる。
Note that for the final stage cell l, as shown in FIG. 8, the latch circuit 21. Each output of Z3 is output data 0
output DATA, output ready signal Out p
It is sent to the outside as u tReady, and the output clock 0output CK becomes the clear signal C(Z) of the latch circuit section.

このFIFOバッファ装置では、優先度が高いデータは
ど後段側となるような順番に保持される(同一優先度の
データは入力順に保持される)ため、外部入力データの
優先度が第n段に保持されているデータの優先度と等し
いかまたは低く、第(n −1)段に保持されているデ
ータの優先度より高い場合、デコーダ四に入力する各コ
ンパレータ4の出力信号5(1)〜S <t)は、第5
図に示すように、第n段から後段の信号はすべて“0゛
′、それより前の段の信号はすべて“l”になる。この
場合、デコーダ9は第n段出力信号S (n)だけを“
1”、他の段の出力信号をすべて“θ″とする。
In this FIFO buffer device, data with a high priority is held in the order of the next stage (data with the same priority is held in the order of input), so if the priority of external input data is in the nth stage. If the priority is equal to or lower than the priority of the data held and higher than the priority of the data held in the (n-1)th stage, the output signals 5(1) to 5 of each comparator 4 input to the decoder 4 S < t) is the fifth
As shown in the figure, all the signals from the n-th stage to the subsequent stages are "0", and all the signals from the stages before it are "L". In this case, the decoder 9 outputs the n-th stage output signal S (n). Only “
1", and all output signals of other stages are "θ".

以上の構成において、通常のデータシフト動作は次の通
りである。この場合、デコーダ四の全出力信号が“0”
である。
In the above configuration, a normal data shift operation is as follows. In this case, all output signals of decoder 4 are “0”
It is.

第n段セルを考えると、有効/無効信号A (n)ou
tが“1”(データ有効)のとき、ゲート28によりシ
フトクロック5hift  CKはマスクされてラッチ
クロックGCK (n)は発生しないため、前段からの
データビットD (n−1) out、優先ビットL 
(n−1) out、有効/無効信号A(n−1)ou
tはラッチ回路21.22.23にラッチされない。
Considering the nth stage cell, the valid/invalid signal A (n)ou
When t is "1" (data valid), the shift clock 5hift CK is masked by the gate 28 and the latch clock GCK (n) is not generated, so the data bit D (n-1) out from the previous stage and the priority bit L
(n-1) out, valid/invalid signal A(n-1)ou
t is not latched by the latch circuits 21, 22, and 23.

第n段のデータが次段シフトされ、ラッチ回路部がクリ
アされてゲート路によるマスクが解除され、シフトクロ
ック5hift CKが到来してラッチクロックGCK
 (n)が発生したときに初めて、第n段に前段からの
データなどがシフトされラッテされる。すなわち、各段
のデータの有効/無効の情報を前段ヘフィードバソクし
、各段に保持されている有効データを破壊しないように
段間のデータシフトが制御される。
The data of the nth stage is shifted to the next stage, the latch circuit section is cleared and the mask by the gate path is released, and the shift clock 5hift CK arrives and the latch clock GCK
Only when (n) occurs, data etc. from the previous stage are shifted and latched to the n-th stage. That is, information on the validity/invalidity of data in each stage is fed back to the previous stage, and data shifting between stages is controlled so as not to destroy valid data held in each stage.

データの優先度による割込み挿入動作は次の通りである
。ここでは、第5図によって説明したような優先度のデ
ータ(第n段の保持データの優先度と等しいデータ)が
外部より入力された場合を想定する。
The interrupt insertion operation based on data priority is as follows. Here, it is assumed that data with the priority as described with reference to FIG. 5 (data equal to the priority of the n-th stage held data) is input from the outside.

この場合、デコーダ四の出力信号S (n)だけが“1
”となる。すなわち、第n段への割込み挿入の要求が発
生する。その結果、第n段セル内のセレクタ回路部2の
各セレクタ24.25.26はB入力側を選択するので
、外部入力データのデータピッ)Doおよび優先ピッ)
Loとデータ有効を示す“1″信号がD (n) in
、 L (n) in、 A (n) inとして第n
段セル内のラッチ回路部3に入力され、ラッチクロック
GCK (n)が発生した時に第n段セル内のラッチ回
路21.22. Z3にラッチされる(第n段にラッチ
されていた有効データは予め次段シフトされ、第n段は
有効データが無い状態になっている)。
In this case, only the output signal S (n) of decoder 4 is “1”.
”. That is, a request for interrupt insertion to the n-th stage is generated. As a result, each selector 24, 25, 26 of the selector circuit section 2 in the n-th stage cell selects the B input side, so that the external Data pip) Do and priority pip) of input data
“1” signal indicating Lo and data valid is D (n) in
, L (n) in, A (n) in as the nth
The latch circuits 21, 22, . Z3 is latched (the valid data latched in the nth stage has been shifted to the next stage in advance, and the nth stage is in a state where there is no valid data).

この時、第(n −1)段に対応したゲー)27により
第n段のラッチクロスGCK(n)はマスクされ、第(
n−1)段のラッチ回路部に対するクリア信号C(n−
1)は発生せず、また有効/無効信号A(n−1)は“
1”であるためゲー)28でマスクされるのでラッチク
ロックGCK(n−1)は発生しない。第(n −2)
段以前の各段でも同様である。すなわち、外部入力デー
タが第n段に割込み挿入される時は、それより前の段の
データはシフトされずに保存される。
At this time, the latch cross GCK(n) of the n-th stage is masked by the gate (27) corresponding to the (n-1)th stage, and
A clear signal C(n-1) to the latch circuit section of the stage n-1)
1) does not occur, and the valid/invalid signal A(n-1) is “
1", the latch clock GCK(n-1) is not generated because it is masked by the gate (G) 28.The (n-2)th
The same applies to each stage before the stage. That is, when external input data is inserted as an interrupt into the n-th stage, the data in the previous stage is stored without being shifted.

その後、第n段の保持データが次段ヘシフトされ、さら
に前段のデータが第n段にシフトされる(この時点では
デコーダ四の出力信号S (n)は“0”になっている
ため、第n段のセレクタ回路部2の選択はA入力側へ戻
っている)。
After that, the data held in the n-th stage is shifted to the next stage, and the data in the previous stage is further shifted to the n-th stage (at this point, the output signal S (n) of decoder 4 is "0", so The selection of the n-stage selector circuit section 2 is returned to the A input side).

第(n −1)段以前の各段でも同様に通常のデータシ
フトが行われる。
Normal data shifting is similarly performed at each stage before the (n-1)th stage.

第6図は、このような割込み挿入時の優先度比較、比較
結果のデコード、第n段セル入力の確定のタイミングな
どを示している。
FIG. 6 shows the priority comparison at the time of inserting such an interrupt, the decoding of the comparison result, the timing of determining the nth stage cell input, etc.

第7図は入力ハンドシェイク回路6の構成を示すもので
、31は外部入力データ(優先ビットを含む)Inpu
t DATAを入カク07りInput CKによって
ラッチして各段セルへ与えるラッチ回路、32は入力レ
ディ信号Input Readyを作るフリップフロッ
プ、おは割込み挿入要求が発生したことを検出するだめ
の回路である。この回路おけ各段のラッチクロックGC
K (1)〜GCK Cl)とデコーダ四の対応した出
力信号M(1)〜M(Z)との論理積をとる各段対応の
アンドゲートあと、これらアンドゲート34の出力の論
理和をとるオアゲー)35とからなる。任意の段に対す
るデータの割込み要求が発生しオアゲートの出力信号が
“1”になる七フリップフロップ32はセットして入力
レディ信号は“0”すなわち入力不可能状態となる。割
込み要求が無くなりオアゲー)35の出力信号が“0”
の状態で入力クロックInputCKが到来するとフリ
ップフロップ32はリセットし、入力レディ信号Inp
ut Readyは“1″(入力可能状態)になる。
FIG. 7 shows the configuration of the input handshake circuit 6, in which reference numeral 31 indicates external input data (including priority bits) Input
t is a latch circuit that latches DATA in response to Input CK and supplies it to each stage cell, 32 is a flip-flop that generates the input ready signal Input Ready, and 32 is a circuit that detects the occurrence of an interrupt insertion request. . Latch clock GC of each stage in this circuit
K (1) to GCK Cl) and the corresponding output signals M(1) to M(Z) of decoder 4 are logically multiplied by AND gates corresponding to each stage, and then the outputs of these AND gates 34 are logically summed. Or game) consists of 35. When a data interrupt request is generated for an arbitrary stage, the output signal of the OR gate becomes "1", and the seventh flip-flop 32 is set, and the input ready signal becomes "0", that is, an input disabled state. There is no interrupt request and the output signal of (or game) 35 is “0”
When the input clock InputCK arrives in the state, the flip-flop 32 is reset and the input ready signal Inp
ut Ready becomes "1" (input ready state).

発明の効果 以上の説明から明らかなように、本発明は、多段配列さ
れた各段セルに保持されているデータと外部入力データ
との優先度を比較し、この比較結果に応じて各段セルへ
前段からのデータまたは外部入力データを選択的に入力
させる制御および段間のデータシフトの制御を行うこと
によシ、同じ優先度のデータは入力順に従って初段セル
から後段セルへ順にシフトさせ、優先度が違うデータは
入力順によらず優先度が高いデータはど後の段に挿入し
て優先度の低いデータに優先して早く出力させる、とい
うデータの優先度に応じた本来の優先処理が可能なハー
ドウェアのFIFOバッファ装置を実現できるとともに
、単純な回路構成のセルの組合せであるためFIFOバ
ッファ装置の1チツプ化が容易であるという効果を有す
るものである。
Effects of the Invention As is clear from the above explanation, the present invention compares the priority of the data held in each stage cell arranged in a multi-stage arrangement with external input data, and adjusts the priority level of each stage cell according to the result of this comparison. By performing control to selectively input data from the previous stage or external input data to the stage and data shifting between stages, data with the same priority is shifted from the first stage cell to the second stage cell in order according to the input order, The original priority processing according to the priority of data is such that data with different priorities are inserted into the next stage regardless of the input order, and data with lower priority is output earlier than data with lower priority. This has the advantage that it is possible to realize a hardware FIFO buffer device that is possible, and that the FIFO buffer device can be easily integrated into a single chip because it is a combination of cells with a simple circuit configuration.

【図面の簡単な説明】 第1図は本発明の一実施例による割込み挿入機能を有す
るFIFOバッファ装置の概略ブロック図、第2図は同
FIFOバッファ装置の入出力インタフェース信号のタ
イミング図、第3図はデータ構造を示す図、第4図はセ
ルおよびコントロール回路の構成を示すブロック図、第
5図はデコーダの論理説明図、第6図は割込み挿入時の
動作を示すタイミング図、第7図は入力ハンドシェイク
回路のブロック図、第8図は最終段セル回路と出力イン
タフェース信号を説明するだめのブロック図である。 1・・・セル、2・・・セレクタ回路図、3・・・ラッ
チ回路部、4・・・コンパレータ、5・・・コントロー
ル回路、6・・・入力ハンドシェイク回路、21.22
. Z3・・・ラッチ回路、24.25.26・・・セ
レクタ、四・・・デコーダ。 代理人の氏名 弁理士 粟 野 重 孝 ii!か1名
第 図 第 図 第 図 LtruaJtt Den)ml
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a schematic block diagram of a FIFO buffer device having an interrupt insertion function according to an embodiment of the present invention, FIG. 2 is a timing diagram of input/output interface signals of the FIFO buffer device, and FIG. Figure 4 shows the data structure, Figure 4 is a block diagram showing the configuration of cells and control circuits, Figure 5 is a logical explanation diagram of the decoder, Figure 6 is a timing diagram showing the operation when inserting an interrupt, and Figure 7 8 is a block diagram of the input handshake circuit, and FIG. 8 is a block diagram for explaining the final stage cell circuit and output interface signals. DESCRIPTION OF SYMBOLS 1... Cell, 2... Selector circuit diagram, 3... Latch circuit section, 4... Comparator, 5... Control circuit, 6... Input handshake circuit, 21.22
.. Z3...Latch circuit, 24.25.26...Selector, 4...Decoder. Name of agent: Patent attorney Shigetaka Awano ii! or 1 person

Claims (1)

【特許請求の範囲】[Claims] 前段からのデータまたは外部入力データを選択するセレ
クタ回路部および該セレクタ回路部によって選択された
データをラッチするラッチ回路部よりなる、多段接続さ
れた複数のセルと、これら各段のセルの出力データの優
先ビットと前記外部入力データの優先ピットとを比較す
る複数のコンパレータと、これらコンパレータの出力に
従って前記各段セル内のセレクタ回路部によるデータ選
択の制御を含む前記セル間のデータシフトの制御を行う
コントロール回路とを有し、データの優先度に従った割
込み挿入機能を備えることを特徴とするFIFOバッフ
ァ装置。
A plurality of cells connected in multiple stages, each consisting of a selector circuit section that selects data from the previous stage or external input data, and a latch circuit section that latches the data selected by the selector circuit section, and the output data of the cells in each stage. a plurality of comparators for comparing the priority bits of the external input data with the priority pits of the external input data; and control of data shift between the cells, including control of data selection by a selector circuit section in each stage cell according to the outputs of these comparators. 1. A FIFO buffer device, characterized in that it has a control circuit that performs interrupt insertion according to the priority of data.
JP63293874A 1988-11-21 1988-11-21 Fifo buffer device Pending JPH02139629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63293874A JPH02139629A (en) 1988-11-21 1988-11-21 Fifo buffer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63293874A JPH02139629A (en) 1988-11-21 1988-11-21 Fifo buffer device

Publications (1)

Publication Number Publication Date
JPH02139629A true JPH02139629A (en) 1990-05-29

Family

ID=17800272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63293874A Pending JPH02139629A (en) 1988-11-21 1988-11-21 Fifo buffer device

Country Status (1)

Country Link
JP (1) JPH02139629A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0486047A (en) * 1990-07-27 1992-03-18 Nec Corp Buffer circuit having preferential processing function
JPH04118717A (en) * 1990-09-07 1992-04-20 Fujitsu Ltd Multi-window control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0486047A (en) * 1990-07-27 1992-03-18 Nec Corp Buffer circuit having preferential processing function
JPH04118717A (en) * 1990-09-07 1992-04-20 Fujitsu Ltd Multi-window control method

Similar Documents

Publication Publication Date Title
JP3156813B2 (en) Buffer control circuit
EP0632370B1 (en) A hardware arrangement of expanding data processing time in the pipeline stages of a microcomputer system and a method thereof
US5534796A (en) Self-clocking pipeline register
US4176400A (en) Buffer storage and control
JP3515591B2 (en) A parallelized magnitude comparator that compares a binary number to a fixed value
US6442579B1 (en) Low power linear feedback shift registers
US5454018A (en) Counter circuit with automatic reset
JPH02139629A (en) Fifo buffer device
US6205192B1 (en) Clock input control circuit
JPH05189990A (en) Data holding device
JPH05227040A (en) Serial/parallel conversion circuit
US6938172B2 (en) Data transformation for the reduction of power and noise in CMOS structures
US6396896B1 (en) Implementation of functions of multiple successive bits of a shift register
JPH04101535A (en) Interface circuit
JPH0969286A (en) Semiconductor memory device
SU1624532A1 (en) D flip-flop
US7363609B2 (en) Method of logic circuit synthesis and design using a dynamic circuit library
JPH09319863A (en) Set data changing device for image processor
JP3168089B2 (en) Chattering elimination circuit
US6438571B1 (en) Adder circuit
JPH1074186A (en) Method and device for selecting entry from array
JPH0779247B2 (en) Decode circuit
KR100199190B1 (en) Data acquisition logic
JPH0628151A (en) Parallel latch circuit for serial data
JPH0695347B2 (en) Data processing device