JP2003177959A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JP2003177959A
JP2003177959A JP2001378048A JP2001378048A JP2003177959A JP 2003177959 A JP2003177959 A JP 2003177959A JP 2001378048 A JP2001378048 A JP 2001378048A JP 2001378048 A JP2001378048 A JP 2001378048A JP 2003177959 A JP2003177959 A JP 2003177959A
Authority
JP
Japan
Prior art keywords
timing
control circuit
value
memory control
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001378048A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kii
寛之 記伊
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001378048A priority Critical patent/JP2003177959A/en
Publication of JP2003177959A publication Critical patent/JP2003177959A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory control circuit which enables stable memory access by an automatic timing control circuit even in variation in temperature, a process, or source voltage. <P>SOLUTION: A plurality of clocks 35 to 38 are generated which are out of timing with a system clock 34, an enable signal 15 is latched with the clocks 35 to 38, and a comparator 30 compares a previously set AC timing value of a register 32 with a value obtained by latching the enable signal 15; and a counter capable of varying a buffer capacity when they do not match each other to vary the delay quantity of the enable signal 15 is incorporated in a timing adjustment circuit 31, which automatically adjusts the timing until the AC timing value is satisfied. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、半導体装置に内蔵
されるメモリ制御回路に関するものであり、より詳しく
はデバイスの温度、電源電圧変動によりACタイミング保
証が厳しくなった場合でも、自動タイミング調整回路に
より最適なメモリアクセスを実現する、メモリアクセス
制御タイミング自動調整機能を有するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control circuit incorporated in a semiconductor device, and more particularly, an automatic timing adjustment circuit even when the AC timing guarantee becomes strict due to variations in device temperature and power supply voltage. The memory access control timing automatic adjustment function that realizes the optimum memory access is provided.

【0002】[0002]

【従来の技術】図5は従来のメモリ制御回路のブロック
図を示す。同図において、CPU回路部11と、バスコン
トローラ(BUSC)12と、IO端子13はアドレスバス1
4により接続され、バスコントローラ(BUSC)12からI
O端子13へメモリリード信号(リードイネーブル信
号)NREEX15が、CPU回路部11からIO端子13へシス
テムクロック信号SYSCLKEX16がそれぞれ出力されてい
る。
2. Description of the Related Art FIG. 5 shows a block diagram of a conventional memory control circuit. In the figure, the CPU circuit unit 11, the bus controller (BUSC) 12, and the IO terminal 13 are the address bus 1
4 and connected from the bus controller (BUSC) 12 to I
A memory read signal (read enable signal) NREEX15 is output to the O terminal 13, and a system clock signal SYSCLKEX16 is output from the CPU circuit unit 11 to the IO terminal 13.

【0003】IO端子13のA(23:0)端子17からアドレ
スA(23:0)信号が、メモリリード(リードイネーブル)N
RE 端子18からメモリリード信号が、システムクロッ
クSYSCLK端子19からシステムクロック信号が出力され
る。
An address A (23: 0) signal from the A (23: 0) terminal 17 of the IO terminal 13 is a memory read (read enable) N.
A memory read signal is output from the RE terminal 18, and a system clock signal is output from the system clock SYSCLK terminal 19.

【0004】以上の構成を持つ従来のメモリ制御回路を
説明する。BUSC12は外部メモリの空間にアクセスし、RE
AD時にはメモリリード信号NREEX15を発行する。IO部1
3はメモリリード信号NREEX15をバッファで駆動後、メ
モリリードNRE 端子18よりメモリリード信号を出力す
る。システムクロック信号SYSCLKEX16はIO端子13のバ
ッファで駆動後、システムクロックSYSCLK端子19よりシ
ステムクロック信号が出力される。
A conventional memory control circuit having the above configuration will be described. BUSC12 accesses the external memory space and
A memory read signal NREEX15 is issued during AD. IO section 1
3 outputs the memory read signal from the memory read NRE terminal 18 after driving the memory read signal NREEX15 by the buffer. The system clock signal SYSCLKEX16 is driven by the buffer of the IO terminal 13, and then the system clock signal is output from the system clock SYSCLK terminal 19.

【0005】図6はLSIで規定される温度、電源電圧範
囲でのACタイミングチャートである。システムクロック
SYSCLKの立ちあがりからアドレス信号遅延20、リードイ
ネーブル信号遅延21が規定されている。
FIG. 6 is an AC timing chart in the temperature and power supply voltage range specified by the LSI. System clock
Address signal delay 20 and read enable signal delay 21 are specified from the rise of SYSCLK.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では、メモリ制御信号は、システムクロック基
準もしくは、相対的にACスペックを規定しているが温度
条件、電源電圧、プロセス変動によりLSIの動作マージ
ンは異なり、安定したメモリアクセスが出来なくなる。
However, in the above conventional configuration, the memory control signal defines the system clock reference or the AC specification relatively, but the operation of the LSI depends on the temperature condition, the power supply voltage, and the process variation. The margins are different and stable memory access cannot be performed.

【0007】上記課題を解決するために、本発明のメモ
リ制御回路は、温度、プロセス、電源電圧変動があった
としても、自動タイミング制御回路により安定したメモ
リアクセスを提供することを目的とする。
In order to solve the above-mentioned problems, it is an object of the memory control circuit of the present invention to provide stable memory access by an automatic timing control circuit even if there are temperature, process and power supply voltage fluctuations.

【0008】[0008]

【課題を解決するための手段】請求項1記載のメモリ制
御回路は、システムクロックよりタイミングを変化させ
た複数のクロックを生成する手段と、メモリ制御信号を
前記複数のクロックでサンプリングする手段と、あらか
じめ設定したACタイミング値を格納したレジスタと、前
記メモリ制御信号をサンプリングした値を前記ACタイミ
ング値と比較する比較器と、前記メモリ制御信号の遅延
量を変化させるためにバッファ能力を変更可能なカウン
タを内蔵し前記サンプリングした値が前記ACタイミング
値を満たさない場合は前記ACタイミング値を満たすまで
自動でタイミング調整をするタイミング調整回路とを備
えたものである。
According to a first aspect of the present invention, there is provided a memory control circuit, wherein the memory control circuit generates a plurality of clocks whose timing is changed from a system clock, and a means for sampling a memory control signal at the plurality of clocks. A register that stores a preset AC timing value, a comparator that compares the sampled value of the memory control signal with the AC timing value, and a buffer capacity that can be changed to change the delay amount of the memory control signal And a timing adjustment circuit that incorporates a counter and automatically adjusts the timing until the sampled value does not satisfy the AC timing value until the AC timing value is satisfied.

【0009】請求項1記載のメモリ制御回路によれば、
温度、プロセス、電源電圧変動があったとしても自動タ
イミング制御回路により安定したメモリアクセスを提供
することができる。
According to the memory control circuit of the first aspect,
A stable memory access can be provided by the automatic timing control circuit even if there is a change in temperature, process, or power supply voltage.

【0010】請求項2記載のメモリ制御回路は、請求項
1において、CPUよりROMのファーストアクセス前にダミ
ーパルスを発生し、その時点よりタイミング調整期間
に、タイミング調整回路によりタイミング調整を実施す
る手段を有するものである。
According to a second aspect of the present invention, in the memory control circuit according to the first aspect, the dummy pulse is generated before the first access of the ROM by the CPU, and the timing adjustment circuit performs the timing adjustment during the timing adjustment period from that point. Is to have.

【0011】請求項2記載のメモリ制御回路によれば、
請求項1と同様な効果がある。
According to another aspect of the memory control circuit of the present invention,
It has the same effect as the first aspect.

【0012】[0012]

【発明の実施の形態】以下、本発明の一実施形態につい
て、図3から図4を用いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to FIGS.

【0013】図1は本発明の一実施形態についてのブロ
ック図である。CPU回路部11、バスコントローラ(BUS
C)12、IO端子13はアドレスバスが接続され、バスコ
ントローラ(BUSC)12からリードイネーブル信号NREEX
15が出力され、CPU回路部11からIO端子13にはシ
ステムクロックSYSCLKEX信号34が出力されている。IO端
子13からA(23:0)端子17よりアドレス信号が、NRE
端子18よりリードイネーブル信号15が、SYSCLK端子
19よりシステムクロック信号34が出力される。
FIG. 1 is a block diagram of an embodiment of the present invention. CPU circuit section 11, bus controller (BUS
An address bus is connected to C) 12 and IO terminal 13, and a read enable signal NREEX is sent from the bus controller (BUSC) 12.
15 is output, and the system clock SYSCLKEX signal 34 is output from the CPU circuit unit 11 to the IO terminal 13. Address signal from IO terminal 13 to A (23: 0) terminal 17 is NRE
The read enable signal 15 is output from the terminal 18, and the system clock signal 34 is output from the SYSCLK terminal 19.

【0014】さらに、システムクロックSYSCLKEX信号34
を、複数縦続したバッファ39に供給し、複数個遅延さ
せたSYSYCLKEX1 35、SYSYCLKEX2 36、SYSYCLKEX3 37、S
YSYCLKEX4 38をつくり、これらの信号で複数のラッチ回
路33によりバスコントローラ12のリードイネーブル
NREEX信号15をラッチしてサンプリングする。
Further, the system clock SYSCLKEX signal 34
Are supplied to a plurality of cascaded buffers 39 and are delayed by a plurality of SYSYCLKEX1 35, SYSYCLKEX2 36, SYSYCLKEX3 37, S
YSYCLKEX4 38 is made, and read enable of the bus controller 12 is made by a plurality of latch circuits 33 by these signals.
The NREEX signal 15 is latched and sampled.

【0015】ACタイミング格納レジスタ32はLSIの仕
様で決定されるACスペックをあらかじめ設定する。比較
器30はラッチした値とACタイミング格納レジスタ32
に設定された値を比較する。
The AC timing storage register 32 presets the AC specifications determined by the specifications of the LSI. The comparator 30 latches the latched value and the AC timing storage register 32.
Compare the values set in.

【0016】図2は図1のラッチ回路33のタイミング
チャートである。外部発振クロック41を2分周したシ
ステムクロック34を遅延させたサンプリングクロック
SYSCLKEX 1〜4(35−38)の立ち上がりでNREEX信号
15をラッチし、ラッチしたサンプリング値48は0111
となる。ACタイミング格納レジスタ32の設定値が0011
の場合、ラッチした値 0111はACタイミング格納レジス
タ32の値0011より大きいのでACスペックは保証されて
いない。ACスペックを満たさない場合はタイミング調整
を実施する。すなわち、比較器30の出力がタイミング
調整回路31に与えられる。
FIG. 2 is a timing chart of the latch circuit 33 shown in FIG. A sampling clock obtained by delaying the system clock 34 obtained by dividing the external oscillation clock 41 by two.
NREEX signal 15 is latched at the rising edge of SYSCLKEX 1 to 4 (35-38), and the latched sampling value 48 is 0111.
Becomes The setting value of the AC timing storage register 32 is 0011.
In this case, the latched value 0111 is larger than the value 0011 of the AC timing storage register 32, and thus the AC spec is not guaranteed. If the AC specifications are not met, adjust the timing. That is, the output of the comparator 30 is given to the timing adjustment circuit 31.

【0017】タイミング調整回路31の内部回路を図3
に示す。51は、NREEX15の駆動能力を変更するため
のバッファ52を例えばDFFで構成したカウンタによ
り選択するためのクロック制御回路である。ラッチした
値がACタイミング格納レジスタ32よりも大きい時は、
NREEX15の駆動能力を変更可能なバッファ52をクロ
ック制御回路51により順次ONしていき、バッファ能力
を上げラッチした値がACタイミング格納レジスタ32よ
りも小さくなるまで繰り返す。小さくなった時点でクロ
ック制御回路51のクロックのイネーブル信号をディセ
ーブルしてバッファの能力を確定する。
The internal circuit of the timing adjusting circuit 31 is shown in FIG.
Shown in. Reference numeral 51 is a clock control circuit for selecting the buffer 52 for changing the driving capability of the NREEX 15 by a counter composed of, for example, a DFF. When the latched value is larger than the AC timing storage register 32,
The buffer 52 capable of changing the drive capacity of the NREEX 15 is sequentially turned on by the clock control circuit 51, and the buffer capacity is increased to repeat until the latched value becomes smaller than the AC timing storage register 32. When it becomes smaller, the clock enable signal of the clock control circuit 51 is disabled to determine the buffer capability.

【0018】ラッチした値がACタイミング格納レジスタ
32の値より小さい場合ACスペックは保証されているの
でタイミング調整を実施しない。
If the latched value is smaller than the value of the AC timing storage register 32, the AC specifications are guaranteed, and the timing adjustment is not performed.

【0019】図4は自動タイミング調整期間のタイミン
グチャートである。
FIG. 4 is a timing chart of the automatic timing adjustment period.

【0020】通常時は、外部リセットNTGTRST61の解
除後、発振安定待ち後、マイコン内部リセットNRST63
が解除され、アドレス64が80000番地にアクセスされ
る。その時にリードイネーブル信号68がアクチィブに
なる。自動タイミング調整時はNRST63より早い自動タ
イミング調整用リセットNRST TST62が解除されIO端
子出力前のNREEX65(15)にダミーパルス66を発
生し、上記で説明した自動タイミング調整用リセット6
2の解除後、所定の期間(任意に設定可)を経てダミー
パルス66の立ち下がりから自動タイミング調整期間6
7をへて、アドレス64が80000番地にアクセスを始め
る。すでにNREEX65はACスペックを満たす最適なバッ
ファが選択されているので安定したメモリアクセスが可
能である。
Normally, after releasing the external reset NTGTRST61, after waiting for oscillation stabilization, the microcomputer internal reset NRST63
Is released and the address 64 is accessed at the address 80,000. At that time, the read enable signal 68 becomes active. At the time of automatic timing adjustment, the automatic timing adjustment reset NRST TST62 earlier than NRST63 is released, a dummy pulse 66 is generated in NREEX65 (15) before the IO pin output, and the automatic timing adjustment reset 6 described above is generated.
After the release of 2, after a predetermined period (can be set arbitrarily), from the fall of the dummy pulse 66 to the automatic timing adjustment period 6
Going through 7, address 64 starts accessing address 80,000. Since NREEX65 has already selected the optimum buffer that meets the AC specifications, stable memory access is possible.

【0021】[0021]

【発明の効果】請求項1記載のメモリ制御回路によれ
ば、温度、プロセス、電源電圧変動があったとしても自
動タイミング制御回路により安定したメモリアクセスを
提供することができる。
According to the memory control circuit of the first aspect of the present invention, stable memory access can be provided by the automatic timing control circuit even if there are temperature, process, and power supply voltage fluctuations.

【0022】請求項2記載のメモリ制御回路によれば、
請求項1と同様な効果がある。
According to another aspect of the memory control circuit of the present invention,
It has the same effect as the first aspect.

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

【図1】本発明の一実施の形態のメモリ制御回路のブロ
ック図である。
FIG. 1 is a block diagram of a memory control circuit according to an embodiment of the present invention.

【図2】図1のラッチ回路33のタイミングチャートで
ある。
FIG. 2 is a timing chart of a latch circuit 33 shown in FIG.

【図3】図1のタイミング調整回路図である。FIG. 3 is a timing adjustment circuit diagram of FIG.

【図4】自動タイミング調整期間のタイミングチャート
である。
FIG. 4 is a timing chart of an automatic timing adjustment period.

【図5】従来のメモリ制御回路のブロック図である。FIG. 5 is a block diagram of a conventional memory control circuit.

【図6】半導体で規定する ACタイミングチャートであ
る。
FIG. 6 is an AC timing chart specified by a semiconductor.

【符号の説明】[Explanation of symbols]

11 CPU回路 12 バスコントローラ回路 13 IO端子 14 アドレスバス 15 リードイネーブル信号 16 システムクロック信号 17 アドレス端子 18 リードイネーブル端子 19 システムクロック端子 20 システムクロックの立ち上がりからのアドレス信
号遅延 21 システムクロックの立ち上がりからのリードイネ
ーブル信号遅延 30 比較器 31 タイミング調整回路 32 ACタイミング格納レジスタ 33 ラッチ回路 34 システムクロック信号 35 システムクロック遅延信号1 36 システムクロック遅延信号2 37 システムクロック遅延信号3 38 システムクロック遅延信号4 41 外部発振クロック 42 システムクロック(外部発振クロックの2分周) 48 サンプリング値 51 バッファ能力切り替えのためのクロック制御回路 52 リードイネーブル信号駆動能力変更のためのバッ
ファ 61 外部リセット 62 自動タイミング調整用リセット 63 マイコン内部リセット 64 アドレス信号 65 自動タイミング発生時のリードイネーブル信号 66 ダミーパルス 67 自動タイミング調整期間 68 外部出力するリードイネーブル端子
11 CPU circuit 12 Bus controller circuit 13 IO terminal 14 Address bus 15 Read enable signal 16 System clock signal 17 Address terminal 18 Read enable terminal 19 System clock terminal 20 Address signal delay from rising of system clock 21 Reading from rising of system clock Enable signal delay 30 Comparator 31 Timing adjustment circuit 32 AC timing storage register 33 Latch circuit 34 System clock signal 35 System clock delay signal 1 36 System clock delay signal 2 37 System clock delay signal 3 38 System clock delay signal 4 41 External oscillation clock 42 system clock (divided by 2 of external oscillation clock) 48 sampling value 51 clock control circuit 52 for switching buffer capacity Buffer enable signal for changing drive capability 61 External reset 62 Automatic timing adjustment reset 63 Microcomputer internal reset 64 Address signal 65 Read enable signal 66 when automatic timing is generated Dummy pulse 67 Automatic timing adjustment period 68 Read enable terminal for external output

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 システムクロックよりタイミングを変化
させた複数のクロックを生成する手段と、メモリ制御信
号を前記複数のクロックでサンプリングする手段と、あ
らかじめ設定したACタイミング値を格納したレジスタ
と、前記メモリ制御信号をサンプリングした値を前記AC
タイミング値と比較する比較器と、前記メモリ制御信号
の遅延量を変化させるためにバッファ能力を変更可能な
カウンタを内蔵し前記サンプリングした値が前記ACタイ
ミング値を満たさない場合は前記ACタイミング値を満た
すまで自動でタイミング調整をするタイミング調整回路
とを備えたメモリ制御回路。
1. A means for generating a plurality of clocks whose timings are changed from a system clock, a means for sampling a memory control signal with the plurality of clocks, a register storing a preset AC timing value, and the memory. The value obtained by sampling the control signal is the AC
If the sampled value does not satisfy the AC timing value by incorporating a comparator for comparing with the timing value and a counter capable of changing the buffer capacity to change the delay amount of the memory control signal, the AC timing value is A memory control circuit having a timing adjustment circuit that automatically adjusts the timing until it is satisfied.
【請求項2】 CPUよりROMのファーストアクセス前にダ
ミーパルスを発生し、その時点よりタイミング調整期間
に、タイミング調整回路によりタイミング調整を実施す
る手段を有する請求項1記載のメモリ制御回路。
2. The memory control circuit according to claim 1, further comprising means for generating a dummy pulse before the first access of the ROM by the CPU, and performing timing adjustment by the timing adjustment circuit during the timing adjustment period from that point.
JP2001378048A 2001-12-12 2001-12-12 Memory control circuit Pending JP2003177959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001378048A JP2003177959A (en) 2001-12-12 2001-12-12 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001378048A JP2003177959A (en) 2001-12-12 2001-12-12 Memory control circuit

Publications (1)

Publication Number Publication Date
JP2003177959A true JP2003177959A (en) 2003-06-27

Family

ID=19185879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001378048A Pending JP2003177959A (en) 2001-12-12 2001-12-12 Memory control circuit

Country Status (1)

Country Link
JP (1) JP2003177959A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009070233A (en) * 2007-09-14 2009-04-02 Ricoh Co Ltd Storage medium controller and storage medium control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009070233A (en) * 2007-09-14 2009-04-02 Ricoh Co Ltd Storage medium controller and storage medium control method

Similar Documents

Publication Publication Date Title
US8081533B2 (en) Semiconductor memory device
US7639552B2 (en) Delay locked loop and semiconductor memory device with the same
US20040145423A1 (en) Synchronous mirror delay (SMD) circuit and method including a ring oscillator for timing coarse and fine delay intervals
KR100747714B1 (en) System and method of managing clock speed in an electronic device
KR100841817B1 (en) Clock circuit for semiconductor memories
JP2007520008A (en) Method and apparatus for overclocking in a digital processing system
US11004499B1 (en) Latency control circuit and method
US6961278B2 (en) Synchronous self refresh exit control method and circuit in semiconductor memory device
US6795363B2 (en) Refresh control method of semiconductor memory device and semiconductor memory device comprising the same control method
US11309898B2 (en) Semiconductor integrated circuit
US7405995B2 (en) Semiconductor storage device
WO2023121917A1 (en) Droop detection and control of digital frequency-locked loop
KR100896182B1 (en) Method and apparatus to control DLL power down
US9710169B2 (en) Managing wait states for memory access
US6968436B2 (en) Memory controller that controls supply timing of read data
US20150113236A1 (en) Memory controller
US7463547B2 (en) Micro computer and method of optimizing microcomputer
JP2003177959A (en) Memory control circuit
US7190627B2 (en) Semiconductor device
US20060002430A1 (en) Slave device
TWI613670B (en) Memory device having input circuit and operating method of same
JP2008152315A (en) Signal processing circuit
US20240106438A1 (en) Droop detection and control of digital frequency-locked loop
JP5072317B2 (en) Memory controller
KR101735082B1 (en) Circuit and method for delaying internal write signal of memory device