US20090150588A1 - Hard Disk Drive Cache Memory and Playback Device - Google Patents
Hard Disk Drive Cache Memory and Playback Device Download PDFInfo
- Publication number
- US20090150588A1 US20090150588A1 US12/371,494 US37149409A US2009150588A1 US 20090150588 A1 US20090150588 A1 US 20090150588A1 US 37149409 A US37149409 A US 37149409A US 2009150588 A1 US2009150588 A1 US 2009150588A1
- Authority
- US
- United States
- Prior art keywords
- memory
- address
- data
- ram
- bus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
- G06F12/0638—Combination of memories, e.g. ROM and RAM such as to permit replacement or supplementing of words in one module by words in another module
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0866—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/20—Employing a main memory using a specific memory technology
- G06F2212/202—Non-volatile memory
- G06F2212/2022—Flash memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/22—Employing cache memory using specific memory technology
- G06F2212/225—Hybrid cache memory, e.g. having both volatile and non-volatile portions
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present invention relates to a memory device and more particularly to a memory device for use as a disk drive cache memory in a personal computer, such as a PC, and can also function as a playback device for play back of music or video while the PC is either in a hibernating mode or even off mode.
- Volatile random access memory such as SRAM or DRAM (or SDRAM) or PSRAM (hereinafter collectively referred to as RAM), are well known in the art. Typically, these types of volatile memories receive address signals on an address bus, data signals on a data bus, and control signals on a control bus.
- NOR type non-volatile memories are also well known in the art. Typically, they receive address signals on the same type of address bus as provided to a RAM, data signals on the same type of data bus as that provide to a RAM, and control signals on the same type of control bus as that provided to a RAM. Similar to a RAM, NOR memories are a random access memory device. However, because NOR memories require certain operations, not needed by a RAM, such as SECTOR ERASE or BLOCK ERASE, the operations, which are in the nature of commands, are provided to the NOR device as a sequence of certain data patterns. This is known as NOR command protocols.
- NOR command protocols there are two types of NOR command protocols: 1) those protocol commands that are compatible with the protocol command set initially promulgated by Intel, and 2) those protocol commands that are compatible with the protocol command set initially promulgated by AMD.
- NOR memory interfaces electrically to the same address, data and control buses as a RAM interfaces with.
- conventional NOR memory devices may also provide data, address, and control signals serially, in well known conventional formats such as SPI, LPC or firmware hub.
- NAND type non-volatile memories are also well known in the art. Unlike parallel NOR devices, however, NAND memories store data in random accessible blocks in which cells within a block are stored in a sequential format. Further, address and data signals are provided on the same bus, but in a multiplexed fashion. NAND memories have the advantage that they are more dense than NOR devices, thereby lowering the cost of storage for each bit of data.
- OneNAND (trademark of Samsung Corporation) uses a RAM memory to temporarily buffer the data to and from a NAND memory, thereby emulating the operation of a NOR memory.
- OneNAND device suffers from two shortcomings. First, it is believed that the user or the host device which interfaces the OneNAND must keep track of the data coherency. In data coherency, because the user or host writes to the RAM, the data in the RAM may be newer (and therefore different from the) data in the location in the NAND from which the data in the RAM was initially read.
- the user or the host must act to write data from the RAM back to the ultimate location in the NAND to store that data, or to remember that the data in the RAM is the newer data.
- a second problem is believed to be a shortcoming of the OneNAND device is that it cannot provide for automatic address mapping.
- the host or the user once data is written into the RAM portion of the OneNAND device, the host or the user must issue a command or series of commands to write the data in the RAM portion to the ultimate location in the NAND portion of the OneNAND device.
- the host or user must issue a read command from specified location(s) in the NAND portion of the OneNAND to load that data into the RAM portion, and then read out the data from the RAM portion.
- DiskOnChip device Another prior art device that is believed to have similar deficiency is the DiskOnChip device from M Systems.
- a thin controller with a limited amount of RAM controls the operation of NAND memories.
- the controller portion of the DiskOnChip device does not have any on board nonvolatile bootable memory, such as NOR memory.
- FIG. 6 there is shown a computer system 300 of the prior art.
- the computer system 300 conforms to the “IBM PC” architecture.
- the system 300 comprises typically a motherboard 312 on which are mounted a variety of components such as a processor 314 , such as a Pentium microprocessor made by Intel Corporation, a memory controller hub chip 316 , also known as Northbridge chip 316 and a IO controller hub chip 318 , also known as Southbridge chip 318 .
- the Northbridge 316 and the Southbridge 318 are known as chipsets and can be obtained from Intel Corporation.
- the motherboard 312 comprises a BIOS 320 which is typically a NOR type non-volatile memory device, which is connected to the Southbridge 318 via a bus 350 .
- the bus 350 is also connected to other components of the system 300 , such as Hard Disk Drive (HDD) 326 , Modem 328 , USB or other ports 327 , speaker 325 , Keyboard 322 and mouse 324 .
- HDD Hard Disk Drive
- modem 328 Modem 328
- USB or other ports 327 a port foregoing system is described and is disclosed in U.S. Pat. No. 6,421,765. See also U.S. Pat. No. 6,330,635.
- the processor 314 boots up from the code that is initially stored in the BIOS 320 . Once the processor 314 has executed the initial code from the BIOS 320 , it sends signals to the HDD 326 to retrieve further code/data stored on the HDD 326 . Thereafter, the operation continues.
- a novel memory device uses NAND flash memories to emulate the function of a NOR memory. Further, the memory device is used in a PC system to replace the volatile DRAM or to be used as a bootable BIOS memory. In addition, the memory device can act as a cache to the hard disk drive. Further, the memory device can act as a hub for USB devices thereby controlling the transfer of data to/from the hard disk drive, even while power is off to the main processor. Further, since the memory device has a controller, the controller can perform other functions (or a dedicated processor, such as DSP, can also be used) such as MP3 playback.
- DSP dedicated processor
- the memory device can function as a stand alone audio playback device, even while the PC is turned off or is in a hibernating mode.
- the memory device can access additional audio data stored on the hard drive, again with the PC in an off mode or a hibernating mode.
- FIG. 1 is a block level diagram of a first embodiment of a memory device, including the memory controller, connected to a host system or user.
- FIG. 2 is a memory mapping diagram showing the mapping of the address space as seen by the host or the user, external to the memory device of FIG. 1 , to the NOR memory, the RAM memory and the NAND memory in the first embodiment of the memory device shown in FIG. 1 .
- FIG. 3 is a detailed block level circuit diagram of the controller, used in the memory device of FIG. 1 .
- FIG. 4 is a block level diagram of a second embodiment of a memory device, including the memory controller, connected to a host system or user.
- FIG. 5 is a memory mapping diagram showing the mapping of the address space as seen by the host or the user external to the memory device of FIG. 4 to the NOR memory, the RAM memory and the NAND memory in the second embodiment of the memory device, shown in FIG. 4 .
- FIG. 6 is a block level diagram of a computer system in accordance with the “IBM PC” architecture of the prior art.
- FIGS. 7 a , 7 b and 7 c are block level diagrams showing the connection and use of a memory device in accordance with either the first or second embodiment with components of the “IBM PC” shown in FIG. 6 .
- the memory device 10 comprises a memory controller 12 , a NAND memory 14 , and a RAM memory 16 .
- the memory device 10 interfaces with a host device 20 , through a first RAM address bus 22 , a first RAM data bus 24 , and a plurality of control signals such as wait 26 , RST# 28, and CE#, OE#, and WE# 30, all of which are well known to one skilled in the art of control signals for a RAM bus.
- all of the control signals on the wait 26 , RST# 28 and CE#, OE# and WE# 30 are referred to as first RAM control bus 32 .
- the first RAM address bus 22 , the first RAM data bus 24 and the first RAM control bus 32 are connected from the host device 20 to the memory controller 12 of the memory device 10 . Further, as discussed previously, the interface between the memory device 10 and the host device 20 can be via a serial bus in which the data, address and control buses are serially connected between the host device 20 and the memory device 10 . Such a memory device 10 is also within the scope of the present invention.
- the memory controller 12 has a second RAM address bus (similar to the first RAM address bus 22 ), a second RAM data bus (similar to the first RAM data bus 24 ), and a second control bus (similar to the first RAM control bus 32 ) all of which are collectively shown as simply as a second RAM bus 40 , connected to the RAM memory 16 .
- the memory controller 12 further has a NAND address/data bus and a NAND control bus (all of which are collectively shown as a NAND bus 42 ) connected to a NAND memory 14 .
- the RAM memory 16 can be integrated or embedded in the memory controller 12 , as a single chip integrated circuit. Alternatively, the RAM memory 16 can be an integrated circuit separate from the memory controller 12 .
- portions of the RAM memory 16 can be integrated with the memory controller 12 and portions of the RAM memory 16 can be separated from the memory controller 12 .
- the advantage of the RAM memory 16 being a separate die will be discussed hereinafter.
- the advantage of the RAM memory 16 being integrated with the memory controller 12 is that the RAM memory 16 may be faster in operation.
- the memory controller 12 is a single integrated circuit die.
- the controller has also a first NOR memory 44 , a second NOR memory 62 , a SRAM memory 46 , and SDRAM controller 48 (for controlling the operation of the RAM 16 , if the RAM 16 is an SDRAM type of RAM memory, and is external to the memory controller 12 ) embedded within the memory controller integrated circuit die.
- the first NOR memory 44 and the second NOR memory 62 may be a part of the same physical NOR memory.
- FIG. 3 A detailed block level diagram of an embodiment of the memory controller 12 is shown in FIG. 3 .
- NOR memory means any type of randomly accessed non-volatile memory.
- the NOR memory includes but is not limited to floating gate type memory, ROM, or cells using trapping material etc.
- NAND memory means any type of serially accessed non-volatile memory that may contain defective cells.
- each of the memory controller 12 , the RAM memory 16 and the NAND memory 14 is made of a single integrated circuit die and are packaged together in a MCP (Multi-Chip Package).
- MCP Multi-Chip Package
- the advantage of such an arrangement is that for a user or host 20 that requires a large (or small) amount of memory, the amount of memory can be changed by simply changing the readily available die for the NAND memory 14 or if speed is a factor then changing the readily available RAM memory 16 .
- having the memory controller 12 , the RAM memory 16 and the NAND memory 14 in separate dies means that different sizes of the memory device 10 and speed or performance can easily manufactured.
- the memory controller 12 , the RAM memory 16 and the NAND memory 14 can also be made into a single integrated circuit die. If the memory controller 12 , the RAM memory 16 and the NAND memory 14 are made of a single integrated circuit die, then provision can also be made to provide an external NAND bus 42 so that additional externally provided NAND memories can be attached to the memory device 10 to expand the memory capacity of the memory device 10 .
- FIG. 2 there is shown a memory map showing the mapping of addresses as seen by the host device 20 and as mapped to in the first embodiment of the memory device 10 shown in FIG. 1 .
- the memory map as seen by the host device 20 has two general sections: Random Access and Mass Storage Access.
- the Random Access section occupies the lower memory address location (although that is not a requirement). Within the Random Access section, the lowest memory address is that for NOR memory access portion 50 , followed by a Pseudo NOR (PNOR) memory access portion 52 , followed by a RAM access portion 54 , followed by a configuration access portion 56 .
- PNOR Pseudo NOR
- the NOR memory access portion 50 as seen by the host device 20 is that when the host 20 operates in this portion 50 , the result is an operation on the physical NOR memory 44 .
- the mapping of the memory portion 50 to the physical NOR memory 44 is a one-to-one.
- the amount of memory space allocated to the NOR portion 50 depends upon the amount of NOR memory 44 that is available in the memory device 10 .
- the amount of NOR memory 44 embedded in the memory controller 12 is 4 Megabits, with 2K Word sector size and with 32K Word Block size. Further, when the host device 20 believes it is operating on the NOR portion 50 (as in issuing commands of read/write/erase etc.), the resultant operation is directly on the NOR memory 44 .
- This NOR portion 50 can be used by a host device 20 seeking to store performance critical code/data that requires random access with no latency. Further, if a program is stored in the NOR memory 44 , it can be executed in place within the NOR memory 44 . Thus the NOR memory 44 can store program or code that “boots” the host device 20 .
- the PNOR portion 52 as seen by the host device 20 is that when the host 20 operates in this portion 52 , the host 20 believes it is operating on RAM memory 16 which is non-volatile. Therefore, to the host device 20 , it can operate on the PNOR portion 52 like any other RAM memory 16 except the data stored in the PNOR portion 52 is non-volatile, all without issuing NOR protocol commands.
- the PNOR portion 52 is divided into pages, just like a NAND memory, with each page either 8K Byte, 2K Byte, or 512 Byte.
- the host device 20 interfaces with the memory device 10 , it interfaces with the RAM memory 16 , with the memory controller 12 “backing up” the data to and from the NAND memory 14 , and maintaining data coherence between the RAM memory 16 and the NAND memory 14 , and with the memory controller 12 mapping the address supplied by the host device 20 to the address of the actual data in the NAND memory 14 . Because there is a larger amount of NAND memory 14 available than actual RAM memory 16 , the PNOR portion 52 can be much larger memory space than the actual amount of memory available in the RAM memory 16 .
- the PNOR portion 52 can be divided into four (4) regions, each mapped to a zone: zone 0 , zone 1 , zone 2 and zone 3 in the RAM memory 16 .
- Each zone can have a different degree of mapping. Where the mapping from a region in the PNOR portion 52 to a zone in the RAM memory 16 is one-to-one, then this is called “static paging mode.” Where the mapping from a region in the PNOR portion 52 to a zone in the RAM memory 16 is many-to-one, then this is called “dynamic paging mode.” A static paging mode mapping will result in the lowest latency in that the amount of memory space in the PNOR portion 52 , e.g.
- 256 pages (or 512K bytes in the case of 2K byte pages) is always mapped to the same amount of memory space in the RAM 16 , e.g. 256 pages (or 512K bytes), which is in turn mapped into 256 pages (or 512K bytes) in the NAND memory 14 .
- 256 pages or 512K bytes
- 256 pages or 512K bytes
- a dynamic paging mode mapping such as mapping 40,000 pages of the memory space in the PNOR portion 52 mapped to 512 pages of RAM memory 16 , which in turn is mapped to 40,000 pages of NAND memory 14
- This latency will occur both in the initial loading of the data/program from the NAND memory 14 into the RAM 16 , as well as during operation of retrieving data/program from the PNOR portion 52 , which may require data/program to be first loaded into the RAM 16 from the NAND memory 14 , if there is a cache miss.
- the latency for the PNOR portion 52 will differ depending upon the size of the zones configured.
- each zone of the RAM memory 16 and therefore, how much memory space is mapped from each region of the PNOR portion 52 into the RAM memory 16 can be set by the host device 20 or the user.
- the host device 20 can configure the four zones to operate either in a static paging mode to store/retrieve program or time critical data, or to operate in a dynamic paging mode to store/retrieve program or data that is not time critical, with result that there is a latency if there is a cache miss.
- the host device 20 can configure the zone to operate in one of two cache coherence modes. In a first mode, the host device 20 initiates the cache coherence mode. In this mode, the host device 20 flushes the cache operation in the RAM memory 16 as and when needed by the host device 20 .
- the memory controller 12 initiates the cache coherence mode, by flushing the cache operation in the RAM memory 16 as and when needed by the memory controller 12 to maintain the coherence of the data between the cache in the RAM memory 16 and the NAND memory 14 .
- the remainder of the available memory space in the RAM memory 16 is available to be used for RAM memory access portion.
- the RAM memory access portion 54 as seen by the host device 20 is that when the host 20 operates in this portion 54 , the result is an operation on the physical RAM memory 16 .
- the mapping of the memory portion 54 to the physical RAM memory 16 is a one-to-one.
- the amount of memory space allocated to the RAM portion 54 depends upon the total amount of RAM memory 16 that is available in the memory device 10 , and the degree of mapping of the memory space portion of the PNOR memory 52 to the RAM memory 16 .
- This RAM portion 54 can be used by a host device 20 seeking to use the memory space as a buffer area. Since the mapping of the memory space of the PNOR portion 52 to the RAM memory 16 in each zone can be set by the user, and the total amount of RAM memory 16 is known, the boundary between the PNOR portion 52 and the RAM portion 54 is indirectly set by the user. Thus, if it is desired to have a large amount of buffer, a larger amount of the RAM portion 54 can be allocated, by decreasing the mapping between the PNOR portion 52 and the RAM memory 16 in one or more of the zones.
- the boundary between the PNOR portion 52 and the RAM portion 54 can be changed during operation of the memory device 10 , by resetting the memory controller 12 , and re-establishing the mapping between the memory space of the PNOR portion 52 and the RAM memory 16 , in each zone.
- the boundaries for the memory map for each of the zones of the RAM memory 16 and the size of the memory space of the PNOR portion 52 can be pre-assigned and stored in the non-volatile configuration registers 60 in the memory controller 12 . Access to the configuration registers 60 is through the configuration access portion 56 .
- the non-volatile configuration registers 60 may be a part of the embedded NOR memory 62 .
- the boundaries for the memory map for each of the zones of the RAM memory 16 and the size of the memory space of the PNOR portion 52 can be selected by a user through one or more chip select pins. In that event, as the memory controller 12 is powered up, the boundaries for the different memories can be re-set.
- the NOR memory 62 can also store the firmware code 61 used for execution by the memory controller 12 , during boot up and for operation of the memory controller 12 and the MCU 64 .
- the Mass Storage Access section 58 when the host device 20 accesses that section of the memory space, the host device 20 believes that it is accessing an ATA disk drive.
- the memory controller 12 translates the logical ATA disk drive space addresses, into a NAND memory 14 physical space address using the well known Flash File System (FFS) protocol.
- FFS Flash File System
- the beginning portion of the Mass Storage Access section 58 consists of a 16 byte logical address which is loaded into the ATA Task File Register 79 .
- the memory controller 12 decodes the 16 bytes of task command and logical address and converts it into a physical address for accessing a particular “page” within the NAND memory 14 .
- the page of 512 bytes from a page in the NAND memory 14 is read and is then loaded into the Data Registers 81 , where they are accessed by the host device 20 , either sequentially or randomly. For a write operation, the reverse occurs.
- the logical address of where the 512 bytes of data are to be stored are first loaded into the Task File Registers 79 .
- a write command is written into the Task File Register 79 .
- the memory controller 12 decodes the command in the Task File Registers as a write command and converts it into a physical address to access the particular page in the NAND memory 14 , and stores the 512 bytes in the Data Registers 81 at that location.
- one of the Data Registers 81 a is used to supply 512 bytes of data to the host device 20 with data previously loaded from one page of the NAND memory 14
- the other Data Register 81 b is used to load data from another page of the NAND memory 14 into the Data Register 81 b , to supply the data to the host device 20 after the data from the Date Registers 81 a have been completely read out.
- the Data Registers 81 (a & b) can also be used in a ping-pong fashion for a write operation, so that many continuous pages of data can be written into the NAND memory 14 with little or no latency set up time.
- the interface between the memory device 10 and the host device 20 can be via a serial bus.
- a serial bus might connect the NOR or PNOR area of the memory device 10 with the host device 20 with a conventional parallel bus connecting the RAM portion of the memory device 10 with the host device 20 .
- the memory controller 12 comprises a microcontroller 64 .
- the microcontroller 64 performs or executes all bookkeeping functions of the FFS. In addition, it performs or executes Defect Management (DM) and cache data coherence algorithms, and cache flush replacement algorithms. Finally, the microcontroller 64 performs or executes cache paging scheme algorithms. All of these operations are accomplished by firmware or program code 61 stored in the NOR memory 62 , including the boot up operation or the initialization of the memory controller 12 .
- DM Defect Management
- the microcontroller 64 is connected to a second NOR memory 62 , which as previously discussed also stores the firmware 61 for execution by the microcontroller 64 .
- the NOR memory 62 In addition to storing the non-volatile configuration registers 60 , the NOR memory 62 also stores the firmware for operations of FFS and DM.
- the microcontroller 64 also interfaces with the SRAM memory 46 through the MUX 74 .
- the SRAM memory 46 serves as a local high speed buffer for the microcontroller 64 to store runtime data.
- the SRAM memory 46 can store defect map cache, and FFS data structure.
- memory controller 12 Although, the detailed description of the memory controller 12 is described with respect to hardware components, all of the functions described hereinafter may also be implemented in software, for execution by the microcontroller 64 .
- the memory controller 12 comprises a current cache page address registers 66 which may be implement in the nature of a content addressable memory 66 .
- the function of the CAM 66 is to keep current PNOR cache page addresses and to update the CAM 66 when there is an access miss during either a read or write operation to the PNOR portion 52 .
- Each entry within the CAM 66 has three portions: a page address portion 66 a , an index address portion 66 b , and a status portion 66 c .
- the address from the host device 20 is 32 bits, comprising of 21 most significant bits (bits 11 - 31 ) and 11 least significant bits (bits ( 0 - 10 ).
- the 21 most significant bits comprises a page address, while the 11 least significant bits comprises an offset address.
- Each entry in the CAM memory 66 also comprises the page address portion 66 a comprising of 21 bits, the index address portion 66 b comprising of 9 bits, and the status portion comprising of 12 bits, which consist of 1 bit of valid (or not); 1 bit of dirty (or clean); 1 bit of static (or dynamic); 1 bit of host initiated cache coherence (or controller initiated); and 8 bits for last access time stamp.
- the host device can address 2 32 Bytes or 1 GB amount of memory space.
- the memory controller 12 uses the index address portion of 9 bits from the CAM memory 66 along with the 11 bits from the offset address from the host device 20 to form a 20 bit address thereby enabling the addressing of 1 MB to the RAM 16 .
- these numbers are by way of example only and do not limit the present invention.
- the memory controller 12 also comprises a Hit/Miss compare logic 68 .
- the Hit/Miss compare logic 68 receives the address signals from the address bus 22 , and the control signals from the control bus 32 .
- the Hit/Miss compare Logic 68 then sends the 21 bits of the page address from the 32 bits of address from the host device 20 to the CAM memory 66 .
- the CAM memory 66 compares those 21 bits of page address with page address 66 a stored in each entry of the CAM memory 66 . If there is a HIT, i.e.
- the 21 bits of the page address from the host device 20 matches one of the entries in the CAM memory 66 , then the CAM memory 66 outputs the associated 9 bits of the index address 66 b , to the MUX 70 . If there is a Miss, the Hit/Miss compare logic 68 generates a read miss signal or a write miss signal.
- the read miss signal and the write miss signals are supplied to a Micro Code Controller (MCC)/Error Code Correction (ECC) unit 72 as signals for the MCC/ECC unit 72 to perform data coherence.
- MCC Micro Code Controller
- ECC Error Code Correction
- the signal supplied to the MCC/ECC unit 72 is either a Hit: which indicates that one of current page address stored in the RAM memory 16 is the address from the host device 20 as supplied on the address bus 22 , or a Miss: which indicates that none of the current page address stored in the RAM memory 16 is the address from the host device 20 as supplied on the address bus 22 .
- the Hit/Miss compare logic 68 is also connected to the wait state signal 26 .
- the wait state signal 26 is generated when the memory controller 12 desires to inform the host device 20 that the memory controller 12 desires to hold the bus cycle operation.
- the wait state signal 26 is de-asserted to release the buses 22 / 24 / 32 to permit the host device 20 to resume operation.
- a wait state signal 26 being asserted by the memory controller 12 is when there is a read/write miss and the memory controller 12 needs to retrieve the data from the address in the NAND memory 14 and to load it into the RAM memory 16 . During the time that the data is retrieved from the NAND memory 14 and loaded into the RAM memory 16 , the wait state signal 26 is asserted by the memory controller 12 .
- the memory controller 12 also comprises a MCC/ECC unit 72 , which operates under the control of the microcontroller 64 .
- the MCC/ECC unit 72 monitors the read miss/write miss signals for cache data coherence, flush replacement, and paging operations.
- the microcontroller 64 under the control of the microcontroller 64 , it operates the NAND memory 14 and provides for the defect management operation of the NAND memory 14 .
- the MCC/ECC unit 72 provides DMA function to move data between NAND memory 14 , RAM memory 16 , and SRAM memory 46 .
- the MCC/ECC unit 72 performs error detection and correction on the data stored in the NAND memory 14 .
- the memory controller 12 also comprises a cryptograph engine 90 , which provides for security and digital rights management.
- the memory controller 12 may have additional RAM memory 92 embedded therein, i.e. formed on the same integrated circuit die, to be used to augment the amount of RAM memory 16 .
- the RAM memory 16 may be a separate integrated circuit die in which case the RAM memory 92 embedded in the memory controller 12 augments the RAM memory 16 .
- the RAM memory 16 and the memory controller 12 are integrated into the same die, then the RAM memory 16 and the RAM memory 92 may both be part of the same memory array.
- the memory device 10 will now be described with respect to the various modes of operation.
- the Hit/Miss compare logic 68 generates the wait signal and asserts the wait state signal 26 .
- the memory controller 12 reads the configuration parameters from the non-volatile registers 60 and loads them to the volatile registers 46 (which may be a part of the SRAM 46 ).
- the static pages, i.e. data from the NAND memory 14 which are statically mapped to the PNOR portion 52 will also be read from the NAND memory 14 and stored into the RAM memory 16 .
- the microcontroller 64 through the MCC/ECC 72 executing the FFS protocol to translate the address of the page from the NAND memory 14 and to generate the physical address and control signals to the NAND memory 14 to retrieve the data therefrom and to store them into the RAM memory 16 .
- the MCU 64 and the MCC/ECC 72 will also scan the NAND memory 14 to find the master index table.
- the master index table will be read and stored into the local SRAM memory 46 .
- the MCU 64 will check the data structure integrity of the master index table.
- the MCU 64 and the MCC/ECC 72 will also scan the NAND memory 14 to determine if rebuilding of the master index table is required.
- the MCU 64 and the MCC/ECC 72 also will bring two pages of data from the NAND memory 14 into the local SRAM memory 64 .
- the first two pages of data from the NAND memory 14 called Vpage contains data for mapping the logic address of the host device 20 to the physical address of the NAND memory 14 with the capability to skip defective sectors in the NAND memory 14 .
- the FFS is then ready to accept mapping translation request.
- the Hit/Miss compare logic 68 then de-asserts the wait state signal 26 , i.e. releases the wait state signal 26 .
- the memory controller 12 is retrieving the static pages from the NAND memory 14 and storing them into the RAM memory 16 , and performing other overhead functions, such as updating the master index table of the NAND memory 14 , the memory device 10 is still available for use by the host device 20 .
- the NOR memory 44 can be accessed by the host device 20 even during power up, since the assertion of the wait state signal 26 affects only those operations directed to address requests to the PNOR portion 52 of the memory space.
- the host device 20 sends an address signal on the address bus 22 which is within the NOR memory access portion 50 of the memory space to the memory device 10 .
- appropriate control signals are sent by the host device 20 on the control bus 32 to the memory device 10 . Because the address signals are in a space other than in the PNOR memory access portion 52 , the Hit/miss compare logic 68 is not activated, and the wait state signal 26 is not asserted.
- the address signals and the control signals are supplied to the NOR memory 44 , where the data from the address supplied is read. The data is then supplied along the data bus to the MUX 84 and out along the data bus 24 to the host device 20 , thereby completing the read cycle.
- the host device 20 sends an address signal on the address bus 22 which is within the NOR memory access portion 50 of the memory space to the memory device 10 .
- appropriate control signals are sent by the host device 20 on the control bus 32 to the memory device 10 . Because the address signals are in a space other than in the PNOR memory access portion 52 , the Hit/miss compare logic 68 is not activated, and the wait state signal 26 is not asserted. The address signals and the control signals are supplied to the NOR memory 44 .
- the data and program commands to be written or programmed is sent along the data bus 24 from the host device 20 to the memory controller 12 and into the MUX 84 .
- the data is then sent to the NOR memory 44 , where the data is programmed into the NOR memory 44 at the address supplied on the address bus 22 .
- the host device 20 can perform byte program operation allowing the NOR memory 44 to be programmed on a byte-by-byte basis. The write or program cycle is completed when the data is written into the NOR memory 44 .
- NOR memory 44 erase operation such as sector erase, or block erase
- the host device 20 sends an address signal on the address bus 22 which is within the NOR memory access portion 50 of the memory space to the memory device 10 .
- appropriate control signals are sent by the host device 20 on the control bus 32 to the memory device 10 .
- the address signals are in a space other than in the PNOR memory access portion 52 , the Hit/miss compare logic 68 is not activated, and the wait state signal 26 is not asserted.
- the address signals and the control signals are supplied to the NOR memory 44 .
- the data signal representing the erase command protocol is sent along the data bus 24 from the host device 20 to the memory controller 12 and into the MUX 84 . From the MUX 84 , the data is then sent to the NOR memory 44 , where the data is decoded by the NOR memory 44 and the erase operation is then executed.
- the erase cycle is completed when the NOR memory 44 completes the erase cycle.
- the host device 20 sends an address signal on the address bus 22 which is within the PNOR memory access portion 52 of the memory space to the memory device 10 .
- the address bus 22 There are two possibilities: Read Hit and Read Miss.
- the page address portion of the address signals supplied on the address bus 22 are received by the Hit/Miss compare logic 68 , and are compared to the addresses currently in the RAM memory 16 , as stored in the CAM 66 . If the page address supplied on the address bus 22 is within a page address stored in the CAM 66 , then there is a hit.
- the Hit/Miss logic 68 activates the MUX 70 such that the address and control signals are then directed to the RAM memory 16 , with the associated index address 66 b from the CAM memory 66 concatenated with the offset address from the host device 20 to address the RAM memory 16 .
- Data read from that lower address from the RAM memory 16 are then sent to the MUX 80 where they are then supplied to the MUX 84 (the default state for the MUX 80 ), which has been directed (not shown) by the Hit/Miss compare logic 68 to permit the data to be sent to the host device 20 along the data bus 24 , thereby completing the read cycle.
- Read Miss In the case of a Read Miss, there are a number of possibilities. First, is the possibility called Read Miss without cache flush.
- the Hit/Miss compare logic 68 sends a read miss signal to the MCC/ECC unit 72 for the MCC/ECC unit 72 to initiate a read coherence cycle.
- the Hit/Miss compare logic 68 asserts a signal on the wait state signal 26 .
- the MCC/ECC unit 72 under the control of the MCU 64 executes an FFS operation to translate the address supplied by the host device 20 into a physical address in the NAND memory 14 .
- the MCC/ECC unit 72 then generates the appropriate address and control signals to the NAND memory 14 , and the appropriate address and control signals to the RAM memory 16 .
- An entire page of data, including data from the address specified on the address bus 22 is read from the NAND memory 14 and is transferred through the MUX 80 and to the RAM memory 16 , where it is written into an entire page of locations in the RAM memory 16 specified by the MCC/ECC unit 72 , and is operated thereon by the MCC/ECC unit 72 to ensure the integrity of the data, through error correction checking and the like.
- the current page address registers of CAM 66 is then updated to add the address of the address page within the current read miss address.
- the Hit/miss compare logic 68 de-asserts the signal on the wait state signal 26 .
- the MCU 64 switches the MUX 80 to the default position.
- the Hit/Miss compare logic 68 sends the index address 66 b to the MUX 70 where it is combined with the offset address portion from the address bus 22 , to address the RAM memory 16 .
- the data from that read operation on the RAM memory 16 is then supplied through the MUX 80 and through the MUX 84 to the data bus 24 to the host device 20 , thereby completing the cycle. Because the amount of data read from the NAND memory 14 is on a page basis, the entire page of data must be stored in the RAM memory 16 .
- This scenario of Read Miss without cache flush assumes that either an entire page of RAM memory 16 is available to store the data from the NAND memory 14 , or the location in the RAM memory 16 where an entire page of data is to be stored contains coherent data (same as the data in the NAND memory 14 ), then the entire page of data read from the NAND memory 14 can be stored in a location in the RAM memory 16 .
- Cache flush means the writing of data from the RAM memory 16 to NAND memory 14 , thereby flushing the cache (RAM memory 16 ) of the data coherence problem.
- Read Miss Another possible scenario of a Read Miss is called Read Miss with cache flush.
- an entire page of data from the NAND memory 14 cannot be stored in the RAM memory 16 without overwriting some data in the RAM memory 16 which is newer than the data in the NAND memory 14 .
- a page of data in the RAM memory 16 must first be written into the NAND memory 14 , before the data from the NAND memory 14 in a different location can be read into the RAM memory 16 .
- the sequence of operations is as follows. The page address portion of the address signal from the address bus 22 from the host device 20 is compared to the page address signals 66 a from the CAM 66 to determine if the address signal from the address bus 22 is within any of the current page addresses.
- This comparison results in a miss, causing the Hit/Miss compare logic 68 to send a read miss signal to the MCC/ECC unit 72 for the MCC/ECC unit 72 to initiate a read coherence cycle.
- the Hit/Miss compare logic 68 asserts a signal on the wait state signal 26 .
- the MCC/ECC unit 72 under the control of the MCU 64 determines that a page of data in the RAM memory 16 must first be written into the NAND memory 16 because there is a data coherence problem should the data from the NAND memory 14 be read into the RAM memory 16 .
- the MCU 64 executes an FFS operation to translate the address from the RAM memory 16 into the address in the NAND memory 14 .
- An entire page of data is read from the RAM memory 16 , passed through the MUX 80 and supplied to the NAND memory 14 , where they are stored in the NAND memory 14 . Thereafter, the address from the host device 20 is converted by an FFS operation into a physical NAND address by MCU 64 .
- the MCC/ECC unit 72 then generates the appropriate address and control signals under the direction of MCU 64 to the NAND memory 14 and using the index address 66 b from the CAM memory 66 and the control signals and the offset address portion from the MCC/ECC 72 to address the RAM memory 16 .
- An entire page of data read from the NAND memory 14 is then transferred from the NAND memory 14 through the MUX 80 and to the RAM memory 16 , where it is written into a page of locations in the RAM memory 16 specified by the MCC/ECC unit 72 and the index address 66 b , and is operated thereon by the MCC/ECC unit 72 to ensure the integrity of the data, through error correction checking and the like.
- the current page address registers 66 a of CAM 66 is then updated to add the page address which contains the current read miss address, along with it associated index address 66 b .
- the Hit/miss compare logic 68 de-asserts the signal on the wait state signal 26 .
- the MCU 64 switches the MUX 80 to the default position.
- the Hit/Miss compare logic 68 sends the index address 66 a to the MUX 70 where they are combined with the offset address from the address bus 22 to initiate a read operation in the RAM memory 16 .
- the data is then read from the RAM memory 16 and supplied through the MUX 80 and through the MUX 84 to the data bus 24 to the host device 20 , thereby completing the Read cycle.
- the operation is no different than a read to a RAM device, with latency in the case of a Read Miss.
- the host device 20 does not have to deal with address translation and/or data coherence.
- the host device 20 sends an address signal on the address bus 22 which is within the PNOR memory access portion 52 of the memory space to the memory device 10 , along with the data to be written into the RAM memory 16 .
- the address bus 22 which is within the PNOR memory access portion 52 of the memory space to the memory device 10 , along with the data to be written into the RAM memory 16 .
- the page address portion of the address signals supplied on the address bus 22 are received by the Hit/Miss compare logic 68 , and are compared to the page addresses 66 a in the CAM 66 , which reflect data currently stored in the RAM memory 16 .
- the page address supplied on the address bus 22 is within a page address stored in the CAM 66 .
- the Hit/Miss logic 68 activates the MUX 70 such that the address and control signals are then directed to the RAM memory 16 .
- the index address 66 b from the CAM 66 and the offset address portion of the address signals from the address bus 22 are combined to produce an address signal used to access the RAM memory 16 through the MUX 70 .
- Data from the data bus 24 is supplied through the MUX 84 through the MUX 80 is supplied to the RAM memory 16 , where it is then written into the RAM memory 16 , thereby completing the Write Hit cycle.
- the data in the RAM memory 16 after the Write Hit operation will not be coherent with respect to the data from the same location in the NAND memory 14 . In fact, the data in the RAM memory 16 will be the most current one. To solve the problem of data coherency, there are two solutions.
- the memory device 10 can automatically solve the problem of data coherence, on an as needed basis.
- data that is more current in the RAM memory 16 will be written back into the NAND memory 14 if the pages of data in the RAM memory 16 need to be replaced to store the newly called for page of data from the NAND memory 14 .
- the MCU 64 will also perform a cache flush on the data in the RAM memory 16 by writing the data back into the NAND memory 14 in a Write Miss with Cache Flush operation.
- An alternative solution to the problem of data coherence is to perform data coherence under the control of the host device 20 .
- the host device 20 can issue a cache flush command causing the memory controller 12 to write data that is not coherent from the RAM memory 16 back into the NAND memory 14 .
- the advantage of this operation is that it can be done by the host device 20 at any time, including but not limited to critical events such as changing application, shutdown, or low power interruption received.
- the memory controller 12 also can perform data coherence automatically, in the event the user of the host device 20 fails to perform the data coherence operation, such operation will also be performed as needed by the memory controller 12 .
- Write Miss In the case of a Write Miss, there are a number of possibilities. First, is the possibility called Write Miss without cache flush.
- the Hit/Miss compare logic 68 In the event the comparison of the page address portion of the address signals from the address bus 22 to the page address signals 66 a from the CAM 66 results in a miss, i.e. the address on the address bus 22 is not within the addresses of pages stored in the RAM memory 16 , the Hit/Miss compare logic 68 then sends a write miss signal to the MCC/ECC unit 72 . In addition, the Hit/Miss compare logic 68 asserts a signal on the wait state signal 26 .
- the MCC/ECC unit 72 determines if a new page of data from the NAND memory 14 , including the data at the address specified on the address bus 22 from the host device 20 , will store over either old coherent data, or a blank area of the RAM memory 16 . In that event, there is no need for the memory controller 12 to perform a write coherence cycle before transferring the data from the NAND memory 14 to the location in the RAM memory 16 .
- the MCC/ECC unit 72 under the control of the MCU 64 executes an FFS operation to translate the address supplied by the host device 20 into a physical address in the NAND memory 14 .
- the MCC/ECC unit 72 then generates the appropriate address and control signals to the NAND memory 14 , and the appropriate address and control signals to the RAM memory 16 .
- An entire page of data including data from the address specified on the address bus 22 , is read from the NAND memory 14 and is transferred through the MUX 80 and to the RAM memory 16 , where it is written into an entire page of locations in the RAM memory 16 specified by the MCC/ECC unit 72 and the index address 66 b , and is operated thereon by the MCC/ECC unit 72 to ensure the integrity of the data, through error correction checking and the like.
- the current page address registers 66 a of CAM 66 is then updated to add the address of the address page within the current write miss address and the associated index address 66 b (the index address 66 b being the upper 9 bits of the address in the RAM memory 16 where the page of data is stored).
- the Hit/miss compare logic 68 de-asserts the signal on the wait state signal 26 .
- the MCU switches the MUX 80 to the default position.
- the Hit/Miss compare logic 68 sends the index address 66 b to the MUX 70 where they are combined with the offset address from the address 22 , to initiate a write operation in the RAM memory 16 .
- the data is then written into the RAM memory 16 from the host device 20 through the MUX 84 and through the MUX 80 , thereby completing the cycle.
- the data in the RAM memory 16 is now no longer coherent with the data at the same address in the NAND memory 14 .
- This coherence problem be solved by either the memory controller 12 initiating a write cache flush, automatically on an as needed basis, or by the host device 20 initiating a write cache flush, at any time, all as previously discussed.
- Write Miss Another possible scenario of a Write Miss is called Write Miss with cache flush.
- an entire page of data from the NAND memory 14 cannot be stored in the RAM memory 16 without overwriting some data in the RAM memory 16 which is newer than the data in the NAND memory 14 .
- a page of data in the RAM memory 16 must first be written into the NAND memory 14 , before the data from the NAND memory 14 in a different location can be read into the RAM memory 16 .
- the sequence of operations is as follows. The page address portion of the signal from the address bus 22 from the host device 20 is compared to the page address signals 66 a from the CAM 66 to determine if the address signal from the address bus 22 is within any of the current page addresses.
- This comparison results in a miss, causing the Hit/Miss compare logic 68 to send a write miss signal to the MCC/ECC unit 72 for the MCC/ECC unit 72 to initiate a write coherence cycle.
- the Hit/Miss compare logic 68 asserts a signal on the wait state signal 26 .
- the MCC/ECC unit 72 under the control of the MCU 64 determines that a page of data in the RAM memory 16 must first be written into the NAND memory 16 because there is a data coherence problem should the data from the NAND memory 14 be read into the RAM memory 16 .
- the MCU unit 64 executes an FFS operation to translate the address from the RAM memory 16 into the address in the NAND memory 14 .
- An entire page of data is read from the RAM memory 16 , passed through the MUX 80 and supplied to the NAND memory 14 , where they are stored in the NAND memory 14 . Thereafter, the address from the host device 20 is converted by an FFS operation into a physical NAND address. The MCC/ECC unit 72 then generates the appropriate address and control signals to the NAND memory 14 using the physical NAND address from the FFS, and the index address and control signals to the RAM memory 16 .
- An entire page of data read from the NAND memory 14 is then transferred from the NAND memory 14 through the MUX 80 and to the RAM memory 16 , where it is written into a page of locations in the RAM memory 16 specified by the offset address from the MCC/ECC unit 72 and the index address from the index address register 66 b , and is operated thereon by the MCC/ECC unit 72 to ensure the integrity of the data, through error correction checking and the like.
- the current page address registers of CAM 66 is then updated to add the page address 66 a which contains the current read miss address, and the associated index address 66 b .
- the Hit/miss compare logic 68 de-asserts the signal on the wait state signal 26 .
- the MCU switches the MUX 80 to the default position.
- the Hit/Miss compare logic 68 sends the index address 66 b to the MUX 70 where they are combined with the offset address from the address bus 22 to form an address to write in the RAM memory 16 .
- the data is then written into the RAM memory 16 from the host device 20 to the data bus 24 through the MUX 84 and through the MUX 80 . Similar to the foregoing discussion for Write Miss without Cache Flush, the data in the RAM memory 16 is now more current and a data coherence problem is created, which can be solved by either the host device 20 initiating a cache flush, or the memory controller 12 initiating a cache flush operation.
- the operation is no different than a write to a RAM device, with latency in the case of a Write Miss.
- the host device 20 does not have to deal with address translation and/or data coherence.
- the page of data that is to be written into the NAND memory 14 is first written into the local SRAM 46 from the RAM memory 16 . This is a much faster operation than writing directly into the NAND memory 14 . Thereafter, the Read Miss with Cache Flush or Write Miss cache flush operation continues as if it were a Read Miss without cache flush or Write Miss without Cache Flush operation.
- the data stored in the local SRAM 46 can be written into the NAND memory 14 in background operation when the memory device 10 is idle or access is limited to operation in the NOR memory access portion 50 or RAM memory access portion 54 or the configuration register access portion 56 .
- NOR protocol commands such as Sector or Block ERASE.
- the memory device 10 can emulate NOR operation using RAM memory 16 and NAND memory 14 .
- the memory space mapping for the NOR memory access portion 50 would extend to more than just mapping to the NOR memory 44 .
- the NOR memory access portion 50 can be mapped to a portion of the RAM memory 16 , with the RAM memory 16 mapped to the NAND memory 14 statically thereby presenting no latency problem during access.
- the data from the NAND memory 14 would be loaded into the RAM 16 on power up, and read/write to the NOR memory access portion 50 would be reading from or writing to the RAM memory 16 .
- the only other change would be for the memory controller 12 to be responsive to the NOR protocol commands.
- NOR protocol commands are issued by the host device 20 , they are supplied as a sequence of unique data patterns.
- the data, supplied on the data bus 24 would be passed through the MUX 84 through the MUX 80 . Because the address supplied on the address bus indicates that the operation is to be in a NOR memory access portion 50 emulated by RAM memory 16 , the MUX 74 is switched permitting the MCU 64 to receive the data pattern.
- NOR protocol commands means one or more commands from the full set of NOR protocol commands, promulgated by e.g. Intel or AMD.
- the host device 20 sends an address signal on the address bus 22 which is within the RAM memory access portion 54 of the memory space to the memory device 10 .
- appropriate control signals are sent by the host device 20 on the control bus 32 to the memory device 10 .
- the Hit/miss compare logic 68 activates the MUX 70 to permit the address/control signals from the address bus 22 and control bus 32 to be supplied to the RAM memory 16 .
- the wait state signal 26 is not asserted.
- the address from the host device 20 is decoded and from an address signal which is supplied to the RAM memory 16 along with the control signal from the control bus 32 , where the data from the address supplied is read. The data is then supplied along the data bus to the MUX 80 and the MUX 84 and out along the data bus 24 to the host device 20 , thereby completing the read cycle.
- the host device 20 sends an address signal on the address bus 22 which is within the RAM memory access portion 54 of the memory space to the memory device 10 .
- appropriate control signals are sent by the host device 20 on the control bus 32 to the memory device 10 .
- the Hit/miss compare logic 68 activates the MUX 70 to permit the address/control signals from the address bus 22 and control bus 32 to be supplied to the RAM memory 16 .
- the wait state signal 26 is not asserted.
- the address from the host device 20 is decoded and form an address signal which is supplied to the RAM memory 16 along with the control signal from the control bus 32 , where the data from the data bus 24 is written into the RAM memory 16 at the address supplied.
- the operation of read or write in the RAM memory access portion is no different than accessing a RAM device with no latency.
- the host device 20 sends an address signal on the address bus 22 which is within the Configuration register access portion 56 of the memory space to the memory device 10 .
- appropriate control signals are sent by the host device 20 on the control bus 32 to the memory device 10 .
- the data is then written into the Non-Volatile Registers 60 .
- the host device 20 sends an address signal on the address bus 22 which is within the Mass Storage Access section 58 or ATA memory access portion 58 of the memory space to the memory device 10 .
- appropriate control signals are sent by the host device 20 on the control bus 32 to the memory device 10 . Because the address signals are in a space other than in the PNOR memory access portion 52 , the Hit/miss compare logic 68 is not activated, and the wait state signal 26 is not asserted.
- the host device 20 follows the ATA protocol to read/write to task file registers 79 for an ATA read/write command.
- the task file registers 79 contain registers to store: command, status, cylinder, head, sector etc.
- the MCC/ECC unit 72 under the control of the MCU 64 operates the Flash File System which translates host logical address to NAND physical address, with the capability to avoid using defective NAND sectors.
- the MCC/ECC unit 72 under the control of the MCU 64 operates the Flash File System which translates host logical address to NAND physical address, with the capability to avoid using defective NAND sectors.
- Each logical address from the host device 20 has an entry in a table called Vpage. The contents of the entry points to the physical address where the logical address data is stored.
- the address signals and the control signals are supplied to the NAND memory 14 .
- the host device 20 follows the ATA protocol with the task file registers 79 storing the command and the logical address. Each sector size is 512 bytes.
- the host device 20 checks for the readiness of the memory 10 by reading the status register 79 which is in the task file register access portion 58 of the memory space.
- the host device 20 writes the “read” command into the command registers 79 , within the memory space 58 .
- the MCU 64 performs an FFS translation of the logical address to a physical address and the MCC/ECC unit 72 under the control of the MCU 64 reads the data from the NAND memory 14 , and transfers pages of data into the buffer 81 .
- the data is read out of the memory controller 12 along the data bus 24 .
- An operation to write into the NAND memory 14 is similar to an operation to read from the NAND memory 14 .
- the host device 20 checks for the readiness of the memory 10 by reading the status register 79 which is in the task memory space 58 portion.
- the host device 20 writes one page of data into the Data register 81 , and then writes the “write” command into the command registers 79 , along with the logical address.
- the MCU 64 using the FFS converts the logical address to a physical address and the MCC/ECC unit 72 under the control of the MCU 64 writes the one page of data from the ATA buffer 81 into the NAND memory 14 .
- the FFS updates a page of data by locating the physical address of the page to be updated.
- FFS finds an erased sector as a “buffer sector” or if there is no erased sector, it first performs an erase operation on a sector.
- FFS then reads the old data which has not been modified and programmed to the buffer sector.
- FFS programs the updated page data. It then waits for the next request. If the next page is on the same erase sector, FFS continues the update operation. If the next page is outside of the transferring erase sector, the rest of the unmodified data will be copied to the buffer sector.
- the mapping table entry is changed to the buffer sector physical address. A new page update operation is then started.
- FIG. 4 there is shown a second embodiment of a memory device 110 .
- the memory device 110 is similar to the memory device 10 shown in FIG. 1 .
- like parts with like numerals will be designated.
- the only difference between the memory device 110 and the memory device 10 is that in the memory device 100 , the second RAM bus 40 connects the RAM memory 100 directly to the host device 20 , rather then to the memory controller 12 .
- the host device has direct access and control of the RAM memory 100 .
- the memory mapping for the memory device 110 comprises a NOR memory access portion 50 which is mapped to the NOR memory 44 , a PNOR memory access portion 52 which is mapped to the RAM memory 16 in the memory device 110 , which is then mapped to the NAND memory 14 , and a RAM memory access portion 54 mapped to the RAM memory 16 .
- the memory mapping for the memory device 110 also includes another RAM memory access portion 55 , which maps directly to the RAM memory 100 .
- the memory device 110 then further comprises the configuration register access portion 56 , and finally an ATA memory access portion 58 , similar to that described for the memory device 10 .
- the memory device 10 offers more protection than the memory devices of the prior art.
- the memory controller 12 can limit access to certain data stored in the NAND memory 14 , as in concerns relating to Digital Rights Management. Further the memory controller 12 can encrypt the data stored in the NAND memory 14 to protect sensitive data. Finally, the memory controller 12 can offer protection against accidental erasure of data in certain portion(s) of the NAND memory 14 .
- the memory controller 12 is a self-starting device in that it does not require initial commands from the host device 20 .
- the memory device 10 or 110 is a universal memory device.
- the memory device has a memory controller which has a first address bus for receiving a RAM address signals, a first data bus for receiving RAM data signals, and a first control bus for receiving RAM control signals.
- the memory controller has NOR memory embedded therein and further has a second address bus for interfacing with a volatile RAM memory, a second data bus for interfacing with the volatile RAM memory, and a second control bus for interfacing with the volatile RAM memory.
- the controller further has a third address/data bus for interfacing with a non-volatile NAND memory, and a third control bus for interfacing with non-volatile NAND memory.
- the memory device further having a RAM memory connected to said second address bus, said second data bus, and said second control bus.
- the memory device further having a non-volatile NAND memory connected to the third address/data bus and to the third control bus.
- the controller is responsive to address signals supplied on the first address bus whereby the NOR memory is responsive to a first address range supplied on the first address bus, whereby the RAM memory is responsive to a second address range supplied on the first address bus, and whereby the NAND memory is responsive to a third address range supplied on the first address bus.
- the memory device is a universal memory device, wherein the user can defined the memory space allocation.
- the memory device has a memory controller which has a first address bus for receiving a RAM address signals, a first data bus for receiving RAM data signals, and a first control bus for receiving RAM control signals.
- the memory controller has NOR memory embedded therein and further has a second address bus for interfacing with a volatile RAM memory, a second data bus for interfacing with the volatile RAM memory, and a second control bus for interfacing with the volatile RAM memory.
- the controller further has a third address/data bus for interfacing with a non-volatile NAND memory, and a third control bus for interfacing with non-volatile NAND memory.
- the memory device further having a RAM memory connected to said second address bus, said second data bus, and said second control bus.
- the memory device further having a non-volatile NAND memory connected to the third address/data bus and to the third control bus.
- the memory device is responsive to the user defined memory space allocation wherein in a first address range supplied on the first address bus, the memory device is responsive to NOR memory operation including being responsive to NOR protocol commands, and a second address range supplied on the first address bus, the memory device is responsive to RAM operation, and a third address range supplied on the address bus, the memory device is responsive to the NAND memory operating as an ATA disk drive device, wherein the first, second and third address ranges are all definable by the user
- memory device has a memory controller which has a first address bus for receiving a RAM address signals, a first data bus for receiving RAM data signals, and a first control bus for receiving RAM control signals.
- the memory controller further has a second address bus for interfacing with a volatile RAM memory, a second data bus for interfacing with the volatile RAM memory, and a second control bus for interfacing with the volatile RAM memory.
- the controller further has a third address/data bus for interfacing with a non-volatile NAND memory, and a third control bus for interfacing with non-volatile NAND memory.
- the memory device further having a RAM memory connected to said second address bus, said second data bus, and said second control bus.
- the memory device further having a non-volatile NAND memory connected to the third address/data bus and to the third control bus.
- the controller further having means to receive a first address on the first address bus and to map the first address to a second address in the non-volatile NAND memory, with the volatile RAM memory serving as cache for data to or from the second address in the non-volatile NAND memory, and means for maintaining data coherence between the data stored in the volatile RAM memory as cache and the data at the second address in the non-volatile NAND memory.
- the memory device has a memory controller which has a first address bus for receiving a NOR address signals, a first data bus for receiving NOR data signals and data protocol commands, and a first control bus for receiving NOR control signals.
- the memory controller further has a second address bus for interfacing with a volatile RAM memory, a second data bus for interfacing with the volatile RAM memory, and a second control bus for interfacing with the volatile RAM memory.
- the controller further has a third address/data bus for interfacing with a non-volatile NAND memory, and a third control bus for interfacing with non-volatile NAND memory.
- the memory device further having a RAM memory connected to said second address bus, said second data bus, and said second control bus.
- the memory device further having a non-volatile NAND memory connected to the third address/data bus and to the third control bus.
- the controller further operating the RAM memory to emulate the operation of a NOR memory device including NOR protocol commands.
- One of the uses of the memory 10 or 110 of the present invention is in the PC system 300 shown in FIG. 6 .
- the memory device 10 or 110 can function in the following modes.
- memory 10 or 110 can replace the DRAM 340 . Since the memory 10 or 110 has a RAM portion, it can replace the DRAM 340 . Furthermore, because the memory 10 or 110 also has a non-volatile portion, the memory 10 or 110 can store certain software in its NAND memory 14 , such that upon boot up of the PC 300 , the software can be immediately read from the NAND flash memory 14 through the controller 12 of the memory 10 or 110 and executed by the processor 314 without it being retrieved from the HDD 326 .
- certain data or program that is frequently used by a user, as monitored by the operating system can also be pre-fetched from the HDD 326 and stored in the NAND 14 or NOR memory 44 portion of the memory 10 or 110 , thereby saving time during operation as perceived by the particular user.
- the memory 10 or 100 can be used as a disk cache for the data/program from the HDD 326 .
- the memory 10 or 110 can replace the BIOS 320 . Because the memory 10 or 110 is operable in a NOR manner, the memory 10 or 110 can replace the BIOS 320 and can be used to store the start up code that the processor 314 requires to start the PC 300 .
- the interface to the Southbridge 318 from the BIOS 320 can be serial or parallel.
- the memory 10 or 110 can be partitioned into at least two parts: one part for storing the BIOS code and the other part to store code for the operating system. In that event, start up of the PC 300 may be more rapid since some of the operating code is in non-volatile memory portion of the memory 10 or 110 rather than being stored on HDD 326 .
- the controller 12 can provide security access to authorize one or the other portion.
- the memory 10 or 110 When operating in this mode, the memory 10 or 110 need not contain any RAM 16 .
- the memory 10 or 110 can be simply the controller 12 with a small amount of NOR memory 44 and a NAND Flash memory 14 , and need not contain any RAM 16 or be able to operate in a Pseudo NOR mode. Further, not all of the BIOS 320 instructions need to be stored in the NOR memory 44 . Some of the instructions for the BIOS 320 can be stored in the NOR memory 44 with the remainder stored in the NAND Flash memory 14 .
- the memory 10 or 110 can replace the BIOS 320 and with the bus 350 divided into two buses: a first bus 351 , parallel or SPI (serial) from the Southbridge 318 to the BIOS 320 , and a second bus 352 : an industry standard ATA bus from the Southbridge 318 to the BIOS 320 , as shown in FIG. 7A .
- the memory 10 or 100 need not contain any RAM 16 .
- the memory 10 or 110 because the memory 10 or 110 also has an ATA bus, it can be used as a “lite” HDD in applications where the PC system 300 is used as a thin client, not requiring an HDD 326 .
- the memory 10 or 110 can function as both a storage of the BIOS instructions as well as storage or operating system or user data in the NAND Flash memory 14 .
- the bus 350 can mean any type of bus or group of buses, including but not limited to PCI, PCI express, USB, ATA etc.
- the memory 10 or 100 can replace the BIOS 320 and with the bus re-routed such that the memory 10 or 100 is interposed between the signal from the Southbridge 318 to the HDD 326 or to the USB port 327 as shown in FIG. 7B .
- the memory 10 or 110 has a controller 12 , there are three modes it can operate. First, it can be totally transparent, i.e. as if the memory 10 or 110 is not present, with the communication on the bus 350 directed from the Southbridge 318 to the HDD 326 or the USB port 327 . Second, the memory 10 or 110 can “intelligently” listen to the signals representing command or data between the Southbridge 318 and the HDD 326 and “trap” or “capture” any such command or data.
- the memory device 10 or 110 can respond thereto without the HDD 326 responding. Thus, performance is improved by the memory device 10 or 110 acting as a cache for the HDD 326 . It should be noted that this mode of operation does not require any special software driver. Third, the memory 10 or 110 can “trap” the command and re-transmit the command after analysis. Finally, with the PC 300 in an off mode, the MCU 12 and the memory device 10 or 110 can act as a host to the HDD 326 and control the operation thereof. This capability will be discussed in greater detail hereinafter. Here again, when operating in this mode, the memory 10 or 110 need not contain any RAM 16 .
- the memory 10 or 110 can be simply a small amount of NOR memory 44 and a NAND Flash memory 14 .
- the bus 350 that connects the Southbridge 318 to the BIOS 320 and to the Hard Drive 326 can comprise a group of buses such as: a parallel or SPI bus 351 for accessing the NOR memory 44 and an industry standard ATA bus 352 for accessing the NAND memory 14 .
- the NOR flash memory 44 can serve to store instructions for BIOS 320 , as previously discussed, when access to the BIOS 320 is along the parallel or SPI bus 351 .
- the NAND Flash memory 14 can be used to store the rest of the instructions for the BIOS 320 and retrieved into the MCU 12 and supplied along the parallel or SPI bus 351 .
- the NAND flash memory 14 can be used to store cache data from the Hard Disk Drive 326 , when the Southbridge 318 attempts to retrieve the data from the HDD 326 along the ATA bus 352 .
- FIG. 7B A variation of the example shown in FIG. 7B is shown in FIG. 7C wherein the memory device 10 or 110 is also connected to the Northbridge chip 316 through either a PCI bus, PCI express bus, or a USB bus.
- the MCU 12 in the memory device 10 or 110 is a processor, it can be programmed to serve other functions, than the ones described heretofore.
- the MCU 12 can be programmed such that the memory device 10 or 110 can function as an MP3 player or video play back with the songs/video stored in the NAND memories 14 .
- the program code necessary to operate the MCU 64 of the memory controller 12 can be stored in the NOR memory 62 . If the MCU 12 is not robust enough or it is desired to have dedicated hardware perform the MP3/video function, then either a dedicated DSP processor or a dedicated MP3 player processor can be integrated into the memory device 10 or 110 . Thus, with this feature, whether the PC 300 is on or not, the memory device 10 or 110 can play back the songs or video stored on the NAND memories 14 .
- the memory device 10 or 110 can access additional audio/video data stored on the HDD 326 .
- the memory device 10 or 110 can retrieve audio-visual data stored on the HDD 326 and display them on either the primary display 332 or a secondary display (not shown). Again, in this mode of operation the only “active” component of the PC 300 that requires power would be the memory device 10 or 110 , the HDD 326 and the display 332 or the secondary display (not shown). Thus, with a smaller secondary display, which is “active” only when the memory device 10 or 110 is “on” when the processor 314 is in the off mode or in the hibernating mode, power savings is gained.
- the memory device 10 or 110 when the processor 314 is on, can act as a USB hub, or as a USB pass through device. However, when the processor 314 is off, the memory device 10 or 110 can act as the USB host, i.e. the memory device 10 or 110 controls and powers all devices connected to the USB port 327 .
- the USB bus is only just one example of the type of bus to which the present invention is directed.
- the bus 350 can be any type of bus including but not limited to PCI, PCI express, ATA etc.
- USB port 327 includes, card reader, that provides system 300 with file image back up to the HDD 326 ; external USB storage device for additional storage or backup; and additional devices such as Bluetooth communication device.
- card reader that provides system 300 with file image back up to the HDD 326
- external USB storage device for additional storage or backup
- additional devices such as Bluetooth communication device.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Memory System Of A Hierarchy Structure (AREA)
- Stored Programmes (AREA)
- Memory System (AREA)
Abstract
A NOR emulating device using a controller and NAND memories can be used in a computer system in placed of the main memory or in place of the BIOS NOR memory. Thus, the emulating device can function as a bootable memory. In addition, the device can act as a cache to the hard disk drive. Further, with the addition of an MP3 player controller into the device, the device can function as a stand alone audio playback device, even while the PC is turned off or is in a hibernating mode. Finally with the MP3 player controller, the device can access additional audio data stored on the hard drive, again with the PC in an off mode or a hibernating mode. Finally, the device can function to operate the disk drive, even while the PC is off or is in a hibernating mode, and control USB ports attached thereto.
Description
- This application is a divisional of U.S. application Ser. No. 11/637,419, filed Dec. 11, 2006, the entire contents of which is incorporated herein by reference, and which also claims priority to
provisional application 60/754,937. - The present invention relates to a memory device and more particularly to a memory device for use as a disk drive cache memory in a personal computer, such as a PC, and can also function as a playback device for play back of music or video while the PC is either in a hibernating mode or even off mode.
- Volatile random access memory, such as SRAM or DRAM (or SDRAM) or PSRAM (hereinafter collectively referred to as RAM), are well known in the art. Typically, these types of volatile memories receive address signals on an address bus, data signals on a data bus, and control signals on a control bus.
- Parallel NOR type non-volatile memories are also well known in the art. Typically, they receive address signals on the same type of address bus as provided to a RAM, data signals on the same type of data bus as that provide to a RAM, and control signals on the same type of control bus as that provided to a RAM. Similar to a RAM, NOR memories are a random access memory device. However, because NOR memories require certain operations, not needed by a RAM, such as SECTOR ERASE or BLOCK ERASE, the operations, which are in the nature of commands, are provided to the NOR device as a sequence of certain data patterns. This is known as NOR command protocols. In the prior art, there are two types of NOR command protocols: 1) those protocol commands that are compatible with the protocol command set initially promulgated by Intel, and 2) those protocol commands that are compatible with the protocol command set initially promulgated by AMD. In either event, a NOR memory interfaces electrically to the same address, data and control buses as a RAM interfaces with. Furthermore, conventional NOR memory devices may also provide data, address, and control signals serially, in well known conventional formats such as SPI, LPC or firmware hub.
- NAND type non-volatile memories are also well known in the art. Unlike parallel NOR devices, however, NAND memories store data in random accessible blocks in which cells within a block are stored in a sequential format. Further, address and data signals are provided on the same bus, but in a multiplexed fashion. NAND memories have the advantage that they are more dense than NOR devices, thereby lowering the cost of storage for each bit of data.
- Because of the lower cost per bit of data for a NAND device, there has been attempts to use a NAND device to emulate the operation of a NOR device. One such device called OneNAND (trademark of Samsung Corporation) uses a RAM memory to temporarily buffer the data to and from a NAND memory, thereby emulating the operation of a NOR memory. However, it is believed the OneNAND device suffers from two shortcomings. First, it is believed that the user or the host device which interfaces the OneNAND must keep track of the data coherency. In data coherency, because the user or host writes to the RAM, the data in the RAM may be newer (and therefore different from the) data in the location in the NAND from which the data in the RAM was initially read. Thus, in the OneNAND device the user or the host must act to write data from the RAM back to the ultimate location in the NAND to store that data, or to remember that the data in the RAM is the newer data. A second problem is believed to be a shortcoming of the OneNAND device is that it cannot provide for automatic address mapping. In the OneNAND device, once data is written into the RAM portion of the OneNAND device, the host or the user must issue a command or series of commands to write the data in the RAM portion to the ultimate location in the NAND portion of the OneNAND device. Similarly, for a read operation, the host or user must issue a read command from specified location(s) in the NAND portion of the OneNAND to load that data into the RAM portion, and then read out the data from the RAM portion.
- Another prior art device that is believed to have similar deficiency is the DiskOnChip device from M Systems. In the DiskOnChip device, a thin controller with a limited amount of RAM controls the operation of NAND memories. However, it is believed that the controller portion of the DiskOnChip device does not have any on board nonvolatile bootable memory, such as NOR memory.
- A prior art publication showing the use of NAND memories with a controller emulating NOR memory operation is shown in US patent application 2006/0053246, published Mar. 9, 2006. Although this publication shows the use of NAND memories with controller connected to a plurality of processors, it appears that the NAND memory cannot be accessed directly through an ATA format operation. Thus, all access to the NAND memory must be accomplished by the controller with no direct access from the external.
- Computer systems are well known in the art. In particular, a computer system adhering to the “IBM PC” standard is well known in the art. Referring to
FIG. 6 , there is shown a computer system 300 of the prior art. The computer system 300 conforms to the “IBM PC” architecture. The system 300 comprises typically a motherboard 312 on which are mounted a variety of components such as a processor 314, such as a Pentium microprocessor made by Intel Corporation, a memory controller hub chip 316, also known as Northbridge chip 316 and a IOcontroller hub chip 318, also known as Southbridgechip 318. The Northbridge 316 and the Southbridge 318 are known as chipsets and can be obtained from Intel Corporation. Finally, the motherboard 312 comprises aBIOS 320 which is typically a NOR type non-volatile memory device, which is connected to the Southbridge 318 via abus 350. Thebus 350 is also connected to other components of the system 300, such as Hard Disk Drive (HDD) 326, Modem 328, USB orother ports 327, speaker 325, Keyboard 322 and mouse 324. The foregoing system is described and is disclosed in U.S. Pat. No. 6,421,765. See also U.S. Pat. No. 6,330,635. - In the operation of the computer system 300, the processor 314, boots up from the code that is initially stored in the
BIOS 320. Once the processor 314 has executed the initial code from theBIOS 320, it sends signals to theHDD 326 to retrieve further code/data stored on theHDD 326. Thereafter, the operation continues. - As can be seen from the foregoing, if the
drive 326 is activated, the processor 314 and the entire system 300 must be “on.” With battery time on a lap top computer 300 at a premium, it is desired to conserve battery power. Further, it is desired to improve the performance of such a system 300. Accordingly, there is a need for an improved device that can satisfy the foregoing. - In the present invention, a novel memory device is disclosed. The novel memory device uses NAND flash memories to emulate the function of a NOR memory. Further, the memory device is used in a PC system to replace the volatile DRAM or to be used as a bootable BIOS memory. In addition, the memory device can act as a cache to the hard disk drive. Further, the memory device can act as a hub for USB devices thereby controlling the transfer of data to/from the hard disk drive, even while power is off to the main processor. Further, since the memory device has a controller, the controller can perform other functions (or a dedicated processor, such as DSP, can also be used) such as MP3 playback. Thus, the memory device can function as a stand alone audio playback device, even while the PC is turned off or is in a hibernating mode. Finally with the MP3 player controller, the memory device can access additional audio data stored on the hard drive, again with the PC in an off mode or a hibernating mode.
-
FIG. 1 is a block level diagram of a first embodiment of a memory device, including the memory controller, connected to a host system or user. -
FIG. 2 is a memory mapping diagram showing the mapping of the address space as seen by the host or the user, external to the memory device ofFIG. 1 , to the NOR memory, the RAM memory and the NAND memory in the first embodiment of the memory device shown inFIG. 1 . -
FIG. 3 is a detailed block level circuit diagram of the controller, used in the memory device ofFIG. 1 . -
FIG. 4 is a block level diagram of a second embodiment of a memory device, including the memory controller, connected to a host system or user. -
FIG. 5 is a memory mapping diagram showing the mapping of the address space as seen by the host or the user external to the memory device ofFIG. 4 to the NOR memory, the RAM memory and the NAND memory in the second embodiment of the memory device, shown inFIG. 4 . -
FIG. 6 is a block level diagram of a computer system in accordance with the “IBM PC” architecture of the prior art. -
FIGS. 7 a, 7 b and 7 c are block level diagrams showing the connection and use of a memory device in accordance with either the first or second embodiment with components of the “IBM PC” shown inFIG. 6 . - Referring to
FIG. 1 , there is shown a first embodiment of amemory device 10. Thememory device 10 comprises amemory controller 12, aNAND memory 14, and aRAM memory 16. Thememory device 10 interfaces with ahost device 20, through a firstRAM address bus 22, a firstRAM data bus 24, and a plurality of control signals such aswait 26,RST# 28, and CE#, OE#, andWE# 30, all of which are well known to one skilled in the art of control signals for a RAM bus. Hereinafter unless otherwise specified, all of the control signals on thewait 26,RST# 28 and CE#, OE# andWE# 30 are referred to as firstRAM control bus 32. The firstRAM address bus 22, the firstRAM data bus 24 and the firstRAM control bus 32 are connected from thehost device 20 to thememory controller 12 of thememory device 10. Further, as discussed previously, the interface between thememory device 10 and thehost device 20 can be via a serial bus in which the data, address and control buses are serially connected between thehost device 20 and thememory device 10. Such amemory device 10 is also within the scope of the present invention. - The
memory controller 12 has a second RAM address bus (similar to the first RAM address bus 22), a second RAM data bus (similar to the first RAM data bus 24), and a second control bus (similar to the first RAM control bus 32) all of which are collectively shown as simply as asecond RAM bus 40, connected to theRAM memory 16. Thememory controller 12 further has a NAND address/data bus and a NAND control bus (all of which are collectively shown as a NAND bus 42) connected to aNAND memory 14. TheRAM memory 16 can be integrated or embedded in thememory controller 12, as a single chip integrated circuit. Alternatively, theRAM memory 16 can be an integrated circuit separate from thememory controller 12. Alternatively, portions of theRAM memory 16 can be integrated with thememory controller 12 and portions of theRAM memory 16 can be separated from thememory controller 12. The advantage of theRAM memory 16 being a separate die will be discussed hereinafter. However, the advantage of theRAM memory 16 being integrated with thememory controller 12 is that theRAM memory 16 may be faster in operation. - In one embodiment, the
memory controller 12 is a single integrated circuit die. The controller has also a first NORmemory 44, a second NORmemory 62, aSRAM memory 46, and SDRAM controller 48 (for controlling the operation of theRAM 16, if theRAM 16 is an SDRAM type of RAM memory, and is external to the memory controller 12) embedded within the memory controller integrated circuit die. Of course, the first NORmemory 44 and the second NORmemory 62 may be a part of the same physical NOR memory. A detailed block level diagram of an embodiment of thememory controller 12 is shown inFIG. 3 . As used herein a “NOR memory” means any type of randomly accessed non-volatile memory. The NOR memory includes but is not limited to floating gate type memory, ROM, or cells using trapping material etc. Further as used herein “NAND memory” means any type of serially accessed non-volatile memory that may contain defective cells. - In one embodiment, each of the
memory controller 12, theRAM memory 16 and theNAND memory 14 is made of a single integrated circuit die and are packaged together in a MCP (Multi-Chip Package). The advantage of such an arrangement is that for a user orhost 20 that requires a large (or small) amount of memory, the amount of memory can be changed by simply changing the readily available die for theNAND memory 14 or if speed is a factor then changing the readilyavailable RAM memory 16. Thus, having thememory controller 12, theRAM memory 16 and theNAND memory 14 in separate dies means that different sizes of thememory device 10 and speed or performance can easily manufactured. - Of course, the
memory controller 12, theRAM memory 16 and theNAND memory 14 can also be made into a single integrated circuit die. If thememory controller 12, theRAM memory 16 and theNAND memory 14 are made of a single integrated circuit die, then provision can also be made to provide anexternal NAND bus 42 so that additional externally provided NAND memories can be attached to thememory device 10 to expand the memory capacity of thememory device 10. - Referring to
FIG. 2 there is shown a memory map showing the mapping of addresses as seen by thehost device 20 and as mapped to in the first embodiment of thememory device 10 shown inFIG. 1 . The memory map as seen by thehost device 20 has two general sections: Random Access and Mass Storage Access. The Random Access section occupies the lower memory address location (although that is not a requirement). Within the Random Access section, the lowest memory address is that for NORmemory access portion 50, followed by a Pseudo NOR (PNOR)memory access portion 52, followed by aRAM access portion 54, followed by aconfiguration access portion 56. Each of the portions will be explained as follows. - The NOR
memory access portion 50 as seen by thehost device 20 is that when thehost 20 operates in thisportion 50, the result is an operation on the physical NORmemory 44. Thus, the mapping of thememory portion 50 to the physical NORmemory 44 is a one-to-one. In other words, the amount of memory space allocated to the NORportion 50 depends upon the amount of NORmemory 44 that is available in thememory device 10. In one embodiment, the amount of NORmemory 44 embedded in thememory controller 12 is 4 Megabits, with 2K Word sector size and with 32K Word Block size. Further, when thehost device 20 believes it is operating on the NOR portion 50 (as in issuing commands of read/write/erase etc.), the resultant operation is directly on the NORmemory 44. This NORportion 50 can be used by ahost device 20 seeking to store performance critical code/data that requires random access with no latency. Further, if a program is stored in the NORmemory 44, it can be executed in place within the NORmemory 44. Thus the NORmemory 44 can store program or code that “boots” thehost device 20. - The
PNOR portion 52 as seen by thehost device 20 is that when thehost 20 operates in thisportion 52, thehost 20 believes it is operating onRAM memory 16 which is non-volatile. Therefore, to thehost device 20, it can operate on thePNOR portion 52 like anyother RAM memory 16 except the data stored in thePNOR portion 52 is non-volatile, all without issuing NOR protocol commands. In one embodiment, thePNOR portion 52 is divided into pages, just like a NAND memory, with each page either 8K Byte, 2K Byte, or 512 Byte. In operation, when thehost device 20 interfaces with thememory device 10, it interfaces with theRAM memory 16, with thememory controller 12 “backing up” the data to and from theNAND memory 14, and maintaining data coherence between theRAM memory 16 and theNAND memory 14, and with thememory controller 12 mapping the address supplied by thehost device 20 to the address of the actual data in theNAND memory 14. Because there is a larger amount ofNAND memory 14 available thanactual RAM memory 16, thePNOR portion 52 can be much larger memory space than the actual amount of memory available in theRAM memory 16. - Further, the
PNOR portion 52 can be divided into four (4) regions, each mapped to a zone: zone 0,zone 1, zone 2 and zone 3 in theRAM memory 16. Each zone can have a different degree of mapping. Where the mapping from a region in thePNOR portion 52 to a zone in theRAM memory 16 is one-to-one, then this is called “static paging mode.” Where the mapping from a region in thePNOR portion 52 to a zone in theRAM memory 16 is many-to-one, then this is called “dynamic paging mode.” A static paging mode mapping will result in the lowest latency in that the amount of memory space in thePNOR portion 52, e.g. 256 pages (or 512K bytes in the case of 2K byte pages) is always mapped to the same amount of memory space in theRAM 16, e.g. 256 pages (or 512K bytes), which is in turn mapped into 256 pages (or 512K bytes) in theNAND memory 14. In that event, although there is no latency in access during operation because theRAM memory 16 is also random access, there is latency in initial load and storage from and to theNAND memory 14 to and from theRAM memory 16. In a dynamic paging mode mapping, such as mapping 40,000 pages of the memory space in thePNOR portion 52 mapped to 512 pages ofRAM memory 16, which in turn is mapped to 40,000 pages ofNAND memory 14, a larger amount of latency will occur. This latency will occur both in the initial loading of the data/program from theNAND memory 14 into theRAM 16, as well as during operation of retrieving data/program from thePNOR portion 52, which may require data/program to be first loaded into theRAM 16 from theNAND memory 14, if there is a cache miss. Thus, the latency for thePNOR portion 52 will differ depending upon the size of the zones configured. The boundary of each zone of theRAM memory 16, and therefore, how much memory space is mapped from each region of thePNOR portion 52 into theRAM memory 16 can be set by thehost device 20 or the user. As a result thehost device 20 can configure the four zones to operate either in a static paging mode to store/retrieve program or time critical data, or to operate in a dynamic paging mode to store/retrieve program or data that is not time critical, with result that there is a latency if there is a cache miss. - In the event a zone is configured for static paging mode, data read coherence is not an issue, since the same amount of memory space in the
PNOR portion 52 is always mapped to the same amount of space in theRAM memory 16. However, data write coherence must still be performed. However, in the event a zone is configured for dynamic paging mode, data coherence must be provided. Thehost device 20 can configure the zone to operate in one of two cache coherence modes. In a first mode, thehost device 20 initiates the cache coherence mode. In this mode, thehost device 20 flushes the cache operation in theRAM memory 16 as and when needed by thehost device 20. In a second mode, thememory controller 12 initiates the cache coherence mode, by flushing the cache operation in theRAM memory 16 as and when needed by thememory controller 12 to maintain the coherence of the data between the cache in theRAM memory 16 and theNAND memory 14. - Once the amount of memory space for the
PNOR portion 52 and their mapping to theRAM memory 16 is set by the user, the remainder of the available memory space in theRAM memory 16 is available to be used for RAM memory access portion. The RAMmemory access portion 54 as seen by thehost device 20 is that when thehost 20 operates in thisportion 54, the result is an operation on thephysical RAM memory 16. Thus, the mapping of thememory portion 54 to thephysical RAM memory 16 is a one-to-one. Further, the amount of memory space allocated to theRAM portion 54 depends upon the total amount ofRAM memory 16 that is available in thememory device 10, and the degree of mapping of the memory space portion of thePNOR memory 52 to theRAM memory 16. When the host believes it is operating on the RAM portion 54 (as in issuing commands of read/write etc.), the resultant operation is directly on theRAM memory 16. ThisRAM portion 54 can be used by ahost device 20 seeking to use the memory space as a buffer area. Since the mapping of the memory space of thePNOR portion 52 to theRAM memory 16 in each zone can be set by the user, and the total amount ofRAM memory 16 is known, the boundary between thePNOR portion 52 and theRAM portion 54 is indirectly set by the user. Thus, if it is desired to have a large amount of buffer, a larger amount of theRAM portion 54 can be allocated, by decreasing the mapping between thePNOR portion 52 and theRAM memory 16 in one or more of the zones. In addition, the boundary between thePNOR portion 52 and theRAM portion 54 can be changed during operation of thememory device 10, by resetting thememory controller 12, and re-establishing the mapping between the memory space of thePNOR portion 52 and theRAM memory 16, in each zone. - The boundaries for the memory map for each of the zones of the
RAM memory 16 and the size of the memory space of thePNOR portion 52 can be pre-assigned and stored in the non-volatile configuration registers 60 in thememory controller 12. Access to the configuration registers 60 is through theconfiguration access portion 56. The non-volatile configuration registers 60 may be a part of the embedded NORmemory 62. Alternatively, the boundaries for the memory map for each of the zones of theRAM memory 16 and the size of the memory space of thePNOR portion 52 can be selected by a user through one or more chip select pins. In that event, as thememory controller 12 is powered up, the boundaries for the different memories can be re-set. The NORmemory 62 can also store thefirmware code 61 used for execution by thememory controller 12, during boot up and for operation of thememory controller 12 and theMCU 64. - Finally, in the Mass
Storage Access section 58, when thehost device 20 accesses that section of the memory space, thehost device 20 believes that it is accessing an ATA disk drive. Thememory controller 12 translates the logical ATA disk drive space addresses, into aNAND memory 14 physical space address using the well known Flash File System (FFS) protocol. In one embodiment, for a read operation, the beginning portion of the MassStorage Access section 58 consists of a 16 byte logical address which is loaded into the ATATask File Register 79. Thememory controller 12 decodes the 16 bytes of task command and logical address and converts it into a physical address for accessing a particular “page” within theNAND memory 14. The page of 512 bytes from a page in theNAND memory 14 is read and is then loaded into the Data Registers 81, where they are accessed by thehost device 20, either sequentially or randomly. For a write operation, the reverse occurs. The logical address of where the 512 bytes of data are to be stored are first loaded into the Task File Registers 79. A write command is written into theTask File Register 79. Thememory controller 12 decodes the command in the Task File Registers as a write command and converts it into a physical address to access the particular page in theNAND memory 14, and stores the 512 bytes in the Data Registers 81 at that location. In another embodiment, there may be two data registers 81 (a & b) (not shown) in a so-called ping-pong configuration. In that event, one of the Data Registers 81 a is used to supply 512 bytes of data to thehost device 20 with data previously loaded from one page of theNAND memory 14, while the other Data Register 81 b is used to load data from another page of theNAND memory 14 into the Data Register 81 b, to supply the data to thehost device 20 after the data from the Date Registers 81 a have been completely read out. In this manner, continuous read operation across many of pages of data from theNAND memory 14 can occur. The Data Registers 81 (a & b) can also be used in a ping-pong fashion for a write operation, so that many continuous pages of data can be written into theNAND memory 14 with little or no latency set up time. - As previously discussed, the interface between the
memory device 10 and thehost device 20 can be via a serial bus. In particular, such a serial bus might connect the NOR or PNOR area of thememory device 10 with thehost device 20 with a conventional parallel bus connecting the RAM portion of thememory device 10 with thehost device 20. - Referring to
FIG. 3 there is shown a detailed block level diagram of thememory controller 12 interfaced with theRAM memory 16 and theNAND memory 14. Thememory controller 12 comprises amicrocontroller 64. Themicrocontroller 64 performs or executes all bookkeeping functions of the FFS. In addition, it performs or executes Defect Management (DM) and cache data coherence algorithms, and cache flush replacement algorithms. Finally, themicrocontroller 64 performs or executes cache paging scheme algorithms. All of these operations are accomplished by firmware orprogram code 61 stored in the NORmemory 62, including the boot up operation or the initialization of thememory controller 12. - The
microcontroller 64 is connected to a second NORmemory 62, which as previously discussed also stores thefirmware 61 for execution by themicrocontroller 64. In addition to storing the non-volatile configuration registers 60, the NORmemory 62 also stores the firmware for operations of FFS and DM. - The
microcontroller 64 also interfaces with theSRAM memory 46 through theMUX 74. TheSRAM memory 46 serves as a local high speed buffer for themicrocontroller 64 to store runtime data. In addition, theSRAM memory 46 can store defect map cache, and FFS data structure. - Although, the detailed description of the
memory controller 12 is described with respect to hardware components, all of the functions described hereinafter may also be implemented in software, for execution by themicrocontroller 64. - The
memory controller 12 comprises a current cache page address registers 66 which may be implement in the nature of a contentaddressable memory 66. The function of theCAM 66 is to keep current PNOR cache page addresses and to update theCAM 66 when there is an access miss during either a read or write operation to thePNOR portion 52. Each entry within theCAM 66 has three portions: apage address portion 66 a, anindex address portion 66 b, and astatus portion 66 c. The discussion that follows with regard to the operation of the memory controller and theCAM memory 66 is with regard to the following example, although it should be understood that the invention is not limited to the following example. It is assumed that the address from thehost device 20 is 32 bits, comprising of 21 most significant bits (bits 11-31) and 11 least significant bits (bits (0-10). The 21 most significant bits comprises a page address, while the 11 least significant bits comprises an offset address. Each entry in theCAM memory 66 also comprises thepage address portion 66 a comprising of 21 bits, theindex address portion 66 b comprising of 9 bits, and the status portion comprising of 12 bits, which consist of 1 bit of valid (or not); 1 bit of dirty (or clean); 1 bit of static (or dynamic); 1 bit of host initiated cache coherence (or controller initiated); and 8 bits for last access time stamp. With 32 bits from thehost device 20, the host device can address 232 Bytes or 1 GB amount of memory space. As will be discussed hereinafter, thememory controller 12 uses the index address portion of 9 bits from theCAM memory 66 along with the 11 bits from the offset address from thehost device 20 to form a 20 bit address thereby enabling the addressing of 1 MB to theRAM 16. Of course, these numbers are by way of example only and do not limit the present invention. - The
memory controller 12 also comprises a Hit/Miss comparelogic 68. The Hit/Miss comparelogic 68 receives the address signals from theaddress bus 22, and the control signals from thecontrol bus 32. The Hit/Miss compareLogic 68 then sends the 21 bits of the page address from the 32 bits of address from thehost device 20 to theCAM memory 66. TheCAM memory 66 compares those 21 bits of page address withpage address 66 a stored in each entry of theCAM memory 66. If there is a HIT, i.e. the 21 bits of the page address from thehost device 20 matches one of the entries in theCAM memory 66, then theCAM memory 66 outputs the associated 9 bits of theindex address 66 b, to theMUX 70. If there is a Miss, the Hit/Miss comparelogic 68 generates a read miss signal or a write miss signal. The read miss signal and the write miss signals are supplied to a Micro Code Controller (MCC)/Error Code Correction (ECC)unit 72 as signals for the MCC/ECC unit 72 to perform data coherence. The signal supplied to the MCC/ECC unit 72 is either a Hit: which indicates that one of current page address stored in theRAM memory 16 is the address from thehost device 20 as supplied on theaddress bus 22, or a Miss: which indicates that none of the current page address stored in theRAM memory 16 is the address from thehost device 20 as supplied on theaddress bus 22. Finally, the Hit/Miss comparelogic 68 is also connected to thewait state signal 26. Thewait state signal 26 is generated when thememory controller 12 desires to inform thehost device 20 that thememory controller 12 desires to hold the bus cycle operation. Thewait state signal 26 is de-asserted to release thebuses 22/24/32 to permit thehost device 20 to resume operation. One example of await state signal 26 being asserted by thememory controller 12 is when there is a read/write miss and thememory controller 12 needs to retrieve the data from the address in theNAND memory 14 and to load it into theRAM memory 16. During the time that the data is retrieved from theNAND memory 14 and loaded into theRAM memory 16, thewait state signal 26 is asserted by thememory controller 12. - The
memory controller 12 also comprises a MCC/ECC unit 72, which operates under the control of themicrocontroller 64. The MCC/ECC unit 72 monitors the read miss/write miss signals for cache data coherence, flush replacement, and paging operations. In addition, under the control of themicrocontroller 64, it operates theNAND memory 14 and provides for the defect management operation of theNAND memory 14. Further, under the control of themicrocontroller 64, the MCC/ECC unit 72 provides DMA function to move data betweenNAND memory 14,RAM memory 16, andSRAM memory 46. Finally, the MCC/ECC unit 72 performs error detection and correction on the data stored in theNAND memory 14. - The
memory controller 12 also comprises acryptograph engine 90, which provides for security and digital rights management. In addition, thememory controller 12 may haveadditional RAM memory 92 embedded therein, i.e. formed on the same integrated circuit die, to be used to augment the amount ofRAM memory 16. As previously indicated theRAM memory 16 may be a separate integrated circuit die in which case theRAM memory 92 embedded in thememory controller 12 augments theRAM memory 16. However, if theRAM memory 16 and thememory controller 12 are integrated into the same die, then theRAM memory 16 and theRAM memory 92 may both be part of the same memory array. - The
memory device 10 will now be described with respect to the various modes of operation. During power up, the Hit/Miss comparelogic 68 generates the wait signal and asserts thewait state signal 26. Thememory controller 12 reads the configuration parameters from thenon-volatile registers 60 and loads them to the volatile registers 46 (which may be a part of the SRAM 46). The static pages, i.e. data from theNAND memory 14 which are statically mapped to thePNOR portion 52 will also be read from theNAND memory 14 and stored into theRAM memory 16. This is done by themicrocontroller 64 through the MCC/ECC 72 executing the FFS protocol to translate the address of the page from theNAND memory 14 and to generate the physical address and control signals to theNAND memory 14 to retrieve the data therefrom and to store them into theRAM memory 16. During power up, theMCU 64 and the MCC/ECC 72 will also scan theNAND memory 14 to find the master index table. The master index table will be read and stored into thelocal SRAM memory 46. TheMCU 64 will check the data structure integrity of the master index table. TheMCU 64 and the MCC/ECC 72 will also scan theNAND memory 14 to determine if rebuilding of the master index table is required. TheMCU 64 and the MCC/ECC 72 also will bring two pages of data from theNAND memory 14 into thelocal SRAM memory 64. The first two pages of data from theNAND memory 14, called Vpage contains data for mapping the logic address of thehost device 20 to the physical address of theNAND memory 14 with the capability to skip defective sectors in theNAND memory 14. The FFS is then ready to accept mapping translation request. The Hit/Miss comparelogic 68 then de-asserts thewait state signal 26, i.e. releases thewait state signal 26. - It should be noted that during power up, while the
memory controller 12 is retrieving the static pages from theNAND memory 14 and storing them into theRAM memory 16, and performing other overhead functions, such as updating the master index table of theNAND memory 14, thememory device 10 is still available for use by thehost device 20. In particular, the NORmemory 44 can be accessed by thehost device 20 even during power up, since the assertion of thewait state signal 26 affects only those operations directed to address requests to thePNOR portion 52 of the memory space. - In a NOR
memory 44 read operation, thehost device 20 sends an address signal on theaddress bus 22 which is within the NORmemory access portion 50 of the memory space to thememory device 10. In addition, appropriate control signals are sent by thehost device 20 on thecontrol bus 32 to thememory device 10. Because the address signals are in a space other than in the PNORmemory access portion 52, the Hit/miss comparelogic 68 is not activated, and thewait state signal 26 is not asserted. The address signals and the control signals are supplied to the NORmemory 44, where the data from the address supplied is read. The data is then supplied along the data bus to theMUX 84 and out along thedata bus 24 to thehost device 20, thereby completing the read cycle. - In a NOR
memory 44 write or program operation, thehost device 20 sends an address signal on theaddress bus 22 which is within the NORmemory access portion 50 of the memory space to thememory device 10. In addition, appropriate control signals are sent by thehost device 20 on thecontrol bus 32 to thememory device 10. Because the address signals are in a space other than in the PNORmemory access portion 52, the Hit/miss comparelogic 68 is not activated, and thewait state signal 26 is not asserted. The address signals and the control signals are supplied to the NORmemory 44. The data and program commands to be written or programmed is sent along thedata bus 24 from thehost device 20 to thememory controller 12 and into theMUX 84. From theMUX 84, the data is then sent to the NORmemory 44, where the data is programmed into the NORmemory 44 at the address supplied on theaddress bus 22. Thehost device 20 can perform byte program operation allowing the NORmemory 44 to be programmed on a byte-by-byte basis. The write or program cycle is completed when the data is written into the NORmemory 44. - In NOR
memory 44 erase operation, such as sector erase, or block erase, thehost device 20 sends an address signal on theaddress bus 22 which is within the NORmemory access portion 50 of the memory space to thememory device 10. In addition, appropriate control signals are sent by thehost device 20 on thecontrol bus 32 to thememory device 10. Because the address signals are in a space other than in the PNORmemory access portion 52, the Hit/miss comparelogic 68 is not activated, and thewait state signal 26 is not asserted. The address signals and the control signals are supplied to the NORmemory 44. The data signal representing the erase command protocol is sent along thedata bus 24 from thehost device 20 to thememory controller 12 and into theMUX 84. From theMUX 84, the data is then sent to the NORmemory 44, where the data is decoded by the NORmemory 44 and the erase operation is then executed. The erase cycle is completed when the NORmemory 44 completes the erase cycle. - In a PNOR memory read operation, the
host device 20 sends an address signal on theaddress bus 22 which is within the PNORmemory access portion 52 of the memory space to thememory device 10. There are two possibilities: Read Hit and Read Miss. - In the case of a Read Hit, the page address portion of the address signals supplied on the
address bus 22 are received by the Hit/Miss comparelogic 68, and are compared to the addresses currently in theRAM memory 16, as stored in theCAM 66. If the page address supplied on theaddress bus 22 is within a page address stored in theCAM 66, then there is a hit. The Hit/Miss logic 68 activates theMUX 70 such that the address and control signals are then directed to theRAM memory 16, with the associatedindex address 66 b from theCAM memory 66 concatenated with the offset address from thehost device 20 to address theRAM memory 16. Data read from that lower address from theRAM memory 16 are then sent to theMUX 80 where they are then supplied to the MUX 84 (the default state for the MUX 80), which has been directed (not shown) by the Hit/Miss comparelogic 68 to permit the data to be sent to thehost device 20 along thedata bus 24, thereby completing the read cycle. - In the case of a Read Miss, there are a number of possibilities. First, is the possibility called Read Miss without cache flush. In the event the comparison of the page address portion of the address signals from the
address bus 22 to the page address register 66 a from theCAM 66 results in a miss, i.e. the page address on theaddress bus 22 is not within the addresses of pages stored in theRAM memory 16, the Hit/Miss comparelogic 68 then sends a read miss signal to the MCC/ECC unit 72 for the MCC/ECC unit 72 to initiate a read coherence cycle. In addition, the Hit/Miss comparelogic 68 asserts a signal on thewait state signal 26. The MCC/ECC unit 72 under the control of theMCU 64 executes an FFS operation to translate the address supplied by thehost device 20 into a physical address in theNAND memory 14. The MCC/ECC unit 72 then generates the appropriate address and control signals to theNAND memory 14, and the appropriate address and control signals to theRAM memory 16. - An entire page of data, including data from the address specified on the
address bus 22 is read from theNAND memory 14 and is transferred through theMUX 80 and to theRAM memory 16, where it is written into an entire page of locations in theRAM memory 16 specified by the MCC/ECC unit 72, and is operated thereon by the MCC/ECC unit 72 to ensure the integrity of the data, through error correction checking and the like. The current page address registers ofCAM 66 is then updated to add the address of the address page within the current read miss address. The Hit/miss comparelogic 68 de-asserts the signal on thewait state signal 26. In addition, theMCU 64 switches theMUX 80 to the default position. The Hit/Miss comparelogic 68 sends theindex address 66 b to theMUX 70 where it is combined with the offset address portion from theaddress bus 22, to address theRAM memory 16. The data from that read operation on theRAM memory 16 is then supplied through theMUX 80 and through theMUX 84 to thedata bus 24 to thehost device 20, thereby completing the cycle. Because the amount of data read from theNAND memory 14 is on a page basis, the entire page of data must be stored in theRAM memory 16. This scenario of Read Miss without cache flush assumes that either an entire page ofRAM memory 16 is available to store the data from theNAND memory 14, or the location in theRAM memory 16 where an entire page of data is to be stored contains coherent data (same as the data in the NAND memory 14), then the entire page of data read from theNAND memory 14 can be stored in a location in theRAM memory 16. Cache flush means the writing of data from theRAM memory 16 toNAND memory 14, thereby flushing the cache (RAM memory 16) of the data coherence problem. - Another possible scenario of a Read Miss is called Read Miss with cache flush. In this scenario, an entire page of data from the
NAND memory 14 cannot be stored in theRAM memory 16 without overwriting some data in theRAM memory 16 which is newer than the data in theNAND memory 14. This creates a data coherence problem. Thus, a page of data in theRAM memory 16 must first be written into theNAND memory 14, before the data from theNAND memory 14 in a different location can be read into theRAM memory 16. The sequence of operations is as follows. The page address portion of the address signal from theaddress bus 22 from thehost device 20 is compared to the page address signals 66 a from theCAM 66 to determine if the address signal from theaddress bus 22 is within any of the current page addresses. This comparison results in a miss, causing the Hit/Miss comparelogic 68 to send a read miss signal to the MCC/ECC unit 72 for the MCC/ECC unit 72 to initiate a read coherence cycle. In addition, the Hit/Miss comparelogic 68 asserts a signal on thewait state signal 26. The MCC/ECC unit 72 under the control of theMCU 64 determines that a page of data in theRAM memory 16 must first be written into theNAND memory 16 because there is a data coherence problem should the data from theNAND memory 14 be read into theRAM memory 16. TheMCU 64 executes an FFS operation to translate the address from theRAM memory 16 into the address in theNAND memory 14. - An entire page of data is read from the
RAM memory 16, passed through theMUX 80 and supplied to theNAND memory 14, where they are stored in theNAND memory 14. Thereafter, the address from thehost device 20 is converted by an FFS operation into a physical NAND address byMCU 64. The MCC/ECC unit 72 then generates the appropriate address and control signals under the direction ofMCU 64 to theNAND memory 14 and using theindex address 66 b from theCAM memory 66 and the control signals and the offset address portion from the MCC/ECC 72 to address theRAM memory 16. An entire page of data read from theNAND memory 14 is then transferred from theNAND memory 14 through theMUX 80 and to theRAM memory 16, where it is written into a page of locations in theRAM memory 16 specified by the MCC/ECC unit 72 and theindex address 66 b, and is operated thereon by the MCC/ECC unit 72 to ensure the integrity of the data, through error correction checking and the like. The current page address registers 66 a ofCAM 66 is then updated to add the page address which contains the current read miss address, along with it associatedindex address 66 b. The Hit/miss comparelogic 68 de-asserts the signal on thewait state signal 26. In addition, theMCU 64 switches theMUX 80 to the default position. The Hit/Miss comparelogic 68 sends theindex address 66 a to theMUX 70 where they are combined with the offset address from theaddress bus 22 to initiate a read operation in theRAM memory 16. The data is then read from theRAM memory 16 and supplied through theMUX 80 and through theMUX 84 to thedata bus 24 to thehost device 20, thereby completing the Read cycle. - In each of the cases of Read Hit, Read Miss without cache flush, and Read Miss with cache flush, from the
host device 20 point of view, the operation is no different than a read to a RAM device, with latency in the case of a Read Miss. Thehost device 20 does not have to deal with address translation and/or data coherence. - In a PNOR memory write operation, the
host device 20 sends an address signal on theaddress bus 22 which is within the PNORmemory access portion 52 of the memory space to thememory device 10, along with the data to be written into theRAM memory 16. There are two possibilities: Write Hit and Write Miss. - In the case of a Write Hit, the page address portion of the address signals supplied on the
address bus 22 are received by the Hit/Miss comparelogic 68, and are compared to the page addresses 66 a in theCAM 66, which reflect data currently stored in theRAM memory 16. The page address supplied on theaddress bus 22 is within a page address stored in theCAM 66. The Hit/Miss logic 68 activates theMUX 70 such that the address and control signals are then directed to theRAM memory 16. Theindex address 66 b from theCAM 66 and the offset address portion of the address signals from theaddress bus 22 are combined to produce an address signal used to access theRAM memory 16 through theMUX 70. Data from thedata bus 24 is supplied through theMUX 84 through theMUX 80 is supplied to theRAM memory 16, where it is then written into theRAM memory 16, thereby completing the Write Hit cycle. - It should be noted that the data in the
RAM memory 16, after the Write Hit operation will not be coherent with respect to the data from the same location in theNAND memory 14. In fact, the data in theRAM memory 16 will be the most current one. To solve the problem of data coherency, there are two solutions. - First, the
memory device 10 can automatically solve the problem of data coherence, on an as needed basis. As discussed previously, for example, in the case of a Read Miss with Cache Flush operation, data that is more current in theRAM memory 16 will be written back into theNAND memory 14 if the pages of data in theRAM memory 16 need to be replaced to store the newly called for page of data from theNAND memory 14. As will be discussed hereinafter, theMCU 64 will also perform a cache flush on the data in theRAM memory 16 by writing the data back into theNAND memory 14 in a Write Miss with Cache Flush operation. - An alternative solution to the problem of data coherence is to perform data coherence under the control of the
host device 20. Thus, thehost device 20 can issue a cache flush command causing thememory controller 12 to write data that is not coherent from theRAM memory 16 back into theNAND memory 14. The advantage of this operation is that it can be done by thehost device 20 at any time, including but not limited to critical events such as changing application, shutdown, or low power interruption received. However, because thememory controller 12 also can perform data coherence automatically, in the event the user of thehost device 20 fails to perform the data coherence operation, such operation will also be performed as needed by thememory controller 12. - In the case of a Write Miss, there are a number of possibilities. First, is the possibility called Write Miss without cache flush. In the event the comparison of the page address portion of the address signals from the
address bus 22 to the page address signals 66 a from theCAM 66 results in a miss, i.e. the address on theaddress bus 22 is not within the addresses of pages stored in theRAM memory 16, the Hit/Miss comparelogic 68 then sends a write miss signal to the MCC/ECC unit 72. In addition, the Hit/Miss comparelogic 68 asserts a signal on thewait state signal 26. The MCC/ECC unit 72 determines if a new page of data from theNAND memory 14, including the data at the address specified on theaddress bus 22 from thehost device 20, will store over either old coherent data, or a blank area of theRAM memory 16. In that event, there is no need for thememory controller 12 to perform a write coherence cycle before transferring the data from theNAND memory 14 to the location in theRAM memory 16. The MCC/ECC unit 72 under the control of theMCU 64 executes an FFS operation to translate the address supplied by thehost device 20 into a physical address in theNAND memory 14. The MCC/ECC unit 72 then generates the appropriate address and control signals to theNAND memory 14, and the appropriate address and control signals to theRAM memory 16. - An entire page of data, including data from the address specified on the
address bus 22, is read from theNAND memory 14 and is transferred through theMUX 80 and to theRAM memory 16, where it is written into an entire page of locations in theRAM memory 16 specified by the MCC/ECC unit 72 and theindex address 66 b, and is operated thereon by the MCC/ECC unit 72 to ensure the integrity of the data, through error correction checking and the like. The current page address registers 66 a ofCAM 66 is then updated to add the address of the address page within the current write miss address and the associatedindex address 66 b (theindex address 66 b being the upper 9 bits of the address in theRAM memory 16 where the page of data is stored). The Hit/miss comparelogic 68 de-asserts the signal on thewait state signal 26. In addition, the MCU switches theMUX 80 to the default position. The Hit/Miss comparelogic 68 sends theindex address 66 b to theMUX 70 where they are combined with the offset address from theaddress 22, to initiate a write operation in theRAM memory 16. The data is then written into theRAM memory 16 from thehost device 20 through theMUX 84 and through theMUX 80, thereby completing the cycle. The data in theRAM memory 16 is now no longer coherent with the data at the same address in theNAND memory 14. This coherence problem be solved by either thememory controller 12 initiating a write cache flush, automatically on an as needed basis, or by thehost device 20 initiating a write cache flush, at any time, all as previously discussed. - Another possible scenario of a Write Miss is called Write Miss with cache flush. In this scenario, an entire page of data from the
NAND memory 14 cannot be stored in theRAM memory 16 without overwriting some data in theRAM memory 16 which is newer than the data in theNAND memory 14. This creates a data coherence problem. Thus, a page of data in theRAM memory 16 must first be written into theNAND memory 14, before the data from theNAND memory 14 in a different location can be read into theRAM memory 16. The sequence of operations is as follows. The page address portion of the signal from theaddress bus 22 from thehost device 20 is compared to the page address signals 66 a from theCAM 66 to determine if the address signal from theaddress bus 22 is within any of the current page addresses. This comparison results in a miss, causing the Hit/Miss comparelogic 68 to send a write miss signal to the MCC/ECC unit 72 for the MCC/ECC unit 72 to initiate a write coherence cycle. In addition, the Hit/Miss comparelogic 68 asserts a signal on thewait state signal 26. The MCC/ECC unit 72 under the control of theMCU 64 determines that a page of data in theRAM memory 16 must first be written into theNAND memory 16 because there is a data coherence problem should the data from theNAND memory 14 be read into theRAM memory 16. TheMCU unit 64 executes an FFS operation to translate the address from theRAM memory 16 into the address in theNAND memory 14. - An entire page of data is read from the
RAM memory 16, passed through theMUX 80 and supplied to theNAND memory 14, where they are stored in theNAND memory 14. Thereafter, the address from thehost device 20 is converted by an FFS operation into a physical NAND address. The MCC/ECC unit 72 then generates the appropriate address and control signals to theNAND memory 14 using the physical NAND address from the FFS, and the index address and control signals to theRAM memory 16. An entire page of data read from theNAND memory 14 is then transferred from theNAND memory 14 through theMUX 80 and to theRAM memory 16, where it is written into a page of locations in theRAM memory 16 specified by the offset address from the MCC/ECC unit 72 and the index address from theindex address register 66 b, and is operated thereon by the MCC/ECC unit 72 to ensure the integrity of the data, through error correction checking and the like. The current page address registers ofCAM 66 is then updated to add thepage address 66 a which contains the current read miss address, and the associatedindex address 66 b. The Hit/miss comparelogic 68 de-asserts the signal on thewait state signal 26. In addition, the MCU switches theMUX 80 to the default position. The Hit/Miss comparelogic 68 sends theindex address 66 b to theMUX 70 where they are combined with the offset address from theaddress bus 22 to form an address to write in theRAM memory 16. The data is then written into theRAM memory 16 from thehost device 20 to thedata bus 24 through theMUX 84 and through theMUX 80. Similar to the foregoing discussion for Write Miss without Cache Flush, the data in theRAM memory 16 is now more current and a data coherence problem is created, which can be solved by either thehost device 20 initiating a cache flush, or thememory controller 12 initiating a cache flush operation. - In each of the cases of Write Hit, Write Miss without cache flush, and Write Miss with cache flush, from the
host device 20 point of view, the operation is no different than a write to a RAM device, with latency in the case of a Write Miss. Thehost device 20 does not have to deal with address translation and/or data coherence. - To further reduce the latency time in the event of a Read Miss with cache flush or a Write Miss with cache flush, caused by the need to first perform a write operation to the
NAND memory 14 from theRAM memory 16 to solve the data coherence problem, the following can be implemented. The page of data that is to be written into theNAND memory 14 is first written into thelocal SRAM 46 from theRAM memory 16. This is a much faster operation than writing directly into theNAND memory 14. Thereafter, the Read Miss with Cache Flush or Write Miss cache flush operation continues as if it were a Read Miss without cache flush or Write Miss without Cache Flush operation. After the Read Miss or Write Miss operation is completed, the data stored in thelocal SRAM 46 can be written into theNAND memory 14 in background operation when thememory device 10 is idle or access is limited to operation in the NORmemory access portion 50 or RAMmemory access portion 54 or the configurationregister access portion 56. - It should be noted that in a PNOR operation, from the
host device 20 point of view, the operation is no different than executing to a RAM memory, with the data being non-volatile, but without thehost device 20 issuing NOR protocol commands, such as Sector or Block ERASE. However, it is also within the present invention that thememory device 10 can emulate NOR operation usingRAM memory 16 andNAND memory 14. In that event the memory space mapping for the NORmemory access portion 50 would extend to more than just mapping to the NORmemory 44. The NORmemory access portion 50 can be mapped to a portion of theRAM memory 16, with theRAM memory 16 mapped to theNAND memory 14 statically thereby presenting no latency problem during access. The data from theNAND memory 14 would be loaded into theRAM 16 on power up, and read/write to the NORmemory access portion 50 would be reading from or writing to theRAM memory 16. The only other change would be for thememory controller 12 to be responsive to the NOR protocol commands. As previously discussed, when such NOR protocol commands are issued by thehost device 20, they are supplied as a sequence of unique data patterns. The data, supplied on thedata bus 24 would be passed through theMUX 84 through theMUX 80. Because the address supplied on the address bus indicates that the operation is to be in a NORmemory access portion 50 emulated byRAM memory 16, theMUX 74 is switched permitting theMCU 64 to receive the data pattern. Once that data pattern is decoded as a NOR command, the MCU operates theNAND memory 14 with those NOR commands, if for example the command is erase. Of course, theRAM memory 16, being volatile memory does not have to be “erased”. Thus, the execution of the NOR protocol commands would result in a faster operation by aRAM memory 16 emulating NORmemory 44 than a true NORmemory 44 executing the NOR protocol commands. Further, the emulation need not emulate the full set of NOR protocol commands. Instead, thecontroller 12 can emulate a partial set of the NOR protocol commands. Therefore, as used herein, the term “NOR protocol commands” means one or more commands from the full set of NOR protocol commands, promulgated by e.g. Intel or AMD. - In a
RAM memory 16 read operation, thehost device 20 sends an address signal on theaddress bus 22 which is within the RAMmemory access portion 54 of the memory space to thememory device 10. In addition, appropriate control signals are sent by thehost device 20 on thecontrol bus 32 to thememory device 10. Because the address signals are in the RAMmemory access portion 54, the Hit/miss comparelogic 68 activates theMUX 70 to permit the address/control signals from theaddress bus 22 andcontrol bus 32 to be supplied to theRAM memory 16. However, thewait state signal 26 is not asserted. In addition, the address from thehost device 20 is decoded and from an address signal which is supplied to theRAM memory 16 along with the control signal from thecontrol bus 32, where the data from the address supplied is read. The data is then supplied along the data bus to theMUX 80 and theMUX 84 and out along thedata bus 24 to thehost device 20, thereby completing the read cycle. - In a
RAM memory 16 write operation, thehost device 20 sends an address signal on theaddress bus 22 which is within the RAMmemory access portion 54 of the memory space to thememory device 10. In addition, appropriate control signals are sent by thehost device 20 on thecontrol bus 32 to thememory device 10. Because the address signals are in the RAMmemory access portion 54, the Hit/miss comparelogic 68 activates theMUX 70 to permit the address/control signals from theaddress bus 22 andcontrol bus 32 to be supplied to theRAM memory 16. However, thewait state signal 26 is not asserted. In addition, the address from thehost device 20 is decoded and form an address signal which is supplied to theRAM memory 16 along with the control signal from thecontrol bus 32, where the data from thedata bus 24 is written into theRAM memory 16 at the address supplied. - From the perspective of a
host device 20, the operation of read or write in the RAM memory access portion is no different than accessing a RAM device with no latency. - In a Configuration Register operation, the
host device 20 sends an address signal on theaddress bus 22 which is within the Configurationregister access portion 56 of the memory space to thememory device 10. In addition, appropriate control signals are sent by thehost device 20 on thecontrol bus 32 to thememory device 10. The data is then written into the Non-Volatile Registers 60. - In a
NAND memory 14 read operation, thehost device 20 sends an address signal on theaddress bus 22 which is within the MassStorage Access section 58 or ATAmemory access portion 58 of the memory space to thememory device 10. In addition, appropriate control signals are sent by thehost device 20 on thecontrol bus 32 to thememory device 10. Because the address signals are in a space other than in the PNORmemory access portion 52, the Hit/miss comparelogic 68 is not activated, and thewait state signal 26 is not asserted. Thehost device 20 follows the ATA protocol to read/write to task file registers 79 for an ATA read/write command. The task file registers 79 contain registers to store: command, status, cylinder, head, sector etc. The MCC/ECC unit 72 under the control of theMCU 64 operates the Flash File System which translates host logical address to NAND physical address, with the capability to avoid using defective NAND sectors. Reference is made to U.S. Pat. Nos. 6,427,186; 6,405,323; 6,141,251 and 5,982,665, whose disclosures are incorporated by reference in their entirety. Each logical address from thehost device 20 has an entry in a table called Vpage. The contents of the entry points to the physical address where the logical address data is stored. - To read a page of data from the
NAND memory 14, the address signals and the control signals are supplied to theNAND memory 14. Thehost device 20 follows the ATA protocol with the task file registers 79 storing the command and the logical address. Each sector size is 512 bytes. Thehost device 20 checks for the readiness of thememory 10 by reading thestatus register 79 which is in the task fileregister access portion 58 of the memory space. Thehost device 20 writes the “read” command into the command registers 79, within thememory space 58. TheMCU 64 performs an FFS translation of the logical address to a physical address and the MCC/ECC unit 72 under the control of theMCU 64 reads the data from theNAND memory 14, and transfers pages of data into thebuffer 81. After the entire page of data is stored in the Data Registers 81, and is operated thereon by the MCC/ECC unit 72 to ensure the integrity of the data, through error correction checking and the like, the data is read out of thememory controller 12 along thedata bus 24. - An operation to write into the
NAND memory 14 is similar to an operation to read from theNAND memory 14. Thehost device 20 checks for the readiness of thememory 10 by reading thestatus register 79 which is in thetask memory space 58 portion. Thehost device 20 writes one page of data into theData register 81, and then writes the “write” command into the command registers 79, along with the logical address. Thereafter, theMCU 64 using the FFS converts the logical address to a physical address and the MCC/ECC unit 72 under the control of theMCU 64 writes the one page of data from theATA buffer 81 into theNAND memory 14. - The FFS updates a page of data by locating the physical address of the page to be updated. FFS finds an erased sector as a “buffer sector” or if there is no erased sector, it first performs an erase operation on a sector. FFS then reads the old data which has not been modified and programmed to the buffer sector. FFS then programs the updated page data. It then waits for the next request. If the next page is on the same erase sector, FFS continues the update operation. If the next page is outside of the transferring erase sector, the rest of the unmodified data will be copied to the buffer sector. The mapping table entry is changed to the buffer sector physical address. A new page update operation is then started.
- Referring to
FIG. 4 there is shown a second embodiment of amemory device 110. Thememory device 110 is similar to thememory device 10 shown inFIG. 1 . Thus, like parts with like numerals will be designated. The only difference between thememory device 110 and thememory device 10 is that in thememory device 100, thesecond RAM bus 40 connects theRAM memory 100 directly to thehost device 20, rather then to thememory controller 12. Thus, in thememory device 110, the host device has direct access and control of theRAM memory 100. - This difference between the embodiment of the
memory device 10 and the embodiment of thememory device 110 is reflected in the memory mapping shown inFIG. 5 . Similar to thememory device 10, the memory mapping for thememory device 110 comprises a NORmemory access portion 50 which is mapped to the NORmemory 44, a PNORmemory access portion 52 which is mapped to theRAM memory 16 in thememory device 110, which is then mapped to theNAND memory 14, and a RAMmemory access portion 54 mapped to theRAM memory 16. However, with theRAM memory 100 being directly accessible by thehost device 20 through thesecond RAM bus 40, the memory mapping for thememory device 110 also includes another RAMmemory access portion 55, which maps directly to theRAM memory 100. Thememory device 110 then further comprises the configurationregister access portion 56, and finally an ATAmemory access portion 58, similar to that described for thememory device 10. - With the
memory controller 12 interfacing with thehost device 20 and with theNAND memory 14, thememory device 10 offers more protection than the memory devices of the prior art. In particular, thememory controller 12 can limit access to certain data stored in theNAND memory 14, as in concerns relating to Digital Rights Management. Further thememory controller 12 can encrypt the data stored in theNAND memory 14 to protect sensitive data. Finally, thememory controller 12 can offer protection against accidental erasure of data in certain portion(s) of theNAND memory 14. Finally with the program stored in NORmemory 62 thememory controller 12 is a self-starting device in that it does not require initial commands from thehost device 20. - There are many aspects of the present invention. First, the
memory device - In yet another aspect of the present invention, the memory device is a universal memory device, wherein the user can defined the memory space allocation. The memory device has a memory controller which has a first address bus for receiving a RAM address signals, a first data bus for receiving RAM data signals, and a first control bus for receiving RAM control signals. The memory controller has NOR memory embedded therein and further has a second address bus for interfacing with a volatile RAM memory, a second data bus for interfacing with the volatile RAM memory, and a second control bus for interfacing with the volatile RAM memory. The controller further has a third address/data bus for interfacing with a non-volatile NAND memory, and a third control bus for interfacing with non-volatile NAND memory. The memory device further having a RAM memory connected to said second address bus, said second data bus, and said second control bus. The memory device further having a non-volatile NAND memory connected to the third address/data bus and to the third control bus. The memory device is responsive to the user defined memory space allocation wherein in a first address range supplied on the first address bus, the memory device is responsive to NOR memory operation including being responsive to NOR protocol commands, and a second address range supplied on the first address bus, the memory device is responsive to RAM operation, and a third address range supplied on the address bus, the memory device is responsive to the NAND memory operating as an ATA disk drive device, wherein the first, second and third address ranges are all definable by the user
- In yet another aspect of the present invention, memory device has a memory controller which has a first address bus for receiving a RAM address signals, a first data bus for receiving RAM data signals, and a first control bus for receiving RAM control signals. The memory controller further has a second address bus for interfacing with a volatile RAM memory, a second data bus for interfacing with the volatile RAM memory, and a second control bus for interfacing with the volatile RAM memory. The controller further has a third address/data bus for interfacing with a non-volatile NAND memory, and a third control bus for interfacing with non-volatile NAND memory. The memory device further having a RAM memory connected to said second address bus, said second data bus, and said second control bus. The memory device further having a non-volatile NAND memory connected to the third address/data bus and to the third control bus. The controller further having means to receive a first address on the first address bus and to map the first address to a second address in the non-volatile NAND memory, with the volatile RAM memory serving as cache for data to or from the second address in the non-volatile NAND memory, and means for maintaining data coherence between the data stored in the volatile RAM memory as cache and the data at the second address in the non-volatile NAND memory.
- In another aspect of the present invention, the memory device has a memory controller which has a first address bus for receiving a NOR address signals, a first data bus for receiving NOR data signals and data protocol commands, and a first control bus for receiving NOR control signals. The memory controller further has a second address bus for interfacing with a volatile RAM memory, a second data bus for interfacing with the volatile RAM memory, and a second control bus for interfacing with the volatile RAM memory. The controller further has a third address/data bus for interfacing with a non-volatile NAND memory, and a third control bus for interfacing with non-volatile NAND memory. The memory device further having a RAM memory connected to said second address bus, said second data bus, and said second control bus. The memory device further having a non-volatile NAND memory connected to the third address/data bus and to the third control bus. The controller further operating the RAM memory to emulate the operation of a NOR memory device including NOR protocol commands.
- One of the uses of the
memory FIG. 6 . Thememory device - First,
memory memory memory memory NAND memory 14, such that upon boot up of the PC 300, the software can be immediately read from theNAND flash memory 14 through thecontroller 12 of thememory HDD 326. In addition, certain data or program that is frequently used by a user, as monitored by the operating system can also be pre-fetched from theHDD 326 and stored in theNAND 14 or NORmemory 44 portion of thememory memory HDD 326. - Second, the
memory BIOS 320. Because thememory memory BIOS 320 and can be used to store the start up code that the processor 314 requires to start the PC 300. The interface to theSouthbridge 318 from theBIOS 320 can be serial or parallel. In addition, thememory memory HDD 326. Thecontroller 12 can provide security access to authorize one or the other portion. When operating in this mode, thememory RAM 16. Thememory controller 12 with a small amount of NORmemory 44 and aNAND Flash memory 14, and need not contain anyRAM 16 or be able to operate in a Pseudo NOR mode. Further, not all of theBIOS 320 instructions need to be stored in the NORmemory 44. Some of the instructions for theBIOS 320 can be stored in the NORmemory 44 with the remainder stored in theNAND Flash memory 14. - Third, the
memory BIOS 320 and with thebus 350 divided into two buses: afirst bus 351, parallel or SPI (serial) from theSouthbridge 318 to theBIOS 320, and a second bus 352: an industry standard ATA bus from theSouthbridge 318 to theBIOS 320, as shown inFIG. 7A . In this mode, which is a variation of the second mode described above, thememory RAM 16. In addition to the functions of storage and retrieval of the BIOS instructions, because thememory HDD 326. Thus, thememory NAND Flash memory 14. Thus, as used herein, thebus 350 can mean any type of bus or group of buses, including but not limited to PCI, PCI express, USB, ATA etc. - Fourth, the
memory BIOS 320 and with the bus re-routed such that thememory Southbridge 318 to theHDD 326 or to theUSB port 327 as shown inFIG. 7B . Because thememory controller 12, there are three modes it can operate. First, it can be totally transparent, i.e. as if thememory bus 350 directed from theSouthbridge 318 to theHDD 326 or theUSB port 327. Second, thememory Southbridge 318 and theHDD 326 and “trap” or “capture” any such command or data. If the data requested by theSouthbridge 318 is stored in thememory device memory device HDD 326 responding. Thus, performance is improved by thememory device HDD 326. It should be noted that this mode of operation does not require any special software driver. Third, thememory MCU 12 and thememory device HDD 326 and control the operation thereof. This capability will be discussed in greater detail hereinafter. Here again, when operating in this mode, thememory RAM 16. Thememory memory 44 and aNAND Flash memory 14. Similar to the third mode of operation, thebus 350 that connects theSouthbridge 318 to theBIOS 320 and to theHard Drive 326 can comprise a group of buses such as: a parallel orSPI bus 351 for accessing the NORmemory 44 and an industrystandard ATA bus 352 for accessing theNAND memory 14. The NORflash memory 44 can serve to store instructions forBIOS 320, as previously discussed, when access to theBIOS 320 is along the parallel orSPI bus 351. In addition, because theNAND Flash memory 14 is cheaper than NORmemory 44, theNAND Flash memory 14 can be used to store the rest of the instructions for theBIOS 320 and retrieved into theMCU 12 and supplied along the parallel orSPI bus 351. In addition, theNAND flash memory 14 can be used to store cache data from theHard Disk Drive 326, when theSouthbridge 318 attempts to retrieve the data from theHDD 326 along theATA bus 352. A variation of the example shown inFIG. 7B is shown inFIG. 7C wherein thememory device - Fifth, because the
MCU 12 in thememory device MCU 12 can be programmed such that thememory device NAND memories 14. The program code necessary to operate theMCU 64 of thememory controller 12 can be stored in the NORmemory 62. If theMCU 12 is not robust enough or it is desired to have dedicated hardware perform the MP3/video function, then either a dedicated DSP processor or a dedicated MP3 player processor can be integrated into thememory device memory device NAND memories 14. - Sixth, with the
memory device MCU 12 programmed for MP3 or video playback or with thememory device memory device HDD 326. - In addition to the features of the above mentioned sixth mode, in the event the PC 300 has an additional display, e.g. a smaller secondary display, with the PC 300 off or in a hibernating mode, the
memory device HDD 326 and display them on either the primary display 332 or a secondary display (not shown). Again, in this mode of operation the only “active” component of the PC 300 that requires power would be thememory device HDD 326 and the display 332 or the secondary display (not shown). Thus, with a smaller secondary display, which is “active” only when thememory device - Finally, in a seventh mode, with the
bus 350 also connected to external ports, such asUSB port 327, thememory device memory device memory device USB port 327. It should be noted that the USB bus is only just one example of the type of bus to which the present invention is directed. As previously discussed, thebus 350 can be any type of bus including but not limited to PCI, PCI express, ATA etc. Among the devices that can be connected to theUSB port 327 include, card reader, that provides system 300 with file image back up to theHDD 326; external USB storage device for additional storage or backup; and additional devices such as Bluetooth communication device. Thus, in this mode, it would be possible to “copy” a file from theHDD 326 without powering on the entire PC 300.
Claims (7)
1-24. (canceled)
25. A computer comprising:
a main processor;
a main memory connected to said main processor;
a bridge circuit connected to said main processor;
a first plurality of buses connected to said bridge circuit;
a controller circuit having a first plurality of ports for connecting to said first plurality of buses for receiving and providing signals to the bridge circuit; and a second plurality of ports for connecting to a second plurality of buses for receiving and providing signals to a second plurality of peripheral devices; and
said controller circuit operable in one of two modes: wherein a first mode, said controller circuit functions as a pass through device to provide signals transparently to and from the bridge circuit to the peripherals devices; and wherein in a second mode, said controller circuit functions to connect the signals from one peripheral to another peripheral without the signals being supplied to the bridge circuit.
26. The computer of claim 25 , wherein said controller circuit further comprising:
an integrated circuit die, having a NOR memory embedded therein for containing a program code to boot said controller circuit.
27. The computer of claim 25 , wherein said controller circuit further comprising:
a third port for connecting to a NAND memory.
28. The computer of claim 25 wherein said controller circuit further comprising:
a fourth port for connecting to a volatile memory.
29. The computer of claim 25 wherein said first mode said main processor is active or on, and wherein said second mode said processor is inactive or off.
30-32. (canceled)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/371,494 US20090150588A1 (en) | 2005-12-28 | 2009-02-13 | Hard Disk Drive Cache Memory and Playback Device |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US75493705P | 2005-12-28 | 2005-12-28 | |
US11/637,419 US7519754B2 (en) | 2005-12-28 | 2006-12-11 | Hard disk drive cache memory and playback device |
US12/371,494 US20090150588A1 (en) | 2005-12-28 | 2009-02-13 | Hard Disk Drive Cache Memory and Playback Device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/637,419 Division US7519754B2 (en) | 2005-12-28 | 2006-12-11 | Hard disk drive cache memory and playback device |
Publications (1)
Publication Number | Publication Date |
---|---|
US20090150588A1 true US20090150588A1 (en) | 2009-06-11 |
Family
ID=38700898
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/637,419 Active 2027-04-30 US7519754B2 (en) | 2005-12-28 | 2006-12-11 | Hard disk drive cache memory and playback device |
US12/371,494 Abandoned US20090150588A1 (en) | 2005-12-28 | 2009-02-13 | Hard Disk Drive Cache Memory and Playback Device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/637,419 Active 2027-04-30 US7519754B2 (en) | 2005-12-28 | 2006-12-11 | Hard disk drive cache memory and playback device |
Country Status (5)
Country | Link |
---|---|
US (2) | US7519754B2 (en) |
JP (1) | JP2007183961A (en) |
KR (1) | KR20070070122A (en) |
CN (2) | CN101013351A (en) |
TW (1) | TWI317478B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080244165A1 (en) * | 2007-03-28 | 2008-10-02 | Kabushiki Kaisha Toshiba | Integrated Memory Management Device and Memory Device |
US20090083478A1 (en) * | 2007-03-28 | 2009-03-26 | Kabushiki Kaisha Toshiba | Integrated memory management and memory management method |
US20090172211A1 (en) * | 2007-12-28 | 2009-07-02 | Sandisk Il Ltd. | Storage device with transaction logging capability |
US20090172307A1 (en) * | 2007-12-28 | 2009-07-02 | Sandisk Il Ltd. | Storage device with transaction indexing capability |
WO2010148922A1 (en) * | 2009-11-24 | 2010-12-29 | 中兴通讯股份有限公司 | Method and device for accessing data in nand flash memory |
US20130346671A1 (en) * | 2012-06-22 | 2013-12-26 | Winbond Electronics Corporation | On-Chip Bad Block Management for NAND Flash Memory |
US20140156909A1 (en) * | 2012-11-30 | 2014-06-05 | Dell Products, Lp | Systems and Methods for Dynamic Optimization of Flash Cache in Storage Devices |
CN103871447A (en) * | 2012-12-14 | 2014-06-18 | 华邦电子股份有限公司 | NAND flash memory array, NAND flash memory chip, and methods for accessing, reading and managing NAND flash memory array |
US20140317149A1 (en) * | 2013-04-22 | 2014-10-23 | Sap Ag | Multi-Buffering System Supporting Read/Write Access to Different Data Source Type |
US9324450B2 (en) | 2013-03-13 | 2016-04-26 | Winbond Electronics Corporation | NAND flash memory |
US9367392B2 (en) | 2014-08-01 | 2016-06-14 | Winbond Electronics Corporation | NAND flash memory having internal ECC processing and method of operation thereof |
US9442798B2 (en) | 2014-07-31 | 2016-09-13 | Winbond Electronics Corporation | NAND flash memory having an enhanced buffer read capability and method of operation thereof |
US9857981B2 (en) | 2015-12-09 | 2018-01-02 | Via Alliance Semiconductor Co., Ltd. | Host interface controller and control method for storage device |
Families Citing this family (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11734393B2 (en) | 2004-09-20 | 2023-08-22 | Warner Bros. Entertainment Inc. | Content distribution with renewable content protection |
US20060064386A1 (en) | 2004-09-20 | 2006-03-23 | Aaron Marking | Media on demand via peering |
US7958301B2 (en) * | 2007-04-10 | 2011-06-07 | Marvell World Trade Ltd. | Memory controller and method for memory pages with dynamically configurable bits per cell |
US8904098B2 (en) | 2007-06-01 | 2014-12-02 | Netlist, Inc. | Redundant backup using non-volatile memory |
US8874831B2 (en) * | 2007-06-01 | 2014-10-28 | Netlist, Inc. | Flash-DRAM hybrid memory module |
US20080306723A1 (en) * | 2007-06-08 | 2008-12-11 | Luca De Ambroggi | Emulated Combination Memory Device |
US7996600B2 (en) * | 2007-08-30 | 2011-08-09 | Unity Semiconductor Corporation | Memory emulation in an electronic organizer |
US8164656B2 (en) * | 2007-08-31 | 2012-04-24 | Unity Semiconductor Corporation | Memory emulation in an image capture device |
US9201790B2 (en) * | 2007-10-09 | 2015-12-01 | Seagate Technology Llc | System and method of matching data rates |
US8165621B2 (en) * | 2007-10-10 | 2012-04-24 | Unity Semiconductor Corporation | Memory emulation in a cellular telephone |
US7751221B2 (en) * | 2007-12-21 | 2010-07-06 | Unity Semiconductor Corporation | Media player with non-volatile memory |
KR101553532B1 (en) | 2008-04-17 | 2015-09-16 | 삼성전자주식회사 | Storage device |
CN101788951B (en) * | 2008-08-15 | 2012-10-10 | 北京北大众志微系统科技有限责任公司 | Storage method for network computer |
US8156320B2 (en) * | 2008-08-27 | 2012-04-10 | Wireless Silicon Group, Llc | Method and apparatus for fast booting a portable computing device allowing for immediate operation |
US8281169B2 (en) | 2008-08-27 | 2012-10-02 | Wireless Silicon Group, Inc. | Method and system for power management for a handheld mobile electronic device executing-in-place an application kernel from execute-in-place non-volatile memory (XIP NVM) |
US8250285B2 (en) * | 2008-09-10 | 2012-08-21 | Infinte Mormories Ltd. | Non-volatile dual memory die for data storage devices |
US20110167214A1 (en) * | 2008-09-15 | 2011-07-07 | Leonard Russo | Method And Apparatus To Manage Non-Volatile Disk Cache |
US8149622B2 (en) * | 2009-06-30 | 2012-04-03 | Aplus Flash Technology, Inc. | Memory system having NAND-based NOR and NAND flashes and SRAM integrated in one chip for hybrid data, code and cache storage |
JP2012533805A (en) * | 2009-07-17 | 2012-12-27 | セキュアー コンテント ストレージ アソシエイション, リミテッド ライアビリティ カンパニー | A simple non-autonomous peering media replication detector |
CN102122267A (en) * | 2010-01-07 | 2011-07-13 | 上海华虹集成电路有限责任公司 | Multi-channel NANDflash controller capable of simultaneously carrying out data transmission and FTL (Flash Transition Layer) management |
JP2011197819A (en) * | 2010-03-17 | 2011-10-06 | Toshiba Corp | Semiconductor device |
CN102591816A (en) * | 2011-01-17 | 2012-07-18 | 上海华虹集成电路有限责任公司 | Multichannel Nandflash storage system |
WO2013048490A1 (en) * | 2011-09-30 | 2013-04-04 | Intel Corporation | Non-volatile random access memory (nvram) as a replacement for traditional mass storage |
JP5532059B2 (en) * | 2012-01-27 | 2014-06-25 | 株式会社日立製作所 | Semiconductor device |
CN105122218B (en) | 2013-03-14 | 2019-01-18 | 美光科技公司 | Storage system and method comprising training, data organization and/or masking |
US9436600B2 (en) | 2013-06-11 | 2016-09-06 | Svic No. 28 New Technology Business Investment L.L.P. | Non-volatile memory storage for multi-channel memory system |
US10185515B2 (en) * | 2013-09-03 | 2019-01-22 | Qualcomm Incorporated | Unified memory controller for heterogeneous memory on a multi-chip package |
CN104461959B (en) * | 2014-11-05 | 2017-04-19 | 福州瑞芯微电子股份有限公司 | Method and device for distinguishing NOR Flash from NAND Flash |
US10866737B2 (en) * | 2015-09-17 | 2020-12-15 | Intel Corporation | Apparatus, method and system to store information for a solid state drive |
US10481799B2 (en) * | 2016-03-25 | 2019-11-19 | Samsung Electronics Co., Ltd. | Data storage device and method including receiving an external multi-access command and generating first and second access commands for first and second nonvolatile memories |
US10067877B1 (en) * | 2016-06-30 | 2018-09-04 | EMC IP Holding Company LLC | Method, apparatus and computer program product for use in managing multi-cache data storage systems |
US11960757B2 (en) | 2021-10-04 | 2024-04-16 | Samsung Electronics Co., Ltd. | Flash translation layer with rewind |
CN114049905B (en) * | 2021-12-16 | 2024-04-09 | 西安紫光国芯半导体有限公司 | Nonvolatile three-dimensional memory unit, memory method, chip assembly and electronic device |
TWI814647B (en) * | 2022-11-24 | 2023-09-01 | 慧榮科技股份有限公司 | Method and computer program product and apparatus for executing host commands |
Citations (72)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4534011A (en) * | 1982-02-02 | 1985-08-06 | International Business Machines Corporation | Peripheral attachment interface for I/O controller having cycle steal and off-line modes |
US4837677A (en) * | 1985-06-14 | 1989-06-06 | International Business Machines Corporation | Multiple port service expansion adapter for a communications controller |
US4860192A (en) * | 1985-02-22 | 1989-08-22 | Intergraph Corporation | Quadword boundary cache system |
US4937567A (en) * | 1984-11-07 | 1990-06-26 | International Business Machines Corporation | Communication adapter for store loop communication system |
US4955024A (en) * | 1987-09-14 | 1990-09-04 | Visual Information Technologies, Inc. | High speed image processing computer with error correction and logging |
US4965717A (en) * | 1988-12-09 | 1990-10-23 | Tandem Computers Incorporated | Multiple processor system having shared memory with private-write capability |
US4974153A (en) * | 1987-09-04 | 1990-11-27 | Digital Equipment Corporation | Repeater interlock scheme for transactions between two buses including transaction and interlock buffers |
US5134706A (en) * | 1987-08-07 | 1992-07-28 | Bull Hn Information Systems Inc. | Bus interface interrupt apparatus |
US5189665A (en) * | 1989-03-30 | 1993-02-23 | Texas Instruments Incorporated | Programmable configurable digital crossbar switch |
US5210530A (en) * | 1991-01-04 | 1993-05-11 | Codex Corporation | Network management interface with internal dsd |
US5218686A (en) * | 1989-11-03 | 1993-06-08 | Compaq Computer Corporation | Combined synchronous and asynchronous memory controller |
US5276807A (en) * | 1987-04-13 | 1994-01-04 | Emulex Corporation | Bus interface synchronization circuitry for reducing time between successive data transmission in a system using an asynchronous handshaking |
US5341487A (en) * | 1991-12-20 | 1994-08-23 | International Business Machines Corp. | Personal computer having memory system with write-through cache and pipelined snoop cycles |
US5379415A (en) * | 1992-09-29 | 1995-01-03 | Zitel Corporation | Fault tolerant memory system |
US5404485A (en) * | 1993-03-08 | 1995-04-04 | M-Systems Flash Disk Pioneers Ltd. | Flash file system |
US5446869A (en) * | 1993-12-30 | 1995-08-29 | International Business Machines Corporation | Configuration and RAM/ROM control of PCI extension card residing on MCA adapter card |
US5535340A (en) * | 1994-05-20 | 1996-07-09 | Intel Corporation | Method and apparatus for maintaining transaction ordering and supporting deferred replies in a bus bridge |
US5561819A (en) * | 1993-10-29 | 1996-10-01 | Advanced Micro Devices | Computer system selecting byte lane for a peripheral device during I/O addressing technique of disabling non-participating peripherals by driving an address within a range on the local bus in a DMA controller |
US5581741A (en) * | 1992-11-12 | 1996-12-03 | International Business Machines Corporation | Programmable unit for controlling and interfacing of I/O busses of dissimilar data processing systems |
US5673414A (en) * | 1992-01-02 | 1997-09-30 | International Business Machines Corporation | Snooping of I/O bus and invalidation of processor cache for memory data transfers between one I/O device and cacheable memory in another I/O device |
US5699529A (en) * | 1990-08-31 | 1997-12-16 | Ncr Corporation | Work station or similar data processing system including interfacing means to a data channel |
US5721839A (en) * | 1995-10-13 | 1998-02-24 | Compaq Computer Corporation | Apparatus and method for synchronously providing a fullness indication of a dual ported buffer situated between two asynchronous buses |
US5729760A (en) * | 1996-06-21 | 1998-03-17 | Intel Corporation | System for providing first type access to register if processor in first mode and second type access to register if processor not in first mode |
US5764966A (en) * | 1995-06-07 | 1998-06-09 | Samsung Electronics Co., Ltd. | Method and apparatus for reducing cumulative time delay in synchronizing transfer of buffered data between two mutually asynchronous buses |
US5778418A (en) * | 1991-09-27 | 1998-07-07 | Sandisk Corporation | Mass computer storage system having both solid state and rotating disk types of memory |
US5805835A (en) * | 1996-07-15 | 1998-09-08 | Micron Electronics, Inc. | Parallel architecture computer system and method |
US5805792A (en) * | 1989-07-31 | 1998-09-08 | Texas Instruments Incorporated | Emulation devices, systems, and methods |
US5844856A (en) * | 1996-06-19 | 1998-12-01 | Cirrus Logic, Inc. | Dual port memories and systems and methods using the same |
US5905509A (en) * | 1997-09-30 | 1999-05-18 | Compaq Computer Corp. | Accelerated Graphics Port two level Gart cache having distributed first level caches |
US5926629A (en) * | 1997-02-18 | 1999-07-20 | Advanced Micro Devices, Inc. | Continuously operating interconnection bus |
US5937425A (en) * | 1997-10-16 | 1999-08-10 | M-Systems Flash Disk Pioneers Ltd. | Flash file system optimized for page-mode flash technologies |
US5941968A (en) * | 1997-04-14 | 1999-08-24 | Advanced Micro Devices, Inc. | Computer system for concurrent data transferring between graphic controller and unified system memory and between CPU and expansion bus device |
US5955905A (en) * | 1996-11-11 | 1999-09-21 | Hitachi, Ltd. | Signal generator with synchronous mirror delay circuit |
US5990914A (en) * | 1997-09-09 | 1999-11-23 | Compaq Computer Corporation | Generating an error signal when accessing an invalid memory page |
US5999997A (en) * | 1996-07-26 | 1999-12-07 | Compaq Computer Corporation | Two computers cooperating via interconnected busses |
US6029253A (en) * | 1997-10-30 | 2000-02-22 | Micron Electronics, Inc. | Method for synchronizing data with a bi-directional buffer |
US6088822A (en) * | 1996-10-31 | 2000-07-11 | Sgs-Thomson Microelectronics Limited | Integrated circuit with tap controller |
US6098110A (en) * | 1996-12-30 | 2000-08-01 | Compaq Computer Corporation | Network switch with a multiple bus structure and a bridge interface for transferring network data between different buses |
US6163815A (en) * | 1998-05-27 | 2000-12-19 | International Business Machines Corporation | Dynamic disablement of a transaction ordering in response to an error |
US6199167B1 (en) * | 1998-03-25 | 2001-03-06 | Compaq Computer Corporation | Computer architecture with password-checking bus bridge |
US6199137B1 (en) * | 1999-01-05 | 2001-03-06 | Lucent Technolgies, Inc. | Method and device for controlling data flow through an IO controller |
US6223279B1 (en) * | 1991-04-30 | 2001-04-24 | Kabushiki Kaisha Toshiba | Single chip microcomputer having a dedicated address bus and dedicated data bus for transferring register bank data to and from an on-line RAM |
US6272582B1 (en) * | 1998-02-20 | 2001-08-07 | Mitsubishi Denki Kabushiki Kaisha | PCI-PCI bridge allowing controlling of a plurality of PCI agents including a VGA device |
US6330635B1 (en) * | 1999-04-16 | 2001-12-11 | Intel Corporation | Multiple user interfaces for an integrated flash device |
US6363446B1 (en) * | 1999-06-12 | 2002-03-26 | Micron Technology, Inc. | Method for selectively encoding bus grant lines to reduce I/O pin requirements |
US6415353B1 (en) * | 1998-10-01 | 2002-07-02 | Monolithic System Technology, Inc. | Read/write buffers for complete hiding of the refresh of a semiconductor memory and method of operating same |
US6421765B1 (en) * | 1999-06-30 | 2002-07-16 | Intel Corporation | Method and apparatus for selecting functional space in a low pin count memory device |
US6456517B2 (en) * | 2000-01-26 | 2002-09-24 | Samsung Electronics Co., Ltd. | System having memory devices operable in a common interface |
US20020185337A1 (en) * | 2001-06-11 | 2002-12-12 | Hitachi, Ltd. | Semiconductor device with non-volatile memory and random access memory |
US6502146B1 (en) * | 2000-03-29 | 2002-12-31 | Intel Corporation | Apparatus and method for dedicated interconnection over a shared external bus |
US6510488B2 (en) * | 2001-02-05 | 2003-01-21 | M-Systems Flash Disk Pioneers Ltd. | Method for fast wake-up of a flash memory system |
US20030050087A1 (en) * | 2001-09-07 | 2003-03-13 | Samsung Electronics Co., Ltd. | Memory device in mobile phone |
US20030156454A1 (en) * | 2002-02-21 | 2003-08-21 | Jian Wei | Direct memory swapping between NAND flash and SRAM with error correction coding |
US6633944B1 (en) * | 2001-10-31 | 2003-10-14 | Lsi Logic Corporation | AHB segmentation bridge between busses having different native data widths |
US6636935B1 (en) * | 2001-09-10 | 2003-10-21 | Rambus Inc. | Techniques for increasing bandwidth in port-per-module memory systems having mismatched memory modules |
US20030206442A1 (en) * | 2002-05-02 | 2003-11-06 | Jerry Tang | Flash memory bridiging device, method and application system |
US6658006B1 (en) * | 1999-06-03 | 2003-12-02 | Fujitsu Network Communications, Inc. | System and method for communicating data using modified header bits to identify a port |
US6704847B1 (en) * | 1999-06-09 | 2004-03-09 | Texas Instruments Incorporated | Host access to shared memory with a high priority mode |
US20040049629A1 (en) * | 2002-09-11 | 2004-03-11 | Hitachi, Ltd. | System and method for using dynamic random access memory and flash memory |
US20040064606A1 (en) * | 2002-09-26 | 2004-04-01 | Mitsubishi Denki Kabushi Kaisha | Memory system allowing fast operation of processor while using flash memory incapable of random access |
US20040139310A1 (en) * | 2002-01-31 | 2004-07-15 | Akiyoshi Maeda | Information processing apparatus, memory management apparatus, memory management method, and information processing method |
US6813673B2 (en) * | 2001-04-30 | 2004-11-02 | Advanced Micro Devices, Inc. | Bus arbitrator supporting multiple isochronous streams in a split transactional unidirectional bus architecture and method of operation |
US6868460B1 (en) * | 2001-06-05 | 2005-03-15 | Silicon Motion, Inc. | Apparatus for CD with independent audio functionality |
US6871253B2 (en) * | 2000-12-22 | 2005-03-22 | Micron Technology, Inc. | Data transmission circuit for memory subsystem, has switching circuit that selectively connects or disconnects two data bus segments to respectively enable data transmission or I/O circuit connection |
US6882082B2 (en) * | 2001-03-13 | 2005-04-19 | Micron Technology, Inc. | Memory repeater |
US6898678B1 (en) * | 1999-06-09 | 2005-05-24 | Texas Instrument Incorporated | Shared memory with programmable size |
US20050204091A1 (en) * | 2004-03-11 | 2005-09-15 | Kilbuck Kevin M. | Non-volatile memory with synchronous DRAM interface |
US20060041711A1 (en) * | 2002-11-28 | 2006-02-23 | Renesas Technology Corporation | Memory module, memory system, and information device |
US20060053246A1 (en) * | 2004-08-30 | 2006-03-09 | Lee Schweiray J | Systems and methods for providing nonvolatile memory management in wireless phones |
US7127549B2 (en) * | 2004-02-04 | 2006-10-24 | Sandisk Corporation | Disk acceleration using first and second storage devices |
US7136973B2 (en) * | 2004-02-04 | 2006-11-14 | Sandisk Corporation | Dual media storage device |
US7334107B2 (en) * | 2004-09-30 | 2008-02-19 | Intel Corporation | Caching support for direct memory access address translation |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020138702A1 (en) * | 2001-03-26 | 2002-09-26 | Moshe Gefen | Using non-executable memory as executable memory |
US7386653B2 (en) * | 2001-08-06 | 2008-06-10 | Sandisk Il Ltd | Flash memory arrangement |
FI20021620A (en) | 2002-09-10 | 2004-03-11 | Nokia Corp | Memory structure, system and electronics device and method of a memory circuit |
JP2005010942A (en) * | 2003-06-17 | 2005-01-13 | Matsushita Electric Ind Co Ltd | Apparatus with sequential access memory device in which boot code is stored, and method for starting the same |
US7752380B2 (en) * | 2003-07-31 | 2010-07-06 | Sandisk Il Ltd | SDRAM memory device with an embedded NAND flash controller |
JP4606009B2 (en) * | 2003-10-20 | 2011-01-05 | 三洋電機株式会社 | Program processing device |
JP2005190312A (en) * | 2003-12-26 | 2005-07-14 | Toshiba Corp | Multi-chip package type memory system and computer system |
JP2005157528A (en) * | 2003-11-21 | 2005-06-16 | Fuji Xerox Co Ltd | Memory device |
WO2005076137A1 (en) | 2004-02-05 | 2005-08-18 | Research In Motion Limited | Memory controller interface |
-
2006
- 2006-12-11 US US11/637,419 patent/US7519754B2/en active Active
- 2006-12-18 TW TW095147453A patent/TWI317478B/en not_active IP Right Cessation
- 2006-12-26 JP JP2006357456A patent/JP2007183961A/en active Pending
- 2006-12-27 CN CNA2006100643904A patent/CN101013351A/en active Pending
- 2006-12-27 CN CNA2006100644983A patent/CN101017460A/en active Pending
- 2006-12-28 KR KR1020060136569A patent/KR20070070122A/en not_active Application Discontinuation
-
2009
- 2009-02-13 US US12/371,494 patent/US20090150588A1/en not_active Abandoned
Patent Citations (76)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4534011A (en) * | 1982-02-02 | 1985-08-06 | International Business Machines Corporation | Peripheral attachment interface for I/O controller having cycle steal and off-line modes |
US4937567A (en) * | 1984-11-07 | 1990-06-26 | International Business Machines Corporation | Communication adapter for store loop communication system |
US4860192A (en) * | 1985-02-22 | 1989-08-22 | Intergraph Corporation | Quadword boundary cache system |
US4837677A (en) * | 1985-06-14 | 1989-06-06 | International Business Machines Corporation | Multiple port service expansion adapter for a communications controller |
US5276807A (en) * | 1987-04-13 | 1994-01-04 | Emulex Corporation | Bus interface synchronization circuitry for reducing time between successive data transmission in a system using an asynchronous handshaking |
US5134706A (en) * | 1987-08-07 | 1992-07-28 | Bull Hn Information Systems Inc. | Bus interface interrupt apparatus |
US4974153A (en) * | 1987-09-04 | 1990-11-27 | Digital Equipment Corporation | Repeater interlock scheme for transactions between two buses including transaction and interlock buffers |
US4955024A (en) * | 1987-09-14 | 1990-09-04 | Visual Information Technologies, Inc. | High speed image processing computer with error correction and logging |
US4965717B1 (en) * | 1988-12-09 | 1993-05-25 | Tandem Computers Inc | |
US4965717A (en) * | 1988-12-09 | 1990-10-23 | Tandem Computers Incorporated | Multiple processor system having shared memory with private-write capability |
US5276823A (en) * | 1988-12-09 | 1994-01-04 | Tandem Computers Incorporated | Fault-tolerant computer system with redesignation of peripheral processor |
US5189665A (en) * | 1989-03-30 | 1993-02-23 | Texas Instruments Incorporated | Programmable configurable digital crossbar switch |
US5805792A (en) * | 1989-07-31 | 1998-09-08 | Texas Instruments Incorporated | Emulation devices, systems, and methods |
US5218686A (en) * | 1989-11-03 | 1993-06-08 | Compaq Computer Corporation | Combined synchronous and asynchronous memory controller |
US5699529A (en) * | 1990-08-31 | 1997-12-16 | Ncr Corporation | Work station or similar data processing system including interfacing means to a data channel |
US5210530A (en) * | 1991-01-04 | 1993-05-11 | Codex Corporation | Network management interface with internal dsd |
US6223279B1 (en) * | 1991-04-30 | 2001-04-24 | Kabushiki Kaisha Toshiba | Single chip microcomputer having a dedicated address bus and dedicated data bus for transferring register bank data to and from an on-line RAM |
US6016530A (en) * | 1991-09-27 | 2000-01-18 | Sandisk Corporation | Mass computer storage system having both solid state and rotating disk types of memory |
US5778418A (en) * | 1991-09-27 | 1998-07-07 | Sandisk Corporation | Mass computer storage system having both solid state and rotating disk types of memory |
US5341487A (en) * | 1991-12-20 | 1994-08-23 | International Business Machines Corp. | Personal computer having memory system with write-through cache and pipelined snoop cycles |
US5673414A (en) * | 1992-01-02 | 1997-09-30 | International Business Machines Corporation | Snooping of I/O bus and invalidation of processor cache for memory data transfers between one I/O device and cacheable memory in another I/O device |
US5379415A (en) * | 1992-09-29 | 1995-01-03 | Zitel Corporation | Fault tolerant memory system |
US5581741A (en) * | 1992-11-12 | 1996-12-03 | International Business Machines Corporation | Programmable unit for controlling and interfacing of I/O busses of dissimilar data processing systems |
US5404485A (en) * | 1993-03-08 | 1995-04-04 | M-Systems Flash Disk Pioneers Ltd. | Flash file system |
US5561819A (en) * | 1993-10-29 | 1996-10-01 | Advanced Micro Devices | Computer system selecting byte lane for a peripheral device during I/O addressing technique of disabling non-participating peripherals by driving an address within a range on the local bus in a DMA controller |
US5446869A (en) * | 1993-12-30 | 1995-08-29 | International Business Machines Corporation | Configuration and RAM/ROM control of PCI extension card residing on MCA adapter card |
US5535340A (en) * | 1994-05-20 | 1996-07-09 | Intel Corporation | Method and apparatus for maintaining transaction ordering and supporting deferred replies in a bus bridge |
US5764966A (en) * | 1995-06-07 | 1998-06-09 | Samsung Electronics Co., Ltd. | Method and apparatus for reducing cumulative time delay in synchronizing transfer of buffered data between two mutually asynchronous buses |
US5721839A (en) * | 1995-10-13 | 1998-02-24 | Compaq Computer Corporation | Apparatus and method for synchronously providing a fullness indication of a dual ported buffer situated between two asynchronous buses |
US5844856A (en) * | 1996-06-19 | 1998-12-01 | Cirrus Logic, Inc. | Dual port memories and systems and methods using the same |
US5729760A (en) * | 1996-06-21 | 1998-03-17 | Intel Corporation | System for providing first type access to register if processor in first mode and second type access to register if processor not in first mode |
US5805835A (en) * | 1996-07-15 | 1998-09-08 | Micron Electronics, Inc. | Parallel architecture computer system and method |
US5999997A (en) * | 1996-07-26 | 1999-12-07 | Compaq Computer Corporation | Two computers cooperating via interconnected busses |
US6088822A (en) * | 1996-10-31 | 2000-07-11 | Sgs-Thomson Microelectronics Limited | Integrated circuit with tap controller |
US5955905A (en) * | 1996-11-11 | 1999-09-21 | Hitachi, Ltd. | Signal generator with synchronous mirror delay circuit |
US6098110A (en) * | 1996-12-30 | 2000-08-01 | Compaq Computer Corporation | Network switch with a multiple bus structure and a bridge interface for transferring network data between different buses |
US5926629A (en) * | 1997-02-18 | 1999-07-20 | Advanced Micro Devices, Inc. | Continuously operating interconnection bus |
US5941968A (en) * | 1997-04-14 | 1999-08-24 | Advanced Micro Devices, Inc. | Computer system for concurrent data transferring between graphic controller and unified system memory and between CPU and expansion bus device |
US5990914A (en) * | 1997-09-09 | 1999-11-23 | Compaq Computer Corporation | Generating an error signal when accessing an invalid memory page |
US5905509A (en) * | 1997-09-30 | 1999-05-18 | Compaq Computer Corp. | Accelerated Graphics Port two level Gart cache having distributed first level caches |
US5937425A (en) * | 1997-10-16 | 1999-08-10 | M-Systems Flash Disk Pioneers Ltd. | Flash file system optimized for page-mode flash technologies |
US6029253A (en) * | 1997-10-30 | 2000-02-22 | Micron Electronics, Inc. | Method for synchronizing data with a bi-directional buffer |
US6272582B1 (en) * | 1998-02-20 | 2001-08-07 | Mitsubishi Denki Kabushiki Kaisha | PCI-PCI bridge allowing controlling of a plurality of PCI agents including a VGA device |
US6199167B1 (en) * | 1998-03-25 | 2001-03-06 | Compaq Computer Corporation | Computer architecture with password-checking bus bridge |
US6163815A (en) * | 1998-05-27 | 2000-12-19 | International Business Machines Corporation | Dynamic disablement of a transaction ordering in response to an error |
US6415353B1 (en) * | 1998-10-01 | 2002-07-02 | Monolithic System Technology, Inc. | Read/write buffers for complete hiding of the refresh of a semiconductor memory and method of operating same |
US6199137B1 (en) * | 1999-01-05 | 2001-03-06 | Lucent Technolgies, Inc. | Method and device for controlling data flow through an IO controller |
US6330635B1 (en) * | 1999-04-16 | 2001-12-11 | Intel Corporation | Multiple user interfaces for an integrated flash device |
US6658006B1 (en) * | 1999-06-03 | 2003-12-02 | Fujitsu Network Communications, Inc. | System and method for communicating data using modified header bits to identify a port |
US6898678B1 (en) * | 1999-06-09 | 2005-05-24 | Texas Instrument Incorporated | Shared memory with programmable size |
US6704847B1 (en) * | 1999-06-09 | 2004-03-09 | Texas Instruments Incorporated | Host access to shared memory with a high priority mode |
US6363446B1 (en) * | 1999-06-12 | 2002-03-26 | Micron Technology, Inc. | Method for selectively encoding bus grant lines to reduce I/O pin requirements |
US6421765B1 (en) * | 1999-06-30 | 2002-07-16 | Intel Corporation | Method and apparatus for selecting functional space in a low pin count memory device |
US6456517B2 (en) * | 2000-01-26 | 2002-09-24 | Samsung Electronics Co., Ltd. | System having memory devices operable in a common interface |
US6502146B1 (en) * | 2000-03-29 | 2002-12-31 | Intel Corporation | Apparatus and method for dedicated interconnection over a shared external bus |
US6934785B2 (en) * | 2000-12-22 | 2005-08-23 | Micron Technology, Inc. | High speed interface with looped bus |
US6871253B2 (en) * | 2000-12-22 | 2005-03-22 | Micron Technology, Inc. | Data transmission circuit for memory subsystem, has switching circuit that selectively connects or disconnects two data bus segments to respectively enable data transmission or I/O circuit connection |
US6510488B2 (en) * | 2001-02-05 | 2003-01-21 | M-Systems Flash Disk Pioneers Ltd. | Method for fast wake-up of a flash memory system |
US6882082B2 (en) * | 2001-03-13 | 2005-04-19 | Micron Technology, Inc. | Memory repeater |
US6813673B2 (en) * | 2001-04-30 | 2004-11-02 | Advanced Micro Devices, Inc. | Bus arbitrator supporting multiple isochronous streams in a split transactional unidirectional bus architecture and method of operation |
US6868460B1 (en) * | 2001-06-05 | 2005-03-15 | Silicon Motion, Inc. | Apparatus for CD with independent audio functionality |
US20020185337A1 (en) * | 2001-06-11 | 2002-12-12 | Hitachi, Ltd. | Semiconductor device with non-volatile memory and random access memory |
US20030050087A1 (en) * | 2001-09-07 | 2003-03-13 | Samsung Electronics Co., Ltd. | Memory device in mobile phone |
US6636935B1 (en) * | 2001-09-10 | 2003-10-21 | Rambus Inc. | Techniques for increasing bandwidth in port-per-module memory systems having mismatched memory modules |
US6633944B1 (en) * | 2001-10-31 | 2003-10-14 | Lsi Logic Corporation | AHB segmentation bridge between busses having different native data widths |
US20040139310A1 (en) * | 2002-01-31 | 2004-07-15 | Akiyoshi Maeda | Information processing apparatus, memory management apparatus, memory management method, and information processing method |
US20030156454A1 (en) * | 2002-02-21 | 2003-08-21 | Jian Wei | Direct memory swapping between NAND flash and SRAM with error correction coding |
US20030206442A1 (en) * | 2002-05-02 | 2003-11-06 | Jerry Tang | Flash memory bridiging device, method and application system |
US20040049629A1 (en) * | 2002-09-11 | 2004-03-11 | Hitachi, Ltd. | System and method for using dynamic random access memory and flash memory |
US20040064606A1 (en) * | 2002-09-26 | 2004-04-01 | Mitsubishi Denki Kabushi Kaisha | Memory system allowing fast operation of processor while using flash memory incapable of random access |
US20060041711A1 (en) * | 2002-11-28 | 2006-02-23 | Renesas Technology Corporation | Memory module, memory system, and information device |
US7127549B2 (en) * | 2004-02-04 | 2006-10-24 | Sandisk Corporation | Disk acceleration using first and second storage devices |
US7136973B2 (en) * | 2004-02-04 | 2006-11-14 | Sandisk Corporation | Dual media storage device |
US20050204091A1 (en) * | 2004-03-11 | 2005-09-15 | Kilbuck Kevin M. | Non-volatile memory with synchronous DRAM interface |
US20060053246A1 (en) * | 2004-08-30 | 2006-03-09 | Lee Schweiray J | Systems and methods for providing nonvolatile memory management in wireless phones |
US7334107B2 (en) * | 2004-09-30 | 2008-02-19 | Intel Corporation | Caching support for direct memory access address translation |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8135900B2 (en) * | 2007-03-28 | 2012-03-13 | Kabushiki Kaisha Toshiba | Integrated memory management and memory management method |
US20090083478A1 (en) * | 2007-03-28 | 2009-03-26 | Kabushiki Kaisha Toshiba | Integrated memory management and memory management method |
US20080244165A1 (en) * | 2007-03-28 | 2008-10-02 | Kabushiki Kaisha Toshiba | Integrated Memory Management Device and Memory Device |
US8738851B2 (en) | 2007-03-28 | 2014-05-27 | Kabushiki Kaisha Toshiba | Device and memory system for swappable memory |
US8458436B2 (en) | 2007-03-28 | 2013-06-04 | Kabushiki Kaisha Toshiba | Device and memory system for memory management using access frequency information |
US8261041B2 (en) | 2007-03-28 | 2012-09-04 | Kabushiki Kaisha Toshiba | Memory management device for accessing cache memory or main memory |
US20090172307A1 (en) * | 2007-12-28 | 2009-07-02 | Sandisk Il Ltd. | Storage device with transaction indexing capability |
US7979662B2 (en) * | 2007-12-28 | 2011-07-12 | Sandisk Il Ltd. | Storage device with transaction indexing capability |
US7913030B2 (en) * | 2007-12-28 | 2011-03-22 | Sandisk Il Ltd. | Storage device with transaction logging capability |
US20090172211A1 (en) * | 2007-12-28 | 2009-07-02 | Sandisk Il Ltd. | Storage device with transaction logging capability |
WO2010148922A1 (en) * | 2009-11-24 | 2010-12-29 | 中兴通讯股份有限公司 | Method and device for accessing data in nand flash memory |
US20130346671A1 (en) * | 2012-06-22 | 2013-12-26 | Winbond Electronics Corporation | On-Chip Bad Block Management for NAND Flash Memory |
US9128822B2 (en) * | 2012-06-22 | 2015-09-08 | Winbond Electronics Corporation | On-chip bad block management for NAND flash memory |
US20140156909A1 (en) * | 2012-11-30 | 2014-06-05 | Dell Products, Lp | Systems and Methods for Dynamic Optimization of Flash Cache in Storage Devices |
US9330007B2 (en) * | 2012-11-30 | 2016-05-03 | Dell Products, Lp | Systems and methods for dynamic optimization of flash cache in storage devices |
US9959210B2 (en) | 2012-11-30 | 2018-05-01 | Dell Products, Lp | Systems and methods for dynamic optimization of flash cache in storage devices |
CN103871447A (en) * | 2012-12-14 | 2014-06-18 | 华邦电子股份有限公司 | NAND flash memory array, NAND flash memory chip, and methods for accessing, reading and managing NAND flash memory array |
US9324450B2 (en) | 2013-03-13 | 2016-04-26 | Winbond Electronics Corporation | NAND flash memory |
US20140317149A1 (en) * | 2013-04-22 | 2014-10-23 | Sap Ag | Multi-Buffering System Supporting Read/Write Access to Different Data Source Type |
US9449032B2 (en) * | 2013-04-22 | 2016-09-20 | Sap Se | Multi-buffering system supporting read/write access to different data source type |
US9442798B2 (en) | 2014-07-31 | 2016-09-13 | Winbond Electronics Corporation | NAND flash memory having an enhanced buffer read capability and method of operation thereof |
US9367392B2 (en) | 2014-08-01 | 2016-06-14 | Winbond Electronics Corporation | NAND flash memory having internal ECC processing and method of operation thereof |
US9857981B2 (en) | 2015-12-09 | 2018-01-02 | Via Alliance Semiconductor Co., Ltd. | Host interface controller and control method for storage device |
US9910598B2 (en) | 2015-12-09 | 2018-03-06 | Via Alliance Semiconductor Co., Ltd. | Host interface controller and control method for storage device |
TWI627530B (en) * | 2015-12-09 | 2018-06-21 | 上海兆芯集成電路有限公司 | Host interface controller and control method for storage device |
Also Published As
Publication number | Publication date |
---|---|
TW200745851A (en) | 2007-12-16 |
KR20070070122A (en) | 2007-07-03 |
US7519754B2 (en) | 2009-04-14 |
US20070233933A1 (en) | 2007-10-04 |
JP2007183961A (en) | 2007-07-19 |
CN101013351A (en) | 2007-08-08 |
TWI317478B (en) | 2009-11-21 |
CN101017460A (en) | 2007-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7519754B2 (en) | Hard disk drive cache memory and playback device | |
US20070147115A1 (en) | Unified memory and controller | |
US20090157946A1 (en) | Memory having improved read capability | |
US7136973B2 (en) | Dual media storage device | |
US7127549B2 (en) | Disk acceleration using first and second storage devices | |
KR101469512B1 (en) | Adaptive memory system for enhancing the performance of an external computing device | |
TWI261254B (en) | Memory card and semiconductor device | |
US8296467B2 (en) | Single-chip flash device with boot code transfer capability | |
US6505278B1 (en) | Method for flashing ESCD and variables into a ROM | |
US8407439B2 (en) | Managing memory systems containing components with asymmetric characteristics | |
US5787493A (en) | Control method and apparatus for direct execution of a program on an external apparatus using a randomly accessible and rewritable memory | |
JP2669365B2 (en) | Rewritable ROM file device | |
KR100610647B1 (en) | A mass storage device having both xip function and storage fuction | |
US4984149A (en) | Memory access control apparatus | |
US20100146256A1 (en) | Mixed-Mode ROM/RAM Booting Using an Integrated Flash Controller with NAND-Flash, RAM, and SD Interfaces | |
US8433847B2 (en) | Memory drive that can be operated like optical disk drive and method for virtualizing memory drive as optical disk drive | |
CN111274063A (en) | Hybrid memory module and system and method for operating the same | |
CN113243007A (en) | Storage class memory access | |
TW202015057A (en) | Flash memory controller, control method of flash memory controller and associated electronic device | |
EP3270293B1 (en) | Two stage command buffers to overlap iommu map and second tier memory reads | |
JPH10293684A (en) | Computer system and rise control method therefor | |
JP3526160B2 (en) | Data cache control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: GREENLIANT LLC, CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GREENLIANT SYSTEMS, INC.;REEL/FRAME:024776/0637 Effective date: 20100709 Owner name: GREENLIANT SYSTEMS, INC., CALIFORNIA Free format text: NUNC PRO TUNC ASSIGNMENT;ASSIGNOR:SILICON STORAGE TECHNOLOGY, INC.;REEL/FRAME:024776/0624 Effective date: 20100521 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |