JP2591312B2 - Reset circuit for semiconductor memory - Google Patents

Reset circuit for semiconductor memory

Info

Publication number
JP2591312B2
JP2591312B2 JP2276087A JP27608790A JP2591312B2 JP 2591312 B2 JP2591312 B2 JP 2591312B2 JP 2276087 A JP2276087 A JP 2276087A JP 27608790 A JP27608790 A JP 27608790A JP 2591312 B2 JP2591312 B2 JP 2591312B2
Authority
JP
Japan
Prior art keywords
signal
reset
read
address
write
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 - Lifetime
Application number
JP2276087A
Other languages
Japanese (ja)
Other versions
JPH04153982A (en
Inventor
孝司 小沢
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2276087A priority Critical patent/JP2591312B2/en
Publication of JPH04153982A publication Critical patent/JPH04153982A/en
Application granted granted Critical
Publication of JP2591312B2 publication Critical patent/JP2591312B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は半導体メモリのリセット回路に関し、特にテ
レビジョン信号の1フィールドまたは1フレームの画像
データを水平走査期間の整数分の1の単位でメモリセル
アレイに蓄えるためのメモリ回路において、リセット機
能を備えた半導体メモリのリセット回路に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reset circuit for a semiconductor memory, and more particularly, to a method of storing image data of one field or one frame of a television signal in a unit of an integral number of horizontal scanning periods. The present invention relates to a reset circuit of a semiconductor memory having a reset function in a memory circuit for storing data in a cell array.

〔従来の技術〕[Conventional technology]

従来のテレビジョン信号の1フィールドまたは1フレ
ームの画像データを水平走査期間の1/l単位(lは整
数)でメモリセルアレイ内の1つの行にそって蓄えるよ
うに構成した半導体メモリの構成例を第6図のブロック
図を参照して説明する。第6図の半導体メモリは、NTSC
方式のテレビジョン信号を、4fSC(fSCは色信号副搬送
波周波数で約3.58MHz)の周波数そサンプリングクロッ
クでディジタル化し、量子化4ビットの単位で、1フィ
ールド分の画像を蓄えるようにした半導体メモリであ
る。NTSC方式テレビジョン信号を、4fSCのサンプリング
クロックでディジタル化した場合には、1水平走査期間
の画素数はちょうど910画素となり、また走査線数は262
本または263本となる。従って、この半導体メモリは、
メモリセルアレイを水平方向すなわち1つの行線にそっ
て、910画素×4ビット分のメモリセルを配置し、垂直
方向すなわち1つの列線にそって263ライン分のメモリ
セルを配置している。
A configuration example of a conventional semiconductor memory configured to store one field or one frame of image data of a conventional television signal along one row in a memory cell array in 1 / l unit (1 is an integer) of a horizontal scanning period. This will be described with reference to the block diagram of FIG. The semiconductor memory shown in FIG.
System television signal is digitized with a sampling clock of 4f SC (f SC is about 3.58MHz for chrominance signal subcarrier frequency), and an image for one field is stored in units of quantization 4 bits. It is a semiconductor memory. The NTSC system television signals, when digitized at a sampling clock of 4f SC is the number of pixels one horizontal scanning period just becomes 910 pixels and the number of scanning lines is 262
Or 263 books. Therefore, this semiconductor memory
In the memory cell array, memory cells of 910 pixels × 4 bits are arranged in the horizontal direction, ie, along one row line, and 263 lines of memory cells are arranged in the vertical direction, ie, along one column line.

次にこの半導体メモリの構成を説明する。メモリセル
アレイ310は水平方向に910画素×4ビット分,垂直方向
に263ライン分のメモリセルが配置され、合計239330×
4ビットのメモリセルで形成される。ライトデータレジ
スタ321,322はそれぞれ455×4ビットで構成されたライ
トデータレジスタ、ライトアドレスポインタ331,332は
ライトデータレジスタ内の書込みアドレスを指定する。
データ入力バッファ341は書込みデータ入力端子Din0〜
3からの書込みデータをライトデータレジスタ321,322
に転送する。リードデータレジスタ351,352はそれぞれ4
55×4ビットで構成されリードデータレジスタ、リード
アドレスポインタ361,362はリードデータレジスタ内の
読出しアドレスを指定する。データ出力バッファ342
は、出力制御信号▲▼を入力しリードデータレジス
タ内のデータを読出しデータ出力端子Dout0〜3から出
力する。行アドレスデコーダ371はメモリセルアレイ310
内の263本の行線の選択に使用される。ライトアドレス
カウンタ381,リードアドレスカウンタ382,リフレッシュ
アドレスカウンタ383は、ライト行,リード行及びリフ
レッシュ行を選択するためのアドレス信号を発生し、行
アドレスデコーダ371に供給する。コントローラタイミ
ングジェネレータ391は書込みクロック信号WCK,書込み
制御信号,書込みアドレスクリア信号▲▼及
び読出しクロック信号RCK,読出しアドレスクリア信号▲
▼を入力し、ライトアドレスポインタ,ライト
アドレスカウンタ,リードアドレスカウンタ,リフレッ
シュアドレスカウンタ,リードアドレスポインタに制御
信号を供給している。リフレッシュタイマ392はダイナ
ミック型セルで構成されたメモリセルを定期的にリフレ
ッシュするために制御信号を出力している。
Next, the configuration of this semiconductor memory will be described. The memory cell array 310 has memory cells of 910 pixels × 4 bits in the horizontal direction and 263 lines in the vertical direction.
It is formed of 4-bit memory cells. The write data registers 321 and 322 each specify a write data register composed of 455 × 4 bits, and the write address pointers 331 and 332 specify a write address in the write data register.
The data input buffer 341 has a write data input terminal D in 0 to
Write data from the write data registers 321 and 322
Transfer to Read data registers 351 and 352 are 4
The read data register and read address pointers 361 and 362 are configured by 55 × 4 bits and designate a read address in the read data register. Data output buffer 342
Inputs an output control signal ▼, reads data in the read data register, and outputs the data from the data output terminals D out 0 to 3. Row address decoder 371 is a memory cell array 310
Used to select 263 row lines within. The write address counter 381, the read address counter 382, and the refresh address counter 383 generate address signals for selecting a write row, a read row, and a refresh row, and supply them to the row address decoder 371. The controller timing generator 391 outputs the write clock signal WCK, write control signal, write address clear signal ▲ ▼, read clock signal RCK, read address clear signal ▲
Is input to supply control signals to the write address pointer, write address counter, read address counter, refresh address counter, and read address pointer. The refresh timer 392 outputs a control signal for periodically refreshing a memory cell composed of dynamic cells.

次に動作を説明する▲▼信号入力により、ラ
イトアドレスカウンタ381及びライトアドレスポインタ3
31,332がリセットされ、それぞれ初期番地にイニシャラ
イズされる。WCKには前述した4fSCの書込みクロック、
すなわち1水平走査期間に910回発振するクロックが入
力する。には、書込みイネーブルを示すロウレベル信
号が入力する。ライトアドレスカウンタ及びライトアド
レスポインタのリセットが終了するとWCKからの書込み
クロック信号に同期して書込み動作が行われる。すなわ
ちWCK信号に同期してDin0〜3から入力したライトデー
タがデータ入力バッファ341を通ってライトデータレジ
スタ321に入力する。455回の書込みが終了すると、ライ
トデータレジスタ321は満杯となるために、引続きライ
トデータレジスタ322にデータが蓄積されると共に、321
に蓄積された書込みデータは、メモリセルアレイ310内
の第1行(先頭行)に転送される。ライトデータレジス
タ322に455回の書込みが終了すると、再びライトデータ
レジスタ321に書込みが移ると共に、ライトデータレジ
スタ322に蓄積された書込みデータは、メモリセルアレ
イ内の第1行(先頭行)に転送される。再びライトデー
タレジスタ321に455回の書込みが終了すると、ライトデ
ータレジスタ322に書込みが移ると共に321に蓄積された
書込データはメモリセルアレイ内の第2行に転送され
る。以下このような動作をライトデータレジスタ321,32
2とメモリセルアレイ310間で交互に繰り返して、データ
の書込みが連続して行われる。ライトアドレスカウンタ
381はライトデータレジスタ321,322内のデータをメモリ
セルアレイ310に転送する際の行アドレス信号を、行ア
ドレスデコーダ371に供給しており、ライトデータレジ
スタ321及び322の転送が終了するたびにライトアドレス
は、好まくは1アドレスずつ増大し、263行まで行くと
第1行に戻る。読出し動作はRCKからの読出しクロック
信号に同期して行われる。▲▼信号が入力する
と、リードアドレスカウンタ382及びリードアドレスポ
インタ361,362がリセットされ、それぞれ初期番地に初
期化される。RCKには前述した4fSCの読出しクロックが
入力する。▲▼は読出イネーブルになるようにロウ
レベル信号を入力しておく。読出しの場合は、▲
▼信号により、カウンタ382,ポインタ361,362のリセ
ットが行われると共に、メモイセルアレイ310内の第1
行のデータが予め、リードデータレジスタ351,352に転
送される。リセット及びデータが転送が終了すると、RC
Kからの読出しクロック信号に同期して読出し動作が行
われる。すなわち、RCK信号に同期してリードデータレ
ジスタ351内に蓄積されている読出しデータが、データ
出力バッファ342を通って読出しデータ出力端子Dout0〜
3から出力する。455回の読出し動作が終了するとリー
ドデータレジスタ351は空になるために引続き352から読
出しが続けられると共に、リードデータレジスタ351に
は次に読出すべきメモリセルアレイ内に第2行のデータ
が、予め転送される。リードデータレジスタ352に対し
て読出しが455回行われると、データが空となるために
引続きリードデータレジスタ351から読出しが続けられ
ると共に、空になったリードデータレジスタ352には、
次に読出すべきメモリセルアレイ内の第2行のデータが
予め転送される。リードデータレジスタ351に対して読
出しが455回行われると、データが空となるために引続
きリードデータレジスタ352から読出しが続けられると
共に、空になったリードデータレジスタ351には次に読
出すべきメモリセルアレイ内の第3行のデータが予め転
送される。以下このような動作をリードデータレジスタ
351,352とメモリセルアレイ310間で交互に繰り返してデ
ータの読出しが連続して行われる。リードアドレスカウ
ンタ382は、メモリセルアレイ310内のデータをリードデ
ータレジスタ351,352に転送する際の行アドレス信号を
行アドレスデコーダ371に供給しており、351,352への転
送が終了するたびにリードアドレスは、1アドレスずつ
増大し、263行まで行くと第1行に戻る。
Next, the operation will be described. In response to the signal input, the write address counter 381 and the write address pointer 3
31,332 are reset and initialized to the initial addresses respectively. WCK is the 4f SC write clock described above,
That is, a clock that oscillates 910 times in one horizontal scanning period is input. Is input with a low level signal indicating write enable. When the reset of the write address counter and the write address pointer is completed, a write operation is performed in synchronization with a write clock signal from WCK. That is, the write data input from Din 0 to Din 3 is input to the write data register 321 through the data input buffer 341 in synchronization with the WCK signal. When 455 times of writing are completed, the write data register 321 becomes full, so that the data is continuously accumulated in the write data register 322, and
Is transferred to the first row (first row) in the memory cell array 310. When the writing to the write data register 322 is completed 455 times, the writing is transferred to the write data register 321 again, and the write data accumulated in the write data register 322 is transferred to the first row (first row) in the memory cell array. You. When writing to the write data register 321 is completed 455 times again, the writing is transferred to the write data register 322 and the write data accumulated in the 321 is transferred to the second row in the memory cell array. Hereinafter, such an operation is referred to as write data register 321, 32.
2 and the memory cell array 310 are alternately repeated, and data writing is continuously performed. Write address counter
381 supplies a row address signal for transferring data in the write data registers 321 and 322 to the memory cell array 310 to the row address decoder 371, and each time the transfer of the write data registers 321 and 322 is completed, the write address is Preferably, the address is incremented by one, and when the line reaches 263, the line returns to the first line. The read operation is performed in synchronization with a read clock signal from RCK. When a signal is input, the read address counter 382 and the read address pointers 361 and 362 are reset, and are initialized to initial addresses. The aforementioned 4f SC read clock is input to RCK. In the symbol ▼, a low level signal is input so as to enable reading. For reading, ▲
▼ The signal resets the counter 382 and the pointers 361 and 362, and resets the first
Row data is transferred to the read data registers 351 and 352 in advance. When reset and data transfer are completed, RC
The read operation is performed in synchronization with the read clock signal from K. That is, the read data stored in the read data register 351 in synchronization with the RCK signal passes through the data output buffer 342 to the read data output terminals D out 0 to D out 0 to
Output from 3. When 455 read operations have been completed, the read data register 351 becomes empty, so that reading is continued from 352, and the data of the second row is stored in the memory cell array to be read next in the read data register 351 in advance. Will be transferred. When reading is performed 455 times on the read data register 352, the data becomes empty, so that reading is continued from the read data register 351.
Next, the data of the second row in the memory cell array to be read is transferred in advance. When reading is performed on the read data register 351 455 times, the data becomes empty, so that reading is continued from the read data register 352, and the memory to be read next is stored in the empty read data register 351. The data of the third row in the cell array is transferred in advance. The following operation is referred to as the read data register.
Data reading is performed continuously and alternately between the memory cells 351, 352 and the memory cell array 310. The read address counter 382 supplies a row address signal for transferring data in the memory cell array 310 to the read data registers 351 and 352 to the row address decoder 371. The read address is incremented by one every time the transfer to the 351 and 352 is completed. The address is incremented by one, and when it reaches line 263, it returns to line 1.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述した従来の半導体メモリは、1水平走査期間内の
画素数に対応した画像データを、ちょうど1つの行線に
そって蓄えるようにしたので、各行線の最初のアドレス
には、常に、各水平走査期間内の最初のデータが蓄積さ
れる方式となっている。例えば各水平走査線内のデータ
を1つおきに読出すような場合でも、単純にこのメモリ
の行線を1つおきに読出すことで対応がついた。
In the above-described conventional semiconductor memory, image data corresponding to the number of pixels in one horizontal scanning period is stored along exactly one row line. Therefore, the first address of each row line always includes each horizontal line. The first data in the scanning period is accumulated. For example, even if data in each horizontal scanning line is read out every other row, simply reading out every other row line of this memory has been dealt with.

しかしながらこのような半導体メモリをテレビジョン
セットの中に組み込んだ場合に、ブラウン管ドライブ回
路、高電圧回路の放電ノイズなどにより、半導体メモリ
の電源線やGND線に大きな電圧変動およびノイズが生じ
るおそれがある。こにょうな電圧変動およびノイズのた
めに半導体メモリのデータ書込み位置にずれが生じた際
にリセット回路がないので、各行線にちょうど1つの水
平走査線のデータが蓄えられなくなってしまうという欠
点がある。
However, when such a semiconductor memory is incorporated into a television set, large voltage fluctuations and noise may occur on the power supply line and the GND line of the semiconductor memory due to discharge noise of a CRT drive circuit, a high-voltage circuit, and the like. . Since there is no reset circuit when the data write position of the semiconductor memory shifts due to such voltage fluctuation and noise, there is a disadvantage that data of exactly one horizontal scanning line cannot be stored in each row line. .

本発明の目的は、この電圧変動およびノイズを検出
し、常に半導体メモリの各行線には、各水平走査線に対
応した画像データがちょうど蓄えられるようにするリセ
ット回路を備えた半導体メモリを提供することにある。
An object of the present invention is to provide a semiconductor memory having a reset circuit that detects the voltage fluctuation and noise and always stores image data corresponding to each horizontal scanning line in each row line of the semiconductor memory. It is in.

〔課題を解決するための手段〕[Means for solving the problem]

本発明の半導体メモリのリセット回路はテレビジョン
信号を記憶する半導体メモリのリセット回路であって、
外部から入力する水平同期信号にもとづいて、書き込み
又は読み出しクロックの0サイクル目に第1のリセット
信号を出力する第1のリセット回路と、前記第1のリセ
ット信号で前記クロックの計数を開始し、クロック信号
が規定回数に達するとパルス信号を出力するカウンタ回
路と、前記第1のリセット信号と前記パルス信号との時
間的位置を比較し、不一致の場合にこのずれが回復する
まで少なくとも一水平走査期間中に第2のリセット信号
を発生する第2のリセット回路とを有する。
The semiconductor memory reset circuit of the present invention is a semiconductor memory reset circuit that stores a television signal,
A first reset circuit that outputs a first reset signal in the 0th cycle of a write or read clock based on an externally input horizontal synchronization signal, and counting of the clock by the first reset signal is started; A counter circuit for outputting a pulse signal when the clock signal reaches a specified number of times; comparing a temporal position between the first reset signal and the pulse signal; if not, at least one horizontal scan until the deviation is recovered; And a second reset circuit for generating a second reset signal during the period.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例の回路図である。第1
図の実施例は従来例を示す第6図の構成にライト用リセ
ット回路4、リード用リセット回路5を追加している。
すなわち、行列2次元方向にメモリセルを有し、テレビ
ジョン信号の1フィールドまたは1フレームの画像デー
タを水平走査期間の1/l単位(lは2以上の整数)でメ
モリセルアレイ内310の1つの行によって蓄えるように
構成し、かつライトレーダレジス321,322及びリードデ
ータレジスタ351,352を介してメモリセル内へのデータ
の書込み・読出しを行うように構成した半導体メモリの
行データ書込み/読出しのイニシャライズを行うための
リセット信号を発生する回路を組込んだ状態を示してい
る。なお、第6図と同一記号の回路は従来例の動作と同
様である。
FIG. 1 is a circuit diagram of a first embodiment of the present invention. First
In the embodiment shown in the figure, a write reset circuit 4 and a read reset circuit 5 are added to the configuration of FIG. 6 showing a conventional example.
That is, a matrix has memory cells in a two-dimensional direction, and image data of one field or one frame of a television signal is stored in one of the memory cell arrays 310 in 1 / l unit (1 is an integer of 2 or more) of a horizontal scanning period. In order to initialize row data writing / reading in a semiconductor memory configured to store data in rows and configured to write / read data in / from memory cells via the write radar registers 321 and 322 and the read data registers 351 and 352. 3 shows a state in which a circuit for generating a reset signal is incorporated. The circuits having the same symbols as those in FIG. 6 are the same as those in the conventional example.

ライト用リセット回路4は、ライトクロックWCKと水
平同期信号HDを入力して、第2のリセット信号SPSAをコ
ントローラ及びタイミングジェネレータ391Aとライトア
ドレスポインタ331A及び332Aに供給している。リード用
リセット回路5は、リードクロックRCKと水平同期信号H
Dを入力して、第2のリセット信号SPSBをコントローラ
及びタイミングジェネレータ391Aとリードアドレスポイ
ンタ361A及び362Aに供給している。次にこの回路に基づ
き動作を説明する。第2のリセット信号SPSAは、前述し
たように、このデバイス内部にのるノイズなどにより、
ライトアドレスポインタ内のアドレスがずれた場合に発
生し、ライトアドレスポインタを直接リセットし、イニ
シャライズすると共に、コントローラ及びタイミングジ
ェネレータに作用し、ライトデータレジスタ321,322の
誤ったアドレスに書込まれたデータの、メモリセルアレ
イへの転送を制限する。なお、第2のリセット信号SPSA
は、1水平走査期間(NTSC方式の場合約63.58μs)の
間出つづけるので、負荷容量の大きなライトアドレスポ
インタを確実にイニシャライズすることができる。第2
のリセット信号SPSBは、リードアドレスポインタ内のア
ドレスがずれた場合に発生し、リードアドレスポインタ
を直接リセットし、イニシャライズすると共に、コント
ローラ及びタイミングジェネレータに作用し、メモリセ
ルからリードデータレジスタ351,352へのデータ転送を
行わせる。また、第2のリセット信号SPSBについても1
水平走査期間の間、出つづけるので負荷容量の大きなリ
ードアドレスポインタを確実にイニシャライズすること
ができる。
The write reset circuit 4 receives the write clock WCK and the horizontal synchronization signal HD, and supplies the second reset signal SPSA to the controller and timing generator 391A and the write address pointers 331A and 332A. The read reset circuit 5 is configured to read the read clock RCK and the horizontal synchronizing signal H
D is input to supply the second reset signal SPSB to the controller and timing generator 391A and the read address pointers 361A and 362A. Next, the operation based on this circuit will be described. As described above, the second reset signal SPSA is generated due to noise inside the device.
Occurs when the address in the write address pointer shifts, directly resets and initializes the write address pointer, acts on the controller and the timing generator, and writes the data written to the wrong address in the write data registers 321 and 322. Limit transfer to memory cell array. Note that the second reset signal SPSA
Continues for one horizontal scanning period (approximately 63.58 μs in the case of the NTSC system), so that a write address pointer having a large load capacity can be reliably initialized. Second
Reset signal SPSB is generated when the address in the read address pointer is shifted, directly resets and initializes the read address pointer, acts on the controller and the timing generator, and transfers the data from the memory cell to the read data registers 351 and 352. Make the transfer. Further, the second reset signal SPSB is also set to 1
During the horizontal scanning period, the read address pointer having a large load capacity can be reliably initialized because the read address pointer continues to be output.

次にライト用リセット回路4およびリード用リセット
回路5の回路構成と動作を第2図の回路図により説明す
る。第2図において、DFF1〜DFF4,DFF11〜DFF20はD型
フリップフロップ、AND1〜AND3はANDゲートを示す。DFF
1・DFF2・AND1は第1のリセット信号FRSを発生する第1
のリセット発生回路1であり、DFF11〜DFF20・AND2・DF
F3は第1のパルス信号FPSを発生するカウンタ回路2で
ある。AND3・DFF4は、第1のリセット信号FRSと第1の
パルス信号FPSを比較して第2のリセット信号SPSを発生
する第2のリセット発生回路3である。次に第3図に示
すタイミングチャートを利用して、第2図に示す実施例
回路の動作及び各信号の役割りを説明する。第3図にお
いてWCK(RCK)は1水平走査期間内に910回発振する書
込み(読出し)のクロック信号である。HDは外部より1
水平走査期間内に1回の割合で定期的に入力する水平同
期信号であり通常数クロック分の長さ(ハイレベル期
間)を有している。HD1,HD2は水平同期信号HDをクロッ
クWCK(RCK)により同期化した信号であり、HD2信号はH
Dと逆相で約1WCK(RCK)分遅延している。FRSは第1の
リセット信号であり、HD1,HD2及びWCK(RCK)の各信号
の論理積により発生している。FRS信号は、アドレスポ
インタの列アドレスを発生するカウンタ回路をリセット
すると共に、第2のリセット信号SPSを発生するための
比較信号として使用される。この信号は、各水平走査期
間内のWCK(RCK)信号の第0番めに定期的に発生する。
CQ1,CQ2,CQ3,…,CQ9,CQ10はDF11〜DF20より成るカウン
タ回路の出力信号でそれぞれWSK(RCK)信号の2倍,4
倍,8倍〜512倍,1024倍の周期で信号を出力し、前述した
ようにライト(リード)アドレスポインタの列アドレス
信号として使われる。C909信号は、CQ1〜CQ10の各信号
の組合せにより、WCK(RCK)の909番めにハイレベルと
なる信号である。FPS信号は第1のパルス信号であり、C
909信号をWCK(RCK)信号により同期化し、WCK(RCK)
の第0番めでハイレベルとなる。この信号は、チップ内
部で発生するライト(リード)アドレスポインタのアド
レス信号CQ1〜CQ10に基づて発生するため、このアドレ
ス信号にずれを生じると、FRSの発生装置もずれを生じ
る。FPS信号は、第2のリセット信号発生回路に入力
し、第1のリセット信号FRSと比較され後述する第2の
リセット信号SPSを発生させる。RS信号はDFF4のリセッ
ト信号であり、第1のリセット信号FRSと第1のパルス
信号FPSの論理積により発生する。SPS信号は第2のリセ
ット信号として働くが、第3図のタイミングチャートと
第2図の回路例を参照にして説明する。第3図は回路が
正常に動作しており、特にライト(リード)アドレスポ
インタへの列アドレスを供給するカウンタ回路がアドレ
スずれを起していない場合を示している。まず第1のリ
セット信号FRS信号に注目すると、この信号は水平同期
信号HDとクロックWCK(RCK)信号の外部入力信号に同期
しており、1水平走査期間内のWCK(RCK)の第0番めに
必ずハイレベルを出力する。第1のパルス信号FPSは、
カウンタ回路の出力CQ1〜CQ10の信号に基づいて発生す
るため、第3図に示すように、カウンタ回路がアドレス
ずれを起していない場合には、WCK(RCK)の第909番め
に発生するC909信号を入力するDFF3を通して、第0番め
に必ずハイレベルを出力する。従ってFRS信号とFPS信号
を入力する第2リセット信号発生回路において、カウン
タ回路がアドレスずれを起していない場合には、両信号
は必ずWCK(RCK)の第0番めにハイレベルとなるため、
論理積を取ったRS信号も第0番めでハイレベルとなる。
従ってRS信号がリセット端子に入力するDFF4はリセット
され、第2のリセット信号SPS信号はロウレベルを出力
し続ける。第2のリセット信号SPSは後述するが、ハイ
レベル信号により、負荷の大きなアドレスポインタを直
接1水平走査期間の間にリセットし続けるので、この場
合のようにロウレベルの間は、アドレスポインタをリセ
ットせず、通常の動作を保証している。次に第4図によ
り、ライト(リード)アドレスポインタへアドレス信号
を供給するカウンタ回路2が、デバイス内部に加わるノ
イズ等によってアドレスがずれた場合を説明する。第4
図のAは、水平同期信号の最後のパルスC909がプラス方
向に1つだけアドレスがずれた場合を示し、第4図のB
はマイナス方向に少なくとも1つ以上アドレスがずれた
場合を示す。ライト(リード)クロックWCK(RCK)と水
平同期信号HDは連続して外部より入力し、その結果第1
のリセット信号FRSは、定期的にWCK(RCK)の第0番目
で発生する。第4図のAに示すように、カウンタ回路出
力がプラス方向に1つだけずれた場合にC909信号は、WC
K(RCK)の第908番目で発生し、FPS信号は第909番目で
発生する。この結果FRSとFPSの論理積信号RSは発生せ
ず、第2のリセット信号SPSは、FRSの立上りエッジでハ
イレベルとなり、RS信号が発生するまでハイレベルを保
ち続ける。また第4図のBに示すように、カウンタ回路
出力が一方向に少なくとも1つ以上ずれた場合、C909信
号は、WCK(RCK)の第909番目になってもハイレベル信
号を発生せず、この結果FPS信号は、次の第0番目でも
ハイレベルを発生しないことになる。この結果FRSとFPS
の論理的信号は発生せず、第2のリセット信号SPSは、F
RSの立上りエッジでハイレベルとなり、RS信号が発生す
るまでハイレベルを保ち続ける。このように構成したリ
セット回路を前述のように行列2次元方向にメモリセル
を有するテレビジョン信号の画像データのリセットに適
用することにより、ライトアドレスポインタ内のアドレ
スがずれた場合、少くとも次の行の書込みが制限される
が、その後の行においては、アドレスがずれない限り、
着実に正しい番地にデータを書込むことが可能である。
また、第1図において、第2図のリセット信号SPSBは、
リードアドレスポインタ内のアドレスがずれた場合に発
生し、リードアドレスポインタを直接リセットし、イニ
シャライズすると共に、コントローラ及びタイミングジ
ェネレータに作用し、メモリセルから、リードデータレ
ジスタ351,352へのデータ転送を行わせる。この第2の
リセット信号SPSBは、1水平走査期間中に出つづけるの
で、負荷容量の大きなリードアドレスポインタを確実に
イニシャライズすることができる。第2図に示す実施例
の場合、定期的に発生する第1のリセット信号FRSによ
り、各水平走査ごとにカウンタ回路はリセットされるた
め、リードカラムアドレスは、スタートアドレスにイニ
シャライズされる。その後PCK信号により、カウンタ回
路2はインクリメントをはじめるが、第2のリセット信
号SPSBが出つづけるので、アドレスポインタはイシシャ
ライズされ続け、次の水平走査期間においては、確実に
最初のアドレスから正しいデータを読み出すことが可能
になる。またこの場合第2のリセット信号SPSBが出てい
る間に着実に次の行の読出しデータをリードデータレジ
スタへ、前もって転送しておくことが充分可能である。
このように第1の実施例によれば、ライト/リードアド
レスポインタ内のアドレスがずれた場合、確実にそのず
れを検出でき、ライト/リードデータレジスタを経て、
メモリセル内のデータをアクセスルするような、比較的
転送期間が長く必要な回路形式であっても、充分長くリ
セット期間が取れるため、次のラインにおいて、正しい
アドレス位置によるライト/リードが可能な半導体メモ
リを提供することができる。
Next, the circuit configuration and operation of the write reset circuit 4 and the read reset circuit 5 will be described with reference to the circuit diagram of FIG. In FIG. 2, DFF1 to DFF4 and DFF11 to DFF20 denote D-type flip-flops, and AND1 to AND3 denote AND gates. DFF
1 · DFF2 · AND1 is the first signal that generates the first reset signal FRS
Reset generation circuit 1 of DFF11 to DFF20, AND2, DF
F3 is a counter circuit 2 that generates a first pulse signal FPS. AND3 · DFF4 is a second reset generation circuit 3 that compares the first reset signal FRS and the first pulse signal FPS to generate a second reset signal SPS. Next, the operation of the embodiment circuit shown in FIG. 2 and the role of each signal will be described with reference to the timing chart shown in FIG. In FIG. 3, WCK (RCK) is a write (read) clock signal that oscillates 910 times within one horizontal scanning period. HD is 1 from outside
This is a horizontal synchronizing signal that is periodically input once in the horizontal scanning period, and has a length (high-level period) for several clocks in general. HD1 and HD2 are signals obtained by synchronizing the horizontal synchronizing signal HD with the clock WCK (RCK).
Delayed by about 1WCK (RCK) in phase opposite to D. FRS is a first reset signal, which is generated by a logical product of signals HD1, HD2 and WCK (RCK). The FRS signal is used as a comparison signal for resetting a counter circuit for generating a column address of an address pointer and for generating a second reset signal SPS. This signal is periodically generated at the 0th position of the WCK (RCK) signal in each horizontal scanning period.
CQ1, CQ2, CQ3,..., CQ9, CQ10 are output signals of the counter circuit composed of DF11 to DF20, which are twice the WSK (RCK) signal, respectively.
The signal is output at the cycle of 8 times, 8 times to 512 times, and 1024 times, and is used as the column address signal of the write (read) address pointer as described above. The C909 signal is the 909th highest level of WCK (RCK) by a combination of the signals CQ1 to CQ10. The FPS signal is the first pulse signal and C
909 signal is synchronized by WCK (RCK) signal, and WCK (RCK)
Becomes the high level at the 0th time. Since this signal is generated based on the address signals CQ1 to CQ10 of the write (read) address pointer generated inside the chip, if a shift occurs in the address signal, the FRS generator also shifts. The FPS signal is input to a second reset signal generation circuit, and is compared with the first reset signal FRS to generate a second reset signal SPS described later. The RS signal is a reset signal of DFF4, and is generated by a logical product of the first reset signal FRS and the first pulse signal FPS. The SPS signal functions as a second reset signal, which will be described with reference to the timing chart of FIG. 3 and a circuit example of FIG. FIG. 3 shows a case where the circuit is operating normally, and in particular, a case where a counter circuit for supplying a column address to a write (read) address pointer has no address shift. First, paying attention to the first reset signal FRS signal, this signal is synchronized with the horizontal synchronization signal HD and the external input signal of the clock WCK (RCK) signal, and is the 0th of WCK (RCK) within one horizontal scanning period. Always output a high level. The first pulse signal FPS is
Since it is generated based on the signals of the outputs CQ1 to CQ10 of the counter circuit, as shown in FIG. 3, when the counter circuit does not cause an address shift, it occurs at the 909th position of WCK (RCK). Through DFF3 to which the C909 signal is input, the 0th level is always output at the high level. Therefore, in the second reset signal generating circuit for inputting the FRS signal and the FPS signal, when the counter circuit does not cause an address shift, both signals always go to the 0th high level of WCK (RCK). ,
The logical product of the RS signal is also at the 0th high level.
Accordingly, the DFF4 input to the reset terminal by the RS signal is reset, and the second reset signal SPS signal continues to output a low level. Although the second reset signal SPS will be described later, since the high-level signal directly resets the heavily loaded address pointer during one horizontal scanning period, the address pointer is reset during the low level as in this case. And normal operation is guaranteed. Next, referring to FIG. 4, a case where the address of the counter circuit 2 for supplying the address signal to the write (read) address pointer is shifted due to noise or the like applied inside the device will be described. 4th
FIG. 4A shows the case where the last pulse C909 of the horizontal synchronization signal is shifted by one address in the plus direction, and FIG.
Indicates that at least one address is shifted in the minus direction. The write (read) clock WCK (RCK) and the horizontal synchronization signal HD are continuously input from the outside, and as a result, the first
Is periodically generated at the 0th WCK (RCK). As shown in FIG. 4A, when the output of the counter circuit is shifted by one in the positive direction, the C909 signal becomes WC.
It occurs at the 908th K (RCK), and the FPS signal occurs at the 909th. As a result, the logical product signal RS of FRS and FPS is not generated, and the second reset signal SPS becomes high level at the rising edge of FRS and keeps high level until the RS signal is generated. Also, as shown in FIG. 4B, when the counter circuit output is shifted by at least one in one direction, the C909 signal does not generate a high-level signal even when it becomes the 909th WCK (RCK), As a result, the FPS signal does not generate a high level even at the next 0th time. This results in FRS and FPS
Does not occur, and the second reset signal SPS is F
It goes high at the rising edge of RS and keeps it high until the RS signal is generated. By applying the reset circuit thus configured to reset image data of a television signal having memory cells in a two-dimensional matrix as described above, at least when the address in the write address pointer is shifted, the following is performed. Line writing is restricted, but in subsequent lines, unless the address is shifted,
It is possible to write data at the correct address steadily.
In FIG. 1, the reset signal SPSB in FIG.
Occurs when the address in the read address pointer is shifted, directly resets and initializes the read address pointer, and acts on the controller and the timing generator to transfer data from the memory cells to the read data registers 351 and 352. Since the second reset signal SPSB continues to be output during one horizontal scanning period, the read address pointer having a large load capacity can be reliably initialized. In the case of the embodiment shown in FIG. 2, the counter circuit is reset every horizontal scanning by the first reset signal FRS which is periodically generated, so that the read column address is initialized to the start address. Then, the PCK signal causes the counter circuit 2 to start incrementing, but the second reset signal SPSB continues to be output, so that the address pointer continues to be initialized, and in the next horizontal scanning period, correct data is reliably read from the first address. It becomes possible. In this case, it is sufficiently possible to steadily transfer the read data of the next row to the read data register in advance while the second reset signal SPSB is output.
As described above, according to the first embodiment, when the address in the write / read address pointer is shifted, the shift can be reliably detected, and the address is shifted via the write / read data register.
Even in a circuit type that requires a relatively long transfer period, such as accessing data in a memory cell, a sufficiently long reset period can be taken, so that the next line can be written / read at a correct address position. A semiconductor memory can be provided.

次に本発明の第2の実施例を第5図の回路図により説
明する。第2の実施例は第2図の第1の実施例とほぼ同
じであるが、第2リセット信号発生回路部をより単純化
している。RSFF1はRS−フリップフロップであり、S端
子とR端子に同時刻にパルス信号が入力した場合にはR
端子の方の信号が優先される。第3図,第4図により説
明したように、FRS信号はWCK(RCK)の0番目でハイレ
ベルとなりS端子に入力し、SPS信号をハイレベルに立
上げようとする。しかし、カウンタ回路が正常に動作し
ていて、アドレスがずれていない場合には、FPS信号が
同時にハイレベルとなるため、RS信号がハイレベルとな
りR端子に入力し、結果的にSPS信号のハイレベルの立
上げを阻止する。アドレスがずれた場合には、RS信号は
ハイレベルとならないためにSPS信号は立上り、第4図
に示すような動作が行われる。
Next, a second embodiment of the present invention will be described with reference to the circuit diagram of FIG. The second embodiment is almost the same as the first embodiment shown in FIG. 2, except that the second reset signal generation circuit is more simplified. RSFF1 is an RS flip-flop. When a pulse signal is input to the S terminal and the R terminal at the same time, RFF
The signal at the terminal has priority. As described with reference to FIGS. 3 and 4, the FRS signal goes high at the 0th WCK (RCK) and is input to the S terminal to try to raise the SPS signal to the high level. However, if the counter circuit is operating normally and the address is not shifted, the FPS signal goes high at the same time, so the RS signal goes high and is input to the R terminal, and as a result, the SPS signal goes high. Prevent the level from rising. If the address shifts, the SPS signal rises because the RS signal does not go high, and the operation shown in FIG. 4 is performed.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、ライト用およびリード
用リセット回路を設けることにより、ライト/リードア
ドレスポインタ内のアドレスがずれた場合に確実にその
ずれを検出でき、ライト/リードデータレジスタを経
て、メモリセル内のデータをアクセスするような比較的
転送期間が長く必要な回路形式であっても、充分長くリ
セット期間が取れるために次のラインにおいて、正しい
アドレス位置によるライト/リードが可能な半導体メモ
リを提供できる効果がある。
As described above, according to the present invention, by providing the write and read reset circuits, when the address in the write / read address pointer is shifted, the shift can be reliably detected, and via the write / read data register, Even if the circuit type requires a relatively long transfer period, such as accessing data in a memory cell, a sufficiently long reset period can be taken, so that a semiconductor memory capable of writing / reading at the correct address position in the next line There is an effect that can be provided.

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

第1図は本発明の第1の実施例のブロック図、第2図は
第1図の実施例の要部の回路図、第3図および第4図は
第1の実施例の動作を示すタイミングチャート、第5図
は本発明の第2の実施例の要部の回路図、第6図は従来
の半導体メモリのブロック図である。 1……第1のリセット発生回路、2……カウンタ回路、
3……第2のリセット発生回路、4……ライト用リセッ
ト回路、5……リード用リセット回路、310……メモリ
セルアレイ、321,322……ライトデータレジスタ、331,3
32……ライトアドレスポインタ、341,342……データ入
力バッファ、351,352……リードデータレジスタ、361A,
362A……リードアドレスポインタ、381……ライトアド
レスカウンタ、382……リードアドレスカウンタ、383…
…リフレッシュアドレスカウンタ、391A……コントロー
ラタイミングジェネレータ、392……リフレッシュタイ
マ、DFF1,DFF2,DFF3,DFF4,DFF11,DFF12,DFF13,DFF19,DF
F20……D型フリップフロップ、AND1,AND2,AND3……AND
ゲート、WCK……ライトクロック、RCK……リードクロッ
ク、HD……水平同期信号、HD1,HD2……水平同期信号内
部信号、FRS……第1のリセット信号、C909……カウン
タ回路の発生信号、FPS……パルス信号、RS……リセッ
ト信号、SPS……第2のリセット信号。
FIG. 1 is a block diagram of a first embodiment of the present invention, FIG. 2 is a circuit diagram of a main part of the embodiment of FIG. 1, and FIGS. 3 and 4 show operations of the first embodiment. FIG. 5 is a circuit diagram of a main part of a second embodiment of the present invention, and FIG. 6 is a block diagram of a conventional semiconductor memory. 1... A first reset generation circuit, 2... A counter circuit,
3 ... second reset generation circuit, 4 ... write reset circuit, 5 ... read reset circuit, 310 ... memory cell array, 321,322 ... write data register, 331,3
32: Write address pointer, 341, 342: Data input buffer, 351, 352: Read data register, 361A,
362A: Read address pointer, 381: Write address counter, 382: Read address counter, 383
... Refresh address counter, 391A ... Controller timing generator, 392 ... Refresh timer, DFF1, DFF2, DFF3, DFF4, DFF11, DFF12, DFF13, DFF19, DF
F20: D-type flip-flop, AND1, AND2, AND3 ... AND
Gate, WCK: Write clock, RCK: Read clock, HD: Horizontal synchronization signal, HD1, HD2: Internal signal of horizontal synchronization signal, FRS: First reset signal, C909: Signal generated by counter circuit, FPS pulse signal, RS reset signal, SPS second reset signal.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】テレビジョン信号を記憶する半導体メモリ
のリセット回路であって、外部から入力する水平同期信
号にもとづいて、書き込み又は読み出しクロックの0サ
イクル目に第1のリセット信号を出力する第1のリセッ
ト回路と、前記第1のリセット信号で前記クロックの計
数を開始し、クロック信号が規定回数に達するとパルス
信号を出力するカウンタ回路と、前記第1のリセット信
号と前記パルス信号との時間的位置を比較し、不一致の
場合にこのずれが回復するまで少なくとも一水平走査期
間中に第2のリセット信号を発生する第2のリセット回
路とを有することを特徴とする半導体メモリのリセット
回路。
1. A reset circuit for a semiconductor memory for storing a television signal, the first circuit outputting a first reset signal in the 0th cycle of a write or read clock based on an externally input horizontal synchronizing signal. A reset circuit, a counter circuit that starts counting the clock with the first reset signal, and outputs a pulse signal when the clock signal reaches a specified number, and a time period between the first reset signal and the pulse signal. A reset circuit that compares target positions and generates a second reset signal during at least one horizontal scanning period until the deviation is recovered in the case of a mismatch.
【請求項2】前記第1および第2のリセット回路がテレ
ビジョン信号の水平走査期間の画像データを1/l(lは
整数)単位で配列されたメモリアレイへ書き込み読み出
しの初期化を行うためのリセット信号を発生することを
特徴とする請求項1記載の半導体メモリのリセット回
路。
2. The method according to claim 1, wherein the first and second reset circuits initialize and initialize the writing and reading of image data during a horizontal scanning period of a television signal to a memory array arranged in units of 1 / l (l is an integer). 2. The reset circuit of a semiconductor memory according to claim 1, wherein said reset signal is generated.
JP2276087A 1990-10-15 1990-10-15 Reset circuit for semiconductor memory Expired - Lifetime JP2591312B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2276087A JP2591312B2 (en) 1990-10-15 1990-10-15 Reset circuit for semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2276087A JP2591312B2 (en) 1990-10-15 1990-10-15 Reset circuit for semiconductor memory

Publications (2)

Publication Number Publication Date
JPH04153982A JPH04153982A (en) 1992-05-27
JP2591312B2 true JP2591312B2 (en) 1997-03-19

Family

ID=17564620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2276087A Expired - Lifetime JP2591312B2 (en) 1990-10-15 1990-10-15 Reset circuit for semiconductor memory

Country Status (1)

Country Link
JP (1) JP2591312B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5289856B2 (en) * 2008-08-08 2013-09-11 京セラ株式会社 Equipment with camera function

Also Published As

Publication number Publication date
JPH04153982A (en) 1992-05-27

Similar Documents

Publication Publication Date Title
EP0398511B1 (en) Video random access memory
KR960004325B1 (en) Digital data memory system
US5610622A (en) Display control device
US4956708A (en) Frame memory control system
JPH0620292B2 (en) Video signal circuit with time base correction function
US4961114A (en) Digital memory delay line for a video border generator
US4797743A (en) Video memory control device
JP2591312B2 (en) Reset circuit for semiconductor memory
US4918518A (en) Method and apparatus for the recording and replay of interlaced signals
JP4088855B2 (en) Timing pulse generator
US4992982A (en) SPS type charge coupled device memory suitable for processing video information with increased speed
JP3559299B2 (en) Buffer memory device
JP2507319B2 (en) Video memory
KR950007034B1 (en) Picture-recovering circuit for camera
CA1321017C (en) Method and apparatus for the recording and replay of interlaced signals
JP2615004B2 (en) Integrated sequential access memory circuit
CN115567786A (en) Synchronous time sequence signal generating device and method
JPS6285582A (en) Video memory
JPH06326921A (en) Picture memory device
JPH0510873B2 (en)
JP3702469B2 (en) Signal processing apparatus and color television camera
JPH02255988A (en) Picture memory
JPH04352194A (en) Image data processor
JPH01166269A (en) Image memory
JPH08317419A (en) Image signal processor