JPS62208492A - Storage device - Google Patents

Storage device

Info

Publication number
JPS62208492A
JPS62208492A JP4982786A JP4982786A JPS62208492A JP S62208492 A JPS62208492 A JP S62208492A JP 4982786 A JP4982786 A JP 4982786A JP 4982786 A JP4982786 A JP 4982786A JP S62208492 A JPS62208492 A JP S62208492A
Authority
JP
Japan
Prior art keywords
data
counter
address
clock signal
bit
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
JP4982786A
Other languages
Japanese (ja)
Inventor
Toshihiro Maruyama
丸山 俊弘
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP4982786A priority Critical patent/JPS62208492A/en
Publication of JPS62208492A publication Critical patent/JPS62208492A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To continuously output the same contents by providing a timing generator which modifies the transmission destination of a lock signal from a down counter to an address counter based on a control signal and transmits a latch release signal to a latch circuit. CONSTITUTION:According to the flag bit of data written at the prescribed address in a storage circuit 29 the address counter stops its jogging, and subsequent n-bit data is set to the down counter 33 to count down based on the clock signal transmitted from the timing generator 27. It transmits a preset pulse (q) to a loop counter 33, causes the loop counter 33 to preset iteration number data outputted from a main storage circuit 29, transmits the clock signal CL2 to the loop counter 33 after outputting the preset pulse (q), and counts down the preset iteration number data. When the iteration number comes to zero, a counted value again jogs. Thus the same data can be continuously outputted.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明は記憶装置に係わり、特に、同一データの繰り返
し出力を簡単な構成の付加により可能とした記憶装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a storage device, and more particularly to a storage device that can repeatedly output the same data by adding a simple configuration.

〔従来の技術〕[Conventional technology]

従来この種の記憶装置としては、第3図と第4図とに示
されたものがあり、まずこの従来例を説明する。アドレ
スカウンタ1はリセット端子3に印加されろリセット信
号孔S1によシカラント値「0」(第4図An)10)
になり、クロック端子5に供給されるクロック信号CL
1がコントロール回路7を介して供給されると(C1,
11〜eL14)カウント値を歩進させる(ADZ 1
−ADI 4 )。該カント値はアドレス11号として
主記憶回路9に送出され、主記憶回路9から(よ合〃り
/ト値(An)10〜AD14)に対応するデータ(1
)′r10〜1)T14)が出力される。上記コントロ
ール回路7は、アドレスカウンタ1へのクロック信号C
LIの転送の他にも、同一のデータを繰り返し主記憶回
路9から読み出丁ときに使用される。すなわち、同一デ
ータの繰り返し読み出しに際しては、コントロール回路
7が予じめ指定されていたカウント値に達したか否かを
判別し、該指定されていたカウント値(例えば、第4図
A点)に達するとコントロール回路7はアドレスカウン
タ1へのクロック信号CLIの送出を停止して(CL1
4以降)、予じめ指定した回数だけくシ返しデータを送
出した後、再びアドレスカウンタ1にクロック信号CL
15を転送しカウント値(AD15)を歩進させる。上
記コントロール回路7はカウント値の判別を必要として
おシ、中央処理装置とプログラムロム、ラム等で構成さ
れている。
Conventional storage devices of this type include those shown in FIGS. 3 and 4, and this conventional example will be explained first. The address counter 1 is applied to the reset terminal 3, and the reset signal hole S1 causes the sicant value to be "0" (Fig. 4 An) 10)
and the clock signal CL supplied to the clock terminal 5
1 is supplied via the control circuit 7 (C1,
11~eL14) Increment the count value (ADZ 1
-ADI4). The cant value is sent to the main memory circuit 9 as address No. 11, and from the main memory circuit 9 data (1
)'r10~1)T14) is output. The control circuit 7 sends a clock signal C to the address counter 1.
In addition to transferring LI, it is also used when repeatedly reading the same data from the main memory circuit 9. That is, when repeatedly reading the same data, the control circuit 7 determines whether or not a pre-specified count value has been reached, and the control circuit 7 determines whether or not the specified count value (for example, point A in FIG. 4) is reached. When the clock signal CLI reaches the address counter 1, the control circuit 7 stops sending the clock signal CLI to the address counter 1 (CL1
4 and later), after sending out the repeat data a pre-specified number of times, the clock signal CL is sent to address counter 1 again.
15 is transferred and the count value (AD15) is incremented. The control circuit 7 needs to discriminate the count value and is composed of a central processing unit, a program ROM, a RAM, etc.

〔発明の解決しようとする問題点〕[Problem to be solved by the invention]

上記従来の記憶装置では、同一内容の出力を連続的に出
力する場合、コントロール回路7がアドレスカウンタ1
の歩進を停止させて連続的にデータを出力させるので、
主記憶回路9の記憶容量を節約できるものの、コントロ
ール回路7を中央処理装置、ロム、ラム等で構成すると
コントロール回路7が複雑化するうえ、ロムにプログラ
ム命令等を書き込む作業が必要になり、記憶装置が高価
なものになるという問題点があった。したがって、本発
明は安価で簡単な構成により同−内容の連続出力が可能
な記憶装置を提供することを目的とする。
In the conventional storage device described above, when outputting the same content continuously, the control circuit 7 controls the address counter 1.
Since it stops the progress of and outputs data continuously,
Although the storage capacity of the main memory circuit 9 can be saved, if the control circuit 7 is composed of a central processing unit, ROM, RAM, etc., the control circuit 7 becomes complicated, and it becomes necessary to write program instructions etc. to the ROM. There was a problem that the device was expensive. Therefore, it is an object of the present invention to provide a storage device capable of continuously outputting the same content with an inexpensive and simple configuration.

〔問題点を解決するための手段、作用および効果〕本発
明による記憶装置では、記憶回路の所定アドレスに書き
込んだデータのフラグビットに基づきアドレスカウンタ
の歩進を停止させ、続くnビットデータをダウンカウン
タにセットしてタイミング発生器から送出されるクロッ
ク信号によ)カウントダウンさせる。その結果が一定値
になるとタイミング発生器にクロック信号を再びアドレ
スカウンタに送出させる。ダウンカウンタがカウントダ
ウンしている間、フラグビットを含んでいたデータはラ
ッチ回路にラッチされるので、同一データが連続的に出
力ちれることになり、再びクロック信号がアドレスカウ
ンタに供給されると順次歩進するカウンタ値の示すアド
レスに書きもまれていたデータが読み出δれるようにな
る。したがって、本発明では、データを記憶している記
憶回路にくり返し要求のフラグとくり返し回数のデータ
を記憶式せることかでき、別途専用の記憶回路を設ける
必要がなくなる。しかも、くり返し要求等を専用のハー
ドウェアで判別しているので、中央処理装置も不要にな
り、構成の簡素化、価格の低下を図ることができるとい
う効果が得られる。
[Means, operations, and effects for solving the problem] In the storage device according to the present invention, the increment of the address counter is stopped based on the flag bit of data written to a predetermined address of the storage circuit, and the subsequent n-bit data is downgraded. Set the counter to count down (by the clock signal sent from the timing generator). When the result becomes a constant value, the timing generator is caused to send the clock signal to the address counter again. While the down counter is counting down, the data including the flag bit is latched in the latch circuit, so the same data will be output continuously, and when the clock signal is supplied to the address counter again, the data will be output sequentially. Data that has been written to the address indicated by the incrementing counter value can now be read out. Therefore, according to the present invention, the repeat request flag and the repeat count data can be stored in the memory circuit that stores the data, and there is no need to provide a separate dedicated memory circuit. Moreover, since repeated requests and the like are determined by dedicated hardware, a central processing unit is not required, and the configuration can be simplified and the price can be reduced.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づき説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図は一実施例の構成を示すブロック図であシ、第2
図はそのタイミングチャート図である。
FIG. 1 is a block diagram showing the configuration of one embodiment.
The figure is a timing chart diagram.

アドレスカウンタ21はリセット端子23に供給される
リセット信号R82によりリセットされ、カウント値r
OJになる。通常の読出し動作にあっては、クロック端
子に供給されるクロック信号CL2をタイミング発生器
27がアドレスカウンタ21に転送し、アドレスカウン
タ21のカウント値を歩進させてゆく。アドレスカフ/
り21はカウント値に基づきmビットのアドレス出力を
主記憶回路29に送出し、主記憶回路29はアドレス出
力により指定されたアドレスに記憶されているnビット
のデータを出力する。nビットデータ出力の最下位ビッ
トが「0」のときは通常の読出し動作なのでこのnビッ
ト出力のうち最上位ビットを除いた(n−1)ビットは
複数のラッチ回路31に送出されるが、ラッチパルスP
がローレベルの間は(n−1)ビットのデータ出力をそ
のまま出力する。
The address counter 21 is reset by a reset signal R82 supplied to the reset terminal 23, and the count value r
Become an O.J. In a normal read operation, the timing generator 27 transfers the clock signal CL2 supplied to the clock terminal to the address counter 21, and the count value of the address counter 21 is incremented. address cuff/
The controller 21 sends an m-bit address output to the main memory circuit 29 based on the count value, and the main memory circuit 29 outputs the n-bit data stored at the address designated by the address output. When the least significant bit of the n-bit data output is "0", it is a normal read operation, so (n-1) bits of this n-bit output excluding the most significant bit are sent to the plurality of latch circuits 31. Latch pulse P
While is at low level, (n-1) bits of data are output as they are.

一方、同一内容の連続出力の場合には、主記憶回路29
のnビットデータの最上位ビットに「1」を書き込んで
おく(第4図のタイミングCにおけるM8B参照)。そ
うすると、タイミング発生器27はタイミングdの立上
りでラッチパルスPfハイレベルに移行させて王妃1:
ハ回路29のデータ出力をラッチ回路31にラッチさせ
る。タイミング発生器27は上記最上位ビットのrlJ
(M2R)を検出後、アドレスカウンタ21にクロック
信号CI、2を1パルス送り(タイミングd)、アドレ
スカウンタ21のカウント値を「l」歩進させる。
On the other hand, in the case of continuous output of the same content, the main memory circuit 29
"1" is written in the most significant bit of the n-bit data (see M8B at timing C in FIG. 4). Then, the timing generator 27 shifts the latch pulse Pf to high level at the rising edge of timing d, and the queen 1:
C. The data output of the circuit 29 is latched by the latch circuit 31. The timing generator 27 generates rlJ of the most significant bit.
After detecting (M2R), one pulse of the clock signal CI,2 is sent to the address counter 21 (timing d), and the count value of the address counter 21 is incremented by "1".

この「1」歩進したアドレスにはくシ返し回数のデータ
が記憶されているので、タイミング発生器27はプリセ
ットパルスqをループカウンタ33に送出し、主記憶回
路29から出力されたくり返し回数データ(nビット)
をループカウンタ33にプリセットさせる。プリセット
パルスqの出力後、タイミング発生器27はクロック信
号CL、2をループカウンタ33に送出し、ループカウ
ンタ33にプリセットされたくり返し回数データをカウ
ントダウンさせてゆく(タイミングe乃至タイミングi
)。本実施例では、くり返し回数を7回とし、タイミン
グCにおけるデータ出力後くシ返しデータのカウントダ
ウンの開始まで2クロツクパルスを要しているので、<
シ返しデータは実際にくり返えす回数よシ2だけ少ない
値(十進値「5」に対応する値)にする。タイミングl
の立下シ時にプリセットされたくり返し回数が「0」に
なると、ループカウンタ33からタイばング発生器27
にコントロール信号CkLを送出し、タイミング発生器
27はクロック信号C1,2をアドレスカウンタ21に
再び送出するようになり(タイミングi以後)、カウン
ト値が再び歩進し始める。
Since the data of the number of repetitions is stored in this address incremented by "1", the timing generator 27 sends the preset pulse q to the loop counter 33, and the data of the number of repetitions output from the main memory circuit 29 is stored. (n bits)
is preset in the loop counter 33. After outputting the preset pulse q, the timing generator 27 sends the clock signal CL, 2 to the loop counter 33, and counts down the repetition number data preset in the loop counter 33 (from timing e to timing i).
). In this embodiment, the number of repetitions is 7, and two clock pulses are required after the data is output at timing C until the countdown of the repetition data starts.
The repetition data is set to a value that is 2 less than the actual number of repetitions (a value corresponding to the decimal value "5"). timing l
When the preset number of repetitions reaches "0" at the falling edge of the loop counter 33, the tie generator 27
The timing generator 27 sends the control signal CkL to the address counter 21 again (after timing i), and the timing generator 27 starts to send the clock signals C1 and 2 again to the address counter 21 (after timing i), and the count value starts to increment again.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は一実施例のタイミングチャート図、第3図は従来
例のブロック図、第4図は従来例のタイミングチャート
図である。 21・・・・・・アドレスカウンタ、27・・・・・・
タイミング発生器、29・・・・・・記憶回路、31・
・・・・・ラッチ回路、33・・・・・・ダウンカウン
タ(ループカウンタ)。 代理人 弁理士  内 原   晋 C乙2 第1図
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention, FIG. 2 is a timing chart of one embodiment, FIG. 3 is a block diagram of a conventional example, and FIG. 4 is a timing chart of a conventional example. be. 21...Address counter, 27...
Timing generator, 29... Memory circuit, 31.
... Latch circuit, 33 ... Down counter (loop counter). Agent Patent Attorney Susumu Uchihara C Otsu 2 Figure 1

Claims (1)

【特許請求の範囲】[Claims] クロック信号に基づき順次カウント値を歩進させるアド
レスカウンタと、該カウント値により指定されるアドレ
スに記憶されているnビットのデータを出力する記憶回
路とを具えた記憶装置において、上記nビットのデータ
をプリセットし該プリセットされたデータをクロック信
号によりカウントダウンしその結果が一定値になったと
き制御信号を出力するダウンカウンタと、nビットデー
タのうちフラグビットを除くデータをラッチするラッチ
回路と、フラグビットに基づきクロック信号の送出先を
アドレスカウンタからダウンカウンタに変更しラッチ回
路にラッチ信号を送出するとともに、制御信号に基づき
クロック信号の送出先をダウンカウンタからアドレスカ
ウンタに変更しラッチ回路にラッチ解除信号を送出する
タイミング発生器とをさらに具えたことを特徴とする記
憶装置。
In a storage device comprising an address counter that sequentially increments a count value based on a clock signal, and a storage circuit that outputs n-bit data stored at an address specified by the count value, the n-bit data a down counter that presets the data, counts down the preset data using a clock signal, and outputs a control signal when the result reaches a constant value; a latch circuit that latches data other than the flag bit among the n-bit data; and a flag. Based on the bit, the destination of the clock signal is changed from the address counter to the down counter, and a latch signal is sent to the latch circuit. Based on the control signal, the destination of the clock signal is changed from the down counter to the address counter, and the latch is released by the latch circuit. A storage device further comprising a timing generator that sends a signal.
JP4982786A 1986-03-06 1986-03-06 Storage device Pending JPS62208492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4982786A JPS62208492A (en) 1986-03-06 1986-03-06 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4982786A JPS62208492A (en) 1986-03-06 1986-03-06 Storage device

Publications (1)

Publication Number Publication Date
JPS62208492A true JPS62208492A (en) 1987-09-12

Family

ID=12841924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4982786A Pending JPS62208492A (en) 1986-03-06 1986-03-06 Storage device

Country Status (1)

Country Link
JP (1) JPS62208492A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04218847A (en) * 1990-02-21 1992-08-10 Matsushita Electric Ind Co Ltd Multidimensional address generator and its control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04218847A (en) * 1990-02-21 1992-08-10 Matsushita Electric Ind Co Ltd Multidimensional address generator and its control system

Similar Documents

Publication Publication Date Title
US4031515A (en) Apparatus for transmitting changeable length records having variable length words with interspersed record and word positioning codes
JPS5987569A (en) Automatic continuous processing circuit of data
JPS59214079A (en) Video display control circuit
JPS5856134B2 (en) Storage device
JPS62208492A (en) Storage device
JPH057738B2 (en)
US5381451A (en) Trigger signal generating circuit with extraneous pulse prevention during accelerated pulse counting
JPH0721103A (en) Data transfer device
JP2586072B2 (en) Storage device
KR940003330B1 (en) Dma counter
SU1179336A1 (en) Control unit
JP2692469B2 (en) Data controller
JPS622677Y2 (en)
KR910009076B1 (en) Universal pulse generator
JPS6155686B2 (en)
JP2816745B2 (en) Timer output device
JPS6186860A (en) Data transmission method
SU1571786A1 (en) Test text transmitter
SU1278984A1 (en) Redundant storage
JPS578999A (en) Memory controller
JPS6183593A (en) Display modification control system for lcd
SU771726A1 (en) Storage
JPH02146842A (en) Serial interface circuit
JPH0348542B2 (en)
JPS59206959A (en) Storage device