JP5418291B2 - Memory controller and information processing apparatus - Google Patents

Memory controller and information processing apparatus Download PDF

Info

Publication number
JP5418291B2
JP5418291B2 JP2010038672A JP2010038672A JP5418291B2 JP 5418291 B2 JP5418291 B2 JP 5418291B2 JP 2010038672 A JP2010038672 A JP 2010038672A JP 2010038672 A JP2010038672 A JP 2010038672A JP 5418291 B2 JP5418291 B2 JP 5418291B2
Authority
JP
Japan
Prior art keywords
clock signal
memory
internal clock
read
read data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010038672A
Other languages
Japanese (ja)
Other versions
JP2011175429A (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.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor 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 Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2010038672A priority Critical patent/JP5418291B2/en
Publication of JP2011175429A publication Critical patent/JP2011175429A/en
Application granted granted Critical
Publication of JP5418291B2 publication Critical patent/JP5418291B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本願は、チップ外部のメモリとデータ転送を行うメモリコントローラ、及び情報処理装置に関する。   The present application relates to a memory controller that performs data transfer with a memory outside a chip, and an information processing apparatus.

入力されたクロック信号に同期してデータを出力するSDRAM(Synchronous Dynamic Random Access Memory)等の外部メモリとデータ転送を行うメモリコントローラがある。メモリコントローラは、クロック信号をチップ外部のメモリに供給し、データを受け取る。このようなメモリコントローラに関して、メモリに入力されるクロック信号を引き戻したフィードバッククロック信号を利用してメモリからのデータを取り込む構成が知られている。   There is a memory controller that performs data transfer with an external memory such as an SDRAM (Synchronous Dynamic Random Access Memory) that outputs data in synchronization with an input clock signal. The memory controller supplies a clock signal to a memory outside the chip and receives data. With respect to such a memory controller, a configuration is known in which data from a memory is captured using a feedback clock signal obtained by pulling back a clock signal input to the memory.

特開2001−290698号公報JP 2001-290698 A

メモリコントローラでは、メモリから読み出されたリードデータは、内部ロジック回路での処理が可能なように、メモリコントローラ内部で使用する内部クロック信号に乗せ換えられる。ここで、リードデータの取り込みに使用されるフィードバッククロック信号は内部クロック信号に対して遅延を有するため、内部クロック信号とは非同期となる。そのため、FIFO(First In, First Out)メモリを用いてリードデータを一時的に保持することでフィードバッククロック信号から内部クロック信号へのデータ乗せ換えを実現することが従来行われている。   In the memory controller, read data read from the memory is transferred to an internal clock signal used in the memory controller so that the internal logic circuit can process the read data. Here, since the feedback clock signal used for reading the read data has a delay with respect to the internal clock signal, it is asynchronous with the internal clock signal. For this reason, data transfer from a feedback clock signal to an internal clock signal is realized by temporarily holding read data using a FIFO (First In, First Out) memory.

図1に一例を示す。メモリコントローラ100は、チップ外部のメモリと内部ロジック回路との間でデータの入出力を制御する。不図示のクロック生成部で生成されてメモリコントローラ100の内部で使用される内部クロック信号ACLKは、メモリに供給されるとともに、フィードバッククロック信号FBCLKとしてメモリコントローラ100に引き戻される。フィードバッククロック信号FBCLKは、チップ外部を経由するため、内部クロック信号ACLKに対して遅延112を有する。カウンタスタート信号生成回路101は、内部クロック信号ACLKに同期してカウンタスタート信号PSPを出力する。カウンタスタート信号PSPは、3段のレジスタ106に入力される。また、カウンタスタート信号PSPは、フィードバッククロック信号FBCLKと同様にチップ外部を経由して、フィードバックカウンタスタート信号FBPSPとしてメモリコントローラ100に帰還される。そのため、カウンタスタート信号PSPに対するフィードバックカウンタスタート信号FBPSPの遅延111は、内部クロック信号ACLKに対するフィードバッククロック信号FBCLKの遅延112と相関性を有する。   An example is shown in FIG. The memory controller 100 controls data input / output between a memory outside the chip and an internal logic circuit. An internal clock signal ACLK generated by a clock generation unit (not shown) and used inside the memory controller 100 is supplied to the memory and pulled back to the memory controller 100 as a feedback clock signal FBCLK. Since the feedback clock signal FBCLK passes through the outside of the chip, it has a delay 112 with respect to the internal clock signal ACLK. The counter start signal generation circuit 101 outputs a counter start signal PSP in synchronization with the internal clock signal ACLK. The counter start signal PSP is input to the three-stage register 106. The counter start signal PSP is fed back to the memory controller 100 as the feedback counter start signal FBPSP via the outside of the chip in the same manner as the feedback clock signal FBCLK. Therefore, the delay 111 of the feedback counter start signal FBPSP with respect to the counter start signal PSP has a correlation with the delay 112 of the feedback clock signal FBCLK with respect to the internal clock signal ACLK.

カウンタ回路107は、フィードバックカウンタスタート信号FBPSPによってイネーブルされ、フィードバッククロック信号FBCLKに同期してカウント動作するフリーランカウンタである。また、カウンタスタート信号PSPが入力される3段のレジスタ106は、例えば、内部クロック信号ACLKに同期してデータをラッチする3つのフリップフロップである。カウンタ回路108は、3段のレジスタ106を介して入力されるカウンタスタート信号PSPによってイネーブルされ、内部クロック信号ACLKに同期してカウント動作するフリーランカウンタである。   The counter circuit 107 is a free-run counter that is enabled by a feedback counter start signal FBPSP and performs a count operation in synchronization with the feedback clock signal FBCLK. The three-stage register 106 to which the counter start signal PSP is input is, for example, three flip-flops that latch data in synchronization with the internal clock signal ACLK. The counter circuit 108 is a free-run counter that is enabled by a counter start signal PSP input via a three-stage register 106 and performs a count operation in synchronization with the internal clock signal ACLK.

レジスタ群104は3つのフリップフロップFF0、FF1、FF2を含み、メモリから読み出されたリードデータMRDを、フィードバッククロック信号FBCLKに同期して格納する。レジスタ群104の前段のセレクタ103は、リードデータMRDの格納位置を、カウンタ回路107のカウント値に応じて、レジスタ群104が有するフリップフロップFF0、FF1、FF2の中から指定する。また、レジスタ群104の後段のセレクタ105は、レジスタ群104からリードデータMRDを取り出す際に、リードデータMRDの取出位置を、カウンタ回路108のカウント値に応じて、フリップフロップFF0、FF1、FF2の中から指定する。すなわち、カウンタ回路107、セレクタ103、レジスタ群104、カウンタ回路108、セレクタ105を含む構成は、カウンタ回路107、セレクタ103をライトポインタ、カウンタ回路108、セレクタ105をリードポインタ、とするFIFOメモリとして機能する。   Register group 104 includes three flip-flops FF0, FF1, and FF2, and stores read data MRD read from the memory in synchronization with feedback clock signal FBCLK. The selector 103 in the previous stage of the register group 104 designates the storage position of the read data MRD from among the flip-flops FF0, FF1, and FF2 included in the register group 104 according to the count value of the counter circuit 107. Further, when the selector 105 in the subsequent stage of the register group 104 takes out the read data MRD from the register group 104, the take-out position of the read data MRD is set to the flip-flops FF0, FF1, and FF2 according to the count value of the counter circuit 108. Specify from among. That is, the configuration including the counter circuit 107, the selector 103, the register group 104, the counter circuit 108, and the selector 105 functions as a FIFO memory having the counter circuit 107 and the selector 103 as a write pointer and the counter circuit 108 and the selector 105 as a read pointer. To do.

データ取込コントロール回路102は、内部クロック信号ACLKを動作クロックとして、リードイネーブル信号RDENを出力する。レジスタ群104からセレクタ105を介して取り出されたリードデータMRDは、リードイネーブル信号RDENとともにANDゲート109に入力される。フリップフロップ110は、内部クロック信号ACLKに同期してANDゲート109の出力をラッチする。フリップフロップ110の出力は、リードデータ出力QRDとして内部ロジック回路で処理される。   The data capture control circuit 102 outputs a read enable signal RDEN using the internal clock signal ACLK as an operation clock. The read data MRD extracted from the register group 104 via the selector 105 is input to the AND gate 109 together with the read enable signal RDEN. The flip-flop 110 latches the output of the AND gate 109 in synchronization with the internal clock signal ACLK. The output of the flip-flop 110 is processed by the internal logic circuit as the read data output QRD.

上記の構成を有する従来例の動作を、図2を参照して説明する。図2は、内部クロック信号ACLKの周期が7.4ns、内部クロック信号ACLKに対するフィードバッククロック信号FBCLKの遅延112が約4.6ns程度である場合のタイミングチャートの一例である。図2において、RPは、レジスタ群104が有するフリップフロップFF0、FF1、FF2のうち、カウンタ回路108、セレクタ105によって指定されるフリップフロップの番号、すなわち、リードポインタの値である。同様に、WPは、レジスタ群104が有するフリップフロップFF0、FF1、FF2のうち、カウンタ回路107、セレクタ103によって指定されるフリップフロップの番号、すなわち、ライトポインタの値である。   The operation of the conventional example having the above configuration will be described with reference to FIG. FIG. 2 is an example of a timing chart when the cycle of the internal clock signal ACLK is 7.4 ns and the delay 112 of the feedback clock signal FBCLK with respect to the internal clock signal ACLK is about 4.6 ns. In FIG. 2, RP is the number of the flip-flop designated by the counter circuit 108 and the selector 105 among the flip-flops FF0, FF1, and FF2 of the register group 104, that is, the value of the read pointer. Similarly, WP is the number of the flip-flop designated by the counter circuit 107 and the selector 103 among the flip-flops FF0, FF1, and FF2 included in the register group 104, that is, the value of the write pointer.

カウンタスタート信号生成回路101からカウンタスタート信号PSPが出力されると、3段のレジスタ106を介してカウンタ回路108がイネーブルされる。これにより、カウンタスタート信号PSPを起点として一定サイクル(ここでは3サイクル)後にリードポインタの値RPが変化し始める。また、前述のように、カウンタスタート信号PSPに対するフィードバックカウンタスタート信号FBPSPの遅延111は、内部クロック信号ACLKに対するフィードバッククロック信号FBCLKの遅延112と相関性を有する。そのため、フィードバックカウンタスタート信号FBPSPは、フィードバッククロック信号FBCLKが内部クロック信号ACLKから遅れるのと同様に、カウンタスタート信号PSPから遅れる。フィードバックカウンタスタート信号FBPSPがフィードバッククロック信号FBCLKの立上りでカウンタ回路107に取り込まれると、ライトポインタの値WPが変化し始める。   When the counter start signal PSP is output from the counter start signal generation circuit 101, the counter circuit 108 is enabled via the three-stage register 106. As a result, the read pointer value RP starts to change after a certain cycle (here, 3 cycles) starting from the counter start signal PSP. In addition, as described above, the delay 111 of the feedback counter start signal FBPSP with respect to the counter start signal PSP has a correlation with the delay 112 of the feedback clock signal FBCLK with respect to the internal clock signal ACLK. Therefore, the feedback counter start signal FBPSP is delayed from the counter start signal PSP in the same manner as the feedback clock signal FBCLK is delayed from the internal clock signal ACLK. When the feedback counter start signal FBPSP is taken into the counter circuit 107 at the rising edge of the feedback clock signal FBCLK, the value WP of the write pointer starts to change.

内部ロジック回路から発行されるリードコマンド(a)に基づいて、メモリからリードデータMRDとしてDa1、Da2、Da3、Da4が読み出されるとともに、所定タイミングでデータ取込コントロール回路102からリードイネーブル信号RDENが出力される。フィードバッククロック信号FBCLKに同期して、ライトポインタの値WPに応じたレジスタ群104へのリードデータMRDの取り込みが行われる。これにより、データDa1はフリップフロップFF2に、データDa2はフリップフロップFF0に、データDa3はフリップフロップFF1に、データDa4はフリップフロップFF2に、それぞれ格納される。   Based on a read command (a) issued from the internal logic circuit, Da1, Da2, Da3, Da4 are read from the memory as read data MRD, and a read enable signal RDEN is output from the data fetch control circuit 102 at a predetermined timing. Is done. In synchronization with the feedback clock signal FBCLK, the read data MRD is taken into the register group 104 according to the value WP of the write pointer. Thereby, the data Da1 is stored in the flip-flop FF2, the data Da2 is stored in the flip-flop FF0, the data Da3 is stored in the flip-flop FF1, and the data Da4 is stored in the flip-flop FF2.

リードイネーブル信号RDENが出力されている間、リードポインタの値RPに応じてレジスタ群104から取り出されたリードデータMRDがフリップフロップ110によって内部クロック信号ACLKに同期してラッチされる。これにより、データDa1、Da2、Da3、Da4が内部クロック信号ACLKに同期したリードデータ出力QRDとなる。このようにして、リードコマンド(a)の発行から4サイクル後に内部クロック信号ACLKへのリードデータMRDの乗せ換えが開始され、以降も同様にして、動作が継続される。   While the read enable signal RDEN is being output, the read data MRD extracted from the register group 104 according to the read pointer value RP is latched by the flip-flop 110 in synchronization with the internal clock signal ACLK. As a result, the data Da1, Da2, Da3, and Da4 become the read data output QRD synchronized with the internal clock signal ACLK. In this way, the transfer of the read data MRD to the internal clock signal ACLK is started after four cycles from the issue of the read command (a), and the operation is continued in the same manner thereafter.

FIFOメモリを用いてフィードバッククロック信号FBCLKから内部クロック信号ACLKへのデータ乗せ換えを行う場合、リードポインタに対するライトポインタの動作タイミングを確定させるためにチップ外部の遅延112の値をある程度把握できることが必要となる。これに対して、図1に示した従来例では、カウンタスタート信号PSPを、フィードバッククロック信号FBCLKと同様にチップ外部を経由させてフィードバックカウンタスタート信号FBPSPとして取り込む。これにより、遅延112と相関の取れた遅延111から遅延112の値を見積もり、リードポインタとライトポインタとの時間的関係を決定する。したがって、設計段階でチップ外部の遅延が把握できない場合にも開発を進められる利点がある。   When data transfer from the feedback clock signal FBCLK to the internal clock signal ACLK is performed using a FIFO memory, it is necessary to know the value of the delay 112 outside the chip to some extent in order to determine the operation timing of the write pointer with respect to the read pointer. Become. On the other hand, in the conventional example shown in FIG. 1, the counter start signal PSP is taken in as the feedback counter start signal FBPSP via the outside of the chip in the same manner as the feedback clock signal FBCLK. Thereby, the value of the delay 112 is estimated from the delay 111 correlated with the delay 112, and the temporal relationship between the read pointer and the write pointer is determined. Therefore, there is an advantage that the development can proceed even when the delay outside the chip cannot be grasped at the design stage.

しかしながら、図1の従来例では、カウンタスタート信号PSPを外部に出力するための端子やフィードバックカウンタスタート信号FBPSPを内部に帰還するための端子が必要となり、端子数が増加するという欠点がある。そのため、端子数に制限のあるチップにおいては、採用することができない場合がある。   However, the conventional example shown in FIG. 1 requires a terminal for outputting the counter start signal PSP to the outside and a terminal for feeding back the feedback counter start signal FBPSP to the inside, resulting in an increase in the number of terminals. For this reason, it may not be possible to employ a chip with a limited number of terminals.

本願は、端子を追加することなく確実にデータ転送を行うことが可能なメモリコントローラ、及び情報処理装置を提供することを目的とする。   An object of the present application is to provide a memory controller and an information processing apparatus that can reliably transfer data without adding a terminal.

本願に開示されているメモリコントローラは、内部クロック信号を外部のメモリに供給し、前記メモリとデータ転送を行うメモリコントローラであって、前記メモリから読み出されたリードデータを、前記メモリに入力される前記内部クロック信号を帰還した帰還クロック信号に同期して格納するレジスタ群と、前記レジスタ群に前記リードデータを取り込む際に、前記リードデータの格納位置を、前記帰還クロック信号に同期して指定するライトポインタと、前記レジスタ群から前記リードデータを取り出す際に、前記リードデータの取出位置を、前記内部クロック信号に同期して指定するリードポインタと、を含むFIFOメモリを備え、前記メモリに供給する前記内部クロック信号の一部をマスクし、前記リードポインタに対する前記ライトポインタの動作タイミングを調整する。   A memory controller disclosed in the present application is a memory controller that supplies an internal clock signal to an external memory and performs data transfer with the memory, and read data read from the memory is input to the memory. A register group that stores the internal clock signal in synchronization with a feedback clock signal that is fed back, and a storage location of the read data is specified in synchronization with the feedback clock signal when the read data is taken into the register group And a read pointer that designates the read data extraction position in synchronization with the internal clock signal when the read data is extracted from the register group, and is supplied to the memory Masking a part of the internal clock signal to the read pointer Adjusting the operation timing of the site pointers.

開示のメモリコントローラ、情報処理装置によれば、端子を追加することなく確実にデータ転送を行うことができる。   According to the disclosed memory controller and information processing apparatus, it is possible to reliably transfer data without adding a terminal.

従来例を示す回路ブロック図である。It is a circuit block diagram which shows a prior art example. 従来例の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of a prior art example. 第1実施形態の回路ブロック図である。It is a circuit block diagram of a 1st embodiment. カウンタスタート信号&マスク信号生成回路の具体例を示す回路ブロック図である。It is a circuit block diagram which shows the specific example of a counter start signal & mask signal generation circuit. 制御ステートマシンの動作を示す状態遷移図である。It is a state transition diagram which shows operation | movement of a control state machine. 第1実施形態の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of 1st Embodiment. 第2実施形態の回路ブロック図である。It is a circuit block diagram of a 2nd embodiment. カウンタスタート信号&マスク信号生成回路の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of a counter start signal & mask signal generation circuit. 外部クロック観測モジュールの動作を示す状態遷移図である。It is a state transition diagram which shows operation | movement of an external clock observation module. 第2実施形態の動作を示すタイミングチャートである。It is a timing chart which shows operation of a 2nd embodiment.

図3は、第1実施形態の回路ブロック図である。図3では、主としてメモリコントローラ200Aの読み出し制御に関連する部分が示され、見易さを考慮して一部が省略されている。不図示のクロック生成部で生成された内部クロック信号ACLKは、メモリコントローラ200A内の各部に動作クロックとして供給される。コマンドバッファ201は、ロジック側からのコマンドを受け取るバッファであり、内部ロジック回路から制御信号を受信する。アドレスバッファ202は、ロジック側からのアドレスを受け取るバッファであり、内部ロジック回路からアドレスADDを受信する。メモリコントロールモジュール203は、コマンドバッファ201、アドレスバッファ202の情報に基づいてメモリ側へのコマンド情報を生成する。また、メモリコントロールモジュール203は、メモリコントローラ200Aの動作開始直後にスタート信号STARTを発行して転送用FIFO208の動作を開始し、リード動作時に原信号RE_SOURCEを発行して転送用FIFO208からのデータ取り込み動作を行うよう制御する。メモリコマンド生成回路204は、メモリ制御信号、メモリアドレスMADDを出力し、メモリコントロールモジュール203のコマンド情報をメモリに伝える。   FIG. 3 is a circuit block diagram of the first embodiment. FIG. 3 mainly shows a part related to the read control of the memory controller 200A, and a part thereof is omitted in view of easy viewing. An internal clock signal ACLK generated by a clock generation unit (not shown) is supplied as an operation clock to each unit in the memory controller 200A. The command buffer 201 is a buffer that receives a command from the logic side, and receives a control signal from the internal logic circuit. The address buffer 202 is a buffer that receives an address from the logic side, and receives an address ADD from the internal logic circuit. The memory control module 203 generates command information for the memory based on the information in the command buffer 201 and the address buffer 202. The memory control module 203 issues a start signal START immediately after the operation of the memory controller 200A starts to start the operation of the transfer FIFO 208, and issues an original signal RE_SOURCE during a read operation to fetch data from the transfer FIFO 208. Control to do. The memory command generation circuit 204 outputs a memory control signal and a memory address MADD, and transmits command information of the memory control module 203 to the memory.

モード設定レジスタ205は、モード設定情報MODEに基づいてカウンタスタート信号PSP、リードイネーブル信号RDEN、マスク信号CLKMASKの発行タイミングを設定するためのレジスタである。カウンタスタート信号&マスク信号生成回路206は、メモリコントロールモジュール203から発行されるスタート信号STARTに応じて、カウンタスタート信号PSP、マスク信号CLKMASKを、モード設定レジスタ205の値を基に設定されるタイミングで発行する。データ取込コントロール回路207は、メモリコントロールモジュール203から発行される原信号RE_SOURCEに対してモード設定レジスタ205の値に基づく遅延を付加し、リードイネーブル信号RDENを生成する。   The mode setting register 205 is a register for setting the issuance timing of the counter start signal PSP, the read enable signal RDEN, and the mask signal CLKMASK based on the mode setting information MODE. The counter start signal & mask signal generation circuit 206 generates the counter start signal PSP and the mask signal CLKMASK at a timing set based on the value of the mode setting register 205 in accordance with the start signal START issued from the memory control module 203. Issue. The data fetch control circuit 207 adds a delay based on the value of the mode setting register 205 to the original signal RE_SOURCE issued from the memory control module 203, and generates a read enable signal RDEN.

転送用FIFO208において、カウンタスタート信号PSPは、カウンタ回路210のイネーブル端子に入力されるとともに、3段のレジスタ209を介してカウンタ回路212のイネーブル端子に入力される。3段のレジスタ209は、例えば、図1の従来例における3段のレジスタ106と同様に、内部クロック信号ACLKに同期してデータをラッチする3つのフリップフロップである。カウンタ回路210は、カウンタスタート信号PSPによってイネーブルされ、フィードバッククロック信号FBCLKに同期してカウント動作するフリーランカウンタである。カウンタ回路212は、3段のレジスタ209を介して入力されるカウンタスタート信号PSPによってイネーブルされ、内部クロック信号ACLKに同期してカウント動作するフリーランカウンタである。外部データ同期用レジスタ群211は、例えば、図1の従来例におけるレジスタ群104と同様に3つのフリップフロップを含み、メモリから読み出されたリードデータMRDを、フィードバッククロック信号FBCLKに同期して格納する。   In the transfer FIFO 208, the counter start signal PSP is input to the enable terminal of the counter circuit 210 and also input to the enable terminal of the counter circuit 212 via the three-stage register 209. The three-stage register 209 is, for example, three flip-flops that latch data in synchronization with the internal clock signal ACLK, similarly to the three-stage register 106 in the conventional example of FIG. The counter circuit 210 is a free-run counter that is enabled by the counter start signal PSP and performs a count operation in synchronization with the feedback clock signal FBCLK. The counter circuit 212 is a free-run counter that is enabled by a counter start signal PSP input via a three-stage register 209 and performs a count operation in synchronization with the internal clock signal ACLK. The external data synchronization register group 211 includes, for example, three flip-flops similarly to the register group 104 in the conventional example of FIG. 1, and stores read data MRD read from the memory in synchronization with the feedback clock signal FBCLK. To do.

また、図3では図示が省略されているが、転送用FIFO208は、レジスタ群211の前段、後段にそれぞれセレクタを有する。前段のセレクタは、リードデータMRDの格納位置を、カウンタ回路210のカウント値に応じて、レジスタ群211が有するフリップフロップの中から指定する。また、後段のセレクタは、レジスタ群211からリードデータMRDを取り出す際に、リードデータMRDの取出位置を、カウンタ回路212のカウント値に応じて、レジスタ群211が有するフリップフロップの中から指定する。すなわち、転送用FIFO208は、カウンタ回路210のカウント値をライトポインタの値、カウンタ回路212のカウント値をリードポインタの値、とするFIFOメモリとして機能する。   Although not shown in FIG. 3, the transfer FIFO 208 has selectors at the front and rear stages of the register group 211, respectively. The preceding selector designates the storage location of the read data MRD from among the flip-flops of the register group 211 according to the count value of the counter circuit 210. Further, when the read selector MDR takes out the read data MRD from the register group 211, it designates the read data MRD take-out position from the flip-flops of the register group 211 according to the count value of the counter circuit 212. That is, the transfer FIFO 208 functions as a FIFO memory in which the count value of the counter circuit 210 is a write pointer value and the count value of the counter circuit 212 is a read pointer value.

リードデータバッファ213は、リードイネーブル信号RDENによってイネーブルされ、転送用FIFO208から取得したリードデータMRDを内部クロック信号ACLKに同期させ、リードデータ出力RDATAとして内部ロジック回路へ転送する。リードデータバッファ213は、例えば、図1の従来例におけるANDゲート109とフリップフロップ110とを含む構成により実現することができる。   The read data buffer 213 is enabled by the read enable signal RDEN, synchronizes the read data MRD acquired from the transfer FIFO 208 with the internal clock signal ACLK, and transfers it to the internal logic circuit as the read data output RDATA. The read data buffer 213 can be realized by, for example, a configuration including the AND gate 109 and the flip-flop 110 in the conventional example of FIG.

メモリコントローラ200Aの内部で使用される内部クロック信号ACLKは、ANDゲート214を介してメモリに供給されるとともに、フィードバッククロック信号FBCLKとしてメモリコントローラ200Aに引き戻される。フィードバッククロック信号FBCLKは、チップ外部を経由するため、内部クロック信号ACLKに対して遅延215を有する。また、内部クロック信号ACLKは、マスク信号CLKMASKとともにANDゲート214に入力されるため、マスク信号CLKMASKのLレベル出力に応じてマスクされ、フィードバッククロック信号FBCLKとして帰還される。   An internal clock signal ACLK used inside the memory controller 200A is supplied to the memory via the AND gate 214 and is pulled back to the memory controller 200A as a feedback clock signal FBCLK. Since the feedback clock signal FBCLK passes through the outside of the chip, it has a delay 215 with respect to the internal clock signal ACLK. Since internal clock signal ACLK is input to AND gate 214 together with mask signal CLKMASK, it is masked according to the L level output of mask signal CLKMASK and fed back as feedback clock signal FBCLK.

図4は、カウンタスタート信号&マスク信号生成回路206の具体例を示す回路ブロック図である。メモリコントロールモジュール203(図3参照)から発行されるスタート信号STARTは、一方の入力がHレベルに固定されたANDゲート11を介して、フリップフロップ12に入力される。フリップフロップ12は、ANDゲート11を介して入力されるスタート信号STARTを内部クロック信号ACLKに同期してラッチし、カウンタスタートイネーブル信号PSP_ENを出力する。制御ステートマシン13は、カウンタスタートイネーブル信号PSP_EN、モード設定レジスタ205(図3参照)の値DL、内部クロック信号ACLKを入力として、カウンタスタート信号PSP、マスクイネーブル信号CLKMSK_ENを出力する。ANDゲート15は、マスクイネーブル信号CLKMSK_ENとインバータ14で反転されたカウンタスタートイネーブル信号PSP_ENとの論理積信号を、マスク信号CLKMASKとして出力する。   FIG. 4 is a circuit block diagram showing a specific example of the counter start signal & mask signal generation circuit 206. The start signal START issued from the memory control module 203 (see FIG. 3) is input to the flip-flop 12 via the AND gate 11 whose one input is fixed to the H level. The flip-flop 12 latches the start signal START input via the AND gate 11 in synchronization with the internal clock signal ACLK, and outputs a counter start enable signal PSP_EN. The control state machine 13 receives the counter start enable signal PSP_EN, the value DL of the mode setting register 205 (see FIG. 3), and the internal clock signal ACLK, and outputs the counter start signal PSP and the mask enable signal CLKMSK_EN. The AND gate 15 outputs a logical product signal of the mask enable signal CLKMSK_EN and the counter start enable signal PSP_EN inverted by the inverter 14 as the mask signal CLKMASK.

図5は、制御ステートマシン13の動作を示す状態遷移図であり、ハードウェア記述言語(Hardware Description Language)で記述された具体例である。RESET状態において、モード設定レジスタ205の値DLに1を加算した値が、所定値DL_NUMとして与えられる。   FIG. 5 is a state transition diagram showing the operation of the control state machine 13, which is a specific example described in a hardware description language. In the RESET state, a value obtained by adding 1 to the value DL of the mode setting register 205 is given as a predetermined value DL_NUM.

STANDBY状態において、3ビットのレジスタMASK_CNTに“000”が代入される。カウンタスタート信号PSPに対応する1ビットのレジスタに“0”が代入される。マスクイネーブル信号CLKMSK_ENに対応する1ビットのレジスタに“1”が代入される。そして、スタート信号STARTが発行され、カウンタスタートイネーブル信号PSP_ENに対応する1ビットのレジスタの値が“1”になると、制御ステートマシン13はMASK状態に遷移する。   In the STANDBY state, “000” is substituted into the 3-bit register MASK_CNT. “0” is assigned to the 1-bit register corresponding to the counter start signal PSP. “1” is assigned to a 1-bit register corresponding to the mask enable signal CLKMSK_EN. When the start signal START is issued and the value of the 1-bit register corresponding to the counter start enable signal PSP_EN becomes “1”, the control state machine 13 shifts to the MASK state.

MASK状態において、3ビットのレジスタMASK_CNTの値が1ビットずつ加算される。カウンタスタート信号PSPに対応する1ビットのレジスタに“0”が代入される。マスクイネーブル信号CLKMSK_ENに対応する1ビットのレジスタに“0”が代入される。1ビットずつ加算される3ビットのレジスタMASK_CNTの値が所定値DL_NUMになると、制御ステートマシン13はLASTMASK状態を経てFINAL状態に遷移する。   In the MASK state, the value of the 3-bit register MASK_CNT is added bit by bit. “0” is assigned to the 1-bit register corresponding to the counter start signal PSP. “0” is assigned to a 1-bit register corresponding to the mask enable signal CLKMSK_EN. When the value of the 3-bit register MASK_CNT added bit by bit reaches a predetermined value DL_NUM, the control state machine 13 transits to the FINAL state through the LASTMASK state.

LASTMASK状態において、3ビットのレジスタMASK_CNTの値は保持される。カウンタスタート信号PSPに対応する1ビットのレジスタに“1”が代入される。マスクイネーブル信号CLKMSK_ENに対応する1ビットのレジスタに“0”が代入される。   In the LASTMASK state, the value of the 3-bit register MASK_CNT is held. “1” is assigned to a 1-bit register corresponding to the counter start signal PSP. “0” is assigned to a 1-bit register corresponding to the mask enable signal CLKMSK_EN.

FINAL状態において、3ビットのレジスタMASK_CNTの値は保持される。カウンタスタート信号PSPに対応する1ビットのレジスタに“1”が代入される。マスクイネーブル信号CLKMSK_ENに対応する1ビットのレジスタに“1”が代入される。   In the final state, the value of the 3-bit register MASK_CNT is held. “1” is assigned to a 1-bit register corresponding to the counter start signal PSP. “1” is assigned to a 1-bit register corresponding to the mask enable signal CLKMSK_EN.

上記の構成を有する第1実施形態の動作を、図6を参照して説明する。図6は、内部クロック信号ACLKの周期が7.4ns、内部クロック信号ACLKに対するフィードバッククロック信号FBCLKの遅延215が3.7nsである場合のタイミングチャートの一例である。図6において、RP、WPはそれぞれ図2と同様にリードポインタの値、ライトポインタの値を示す。   The operation of the first embodiment having the above configuration will be described with reference to FIG. FIG. 6 is an example of a timing chart when the cycle of the internal clock signal ACLK is 7.4 ns and the delay 215 of the feedback clock signal FBCLK with respect to the internal clock signal ACLK is 3.7 ns. In FIG. 6, RP and WP indicate the read pointer value and the write pointer value, respectively, as in FIG.

STANDBY状態では、カウンタスタート信号PSPはLレベルとなるため、転送用FIFO208は動作を待機する。また、マスク信号CLKMASKはHレベルとなるため、内部クロック信号ACLKはマスクされることなくフィードバッククロック信号FBCLKとして帰還される。   In the STANDBY state, the counter start signal PSP is at L level, so the transfer FIFO 208 waits for operation. Further, since the mask signal CLKMASK is at the H level, the internal clock signal ACLK is fed back as the feedback clock signal FBCLK without being masked.

メモリコントローラ200Aの動作開始直後にメモリコントロールモジュール203から発行されるスタート信号STARTが内部クロック信号ACLKに同期してフリップフロップ12(図4参照)に取り込まれると、カウンタスタートイネーブル信号PSP_ENが出力される。制御ステートマシン13は、カウンタスタートイネーブル信号PSP_ENに対応する1ビットのレジスタの値が“1”になると、前述のように、MASK状態に遷移する(図5参照)。   When the start signal START issued from the memory control module 203 immediately after the operation of the memory controller 200A starts is taken into the flip-flop 12 (see FIG. 4) in synchronization with the internal clock signal ACLK, the counter start enable signal PSP_EN is output. . When the value of the 1-bit register corresponding to the counter start enable signal PSP_EN becomes “1”, the control state machine 13 shifts to the MASK state as described above (see FIG. 5).

MASK状態では、カウンタスタート信号PSPはLレベルとなるため、転送用FIFO208は引き続き動作を待機する。また、マスク信号CLKMASKはLレベルとなるため、内部クロック信号ACLKはマスクされてフィードバッククロック信号FBCLKとして帰還される。制御ステートマシン13は、1ビットずつ加算される3ビットのレジスタMASK_CNTの値が所定値DL_NUMになると、前述のように、LASTMASK状態に遷移する(図5参照)。   In the MASK state, the counter start signal PSP is at L level, so the transfer FIFO 208 continues to wait for operation. Since mask signal CLKMASK is at L level, internal clock signal ACLK is masked and fed back as feedback clock signal FBCLK. When the value of the 3-bit register MASK_CNT added one bit at a time reaches the predetermined value DL_NUM, the control state machine 13 transitions to the LASTMASK state as described above (see FIG. 5).

LASTMASK状態では、カウンタスタート信号PSPはHレベルとなるため、転送用FIFO208において、カウンタ回路210がイネーブルされ、カウンタ回路212も3段のレジスタ209を介してイネーブルされる。また、マスク信号CLKMASKはLレベルとなるため、内部クロック信号ACLKはマスクされてフィードバッククロック信号FBCLKとして帰還される。そして、FINAL状態では、カウンタスタート信号PSPはHレベルとなるため、転送用FIFO208は動作を継続する。また、マスク信号CLKMASKはHレベルとなるため、内部クロック信号ACLKはマスクされることなくフィードバッククロック信号FBCLKとして帰還される。   In the LASTMASK state, the counter start signal PSP becomes H level, so that the counter circuit 210 is enabled in the transfer FIFO 208 and the counter circuit 212 is also enabled via the three-stage register 209. Since mask signal CLKMASK is at L level, internal clock signal ACLK is masked and fed back as feedback clock signal FBCLK. In the final state, the counter start signal PSP is at the H level, so that the transfer FIFO 208 continues to operate. Further, since the mask signal CLKMASK is at the H level, the internal clock signal ACLK is fed back as the feedback clock signal FBCLK without being masked.

したがって、カウンタ回路210のカウント値であるライトポインタの値WPは、フィードバッククロック信号FBCLKとして帰還される内部クロック信号ACLKのマスク期間が終了するのに応じて変化し始める。また、カウンタ回路212のカウント値であるリードポインタの値RPは、カウンタスタート信号PSPがHレベルとなってから一定サイクル(ここでは3サイクル)後に変化し始める。   Therefore, the write pointer value WP, which is the count value of the counter circuit 210, starts to change as the mask period of the internal clock signal ACLK fed back as the feedback clock signal FBCLK ends. Also, the read pointer value RP, which is the count value of the counter circuit 212, starts to change after a certain cycle (here, 3 cycles) after the counter start signal PSP becomes H level.

このように、第1実施形態では、カウンタスタート信号&マスク信号生成回路206は、メモリに供給する内部クロック信号ACLKに十分に長いマスク期間を設け、そのマスク期間中にカウンタスタート信号PSPを発行する。これにより、内部クロック信号ACLKとフィードバッククロック信号FBCLKとの非同期性を吸収し、転送用FIFO208においてリードポインタに対するライトポインタの動作タイミングを調整することができる。また、マスク期間とカウンタスタート信号PSPの発行タイミングとはモード設定レジスタ205の値によって変更可能であるため、内部クロック信号ACLKに対するフィードバッククロック信号FBCLKの遅延215に応じた調整を行うことができる。   As described above, in the first embodiment, the counter start signal & mask signal generation circuit 206 provides a sufficiently long mask period for the internal clock signal ACLK supplied to the memory, and issues the counter start signal PSP during the mask period. . As a result, the asynchronousness between the internal clock signal ACLK and the feedback clock signal FBCLK can be absorbed, and the operation timing of the write pointer with respect to the read pointer can be adjusted in the transfer FIFO 208. Further, since the mask period and the issuance timing of the counter start signal PSP can be changed according to the value of the mode setting register 205, the adjustment can be performed according to the delay 215 of the feedback clock signal FBCLK with respect to the internal clock signal ACLK.

図7は、第2実施形態の回路ブロック図である。第2実施形態では、第1実施形態と対応する部分には同じ符号を付して説明を省略し、第1実施形態と異なる点を中心に説明する。メモリコントローラ200Bは、外部クロック観測モジュール216を備える。外部クロック観測モジュール216は、内部クロック信号ACLKの4倍の周波数を有する4逓倍クロック信号X4ACLKを動作クロックとして、フィードバッククロック信号FBCLKを観測し、ライトポインタイネーブル信号WP_ENを出力する。カウンタ回路210は、ライトポインタイネーブル信号WP_ENによってイネーブルされる。   FIG. 7 is a circuit block diagram of the second embodiment. In the second embodiment, portions corresponding to those in the first embodiment are denoted by the same reference numerals, description thereof is omitted, and differences from the first embodiment will be mainly described. The memory controller 200B includes an external clock observation module 216. The external clock observation module 216 observes the feedback clock signal FBCLK using the quadruple clock signal X4ACLK having a frequency four times that of the internal clock signal ACLK as an operation clock, and outputs a write pointer enable signal WP_EN. The counter circuit 210 is enabled by a write pointer enable signal WP_EN.

図8は、第2実施形態におけるカウンタスタート信号&マスク信号生成回路206の動作を示すタイミングチャートの一例である。カウンタスタート信号&マスク信号生成回路206の基本的な構成は、第1実施形態における構成と同様である。図8に示されるように、第2実施形態では、カウンタスタート信号&マスク信号生成回路206は、内部クロック信号ACLKのマスク期間を常に1サイクルとする。   FIG. 8 is an example of a timing chart showing the operation of the counter start signal & mask signal generation circuit 206 in the second embodiment. The basic configuration of the counter start signal & mask signal generation circuit 206 is the same as that in the first embodiment. As shown in FIG. 8, in the second embodiment, the counter start signal & mask signal generation circuit 206 always sets the mask period of the internal clock signal ACLK to one cycle.

図9は、外部クロック観測モジュール216の動作を示す状態遷移図であり、ハードウェア記述言語で記述された具体例である。前述のように、外部クロック観測モジュール216は、4逓倍クロック信号X4ACLKを動作クロックとする。RESET状態から復帰すると、外部クロック観測モジュール216は、4逓倍クロック信号X4ACLKに同期してFBCHECK1状態に移行する。そして、外部クロック観測モジュール216は、フィードバッククロック信号FBCLKに対応する1ビットのレジスタの値が“1”にならない限り、FBCHECK1→FBCHECK2→FBCHECK3→FBCHECK4と順に移行する。   FIG. 9 is a state transition diagram showing the operation of the external clock observation module 216, which is a specific example described in a hardware description language. As described above, the external clock observation module 216 uses the quadruple clock signal X4ACLK as an operation clock. When returning from the RESET state, the external clock observation module 216 shifts to the FBCHECK1 state in synchronization with the quadruple clock signal X4ACLK. Then, the external clock observation module 216 proceeds in order of FBCHECK 1 → FBCHECK 2 → FBCHECK 3 → FBCHECK 4 unless the value of the 1-bit register corresponding to the feedback clock signal FBCLK becomes “1”.

FBCHECK4状態においてもフィードバッククロック信号FBCLKに対応する1ビットのレジスタの値が“1”にならない場合、外部クロック観測モジュール216は、WP_EN_ACT状態に移行する。WP_EN_ACT状態において、外部クロック観測モジュール216は、ライトポインタイネーブル信号WP_ENを出力する。このようにして、外部クロック観測モジュール216は、フィードバッククロック信号FBCLKが4逓倍クロック信号X4ACLKの4サイクルの間Hレベルにならない場合に、ライトポインタイネーブル信号WP_ENを出力する。   Even in the FBCHECK4 state, when the value of the 1-bit register corresponding to the feedback clock signal FBCLK does not become “1”, the external clock observation module 216 shifts to the WP_EN_ACT state. In the WP_EN_ACT state, the external clock observation module 216 outputs a write pointer enable signal WP_EN. In this way, the external clock observation module 216 outputs the write pointer enable signal WP_EN when the feedback clock signal FBCLK does not become H level for four cycles of the quadruple clock signal X4ACLK.

上記の構成を有する第2実施形態の動作を、図10を参照して説明する。カウンタスタート信号&マスク信号生成回路206によって内部クロック信号ACLKが1サイクル分マスクされると、マスク情報がフィードバッククロック信号FBCLKに伝わり、フィードバッククロック信号FBCLKが1サイクル分欠ける。フィードバッククロック信号FBCLKが4逓倍クロック信号X4ACLKの4サイクルの間Hレベルにならないため、前述のように、外部クロック観測モジュール216は、ライトポインタイネーブル信号WP_ENを出力する。これにより、カウンタ回路210がイネーブルされ、フィードバッククロック信号FBCLKに同期してライトポインタの値WPが変化し始める。   The operation of the second embodiment having the above configuration will be described with reference to FIG. When the internal clock signal ACLK is masked for one cycle by the counter start signal & mask signal generation circuit 206, the mask information is transmitted to the feedback clock signal FBCLK, and the feedback clock signal FBCLK is missing for one cycle. Since the feedback clock signal FBCLK does not become H level for 4 cycles of the quadruple clock signal X4ACLK, the external clock observation module 216 outputs the write pointer enable signal WP_EN as described above. As a result, the counter circuit 210 is enabled and the value WP of the write pointer starts to change in synchronization with the feedback clock signal FBCLK.

このように、第2実施形態では、カウンタスタート信号&マスク信号生成回路206は、メモリに供給する内部クロック信号ACLKを1サイクル分マスクする。そして、外部クロック観測モジュール216は、4逓倍クロック信号X4ACLKを動作クロックとしてフィードバッククロック信号FBCLKを観測し、マスク情報を検出するとライトポインタイネーブル信号WP_ENを出力する。これにより、第2実施形態においても、内部クロック信号ACLKとフィードバッククロック信号FBCLKとの非同期性を吸収し、転送用FIFO208においてリードポインタに対するライトポインタの動作タイミングを調整することができる。また、カウンタスタート信号PSPの発行タイミングはモード設定レジスタ205の値によって変更可能であるため、内部クロック信号ACLKに対するフィードバッククロック信号FBCLKの遅延215に応じた調整を行うことができる。また、外部クロック観測モジュール216は、4逓倍クロック信号X4ACLKを用いることで、確実にマスク情報を検出することができる。   Thus, in the second embodiment, the counter start signal & mask signal generation circuit 206 masks the internal clock signal ACLK supplied to the memory for one cycle. The external clock observation module 216 observes the feedback clock signal FBCLK using the quadruple clock signal X4ACLK as an operation clock, and outputs a write pointer enable signal WP_EN when mask information is detected. Thereby, also in the second embodiment, the asynchronousness between the internal clock signal ACLK and the feedback clock signal FBCLK can be absorbed, and the operation timing of the write pointer with respect to the read pointer can be adjusted in the transfer FIFO 208. Further, since the issuance timing of the counter start signal PSP can be changed according to the value of the mode setting register 205, adjustment according to the delay 215 of the feedback clock signal FBCLK with respect to the internal clock signal ACLK can be performed. Further, the external clock observation module 216 can reliably detect the mask information by using the quadruple clock signal X4ACLK.

以上、詳細に説明したように、前記第1、第2を含む実施形態によれば、メモリに供給する内部クロック信号ACLKをマスクすることで、内部クロック信号ACLKとフィードバッククロック信号FBCLKとの非同期性を吸収し、安定したデータの取り込みが可能になる。前記第1、第2を含む実施形態によれば、端子を追加することなく確実にデータ転送を行うことができる。   As described above in detail, according to the first and second embodiments, the internal clock signal ACLK supplied to the memory is masked so that the internal clock signal ACLK and the feedback clock signal FBCLK are asynchronous. Can be absorbed and stable data can be captured. According to the first and second embodiments, it is possible to reliably transfer data without adding a terminal.

尚、本発明は前記実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲内での種々の改良、変更が可能であることは言うまでもない。   Needless to say, the present invention is not limited to the above-described embodiment, and various improvements and modifications can be made without departing from the spirit of the present invention.

例えば、第2実施形態では、外部クロック観測モジュール216が4逓倍クロック信号X4ACLKを用いる場合を説明したが、これに限定されない。外部クロック観測モジュール216は、4逓倍もしくはそれ以上の高速クロック信号を用いてもよい。   For example, in the second embodiment, the case where the external clock observation module 216 uses the quadruple clock signal X4ACLK has been described, but the present invention is not limited to this. The external clock observation module 216 may use a high-speed clock signal multiplied by 4 or more.

また、前記実施形態において転送用FIFO208のレジスタ群211は例えば3つのフリップフロップを含むとしたが、これに限定されないことは言うまでもない。   In the above embodiment, the register group 211 of the transfer FIFO 208 includes, for example, three flip-flops. However, it is needless to say that the present invention is not limited to this.

また、上述したメモリコントローラとメモリとを備える情報処理装置としても本発明は実現可能である。   The present invention can also be realized as an information processing apparatus including the memory controller and the memory described above.

尚、内部クロック信号ACLK、フィードバッククロック信号FBCLKは、それぞれ内部クロック信号、帰還クロック信号の一例である。レジスタ群211は、レジスタ群の一例である。カウンタ回路210及びセレクタは、ライトポインタの一例である。カウンタ回路212及びセレクタは、リードポインタの一例である。転送用FIFO208は、FIFOメモリの一例である。カウンタスタート信号PSPは、起動信号の一例である。4逓倍クロック信号X4ACLKは、高速クロック信号の一例である。外部クロック観測モジュール216は、観測モジュールの一例である。   The internal clock signal ACLK and the feedback clock signal FBCLK are examples of the internal clock signal and the feedback clock signal, respectively. The register group 211 is an example of a register group. The counter circuit 210 and the selector are examples of a write pointer. The counter circuit 212 and the selector are examples of read pointers. The transfer FIFO 208 is an example of a FIFO memory. The counter start signal PSP is an example of a start signal. The quadruple clock signal X4ACLK is an example of a high-speed clock signal. The external clock observation module 216 is an example of an observation module.

200A、200B メモリコントローラ
205 モード設定レジスタ
206 カウンタスタート信号&マスク信号生成回路
207 データ取込コントロール回路
208 転送用FIFO
210、212 カウンタ回路
211 レジスタ群
213 リードデータバッファ
216 外部クロック観測モジュール
ACLK 内部クロック信号
FBCLK フィードバッククロック信号
MRD リードデータ
PSP カウンタスタート信号
X4ACLK 4逓倍クロック信号
200A, 200B Memory controller 205 Mode setting register 206 Counter start signal & mask signal generation circuit 207 Data capture control circuit 208 Transfer FIFO
210, 212 Counter circuit 211 Register group 213 Read data buffer 216 External clock observation module ACLK Internal clock signal FBCLK Feedback clock signal MRD Read data PSP Counter start signal X4ACLK Quadruple clock signal

Claims (6)

内部クロック信号を外部のメモリに供給し、前記メモリとデータ転送を行うメモリコントローラであって、
前記メモリから読み出されたリードデータを、前記メモリに入力される前記内部クロック信号を帰還した帰還クロック信号に同期して格納するレジスタ群と、
前記レジスタ群に前記リードデータを取り込む際に、前記リードデータの格納位置を、前記帰還クロック信号に同期して指定するライトポインタと、
前記レジスタ群から前記リードデータを取り出す際に、前記リードデータの取出位置を、前記内部クロック信号に同期して指定するリードポインタと、
を含むFIFOメモリを備え、
前記メモリに供給する前記内部クロック信号の一部をマスクし、前記リードポインタに対する前記ライトポインタの動作タイミングを調整する
ことを特徴とするメモリコントローラ。
A memory controller for supplying an internal clock signal to an external memory and performing data transfer with the memory;
A group of registers for storing read data read from the memory in synchronization with a feedback clock signal obtained by feeding back the internal clock signal input to the memory;
A write pointer that specifies the storage location of the read data in synchronization with the feedback clock signal when the read data is taken into the register group;
A read pointer for designating the read data extraction position in synchronization with the internal clock signal when the read data is extracted from the register group;
FIFO memory including
A part of the internal clock signal supplied to the memory is masked, and the operation timing of the write pointer with respect to the read pointer is adjusted.
前記メモリに供給する前記内部クロック信号のマスク期間中に、前記リードポインタ及び前記ライトポインタを起動する起動信号を出力する
ことを特徴とする請求項1に記載のメモリコントローラ。
The memory controller according to claim 1, wherein an activation signal for activating the read pointer and the write pointer is output during a mask period of the internal clock signal supplied to the memory.
前記マスク期間及び前記起動信号の出力タイミングを設定するモード設定レジスタ
を備えることを特徴とする請求項2に記載のメモリコントローラ。
The memory controller according to claim 2, further comprising a mode setting register that sets an output timing of the mask period and the activation signal.
前記内部クロック信号の整数倍の周波数を有する高速クロック信号を動作クロックとして、前記帰還クロック信号を観測する観測モジュールを備え、
前記メモリに供給する前記内部クロック信号のマスク部分の検出に応じて前記ライトポインタを起動する
ことを特徴とする請求項1に記載のメモリコントローラ。
An observation module for observing the feedback clock signal, using a high-speed clock signal having an integer multiple of the internal clock signal as an operation clock;
The memory controller according to claim 1, wherein the write pointer is activated in response to detection of a mask portion of the internal clock signal supplied to the memory.
前記高速クロック信号は、前記内部クロック信号の4倍の周波数を有する4逓倍クロック信号である
ことを特徴とする請求項4に記載のメモリコントローラ。
The memory controller according to claim 4, wherein the high-speed clock signal is a quadruple clock signal having a frequency four times that of the internal clock signal.
入力されたクロック信号に同期してデータを出力するメモリと、
内部クロック信号を前記メモリに供給し、前記メモリとデータ転送を行うメモリコントローラと、
を備える情報処理装置であって、
前記メモリコントローラは、
前記メモリから読み出されたリードデータを、前記メモリに入力される前記内部クロック信号を帰還した帰還クロック信号に同期して格納するレジスタ群と、
前記レジスタ群に前記リードデータを取り込む際に、前記リードデータの格納位置を、前記帰還クロック信号に同期して指定するライトポインタと、
前記レジスタ群から前記リードデータを取り出す際に、前記リードデータの取出位置を、前記内部クロック信号に同期して指定するリードポインタと、
を含むFIFOメモリを備え、
前記メモリに供給する前記内部クロック信号の一部をマスクし、前記リードポインタに対する前記ライトポインタの動作タイミングを調整する
ことを特徴とする情報処理装置。
A memory that outputs data in synchronization with the input clock signal;
A memory controller for supplying an internal clock signal to the memory and transferring data with the memory;
An information processing apparatus comprising:
The memory controller is
A group of registers for storing read data read from the memory in synchronization with a feedback clock signal obtained by feeding back the internal clock signal input to the memory;
A write pointer that specifies the storage location of the read data in synchronization with the feedback clock signal when the read data is taken into the register group;
A read pointer for designating the read data extraction position in synchronization with the internal clock signal when the read data is extracted from the register group;
FIFO memory including
An information processing apparatus comprising: masking a part of the internal clock signal supplied to the memory and adjusting an operation timing of the write pointer with respect to the read pointer.
JP2010038672A 2010-02-24 2010-02-24 Memory controller and information processing apparatus Expired - Fee Related JP5418291B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010038672A JP5418291B2 (en) 2010-02-24 2010-02-24 Memory controller and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010038672A JP5418291B2 (en) 2010-02-24 2010-02-24 Memory controller and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2011175429A JP2011175429A (en) 2011-09-08
JP5418291B2 true JP5418291B2 (en) 2014-02-19

Family

ID=44688235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010038672A Expired - Fee Related JP5418291B2 (en) 2010-02-24 2010-02-24 Memory controller and information processing apparatus

Country Status (1)

Country Link
JP (1) JP5418291B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265701A (en) * 1992-03-17 1993-10-15 Japan Radio Co Ltd Fifo memory
JP3581666B2 (en) * 2001-02-27 2004-10-27 株式会社日立製作所 Information processing equipment
JP2003248619A (en) * 2002-02-22 2003-09-05 Oki Data Corp Device accessing method
US7296097B2 (en) * 2003-03-20 2007-11-13 Renesas Technology Corp. Memory card and initialization setting method thereof to avoid initializing operation failure in a memory card
JP4747621B2 (en) * 2005-03-18 2011-08-17 日本電気株式会社 Memory interface control circuit
JP2007247774A (en) * 2006-03-15 2007-09-27 Nec Saitama Ltd Hinge assembling system
JP2008186154A (en) * 2007-01-29 2008-08-14 Kyocera Corp Data processor and data processing method
JP2009181667A (en) * 2008-01-31 2009-08-13 Sony Corp Semiconductor memory device and operation method thereof

Also Published As

Publication number Publication date
JP2011175429A (en) 2011-09-08

Similar Documents

Publication Publication Date Title
KR100910852B1 (en) Semiconductor device
US10725950B2 (en) Peripheral interface circuit for serial memory
JP2010287304A (en) Semiconductor memory device and method of generating output enable signal
TWI452576B (en) Memory device including a memory block having a fixed latency data output
JP2007048022A (en) Asynchronous bus interface and its processing method
US7774666B2 (en) Analyzer
TWI437411B (en) Fifo apparatus for the boundary of clock trees and method thereof
JP5418291B2 (en) Memory controller and information processing apparatus
KR101747885B1 (en) Shift circuit
WO2018072439A1 (en) Test data generation method and device, and computer storage medium
JP2007087468A (en) Output control signal generation circuit
JP5082954B2 (en) Signal processing circuit
JP6512640B1 (en) Asynchronous FIFO circuit
JP4633334B2 (en) Information processing apparatus and memory access arbitration method
KR100596980B1 (en) Apparatus, System and Method for Generating Self-generated Strobe Signal of Peripheral Device
JP3562416B2 (en) Inter-LSI data transfer system and source synchronous data transfer method used therefor
JP4114749B2 (en) MEMORY CONTROL DEVICE AND ELECTRONIC DEVICE
JP2008134926A (en) Synchronization circuit
JP5126010B2 (en) Memory access control circuit and image processing apparatus
JP4825065B2 (en) Clock transfer circuit
JP2008085519A (en) Clock control circuit and semiconductor integrated circuit
JP2010146352A (en) Memory access control circuit and memory access control method
JP2007336028A (en) Variable delay control apparatus
JP2012122943A (en) Semiconductor testing device
JP3450667B2 (en) Data processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121031

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131009

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131022

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131104

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees