JPH11126480A - Semiconductor device - Google Patents

Semiconductor device

Info

Publication number
JPH11126480A
JPH11126480A JP9292155A JP29215597A JPH11126480A JP H11126480 A JPH11126480 A JP H11126480A JP 9292155 A JP9292155 A JP 9292155A JP 29215597 A JP29215597 A JP 29215597A JP H11126480 A JPH11126480 A JP H11126480A
Authority
JP
Japan
Prior art keywords
data
parameter
timing
external device
bus
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
JP9292155A
Other languages
Japanese (ja)
Inventor
Yoshinori Urano
美紀 浦野
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 JP9292155A priority Critical patent/JPH11126480A/en
Publication of JPH11126480A publication Critical patent/JPH11126480A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To allow a memory access optimized in access time to be performable without considering modes of a high-speed page mode and an EDO page mode by generating an access signal for accessing an external device and fetching data with the timing in accordance with the parameter designating the timing for fetching the data in clock unit. SOLUTION: A read/write request signal from a data processing means 1 controls a state machine 5 and operates a memory control circuit 4 in accordance with the parameter of a timing parameter register 3. And at the same time, it reads a DRAM 13 by operating the memory control circuit 4 in accordance with a read parameter register 2 and controlling the take-in timing of the read data. By this, just the change of the value of the read parameter register 2 enables the memory control corresponding to the high-speed page mode and the EDO page mode without considering the switching of the two modes.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、高速ページモード
あるいはEDO(Extended Data Out)モード(ハイパ
ー・ページモード)を有する半導体装置に関する。
The present invention relates to a semiconductor device having a high-speed page mode or an EDO (Extended Data Out) mode (hyper page mode).

【0002】[0002]

【従来の技術】 近年の電子技術の発展に
より、マイクロコンピュータやDRAMに代表されるメ
モリ等の半導体装置が普及し、あらゆる分野で用いられ
ている。
2. Description of the Related Art With the development of electronic technology in recent years, semiconductor devices such as microcomputers and memories represented by DRAMs have become widespread and used in all fields.

【0003】マイクロコンピュータとDRAM及び周辺
デバイスにより構成されるマイコンシステムは、あらゆ
る電子機器に搭載され幅広い応用分野を示しており、特
に携帯機器等の組み込み分野への応用は、低コスト、低
消費電力、高性能のマイコンシステムが要望されてい
る。
A microcomputer system including a microcomputer, a DRAM, and peripheral devices is mounted on all kinds of electronic devices and shows a wide range of application fields. In particular, applications to embedded fields such as portable devices are low cost and low power consumption. There is a demand for a high-performance microcomputer system.

【0004】マイクロコンピュータは動作周波数の向上
により高性能化を図ってきたが、マイクロコンピュータ
に接続する外部デバイスの動作速度がこれに追従する事
ができないために、マイコンシステムにおいてはマイク
ロコンピュータとDRAM間のデータ転送の効率化がシ
ステム高性能化の鍵となっている。
Although microcomputers have been improved in performance by increasing their operating frequency, the operating speed of an external device connected to the microcomputer cannot follow the performance of the microcomputer. The efficiency of data transfer is the key to improving system performance.

【0005】DRAMには高速アクセスのために、高速
ページモードあるいはEDOモード(ハイパー・ページ
モード)が備えられており、このモードを効率良く使用
すれば高速なデータ転送が可能になる。
A DRAM is provided with a high-speed page mode or an EDO mode (hyper page mode) for high-speed access. If this mode is used efficiently, high-speed data transfer becomes possible.

【0006】図7(a)、(b)にDRAMリードアク
セスの動作タイミング図を示す。図7(a)は同一タイ
ミングで変化するアドレス、RAS(Row Address Stro
be)信号、CAS(Column Address Strobe)信号、R
E(Read Enable)信号に対して、高速ページモードと
EDOモードにおけるリードデータ出力の違いを示した
図である。EDOモードでは、リードデータの出力が次
のCASサイクルまで保持できるようになり、高速ペー
ジモードよりもCASプリチャージ時間だけ出力が拡張
されている。
FIGS. 7A and 7B show operation timing charts of DRAM read access. FIG. 7A shows an address, RAS (Row Address Stro), changing at the same timing.
be) signal, CAS (Column Address Strobe) signal, R
FIG. 8 is a diagram illustrating a difference between read data output in a high-speed page mode and an EDO mode with respect to an E (Read Enable) signal. In the EDO mode, the output of the read data can be held until the next CAS cycle, and the output is extended by the CAS precharge time as compared with the high speed page mode.

【0007】マイコンシステムにおいてこのようなメモ
リを使用する場合、高速ページモードではCAS立上り
(図7(a)の矢印)でリードデータがマイコン内に取
り込まれる。
When such a memory is used in a microcomputer system, in the high-speed page mode, read data is taken into the microcomputer at the rising edge of the CAS (arrow in FIG. 7A).

【0008】一方、EDOモードではリードデータの出
力が拡張されているために、マイコンがCAS立上り以
降にリードデータを取り込むことが可能であれば、高速
ページモードと同じCASアクセス時間を保証し、かつ
CASサイクル時間を短縮することが可能となる。図7
(b)に示されるように、マイコンがCAS立上り以降
にリードデータを取り込んだ場合(図7(b)の矢
印)、CASアクセス時間≦CASパルス幅である必要
がないため、図7(a)と同じCASアクセス時間でも
CASサイクル時間を短縮できる。
On the other hand, since the output of the read data is extended in the EDO mode, if the microcomputer can capture the read data after the rise of the CAS, the same CAS access time as in the high-speed page mode is guaranteed, and The CAS cycle time can be reduced. FIG.
As shown in FIG. 7B, when the microcomputer takes in the read data after the rise of the CAS (arrow in FIG. 7B), it is not necessary to satisfy the CAS access time ≦ CAS pulse width. The CAS cycle time can be reduced even with the same CAS access time.

【0009】このようなメモリの特徴を生かすため、従
来の半導体装置として、例えばマイクロプロセッサ SH7
708に採られている方法がある。この方法では、制御レ
ジスタにEDOモード指定ビットを設けている。EDO
モード未設定時は高速ページモード対応のメモリ制御と
なり、CAS立上りでリードデータがマイコン内に取り
込まれる。一方、EDOモード設定時は高速ページモー
ドに比べ 1/2CLK だけ遅れてリードデータがマイコン内
に取り込まれるような制御が行われている。
In order to take advantage of such a memory feature, a conventional semiconductor device such as a microprocessor SH7
There is a method adopted in 708. In this method, an EDO mode designation bit is provided in the control register. EDO
When the mode is not set, the memory control corresponds to the high-speed page mode, and the read data is taken into the microcomputer at the rise of the CAS. On the other hand, when the EDO mode is set, control is performed such that read data is taken into the microcomputer with a delay of 1/2 CLK as compared with the high-speed page mode.

【0010】[0010]

【発明が解決しようとする課題】図7(a)、(b)の
ように、高速ページモードとEDOモードを比較した場
合、CAS立上りからリードデータを取り込む時点まで
の差が、CASサイクル時間の短縮化、すなわちリード
サイクルを高速化するポイントである。
As shown in FIGS. 7A and 7B, when comparing the high-speed page mode and the EDO mode, the difference between the rising edge of CAS and the point in time when the read data is fetched is the CAS cycle time. This is a point of shortening, that is, speeding up the read cycle.

【0011】しかしながら前述したような従来の半導体
装置では、高速ページモードとEDOモードにおけるリ
ードデータの取り込みタイミングの差が固定であるた
め、マイコンの動作周波数が高くなるとこの差が小さく
なり、大きなアクセスタイムを持つメモリを使用する場
合はEDOモードの利点が出にくいという問題点があっ
た。また、高速ページモードとEDOモードという動作
の異なる2つのモードが存在するため、動作検証の項目
が増加し、結果としてテスト時間が長くなるという問題
点があった。
However, in the conventional semiconductor device as described above, the difference between the read data fetch timings in the high-speed page mode and the EDO mode is fixed. Therefore, as the operating frequency of the microcomputer becomes higher, this difference becomes smaller and the access time becomes longer. However, there is a problem that the advantage of the EDO mode is hard to be obtained when a memory having the above is used. In addition, since there are two different modes of operation, a high-speed page mode and an EDO mode, there are problems in that the number of operation verification items increases, and as a result, the test time becomes longer.

【0012】本発明はかかる点に鑑み、高速ページモー
ドとEDOモードのモード切り替えを意識すること無
く、アクセスタイムを最適化し、EDOモードのメリッ
トを最大限に生かした半導体装置を提供することを目的
とする。
In view of the foregoing, it is an object of the present invention to provide a semiconductor device which optimizes an access time and takes full advantage of the EDO mode without being conscious of switching between the high-speed page mode and the EDO mode. And

【0013】[0013]

【課題を解決するための手段】上記課題を解決するため
に本発明の半導体装置は、クロックを受けて動作し、命
令に従ってデータを処理するデータ処理手段と、外部デ
バイスとの間でのアドレスおよびデータの転送路となる
バス手段と、前記バス手段上のデータを取り込むタイミ
ングを前記クロック単位に指定するパラメタを設定する
パラメタ設定手段と、前記データ処理手段から外部デバ
イスに対するリード要求を受けた時に、前記バス手段と
ともに前記外部デバイスに接続されるアクセス信号を生
成し、前記パラメタ設定手段に設定されたパラメタに従
ったタイミングで、前記バス手段からデータを取り込む
外部デバイス制御手段とを備えることを特徴とする。
SUMMARY OF THE INVENTION In order to solve the above problems, a semiconductor device according to the present invention operates in response to a clock and processes data in accordance with an instruction. A bus unit serving as a data transfer path, a parameter setting unit for setting a parameter for designating a timing of taking in data on the bus unit in units of the clock, and when a read request for an external device is received from the data processing unit, External device control means for generating an access signal connected to the external device together with the bus means, and taking in data from the bus means at a timing according to a parameter set in the parameter setting means. I do.

【0014】これにより、高速ページモードとEDOペ
ージモードのモードを意識すること無く、アクセスタイ
ムを最適化したメモリアクセスを行うことが可能にな
る。
This makes it possible to perform a memory access with an optimized access time without being aware of the high-speed page mode and the EDO page mode.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図1から図5を用いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS.

【0016】図1は本発明の実施の形態における半導体
装置の構成図である。図1において、12は本発明の実
施の形態における半導体装置、1はデータ処理手段、2
はリードデータの取り込みタイミングを指定するパラメ
タを記憶するリードパラメタレジスタ、3はリードパラ
メタ以外のアクセスタイミングパラメタを記憶するタイ
ミングパラメタレジスタ、4はメモリのリード/ライト
を制御するメモリ制御回路、5はメモリ制御回路4を制
御するステートマシン、6はメモリの出力するデータを
格納するデータ入力レジスタ、7はデータ処理手段1か
ら出力されたデータを格納するデータ出力レジスタ、8
はデータ処理手段1から出力されたアドレスを格納し、
必要に応じてアドレスをシフト出力するアドレス出力回
路であり、それぞれ入力されたクロック22に同期して
動作する。また9、10はデータの出力を制御するため
のトライステートバッファである。
FIG. 1 is a configuration diagram of a semiconductor device according to an embodiment of the present invention. In FIG. 1, reference numeral 12 denotes a semiconductor device according to the embodiment of the present invention, 1 denotes data processing means, 2
Is a read parameter register that stores a parameter that specifies the read data fetch timing, 3 is a timing parameter register that stores access timing parameters other than the read parameter, 4 is a memory control circuit that controls read / write of the memory, and 5 is a memory. A state machine for controlling the control circuit 4; a data input register 6 for storing data output from the memory; a data output register 7 for storing data output from the data processing means 1;
Stores the address output from the data processing means 1,
This is an address output circuit that shifts and outputs an address as needed, and operates in synchronization with the respective clocks 22 input. Reference numerals 9 and 10 denote tristate buffers for controlling data output.

【0017】リードパラメタレジスタ2とタイミングパ
ラメタレジスタ3とでパラメタ設定手段24が構成され
る。メモリ制御回路4、ステートマシン5、データ入力
レジスタ6、データ出力レジスタ7、トライステートバ
ッファ9、10とで外部デバイス制御手段11が構成さ
れる。13は半導体装置12に接続されてデータ処理手
段1がリード/ライトを行うDRAMである。14、1
5、16、17はそれぞれメモリ制御回路4がDRAM
13を制御するためのRAS信号、CAS信号、RE信
号、WE信号である。18、19はそれぞれ、データ入
力レジスタ6とデータ出力レジスタ7及びDRAM13
の間に設けられたデータバス、アドレスバスである。2
0はデータ処理手段1とアドレス出力回路8の間に設け
られたアドレスバスであり、21はデータ処理手段1と
リードパラメタレジスタ2とタイミングパラメタレジス
タ3とデータ入力レジスタ6及びデータ出力レジスタ7
の間に設けられたデータバスである。アドレス出力回路
8、データバス18、21、アドレスバス19、20と
でバス手段25が構成される。22は半導体装置12に
供給されるクロックであり、23はステートマシン5が
メモリ制御回路4に供給するステート情報である。
The read parameter register 2 and the timing parameter register 3 constitute a parameter setting means 24. The memory control circuit 4, the state machine 5, the data input register 6, the data output register 7, and the tri-state buffers 9, 10 constitute an external device control means 11. Reference numeral 13 denotes a DRAM connected to the semiconductor device 12 and for which the data processing means 1 performs read / write. 14, 1
Reference numerals 5, 16, and 17 indicate that the memory control circuit 4 is a DRAM
13 is a RAS signal, a CAS signal, a RE signal, and a WE signal for controlling the X.13 signal. Reference numerals 18 and 19 denote a data input register 6, a data output register 7, and a DRAM 13 respectively.
A data bus and an address bus provided between them. 2
Numeral 0 denotes an address bus provided between the data processing means 1 and the address output circuit 8, and 21 denotes a data processing means 1, a read parameter register 2, a timing parameter register 3, a data input register 6, and a data output register 7.
Is a data bus provided between them. The address output circuit 8, the data buses 18, 21 and the address buses 19, 20 constitute a bus means 25. Reference numeral 22 denotes a clock supplied to the semiconductor device 12, and reference numeral 23 denotes state information supplied from the state machine 5 to the memory control circuit 4.

【0018】図2はステートマシン5の状態遷移を示し
ている。ステートマシン5は、データ処理手段1からリ
ード/ライト要求信号がアサートされるまでIDLEス
テート100に留まり、リード/ライト要求信号のアサ
ート後にIDLEステート100から行アドレスアクセ
スステート101に遷移する。このときのステートマシ
ン5は、メモリ制御回路4が行アドレスアクセス終了信
号をアサートするまで行アドレスアクセスステート10
1に留まり、行アドレスアクセス終了信号アサート後に
行アドレスアクセスステート101から列アドレスアク
セスステート102に遷移する。このときのステートマ
シン5は、メモリ制御回路4が列アドレスアクセス終了
信号と、リード/ライト要求信号に従うアクセスがペー
ジアクセスであることを示すページアクセス信号の両方
がアサートされるまで列アドレスアクセスステート10
2に留まり、列アドレスアクセス終了信号ページアクセ
ス信号の両方がアサートされると列アドレスアクセスス
テート102からIDLEステート100に遷移する。
FIG. 2 shows the state transition of the state machine 5. The state machine 5 stays in the IDLE state 100 until the read / write request signal is asserted from the data processing means 1, and transitions from the IDLE state 100 to the row address access state 101 after the assertion of the read / write request signal. At this time, the state machine 5 controls the row address access state 10 until the memory control circuit 4 asserts the row address access end signal.
It stays at 1 and transits from the row address access state 101 to the column address access state 102 after the row address access end signal is asserted. At this time, the state machine 5 sets the column address access state 10 until the memory control circuit 4 asserts both the column address access end signal and the page access signal indicating that the access according to the read / write request signal is a page access.
When both the column address access end signal and the page access signal are asserted, the state transits from the column address access state 102 to the IDLE state 100.

【0019】図3は、リードパラメタレジスタ2とタイ
ミングパラメタレジスタ3の構成を示している。301
は行アドレス出力期間Tardを設定するフィールド、30
2は行アドレス出力からRAS信号14アサートまでの
期間Tasrを設定するフィールド、303は列アドレス出
力からCAS信号15ネゲートまでの期間Tacdを設定す
るフィールド、304は列アドレス出力からCAS信号
15アサートまでの期間Tascを設定するフィールド、3
05はCAS信号15ネゲートから列アドレス出力まで
の期間Tcpを設定するフィールドである。301、30
2、303、304、305のフィールドからタイミン
グパラメタレジスタ3が構成される。また、306はC
AS信号15アサートからデータ18がデータ入力レジ
スタ6に取り込まれるまでの期間Trdを設定するフィー
ルドである。
FIG. 3 shows the configuration of the read parameter register 2 and the timing parameter register 3. 301
Is a field for setting a row address output period Tard;
2 is a field for setting a period Tasr from the row address output to the RAS signal 14 assertion, 303 is a field for setting a period Tacd from the column address output to the CAS signal 15 negation, and 304 is a field from the column address output to the CAS signal 15 assertion. Field for setting the period Tasc, 3
Reference numeral 05 denotes a field for setting a period Tcp from the negation of the CAS signal 15 to the output of the column address. 301, 30
The timing parameter register 3 is composed of the fields 2, 303, 304 and 305. 306 is C
This is a field for setting a period Trd from the assertion of the AS signal 15 until the data 18 is taken into the data input register 6.

【0020】以上のように構成された本発明の実施の形
態による半導体装置について、図4、図5、図6に示す
動作タイミング図を用いて以下その動作を説明する。
The operation of the semiconductor device configured as described above according to the embodiment of the present invention will be described below with reference to operation timing diagrams shown in FIGS. 4, 5, and 6.

【0021】動作の概略は、データ処理手段1から出力
されるリード/ライト要求信号により、ステートマシン
5を制御し、タイミングパラメタレジスタ3のパラメタ
に従って、メモリ制御回路4を動作させてメモリ制御信
号を生成するとともに、リードパラメタレジスタ2に従
ってメモリ制御回路4を動作させてリードデータの取り
込みタイミングを制御することで、DRAM13のリー
ドを行うものである。なお、リード動作においては、W
E信号17は常にネゲートされている。
The outline of the operation is as follows. The state machine 5 is controlled by a read / write request signal output from the data processing means 1, and the memory control circuit 4 is operated in accordance with the parameters of the timing parameter register 3 to generate the memory control signals. In addition to the generation, the DRAM 13 is read by operating the memory control circuit 4 in accordance with the read parameter register 2 to control the timing of reading the read data. In the read operation, W
The E signal 17 is always negated.

【0022】(第1の設定例)ここでは、Tard=6、Ta
sr=3、Tacd=6、Tasc=2、Tcp=3、Trd=4と設定
した場合について、図4を用いて説明する。図4におい
てT0〜T25はそれぞれクロック22の1周期を表す
サイクルである。
(First Setting Example) Here, Tard = 6, Ta
The case where sr = 3, Tacd = 6, Tasc = 2, Tcp = 3, and Trd = 4 will be described with reference to FIG. In FIG. 4, T0 to T25 are cycles each representing one cycle of the clock 22.

【0023】データ処理手段1はデータバス21を使用
して、リードパラメタレジスタ2、タイミングパラメタ
レジスタ3に上記の設定を与える。
The data processing means 1 gives the above setting to the read parameter register 2 and the timing parameter register 3 using the data bus 21.

【0024】サイクルT1でのデータ処理手段1からの
リード要求により、サイクルT2でステートマシン5は
行アドレスアクセスステート101へ遷移する。またサ
イクルT1においてメモリ制御回路4では、ステートマ
シン5のステートがIDLEステート100であるとい
うステート情報23とデータ処理手段1からのリード要
求を受けて、アドレス出力回路8に制御信号を出力する
と同時に、クロック22に従って、行アドレス出力期間
およびRAS信号アサートまでの期間のカウントを開始
する。サイクルT2でアドレス出力回路8はメモリ制御
回路4の制御信号に従い、データ処理手段1が出力する
アドレスを格納し、行アドレスに応じたシフトを行うこ
とでアドレスバス19に行アドレスを出力する。
In response to a read request from data processing means 1 in cycle T1, state machine 5 transits to row address access state 101 in cycle T2. In the cycle T1, the memory control circuit 4 outputs the control signal to the address output circuit 8 upon receiving the state information 23 indicating that the state of the state machine 5 is the IDLE state 100 and the read request from the data processing means 1, and According to the clock 22, counting of the row address output period and the period up to the assertion of the RAS signal is started. In cycle T2, the address output circuit 8 stores the address output from the data processing means 1 in accordance with the control signal of the memory control circuit 4, and outputs a row address to the address bus 19 by performing a shift according to the row address.

【0025】メモリ制御回路4は、ステートマシン5の
ステート情報23が行アドレスアクセスステート101
を示している間は、Tasr=3となるサイクルT5におい
てRAS信号をアサートし、Tard=6となるサイクルT
8で列アドレスが出力されるよう、サイクルT7におい
てアドレス出力回路8に制御信号を出力すると同時に、
行アドレスアクセス期間の終了を制御信号によってステ
ートマシン5に知らせる。ステートマシン5は、メモリ
制御回路4の制御信号に従って、サイクルT8で列アド
レスアクセスステート102に遷移する。アドレス出力
回路8は、メモリ制御回路4の制御信号に従って、サイ
クルT8で列アドレスをアドレスバス19を使用してD
RAM13へ出力する。同サイクルにおいて、メモリ制
御回路4は、CAS信号15のアサート及びネゲート期
間のカウントを開始し、さらにステートマシン5のステ
ート情報23が列アドレスアクセスステート102を示
している間は、Tasc=2となるサイクルT10でCAS
信号15をアサートするとともにRE信号16をアサー
トし、データ入力タイミングのカウントを開始する。
The memory control circuit 4 stores the state information 23 of the state machine 5 in the row address access state 101.
, The RAS signal is asserted in the cycle T5 where Tasr = 3, and the cycle T5 where Tard = 6 is asserted.
At the same time as outputting a control signal to the address output circuit 8 in cycle T7 so that the column address is output at
The end of the row address access period is notified to the state machine 5 by a control signal. The state machine 5 transitions to the column address access state 102 in cycle T8 according to the control signal of the memory control circuit 4. In accordance with the control signal of the memory control circuit 4, the address output circuit 8 outputs the column address to the
Output to RAM13. In the same cycle, the memory control circuit 4 starts assertion of the CAS signal 15 and counting of the negation period, and Tasc = 2 while the state information 23 of the state machine 5 indicates the column address access state 102. CAS in cycle T10
It asserts the signal 15 and asserts the RE signal 16 to start counting data input timing.

【0026】サイクルT13でメモリ制御回路4はデー
タ入力レジスタ6に対してイネーブル信号を1クロック
の間アサートし、データ入力レジスタ6はTrd=4とな
るサイクルT14で、イネーブル信号に従ってデータバ
ス18からDRAM13が出力するデータを格納する。
データ入力レジスタ6に格納されたデータは、必要に応
じてトライステートバッファ9を通してデータバス21
に出力され、データ処理手段1に供給される。同時にTa
cd=6でもあるサイクルT14で、メモリ制御回路4は
CAS信号15をネゲートし、CASプリチャージ期間
のカウントを開始する。Tcp=3となるサイクルT17
で次の列アドレスを出力するために、メモリ制御回路4
はサイクルT16で制御信号をアドレス出力回路8に出
力する。
In a cycle T13, the memory control circuit 4 asserts an enable signal to the data input register 6 for one clock. In a cycle T14 when Trd = 4, the memory control circuit 4 sends the DRAM 13 from the data bus 18 according to the enable signal. Stores the data output by.
The data stored in the data input register 6 is transferred to the data bus 21 through the tri-state buffer 9 as necessary.
And supplied to the data processing means 1. At the same time Ta
In cycle T14 where cd = 6, the memory control circuit 4 negates the CAS signal 15 and starts counting the CAS precharge period. Cycle T17 when Tcp = 3
To output the next column address, the memory control circuit 4
Outputs a control signal to the address output circuit 8 in cycle T16.

【0027】以降、同様にアクセスを繰り返すことで図
4に示すような動作が得られる。 (第2の設定例)ここでは、Tard=6、Tasr=3、Tacd
=6、Tasc=2、Tcp=3、Trd=6と設定した場合につ
いて、図5を用いて説明する。
Thereafter, the operation as shown in FIG. 4 is obtained by repeating the access in the same manner. (Second setting example) Here, Tard = 6, Tasr = 3, Tacd
= 6, Tasc = 2, Tcp = 3, and Trd = 6 will be described with reference to FIG.

【0028】CAS信号15、RE信号16をアサート
するまでは、(第1の設定例)に同じである。Tacd=6
となるサイクルT14で、メモリ制御回路4はCAS信
号15をネゲートし、CASプリチャージ期間のカウン
トを開始する。さらに、この後サイクルT15でデータ
入力レジスタ6に対してイネーブル信号を1クロックの
間アサートする。データ入力レジスタ6はTrd=6とな
るサイクルT16でイネーブル信号に従ってデータバス
18からDRAM13が出力するデータを格納する。デ
ータ入力レジスタ6に格納されたデータは、必要に応じ
てトライステートバッファ9を通してデータバス21に
出力され、データ処理手段1に供給される。Tcp=3と
なるサイクルT17で次の列アドレスを出力するため
に、メモリ制御回路4はサイクルT16で制御信号をア
ドレス出力回路8に出力する。
Until the CAS signal 15 and the RE signal 16 are asserted, the operation is the same as in the first setting example. Tacd = 6
In cycle T14, the memory control circuit 4 negates the CAS signal 15 and starts counting the CAS precharge period. Further, thereafter, in a cycle T15, an enable signal is asserted to the data input register 6 for one clock. The data input register 6 stores data output from the DRAM 13 from the data bus 18 in accordance with the enable signal in the cycle T16 when Trd = 6. The data stored in the data input register 6 is output to the data bus 21 through the tri-state buffer 9 as needed, and is supplied to the data processing means 1. In order to output the next column address in cycle T17 when Tcp = 3, the memory control circuit 4 outputs a control signal to the address output circuit 8 in cycle T16.

【0029】以降、同様にアクセスを繰り返すことで図
5に示すような動作が得られる。以上、リード時の動作
について説明したが、ライト時の動作を(第1の設定
例)と(第2の設定例)に従って、図6を用いて説明す
る。ライト動作時は、リードパラメタレジスタ2を使用
しない点と、RE信号16が常にネゲートされ、WE信
号17がアサートされる点と、データの流れがDRAM
13からデータ処理手段1となる点のみがリード動作時
と異なるため、以下リード動作と異なる部分のみを説明
する。なお、リードパラメタレジスタ2を使用しないた
め、(第1の設定例)と(第2の設定例)は同じ設定、
Tard=6、Tasr=3、Tacd=6、Tasc=2、Tcp=3と
なる。
Thereafter, the operation as shown in FIG. 5 is obtained by repeating the access in the same manner. The operation at the time of reading has been described above. The operation at the time of writing will be described with reference to FIG. 6 according to (first setting example) and (second setting example). During the write operation, the read parameter register 2 is not used, the RE signal 16 is always negated and the WE signal 17 is asserted, and the data flow is
Since only the point from 13 to the data processing means 1 differs from the read operation, only the parts different from the read operation will be described below. Since the read parameter register 2 is not used, the (first setting example) and (second setting example) have the same setting,
Tard = 6, Tasr = 3, Tacd = 6, Tasc = 2, Tcp = 3.

【0030】行アドレス出力が終了するサイクルT7に
おいて、メモリ制御回路4はデータ出力レジスタ7にイ
ネーブル信号を出力すると同時にWE信号17をアサー
トする。データ出力レジスタ7は、データバス21を通
じてデータ処理手段1から出力されたデータをサイクル
T8において取り込み、トライステートバッファ10を
介してデータバス18からDRAM13へ出力する。更
にCAS信号15がネゲートされるサイクルT14で、
トライステートバッファ10を閉じ、データバス18を
ハイ・インピーダンスの状態にする。
In the cycle T7 where the row address output ends, the memory control circuit 4 outputs an enable signal to the data output register 7 and asserts the WE signal 17 at the same time. The data output register 7 takes in the data output from the data processing means 1 via the data bus 21 in the cycle T8, and outputs the data from the data bus 18 to the DRAM 13 via the tri-state buffer 10. Further, in a cycle T14 in which the CAS signal 15 is negated,
The tristate buffer 10 is closed, and the data bus 18 is brought into a high impedance state.

【0031】以降、同様にアクセスを繰り返すことで図
6に示すような動作が得られる。図4の動作タイミング
は、高速ページモードに、図5の動作タイミングは、E
DOモードに対応している。
Thereafter, the operation as shown in FIG. 6 is obtained by repeating the access in the same manner. The operation timing in FIG. 4 is in the high-speed page mode, and the operation timing in FIG.
It corresponds to the DO mode.

【0032】なお、上記の実施の形態ではリードパラメ
タレジスタ2に設定する値をクロック数単位で計数して
いるが、クロックの周期に依存しない絶対時間としても
よい。この場合は、設定された絶対時間を所与のクロッ
ク周期で除算し該時間をクロック数に変換する手段を追
加することにより実現できる。こうすることにより、利
用者はクロックの周波数を意識することなくデータを取
り込む時間を設定できるという利点が得られる。
In the above embodiment, the value set in the read parameter register 2 is counted in units of the number of clocks, but may be an absolute time independent of the clock cycle. This case can be realized by adding a means for dividing the set absolute time by a given clock cycle and converting the time into the number of clocks. This has the advantage that the user can set the time for fetching data without being aware of the clock frequency.

【0033】以上のように本発明の実施の形態によれ
ば、リードパラメタレジスタ2の値を変えるだけで高速
ページモードとEDOモードのモード切り替えを意識す
ることなく両モードに対応するメモリ制御が可能とな
る。また、リードパラメタをクロックの整数倍で変える
ことができるため、クロックの周波数が高くなってもC
AS立上りからリードデータを取り込む時点までの差を
大きくすることができ、EDOモードのメリットを最大
限に生かしたメモリ制御が可能となる。
As described above, according to the embodiment of the present invention, it is possible to perform memory control corresponding to both the high-speed page mode and the EDO mode without being aware of the mode switching simply by changing the value of the read parameter register 2. Becomes Further, since the read parameter can be changed by an integral multiple of the clock, even if the clock frequency becomes higher, C
The difference between the rise of the AS and the point in time at which the read data is fetched can be increased, and the memory control that makes the most of the advantages of the EDO mode can be performed.

【0034】[0034]

【発明の効果】以上説明したように本発明によれば、リ
ードパラメタレジスタの値を変えることで、特にモード
切り替え機能を持つことなく、高速ページモードとED
Oページモードの両方に対応できるため、動作検証の項
目を削減することができ、、結果としてテスト時間を短
縮することができる。また、リードデータの取り込みタ
イミングを可変にすることで、アクセスタイムを最適化
したメモリアクセスを行うことが可能になるという有利
な効果が得られる。
As described above, according to the present invention, by changing the value of the read parameter register, the high-speed page mode and the ED
Since both the O-page mode can be supported, the number of operation verification items can be reduced, and as a result, the test time can be reduced. Further, by making the read data fetch timing variable, there is an advantageous effect that a memory access with an optimized access time can be performed.

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

【図1】本発明の実施の形態における半導体装置の構成
FIG. 1 is a configuration diagram of a semiconductor device according to an embodiment of the present invention;

【図2】図1に示すステートマシン5の状態遷移図FIG. 2 is a state transition diagram of a state machine 5 shown in FIG.

【図3】図1に示すリードパラメタレジスタ2及びタイ
ミングパラメタレジスタ3の構成図
FIG. 3 is a configuration diagram of a read parameter register 2 and a timing parameter register 3 shown in FIG.

【図4】同実施の形態による半導体装置の第1の動作の
タイミング図
FIG. 4 is a timing chart of a first operation of the semiconductor device according to the embodiment;

【図5】同実施の形態による半導体装置の第2の動作の
タイミング図
FIG. 5 is a timing chart of a second operation of the semiconductor device according to the embodiment;

【図6】同実施の形態による半導体装置の第3の動作の
タイミング図
FIG. 6 is a timing chart of a third operation of the semiconductor device according to the embodiment;

【図7】発明が解決しようとする課題を説明するための
DRAMの動作タイミング図
FIG. 7 is an operation timing chart of a DRAM for describing a problem to be solved by the invention;

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

1 データ処理手段 2 リードパラメタレジスタ 3 タイミングパラメタレジスタ 4 メモリ制御回路 5 ステートマシン 6 データ入力レジスタ 7 データ出力レジスタ 8 アドレス出力回路 9、10 トライステートバッファ 11 外部デバイス制御手段 12 半導体装置 13 DRAM 14 RAS信号 15 CAS信号 16 RE信号 17 WE信号 18、21 データバス 19、20 アドレスバス 22 クロック 23 ステート情報 24 パラメタ設定手段 25 バス手段 Reference Signs List 1 data processing means 2 read parameter register 3 timing parameter register 4 memory control circuit 5 state machine 6 data input register 7 data output register 8 address output circuit 9, 10 tristate buffer 11 external device control means 12 semiconductor device 13 DRAM 14 RAS signal 15 CAS signal 16 RE signal 17 WE signal 18, 21 Data bus 19, 20 Address bus 22 Clock 23 State information 24 Parameter setting means 25 Bus means

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 クロックを受けて動作し、命令に従って
データを処理するデータ処理手段と、 外部デバイスとの間でのアドレスおよびデータの転送路
となるバス手段と、 前記バス手段上のデータを取り込むタイミングを前記ク
ロック単位に指定するパラメタを設定するパラメタ設定
手段と、 前記データ処理手段から外部デバイスに対するリード要
求を受けた時に、前記バス手段とともに前記外部デバイ
スに接続されるアクセス信号を生成し、前記パラメタ設
定手段に設定されたパラメタに従ったタイミングで、前
記バス手段からデータを取り込む外部デバイス制御手段
とを備えることを特徴とする半導体装置。
A data processing unit that operates in response to a clock and processes data in accordance with an instruction; a bus unit serving as an address and data transfer path with an external device; Parameter setting means for setting a parameter specifying timing in the clock unit; and when receiving a read request for an external device from the data processing means, generate an access signal connected to the external device together with the bus means, An external device control means for taking in data from the bus means at a timing according to a parameter set in the parameter setting means.
【請求項2】 前記パラメタ設定手段に設定されたパラ
メタは、前記クロックを基準に計数した時間値であるこ
とを特徴とする請求項1記載の半導体装置。
2. The semiconductor device according to claim 1, wherein the parameter set in the parameter setting means is a time value counted based on the clock.
【請求項3】 前記外部デバイスは、ダイナミックラン
ダムアクセスメモリで構成され、 前記時間値は、前記アクセス信号の1つとして前記ダイ
ナミックランダムアクセスメモリに対して発せられる列
アドレスストローブ信号の変化点を起点にして計数され
ることを特徴とする請求項2記載の半導体装置。
3. The external device comprises a dynamic random access memory, wherein the time value is based on a change point of a column address strobe signal issued to the dynamic random access memory as one of the access signals. The semiconductor device according to claim 2, wherein counting is performed by counting.
【請求項4】 前記パラメタ設定手段は、前記パラメタ
の他に、前記バス手段におけるアドレスの送出のタイミ
ングと前記アクセス信号のアサートのタイミングとを含
むパラメタを設定することを特徴とする請求項1から3
のいずれか1項に記載の半導体装置。
4. The apparatus according to claim 1, wherein said parameter setting means sets, in addition to said parameters, parameters including a timing of sending an address in said bus means and a timing of assertion of said access signal. 3
The semiconductor device according to claim 1.
【請求項5】 前記パラメタ設定手段は、レジスタで構
成され、前記データ処理手段によって前記パラメタが書
き込まれることを特徴とする請求項4記載の半導体装
置。
5. The semiconductor device according to claim 4, wherein said parameter setting means is constituted by a register, and said parameter is written by said data processing means.
【請求項6】 クロックを受けて動作し、命令に従って
データを処理するデータ処理手段と、 外部デバイスとの間でのアドレスおよびデータの転送路
となるバス手段と、 前記バス手段上のデータを取り込むタイミングを指定す
るパラメタを設定するパラメタ設定手段と、 前記データ処理手段から外部デバイスに対するリード要
求を受けた時に、前記バス手段とともに前記外部デバイ
スに接続されるアクセス信号を生成し、前記パラメタ設
定手段に設定されたパラメタに従ったタイミングで、前
記バス手段からデータを取り込む外部デバイス制御手段
とを備え、 前記パラメタは、前記クロックの周期に依存しない時間
値であることを特徴とする半導体装置。
6. A data processing unit which operates in response to a clock and processes data in accordance with an instruction, a bus unit serving as an address and data transfer path with an external device, and taking in data on the bus unit Parameter setting means for setting a parameter for designating timing; when receiving a read request for an external device from the data processing means, generate an access signal connected to the external device together with the bus means; An external device control unit that fetches data from the bus unit at a timing according to a set parameter, wherein the parameter is a time value independent of a cycle of the clock.
JP9292155A 1997-10-24 1997-10-24 Semiconductor device Pending JPH11126480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9292155A JPH11126480A (en) 1997-10-24 1997-10-24 Semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9292155A JPH11126480A (en) 1997-10-24 1997-10-24 Semiconductor device

Publications (1)

Publication Number Publication Date
JPH11126480A true JPH11126480A (en) 1999-05-11

Family

ID=17778265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9292155A Pending JPH11126480A (en) 1997-10-24 1997-10-24 Semiconductor device

Country Status (1)

Country Link
JP (1) JPH11126480A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7725665B2 (en) 2004-06-30 2010-05-25 Renesas Technology Corp. Data processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7725665B2 (en) 2004-06-30 2010-05-25 Renesas Technology Corp. Data processor
US7953941B2 (en) * 2004-06-30 2011-05-31 Renesas Electronics Corporation Data processor with memory controller having burst access operation

Similar Documents

Publication Publication Date Title
KR940012146A (en) Semiconductor integrated circuit with CPU and multiplier
US20070038795A1 (en) Asynchronous bus interface and processing method thereof
JP2704113B2 (en) Data processing device
JP3601872B2 (en) Data processing apparatus and operation method thereof
JP2002202916A (en) Data processing device
JP3800164B2 (en) Information processing device, information storage device, information processing method, and information processing program
JPH11126480A (en) Semiconductor device
CN112100098B (en) DDR control system and DDR memory system
US5916311A (en) Bus controller and information processing device providing reduced idle cycle time during synchronization
US20060018185A1 (en) Memory control apparatus and electronic apparatus
US20020188771A1 (en) Direct memory access controller for carrying out data transfer by determining whether or not burst access can be utilized in an external bus and access control method thereof
JP2914279B2 (en) High-speed memory access device
JP3563223B2 (en) Register circuit
JP2001175586A (en) Data processor and data processing system
JP2001022692A (en) Microcomputer and control system
JP2626112B2 (en) Microprocessor
JP3251237B2 (en) Reprogramming method in SDRAM
JP2576805Y2 (en) LSI for musical tone generation
JP4093872B2 (en) Memory control circuit
JP3245903B2 (en) Semiconductor peripheral devices
US5943492A (en) Apparatus and method for generating external interface signals in a microprocessor
JPH06250972A (en) Microprocessor
JP2003216488A (en) Data processor, digital camera provided with data processor and recording medium
JPH04262435A (en) Memory control system
JPH1069460A (en) Bus controller