JPH01112449A - Speed converting memory device - Google Patents

Speed converting memory device

Info

Publication number
JPH01112449A
JPH01112449A JP62271366A JP27136687A JPH01112449A JP H01112449 A JPH01112449 A JP H01112449A JP 62271366 A JP62271366 A JP 62271366A JP 27136687 A JP27136687 A JP 27136687A JP H01112449 A JPH01112449 A JP H01112449A
Authority
JP
Japan
Prior art keywords
address
memory
read
different
data
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
JP62271366A
Other languages
Japanese (ja)
Inventor
Norio Murakami
典生 村上
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62271366A priority Critical patent/JPH01112449A/en
Publication of JPH01112449A publication Critical patent/JPH01112449A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To prevent data in a memory from being destroyed by sending a dummy a reading address, which is different from a reading address, to the memory when coincidence between a writing address and the reading address is detected. CONSTITUTION:The coincidence between the writing address and the reading address is detected by an address comparing means 10. In a switching means 6, the reading address is sent to a memory 1 as it is when it is detected that the addresses are different in the means 10. On the other hand, when it is detected that the addresses are coincident, a switching is executed so that the dummy reading address, which is different from the reading address, can be sent to the memory 1. Since this dummy reading address is different from the original reading address, difference between the writing address and the reading address is generated in the memory 1 and the data in the memory 1 can be prevented from being destroyed.

Description

【発明の詳細な説明】 〔概要〕 書込みクロック周期と読出しクロック周期とが異なる速
度変換メモリ装置に関し、 書込みアドレスと読出しアドレスとが一致した場合でも
メモリ内のデータが破壊しないようにすることを目的と
し、 メモリの書込みアドレスとメモリの読出しアドレスとを
比較するアドレス比較手段と、アドレス比較手段にて上
記両アドレスが異なることが検出された時は読出しアド
レスをそのままメモリへ送る一方、上記両アドレスが一
致することが検出された時は読出しアドレスと異なるダ
ミー読出しアドレスをメモリへ送るよう切換える切換手
段と、上記両アドレスが異なることが検出された時はメ
モリの出力を出力データとして取出す一方、上記両アド
レスが一致することが検出された時はメモリの入力デー
タを出力データとして取出すよう選択する選択手段とに
て構成する。
[Detailed Description of the Invention] [Summary] An object of the present invention is to prevent data in the memory from being destroyed even when a write address and a read address match, regarding a speed conversion memory device in which the write clock cycle and the read clock cycle are different. and an address comparison means for comparing the memory write address and the memory read address, and when the address comparison means detects that the above two addresses are different, the read address is sent as is to the memory, while the above both addresses are a switching means for switching to send a dummy read address different from the read address to the memory when a match is detected; and a switching means for switching to send a dummy read address different from the read address to the memory; The apparatus includes a selection means for selecting input data from the memory to be taken out as output data when it is detected that the addresses match.

〔産業上の利用分野〕[Industrial application field]

本発明は、書込みクロック周期と読出しクロック周期と
が異なる速度変換メモリ装置に関する。
The present invention relates to a speed conversion memory device in which a write clock period and a read clock period are different.

一般に、コンピュータにおいて例えば3.4MHzのク
ロックで送られてきたデータをこれより更に速い例えば
3.6M l(Zのクロックで送出し直す時、速度変換
メモリ装置を用いる。このものは、書込みクロックによ
っであるデータを古込み、書込みクロックと異なる周期
の速い読出しクロックによってそのデータを読出すもの
であるが、書込みクロックの周期より読出しクロック周
期の方が速いのでクロックに周期してメモリ内のアドレ
スを読み出していると途中で書込みアドレスと読出しア
ドレスとが一致して、更に書込みアドレスを追越すため
に、メモリ内の一度読んだデータをまた読み出してしま
い、メモリ装置をそのままにしておくと、データが重複
してしまうことでデータの内容が破壊してしまうので、
これを防止できるようなメモリ装はが必要とされる。
In general, when a computer retransmits data sent with a clock of 3.4 MHz, for example, with a clock of 3.6 MHz, a speed conversion memory device is used. Therefore, some data is read out using a fast read clock that has a different cycle from the write clock, but since the read clock cycle is faster than the write clock cycle, the address in the memory is read at the same cycle as the clock. While reading, the write address and read address match, and in order to overtake the write address, the data that has been read once in the memory is read again, and if the memory device is left as it is, the data will be lost. The content of the data will be destroyed due to duplication, so
A memory device that can prevent this is required.

〔従来の技術〕[Conventional technology]

第5図は従来のブロック図を示す。この例は、例えばエ
ラスティックストアメモリ(ES)である。同図中、1
はメモリ、2は入力レジスタ、3は出力レジスタである
。同図において、書込みに際し、入力データは出込みク
ロックによって入力レジスタ2に格納され、続いてメモ
リ1に送られ、出込みアドレスによって指定されたアド
レスに書込みクロックによって書込まれる。次に、読出
しに際し、読出しアドレスによって指定されたアドレス
から書込みクロックと異なる周期の読出しり0ツクによ
ってデータが読出され、続いて出力レジスタ3に読出し
りOツクによって格納され、出力データとして取出され
る。
FIG. 5 shows a conventional block diagram. An example of this is eg elastic store memory (ES). In the same figure, 1
is a memory, 2 is an input register, and 3 is an output register. In the figure, when writing, input data is stored in the input register 2 by the output clock, then sent to the memory 1, and written to the address specified by the output address by the write clock. Next, during reading, data is read from the address specified by the read address by a read clock with a cycle different from the write clock, and then stored in the output register 3 by a read clock, and taken out as output data. .

ここでメモリ1は第6図に示す様になっており、書込み
アドレス及び読み出しアドレスはOOOから111まで
順番に書込み及び読み出し番地も指定していく。
Here, the memory 1 is configured as shown in FIG. 6, and the write and read addresses sequentially specify the write and read addresses from OOO to 111.

このようにして、あるクロックで送られてきたデータを
これより更に速いクロックで送出し直すことができる。
In this way, data sent with a certain clock can be sent again with a faster clock.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような速度変換メモリ装置では、書込みクロックは
読出しクロックよりら速度が遅いために同じ時間内に読
み出しの回数が増加し途中で書込みアドレス及び読出し
アドレスが一致してさらに追い越してしまうことがあり
、こ−のような場合、メモリ装置をそのままにしておく
と、メtり装置内のデータが破壊してしまう。然るに、
上記従来のものは、このようなデータ破壊を防止するよ
うな構成とされていないため、正確なデータを(qるこ
とができない問題点があった。
In such a speed conversion memory device, the write clock is slower than the read clock, so the number of reads increases within the same time, and the write address and read address may coincide midway through and even overtake the read clock. In such a case, if the memory device is left as is, the data in the metering device will be destroyed. However,
The conventional device described above is not configured to prevent such data destruction, and therefore has the problem that accurate data cannot be retrieved.

本発明は、書込みアドレスと読出しアドレスとが一致し
た場合でもメモリ内のデータが破壊しない速度変換メモ
リ装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a speed conversion memory device in which data in the memory is not destroyed even when a write address and a read address match.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図を示す。同図中、1は
メモリ、10は、メモリ1の書込みアドレスとメモリ1
の読出しアドレスとを比較するアドレス比較手段、6は
アドレス比較手段10にて上記両アドレスが異なること
が検出された時に読出しアドレスをそのままメモリ1へ
送る一方、上記両アドレスが一致することが検出された
時は読出しアドレスと異なるダミー読出しアドレスをメ
モリ1へ送るよう切換える切換手段、7は」−2両アド
レスが賃なることが検出された時はメモリ1の出力を出
力データとして取出す一方、上記両アドレスが一致する
ことが検出された時はメモリ1の入力データを出力デー
タとして取出すよう選択する選択手段である。
FIG. 1 shows a block diagram of the principle of the present invention. In the figure, 1 is memory, 10 is the write address of memory 1 and memory 1
Address comparing means 6 compares the read address of the address with the read address of the address comparing means 10, when the address comparing means 10 detects that the two addresses are different, sends the read address as it is to the memory 1, and when the address comparing means 10 detects that the two addresses match, it sends the read address as it is to the memory 1; The switching means 7 switches to send a dummy read address different from the read address to the memory 1 when the read address is different from the read address. This selection means selects the input data of the memory 1 to be taken out as output data when it is detected that the addresses match.

〔作用〕[Effect]

本発明では、アドレス比較手段10にて書込みアドレス
と読出しアドレスとの一致を検出し、切換手段6によっ
てメモリ1の読出しアドレスを本来の読出しアドレスと
異なったグミ−読出しアドレスに切換え、メモリ1の自
込みアドレスと読出しアドレスとを強制的に異ならして
メモリ1内のデータの破壊を防止する。
In the present invention, the address comparing means 10 detects a match between the write address and the read address, and the switching means 6 switches the read address of the memory 1 to a gummy read address different from the original read address, and the memory 1 is automatically read. The data in the memory 1 is prevented from being destroyed by forcibly differentiating the write address and the read address.

〔実施例〕〔Example〕

第2図は本発明の一実施例のブロック図を示し、同図中
、第5図と同一構成部分には同一番号を付す。同図中、
4はアドレス−数構出回路で、占込みアドレスと読出し
アドレスとを比較し、一致しない時はLレベル、一致し
た時はHレベルの各信号を出力する。5はフリップフロ
ップで、アドレス−数構出回路4の出力が常にLレベル
の時はLレベル、その出力が1」レベルとLレベルとが
交互にある時はHレベルの各選択信号SELを出力する
。アドレス−数構出回路4及びフリップフロップ5にて
アドレス比較手段10が構成される。
FIG. 2 shows a block diagram of an embodiment of the present invention, in which the same components as in FIG. 5 are given the same numbers. In the same figure,
Reference numeral 4 denotes an address/number configuration circuit which compares the write-in address and the read address and outputs an L level signal when they do not match, and an H level signal when they match. Reference numeral 5 designates a flip-flop which outputs each selection signal SEL which is at L level when the output of address/number configuration circuit 4 is always at L level, and at H level when the output is alternately between 1'' level and L level. do. An address comparison means 10 is constituted by the address-number configuration circuit 4 and the flip-flop 5.

6はエクスクルシブオアゲート(切換手段)で、フリッ
プフロップ5からの選択信号SELがLレベルの時は読
出しアドレスをそのまま出力し、それがHレベルの時は
読出しアドレスの逆極性をもつダミー読出しアドレスを
出力するa7はセレクタ(選択手段)で、選択信号SE
LがLレベルの時はメモリ1の出力データを選択して取
出す一方、それがHレベルの時は入力レジスタ2の出力
データを選択して取出す。
6 is an exclusive OR gate (switching means) which outputs the read address as is when the selection signal SEL from the flip-flop 5 is at L level, and outputs a dummy read address with the opposite polarity of the read address when it is at H level. A7 is a selector (selection means) that outputs a selection signal SE
When L is at L level, output data from memory 1 is selected and taken out, while when it is at H level, output data from input register 2 is selected and taken out.

第3図は書込みアドレスと読出しアドレスとが異なる時
のタイミングチャート、第4図は上記両アドレスが一致
した時のタイミングチャートを示す。
FIG. 3 shows a timing chart when the write address and read address are different, and FIG. 4 shows a timing chart when the two addresses match.

次に、本発明装昭の動作について第2図乃至第4図と共
に説明する。
Next, the operation of the apparatus of the present invention will be explained with reference to FIGS. 2 to 4.

入力データ(第3図(A)、第4図(A))は書込みク
ロックによって入力レジスタ2に格納され、続いてメモ
リ1に送られ、占込みアドレスWA(第3図(C)、第
4図(C))によって指定されたアドレスに書込みクロ
ックによって書込まれる(第3図(B)、第4図(B)
)。ここで、書込みアドレスWA(第3図(C))と読
出しアドレスRA(第3図(D))とが異なる場合、ア
ドレス−数構出回路4においてアドレス不一致が検出さ
れ、Lレベル信号(第3図(E))が取出される。
The input data (Fig. 3(A), Fig. 4(A)) is stored in the input register 2 by the write clock, then sent to the memory 1, and is written to the write address WA (Fig. 3(C), 4). The data is written to the address specified by the write clock (Figure 3 (B), Figure 4 (B)).
). Here, if the write address WA (FIG. 3(C)) and the read address RA (FIG. 3(D)) are different, an address mismatch is detected in the address-number construction circuit 4, and the L level signal (the 3 (E)) is taken out.

このLレベル信号によってフリップ70ツブ5からの選
択信QSEL、はLレベルとされ(第3図(F))、こ
れにより、エクスクルシブオアゲート6は読出しアドレ
スをそのままの形で出力する。
This L level signal sets the selection signal QSEL from the flip 70 tube 5 to the L level (FIG. 3(F)), so that the exclusive OR gate 6 outputs the read address as it is.

メモリ1ではこの読出しアドレスRA(第3図(D))
によって指定されたアドレスから読出しクロックによっ
てデータD。(第3図(G))が読出され、続いて出力
レジスタ3に読出しクロックによって格納され、出力デ
ータとして取出される(第3図(H))。
In memory 1, this read address RA (Fig. 3 (D))
Data D is read from the address specified by the clock. (FIG. 3(G)) is read out, then stored in the output register 3 by the read clock, and taken out as output data (FIG. 3(H)).

一方、書込みアドレスWA(第4図(C))と読出しア
ドレスRA(第4図(D))とが一致した場合、アドレ
ス−数構出回路4においてアドレス一致が検出され、H
レベルとLレベルとが交互に存在する信号(第4図(E
))が取出される。
On the other hand, when the write address WA (FIG. 4(C)) and the read address RA (FIG. 4(D)) match, the address-number construction circuit 4 detects the address match, and the H
A signal in which level and L level exist alternately (Fig. 4 (E)
)) is retrieved.

この信号によってフリップフロップ5からの選択信号S
ELはHレベルとされ(第4図(F))、これにより、
エクスクルシブオアゲート6は読出しアドレスの逆極性
をもつグミ−読出しアドレスを出力する。つまり、両ア
ドレスの一致が検出された時はメモリ1の読出しアドレ
スを強制的にダミー読出しアドレスに切換える。
This signal causes the selection signal S from the flip-flop 5 to be
EL is set to H level (Fig. 4 (F)), and as a result,
Exclusive OR gate 6 outputs a gummy read address having the opposite polarity of the read address. That is, when a match between both addresses is detected, the read address of the memory 1 is forcibly switched to the dummy read address.

このダミー読出しアドレスは本来の読出しアドレスと異
なるので、メモリ1ではよ込みアドレスと読出しアドレ
スとが異なることになり、これにより、メモリ内のデー
タの破壊を防止し得る。−方、フリップフロップ5から
のHレベルの選択信号SELはセレクタ7に供給され、
これにより、セレクタ7はメモリ1の出力データに代っ
て入力レジスタ2の出力データを出力するように切換え
られ(第4図(G))、出力レジスタ3から出力データ
(第4図(H))として取出される。
Since this dummy read address is different from the original read address, the read address and read address in the memory 1 are different, thereby preventing data in the memory from being destroyed. - On the other hand, the H level selection signal SEL from the flip-flop 5 is supplied to the selector 7,
As a result, the selector 7 is switched to output the output data of the input register 2 instead of the output data of the memory 1 (FIG. 4 (G)), and the output data from the output register 3 (FIG. 4 (H)). ) is retrieved as

このように書込みアドレスと読出しアドレスとが一致し
た場合は本来、メモリ1への書込みデータとメモリ1か
らの読出しデータとは等しいので、メモリ1からの読出
しデータが出力データとして取出せない上記構成ではメ
モリ1への宮込みデータをそのまま出力データとする。
If the write address and read address match in this way, the write data to memory 1 and the read data from memory 1 are originally equal, so in the above configuration where the read data from memory 1 cannot be retrieved as output data, the memory The input data to 1 is used as output data as it is.

〔発明の効果〕〔Effect of the invention〕

以上説明した如く、本発明によれば、書込みアドレスと
読出しアドレスとが一致した場合にメモリ内のデータが
破壊されることはなく、正確なデータを取出し得る。
As described above, according to the present invention, when the write address and the read address match, the data in the memory is not destroyed and accurate data can be retrieved.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例のブロック図、第3図及び第
4図は夫々書込みアドレスと読出しアドレスとが異なる
時及び一致した時のタイミングヂャート、 第5図は従来のブロック図、 第6図はメモリ1の構成図である。 図において、 1はメモリ、 2は入力レジスタ、 3は出力レジスタ、 4はアドレス−数構出回路、 5はフリップ70ツブ、 6はエクスクルシブオアゲート(切換手段)、7はセレ
クタ(選択手段)、 10はアドレス比較1段 を示す。 坤揚芒哨の須1畔Llロック図 wt図 本発明め一実施例カプロ120 第2ダ 麩の7゛ロ−y2図 可5図 メモリ1の講−10 容6 !
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIGS. 3 and 4 are timing diagrams when the write address and read address are different and coincide, respectively. 5 is a conventional block diagram, and FIG. 6 is a configuration diagram of the memory 1. In the figure, 1 is a memory, 2 is an input register, 3 is an output register, 4 is an address-number configuration circuit, 5 is a flip 70 tube, 6 is an exclusive OR gate (switching means), and 7 is a selector (selection means). , 10 indicates one stage of address comparison. 1st Embodiment of the present invention Capro 120 7゛Ro-y2 diagram of the 2nd column 5 Figure Memory 1 Lecture-10 Volume 6!

Claims (1)

【特許請求の範囲】 メモリ(1)の書込みアドレスと該メモリ(1)の読出
しアドレスとを比較するアドレス比較手段(10)と、 該アドレス比較手段(10)にて上記両アドレスが異な
ることが検出された時は上記読出しアドレスをそのまま
上記メモリ(1)へ送る一方、上記アドレス比較手段(
10)にて上記両アドレスが一致することが検出された
時は上記読出しアドレスと異なるダミー読出しアドレス
を上記メモリ(1)へ送るよう切換える切換手段(6)
と、上記アドレス比較手段(10)にて上記両アドレス
が異なることが検出された時は上記メモリ(1)の出力
を出力データとして取出す一方、上記アドレス比較手段
(10)にて上記両アドレスが一致することが検出され
た時は上記メモリ(1)の入力データを出力データとし
て取出すよう選択する選択手段(7)とを有してなるこ
とを特徴とする速度変換メモリ装置。
[Claims] Address comparison means (10) for comparing the write address of the memory (1) and the read address of the memory (1), and the address comparison means (10) are capable of determining whether the two addresses are different. When detected, the read address is sent as is to the memory (1), while the address comparison means (
switching means (6) for switching to send a dummy read address different from the read address to the memory (1) when it is detected in step 10) that the two addresses match;
When the address comparing means (10) detects that the two addresses are different, the output of the memory (1) is taken out as output data, while the address comparing means (10) detects that the two addresses are different. A speed conversion memory device characterized in that it comprises a selection means (7) for selecting the input data of the memory (1) to be taken out as output data when a match is detected.
JP62271366A 1987-10-27 1987-10-27 Speed converting memory device Pending JPH01112449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62271366A JPH01112449A (en) 1987-10-27 1987-10-27 Speed converting memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62271366A JPH01112449A (en) 1987-10-27 1987-10-27 Speed converting memory device

Publications (1)

Publication Number Publication Date
JPH01112449A true JPH01112449A (en) 1989-05-01

Family

ID=17499072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62271366A Pending JPH01112449A (en) 1987-10-27 1987-10-27 Speed converting memory device

Country Status (1)

Country Link
JP (1) JPH01112449A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007097003A1 (en) * 2006-02-24 2007-08-30 Fujitsu Limited Data control apparatus, data control method, and data control program
CN108384208A (en) * 2018-03-16 2018-08-10 长春工业大学 A kind of PET base wood-plastic composite materials and preparation method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007097003A1 (en) * 2006-02-24 2007-08-30 Fujitsu Limited Data control apparatus, data control method, and data control program
CN108384208A (en) * 2018-03-16 2018-08-10 长春工业大学 A kind of PET base wood-plastic composite materials and preparation method thereof

Similar Documents

Publication Publication Date Title
US4839856A (en) Memory access control circuit
JP2522258B2 (en) Signal processor
EP0386719A2 (en) Partial store control circuit
US5201058A (en) Control system for transferring vector data without waiting for transfer end of the previous vector data
JPH0136146B2 (en)
JPH01112449A (en) Speed converting memory device
JPS6323581B2 (en)
JPH079280Y2 (en) Stack circuit
JPS607676A (en) Memory writing circuit
US5479165A (en) Two-dimensional coding apparatus
SU1481854A1 (en) Dynamic memory
JPS63256991A (en) Editing memory
JPS61246848A (en) Operation hysteresis storage circuit
JPH0736819A (en) Dma data transfer device
JPS62272333A (en) Tracer system
JPS58184188A (en) Reading and writting system of display data
JPS6235693B2 (en)
JPH052875A (en) Video memory
JPS62210559A (en) Dma circuit
JPH1165728A (en) Bus access circuit
JPH03228158A (en) Storage device
JPH0675902A (en) Dma transfer circuit
JPH02214099A (en) Pointer resetting system
JPS61128698A (en) Scanning device
JPH06295261A (en) Data transfer device of storage device