CN102034526B - Method for realizing static and dynamic random access memory (SDRAM) refresh by using field programmable gate array (FPGA) - Google Patents

Method for realizing static and dynamic random access memory (SDRAM) refresh by using field programmable gate array (FPGA) Download PDF

Info

Publication number
CN102034526B
CN102034526B CN 201010598447 CN201010598447A CN102034526B CN 102034526 B CN102034526 B CN 102034526B CN 201010598447 CN201010598447 CN 201010598447 CN 201010598447 A CN201010598447 A CN 201010598447A CN 102034526 B CN102034526 B CN 102034526B
Authority
CN
China
Prior art keywords
refresh
sdram
fpga
memory
power consumption
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.)
Active
Application number
CN 201010598447
Other languages
Chinese (zh)
Other versions
CN102034526A (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.)
Dawning Network Technology Co ltd
Original Assignee
Dawning Information Industry 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 Dawning Information Industry Co Ltd filed Critical Dawning Information Industry Co Ltd
Priority to CN 201010598447 priority Critical patent/CN102034526B/en
Publication of CN102034526A publication Critical patent/CN102034526A/en
Application granted granted Critical
Publication of CN102034526B publication Critical patent/CN102034526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a novel method for realizing static and dynamic random access memory (SDRAM) refresh by using field programmable gate array (FPGA). In a memory controller, N chip selections (CS) are required to be refreshed; at a preset refresh time, a refresh command is sent to gate a first chip selection CS0; before the refresh period of the CS0 ends and after the CS0 starts M periods, a refresh command is started to gate a second chip selection CS1; and in the same way, all memories are refreshed. When the technical scheme is adopted, the refresh current and refresh power consumption of SDRAM particles are reduced effectively. The method has obvious power consumption reducing effect particularly when used in a large-capacity and multi-memory system, so the method can effectively reduce the machine power consumption in the system.

Description

A kind of method that SDRAM that realizes with FPGA refreshes
Technical field
The present invention relates to Memory Controller Hub design, be specifically related to a kind of that realize with FPGA, reduce the method that SDRAM refreshes power consumption.
Background technology
Semiconductor storage unit has two kinds of dynamic RAM (DRAM) and static RAMs (SRAM).The inner form storage data that adopt bistable circuit of SRAM do not need refresh circuit can preserve the data of storage inside.The storage unit of DRAM is to be made of transistor and electric capacity, and data are stored in electric capacity, because electric capacity can leak electricity, along with passage of time, can cause the data that are stored in electric capacity destroyed, therefore need to be to being stored in the data recharge periodically in electric capacity.The DRAM that can synchronous working with cpu clock is called SDRAM.
The refreshing to be divided into automatically of SDRAM refreshed (auto refresh, AR) and two kinds of patterns of self-refresh (self refresh, SR).No matter be which kind of refreshes mode, do not need the outside that row address information is provided, row address is selected to be provided by built-in function.The data that SR is mainly used under the park mode low power consumpting state are preserved.Content of the present invention relates to the AR operation.According to the DDR2JTAG standard, approximately need to require to have refreshed 8192 all row every 64ms, the time interval that every like this row refreshes is approximately 7.8us.Stop other operations when refreshing, refresh operation has limit priority, a command signal of SDRAM response external input when refreshing, then enter auto refresh mode, the asynchronism(-nization) that the SDRAM particle refresh command that amount of capacity is different is kept, such as SDRAM time of 256Mb is 75ns, that 512Mb is 105ns, that 1Gb is 127.5ns, and that 2Gb is 197.5ns.SDRAM to refresh electric current larger, bring thus larger power consumption.In large capacity, multi-memory system, the power consumption that memory refresh brings can not look down upon, and needs to reduce the power consumption brought due to the SDRAM refresh operation in large capacity, multi-memory system for this reason as far as possible, improves running efficiency of system, less system cost.
in " selecting the dynamic RAM of the self refresh operation of execution memory bank ", No. 00102790.5 patent mentioned a kind of method that reduces the dynamic RAM power consumption, the method only refreshes for the memory bank of those storage data when refreshing, and be for all memory banks unlike traditional refreshing, like this by selecting to refresh to reduce targetedly system power dissipation, but the method is being applied to large capacity, need to increase circuit design in the time of in multi-memory system, the extra circuit power consumption that has increased again system, and this patent is the power-dissipation-reduced that carries out for self refresh operation.
The method of the reduction bank refresh power consumption of mentioning in No. 200510071912.9 patents self refresh control apparatus and the method thereof of memory bank " in the semiconductor storage based on ", the method is also by optionally refreshing when the self refresh operation, can effectively reduce self-refresh electric current and power consumption, the not mentioned huge power consumption of bringing due to automatic refresh operation that how to reduce of the method, and in large capacity, many internal memories field, also need extra circuits to keep, also brought thus extra power consumption expense.
Summary of the invention
For addressing the above problem, the present invention realizes refreshing of SDRAM with FPGA, when refresh time arrives, send refreshing instruction by FPGA to SDRAM, adopt the method reduction SDRAM particle of the stack of avoiding the peak hour to refresh the power consumption of bringing during SDRAM refreshes AR automatically, and then reduce the power consumption of large capacity, multi-memory system.
A kind of method that sdram memory particle of realizing with FPGA refreshes, step is as follows:
There is sheet to select CS to refresh in A, Memory Controller Hub;
B, when the regulation refresh time arrives, send refresh command, first sheet of gating selects CS0 to refresh;
C, when not complete in the CS0 refresh cycle, CS0 receives refreshing instruction M all after dates, FPGA sends refresh command again, second sheet of gating selects CS1;
D, refresh full memory by that analogy.
A preferred technical solution of the present invention is: the value of M is variable.
Another optimal technical scheme of the present invention is: in the different situation of internal memory model, utilize the FPGA programmable features, the refresh cycle of CSn can be adjusted at any time.
By adopting this scheme, can effectively reduce refreshing electric current and refreshing power consumption of SDRAM particle.In large capacity, multi-memory system (N 〉=4), particularly remarkable to the reduction of power consumption, can effectively reduce system's Overall Power Consumption.
Description of drawings
Fig. 1 is that the present invention refreshes schematic diagram
Embodiment
As shown in Figure 1.if there are three sheets to select CS to refresh in current Memory Controller Hub, when the refresh time of regulation arrives, as shown in the 1st clock period in figure, FPGA sends refresh command, first sheet of gating selects CS0, not complete in the CS0 refresh cycle, CS0 starts and refreshes 5 all after dates, send second refresh command, second sheet of gating selects CS1, refresh 5 all after dates at the CS1 gating equally, send the 3rd refresh command, the 3rd sheet of gating selects CS2 simultaneously, because the internal memory model is identical, under the prerequisite that satisfies in refresh cycle of CS2, the refresh cycle of CS0 and CS1 also must satisfy.Under normal circumstances, after startup CS0 refreshes, if the refresh cycle is T, must wait for after refresh cycle T finishes could starting refreshing of CS1, the like refresh these three sheets to select the time of needs be 3T, and under this refresh mode, after starting CS0 and refreshing to having refreshed CS2, altogether do not want the time (being T+10 cycle as accompanying drawing) of 2T, refresh time reduces greatly, can effectively reduce and refresh electric current and refresh the power consumption of bringing.

Claims (3)

1. method that the sdram memory particle of realizing with FPGA refreshes, it is characterized in that: step is as follows:
Have sheet to select that in CS, memory grain need to refresh in A, Memory Controller Hub, when the regulation refresh time arrived, FPGA sent refresh command, and first sheet of gating selects CS0;
B, not complete in the CS0 refresh cycle, CS0 start M all after date, start refresh command, and second sheet of gating selects CS1;
C, refresh full memory by that analogy.
2. a kind of method that refreshes of sdram memory particle of realizing with FPGA as claimed in claim 1, it is characterized in that: the value of M is variable.
3. a kind of method that refreshes of sdram memory particle of realizing with FPGA as claimed in claim 1, it is characterized in that: in the different situation of internal memory model, utilize the FPGA programmable features, in CSn, the refresh cycle of memory grain can be adjusted at any time.
CN 201010598447 2010-12-17 2010-12-17 Method for realizing static and dynamic random access memory (SDRAM) refresh by using field programmable gate array (FPGA) Active CN102034526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010598447 CN102034526B (en) 2010-12-17 2010-12-17 Method for realizing static and dynamic random access memory (SDRAM) refresh by using field programmable gate array (FPGA)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010598447 CN102034526B (en) 2010-12-17 2010-12-17 Method for realizing static and dynamic random access memory (SDRAM) refresh by using field programmable gate array (FPGA)

Publications (2)

Publication Number Publication Date
CN102034526A CN102034526A (en) 2011-04-27
CN102034526B true CN102034526B (en) 2013-06-12

Family

ID=43887299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010598447 Active CN102034526B (en) 2010-12-17 2010-12-17 Method for realizing static and dynamic random access memory (SDRAM) refresh by using field programmable gate array (FPGA)

Country Status (1)

Country Link
CN (1) CN102034526B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426854A (en) * 2011-12-13 2012-04-25 曙光信息产业(北京)有限公司 Method for lowering DDR3 (Double Data Rate) memory refreshing power consumption
CN102426850A (en) * 2011-12-13 2012-04-25 曙光信息产业(北京)有限公司 Method for reducing DDR2 initialization time
CN108597551B (en) * 2018-04-26 2020-12-08 上海交通大学 Memory refreshing method and system for read-intensive big data processing
CN115357952B (en) * 2022-10-18 2023-02-03 合肥奎芯集成电路设计有限公司 Line hammer attack defense method and device for dynamic memory

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5926434A (en) * 1997-06-26 1999-07-20 Mitsubishi Denki Kabushiki Kaisha Synchronous semiconductor memory device capable of reducing electricity consumption on standby
US6453400B1 (en) * 1997-09-16 2002-09-17 Nec Corporation Semiconductor integrated circuit device
CN1853175A (en) * 2003-09-29 2006-10-25 英特尔公司 Memory buffer device integrating refresh
CN101266833A (en) * 2007-03-16 2008-09-17 富士通株式会社 Semiconductor memory, memory controller, system, and operating method of semiconductor memory

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101607489B1 (en) * 2009-01-19 2016-03-30 삼성전자주식회사 Refresh control circuit, semiconductor memory device having the refresh control circuit and memory system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5926434A (en) * 1997-06-26 1999-07-20 Mitsubishi Denki Kabushiki Kaisha Synchronous semiconductor memory device capable of reducing electricity consumption on standby
US6453400B1 (en) * 1997-09-16 2002-09-17 Nec Corporation Semiconductor integrated circuit device
CN1853175A (en) * 2003-09-29 2006-10-25 英特尔公司 Memory buffer device integrating refresh
CN101266833A (en) * 2007-03-16 2008-09-17 富士通株式会社 Semiconductor memory, memory controller, system, and operating method of semiconductor memory

Also Published As

Publication number Publication date
CN102034526A (en) 2011-04-27

Similar Documents

Publication Publication Date Title
CN103915110B (en) A kind of controller of the method for refreshing of volatile memory and the volatile memory of correlation
US7353329B2 (en) Memory buffer device integrating refresh logic
TWI498890B (en) Method of operating psram and related memory device
JP6169658B2 (en) Directed automatic refresh synchronization
EP1751769B1 (en) Method and system for providing seamless self-refresh for directed bank refresh in volatile memories
US9418723B2 (en) Techniques to reduce memory cell refreshes for a memory device
US7342841B2 (en) Method, apparatus, and system for active refresh management
CN101156211B (en) Register read for volatile memory
EP3364298B1 (en) Memory circuit system and method
US8972673B2 (en) Power management of memory circuits by virtual memory simulation
US20050108460A1 (en) Partial bank DRAM refresh
CN103810126B (en) Mixing DRAM memory and the method for reducing power consumption when the DRAM memory refreshes
CN102034526B (en) Method for realizing static and dynamic random access memory (SDRAM) refresh by using field programmable gate array (FPGA)
CN102737706B (en) The method of the refreshing in control volatile memory and system
CN103959388B (en) Method for scheduling memory refresh operations including power states
KR100899517B1 (en) Semiconductor memory device
WO2014186229A1 (en) Methods and systems for smart refresh of dynamic random access memory
JP4555956B2 (en) Memory system, memory controller, and refresh operation control method for memory controller
US7392339B2 (en) Partial bank DRAM precharge
CN104658578A (en) SDRAM (synchronous dynamic random access memory) control method in high-speed data acquisition system
CN100470669C (en) Method for prolonging use time of portable device through controlling memory
US11947840B2 (en) Inter-die refresh control
CN102426854A (en) Method for lowering DDR3 (Double Data Rate) memory refreshing power consumption
US10013371B2 (en) Configurable memory circuit system and method
CN103703448A (en) Memory scheduling method and memory controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Li Jing

Inventor after: Li Nanning

Inventor after: Bai Zongyuan

Inventor after: Zhang Lei

Inventor after: Zhang Yingwen

Inventor after: Ji Kui

Inventor before: Li Jing

Inventor before: Bai Zongyuan

Inventor before: Zhang Lei

Inventor before: Zhang Yingwen

Inventor before: Ji Kui

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: LI JING BAI ZONGYUAN ZHANG LEI ZHANG YINGWEN JI KUI TO: LI JING LI NANNING BAI ZONGYUAN ZHANG LEI ZHANG YINGWEN JI KUI

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221215

Address after: 430040 NO.666, Wuhuan Avenue, linkonggang economic and Technological Development Zone, Wuhan City, Hubei Province (10)

Patentee after: Dawning Network Technology Co.,Ltd.

Address before: 300384 Xiqing District, Tianjin Huayuan Industrial Zone (outside the ring) 15 1-3, hahihuayu street.

Patentee before: DAWNING INFORMATION INDUSTRY Co.,Ltd.

TR01 Transfer of patent right