JPH0312733A - Storage device - Google Patents
Storage deviceInfo
- Publication number
- JPH0312733A JPH0312733A JP1147805A JP14780589A JPH0312733A JP H0312733 A JPH0312733 A JP H0312733A JP 1147805 A JP1147805 A JP 1147805A JP 14780589 A JP14780589 A JP 14780589A JP H0312733 A JPH0312733 A JP H0312733A
- Authority
- JP
- Japan
- Prior art keywords
- output
- data
- signal
- section
- output 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
Links
- 238000010586 diagram Methods 0.000 description 11
- 238000006243 chemical reaction Methods 0.000 description 8
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 6
- 239000004065 semiconductor Substances 0.000 description 5
- 238000005070 sampling Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、データ入出力部に直並列変換回路(以下S/
P変換回路と略す)を使用した記憶装置に関する。[Detailed Description of the Invention] Industrial Application Field The present invention provides a serial/parallel conversion circuit (hereinafter referred to as S/
The present invention relates to a storage device using a P-conversion circuit (abbreviated as P-conversion circuit).
従来の技術
近年、映像信号のデジタル処理化にともない、記憶装置
がテレビ受像機やビデオなどの映像機器に用いられるよ
うになってきた。2. Description of the Related Art In recent years, as video signals have been digitally processed, storage devices have come to be used in video equipment such as television receivers and video cameras.
映像信号を記憶装置に記録するためにはデジタル化する
必要がある。例えばNTSCにおいて色副搬送波周波数
の4倍の標本化周波数で標本化した場合、1標本点の表
示時間は約70nsである。一方、半導体記憶装置とし
てダイナミック型ランダムアクセスメモリー(DRAM
)を例にとると、その動作には書き込み、読み出し、再
書き込みがあり、それぞれの動作に要する時間は200
ns程度である。つまり、半導体記憶装置の動作速度は
映像信号の1標本点の表示時間に対してかなり遅いもの
である。そのため、従来の半導体記憶装置では、S/P
変換回路を用いることにより、数個の標本点をまとめて
処理することで速度調整を行なっていた。In order to record video signals in a storage device, it is necessary to digitize them. For example, in NTSC, when sampling is performed at a sampling frequency four times the color subcarrier frequency, the display time of one sampling point is approximately 70 ns. On the other hand, dynamic random access memory (DRAM) is a semiconductor memory device.
), the operations include writing, reading, and rewriting, and the time required for each operation is 200 minutes.
It is about ns. In other words, the operating speed of a semiconductor memory device is considerably slower than the display time of one sample point of a video signal. Therefore, in conventional semiconductor memory devices, S/P
By using a conversion circuit, the speed was adjusted by processing several sample points at once.
以下に従来の記憶装置について説明する。第3図は従来
の半導体チップ上に形成された記憶装置のブロック図で
あり、31は連続して直列に入力されるデータ301を
並列データに変換する入力データシフトレジスタ部、3
2は入力データシフトレジスタ部31からの出力を記憶
部33に書き込む前に一時的に記憶しておく入力データ
ー時記憶しジスタ部、34は記憶部33から読み出され
るデータを一時的に記憶しておく出力データー時記憶す
る出力データー時記憶しジスタ部、35は出力データー
時記憶しジスタ部34から出力されるパラレルなデータ
をシリアルな出力データ303に変換する出力データシ
フトレジスタ部、36は入力基準クロック302をカウ
ントし書き込み信号305を発生する書き込み信号発生
部、37は出力基準クロック304をカウントし、読み
出し信号307を発生する読み出し信号発生部である。A conventional storage device will be explained below. FIG. 3 is a block diagram of a conventional memory device formed on a semiconductor chip, in which 31 is an input data shift register unit that converts data 301 that is continuously input in series into parallel data;
Reference numeral 2 denotes an input data storage register section for temporarily storing the output from the input data shift register section 31 before writing it into the storage section 33; and 34, a register section for temporarily storing the data read out from the storage section 33. 35 is an output data shift register section that stores output data and stores it when output data is stored. 35 is an output data shift register section that converts parallel data output from the register section 34 into serial output data 303. 36 is an input reference. A write signal generation section 37 counts the clock 302 and generates a write signal 305, and a read signal generation section 37 counts the output reference clock 304 and generates a read signal 307.
次に、この記憶装置について、その動作を、S/P変換
段数が4段の場合を例にとり、第4図のタイミング図を
参照して、説明する。まず書き込み動作について説明す
る。入力データ301と入力基準クロック302を入力
データシフトレジスタ部31に入力する。ここで、入力
データ301は、第4図(a)のように、1クロツタに
1個の割合でシフトレジスタに入力される。同時に書き
込み信号発生部36に入力基準クロック302を入力し
、カウンタでカウントすることでこの書き込み信号発生
部36からは、4クロツクに1回の割合でハイ状態にな
る書き込み信号305を得る。この書き込み信号305
を入力データー時記憶しジスタ部32に入力し、書き込
み信号305がハイ状態にある時入力データシフトレジ
スタ部31のデータを入力データー時記憶しジスタ部3
2に転送する。そして、そのデータを入力データー時記
憶しジスタ部32にデータ転送後、記憶部33に書き込
む。次に読み出し動作について説明する。記憶部33か
らS/P段数分のデータが読み出され、出力データー時
記憶しジスタ部34に保持される。このとき、出力基準
クロック304を読み出し信号発生部37に入力し、カ
ウンタでカウントすることで、4クロツクに1回の割合
でハイ状態になる第4図(b)のタイミング図に示す読
み出し信号306を得る。読み出し信号306を出力デ
ーター時記憶しジスタ部34に入力し、読み出し信号3
06がハイ状態にある時、出力データシフトレジスタ部
35にデータを転送する。出力基準クロック304を出
力データシフトレジスタ部35に入力することでシフト
レジスタの動作により1クロツクに1回出力データ30
3をシリアルに出力する。Next, the operation of this storage device will be described with reference to the timing diagram of FIG. 4, taking as an example the case where the number of S/P conversion stages is four. First, the write operation will be explained. Input data 301 and input reference clock 302 are input to input data shift register section 31 . Here, the input data 301 is input to the shift register at a rate of one data per one clock, as shown in FIG. 4(a). At the same time, an input reference clock 302 is inputted to the write signal generating section 36 and counted by a counter, thereby obtaining a write signal 305 which becomes high state once every four clocks. This write signal 305
is stored as input data and inputted to the register section 32, and when the write signal 305 is in a high state, the data in the input data shift register section 31 is stored as input data and inputted to the register section 3.
Transfer to 2. Then, the data is stored as input data, transferred to the register section 32, and then written to the storage section 33. Next, the read operation will be explained. Data corresponding to the number of S/P stages is read out from the storage section 33, stored when it is output data, and held in the register section 34. At this time, by inputting the output reference clock 304 to the readout signal generating section 37 and counting it with a counter, the readout signal 306 shown in the timing diagram of FIG. 4(b) becomes high once every four clocks. get. When the read signal 306 is output data, it is stored and input to the register section 34, and the read signal 306 is stored as output data.
When 06 is in a high state, data is transferred to the output data shift register section 35. By inputting the output reference clock 304 to the output data shift register section 35, the output data 30 is output once every clock by the operation of the shift register.
Output 3 serially.
発明が解決しようとする課題
しかしながら上記従来の構成では、書き込みの際、入力
データの数がS/P変換段数の倍数でなく端数部分を持
つ場合には、端数部分のデータを入力データシフトレジ
スタ部31から入力データー時記憶しジスタ部32に転
送するための書き込み信号305が発生しないため、端
数部分のデータは記憶部33に書き込まれない。また、
読み出しの際には記憶部33にデータが入力されていな
いため、どのようなデータを出力するかわからない。例
えば第4図(a)に示すデータ数10個の入力データ3
01を記憶部33に書き込む際には、1〜8までの各デ
ータでは書き込み信号305が発生するため、記憶部3
3に書き込まれるが端数部分である9、10のデータは
入力基準クロック302のクロック数が4個に満たず書
き込み信号305が発生せず記憶部33に書き込まれな
い。また第4図(b)の10個の出力データ302を記
憶部33から読み出す際には1〜8までの各データは記
憶部33に入力されているが9,10のデータは記憶部
33に入力されておらず、読み出される9゜10のデー
タは不定データとなる。Problems to be Solved by the Invention However, in the above conventional configuration, when the number of input data is not a multiple of the number of S/P conversion stages and has a fractional part, the data of the fractional part is transferred to the input data shift register section. Since the write signal 305 for storing input data and transferring it to the register section 32 is not generated from the input data 31, the fractional data is not written to the storage section 33. Also,
Since no data has been input to the storage unit 33 at the time of reading, it is not known what kind of data will be output. For example, input data 3 of 10 pieces of data shown in FIG. 4(a)
When writing 01 to the storage unit 33, a write signal 305 is generated for each data from 1 to 8, so the storage unit 3
3, but the fractional portions of data 9 and 10 are not written to the storage unit 33 because the number of clocks of the input reference clock 302 is less than four, and the write signal 305 is not generated. Furthermore, when reading out the 10 output data 302 in FIG. The data of 9°10 that is not input and is read becomes undefined data.
本発明は、上記従来の課題を解決するもので、入力デー
タ301に端数部分が存在する場合でも、出力の際には
、端数部分直前のデータを端数部分のデータとすること
により、端数部分のデータが不定状態となることを防ぐ
ことのできる記憶装置を提供することを目的とする。The present invention solves the above-mentioned conventional problem, and even if there is a fractional part in the input data 301, when outputting, the data immediately before the fractional part is used as the data of the fractional part. An object of the present invention is to provide a storage device that can prevent data from becoming unstable.
課題を解決するための手段
この目的を達成するために、本発明の記憶装置は、記憶
部から出力されるデータのうち、端数部分直前のデータ
を保持しておく出力データラッチ部と、前記出力データ
ラッチ部の出力を端数部分のデータとして出力するため
の出力データ切換部と前記出力データ切換部を制御する
ための切換信号を発生する出力切換信号発生部とを構成
要素としてそなえている。Means for Solving the Problems To achieve this object, the storage device of the present invention includes an output data latch section that holds data immediately before the fractional part of the data output from the storage section; It includes an output data switching section for outputting the output of the data latch section as fractional data, and an output switching signal generation section for generating a switching signal for controlling the output data switching section.
作用
この構成によって、入力データがS/P変換段数の倍数
でなく端数部分を持ち、前記端数部分が記憶部に書き込
まれない場合、読み出しの際に、この端数部分を同端数
部分直前のデータとすることで端数部分のデータを不定
状態にすることを防ぐことが可能となる。Effect With this configuration, if the input data is not a multiple of the number of S/P conversion stages but has a fractional part, and the fractional part is not written to the storage unit, when reading, this fractional part is replaced with the data immediately before the same fractional part. By doing so, it is possible to prevent the data in the fractional part from being in an undefined state.
実施例
以下本発明の実施例について、図面を参照しながら説明
する。第1図は本発明の実施例における半導体チップ上
に形成された記憶装置のブロック図である。第3図の従
来例との対応箇所には同一符号を付して説明を省略し、
異なる部分のみを説明する。また、従来例と同様に記憶
装置のS/P変、換の段数は4段とする。11は出力デ
ータシフトレジスタ部35の出力をラッチ回路により保
持する出力データラッチ部、12は出力データシフトレ
ジスタ部35の出力と出力データラッチ部11の出力を
切換え出力データ101を出力する出力データ切換部、
13は読み出し信号306をカウンタによりカウントす
ることにより出力切換信号102を出力する出力切換信
号発生部である。EXAMPLES Hereinafter, examples of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a memory device formed on a semiconductor chip in an embodiment of the present invention. Corresponding parts with the conventional example in Fig. 3 are given the same reference numerals and explanations are omitted.
Only the different parts will be explained. Further, as in the conventional example, the number of S/P conversion stages of the storage device is four. 11 is an output data latch section that holds the output of the output data shift register section 35 by a latch circuit; 12 is an output data switch that switches between the output of the output data shift register section 35 and the output of the output data latch section 11 and outputs the output data 101. Department,
Reference numeral 13 denotes an output switching signal generating section that outputs the output switching signal 102 by counting the read signal 306 with a counter.
以上のように構成された記憶装置について以下その動作
を説明する。また、ここでは第2図のタイミング図に示
す1〜10の10個のデータを入力データ301とした
場合を例にとり説明する。The operation of the storage device configured as described above will be explained below. Further, here, explanation will be given taking as an example a case where ten data items numbered 1 to 10 shown in the timing diagram of FIG. 2 are used as input data 301.
まず、書き込み動作として入力データ301の9.10
の各データは端数部分であり、従来と同じ回路構成のた
め、記憶部33には書き込まれない。次に、出力動作の
説明をする。読み出し信号306を出力切換信号発生部
13に入力することにより、読み出し信号306をカウ
ンタによりカウントし、第2図のタイミング図に示すよ
うに、3個出力されたところでハイ状、態になる出力切
換信号102を得る。出力信号102を出力データラッ
チ部11に入力することで出力信号102の立ち上り時
点で出力データシフトレジスタ部35の出力を保持する
。出力切換信号102を出力データ切換部12に入力す
ることで出力切換信号102がロー状態にある時は出力
データシフトレジスタ部35の出力を出力データ101
として出力し、出力切換信号102がハイ状態にある時
は出力データラッチ部11の出力を出力データ101と
して出力する。これにより第2図のタイミング図に示す
出力データ101のうち1〜8までの各データは従来例
と同様出力データシフトレジスタ35からの出力であり
、9,10は端数部分直前のデータであるデータ8を出
力することになる。First, as a write operation, 9.10 of the input data 301
Each data is a fractional part and is not written to the storage unit 33 because the circuit configuration is the same as the conventional one. Next, the output operation will be explained. By inputting the readout signal 306 to the output switching signal generator 13, the readout signal 306 is counted by a counter, and as shown in the timing diagram of FIG. A signal 102 is obtained. By inputting the output signal 102 to the output data latch section 11, the output of the output data shift register section 35 is held at the rising edge of the output signal 102. By inputting the output switching signal 102 to the output data switching section 12, when the output switching signal 102 is in a low state, the output of the output data shift register section 35 is changed to the output data 101.
When the output switching signal 102 is in a high state, the output of the output data latch unit 11 is output as the output data 101. As a result, among the output data 101 shown in the timing diagram of FIG. 2, each data from 1 to 8 is the output from the output data shift register 35 as in the conventional example, and 9 and 10 are the data immediately before the fractional part. 8 will be output.
以上のように本実施例によれば、出力切換信号発生部1
3から出力する出力切換信号102により、出力データ
ラッチ部11を制御することで出力データシフトレジス
タ部35から出力される端数部分直前のデータを保持し
ておき、同じく出力切換信号102を制御信号とする出
力データ切換部12により出力データ101を端数部分
以前では出力データシフトレジスタ部35の出力とし端
数部分では出力データラッチ部11の出力とする。これ
により出力データ101の端数部分において不定状態を
生じることはなくなる。As described above, according to this embodiment, the output switching signal generator 1
By controlling the output data latch section 11 with the output switching signal 102 output from the output data shift register section 35, the data immediately before the fractional part output from the output data shift register section 35 is held. The output data switching unit 12 causes the output data 101 to be output from the output data shift register unit 35 before the fractional part and output from the output data latch unit 11 for the fractional part. This eliminates the occurrence of an undefined state in the fractional portion of the output data 101.
発明の効果
以上のように本発明によれば、記憶装置の読み出し動作
において出力データの数がS/P段数の倍数でなく、端
数部分を持つ場合でも出力切換信号発生部から出力され
る出力切換信号を制御信号とする出力データラッチ部に
より端数部分直前のデータを保持し、同じく前記出力切
換信号を制御信号とする出力データ切換部により端数部
分以前では出力データシフトレジスタの出力を出力デー
タとして出力し、端数部分では出力データラッヂ部の出
力を出力データとして出力することにより端数部分のデ
ータを不定状態で出力することがない。例えば映像信号
を処理対象にした場合、−水平走査線の終端で端数部分
が生じ端数部分のデータとして水平同期信号と同等なも
のが出力されれば水平走査線間にずれが生じてしまうが
端数部分直前のデータを端数部分で出力すれば水平走査
線間にずれも生じないし、データの連続性も保つことが
できる優れた記憶装置を実現できるものである。Effects of the Invention As described above, according to the present invention, even when the number of output data is not a multiple of the number of S/P stages and has a fractional part in the read operation of a storage device, the output switching signal generator outputs the output switching signal. An output data latch section that uses the signal as a control signal holds the data immediately before the fractional part, and an output data switching section that also uses the output switching signal as a control signal outputs the output of the output data shift register as output data before the fractional part. However, in the fractional part, by outputting the output of the output data latch section as output data, the data in the fractional part is not output in an undefined state. For example, when processing a video signal, a fractional part occurs at the end of a horizontal scanning line, and if something equivalent to a horizontal synchronization signal is output as data for the fractional part, a shift occurs between horizontal scanning lines, but the fractional part If the data immediately before a portion is output as a fractional portion, there will be no shift between horizontal scanning lines, and an excellent storage device that can maintain data continuity can be realized.
第1図は本発明の実施例における記憶装置のブロック図
、第2図は本発明の実施例の動作を示すタイミング図、
第3図は従来の記憶装置のブロック図、第4図は従来の
動作を示すタイミング図である。
11・・・・・・出力データラッチ部、12・・・・・
・出力データ切換部、13・・・・・・出力切換信号発
生部、31・・・・・・入力データシフトレジスタ部、
32・・・・・・入力データー時記憶しジスタ部、33
・・・・・・記憶部、34・・・・・・出力データー時
記憶しジスタ部、35・・・・・・出力データシフトレ
ジスタ部、36・・・・・・書き込み信号発生部、37
・・・・・・読み出し信号発生部、101・・・・・・
出力データ、102・・・・・・出力切換信号、301
・・・・・・入力データ、302・・・・・・入力基準
クロック、303・・・・・・出力データ、304・・
・・・・出力基準クロック、305・・・・・・書き込
み信号、307・・・・・・読み出し信号。FIG. 1 is a block diagram of a storage device in an embodiment of the present invention, FIG. 2 is a timing diagram showing the operation of the embodiment of the present invention,
FIG. 3 is a block diagram of a conventional storage device, and FIG. 4 is a timing diagram showing the conventional operation. 11... Output data latch section, 12...
・Output data switching section, 13... Output switching signal generation section, 31... Input data shift register section,
32... Register section for storing input data, 33
. . . Storage section, 34 . . . Output data storage register section, 35 . . . Output data shift register section, 36 . . . Write signal generation section, 37
. . . Read signal generation section, 101 . . .
Output data, 102... Output switching signal, 301
...Input data, 302...Input reference clock, 303...Output data, 304...
...Output reference clock, 305...Write signal, 307...Read signal.
Claims (1)
力データラッチ部と、前記シフトレジスタ部のデータ出
力および前記出力データラッチ部の出力を入力とする出
力データ切換部と、前記出力データラッチ部のデータの
ラッチタイミングを制御する出力切換信号を出力する出
力切換信号発生部とを備えた記憶装置。an output data latch section that receives the data output of the shift register section of the output section; an output data switching section that receives the data output of the shift register section and the output of the output data latch section; A storage device comprising: an output switching signal generator that outputs an output switching signal that controls data latch timing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1147805A JPH0312733A (en) | 1989-06-09 | 1989-06-09 | Storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1147805A JPH0312733A (en) | 1989-06-09 | 1989-06-09 | Storage device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0312733A true JPH0312733A (en) | 1991-01-21 |
Family
ID=15438614
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1147805A Pending JPH0312733A (en) | 1989-06-09 | 1989-06-09 | Storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0312733A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005110672A (en) * | 2003-09-19 | 2005-04-28 | Yanmar Agricult Equip Co Ltd | General-purpose combine threshing device |
-
1989
- 1989-06-09 JP JP1147805A patent/JPH0312733A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005110672A (en) * | 2003-09-19 | 2005-04-28 | Yanmar Agricult Equip Co Ltd | General-purpose combine threshing device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1024663A3 (en) | Image processing device | |
| US5220529A (en) | One-chip first-in first-out memory device having matched write and read operations | |
| KR100194922B1 (en) | Aspect ratio inverter | |
| JPH0620292B2 (en) | Video signal circuit with time base correction function | |
| JP2551493B2 (en) | Key signal delay device | |
| KR19980025383A (en) | Frequency inverter | |
| JPS603714B2 (en) | variable length shift register | |
| JP3107555B2 (en) | Data processing device | |
| KR940006173B1 (en) | Circuit for clerk conversion | |
| JPH01179291A (en) | semiconductor storage device | |
| KR970003427B1 (en) | Converting device of scan speed of digital video signal | |
| KR970057687A (en) | Memory device of PDP TV | |
| SU1354241A1 (en) | Device for displaying information on television set screen | |
| JPH01166269A (en) | Image memory | |
| KR970073094A (en) | Memory system for digital video signal processing | |
| JPS62249574A (en) | video memory | |
| JPH0348518B2 (en) | ||
| JPH0642133B2 (en) | Display device | |
| KR970003177A (en) | Video processing unit | |
| JPH01174077A (en) | Video signal processor | |
| JPH0370277A (en) | Solid-state image pickup element | |
| JPH05206806A (en) | Signal generator | |
| JPH02255988A (en) | image memory | |
| JPH0233672A (en) | Memory circuit and picture processor | |
| JPH02253775A (en) | Double speed converter |