JPS6111998A - Register - Google Patents

Register

Info

Publication number
JPS6111998A
JPS6111998A JP59132367A JP13236784A JPS6111998A JP S6111998 A JPS6111998 A JP S6111998A JP 59132367 A JP59132367 A JP 59132367A JP 13236784 A JP13236784 A JP 13236784A JP S6111998 A JPS6111998 A JP S6111998A
Authority
JP
Japan
Prior art keywords
data
register
stage
flop
flip
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
JP59132367A
Other languages
Japanese (ja)
Other versions
JPH0376558B2 (en
Inventor
Takaharu Koba
木場 敬治
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59132367A priority Critical patent/JPS6111998A/en
Publication of JPS6111998A publication Critical patent/JPS6111998A/en
Publication of JPH0376558B2 publication Critical patent/JPH0376558B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To show readable data quickly during shifting data of an FIFO by giving a flip-flop which is set by an output at the prescribed stage of a control register and reset when data is transferred from the prescribed stage by the output at a stage previous to the prescribed stage. CONSTITUTION:It is assumed that when all data registers 10-13 are filled with data, the data is sequentially read out. When the 3rd data is read out, a control register 22 shows that there is not data. At this time (a) only one datum remains. Afterward, when a read signal enters, both inputs of a NOR gate 40 go to a low level, and a flip-flop 30 is reset. Then, when the data is inputted and the readable state is attained, namely, when a control register 23 shows that there is data, the flip-flop 30 is reset again. While the value of the flip-flop is set, the data can be read out always, and the non-periodical delivery and receipt of data can be further facilitated.

Description

【発明の詳細な説明】 ←産業上の利用分野) 本発明はレジスタ、特にファーストインファーストアウ
トレジスタに関する(以下英字の頭文字をとってFIF
Oレジスタと記す)ものである。
[Detailed Description of the Invention] ←Field of Industrial Application) The present invention relates to registers, particularly first-in-first-out registers (hereinafter referred to as FIF).
(denoted as O register).

(従来の技術) 非同期なシステム間でデータの受け渡しを行う場合、バ
ッファレジスタとしてFIFOレジスタを使用すること
により個々のデータ転送に対する制御を行セずにデータ
の受け渡しを行うことができる。かかるFIFOレジス
タはレジスタ内の前段にデータがなければ順次データを
後段の方につめて行くことによって、レジスタの段数ま
でのデータの蓄積を可能とし、出力は後段のレジスタか
ら順次行うものである。
(Prior Art) When data is transferred between asynchronous systems, data can be transferred without controlling individual data transfers by using a FIFO register as a buffer register. Such a FIFO register allows data to be accumulated up to the number of stages of the register by sequentially moving the data to the rear stage if there is no data in the previous stage of the register, and output is performed sequentially from the register at the rear stage.

このようなデータ転送用のFIFOは高速動作が望まれ
るのでシフトレジスタ的にデータ入力からデータ出力に
データがシフトされる型式のFIFOが使用されている
Since high-speed operation is desired for such a FIFO for data transfer, a FIFO of a type in which data is shifted from a data input to a data output like a shift register is used.

第1図が従来技術を説明する図で、データレジスタ10
,11,12.13とコントロールレジスタ20,21
,22,23とを有した4段構成ヲシている。コントロ
ールレジスタ20〜23はその段にデータがあることを
記憶する機能と前後のコントロールレジスタの記憶内容
からデータの転送を制御する機能を持っている。
FIG. 1 is a diagram explaining the prior art, in which a data register 10
, 11, 12.13 and control registers 20, 21
, 22, 23. The control registers 20 to 23 have a function of storing that data exists in that stage and a function of controlling data transfer based on the stored contents of the preceding and succeeding control registers.

各コントロールレジスタ20,21,22゜23は順に
接続されデータのシフトに必要な信1号を供給し合う。
The control registers 20, 21, 22, and 23 are connected in sequence and supply each other with a signal 1 necessary for shifting data.

初めのコントロールレジスタ20には書込信号が加えら
れる。また、終段のコントロールレジスタ23には読出
し信号が出力される。
A write signal is applied to the first control register 20. Further, a read signal is output to the control register 23 at the final stage.

各コントロールレジスタから各段のデータレジスタには
それぞれデータの転送制御の為の信号が加えられている
A signal for data transfer control is applied from each control register to the data register at each stage.

デー−レジスタ10,11,12,13は順に接続され
、ある段の出力が次段のデータ入力となる。
Data registers 10, 11, 12, and 13 are connected in order, and the output of one stage becomes the data input of the next stage.

この構成でいま入力データが各データレジスタto、1
1,12.13にいっばいに蓄積されている時にデータ
を16読出す゛動作を考える。
With this configuration, the input data is now in each data register to, 1
Consider an operation in which 16 pieces of data are read out when 1, 12, and 13 data are stored all at once.

第2図がコントロールレジスタの記憶内容を示す図であ
る。データが在る場合にコントロールレジスタの記憶内
容がハイレベルを示すとすると時刻aまではデータが全
てのレジスタ段にあることがわかる。
FIG. 2 is a diagram showing the contents stored in the control register. If the storage contents of the control register indicate a high level when data is present, it can be seen that data is present in all register stages until time a.

次K、読出し信号が入力されると最終段のデータが続出
されコントロールレジスタ23はリセットされ、最終段
にデータがないことを示す。このことKよ)、前段から
データが最終段に転送され、同様に順次全てのデータが
転送され時刻すで3つのデータがデータレジスタ11,
12.13にある状態となる。
Next, when a read signal is input, the data of the final stage is successively output and the control register 23 is reset, indicating that there is no data in the final stage. (This is K), data is transferred from the previous stage to the final stage, and in the same way, all data are transferred sequentially, and at the time, three data have been transferred to the data register 11,
12.13.

例えば、この構成のFl、FOで、次に読出すべき有効
なデータがあるかどうか知る必要があるとき、たとえば
最終段のコントロールレジスタ23の記憶内容を参照し
ても時刻aからbの間では正しく判定できない。
For example, when it is necessary to know whether there is valid data to be read next in Fl and FO with this configuration, even if the stored contents of the control register 23 at the final stage are referred to, there is no data available between time a and b. Cannot judge correctly.

(発明が解決しようとする問題点) 本発明の目的はかかる要求を満すべ(FIN“0のデー
タシフト中スもすぐに読出し可能な“データが所定段の
データレジスタIcあるかあるいは後段に対し有効なデ
ータがあるかを示すことができるレジスタを実現するも
のである。
(Problems to be Solved by the Invention) It is an object of the present invention to satisfy such a requirement (while the FIN "0" data is being shifted, there is data in the data register Ic in a predetermined stage that can be read immediately, or in a subsequent stage). This realizes a register that can indicate whether or not there is valid data.

(問題点を解決するための手段) 本発明によれば、複数のデータレ、ジスタと、それらに
対応するコントロールレジスタとが従属接続されたレジ
スタにおいて、所定段のコントロールレジスタの出力で
セットされ、所定段の前段のコントロールレジスタの出
力で所定段からデータが転送される時にリセットされる
クリップ・フロップを有するレジスタを得る。
(Means for Solving the Problems) According to the present invention, in a register in which a plurality of data registers, registers, and control registers corresponding thereto are connected in series, the output of a control register of a predetermined stage is set, and a predetermined value is set. To obtain a register having a clip-flop that is reset when data is transferred from a predetermined stage by the output of a control register at a previous stage of the stage.

(実施例) 次に図面を参照して本発明をよシ詳細に説明する。(Example) Next, the present invention will be explained in more detail with reference to the drawings.

第3図は本発明の一実施例を示すもので、4段のデータ
レジスタto、11,12.13と、コントロールレジ
スタ20,21,22,23と、フリップフロップ30
と、Nonゲート40とを含んでいる。データレジスタ
10. 11. 12゜13とコントロールレジスタ2
0,21,22゜23との接続は第1図の従来例と同じ
構成である。
FIG. 3 shows an embodiment of the present invention, which includes four stages of data registers to, 11, 12, and 13, control registers 20, 21, 22, and 23, and a flip-flop 30.
and a non-gate 40. Data register 10. 11. 12゜13 and control register 2
0, 21, 22, and 23 have the same configuration as the conventional example shown in FIG.

本実施例ではデータがあるかどうかを示す7リツプ・フ
ロップ30は最終段のデータレジスタ13のコントロー
ルレジスタ23に設けられている。
In this embodiment, a 7-lip-flop 30 that indicates whether there is data is provided in the control register 23 of the data register 13 at the final stage.

コントロールレジスタ23の記憶回路からフリップフロ
ップ30のセット信号が入力され、NO&ゲート40か
ら7リツプ壷フロツプ30のリセット信号が入力される
A set signal for the flip-flop 30 is inputted from the storage circuit of the control register 23, and a reset signal for the 7-type flip-flop 30 is inputted from the NO&gate 40.

NORゲート4’0には読出し信号とコントロールレジ
スタ22の記憶回路の出力が入力される。
The read signal and the output of the storage circuit of the control register 22 are input to the NOR gate 4'0.

こむで、第4図に示すように、全てのデー、タレジスタ
10,11,12,13にデータが入っている時にデー
タを順次読出していくとする。3つ目のデータが読み出
され′るとコントロールレジスタ22がデータがないこ
とを示す。この時刻aではデータが一つ残っておシこの
後読出し信号が入るとNORゲート400Å力が両方ロ
ウレベルとなシフリップ、フロップ30がリセットする
As shown in FIG. 4, it is assumed that data is sequentially read out when all data registers 10, 11, 12, and 13 contain data. When the third data is read, the control register 22 indicates that there is no data. At this time a, only one data remains, and when a read signal is input after that, both NOR gates 400A and 400A are at low level, and the shift flip and flop 30 are reset.

次にデータが入力されて読出し可能な状態、つま夛コ・
シトロールレジスタ23がデータがあることを示した時
にフリップフロップ30は再びセットされる。このフリ
ップフロップの値がセットされている間は常にデータを
読むことができ非周期なデータ授受をいっそう容易にす
ることができる。
Next, the data is input and ready for reading.
Flip-flop 30 is set again when Citrol register 23 indicates data is present. While the value of this flip-flop is set, data can be read at all times, making aperiodic data exchange even easier.

(発明の効果) 以上、簡単な回路を付加したことで利用価値の高いFI
FOを実現できる。
(Effect of the invention) As described above, by adding a simple circuit, the FI has high utility value.
FO can be realized.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来例を示すブロック図、6第2図はそのレジ
スタ内容の例を示すコントロールレジスタの出力のタイ
ミングチャートである。 第3図は本発明の一実施例を示すプ四ツク図、第4図は
その動作を示すタイミングチャートである。 10、  具1,12,13・・・・・・データレジス
タ、20.21..22,23−・・・・−コントロー
ルレジスタ、30・・・・−・フリップ−フロップ、4
0・・・・・・・インバータ。 第1図 竿2回 第3図 μ v=4@ 手続補正書輸発)5゜ 59.10.30 昭和  年  月  日 、特許庁長官 殿     賽      6゛1、事
件の表示   昭和59年特 許 願第132367号
     1、発明の名称  し ジ ス タ 3、補正をする者 事件との関係       出 願 人東京都港区芝五
丁目33番1号 4、代理人 〒108  東京都港区芝五丁目37番8号 性成三田
ビル補正の対象 明細書の「発明の詳細な説明」の欄 補正の内容 明細書の第3頁16行目の「出方される0」を口入力さ
れる。」に訂正する。
FIG. 1 is a block diagram showing a conventional example, and FIG. 6 is a timing chart of the output of a control register showing an example of the register contents. FIG. 3 is a block diagram showing one embodiment of the present invention, and FIG. 4 is a timing chart showing its operation. 10. Tools 1, 12, 13... Data register, 20.21. .. 22, 23--Control register, 30--Flip-flop, 4
0...Inverter. Figure 1, 2 times, Figure 3, μ v = 4 @ Procedural amendment exported) 5゜59.10.30, 1979, Director General of the Patent Office, Mr. Sai 6゛1, Indication of the case, 1988 Patent application No. 132367 1. Name of the invention 3. Relationship with the person making the amendment Applicant: 5-33-1-4 Shiba, Minato-ku, Tokyo Agent: 5-37 Shiba, Minato-ku, Tokyo 108 No. 8: Seinari Mita Building In the "Detailed Description of the Invention" column of the specification to be amended, "0" on page 3, line 16 of the specification of contents of the amendment is input orally. ” is corrected.

Claims (2)

【特許請求の範囲】[Claims] (1)多段のデータレジスタと、各段毎接続されかつそ
の段のデータレジスタに有効なデータが存在するかどう
かを記憶しかつこの記憶内容により次段のデータレジス
タにデータが存在しない場合にはデータを次段のデータ
レジスタに転送し、この段のデータレジスタにデータが
存在しない時前段のデータレジスタにデータがあればデ
ータを受け取るというデータ転送の制御を行うコントロ
ール用レジスタと、所定段のコントロールレジスタのそ
の段のデータレジスタに有効データがあることを示す出
力で1安定状態になされ、その段のデータレジスタのデ
ータが次段のデータレジスタに転送される時に前段のデ
ータレジスタにデータがないことを条件に他の安定状態
になされるフリップフロップとを有することを特徴とす
るレジスタ。
(1) A multi-stage data register, which is connected to each stage and stores whether or not valid data exists in the data register of that stage, and if there is no data in the data register of the next stage based on the stored contents, A control register that controls the data transfer by transferring data to the next stage data register, and receiving the data if there is data in the previous stage data register when there is no data in this stage data register, and a control register of a predetermined stage. A stable state is achieved with an output indicating that there is valid data in the data register of that stage of the register, and when the data in the data register of that stage is transferred to the data register of the next stage, there is no data in the data register of the previous stage. A register characterized in that it has a flip-flop which is brought into another stable state under the condition that
(2)前記所定段は最終段である特許請求の範囲第1項
記載のレジスタ。
(2) The register according to claim 1, wherein the predetermined stage is a final stage.
JP59132367A 1984-06-27 1984-06-27 Register Granted JPS6111998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59132367A JPS6111998A (en) 1984-06-27 1984-06-27 Register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59132367A JPS6111998A (en) 1984-06-27 1984-06-27 Register

Publications (2)

Publication Number Publication Date
JPS6111998A true JPS6111998A (en) 1986-01-20
JPH0376558B2 JPH0376558B2 (en) 1991-12-05

Family

ID=15079712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59132367A Granted JPS6111998A (en) 1984-06-27 1984-06-27 Register

Country Status (1)

Country Link
JP (1) JPS6111998A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0298728A (en) * 1988-08-02 1990-04-11 Advanced Micro Devicds Inc Pushup memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0298728A (en) * 1988-08-02 1990-04-11 Advanced Micro Devicds Inc Pushup memory

Also Published As

Publication number Publication date
JPH0376558B2 (en) 1991-12-05

Similar Documents

Publication Publication Date Title
US4649512A (en) Interface circuit having a shift register inserted between a data transmission unit and a data reception unit
US4884192A (en) Information processor capable of data transfer among plural digital data processing units by using an active transmission line having locally controlled storage of data
US4459681A (en) FIFO Memory device
US3274566A (en) Storage circuit
JPH06111022A (en) Raster operation device
US3781821A (en) Selective shift register
US5272675A (en) High-speed first-in first-out memory flexible to increase the memory capacity
US4163291A (en) Input-output control circuit for FIFO memory
JPH0391188A (en) Fifo memory
US3978413A (en) Modulus counter circuit utilizing serial access
JPH05191291A (en) Multiplexer
US4387294A (en) Shift register-latch circuit driven by clocks with half cycle phase deviation and usable with a serial alu
JPS6111998A (en) Register
US4455608A (en) Information transferring apparatus
US5179688A (en) Queue system with uninterrupted transfer of data through intermediate locations to selected queue location
US3543243A (en) Data receiving arrangement
JPS6111997A (en) Register
US3453607A (en) Digital communications system for reducing the number of memory cycles
US3626376A (en) Skewing circuit for memory
US5778037A (en) Method for the resetting of a shift register and associated register
US3056112A (en) High speed shift register
US3559189A (en) Serialized register data processing system
US5414744A (en) Serial bit input controller
JPS5947394B2 (en) Variable length two-dimensional register
JP2984080B2 (en) Majority decision device