Check patentability & draft patents in minutes with Patsnap Eureka AI!

Memory controller and method for controlling commands

A memory controller and command control technology, applied in static memory, digital memory information, instruments, etc., can solve the problem of high power consumption of memory controller, inability to ensure DDR2SDRAMBANK interleaved access performance at low frequency, and difficulty in meeting the establishment time between logic registers and retention time to achieve high performance

Active Publication Date: 2012-04-11
NEW H3C TECH CO LTD
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0024] Although as Figure 7 The shown single-rate memory controller can achieve high-performance Bank interleaving access with 100% bus efficiency, but the operating frequency of the Ctrl module in the single-rate memory controller must be the same as that of the external DDR2 SDRAM bus. When the external DDR2 SDRAM bus When working at a higher frequency, the Ctrl module must also work at a higher frequency, and because the logic function of the Ctrl module is very complex, it is difficult to meet the setup time and hold time between logic registers when it works at a high frequency
For example, if the current most high-end Xilinx or Altera FPGA device is used to implement the Ctrl module, its IO interface can meet the frequency above 1GMHz, but its internal logic can only generally run below 300MHz, which obviously cannot meet the current popular 333MHz DDR2 SDRAM and 400MHz DDR2 SDRAM Operational Requirements
In addition, when the functionally complex Ctrl module works at a very high frequency, the power consumption of the entire memory controller will be very large, which will cause power supply and heat dissipation problems
[0025] It can be seen that the BANK interleaving access performance of DDR2 SDRAM cannot be guaranteed at a lower frequency in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory controller and method for controlling commands
  • Memory controller and method for controlling commands
  • Memory controller and method for controlling commands

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] This embodiment takes DDR2 SDRAM as an example.

[0074] Such as Figure 10 As shown, the memory controller for DDR2 SDRAM in this embodiment includes a Ctrl module, a Write data path module, and a Read datapath module running at the internal operating frequency of 133MHz, and the memory controller also includes a user interface that can interact with user logic module, and a DRAM IO interface module that connects to the external bus of DDR2 SDRAM and realizes the conversion between the internal operating frequency and the external bus frequency.

[0075] The Ctrl module is mainly used to realize the matching of all DRAM interface protocols, DRAM interface timing parameters, and generate various CMDs; the Ctrl module has two output commands CMD[0] and CMD[1], and the Ctrl module can be based on user logic instructions , according to Figure 9 The state machine shown performs state transition, and generates two 133MHz half-rate ACT commands and RD / RD+AP / WR / WR in parall...

Embodiment 2

[0094] This embodiment takes DDR3 SDRAM as an example. The internal structures of DDR3 SDRAM and DDR2 SDRAM are basically the same, and the interface protocols are also basically the same. Therefore, the implementation of the memory controller for DDR3 SDRAM in this embodiment is basically the same as that for DDR2 SDRAM memory controller in Embodiment 1.

[0095] Such as Figure 12 As shown, the memory controller for DDR3 SDRAM in this embodiment includes a Ctrl module, a Write data path module, and a Read datapath module running at the internal operating frequency of 167MHz, and the memory controller also includes a user interface that can interact with user logic module, and a DRAM IO interface module that connects to the external bus of DDR3 SDRAM and realizes the conversion between the internal operating frequency and the external bus frequency.

[0096] The Ctrl module is mainly used to realize the matching of all DRAM interface protocols, DRAM interface timing paramete...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a memory controller and a method for controlling commands. When an inactivated RANK in external DRAM is required to be accessed, an ACT command and an access command with low rate are generated in parallel by aiming at the BANK, and the parallel ACT command and the access command with low rate are carried out serial output according to high speed successively to an external DRAM bus, thereby, high performance can be ensured when interleaved access of the BANK is carried out. And the problems of high internal work frequency of memory controller, power supply and heat radiation are simultaneously avoided.

Description

technical field [0001] The present invention relates to memory controller (Memory Controller) technology, particularly relate to mainly applicable to the 2nd generation double data rate (Double Data Rate2, DDR2) Synchronous Dynamic Random Access Memory (Synchronous Dynamic Random Access Memory, SDRAM) and the 3rd generation A memory controller of a double data rate (Double Data Rate 3, DDR3) SDRAM, and a command control method that can be used to realize the memory controller. Background technique [0002] In today's computer systems, such as figure 1 As shown, the CPU and I / O devices need to access the data in the external memory system through the memory controller. The external memory system connected to the memory controller is realized by the DRAM device. Currently, DDR2 SDRAM and DDR3 SDRAM are the most widely used. Therefore, the external memory system may also be referred to as an external DRAM system. [0003] The memory controller is mainly responsible for readin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G11C7/22G06F13/16
CPCG06F13/16G11C7/22G06F13/1689
Inventor 任凯
Owner NEW H3C TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More