Memory system with region-specific memory access scheduling

By analyzing and scheduling the timing parameters of each area of ​​the memory, the delay and power efficiency problems of the memory system under performance changes in different areas are solved, and more efficient memory access and power management are achieved.

CN113360428BActive Publication Date: 2024-09-13ADVANCED MICRO DEVICES INC
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202110413266.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2013-05-16
Publication Date
2024-09-13
Estimated Expiration
2033-05-16

AI Technical Summary

Technical Problem

Existing memory systems fail to effectively schedule due to performance changes in different memory areas during memory access, resulting in low latency and low power efficiency. Conventional systems adopt worst-case timing parameter management and cannot adapt to the performance differences in different areas.

Method used

By analyzing the timing parameters of each area of ​​the memory, saving and scheduling memory access based on the timing parameters of the specified area, using the performance changes between different areas to reduce delays and improve the power efficiency of the memory subsystem, it is suitable for stacked die or 3D memory subsystems. system.

Benefits of technology

Effectively schedules memory access, reduces latency, improves the bandwidth and power efficiency of the memory subsystem, adapts to the stacked arrangement of memory dies, and is suitable for various memory architectures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113360428B
    Figure CN113360428B
Patent Text Reader

Abstract

An integrated circuit device includes a memory controller that can be coupled to a memory. The memory controller schedules memory access to a region of the memory based on memory timing parameters that are specific to the region. A method includes receiving a memory access request at a memory device. The method also includes accessing data representing memory timing parameters specific to a region of a memory cell circuit for which the memory access request is directed from a timing data storage of the memory device. The method also includes scheduling the memory access request at the memory controller based on the data.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with application number 201380076650.8, application date May 16, 2013, and invention name “Memory system with designated area memory access scheduling”. Background of the Invention

[0002] Field of the Invention

[0003] The present disclosure relates generally to memory devices, and more particularly to scheduling memory accesses for a memory device. Background Art

[0005] Memory latency and bandwidth are significant performance bottlenecks in many processing systems. These performance factors are often affected by memory cell access times and propagation delays of signals traversing various interconnects within the memory. In conventional memory controller implementations, a worst-case approach to scheduling accesses to the memory of a memory subsystem is employed, whereby the memory controller assumes fixed worst-case memory timing parameters that apply to the entire memory subsystem. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] By referencing the accompanying drawings, the present disclosure will be better understood, and its numerous features and advantages will be apparent to those skilled in the art. The use of the same reference numerals in different drawings indicates similar or identical items.

[0007] Figure 1 is a diagram illustrating an example processing system that employs a memory with a region-specific memory access schedule in accordance with some embodiments.

[0008] Figure 2 is a diagram showing a method according to some embodiments Figure 1 An exploded perspective view of an example vertically stacked die implementation of a processing system is shown.

[0009] Figure 3 is a diagram showing a method according to some embodiments Figure 1 FIG. 2 is an exploded perspective view of another example vertically stacked die implementation of a processing system of FIG.

[0010] Figure 4 is a diagram illustrating an example memory controller employing a timing profiler in accordance with some embodiments.

[0011] Figure 5 is a flow chart illustrating a method for profiling memory timing parameters of a memory according to some embodiments.

[0012] Figure 6 is a timing diagram illustrating a process of scheduling a memory range based on specified regional memory timing parameters according to some embodiments.

[0013] Figure 7 is a flow chart illustrating a method for designing and manufacturing an integrated circuit (IC) device that implements a memory controller that schedules memory accesses based on specified regional memory timing parameters in accordance with some embodiments. DETAILED DESCRIPTION

[0014] Figure 1-7 An example technique is shown for reducing latency and improving bandwidth and power efficiency of a memory subsystem of a processing system or other electronic device by using memory access scheduling based on specified region memory timing parameters. Various factors, such as semiconductor manufacturing processes, device temperature, and aging effects, can cause memory cell access times and signal propagation times for memory accesses to different memory regions to vary significantly, which becomes particularly detrimental when power supply voltages are reduced to transistor threshold voltage (Vth) levels for the purpose of reducing power consumption. In conventional systems, these performance variations are typically managed by selecting conservative timing parameters based on worst-case scenarios and using these same conservative timing parameters for each memory access, regardless of whether the region is the target of the memory access. In contrast, in some embodiments, a memory controller effectively schedules memory accesses by analyzing one or more memory timing parameters for each region of a plurality of regions of memory, saving the measured timing parameters to a timing data store, and then scheduling memory accesses based on the analyzed specified region memory timing parameters associated with the region that is the target of the memory access. Thus, a memory controller can reduce latency and improve power efficiency of a memory subsystem by exploiting performance variations between different regions so that the timing and sequence of memory accesses reflect the different memory timings exhibited by different memory regions. The granularity of the profiled memory may include, for example, a collection of one or more cells, rows, groups, levels, chips, memory modules (eg, dual in-line memory modules or "DIMMS"), channels, and the like.

[0015] Stacked die or three-dimensional (3D), dynamic random access memory (DRAM)-like memory subsystems are often viewed as being used as large on-chip caches. However, due to certain aspects of DRAM architecture and due to die-to-die manufacturing process differences and due to the interconnect configuration of the stacked arrangement of memory dies in stacked die memory, such memory subsystems often exhibit significant region-to-region differences in memory timing. Combined with the ability to locally store memory timing information on a region-by-region basis, this makes stacked die memory well suited for region-based memory access scheduling. Therefore, in this article, example region-based memory access scheduling techniques are described in the example context of stacked die DRAM memory. However, these techniques are not limited to this example context, but are equally applicable to any variety of stacked or non-stacked memory architectures, including but not limited to static random access memory (SRAM), ferroelectric RAM (F-RAM), magnetoresistive RAM (MRAM), phase change RAM, resistive RAM, flash memory, etc.

[0016] Figure 1 An example processing system 100 is shown that implements region-based memory access scheduling according to some embodiments. The processing system 100 may include any of a variety of processing systems, including a notebook or tablet computer, a desktop computer, a server, a network router, a switch or hub, a computing-enabled cellular phone, a personal digital assistant, a game console, etc. The processing system 100 may be implemented on a single die or multiple dies, including multiple stacked dies as shown in the following examples.

[0017] In the example, the processing system 100 includes one or more processors 101, one or more memory controllers 102, and a memory array 104. The processor 101 includes one or more processor cores 116, such as one or more central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), etc. The processor 101 also includes an integrated north bridge 120, an input / output (I / O) controller 122, one or more cache levels 118, etc. The north bridge 120 is connected to the memory controller 102 via a main bus 126. The main bus 126 can be implemented according to any of a variety of conventional interconnect or bus architectures, such as a peripheral component express interconnect (PCI-E) architecture, a hypertransport architecture, a quick path interconnect (QPI) architecture, etc. Alternatively, the main bus 126 can be implemented according to a dedicated bus architecture. The I / O controller 122 can be connected to one or more external devices 124, such as one or more external interfaces to a display component, a storage device, an input device (e.g., a mouse or keyboard), etc.

[0018] The processing components of system 100 are coupled to a memory subsystem, which consists of a memory controller 102 and a memory array 104. The memory array 104 can implement a variety of memory devices, including but not limited to memory architectures such as dynamic random access memory (DRAM), static random access memory (SRAM), ferrite RAM (F-RAM), magnetoresistive RAM (MRAM), etc. For the purposes of this disclosure, various embodiments are described in the context of a DRAM array and a DRAM memory controller. In this example context, the memory array 104 includes a plurality of DRAM arrays 106. As described in detail below, the memory subsystem can be implemented as a stacked die memory device, and thus, the DRAM array 106 can be implemented as a separate memory die within a stacked die memory, for example.

[0019] In operation, the memory controller 102 services memory read and memory write requests issued by the processing elements of the processing system 100. To this end, the memory controller 102 implements controller logic 108 for accessing the DRAM array 106 and for interfacing with the main bus 126. In response to a memory access request, the controller logic 108 issues a command to the DRAM array 106. In response to a read request corresponding to an address, the controller logic 108 transmits a signal to the DRAM array 106 to read the stored data at the addressed location. In response to a write request, the controller logic 108 transmits a signal to the DRAM array 106 to write the data to the addressed location.

[0020] The correct operation of each memory service is determined on the controller logic 108 in compliance with certain memory timing parameters such as RAS precharge or "tRP" timing parameters, which reflect the time required between disabling access to a data line and enabling access to another data line. In a specific implementation, some or all of the memory timing parameters may vary depending on the region of the memory array 104 being accessed. Therefore, in some embodiments, the controller logic 108 is configured to buffer, reorder, or schedule memory requests based on the specified region memory timing parameters in order to improve performance and efficiency. To this end, the memory controller 102 also implements profiling logic 110 and timing data storage 112 to determine and store memory timing information for a specified region. As described below with reference to Figure 4 and 6As detailed, in some embodiments, the profiling logic 110 evaluates each memory region of a set of one or more memory regions of the memory array 104 to determine one or more memory timing parameters specific to the region. The memory timing information for the region may then be maintained in a timing data store 112, which may include any of a variety of storage mechanisms, such as a memory array, a set of registers or caches, a bloom filter, a content addressable memory (CAM), etc. The granularity of the regions of the memory array 104 so analyzed may include, but are not limited to, cell-based regions, group-based regions, row-based regions, channel-based regions, chip-based regions, memory module-based regions, etc., and combinations thereof.

[0021] In response to a trigger event, the profiling logic 110 initiates a test process to measure the corresponding memory timing parameters of each region of the available regions of the memory array 104. The trigger event may include, for example, a power-on reset, a timer elapsed, a command from the processor 101 or other controller, a sensed temperature change exceeding a threshold (and thereby indicating a temperature-induced change in the possible timing parameters), a trigger initiated during a dynamic voltage and frequency scaling (DVFS) operation, and the like. The test process may include, for example, repeatedly writing and then accessing a test pattern of the corresponding region while changing the value of the available memory timing parameters. The timing parameters may also be updated by performing a query to a table of delay values ​​at different temperatures or service times or a representation of a formula that can be used to calculate the delay using the temperature and service time as inputs. When the reliable minimum memory timing parameters are identified for the region via the test process, the profiling logic 110 may store data representing these identified memory timing parameters to the timing data store 112. In some embodiments, the timing data store 112 is a set of registers, caches, or CAMs, and the data is stored in a location associated with the region. In other embodiments, the time series data store 112 is implemented as a Bloom filter or other compressed data structure, and the data is accordingly incorporated into the compressed data structure.

[0022] During typical operation, memory parameter timing information may be accessed from the timing data store 112 via the controller logic 108. In response to receiving a memory access request from the processor 101, the controller logic 108 accesses memory timing information associated with the region using the address targeted by the memory access request, wherein the region is associated with the targeted address. Using the memory timing information for the specified region, the controller logic 108 may manage the timing of memory commands sent to the memory array 104 based on the stored memory timing parameters for a given region of memory in order to more efficiently schedule memory accesses. For example, when the memory controller 102 receives a memory read request, the controller logic 108 identifies the memory region to be accessed based on the address of the memory read request and then communicates with the profiling logic 110 and the timing data store 112 to determine the memory timing parameters to the region. The controller logic then schedules commands and transmits commands to the DRAM array 106 based on the stored timing parameters. As described below with reference to Figure 4 As detailed, the command scheduling also includes ensuring that there is no resource conflict caused by multiple accesses at different timings.

[0023] Stacked arrangements of memory dies often encounter significant variations in memory timing parameters. A memory controller implementing a region-based memory access scheduling technique can exploit these variations to more efficiently schedule memory requests and thus adapt well to stacked arrangements of memory dies.

[0024] Figure 2 An exploded perspective view of an example implementation of the processing system 100 as a stacked die processing system 200 is shown in accordance with some embodiments. In the depicted example, the stacked die processing system 200 includes a plurality of dies, such as dies 202, 204, 206, 208, 210, and 212 (collectively referred to herein as "dies 202-212"), which are stacked in the vertical arrangement shown and interconnected via through silicon vias (TSVs) 218. In the depicted example, the stacked memory dies 206, 208, 210, and 212 implement a plurality of memory arrays 104 ( Figure 1 ) of the DRAM array 106 ( Figure 1 ) of the memory cell circuit 230. Therefore, the dies 206-212 are referred to herein as "memory dies". Although described in the example context of DRAM, the memory cell circuit 230 may implement any of a variety of memory architectures, including but not limited to DRAM, static random access memory (SRAM), read-only memory (ROM), flash memory ferroelectric RAM (F-RAM), magnetoresistive RAM (MRAM), etc.

[0025] Die 202 implements the processing components of processor 101 as described above, including one or more processor cores 221 and 222 and cache 224, and is therefore referred to herein as "processor die 202". Die 204 implements memory controller 102, which includes parsing logic 110. Memory controller 102 implements hardwired logic for accessing the memory circuits of stacked dies 206-212 and as an interface for die 202 to service read and write memory access requests. Dies 202 and 204 may also include any of a variety of peripheral devices such as a north bridge, a south bridge, an input / output controller, a network interface, etc. Therefore, dice 202 and 204 are referred to herein as "logic dies".

[0026] The timing data store 112 may be implemented as a cache, CAM, Bloom filter, or register set on a logic die of the stacked die processing system 200. By way of example, the timing data store 112 may be implemented as a non-volatile memory (e.g., flash memory) on the die 204 along with other components of the memory controller 102 to facilitate immediate access to memory timing information by the parsing logic and controller logic 108 of the memory controller 102. In other embodiments, the stacked die processing system 200 may utilize the variable size storage capacity of the memory array 104 by implementing the timing data store 112 in the memory cell circuits 230 of one or more memory dies. In other embodiments, the timing data store 112 may be implemented using both the logic die and the memory die. By way of example, the timing data store 112 may be implemented as a small cache on the logic die and a larger cache on the memory die, wherein the small cache stores memory timing information for recently accessed memory regions, and the larger cache stores memory timing information for all memory regions.

[0027] In some embodiments, components of the processor 101 and memory controller 102 may be partitioned in other combinations across multiple dies or implemented on a single die. For example, the memory controller 102 and the processor 101 may be implemented on the same die. For another example, the processor 101 may be implemented on one die and the controller logic 108 ( Figure 1 ) and memory interface 114 ( Figure 1 ) is implemented on a second die, and the profiling logic 110 and the timing data are implemented on a third die.

[0028] The stacked memory subsystem typically implements the memory controller and related logic functions using an independent logic layer so that a semiconductor manufacturing process different from that used to manufacture the memory layer 206-212 can be used to manufacture the logic die 204. Therefore, the vertical die stack of the processing system 200 can be manufactured using any of a variety of 3D integrated circuit manufacturing processes. In one method, each of the die 202-212 is implemented as an independent substrate (e.g., bulk silicon) having active devices and forming one or more metal routing layers on the active surface. The method may include a wafer process on a wafer, whereby a wafer including a die matrix is ​​manufactured and thinned, and TSVs are etched through bulk silicon. Multiple wafers are then stacked, aligned, and then bonded via thermal compression to achieve the layer configuration shown (e.g., a stack of four wafers including memory circuit dies for three memory layers and a wafer including a logic die for a logic layer). The resulting stacked wafer set is separated to separate the individual 3D IC devices.

[0029] In the die-on-die process, the wafers for each corresponding layer are first separated, and then the dies are stacked and bonded to manufacture 3D IC devices. In the die-on-die method, the wafers for one or more layers are separated to generate dies for one or more layers, and these dies are then aligned and bonded to the corresponding die areas of another wafer, and the other wafer is then separated to produce each 3D IC device. One benefit of manufacturing dies 202-212 on independent wafers is that the logic layer (die 202-204) can be manufactured using a manufacturing process different from the manufacturing process used to manufacture memory dies (die 206-212). Therefore, a manufacturing process that provides improved performance and lower power consumption can be used to manufacture dies 202 and 204 (and thus provide faster and lower power consumption for memory controller 214 and analyzer 216 interface logic and circuits), however, a manufacturing process that provides improved cell density and improved leakage current control can be used to manufacture dies 206-212 (therefore, providing a more compact, lower power consumption bit cell for stacked memory).

[0030] In another approach, layers 202-212 are fabricated using a monolithic 3D fabrication process, whereby a single substrate is used, and each die layer is formed on the previous die layer using a layer transfer process such as an ion cutting process. Stacked memory devices may also be fabricated using a combination of the techniques described. For example, the logic layers (die 204 and 206) may be fabricated using monolithic 3D techniques, the memory layers (die 206-212) may be fabricated using die-on-die or wafer-on-wafer techniques, or vice versa, and the resulting logic layer stack and memory layer stack may then be bonded together and then bonded to an interposer substrate.

[0031] Although each of the processing systems 100 and 200 implements a single instance of the memory controller 102, in other embodiments, multiple memory controllers may be implemented to increase system performance, wherein each memory controller controls an independent portion of the system memory. Each of the multiple memory controllers may implement a separate instance of the region-based memory access scheduling technique described herein.

[0032] Figure 3 304-312). Figure 1 ). Main bus 322 connects die 302 and die 304. Die 304 implements two memory controllers 314 and 316 ( Figure 1 ) and the parsing logic 318 and the parsing logic 320 ( Figure 1 104 ). Each of the memory controllers 314 and 316 controls a corresponding independent portion of the attached memory array to increase memory bandwidth and throughput. The profiling logic 318 operates to maintain memory timing information for the region of the memory array 104 served by the memory controller 314, and the profiling logic 320 operates to maintain memory timing information for the region of the memory array 104 served by the memory controller 316.

[0033] The processing system 300 can be implemented with various packaging technologies. In some embodiments, the memory subsystem implemented as a bare die 304-312 can be implemented as an independent vertical stack arranged horizontally on the surface of the interconnected conductive object together with the bare die 302. In this embodiment, the main bus 322 can include a conductor implemented in the metal layer of the interconnected conductive object. In another embodiment, the stack of processor bare die 302 and bare die 304-312 can be included in an independent integrated circuit (IC) package. In such a specific implementation, the IC package can be placed on a circuit board or similar substrate, and the main bus 322 is implemented using the conductor of the circuit board, and the conductor of the circuit board includes pads, pins, traces, through holes, solder blocks, etc. to implement.

[0034] Figure 4 4 is a diagram showing a more detailed implementation of the memory controller 102 according to some embodiments. In the example, the memory controller 102 includes a master interface 404, an arbitration circuit 406, and a parsing logic 410 (corresponding to Figure 1 The analysis logic 110), the time series data storage 412 (corresponding to Figure 1 The timing data storage 112), command (CMD) input queue 413, write queue 414, read queue 415, scheduler 420 and physical interface (PHY) 422. The arbitration circuit, queues 413, 414 and 415 and scheduler 420 together form the controller logic 108 ( Figure 1 The main bus 402 couples the main interface 404 to the processor 101 ( Figure 1 ), the master interface 404 thereby receives and buffers signals representing memory access requests transmitted to the memory controller 102 on the master bus 402. The master interface also transmits memory access request responses to the processor 101 via the master bus 402. The arbitration circuit 406 receives memory access requests from the master interface 404 and from the parsing logic 410, and resolves conflicts in the command input queue 413 and the write queue 414, which buffer multiple commands and memory write requests respectively. These commands and write requests are stored in sequence, but can be selected to be executed out of sequence to improve performance. The read queue 415 is used to buffer the response to the memory read request before the memory read request is selected by the arbitration circuit 406 for transmission to the master interface 404.

[0035] Scheduler 420 selects memory access requests from queues 413 and 414 and converts these requests into DRAM command sequences. In some embodiments, scheduler 420 implements a set of algorithms and heuristics for reordering queued memory access requests. These algorithms and heuristics may take into account DRAM structures such as banks, rows, and columns, as well as memory timing parameters for a specified region, in order to generate access requests to memory array 104 (via PHY 422). Figure 1 By reordering memory requests, scheduler 420 can reduce latency and increase bandwidth of the memory subsystem.

[0036] Each DRAM operation generates different requirements and requires various DRAM resources, such as internal groups, address lines, and data lines. When forming a schedule for memory access requests, scheduler 420 considers potential resource conflicts and ensures that the required resources are available at the appropriate time. In addition to considering resource constraints, scheduler 420 also generates a schedule that complies with DRAM timing constraints and timing parameters to ensure correct operation. Examples of DRAM timing parameters considered by scheduler 420 include, but are not limited to: row to column command delay (tRCD) parameter, column command and data output (tCL) parameter time between, column command (tCCD) parameter time between, precharge time (tRP) parameter, and minimum row disconnect time (tRAS) parameter.

[0037] In conventional systems, these memory timing parameters are typically loaded into the memory controller and applied to schedule memory access requests without specifying the memory region being accessed. However, as described above, in some embodiments, when scheduling memory access requests, the memory controller 102 considers the memory timing parameters on a region-by-region basis. To this end, the analysis logic 410 implements logic for testing and measuring one or more memory timing parameters for each region of a group of regions of the memory array 104. For DRAM specific implementations, the measured DRAM timing parameters may include, but are not limited to, tRCD (row to column command delay), tCL (time between column command and data output), tCCD (time between column commands), tRP (precharge time), tRAS (minimum row disconnect time), tFAW (multiple group activation windows), tWTR (time between read and write), tWR (write recovery time), etc. For arrays utilizing memory technologies other than DRAM, the timing information may include other timing parameters for these types of memory when appropriate. The analysis logic 410 can implement the measurement of timing parameters by generating memory read and memory write commands and observing the results when changing the parameters being tested. In the example, the analysis logic 410 generates a sequence of commands and sends them to the arbitration circuit 406 to be ultimately placed in the queues 413 and 414. In other embodiments, the memory controller 102 may implement an independent queue of the test sequence generated by the analysis logic 410. The region of the memory array 104 may be based on a cell, a row, a group, a level, a chip, etc. Moreover, the analysis logic 410 may maintain different regional granularity levels. For example, the analysis logic 410 may determine the DRAM timing parameters applied to each row of each group, but determine the DRAM timing parameters on the sub-region of another group (e.g., based on the row of other groups). In such instances, the sub-region is a smaller granularity unit than the corresponding region (e.g., the sub-region of the group region may be a row, the sub-region of the row region may be a bit cell or a subset of the bit cells of the row, etc.). Moreover, the granularity of the memory region may depend on the memory timing parameters. For example, the analysis logic 410 may track the tRP parameter on a group-by-group basis while tracking the tRCD parameter on a row-by-row basis.

[0038] The analysis of timing parameters on a region-by-region basis may be triggered by any of a variety of triggering events. For example, the profiling logic 410 may include one or more static or configurable trigger timers that initiate periodic re-evaluations. As another example, the triggering event may include certain system events or signals directed by other system components, such as a re-evaluation signal initiated by an operating system, a hypervisor, a basic input-output system (BIOS), firmware, or a combination thereof. As an example, when the system boots, the BIOS may direct the profiling logic 410 to perform a set of initial measurements early in the boot process and then periodically at some predetermined intervals. In another example, a correct or incorrect memory error detection may cause the operating system or hypervisor to trigger the profiling logic 410. Since circuit operation is affected by temperature, the profiling logic 410 may use a temperature threshold or temperature change threshold trigger to initialize the re-evaluation of memory timing parameters.

[0039] Timing data store 412 receives and stores DRAM timing parameters generated by profiling logic 410 so that they can be subsequently accessed by scheduler 420. In some embodiments, this timing information may be stored as actual values ​​of the parameters. For example, the tRP parameter stored in a given row may be an actual value of the cycles required to recharge the given row. Alternatively, the timing information may be categorized into several levels or partitions, and an indication of the partition number is stored. For example, the tRP parameter may be categorized into 4 levels or partitions, such as: <= 7 cycles; 8-9 cycles; 10-11 cycles; and 12-13 cycles.

[0040] The timing data store 412 may be implemented by any number of storage mechanisms, including but not limited to bloom filters, content addressable memory (CAM), caches, registers, etc. The storage mechanism may be selected based on the size and number of parameters stored in order to reduce storage space. In some embodiments, the timing data store 412 may implement different types of storage (bloom filters, CAM arrays, and the like) for each timing parameter tracked by the analysis logic 410. For example, a bloom filter may be used to store hierarchical tRP values ​​as described above. One bloom filter is implemented for each tRP partition. Bloom filter 1 represents partition 1, bloom filter 2 represents partition 2, and so on. When operating, the analysis logic 410 determines that the tRP for, for example, row 5 is classified as the second partition. The analysis logic 410 sends the row number and partition number to the timing data store 412. The timing data store 412 inputs the index of row 5 into the second tRP bloom filter. In subsequent subsequent operations, the scheduler 420 may query the timing data store 412 to determine the tRP of row 5. It sends an indication of the row number (5) and the request parameters (tRP) to the time series data store 412. The time series data store 412 queries the tRP Bloom filter and returns the tRP partition for row 5 to the scheduler 420.

[0041] By identifying and storing the memory timing parameters on a region-by-region basis in the timing data store 412, the scheduler 420 can utilize the stored region-based memory timing parameters to more optimally schedule memory access requests based on the region to which the memory access request is directed. Thus, in response to receiving a memory access request to a target address, the scheduler 420 accesses the DRAM timing parameters associated with the region containing the target address from the timing data store 412, and uses the accessed DRAM timing parameters instead of (or in addition to) the timing parameters of the memory range to generate a more optimized memory access schedule. For example, the tRCD (row to column command delay) timing parameter is a fundamental part of the entire delay of a DRAM read operation. tRCD represents the minimum delay required between an "activate row" DRAM command and a subsequent "column read" DRAM command. Assume that a given group tRDC is 5 cycles for some rows and 4 cycles for other faster rows. For all rows, a conventional memory controller will use the most conservative timing tRCD=5. In contrast, the present invention, which has stored data representing the tRCD for each row in the timing data store 412, allows the scheduler 420 to utilize tRCD=4 for the faster rows, thereby reducing the latency of DRAM read operations to these rows by one cycle. The profiling logic 410 implements logic for testing and measuring one or more memory timing parameters for each of a set of regions of the memory array 104.

[0042] Figure 5 is a flow chart illustrating a method 500 for analyzing memory performance parameters on a region-by-region basis according to some embodiments. For ease of description, the method 500 is described in Figure 4 The example context of the memory controller block 102 shown is described and used to determine the tCL memory timing parameter as specified for the DRAM architecture. A similar process can be implemented to measure other memory timing parameters such as tRCD, tCCD, tRP and tRAS, tFAW, tWTR and tWR parameters.

[0043] At block 502, the profiling logic 410 initiates region-by-region memory profiling in response to a triggering event such as an interval pause or other system event as described earlier. At block 504, the profiling logic 410 selects a DRAM row buffer ( Figure 1 ) and sets the tCL parameter of the selected DRAM row buffer to a maximum value. At block 506, the analysis logic 410 selects a first test data pattern for verifying that the row buffer functions correctly at a given tCL value. The data test pattern may include any number of well-known test patterns for detecting memory errors such as "all ones", "all zeros", "alternating ones and zeros", "wandering ones", etc. The data test pattern may also include a pattern designed to be specific to a particular implementation of the DRAM array 106. At block 508, the analysis logic 410 generates a memory write request to the address corresponding to the row buffer to be tested. The write request is routed via the write queue 414 ( Figure 4 ) and arbitration circuit 406 ( Figure 4 ) is sent to the scheduler 420 ( Figure 4 At block 510, the analysis logic 410 generates a memory read request to the same address at the set tCL value. The read request also passes through the read queue 415 ( Figure 4) is transmitted to the scheduler 420. At block 512, the analysis logic 410 compares the data read back from the row buffer to the test pattern. If the read back data does not match, then at block 514, the analysis logic 410 stores the last known good tCL in the timing data store 412. As described above, the timing data store 412 can be implemented as a Bloom filter to reduce storage requirements. Otherwise, if the read back data matches, the test proceeds to block 516, where the test process returns and selects the next test pattern. The process of blocks 506-516 is repeated with each selected test pattern until the last pattern is tested (block 518). If all test patterns pass, at block 520, the analysis logic 410 selects the next lower value of the tCL parameter, and the process of blocks 506-518 is repeated for this value of the tCL parameter. This process continues until a failed value of the tCL parameter is detected at block 512, at which point the last known good tCL value is stored as the designated row tCL parameter for the row to be tested at block 522. Thus, upon completion of method 500, timing data store 412 has been updated with the fastest tCL value for a particular row to be tested. Although for ease of illustration, the present method measures the tCL of a row of buffers, in practice, method 500 will be repeated to measure the tCL of any number of memory regions. Thus, method 500 may be repeated for the next row to be tested, and so on, until the fastest tCL value has been identified and stored for each row of a portion of the entire memory array 104.

[0044] With memory timing parameters identified for a given region and stored in timing data store 412, scheduler 420 can utilize the stored region-based memory timing parameters to more optimally schedule memory access requests. The resulting improvements in memory latency and bandwidth can be better understood by examining the timing diagram for a DRM "read" operation.

[0045] Figure 6 is a timing diagram showing an example of memory controller 102 using memory timing parameters based on region profiling to schedule memory access requests in order to improve memory latency. Figure 4 ). For ease of illustration, the scheduling and timing of DRAM read operations using profiled values ​​tRCD and tCL are shown, however, the memory controller may use any one or a combination of profiled DRAM timing parameters to properly schedule the command. The overall latency of a read operation for a previously unopened row is the sum of the tRCD and tCL timing parameters. tRCD represents the minimum delay required between an "activate row" DRAM command and a subsequent "column read" DRAM command. tCL represents the minimum delay between a "column read" command and the availability of the first word of returned data.

[0046] Figure 6Compare the timing of two independent DRAM read operations, the first read operation at position "X" and the second read operation at position "Y". Assume that the analysis logic 410 ( Figure 4 ) have previously measured and stored tRCD and tCL timing parameters for various memory regions, including DRAM rows "X" and "Y" used in the example, with the tRCD parameter for row "X" set to 6 cycles (tRCD x =6) and the tCL parameter is set to 6 cycles (tCL x =6), and the tRCD parameter for row "Y" is set to 4 cycles (tRCD Y =4) and the tCL parameter is set to 5 cycles (tCL Y =5).

[0047] In clock cycle T0, memory controller 102 sends row X ( Figure 1 ) issues an "activate row" command 600. Six cycles later at clock cycle T6, the memory controller 102 uses the profiled value tRCD of row "X" x =6 issues a "column read" command 602. Next, by using the parsed value tCL of row "X" x =6, the memory controller waits for six cycles in clock cycle T 12 The memory data is returned 604. Therefore, the total read latency for location X is 12 cycles. At the same time in clock cycle T0, the memory controller 102 issues an "activate row" command 606 for row Y. By using the profiled value tRCD for row "Y" y =4, the memory controller 102 issues a "column read" command 608 at clock cycle T4 four cycles later. Next, by using the profiled value tCL of row "Y" y =5, the memory controller 102 waits five cycles for the memory data 610 to be returned in clock cycle T9, and the total latency is 9 cycles.

[0048] If the memory controller 102 used conventional worst-case timing parameters throughout the memory, the tRCD parameter for the entire memory would be set to 6, and therefore the "read" command 608 would not be issued until 6 cycles later when the "activate row" command 606 was issued. Likewise, the memory controller 102 would also assume that the memory data 610 would not be returned until 6 cycles later when the "column read" command 608 was issued. However, by using the profiling logic 410 to take advantage of the changes in the tRCD and tCL timing parameters on a row-by-row basis, the memory controller 102 is able to issue the "column read" command 608 to row Y two cycles earlier and access the resulting memory data 610 one cycle earlier, thereby reducing the latency of the "read" command 608 memory data 610 returning to row Y by three cycles, and thereby increasing the overall processing performance of the system.

[0049] In some embodiments, the above-described devices and techniques are implemented in a system that includes one or more integrated circuit (IC) devices (also referred to as integrated circuit packages or microchips), such as Figure 1-3 processing system. Electronic design automation (EDA) and computer-aided design (CAD) software tools can be used to design and manufacture these IC devices. These design tools are generally represented as one or more software programs. The one or more software programs include codes that can be executed by a computer system to manipulate the computer system, and the computer system runs on the code representing the circuit of one or more IC devices to perform the design or apply the manufacturing system to manufacture at least a part of the process of the circuit. The code may include instructions, data, or a combination of instructions and data. Software instructions representing design tools or manufacturing tools are generally stored in a computer-readable storage medium accessible to a computer system. Similarly, codes representing one or more stages of designing or manufacturing IC devices may be stored in the same computer-readable storage medium or different computer-readable storage media, or may be accessed from the same computer-readable storage medium or different computer-readable storage media.

[0050] Computer-readable storage media may include any storage media or combination of storage media that can be accessed by a computer system during use to provide instructions and / or data to the computer system. Such storage media may include, but are not limited to, optical media (e.g., compact disk (CD), digital versatile disk (DVD), Blu-ray disk), magnetic media (e.g., floppy disk, magnetic tape, or magnetic hard drive), volatile memory (e.g., random access memory (RAM) or cache), non-volatile memory (e.g., read-only memory (ROM) or flash memory), or micro-electromechanical system (MEMS)-based storage media. Computer-readable storage media may be implemented in a computer system (e.g., system RAM or ROM), fixedly attached to a computing system (e.g., a magnetic hard drive), removably attached to a computing system (e.g., an optical disk or a flash memory based on a universal serial bus (USB)), or coupled to a computer system via a wired or wireless network (e.g., network access storage (NAS)).

[0051] Figure 7 700 for designing and manufacturing an IC device that implements one or more of the above aspects. As described above, the code generated for each of the following processes is stored in a computer-readable storage medium or otherwise implemented, and the computer-readable storage medium is accessed and used by a corresponding design tool or manufacturing tool.

[0052] At block 702, a functional specification of an IC device is generated. The functional specification, often referred to as a microarchitecture specification (MAS), may be expressed in any of a variety of programming or modeling languages ​​including C, C++, SystemC, Simulink, or MATLAB.

[0053] In block 704, the functional specification is used to generate hardware description code representing the hardware of the IC device. In some embodiments, the hardware description code is represented using at least one hardware description language (HDL), which includes any of various computer languages, specification languages, or modeling languages ​​used for the formal description and design of the circuits of the IC device. The generated HDL code typically represents the operation of the circuits of the IC device, the design and organization of the circuits, and is tested by simulation to verify the correct operation of the IC device. Examples of HDL include analog HDL (AHDL), Verilog HDL, SystemVerilog HDL, and VHDL. For IC devices that implement synchronous digital circuits, the hardware descriptor code may include register transfer level (RTL) code, which provides an abstract representation of the operation of the synchronous digital circuit. For other circuit types, the hardware descriptor code may include behavioral level code, which provides an abstract representation of the operation of the circuit. The HDL model represented by the hardware description code typically undergoes one or more rounds of simulation and is debugged to pass design verification.

[0054] After verifying the design represented by the hardware description code, at block 706, a synthesis tool is used to synthesize the hardware description code to generate code that represents or defines an initial physical implementation of the circuit of the IC device. In some embodiments, the synthesis tool generates one or more wiring tables, which include circuit device instances (e.g., gates, transistors, resistors, capacitors, inductors, diodes, etc.) and nets or connections between the circuit device instances. Alternatively, all or a portion of the wiring tables may be manually generated without using a synthesis tool. Using the hardware description code, the wiring tables may undergo one or more testing and verification processes before a final set of one or more wiring tables is generated.

[0055] Alternatively, a schematic editing tool may be used to draw a schematic diagram of a circuit of an IC device, and then a schematic capture tool may be used to capture the resulting circuit diagram and generate one or more wiring tables (stored on a computer-readable medium) representing the components and connectivity of the circuit diagram. The captured circuit diagram may then undergo one or more rounds of simulation for testing and verification.

[0056] In box 708, one or more EDA tools use the wiring table generated in box 706 to generate a code representing the physical layout of the circuit of the IC device. This process may include, for example, a layout tool that uses the wiring table to determine or fix the position of each element of the circuit of the IC device. In addition, the routing tool constructs a layout process for adding and routing wires, which are required to connect circuit elements according to the wiring table. The resulting code represents a three-dimensional model of the IC device. The code can be represented in a database file format, such as, for example, a graphic database system II (GDSII) format. Data in this format typically represents other information about geometric shapes, text labels, and circuit layouts in a hierarchical form.

[0057] At block 710, the physical layout code (e.g., GDSII code) is provided to a fabrication facility, which uses the physical layout code to configure or otherwise adapt fabrication tools of the fabrication facility (e.g., through mask work) to fabricate IC devices. That is, the physical layout code is programmed into one or more computer systems that can then control (in whole or in part) the operation of tools of the fabrication facility or fabrication operations in the fabrication facility.

[0058] It should be noted that not all of the behaviors or elements in the above general description are required, a portion of a specific behavior or device may not be required, and one or more additional behaviors or elements may be performed in addition to the described behaviors or elements. Furthermore, the order in which the behaviors are listed is not necessarily the order in which they are performed.

[0059] Moreover, the concepts have been described with reference to specific embodiments. However, it will be appreciated by those skilled in the art that various modifications and variations may be made without departing from the scope of the present disclosure as set forth in the appended claims. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense, and it is intended that all such modifications are included within the scope of the present disclosure.

[0060] Solutions to the problems and their benefits and advantages have been described above with respect to specified embodiments. However, solutions to the problems and their benefits and advantages, as well as any features that may lead to or make apparent any benefit, advantage or solution, should not be considered key, required or essential features of any or all claims.

Claims

1. A memory access scheduling method, comprising: identifying region-specified memory timing parameters for a first region and a second region of a memory, wherein the region-specified memory timing parameters for the first region are independent of the region-specified memory timing parameters for the second region of the memory; and In response to receiving memory access requests to target addresses within the first region and the second region, the memory access requests are reordered based on the specified region memory timing parameters so that a sequence of the memory accesses reflects the specified region memory timing parameters.

2. The memory access scheduling method according to claim 1, further comprising: The timing parameters representing the identified designated region memory are stored in the timing data store. 3 . The memory access scheduling method according to claim 2 , wherein the sequential data storage comprises a first cache on a logic die and a second cache on a memory die.

4. The memory access scheduling method according to claim 1, further comprising: re-identifying the designated region memory timing parameters in response to at least one of: a power-on reset; The timer elapses; Sensed temperature changes; and triggers from the controller.

5. The memory access scheduling method of claim 1 , wherein identifying the designated region memory timing parameters for the first and second regions comprises: measuring a type of memory timing parameter of a plurality of types of memory timing parameters for each of the plurality of sub-regions of each region; and The slowest measured memory timing parameter corresponding to the memory timing parameter of each measured type for the sub-region is identified as the memory timing parameter for each corresponding measured type of memory timing parameter for each region.

6. The memory access scheduling method according to claim 1, wherein: The memory includes dynamic random access memory; and The memory timing parameters include at least one of the following: row to column command delay; time between column command and data output; time between column commands; precharge time; minimum row open time; multiple sets of activation windows; time between read and write; and write recovery time.

7. An integrated circuit device, comprising: A memory controller coupled to the memory, the memory controller being configured to: in response to receiving a memory access request to a target address associated with a first region and a second region, reordering memory accesses to a first region and a second region of a plurality of regions of the memory based on a first set of one or more memory timing parameters specific to the first region and a second set of one or more memory timing parameters specific to the second region, wherein the memory controller is to reorder the memory accesses such that a sequence of the memory accesses reflects the memory timing parameters specific to the first region and the second region; and In response to the reordered memory accesses, data is accessed at the first region and the second region.

8. The integrated circuit device according to claim 7, further comprising: a timing data store maintaining data representing the first set of one or more memory timing parameters; Wherein in response to a memory access performed relative to the first region, the memory controller accesses data representing the first set of one or more memory timing parameters specific to the first region and schedules the memory access based on the accessed data.

9. The integrated circuit device of claim 8, wherein the sequential data storage comprises a first cache on a logic die and a second cache on a memory die.

10. The integrated circuit device according to claim 8, further comprising: Parsing logic, the parsing logic is used to: identifying the first set of one or more memory timing parameters specific to the first region; as well as The second set of one or more memory timing parameters specific to the second region is identified.

11. The integrated circuit device according to claim 10, further comprising: A stacked die memory device comprising: a set of one or more stacked memory dies comprising the memory; and A set of one or more logic dies is electrically coupled to the set of one or more stacked memory dies, the set of one or more logic dies including the memory controller and the profiling logic.

12. An integrated circuit device according to claim 11, wherein the group of one or more stacked memory dies and the group of one or more logic dies are arranged in a stacked configuration, and the group of one or more logic dies are thereby connected to the group of one or more stacked memory dies via a group of silicon through vias.

13. The integrated circuit device of claim 11, wherein the set of one or more stacked memory dies implements the temporal data storage as a Bloom filter.

14. The integrated circuit device of claim 11, wherein the set of one or more stacked memory dies implements the sequential data storage.

15. A non-transitory computer readable medium comprising a set of executable instructions for operating one or more processors to: identifying a first set of one or more memory timing parameters specific to a first region of a plurality of regions of a stacked die memory device; and identifying a second set of one or more memory timing parameters specific to a second region of the plurality of regions of the stacked die memory device, wherein the second set of one or more memory timing parameters are independent of the first set of one or more memory timing parameters; and In response to receiving a first memory access request to access the first region and a second memory access request to access the second region, the first memory access request and the second memory access request are reordered so that a sequence of memory accesses reflects the memory timing parameters specific to the first region and the second region.

16. The non-transitory computer readable medium of claim 15, wherein the set of executable instructions is for manipulating the one or more processors to: storing data representing the memory timing parameters for each of the first region and the second region in a timing data store; and In response to receiving the first memory access request to access the first region and the second memory access request to access the second region, first data representing the first set of one or more memory timing parameters and second data representing the second set of one or more memory timing parameters are accessed from the timing data store. 17 . The non-transitory computer readable medium of claim 16 , wherein the temporal data storage comprises a first cache on a logic die and a second cache on a memory die.

18. The non-transitory computer-readable medium of claim 16, wherein the time series data store is implemented as a Bloom filter.

19. The non-transitory computer readable medium of claim 15, wherein the set of executable instructions is for manipulating the one or more processors to: At least one of the first set of one or more memory timing parameters for the first region and the second set of one or more memory timing parameters for the second region is identified in response to at least one of: a power-on reset; a timer elapsed; a sensed temperature change; and a trigger from a controller.

20. The non-transitory computer readable medium of claim 15, wherein the set of executable instructions is for manipulating the one or more processors to: measuring a type of memory timing parameter of a plurality of types of memory timing parameters for each of a plurality of sub-regions of the region; and The slowest measured memory timing parameter corresponding to the memory timing parameter of each measured type for the sub-region is identified as the memory timing parameter for each corresponding measured type of memory timing parameter for the region.

Citation Information

Patent Citations

  • Dynamic control of memory access speed

    CN101103344A

  • Implementation method for timing parameters of read-write mode signals of dynamic random access memory

    CN101894584A

  • Memory system and method using stacked memory device dice, and system using the memory system

    CN102099861A

  • Stacked-die memory systems and methods for training stacked-die memory systems

    CN102341860A

  • Configurable bandwidth memory devices and methods

    CN102405498A