CN1549272A - Power-saving static memory control circuit - Google Patents
Power-saving static memory control circuit Download PDFInfo
- Publication number
- CN1549272A CN1549272A CNA031310206A CN03131020A CN1549272A CN 1549272 A CN1549272 A CN 1549272A CN A031310206 A CNA031310206 A CN A031310206A CN 03131020 A CN03131020 A CN 03131020A CN 1549272 A CN1549272 A CN 1549272A
- Authority
- CN
- China
- Prior art keywords
- address
- enable signal
- signal
- control circuit
- memory
- 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.)
- Granted
Links
- 230000003068 static effect Effects 0.000 title claims abstract description 27
- 230000000903 blocking effect Effects 0.000 claims description 10
- 230000003139 buffering effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Static Random-Access Memory (AREA)
Abstract
Description
技术领域technical field
本发明是关于一种静态存储器控制电路,尤指一种省电的静态存储器控制电路。The invention relates to a static memory control circuit, in particular to a power-saving static memory control circuit.
背景技术Background technique
一般而言,存储器主要区分为静态存储器(SRAM)以及动态存储器(DRAM)等二大类。其中,在相同的晶片面积下,动态存储器容量大于静态存储器四倍以上、但是在速度上,静态存储器却是比动态存储器快四倍以上。此外,静态存储器价格也远高于动态存储器、其耗电也大于动态存储器。故为了折衷价格与效能,在电脑中的设计上,常在中央处理器(CPU)与动态存储器的间加入部分静态存储器作为快取存储器(Cache),以提供快取的功能。Generally speaking, memory is mainly divided into two categories: static memory (SRAM) and dynamic memory (DRAM). Among them, under the same chip area, the capacity of the dynamic memory is more than four times that of the static memory, but in terms of speed, the static memory is more than four times faster than the dynamic memory. In addition, the price of static memory is much higher than that of dynamic memory, and its power consumption is also greater than that of dynamic memory. Therefore, in order to compromise the price and performance, in the design of the computer, a part of the static memory is often added between the central processing unit (CPU) and the dynamic memory as a cache memory (Cache) to provide a cache function.
图1是现有静态存储器的结构图。其中,地址解码器10是用以读取地址线的资料并进行地址解码,以输出地址信号来选择存储器单元14的特定存储器区段。晶片致能信号(-CS)用以致能存储器单元14,使其能对所选择的特定存储器区段进行存储器读写动作,当晶片致能信号(-CS)被作用、且操作致能信号(-OE)亦被作用,则可对存储器单元14进行读取,而将特定存储器区段所储存的资料经由缓冲器18的缓冲后输出至外部电路;而当晶片致能信号(-CS)被作用、且写入致能信号(-WE)亦被作用,则可对存储器单元14进行写入,以将由外部电路输入至缓冲器18的资料写入特定存储器区段。前述晶片致能信号、操作致能信号以及写入致能信号均使用低准位触发的模式,即以低准位为作用状态,高准位为不作用状态。FIG. 1 is a structural diagram of an existing static memory. Wherein, the
然而,近来可携式装置日益普及,要求的不只是快速,更要能达到省电的目的。以一般静态存储器的操作为例,在待命状态下,整个静态存储器只需要2微安培,然而在操作状态下(读取资料或写入资料时,即晶片致能信号为低准位),整个静态存储器可能需要20毫安培,其功率消耗相差一万倍。加上静态存储器原本功率消耗就比较大,所以已知静态存储器在功率消耗的部份有许多改进的空间。However, with the increasing popularity of portable devices recently, not only fast speed is required, but also power saving is required. Taking the operation of a general static memory as an example, in the standby state, the entire static memory only needs 2 microamperes, but in the operating state (when reading data or writing data, that is, the chip enable signal is low), the entire Static memory may require 20 milliamps, a ten thousand-fold difference in power consumption. In addition, the power consumption of the static memory is relatively large, so it is known that the power consumption of the static memory has a lot of room for improvement.
发明内容Contents of the invention
本发明的目的是在提供一种省电的静态存储器控制电路,以便能减少静态存储器读取时的功率消耗。The object of the present invention is to provide a power-saving static memory control circuit, so as to reduce the power consumption when the static memory is read.
为达成上述目的,本发明揭露一种省电的静态存储器控制电路,其是由晶片致能信号、操作致能信号及写入致能信号来控制存储器的读写,其中,当晶片致能信号及操作致能信号均被作用,控制电路进行读取操作,当晶片致能信号及写入致能信号均被作用,控制电路进行写入操作,该控制电路包括:存储器单元,用以储存资料;地址解码器,用以解码地址线的资料,以输出地址信号来选择存储器单元的特定存储器;缓冲器,用以缓冲所要存取的资料,以在进行读取操作时,将选择的存储器资料缓冲并输出,而在进行写入操作时,将输入的资料缓冲并写入至选择的存储器;地址暂存器,是用以储存由地址解码器产生的目前地址信号并输出前次地址信号;地址比较器,是用以比较地址解码器产生的目前地址信号以及前次地址信号;以及遮断逻辑,其是在目前所要读取的存储器地址与前一次存储器存取的地址相同时,将晶片致能信号遮断,而缓冲器直接将所缓冲的资料输出。在连续时间下而地址信号相同时,由缓冲器将缓冲的资料输出,而非致能存储器单元,所以静态存储器的消耗功率得以降低,故能达到本发明的目的。In order to achieve the above object, the present invention discloses a power-saving static memory control circuit, which controls the reading and writing of the memory by a chip enable signal, an operation enable signal and a write enable signal, wherein, when the chip enable signal and the operation enable signal are activated, the control circuit performs a read operation, when both the chip enable signal and the write enable signal are activated, the control circuit performs a write operation, and the control circuit includes: a memory unit for storing data ; The address decoder is used to decode the data of the address line to output the address signal to select a specific memory of the memory unit; the buffer is used to buffer the data to be accessed, so that the selected memory data will be read during the read operation Buffering and outputting, and when performing a write operation, buffering the input data and writing it into the selected memory; the address temporary register is used to store the current address signal generated by the address decoder and output the previous address signal; The address comparator is used to compare the current address signal and the previous address signal generated by the address decoder; and the blocking logic is used to switch the chip to the current address when the memory address to be read is the same as the address of the previous memory access The energy signal is blocked, and the buffer directly outputs the buffered data. When the address signals are the same in continuous time, the buffer outputs the buffered data instead of enabling the memory unit, so the power consumption of the static memory is reduced, and the object of the present invention can be achieved.
其中,该晶片致能信号、操作致能信号以及写入致能信号是以低准位为作用状态,高准位为不作用状态。Wherein, the chip enable signal, the operation enable signal and the write enable signal are active at a low level, and inactive at a high level.
其中,当目前地址信号与前次地址信号相同时,该地址比较器输出低准位的信号,否则输出高准位的信号。Wherein, when the current address signal is the same as the previous address signal, the address comparator outputs a low-level signal; otherwise, it outputs a high-level signal.
其中,该遮断逻辑是由一异或门以及一或门所组成,该异或门输入地址比较器的输出以及该操作致能信号,该或门将异或门的输出与晶片致能信号进行逻辑或处理。Wherein, the blocking logic is composed of an XOR gate and an OR gate, and the XOR gate inputs the output of the address comparator and the operation enable signal, and the OR gate performs a logic operation between the output of the XOR gate and the chip enable signal or process.
附图说明Description of drawings
为能让审查员能更了解本发明的技术内容,特举一较佳具体实施例并进行附图说明如下,其中:In order to allow the examiner to better understand the technical content of the present invention, a preferred specific embodiment is given and illustrated as follows, wherein:
图1是已知静态存储器的结构图;以及Fig. 1 is a structural diagram of a known static memory; and
图2是本发明静态存储器的结构图。Fig. 2 is a structural diagram of the static memory of the present invention.
具体实施方式Detailed ways
在本发明中,所有控制信号是与现有技术相同地采用低准位触发的模式,即以低准位为致能状态,高准位为禁能状态。如图2所示,当晶片致能信号(-CS)及操作致能信号(-OE)均被作用(逻辑0),则进行读取操作,而当晶片致能信号(-CS)及写入致能信号(-WE)均被作用(逻辑0),则进行写入操作。In the present invention, all the control signals are triggered by the low level as in the prior art, that is, the low level is the enabled state, and the high level is the disabled state. As shown in Figure 2, when both the chip enable signal (-CS) and the operation enable signal (-OE) are applied (logic 0), the read operation is performed, and when the chip enable signal (-CS) and the write If the input enable signal (-WE) is applied (logic 0), the write operation is performed.
如图2所示,本发明的省电的静态存储器控制电路结构主要包括地址解码器10、地址暂存器20、地址比较器22、存储器单元14、缓冲器18、及遮断逻辑24等,其中地址解码器10是用以读取地址线的资料并进行地址解码,以输出地址信号来选择存储器单元14的特定存储器区段。As shown in Figure 2, the power-saving static memory control circuit structure of the present invention mainly includes an
地址暂存器20是用以储存目前地址信号并输出前次地址信号。其中,前次地址信号是为时间上较早的地址信号,亦即,前次地址信号为前一次存储器存取的地址信号。The address register 20 is used to store the current address signal and output the previous address signal. Wherein, the previous address signal is an earlier address signal in time, that is, the previous address signal is an address signal of a previous memory access.
地址比较器22是用以输入目前地址信号以及前次地址信号并比较的,如果目前地址信号以及前次地址信号相同时,表示在连续的时间上存取同一地址的资料,则输出表示地址相同的地址比较信号(低准位的-CMP信号),否则输出表示地址不相同的地址比较信号(高准位的-CMP信号)。The address comparator 22 is used to input and compare the current address signal and the previous address signal. If the current address signal and the previous address signal are the same, it means that the data of the same address is accessed in continuous time, and the output indicates that the address is the same. The address comparison signal (low level -CMP signal), otherwise the address comparison signal (high level -CMP signal) indicating that the address is not the same is output.
遮断逻辑24是由一异或门241和一或门242所组成。异或门241是用以输入地址比较信号(-CMP)以及操作致能信号(-OE),经逻辑反或(NOR)处理后输出至或门242,或门242将异或门241的输出与晶片致能信号(-CS)进行逻辑或(OR)处理以作为一内部晶片致能信号(-CS’)。The blocking logic 24 is composed of an exclusive OR gate 241 and an OR gate 242 . The exclusive OR gate 241 is used to input the address comparison signal (-CMP) and the operation enable signal (-OE), and output to the OR gate 242 after logic inversion (NOR) processing, and the OR gate 242 outputs the output of the exclusive OR gate 241 Perform logical OR (OR) processing with the chip enable signal (-CS) to be an internal chip enable signal (-CS').
内部晶片致能信号(-CS’)用以致能存储器单元14,使其能对所选择的存储器进行存储器读写,当内部晶片致能信号(-CS’)被作用、且操作致能信号(-OE)亦被作用,则可对存储器单元14进行读取,而将特定存储器区段所储存的资料经由缓冲器18缓冲并输出至外部电路;而当内部晶片致能信号(-CS’)被作用、且写入致能信号(-WE)亦被作用,则可对存储器14进行写入,以将由外部电路输入至缓冲器18的资料写入特定存储器区段。The internal chip enable signal (-CS') is used to enable the
而经由遮断逻辑24的处理,当目前所要读取的存储器地址与前一次存储器存取的地址相同时,输出的地址比较信号(-CMP)为低准位(逻辑0),而操作致能信号(-OE)亦被作用(逻辑0),故异或门241的输出为高准位(逻辑1),因此,作用的晶片致能信号(-CS)与异或门241的输出经过或门242的处理所产生的内部晶片致能信号(-CS’)将变成不作用(逻辑1),亦即,遮断逻辑24将遮断(Mask)晶片致能信号(-CS),而不去致能存储器单元14,且由于目前所要读取的存储器地址与前一次存储器存取的地址相同,而缓冲器18仍暂存有前次存储器存取的资料,因此,目前所要读取的资料可直接由缓冲器18输出即可。And through the processing of blocking logic 24, when the memory address to be read at present is the same as the address of the previous memory access, the output address comparison signal (-CMP) is a low level (logic 0), and the operation enabling signal (-OE) is also acted (logic 0), so the output of the exclusive OR gate 241 is a high level (logic 1), therefore, the active chip enable signal (-CS) and the output of the exclusive OR gate 241 pass through the OR gate The internal chip enabling signal (-CS') generated by the processing of 242 will become inactive (logic 1), that is, the blocking logic 24 will block (Mask) the chip enabling signal (-CS) without disabling
而当进行资料写入或目前所要读取的存储器地址与前一次存储器存取的地址不相同时,遮断逻辑24不会遮断晶片致能信号(-CS),因此,存储器的资料读写模式与现有技术相同。And when data is written or the memory address to be read at present is different from the address of the previous memory access, the blocking logic 24 will not block the chip enable signal (-CS). Therefore, the data reading and writing mode of the memory is the same as The prior art is the same.
由以上的说明可知,本发明由比较目前地址信号以及前次地址信号,以在目前所要读取的存储器地址与前一次存储器存取的地址相同时,遮断晶片致能信号(-CS),不去致能存储器单元而直接由缓冲器读取仍然暂存在缓冲器中的所需资料。由于读取缓冲器的功率消耗远小于读取存储器单元的功率消耗,因此,可较现有存储器控制电路具有减少功率消耗的优点。As can be seen from the above description, the present invention compares the current address signal and the previous address signal to block the chip enable signal (-CS) when the memory address to be read at present is the same as the address of the previous memory access. The required data still temporarily stored in the buffer is directly read from the buffer by disabling the memory unit. Since the power consumption of reading the buffer is much smaller than the power consumption of reading the memory unit, it has the advantage of reducing power consumption compared with the conventional memory control circuit.
上述实施例仅是为了方便说明而举例而已,本发明所主张的权利范围自应以申请专利范围所述为准,而非仅限于上述实施例。The above-mentioned embodiments are only examples for convenience of description, and the scope of rights claimed by the present invention should be based on the scope of the patent application, rather than limited to the above-mentioned embodiments.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB031310206A CN100397529C (en) | 2003-05-14 | 2003-05-14 | Power-saving static memory control circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB031310206A CN100397529C (en) | 2003-05-14 | 2003-05-14 | Power-saving static memory control circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1549272A true CN1549272A (en) | 2004-11-24 |
| CN100397529C CN100397529C (en) | 2008-06-25 |
Family
ID=34322758
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB031310206A Expired - Fee Related CN100397529C (en) | 2003-05-14 | 2003-05-14 | Power-saving static memory control circuit |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100397529C (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102347083A (en) * | 2010-07-30 | 2012-02-08 | 英飞凌科技股份有限公司 | Safe memory storage by internal operation verification |
| CN102013158B (en) * | 2009-09-07 | 2014-04-02 | 晨星软件研发(深圳)有限公司 | General type infrared receiving device and method |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12047080B2 (en) | 2021-07-07 | 2024-07-23 | Changxin Memory Technologies, Inc. | Input sampling method and circuit, memory and electronic device |
| CN115602211B (en) | 2021-07-07 | 2025-11-14 | 长鑫存储技术有限公司 | Input sampling system, method, storage medium and computer equipment |
| US11978502B2 (en) | 2021-07-07 | 2024-05-07 | Changxin Memory Technologies, Inc. | Input sampling method, input sampling circuit and semiconductor memory |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3587542B2 (en) * | 1992-06-19 | 2004-11-10 | インテル・コーポレーション | Method and apparatus for saving power consumption |
| US5602774A (en) * | 1995-11-16 | 1997-02-11 | University Of Waterloo | Low-power BiCMOS/ECL SRAM |
| US5848014A (en) * | 1997-06-12 | 1998-12-08 | Cypress Semiconductor Corp. | Semiconductor device such as a static random access memory (SRAM) having a low power mode using a clock disable circuit |
| KR100324821B1 (en) * | 1999-06-29 | 2002-02-28 | 박종섭 | Auto refresh method of semiconductor memory device and the apparatus thereof |
-
2003
- 2003-05-14 CN CNB031310206A patent/CN100397529C/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102013158B (en) * | 2009-09-07 | 2014-04-02 | 晨星软件研发(深圳)有限公司 | General type infrared receiving device and method |
| CN102347083A (en) * | 2010-07-30 | 2012-02-08 | 英飞凌科技股份有限公司 | Safe memory storage by internal operation verification |
| CN102347083B (en) * | 2010-07-30 | 2015-03-25 | 英飞凌科技股份有限公司 | Safe memory storage by internal operation verification |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100397529C (en) | 2008-06-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6601154B2 (en) | Cache memory employing dynamically controlled data array start timing and a microcomputer using the same | |
| US8164965B2 (en) | Memory device and method having low-power, high write latency mode and high-power, low write latency mode and/or independently selectable write latency | |
| EP2176865B1 (en) | Providing energy reduction when storing data in a memory | |
| US8988107B2 (en) | Integrated circuit including pulse control logic having shared gating control | |
| CN100573486C (en) | Method and device for improving memory access performance of multi-central processing unit system | |
| JPH10154394A (en) | Memory device | |
| US20110216621A1 (en) | Synchronous Command-Based Write Recovery Time Auto Precharge Control | |
| US6542969B1 (en) | Memory controller and a cache for accessing a main memory, and a system and a method for controlling the main memory | |
| CN100397529C (en) | Power-saving static memory control circuit | |
| JPH0845275A (en) | Memory read / write control method and memory device using the method | |
| US20080098176A1 (en) | Method and Apparatus for Implementing Memory Accesses Using Open Page Mode for Data Prefetching | |
| US6862242B2 (en) | SRAM control circuit with a power saving function | |
| JP4404373B2 (en) | Semiconductor integrated circuit | |
| TWI285839B (en) | Selectively prefetch method and bridge module | |
| JP2000285019A (en) | Cache control circuit | |
| JPH03163639A (en) | Instruction cache memory |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080625 Termination date: 20150514 |
|
| EXPY | Termination of patent right or utility model |