JPH0241694Y2 - - Google Patents

Info

Publication number
JPH0241694Y2
JPH0241694Y2 JP16343685U JP16343685U JPH0241694Y2 JP H0241694 Y2 JPH0241694 Y2 JP H0241694Y2 JP 16343685 U JP16343685 U JP 16343685U JP 16343685 U JP16343685 U JP 16343685U JP H0241694 Y2 JPH0241694 Y2 JP H0241694Y2
Authority
JP
Japan
Prior art keywords
counter
address
write
circuit
signal
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.)
Expired
Application number
JP16343685U
Other languages
Japanese (ja)
Other versions
JPS6271747U (en
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 filed Critical
Priority to JP16343685U priority Critical patent/JPH0241694Y2/ja
Publication of JPS6271747U publication Critical patent/JPS6271747U/ja
Application granted granted Critical
Publication of JPH0241694Y2 publication Critical patent/JPH0241694Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【考案の詳細な説明】[Detailed explanation of the idea]

〔産業上の利用分野〕 本考案は、非同期データ書き込み読み出し回路
に関する。 〔従来の技術〕 最近、民生用電気機器にデジタル信号処理技術
が適用されることが多くなつたが、たとえば、被
制御系から検出された信号(非同期データ)をラ
ンダムアクセスメモリ(Random Access
Memory 以下、RAMと称する)の指定のアド
レスに逐次書き込み、記憶された非同期データを
逐次読み出して、一定の周波数に同期したデータ
として取り扱うとか、書き込みと読み出しの非同
期性を計測して被制御系を制御することが行われ
ている。 被制御系としは種々のものがあるが、たとえ
ば、光学式デジタルオーデイオデイスクプレーヤ
の回転系がある。この回転系は、光学式デジタル
オーデイオデイスクから読み取つた信号(非同期
データ)をRAMの指定のアドレスに逐次書き込
み、記憶されたデータを一定周期で読み出す。ま
た、この非同期性を計測してモータ制御エラー信
号を発生させて、回転系を制御するようにした構
成を有する。 (註) 光学式デジタルオーデイオデイスクから
読み取られた信号は、デイスクの偏心、モータの
回転速度変化などにより非同期データとなる。 このような回転系における非同期データ書き込
み読み出し回路としては、フアーストイン・フア
ーストアウトメモリ(FIFO First−in−First−
Out)と称されるものや、次のような構成を有す
るメモリ回路がある。 第3図において説明する。 1は書き込みアドレスクロツクWaが入力され
る書き込み用アドレスカウンタ、2は読み出しア
ドレスクロツクRaが入力される読み出し用アド
レスカウンタ、3はアドレスセレクタで、RAM
4の命令(書き込み、読み出し)が実行されるア
ドレスが上記書き込み用アドレスカウンタ1、読
み出し用アドレスカウンタ2によつて指定され
る。5は入力バツフア回路である。 上記アドレスセレクタ3、RAM4、入力バツ
フア回路5は書き込み信号Wrに同期して動作し、
データが入力バツフア回路5を通してRAM4の
指定のアドレスに逐次書き込まれる。 一方、RAM4の指定のアドレスに書き込まれ
た入力データはラツチ信号Rrに同期してラツチ
回路6から逐次出力される。 〔考案が解決しようとする問題点〕 前者のFIFOメモリは記憶容量が小さく、また、
後者は、書き込み動作と読み出し動作が一致した
場合、書き込みアドレスクロツクWa、読み出し
アドレスクロツクRaのうちいずれか一方を制御
するか、あるいは、命令無効としなければなら
ず、そのための回路構成が複雑になる。 〔問題点を解決するための手段〕 本考案は、書き込み信号Wrと読み出しアドレ
スクロツクRaとが重らない場合、読み出しアド
レスクロツクRaから所定時間T経過後にラツチ
信号Rrを形成し、また、読み出しアドレスクロ
ツクRaと書き込み信号Wrとが重なつた場合は、
書き込み信号Wrが終つてから所定時間T経過後
にラツチ信号Rrを形成することにより、上記の
問題点を解決したもので、 上記した従来のメモリ回路において、 (イ) 上記読み出しアドレスクロツクRaによつて
セツトされるフリツプフロツプ回路11。 (ロ) 当該フリツプフロツプ回路11の出力と上記
書き込み信号Wrが入力されるAND回路12。 (ハ) プリセツト手段によつて初期値がプリセツト
され、当該初期値からクロツク信号をカウント
し、フルカウントでキヤリー信号を出力すると
ともに、当該キヤリー信号によつて上記フリツ
プフロツプ回路11をリセツトするカウンタで
あつて、上記AND回路12の出力によつて上
記初期値からクロツク信号をカウント可能な状
態になるカウンタ7。 (ニ) 当該カウンタ7が所定値になつたときにラツ
チ信号Rrを形成する手段。 を具備することを特徴とするものである。 〔作 用〕 本考案の特徴的部分の作用についてのみ説明す
ると、書き込み信号Wrと読み出きアドレスクロ
ツクRaとが重なつた場合、 読み出しアドレスクロツクRaによつてフリツ
プフロツプ回路がセツトされ、その出力Qは
〔H〕となるが、書き込み信号Wrは〔L〕状態を
保持している。したがつて、カウンタはカウンタ
動作を停止し初期状態のままで待機している。 書き込み信号Wrが終つて〔H〕になると、こ
の〔H〕と上記出力Q〔H〕とのAND出力が
〔H〕となり、これによつて、カウンタが初期値
からカウント可能な状態になり、クロツク信号が
逐次カウントされる。 カウンタが所定のカウント値になつた時点で、
すなわち、書き込み信号Wrが終つてから所定時
間(T)経過後にラツチ信号Rrが形成されて出
力される。 〔実施例〕 第1図において説明する。図中、第3図の従来
例と同等部分には同一符号を附し、その説明は省
略する。 7は所定の時間Tを定めるためのプリセツトカ
ウンタで、クロツク信号CKが入力されるクロツ
ク入力端子7a、イネーブルおよびロード端子7
b、カウンタを開始す初期値を設定するプリセツ
ト手段8が設けられている。プリセツト手段8と
しては、各プリセツト端子を接地または所定の電
圧を印加することにより実現することができる。
また、カウンタ7はイネーブルロード信号(後
述)によつて初期値からカウント可能な状態にな
る。 カウンタ7は、プリセツトされた初期値A0 〔AnAn−1 …… A2A1〕 から上記クロツク信号CKをカウントし、フルカ
ウント値Af 〔1 1 1 …… 1 1 〕 になつた時点でキヤリー信号Caを出力する。 また、カウンタ7の出力Q 〔QnQn−1 …… Q2Q1〕 のうちLSB(Least significant bit 2進数のデー
タで最も小さい桁のビツト)の出力〔Q1〕のみ
インバータ回路9を通してそれぞれ第1のAND
回路10に入力し、そのAND出力をラツチ信号
Rrとして取り出す。 11はRSフリツプフロツプ回路で、セツト端
子11sに読み出しアドレスクロツクRaが入力
され、その出力Qが第2のAND回路12の一方
の入力端子に入力され、他方の入力端子に書き込
み信号Wrが入力される。そして、両信号のAND
出力がイネーブルロード信号として上記カウンタ
7のイネーブルおよびロード端子7bに入力され
る。これによつて、カウンタ7が初期値からカウ
ント可能な状態になる。 また、RSフリツプフロツプ回路11のリセツ
ト端子11rには、上記カウンタ7がフルカウン
ト値Afになつた時点で上記キヤリー信号Caが入
力されて、リセツトされる。 以下、上記〔実施例〕の動作を第2図のタイム
チヤートを参照して説明する。 (1) 書き込み信号Wrと読み出しアドレスクロツ
クRaとが重ならない場合 この状態では、書き込み信号Wrは〔H〕で
あり、RAM4は読み出し状態にある。 セツト端子11sに入力される読み出しアド
レスクロツクRaによつてRSフリツプフロツプ
回路11がセツトされ、その出力Q〔H〕と書
き込み信号Wr〔H〕とのAND出力〔H〕がカ
ウンタ7のイネーブルおよびロード端子7bに
入力される。これによつて、カウンタ7が初期
値A0からカウント可能な状態になり、クロツ
ク信号CKが逐次カウントされる。 カウンタ7がフルカウント値Afのひとつ手
前の値Af−1 〔1 1 1 …… 1 0〕 で、LSB〔Q1〕(
[Industrial Application Field] The present invention relates to an asynchronous data write/read circuit. [Prior Art] Recently, digital signal processing technology has been increasingly applied to consumer electrical equipment. For example, signals detected from a controlled system (asynchronous data) are
Memory (hereinafter referred to as RAM) can be sequentially written to a specified address, and stored asynchronous data can be read out sequentially and treated as data synchronized to a certain frequency, or the controlled system can be controlled by measuring the asynchrony of writing and reading. Control is being done. There are various types of systems to be controlled, and for example, there is a rotating system of an optical digital audio disc player. This rotating system sequentially writes signals (asynchronous data) read from the optical digital audio disk into designated addresses in the RAM, and reads out the stored data at regular intervals. Further, it has a configuration in which this asynchrony is measured and a motor control error signal is generated to control the rotation system. (Note) The signal read from the optical digital audio disk becomes asynchronous data due to disk eccentricity, motor rotation speed changes, etc. An example of an asynchronous data write/read circuit in such a rotating system is a first-in/first-out memory (FIFO First-in-First-out memory).
There are memory circuits called "Out" and memory circuits having the following configurations. This will be explained in FIG. 1 is a write address counter to which the write address clock Wa is input; 2 is a read address counter to which the read address clock Ra is input; 3 is an address selector;
The address at which the No. 4 instruction (write, read) is executed is specified by the write address counter 1 and the read address counter 2. 5 is an input buffer circuit. The address selector 3, RAM 4, and input buffer circuit 5 operate in synchronization with the write signal Wr,
Data is sequentially written to designated addresses in RAM 4 through input buffer circuit 5. On the other hand, the input data written to the designated address of the RAM 4 is sequentially outputted from the latch circuit 6 in synchronization with the latch signal Rr. [Problems that the invention attempts to solve] The former FIFO memory has a small storage capacity, and
In the latter case, when a write operation and a read operation match, one of the write address clock Wa and read address clock Ra must be controlled, or the command must be invalidated, and the circuit configuration for this is complicated. become. [Means for solving the problem] The present invention forms a latch signal Rr after a predetermined time T has elapsed from the read address clock Ra when the write signal Wr and the read address clock Ra do not overlap. If the read address clock Ra and write signal Wr overlap,
The above problem is solved by forming the latch signal Rr after a predetermined time T has elapsed after the end of the write signal Wr. The flip-flop circuit 11 is set as follows. (b) An AND circuit 12 to which the output of the flip-flop circuit 11 and the write signal Wr are input. (c) A counter having an initial value preset by a presetting means, counting clock signals from the initial value, outputting a carry signal at a full count, and resetting the flip-flop circuit 11 using the carry signal. , the counter 7 becomes capable of counting clock signals from the initial value by the output of the AND circuit 12. (d) Means for generating a latch signal Rr when the counter 7 reaches a predetermined value. It is characterized by comprising the following. [Operation] To explain only the operation of the characteristic part of the present invention, when the write signal Wr and the read address clock Ra overlap, the flip-flop circuit is set by the read address clock Ra, and the flip-flop circuit is set. The output Q becomes [H], but the write signal Wr maintains the [L] state. Therefore, the counter stops its counter operation and remains on standby in its initial state. When the write signal Wr ends and becomes [H], the AND output of this [H] and the above output Q [H] becomes [H], and thereby the counter becomes ready to count from the initial value. Clock signals are counted sequentially. When the counter reaches the predetermined count value,
That is, the latch signal Rr is generated and output after a predetermined time (T) has elapsed after the write signal Wr ends. [Example] This will be explained with reference to FIG. In the figure, parts equivalent to those of the conventional example shown in FIG. 3 are given the same reference numerals, and their explanations will be omitted. 7 is a preset counter for determining a predetermined time T, which includes a clock input terminal 7a to which a clock signal CK is input, and an enable and load terminal 7.
b. Preset means 8 is provided for setting an initial value for starting the counter. The preset means 8 can be realized by grounding each preset terminal or by applying a predetermined voltage.
Further, the counter 7 is brought into a state in which it can count from the initial value by an enable load signal (described later). The counter 7 counts the clock signal CK from the preset initial value A0 [AnAn-1...A2A1], and outputs the carry signal Ca when it reaches the full count value Af [1 1 1... 1 1]. . In addition, among the outputs Q [QnQn-1 ... Q2Q1] of the counter 7, only the LSB (Least Significant Bit) output [Q1] is passed through the inverter circuit 9 to the first AND.
Input to circuit 10 and use the AND output as a latch signal
Extract as Rr. 11 is an RS flip-flop circuit, a read address clock Ra is input to a set terminal 11s, an output Q thereof is input to one input terminal of a second AND circuit 12, and a write signal Wr is input to the other input terminal. Ru. And AND of both signals
The output is input to the enable and load terminal 7b of the counter 7 as an enable load signal. This puts the counter 7 in a state where it can count from the initial value. Furthermore, the carry signal Ca is input to the reset terminal 11r of the RS flip-flop circuit 11 at the time when the counter 7 reaches the full count value Af, and is reset. The operation of the above embodiment will be explained below with reference to the time chart of FIG. (1) When the write signal Wr and the read address clock Ra do not overlap In this state, the write signal Wr is [H] and the RAM 4 is in the read state. The RS flip-flop circuit 11 is set by the read address clock Ra input to the set terminal 11s, and the AND output [H] of its output Q [H] and the write signal Wr [H] is used to enable and load the counter 7. It is input to terminal 7b. As a result, the counter 7 becomes ready to count from the initial value A0, and the clock signal CK is successively counted. Counter 7 is one value before the full count value Af - 1 [1 1 1 ... 1 0], and LSB [Q1] (

〔0〕)を反転した値 〔1 1 1 …… 1 1〕 の各ビツトのAND出力としてラツチ信号Rrが
出力される。 カウンタ7がフルカウント値Afになつた時
点でキヤリー信号Caが出力され、これによつ
てRSフリツプフロツプ回路11がリセツトさ
れ、元の状態に戻る。 (2) 書き込み信号Wrと読み出しアドレスクロツ
クRaとが重なつた場合 この状態では、書き込み信号Wrは〔L〕で
あり、RAM4は書き込み状態にある。 読み出しアドレスクロツクRaによつてRSフリ
ツプフロツプ回路11がセツトされ、その出力Q
〔H〕となるが、書き込み信号Wrは〔L〕状態を
保持している。したがつて、カウンタ7はカウン
ト動作を停止し初期状態のままで待機している。 書き込み信号Wrが終つて〔H〕になると、こ
の〔H〕と上記出力Q〔H〕とのAND出力〔H〕
がカウンタ7のイネーブルおよびロード端子7b
に入力される。これによつて、カウンタ7が初期
値A0からカウント可能な状態になり、クロツク
信号CKが逐次カウントされる。 以下、(1)と同様にして、書き込み信号Wrが終
つてから所定時間(T)経過後にラツチ信号Rr
が形成されて出力される。 上記所定時間(T)はカウンタ7が初期値A0
からAf−1までカウントするカウント数に比例
し、初期値A0を任意にプリセツトすることによ
り、所定時間(T)を変えることができる。 〔考案の効果〕 以上のような構成により、(イ)書き込み信号Wr
がない場合、読み出しアドレスクロツクRaから
所定時間(T)経過後にラツチ信号Rrを形成し、
この読み出しアドレスクロツクRaと書き込み信
号Wrとが重なつた場合、書き込み信号Wrが終つ
てから所定時間(T)経過後にラツチ信号Rrを
形成することができるから、(ロ)従来例のような、
書き込みアドレスクロツクWa、読み出しアドレ
スクロツクRaのうちいずれか一方を制御するか、
あるいは、命令無効とするための回路が不要で、
回路構成が単純になる、(ハ)大容量のRAMを用い
た回路を簡略かつ安価に実現することができる、
などの効果がある。
A latch signal Rr is output as an AND output of each bit of the inverted value [1 1 1 . . . 1 1]. When the counter 7 reaches the full count value Af, a carry signal Ca is output, thereby resetting the RS flip-flop circuit 11 and returning to its original state. (2) When the write signal Wr and the read address clock Ra overlap In this state, the write signal Wr is [L] and the RAM 4 is in the write state. The RS flip-flop circuit 11 is set by the read address clock Ra, and its output Q
However, the write signal Wr remains in the [L] state. Therefore, the counter 7 stops its counting operation and remains on standby in its initial state. When the write signal Wr ends and becomes [H], this [H] and the above output Q [H] are AND output [H]
is the enable and load terminal 7b of the counter 7
is input. As a result, the counter 7 becomes capable of counting from the initial value A0, and the clock signal CK is successively counted. Hereinafter, in the same way as in (1), the latch signal Rr is activated after a predetermined time (T) has passed after the write signal Wr ends.
is formed and output. During the above predetermined time (T), the counter 7 has an initial value of A0.
The predetermined time (T) can be changed in proportion to the number of counts counted from Af-1 by arbitrarily presetting the initial value A0. [Effect of the invention] With the above configuration, (a) write signal Wr
If not, a latch signal Rr is formed after a predetermined time (T) has elapsed from the read address clock Ra,
When the read address clock Ra and the write signal Wr overlap, the latch signal Rr can be formed after a predetermined time (T) has elapsed after the write signal Wr ends. ,
Either the write address clock Wa or the read address clock Ra should be controlled.
Or, there is no need for a circuit to invalidate the command,
(c) A circuit using a large capacity RAM can be realized simply and inexpensively.
There are effects such as

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

第1図は本考案の非同期データ書き込み読み出
し回路の構成を示す図、第2図は同、その動作を
示すタイムチヤート、第3図は従来の非同期デー
タ書き込み読み出し回路の構成を示す図である。 1……書き込み用アドレスカウンタ、2……読
み出し用アドレスカウンタ、3……アドレスセレ
クタ、4……ランダムアクセスメモリ、5……入
力バツフア回路、6……ラツチ回路、7……カウ
ンタ、8……プリセツト手段、9……インバータ
回路、10……第1のAND回路、11……RSフ
リツプフロツプ回路、12……第2のAND回路。
FIG. 1 is a diagram showing the configuration of an asynchronous data write/read circuit according to the present invention, FIG. 2 is a time chart showing its operation, and FIG. 3 is a diagram showing the configuration of a conventional asynchronous data write/read circuit. 1... Address counter for writing, 2... Address counter for reading, 3... Address selector, 4... Random access memory, 5... Input buffer circuit, 6... Latch circuit, 7... Counter, 8... Preset means, 9... Inverter circuit, 10... First AND circuit, 11... RS flip-flop circuit, 12... Second AND circuit.

Claims (1)

【実用新案登録請求の範囲】 書き込みアドレスクロツクWaが入力される書
き込み用アドレスカウンタ1と、読み出しアドレ
スクロツクRaが入力される読み出し用アドレス
カウンタ2と、当該書き込み用アドレスカウンタ
1と読み出し用アドレスカウンタ2の出力によつ
てランダムアクセスメモリ4の書き込み、読み出
しが実行されるアドレスをセレクトするアドレス
セレクタ3と、ランダムアクセスメモリ4とから
なり、入力データを書き込み信号Wrに同期して
上記ランダムアクセスメモリ4の指定のアドレス
に逐次書き込み、指定のアドレスに書き込まれた
入力データをラツチ信号Rrに同期して逐次読み
出すようにした構成において、下記の(イ)〜(ニ)の構
成要件、 (イ) 上記読み出しアドレスクロツクRaによつて
セツトされるフリツプフロツプ回路11。 (ロ) 当該フリツプフロツプ回路11の出力と上記
書き込み信号Wrが入力されるAND回路12。 (ハ) プリセツト手段によつて初期値がプリセツト
され、当該初期値からクロツク信号をカウント
し、フルカウントでキヤリー信号を出力すると
ともに、当該キヤリー信号によつて上記フリツ
プフロツプ回路11をリセツトするカウンタで
あつて、上記AND回路12の出力によつて上
記初期値からクロツク信号をカウント可能な状
態になるカウンタ7。 (ニ) 当該カウンタ7が所定値になつたときにラツ
チ信号Rrを形成する手段。 を具備することを特徴とする非同期データ書き込
み読み出し回路。
[Claims for Utility Model Registration] A write address counter 1 to which the write address clock Wa is input, a read address counter 2 to which the read address clock Ra is input, the write address counter 1 and the read address. It consists of an address selector 3 that selects the address at which writing and reading are to be performed in the random access memory 4 based on the output of the counter 2, and a random access memory 4. In the configuration in which the input data written to the specified address is sequentially written to the specified address in step 4 and read out sequentially in synchronization with the latch signal Rr, the following configuration requirements (a) to (d) are satisfied. A flip-flop circuit 11 is set by the read address clock Ra. (b) An AND circuit 12 to which the output of the flip-flop circuit 11 and the write signal Wr are input. (c) A counter having an initial value preset by a presetting means, counting clock signals from the initial value, outputting a carry signal at a full count, and resetting the flip-flop circuit 11 using the carry signal. , the counter 7 becomes capable of counting clock signals from the initial value by the output of the AND circuit 12. (d) Means for generating a latch signal Rr when the counter 7 reaches a predetermined value. An asynchronous data write/read circuit comprising:
JP16343685U 1985-10-23 1985-10-23 Expired JPH0241694Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16343685U JPH0241694Y2 (en) 1985-10-23 1985-10-23

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16343685U JPH0241694Y2 (en) 1985-10-23 1985-10-23

Publications (2)

Publication Number Publication Date
JPS6271747U JPS6271747U (en) 1987-05-08
JPH0241694Y2 true JPH0241694Y2 (en) 1990-11-07

Family

ID=31091633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16343685U Expired JPH0241694Y2 (en) 1985-10-23 1985-10-23

Country Status (1)

Country Link
JP (1) JPH0241694Y2 (en)

Also Published As

Publication number Publication date
JPS6271747U (en) 1987-05-08

Similar Documents

Publication Publication Date Title
KR0123239B1 (en) Fifo memory
JPH0241693Y2 (en)
JPS5927334A (en) Direct memory access memory device
JPH0721700A (en) Error correction memory device
JP2600376B2 (en) Memory controller
JP2595992B2 (en) Electronic musical instrument
JP3178445B2 (en) Counter device
JP2786033B2 (en) Time measuring device
SU982089A1 (en) Internal storage on dynamic memory elements
JPH06103026A (en) Memory system
JP2667702B2 (en) Pointer reset method
JPH03100851A (en) first in first out storage
JPH0219467B2 (en)
SU1117667A1 (en) Device for digital measuring,storing and reproducing of discrete values rf one-fold signal
JPS6017131B2 (en) memory control circuit
SU1587537A1 (en) Device for servicing messages
JP3081492B2 (en) Memory read / write control circuit
JPS6313222B2 (en)
JPH01114961A (en) Directory memory access controller
JPS6271747U (en)
JPH0542756B2 (en)
JPS60221857A (en) Microprocessor system
JPH02189627A (en) Access circuit for data memory
JPS6045459B2 (en) Memory bank control method
JPS63217591A (en) First in first out memory