Methods and apparatuses for executing a plurality of queued tasks in a memory

Information

  • Patent Grant
  • 11023167
  • Patent Number
    11,023,167
  • Date Filed
    Wednesday, September 19, 2018
    6 years ago
  • Date Issued
    Tuesday, June 1, 2021
    3 years ago
Abstract
Methods and apparatuses are disclosed for executing a plurality of queued tasks in a memory. One example apparatus includes a memory configured to be coupled to a host. The memory is also configured to receive a plurality of memory access requests, a status request, and an execution command from the host, and to execute one or more of the plurality of memory access requests responsive to the execution command from the host. The execution command includes a plurality of respective indications that correspond to each respective memory access request of the plurality of memory access requests and that indicate whether the host is requesting the memory to execute each respective memory access request.
Description
BACKGROUND OF THE INVENTION

In an apparatus where data is to be transferred from a host to a memory, the data may be transferred in several different manners. In one example, the host may send a command to the memory (along with data to be written to the memory in the case of a write command) and the memory may execute the command without any further processing or other interaction from the host or memory. In order to accomplish this manner of data transfer, a number of different control signals may need to be provided from the host to the memory on dedicated signal lines—for example, a write enable signal, a read enable signal, an address latch enable signal, a command latch enable signal, a chip enable signal, and so forth may need to be generated by the host and provided to the memory.


In other examples, the number of control signals provided from the host to the memory (and therefore the number of signal lines between the host and the memory) may be reduced in order to simplify the interface between the host and the memory. In these examples, however, the memory may need to do additional processing on the commands and data received from the host in order to correctly read from or write to the memory. This manner of data transfer also allows multiple memory access requests to be sent from the host to the memory before one or more of those memory access requests are executed. The multiple memory access requests may be queued until the memory is ready to execute them, and the memory may provide ready status information to the host regarding the readiness of the memory to execute the queued memory access requests. This ready status information may be provided to the host by continuously sending the ready status information to the host in some examples, but such continuous transfer of ready status information (whether via continuous polling of the memory or via, a dedicated signal line that triggers an interrupt or other action) may unnecessarily consume power and/or unnecessarily use signal lines.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of an apparatus with a host that can execute a plurality of queued tasks in a memory according to an embodiment of the present invention.



FIG. 2A is a block diagram of a queue status register according to an embodiment of the invention.



FIG. 2B is a table of different bit values for the queue status register of FIG. 2A and status information corresponding to those different bit values, according to an embodiment of the invention.



FIG. 2C is a table illustrating the structure and values for an execution command according to an embodiment of the invention.



FIG. 3A is a timing diagram illustrating the operation of the apparatus of FIG. 1 according to an embodiment of the invention.



FIG. 3B is a timing diagram illustrating the operation of the apparatus of FIG. 1 according to an embodiment of the invention.



FIG. 4 is a block diagram of a memory array according to an embodiment of the invention.





DETAILED DESCRIPTION

Certain details are set forth below to provide a sufficient understanding of embodiments of the invention. However, it will be clear to one skilled in the art that embodiments of the invention may be practiced without these particular details. Moreover, the particular embodiments of the present invention described herein are provided by way of example and should not be used to limit the scope of the invention to these particular embodiments. In other instances, well-known circuits, control signals, timing protocols, and software operations have not been shown in detail in order to avoid unnecessarily obscuring the invention.



FIG. 1 illustrates an apparatus 100 with a host 120 coupled to a memory 140, according to an embodiment of the invention. As used herein, apparatus may refer to, for example, an integrated circuit, a memory device, a memory system, an electronic device or system, a smart phone, a tablet, a computer, a server, etc.


The host 120 includes a host controller 124, and is configured to provide (e.g., issue) commands to the memory 140, for example, a plurality of memory access requests. The memory access requests may be requests to read data from the memory 140, to write data into the memory 140, or otherwise access and potentially manipulate the data in the memory 140. In other words, a memory access request may correspond with a data transfer being requested, and in some embodiments may include parameters related to a direction (e.g., read, write) of the respective data transfer, a size of the respective data transfer, a priority of the respective data transfer, and/or an assigned request identification number of the respective data transfer.


The host 120 is further configured to provide commands such as status requests to the memory 140 in order to request ready status information from the memory 140 regarding whether the memory 140 is ready to execute the memory access requests previously provided to the memory 140. The ready status information may include an indication of whether the memory is ready to execute one or more of the plurality of memory access requests and may also include an indication of when the memory 140 may be ready to execute one or more of the plurality of memory access requests (if, for example, the memory 140 is not yet ready to execute one or more of the plurality of memory access requests). In some embodiments, the ready status information may indicate whether the memory 140 is ready to execute any one of the plurality of memory access requests, whether the memory is ready to execute multiples ones of the plurality of memory access requests, whether the memory is ready to execute all of the plurality of memory access requests, etc.


The host 120 is also configured to provide execution commands to the memory 140, responsive to the ready status information received from the memory 140, in order to request execution of one or more of the memory access requests that the memory 140 is ready to execute. In some embodiments, an execution command may be used to request the execution of a single memory access request. In other embodiments, a single execution command may be used to request execution of multiple ones of the memory access requests that the memory 140 is ready to execute. The execution command provided by the host 120 may include a plurality of respective indications that correspond to each memory access request that the host 120 has provided to the memory 140, each of which indicates whether the host 120 is requesting the memory 140 to execute the respective memory access request. By allowing the host 120 to provide a single execution command requesting execution of multiple memory access requests, fewer execution commands may be needed (thereby allowing for more efficient use of the CMD bus 132 and the DATA bus 134, which are described below).


The memory 140 includes a memory controller 142 coupled to at least one memory array 144, which may be a non-volatile (e.g., NAND flash, phase change material, etc.) memory array 144 in some embodiments. The controller 142 is configured to access the memory array 144 by executing memory access requests received from the host 120. In one embodiment, the memory controller 142 together with the memory array 144 together form an embedded multimedia card (eMMC). The eMMC may also include other components in some embodiments, such as additional hardware and firmware.


The memory 140 also includes a memory access request queue 150, and a queue status register 152 configured to indicate the status of the memory access requests in the memory access request queue 150. The memory 140 is configured to receive the plurality of memory access requests, status requests, and execution commands from the host 120. The memory 140 may also be configured to provide the ready status information to the host 120, responsive to the status requests, based on whether the memory 140 is ready to execute one or more of the plurality of memory access requests previously received from the host 120. The memory 140 may also be configured to provide an indication of when the memory 140 may be ready to execute one or more of the plurality of memory access requests in response to a status request, such as if the memory 140 is not ready to execute any of the plurality of memory access requests previously received from the host 120. The memory 140 may be configured to provide the ready status information to the host 120 by providing the host 120 with the contents of the queue status register 152.


The ready status information provided by the memory 140 to the host 120 may be embedded within a larger response to the status request in some embodiments. For example, the larger response may include an acknowledgment of receipt of the status request from the host 120, error checking information such as a cyclic redundancy check, and so forth.


The memory access request queue 150 is configured to queue one or more memory access requests received from the host 120. In some embodiments, a plurality (e.g., two, three, ten, twenty, thirty, etc.) of memory access requests may be, provided from the host 120 to the memory 140 before the memory 140 executes one or more of the previously received memory access requests. The queue status register 152 may be configured to maintain an indication of readiness for execution corresponding to one or more of the plurality of memory access requests received from the host 120, for example, as described below with reference to FIG. 2B. In some embodiments, the queue status register 152 may maintain an indication of readiness for execution corresponding to each of the plurality of memory access requests received from the host 120.


The apparatus 100 in FIG. 1 also includes a CMD bus 132, a DATA bus 134, and a CLK signal line 136 coupled between the host 120 and the memory 140. In some embodiments, and with reference to FIG. 1, the CMD bus 132 may be a 1-bit wide serial bus that is bidirectional (e.g., cart receive information from both the host 120 and the memory 140, with information received from one direction propagating towards the other direction). For example, the host 120 may be configured to provide commands—such as memory access requests, status requests, execution commands, and so forth—to the memory 140 via the CMD bus 132. Similarly, the memory 140 may be configured to provide the ready status information to the host 120 (responsive to the status requests from the host 120) via the CMD bus 132.


The DATA bus 134 may be, several bits (e.g., 8 bits) wide in some embodiments, and may also be bidirectional. The host 120 may be configured to provide data (e.g., write data to be written to the memory 140) to the memory 140 via the DATA bus 134, and the memory 140 may be configured to provide data (e.g., read data that is read from the memory 140) to the host 120 via the DATA bus 134.


The CLK signal line 136 provides a reference clock from the host 120 to the memory 140, which may be used as a strobe signal to clock commands and/or data provided between the host 120 and the memory 140 on the CMD bus 132 and the DATA bus 134.


In some embodiments, the ready status information provided to the host 120 includes an indication of whether the memory 140 is ready to execute memory access requests received from the host 120 and queued in the memory access request queue 150. In some embodiments, the ready status information may be based on whether the DATA bus 134 is available for data, transmission between the host 120 and the memory 140. In some embodiments, the ready status information provided to the host 120 may only be valid for a duration of time after it is provided by the memory 140, and/or may only be valid if there are no intervening commands or requests made of the memory 140. For example, ready status information indicating that a memory access request or several memory access requests are ready for execution may only be valid for 100 milliseconds, and may farther become invalid if the host 120 provides an additional memory access request to the memory 140 that, for example, has a higher priority than the memory access requests currently pending in the memory access request queue 150.


Referring still to FIG. 1, in operation, the host 120 provides a plurality of memory access requests to the memory 140 by, for example, providing the memory access requests to the CMD bus 132. The memory 140 in turn receives the plurality of memory access requests from the host 120 via the CMD bus 132. In some embodiments, the host 120 may assign a request identification number to one or more of the plurality of memory access requests before providing the memory access requests to the memory 140. In other embodiments, however, the host 120 may provide memory access requests to the memory 140 without reference identification numbers, and the memory 140 may assign request identification numbers to the received memory access requests.


After the memory 140 receives one or more memory access requests from the host, the memory may prepare itself to execute the one or more memory access requests. The memory may prepare itself, for example, by inspecting the memory access requests already in the memory access request queue 150, performing error handling operations related to received memory access requests, ordering the memory access requests in order to improve performance of the memory during execution of those requests or in order to conform to priorities assigned to the requests by the host 120, updating the memory access request queue 150 and the queue status register 152 based on the newly received memory access request, and so forth.


After providing one or more memory access requests, the host 120 may provide a status request in order to request ready status information from the memory 140. In response to the status request from the host 120, the memory 140 provides the ready status information to the host 120 via the CMD bus 132. The ready status information may be indicative of whether the memory is ready to execute one or more of the plurality of memory access requests, and in some embodiments may include an estimated relative wait time before the memory may be ready to execute one or more of the plurality of memory access requests (e.g., if the memory is not yet ready to execute any of the plurality of memory access requests).


In some embodiments, separate ready status information (or separate indications within a single ready status information) may be provided for respective ones of a plurality of memory access requests provided to the memory 140. For example, for respective ones of the plurality of memory access requests, the ready status information may include an indication of whether the memory 140 is ready to execute that specific memory access request and/or an indication of when the memory may be able to execute that specific memory access request, with indications of whether the memory 140 is ready to execute another specific memory access request and when the memory may be able to execute that other specific memory access request being provided in separate ready status information, or provided in separate parts of a single ready status information. In some examples, separate indications may be provided for each respective memory status request, whereas in other embodiments separate indications may be provided only for different types of memory access requests (e.g., one indication for all reads, one indication for all writes, etc.), and in still other embodiments, one type of indication (e.g. whether the memory is ready) may be provided for each respective memory access request and one type of indication (e.g., when the memory will, be ready to execute one or more memory access requests) is provided for the memory access requests collectively.


The host 120, after receiving ready status information from the memory 140 indicating that one or more requests are ready for execution, may provide an execution command to the memory responsive to that ready status information. The execution command may correspond to one or more of the memory access requests received from the host 120—for example, if the ready status information indicates that the memory access request that has been assigned request identification number 1 is ready to be executed by the memory 140, the host may request execution of that memory access request.


As mentioned above, in those embodiments where the execution command comprises a plurality of indications indicating whether the host is thereby requesting execution of each respective one of a plurality of different memory access requests, a single execution command may be used to request execution of multiple ones of the memory access requests. The multiple ones of the memory access requests that the host 120 requests to be executed may include some, but not all of the memory access requests provided to the memory 140 in some embodiments. Further, in some embodiments, the execution command may be limited to a specific type of memory access (e.g., read or write), and the grouping of multiple memory access requests into a single execution command may be limited by the type of memory access. In other words, in some embodiments, only similar types of memory access requests (e.g., read or write) can be grouped together in a single execution command.


In some embodiments, when the execution of more than one memory access requests are included within a single execution command, the memory 140 may be configured to execute the multiple memory access requests in numerical order according to the respective request identification numbers assigned to the memory access requests. For example, if an execution command includes indications indicating that memory access requests 2, 4, 8, and 10 should be executed, the memory 140 may execute memory access request 2 first, memory access request 4 second, memory access request 8 third, and memory access request 10 last. Of course, in other embodiments, the memory 140 may be configured to execute the memory access requests in reverse numerical order.


In still other embodiments, the memory 140 may be configured to determine a suggested execution order for the memory access requests and provide the same to the host 120. The memory 140 may, for example, provide the suggested execution order to the host 120 together with the ready status information in response to receiving a status request from the host. In response to receiving the suggested execution order, the host 120 may be configured to provide an indication of whether the memory 140 should use the suggested execution order in executing the requested memory access requests.


In still other embodiments, the memory 140 may be configured to provide an actual execution order to the host 120, with the actual execution order indicating the order in which the memory will execute each of the plurality of memory access requests that the host 120 has requested be executed. In other words, the actual execution order may not just be ‘suggested’, but, may be the actual order in which the memory 140 will execute the memory access requests. The memory 140 may send this information to the host 120 so that the host can properly coordinate data being read from or written to the memory 140 with the queued memory access requests, in case the memory access requests are not executed in, for example, numerical order. In some embodiments, the memory 140 may send the actual execution order to the host 120 as part of an acknowledgment response to an execution command, or alternatively, the memory may send the actual execution order to the host 120 as part of a response to receiving a status request from the host 120.


In those embodiments where the memory 140 determines a suggested or actual execution order, the order may be based on the ability of the memory 140 to more quickly execute certain commands in a certain order. If, for example, the plurality of memory access requests are ail read-type requests, and the addresses corresponding to two of the memory read access requests are close together, the memory 140 may be able to execute those two memory read access requests more quickly if done back-to-back, as opposed to having intervening memory read access requests with other addresses. Thus, allowing the memory 140 to suggest or set forth an execution order may result in improved performance of the apparatus 100.


In still other embodiments, the host 120 may be configured to determine a suggested execution order and to provide the suggested execution order to the memory 140. In these embodiments, the memory 140 may be configured to provide a response to the host indicating whether the suggested execution order will be, used—which may for example be provided in an acknowledgment response to an execution command and/or to a status request. In still other embodiments, the host 120 may be configured to determine an actual execution order and to provide the same to the memory 140. In some embodiments, the host 120 may determine the suggested or actual execution order based on its understanding of the internal structure of the memory 140 and the addresses of the memory access requests that it has provided to the memory.



FIG. 2A illustrates an embodiment of the queue status register 152 according to an embodiment of the invention. As illustrated in FIG. 2A, the queue status register 152 includes a collection of registers 155 configured to store indications of readiness corresponding to a plurality of memory access requests received by the memory 140. In some embodiments, the collection of registers 155 may be mapped one-to-one to pending memory access requests, with the bit position i in the queue status register 152 corresponding to a request identification number assigned to the respective request. The collections of registers 155 defines at least in part the queue status register 152, and holds ready status information relating to a plurality of memory access requests received by the memory 140.



FIG. 2B illustrates values that the bits in the first collection of registers 155 may take during operation of the queue status register 152. For example, the bit in the 0th position of the queue status register 152 may store an indication that the memory access request that has been assigned a request identification number of 0 is or is not ready for execution. When the bit in the 0th position is a logic low (e.g., 0), this may correspond to the 0th memory access request not being ready for execution, whereas when the bit in the 0th position is a logic high (e.g., 1), this may correspond to the 0th memory access request being ready for execution. In this manner, the first collection of registers 155 in the queue status register 152 indicate which of the memory access requests received by the memory 140 are ready for execution.



FIG. 2C illustrates the structure and values of an execution command that may be provided from the host 120 to the memory 140. The execution command structure illustrated in FIG. 2C includes 48 bits, with a header in the most significant 8 bits, an argument containing the identification numbers of the memory access requests that the host 120 wants the memory 140 to execute in the middle, and a footer in the least significant 8 bits. The header and footer may include, for example, error correction information, a command type (e.g., read or write), starting, and ending transmission bits, and so forth.


As illustrated in FIG. 2C, the argument of the execution command corresponding to the memory access requests that the host 120 wants the memory 140 to execute may be in a bitmap format, with each respective bit corresponding to a respective one of the plurality of memory access requests. For example, the bit in the least significant bit position of the argument (e.g., bit 8 in FIG. 2C) may correspond to a memory access request which has been assigned an identification number of 0, the bit in the next to least significant bit position (e.g., bit 9 in FIG. 2C) may correspond to a memory access request which has been assigned an identification number of 1, and so on. The value of each bit in the argument may correspond to whether or not the corresponding memory access request should be executed. For example, a logic high value (e.g., 1) may correspond to a request from the host 120 to execute the corresponding memory access request, while a logic low value (e.g., 0) may correspond to the host 120 not requesting the execution of the corresponding memory access request.


With reference still to FIG. 2C, the structure of the execution command may be such that the host 120 can request that one or multiple ones of memory access requests be executed by the memory 140. In other words, given the example above, if just one of the bits of the argument is set to a logic high value, the execution command corresponds to a request by the host 120 for the memory 140 to execute a single memory access request. If, on the other hand, multiple bits in the argument of the execution command are set to logic high values, then the execution command may correspond to a request by the host to execute multiple memory access requests without an intervening execution command.


Referring now to FIG. 3A, one example of operation of the host 120 and memory 140 of FIG. 1, and the queue status register 152 of FIGS. 1 and 2A will be described. At time T1, the host 120 provides a status request to the memory 140 via the CMD bus 132 in order to request ready status information from the memory 140. At time T2, the memory responds to the status request by acknowledging receipt of the status request and providing the contents of the queue status register 150 to the host via the CMD bus 132. In this instance, because no memory access requests have been received by the memory 140, the response provided by the memory 140 is that no requests are ready for execution.


At time T3, the host 120 provides a first memory access request to the memory 140 via the CMD bus 132. The memory 140 responds at time T4 with an acknowledgment of receipt of the first access request. Upon receipt of the first memory access request, the memory controller 142 may initialize the indication of whether the memory 140 is ready to execute the first memory access request to “not ready for execution” by setting the corresponding bit in the queue status register 152 to a logic low. Further, the memory 140 may begin preparing itself to execute the first memory access request after receiving it so that it can change the indication of whether it is ready to execute the first memory access request after the preparations are complete.


Although FIG. 3A illustrates the first memory access request being provided by the host 120 as a single command, and a single response being provided by the memory 140, in some embodiments, memory access requests, may be split into two different commands, which may cause the memory 140 to respond separately with two separate responses.


At time T5, the host 120 provides a second memory access request to the memory 140 via the CMD bus 132, and the memory 140 responds at time T6 with an acknowledgment of receipt of the second access request. At time T6, the memory has received a plurality of memory access requests, none of which have been executed yet. In some embodiments, when the memory 140 receives a new memory access request from the host 120, the memory 140 may reconsider the requests it has previously indicated as being ready or not ready for execution based on the priorities of the newly received memory access request and the previously received memory access requests. For example, if the newly received memory access request has a high priority whereas the previously received and still unexecuted memory access requests in the memory access request queue have low priorities, the memory 140 may revoke the readiness to execute those lower priority requests in order to prepare the memory 140 to execute the newly received high priority memory access request. In general, the memory access requests may, in some embodiments, become ready for execution based on respective priorities assigned by the host 120 to respective ones of the plurality of memory access requests.


At times T7, T9, T11, T13, T15, T17, T19, and T21, the host 120 provides additional memory access requests (memory access requests #3, #4, #5, #6, #7, #8, #9, and #10) to the memory 140, and the memory responds at times T8, T10, T12, T14, T16, T18, T20, and T22 with respective acknowledgment responses. At time T23, the host 120 provides a status request to the memory 140, and the memory 140 responds at time T24 by providing the contents of the queue status register 150 to the host 120 via the CMD bus 132. As illustrated in FIG. 3A, the contents of the queue status register 150 provided to the CMD bus 132 at time T24 indicate that the memory is ready to execute memory access requests #2, #4, #8, and #10. At this point, the host 120 may decide to execute one or multiple ones of memory access requests #2, #4, #8, and #10.


If the host 120 decides to execute all of the memory access requests that are ready for execution, the host 120, at time T25, may provide an execution command to the memory 140 with indications indicating that the memory should execute memory access requests #2, #4, #8, and #10. The memory 140 responds at time T26 with an acknowledgment that the execution response was safely received and that it will soon begin executing, memory access requests #2, #4, #8, and #10. Then, at times T27, T28, T29, and T30, the memory 140 executes the memory access requests #2, #4, #8, and #10 by providing read data to the DATA bus 134, which is received at the host 120. The read data provided by the memory at times T27, T28, T29, and T30 is provided back-to-back and without interruption e.g., without any intervening execution commands.


As described above, the memory 140 may execute memory access requests #2, #4, #8, and #10 in some particular order. The order in which the memory access requests #2, #4, #8, and #10 are executed may be based on the identification numbers (e.g., numerical execution), or may be determined by the host 120 and/or the memory 140. The execution command provided at time T25, and/or either of the memory responses provided at times T24 or T26 may include order information—such as a suggested or actual order in which the memory 140 should or will execute the plurality of memory access requests identified in the execution command.


After time T30, the host 120 may request additional status information from the memory 140, and if the memory 140 is ready to execute additional memory access requests, the host 120 may provide another execution command to the memory 140



FIG. 3B illustrates another example of operation of the host 120 and memory 140 of the apparatus 100 of FIG. 1. The operation illustrated in FIG. 3B is similar to the operation illustrated in FIG. 3A, except that during execution of one of the memory access requests, an execution error occurs (at time T28). In some embodiments, and as illustrated in FIG. 3B, the memory 140 may stop execution of the plurality of memory access requests once an execution error occurs. In other embodiments, the memory 140 may continue to execute any remaining memory access requests.


The memory 140 may in some embodiments provide an indication to the host 120 that an execution error occurred. For example, in response to a status request provided to the memory 140 at time T29, the memory 140 may respond with an indication of the execution error. In other embodiments, the memory 140 may send the execution error notification to the host 120 via an interrupt or other communication.


The host 120 may in some embodiments request additional information from the memory 140 regarding the execution error. For example, the host 120 may need to know which of multiple ones of memory access requests caused the execution error. In order to obtain this additional information, the host 120 may request an error report from the memory 140, and the memory 140 may respond to the request with the error report. In some examples, the request for the error report may be sent as part of a status request—and the error report may be returned in a format similar to the ready status information provided by the queue status register 152—specifically, a bitmap may be provided with each bit indicating which of the memory access requests caused the execution error.



FIG. 4 illustrates a memory array 400 according to an embodiment of the invention. The memory array 400 may be used as the memory array 144 in the apparatus 100 of FIG. 1 in some examples, and includes a plurality of memory cells 430. The memory cells 430 may be non-volatile memory cells, such as NAND or NOR flash cells, phase change memory cells, or may generally be any type of memory cells.


Command signals, address signals and write data signals may be provided to the memory 400 as sets of sequential input/output (“I/O”) signals transmitted through an I/O bus 428. Similarly, read data signals may be provided from the memory 400 through the I/O bus 428. The I/O bus 428 is connected to an I/O control unit 420 that routes the signals between the I/O bus 428 and an internal data bus 422, an internal address bus 424, and an internal command bus 426. The memory 400 also includes, a control logic unit 410 that receives a number of control signals either externally or through the command bus 426 to control the operation of the memory 400, and which may generally correspond to the memory controller 142 of the apparatus 100 illustrated in FIG. 1.


The address bus 424 applies block-row address signals to a row decoder 440 and column address signals to a column decoder 450. The row decoder 440 and column decoder 450 may be used to select blocks of memory or memory cells for memory operations, for example, read, program, and erase operations. The row decoder 440 and/or the column decoder 450 may include one or more signal line drivers configured to provide a biasing signal to one or more of the signal lines in the memory array 430. The column decoder 450 may enable write data signals to be applied to columns of memory corresponding to the column address signals and allow read data signals to be coupled from columns corresponding to the column address signals.


In response to the memory commands decoded by the control logic unit 410, the memory cells in the array 430 are read, programmed, or erased. Read, program, and erase circuits 468 coupled to the memory array 430 receive control signals from the control logic unit 410 and include voltage generators for generating, various pumped voltages for read, program and erase operations.


After the row address signals have been applied to the address bus 424, the I/O control unit 420 routes, write data signals to a cache register 470. The write data signals are stored in the cache register 470 in successive sets each having a size corresponding to the width of the I/O bus 428. The cache register 470 sequentially stores the sets of write data signals for an entire row or page of memory cells in the array 430. All of the stored write data signals are then used to program a row or page of memory cells in the array 430 selected by the block-row address coupled through the address bus 424. In a similar manner, during a read operation, data signals from a row or block of memory cells selected by the block-row address coupled through; the address bus 424 are stored in a data register 480. Sets of data signals corresponding in size to the width of the I/O bus 428 are then sequentially transferred through the I/O control unit 420 from the data register 480 to the I/O bus 428.


From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. For example, FIG. 1 illustrates embodiment of a host 120, a host controller 124, a memory 140, a memory controller 142, a memory array 144, a memory access request queue 150, a queue status register 152, and so forth. FIG. 2A illustrates an embodiment of a queue status register 152, and FIG. 4 illustrates an embodiment of a memory array 400. However, other hosts, host controllers, memories, memory controllers, memory arrays, memory access request queues, queue status registers, and so forth may be used, which are not limited to having the same design, and may be of different designs and include circuitry different from the circuitry in the embodiments illustrated in the figures.


Accordingly, the invention is not limited to the specific embodiments of the invention described herein.

Claims
  • 1. An apparatus, comprising: a memory configured to:receive from a host a plurality of memory access requests, a status request, and an execution command, the execution command including a request to execute multiple of the plurality of memory access requests,queue the plurality of memory access requests in a request queue of the memory,provide an acknowledgement responsive to receiving the execution command, provide, responsive to the status request, ready status information of the queued plurality of memory access requests, the ready status information including indications corresponding to respective access requests of the plurality of memory access requests, the indications indicating the memory is ready to execute the respective memory access request, the ready status information further including an indication of when the memory may be ready to execute one or more of the queued plurality of memory access requests when none of the plurality of memory access requests is ready for execution,provide an execution order including indications corresponding to an order in which at least some of the queued plurality of memory access requests should be executed, wherein the execution order is provided as part of the acknowledgement of the execution command or along with the ready status information, andexecute the multiple of the plurality of memory access requests responsive to the execution command from the host, the execution command including at least one indication specifying a type of memory access request for the multiple of the plurality of memory access requests.
  • 2. The apparatus of claim 1, wherein the memory further includes a memory controller, a memory array coupled to the memory controller, and a queue status register coupled to the memory controller.
  • 3. The apparatus of claim 1, wherein the at least one indication includes indications of readiness corresponding to respective memory access requests of the plurality of memory access requests received by the memory, and wherein the memory is further configured to store the indications of readiness.
  • 4. The apparatus of claim 1, wherein the memory is further configured to store at least one status bit for a respective memory access request in at least one respective position of a queue status register.
  • 5. The apparatus of claim 1, wherein the execution command includes a header in a plurality of most significant bits, identification numbers of respective memory access requests of the plurality of memory access requests in a plurality of middle bits, and a footer in a plurality of least significant hits.
  • 6. The apparatus of claim 1, wherein a header or a footer of the execution command includes at least one of error correction information and starting or ending transmission bits.
  • 7. The apparatus of claim 1, wherein the type of memory access request comprises a read command type or a write command type, and is included in a header or a footer of the execution command.
  • 8. A method, comprising: receiving a plurality of memory access requests at a memory; providing ready status information from the memory responsive to a status request from a host, the ready status information including indications corresponding to respective access requests of the plurality of memory access requests, the indications indicating the memory is ready to execute the respective memory access request, the ready status information further including an indication of when the memory may be ready to execute one or more of the plurality of memory access requests when none of the plurality of memory access requests is ready for execution;receiving an execution command from the host, the execution command including a request to execute multiple ones of the plurality of memory access requests;providing an acknowledgement to receveiving the execution command;providing an execution order including indications corresponding to an to an order in which at least some of the plurality of memory access requests should be executed, wherein the execution order is provided as part of the acknowledgement of the execution command or along with the ready status information; andexecuting the multiple ones of the plurality of memory access requests based on the received execution command.
  • 9. The method of claim 8, wherein the execution command includes at least one indication requesting execution of at least one respective memory access request of the plurality of memory access requests.
  • 10. The method of claim 8, wherein the memory is further configured to provide to the host an actual execution order of the plurality of memory access requests as the execution order, and Wherein the multiple ones of the plurality of memory access requests are executed in an order based on the actual execution order.
  • 11. The method of claim 8, wherein the multiple ones of the plurality of memory access requests are executed in an order based on the execution order.
  • 12. The method of claim 8, wherein at least one logic value included in the execution command instructs the memory to execute at least one respective memory access request of the plurality of memory access requests.
  • 13. The method of claim 8, further comprising: storing, by the memory, at least one bit in at least one respective position of a queue status register to indicate whether a respective memory access request is ready for execution.
  • 14. An apparatus, comprising: a memory configured to:receive from a host a plurality of memory access requests to read data from, or write data to, the memory,transmit, responsive to a command received from the host, ready status information to the host, the ready status information including indications corresponding to respective memory access requests of the plurality of memory access requests, the indications indicating whether the memory is ready to execute the respective memory access requests, the ready status information further including an indication of when the memory may be ready to execute one or more of the plurality of memory access requests when none of the plurality of memory access requests is ready for execution,receive an execution command including a request to execute multiple ones of the plurality of memory access requests,provide an acknowledgement responsive to receiving the execution command,provide an execution order including indications corresponding to an order in which at least some of the plurality of memory access requests should be executed, wherein the execution order is provided as part of the acknowledgement of the execution command or along with the ready status information, andexecute the multiple ones of the plurality of memory access requests based on the received execution command.
  • 15. The apparatus of claim 14, wherein the memory is further configured to provide, to the host, an actual execution order of the plurality of memory access requests as the execution order, and wherein the memory is further configured to execute the multiple ones of the plurality of memory access requests in an order based on the execution order responsive to the execution command.
  • 16. The apparatus of claim 14, wherein the indications comprise indications of readiness corresponding to the respective memory access requests.
  • 17. The apparatus of claim 14, wherein the memory is further configured to provide, to the host, a suggested execution order of the plurality of memory access requests as the execution order, and wherein the memory is further configured to receive an indication of whether the memory should use the execution order from the host.
  • 18. The apparatus of claim 1, wherein the execution order is based on an address associated with each of the plurality of memory access requests.
  • 19. The apparatus of claim 1, wherein the memory further configured to execute the plurality of memory access requests in an order based on the execution order.
  • 20. The apparatus of claim 1, wherein the memory is further configured to receive from the host an indication of whether the memory should use the execution order.
  • 21. The apparatus of claim 1, wherein the memory is further configured to provide an acknowledgement responsive to receiving each of the plurality of memory access requests.
CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 14/605,593, filed Jan. 26, 2015 and issued as U.S. Pat. No. 10,108,372 on Oct. 23, 2018, which claims priority to a U.S. Provisional Application No. 61/932,155, filed on Jan. 27, 2014. The afore-mentioned applications, and issued patent, are incorporated by reference herein, in their entirety, and for all purposes.

US Referenced Citations (77)
Number Name Date Kind
5469548 Callison et al. Nov 1995 A
5504868 Krakirian Apr 1996 A
5603066 Krakirian Feb 1997 A
7630369 Overby et al. Dec 2009 B1
7644205 Overby Jan 2010 B1
8176232 Tedrow et al. May 2012 B2
8296467 Lee Oct 2012 B2
8386699 Yeh Feb 2013 B2
8423722 Deforest Apr 2013 B1
8468319 Satran Jun 2013 B1
8904094 Matsukawa et al. Dec 2014 B2
8918600 Galbo et al. Dec 2014 B2
9015356 Asnaashari et al. Apr 2015 B2
9454310 Caraccio et al. Sep 2016 B2
9824004 Mirichigni et al. Nov 2017 B2
10108372 D'eliseo et al. Oct 2018 B2
20020009075 Fesas, Jr. et al. Jan 2002 A1
20040127255 Becker et al. Jul 2004 A1
20050114460 Chen May 2005 A1
20060026342 Calvignac et al. Feb 2006 A1
20060095686 Miller May 2006 A1
20060179179 Suzuoki Aug 2006 A1
20060271739 Tsai et al. Nov 2006 A1
20060277349 Murdock et al. Dec 2006 A1
20070016702 Pione et al. Jan 2007 A1
20070226401 Huang et al. Sep 2007 A1
20080040519 Starr Feb 2008 A1
20080140972 Kim et al. Jun 2008 A1
20080147893 Marripudi Jun 2008 A1
20080162735 Voigt Jul 2008 A1
20090070647 Allison et al. Mar 2009 A1
20090089492 Yoon et al. Apr 2009 A1
20090172286 Lasser et al. Jul 2009 A1
20090228535 Rathi Sep 2009 A1
20100115152 Day et al. May 2010 A1
20100250785 Shin et al. Sep 2010 A1
20100262721 Asnaashari et al. Oct 2010 A1
20100262979 Borchers Oct 2010 A1
20100312973 Galbo et al. Dec 2010 A1
20110066837 Lee Mar 2011 A1
20110161543 van Holder et al. Jun 2011 A1
20110276725 Yun Nov 2011 A1
20120011335 Asnaashari et al. Jan 2012 A1
20120173792 Lassa et al. Jul 2012 A1
20120179860 Falanga et al. Jul 2012 A1
20120254520 Roh et al. Oct 2012 A1
20120272114 Cho et al. Oct 2012 A1
20120284587 Yu Nov 2012 A1
20120324180 Asnaashari et al. Dec 2012 A1
20130036339 Shiraishi Feb 2013 A1
20130060981 Horn Mar 2013 A1
20130067143 Hasegawa et al. Mar 2013 A1
20130073795 Hasegawa Mar 2013 A1
20130073797 Chowdhury Mar 2013 A1
20130124932 Schuh et al. May 2013 A1
20130145085 Yu Jun 2013 A1
20130205073 Hwang Aug 2013 A1
20130262745 Lin Oct 2013 A1
20130297852 Fai Nov 2013 A1
20130301373 Tam Nov 2013 A1
20130326141 Marcu Dec 2013 A1
20140250262 Buxton et al. Sep 2014 A1
20140281151 Yu Sep 2014 A1
20140325519 Li Oct 2014 A1
20140351456 Sharifie et al. Nov 2014 A1
20150033234 Shacham Jan 2015 A1
20150074294 Shacham Mar 2015 A1
20150100744 Mirichigni Apr 2015 A1
20150154112 Tuers et al. Jun 2015 A1
20150160893 Gorobets et al. Jun 2015 A1
20150199137 Shin et al. Jul 2015 A1
20150212738 D'Eliseo et al. Jul 2015 A1
20150234601 Tsai et al. Aug 2015 A1
20160117102 Hong et al. Apr 2016 A1
20160364179 Tsai et al. Dec 2016 A1
20180039572 Mirichigni et al. Feb 2018 A1
20190384700 Mirichigni et al. Dec 2019 A1
Foreign Referenced Citations (3)
Number Date Country
1732702 Feb 2006 CN
2007076214 Jul 2007 WO
2013111019 Aug 2013 WO
Non-Patent Literature Citations (5)
Entry
Jedec Standard, Universal Flash Storage (UFS 1.1), JESD220A, Jun. 2012 (Year: 2012).
Micron Technology, Inc., “e-MMC Memory for the Embedded World”, http://www.micron.com/products/managed-nand/e-mmc, as accessed Aug. 28, 2013, 3 pgs.
Micron Technology, Inc., “TN-29-18: Booting from Embedded MMC Introduction”, www.micron.com/˜/media/Documents/Products/Technical%20Note/NAND%20Flash/tn2918.pdf, last revised Jun. 2008, 16 pgs.
Samsung, “eMMC Capacities up to 128GB”, http://samsung.com/us/business/oem-solutions/pdfs/eMMC_Product%20Overview.pdf, printed Jun. 2012, 2 pgs.
U.S. Appl. No. 16/553,024 titled “Methods and Apparatuses for Requesting Ready Status Information From a Memory”, filed Aug. 27, 2019.
Related Publications (1)
Number Date Country
20190018618 A1 Jan 2019 US
Provisional Applications (1)
Number Date Country
61932155 Jan 2014 US
Continuations (1)
Number Date Country
Parent 14605593 Jan 2015 US
Child 16136101 US