Memory control system and display device having memory controlling function
The memory control system and display device manage deadlines to address varying urgency in command processing, ensuring stability and enhancing resource efficiency by real-time response time management.
Patent Information
- Application Number
- KR1020220182263
- Authority / Receiving Office
- KR · KR
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-12-30
- Filing Date
- 2022-12-22
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2042-12-22
AI Technical Summary
Existing memory systems face challenges in ensuring operational stability and efficient utilization of slave resources due to varying urgency in command processing, leading to reduced efficiency and increased time margins.
A memory control system and display device with a memory control function that manage deadlines for command processing by reflecting changes in transmission time, using master processors to provide deadline information and slave processors to reconstruct schedules based on these deadlines.
Ensures operational stability and improves resource utilization efficiency by managing response times in real-time using deadline information, reducing the need for excessive time margins.
Smart Images

Figure 112022138746995-PAT00001_ABST
Abstract
Description
Technology Field
[0001] The present invention relates to a system for managing the response time of a memory, and more specifically, to a memory control system capable of efficiently managing the response time to a command and a display device having a memory control function. Background Technology
[0002] Commands generated by a memory-operating system must be processed properly within a limited time.
[0003] For example, in the case of a system using memory, a master processor that provides commands for accessing memory may grant priority to the commands when issuing them, and a slave processor receiving the commands may be configured to process the commands according to priority.
[0004] For example, a display system processing display data for displaying a screen may be equipped with a display device that utilizes memory. In the case of the above-mentioned display device, the waiting time from when a command occurs until the command is executed may vary, and as a result, the urgency of processing the command may vary.
[0005] For memory systems such as display devices, operational stability is difficult to guarantee if changes in the urgency of command processing are not resolved.
[0006] Therefore, to ensure operational stability, the memory system requires a sufficient margin to guarantee the time required from the occurrence of a command until its execution. As a result, the memory system suffers from a problem where the efficiency of slave resource utilization is reduced due to the time margin secured for operation. The problem to be solved
[0007] The present invention aims to provide a memory control system capable of ensuring operational stability and improving the utilization efficiency of slave resources by managing a deadline for command processing by reflecting changes in the transmission time of a command from a master processor to a slave resource.
[0008] Another objective of the present invention is to provide a display device having a memory control function that can ensure operational stability and improve memory utilization efficiency by managing a deadline for processing commands by reflecting changes in the transmission time of a data processor's command being transmitted to a memory controller. means of solving the problem
[0009] The memory control system of the present invention comprises: master processors that each transmit a command and deadline information for the command; and slave processors that receive the commands, set a schedule using the deadline information, select the commands in order of earliest deadline according to the schedule, and perform a process for the selected commands; wherein each of the master processors provides the deadline information in which the deadline for the command is changed in response to a change in the transmission time of the command to the slave processor, and the slave processor reconstructs the schedule in response to the change in the deadline information.
[0010] And, the display device having a memory control function of the present invention comprises: data processors that perform data processing for display and transmit a command for the data processing and a deadline information for the command, respectively; a memory controller that receives the commands, sets a schedule using the deadline information, selects the commands in order of earliest deadline according to the schedule, and provides the selected commands; and a memory that stores data for the data processing and performs a function corresponding to the command provided by the memory controller for the data; wherein each of the data processors provides the deadline information in which the deadline for the command is changed in response to a change in the transmission time of the command being transmitted to the memory controller, and the memory controller reconstructs the schedule in response to the change in the deadline information. Effects of the invention
[0011] In the present invention, deadline information is generated by reflecting the change in the transmission time of a command being transmitted from a master processor to a slave resource, and the response time of the slave resource to the command in real time can be efficiently managed using the deadline information.
[0012] Therefore, the stability of operations corresponding to the commands of the memory control system can be ensured, and the utilization efficiency of slave resources can be improved.
[0013] In addition, in the present invention, a data processor for a display generates deadline information by reflecting a change in the transmission time of a command being transmitted to a memory controller, and the memory controller can efficiently manage the response time to the command in real time using the deadline information.
[0014] Therefore, it is possible to ensure operational stability in response to commands of the display device, and there is an effect of improving the utilization efficiency of the memory controller. Brief explanation of the drawing
[0015] FIG. 1 is a block diagram of a memory control system configured as an embodiment of the present invention. FIG. 2 is a detailed block diagram illustrating a deadline providing unit included in the master processor of FIG. 1. FIG. 3 is a block diagram of a display device configured as another embodiment of the present invention. FIGS. 4 and FIGS. 5 are diagrams illustrating the control of deadline information in real time. Specific details for implementing the invention
[0016] An embodiment of the present invention can be implemented as a system in which components that can be classified as master and slave are complexly configured on a single chip.
[0017] For example, a memory control system that operates memory may include a plurality of master processors corresponding to the master level that provide commands, and slave processors at the slave level that receive commands and process commands through channels.
[0018] That is, as shown in FIG. 1, the memory control system may include master processors (10, 20, 30, 40) and slave processors (50).
[0019] The master processors (10, 20, 30, 40) can be understood as applications with different intended functions. For example, in the case of a display system, the master processors (10, 20, 30, 40) can be understood as data processors for independently performing different functions, such as a function of processing sensing data to compensate for pixel degradation or a function of processing display data to compensate for Mura of the display panel.
[0020] And, the slave processor (50) can be understood to receive a command from the master processors (10, 20, 30, 40) and perform a process corresponding to the command. For example, in the case of a display system, the memory controller that processes the command for the master processors (10, 20, 30, 40) to read or write data in memory (not shown) can be understood to correspond to the slave processor (50).
[0021] Master processors (10, 20, 30, 40) may be configured to communicate with a slave processor (50) through a channel (60). In this case, the channel (60) may be understood as a shared bus or a one-to-one interconnected transmission line, etc. The protocol for communication between the master processors (10, 20, 30, 40) and the slave processor (50) may be configured in various ways according to the manufacturer's intent.
[0022] Each of the master processors (10, 20, 30, 40) may include a deadline provider and a buffer. More specifically, the master processor (10) may include a deadline provider (12) and a buffer (14), the master processor (20) may include a deadline provider (22) and a buffer (24), the master processor (30) may include a deadline provider (32) and a buffer (34), and the master processor (40) may include a deadline provider (42) and a buffer (44).
[0023] The slave processor (50) may include a buffer circuit (52), a selection unit (54), and an arbiter (56). The buffer circuit (52) may include a storage area corresponding to each of the master processors (10, 20, 30, 40). In this case, the storage area may refer to an internal memory area, and for the sake of understanding, each storage area is represented as a buffer (52A, 52B, 52C, 52D). Depending on the manufacturer's intent, the buffer circuit (52) may be configured to include a plurality of buffers (52A, 52B, 52C, 52D).
[0024] The commands provided by the master processors (10, 20, 30, 40) can be defined as CMDA, CMDB, CMDC, and CMDD, and when referring collectively to the commands CMDA, CMDB, CMDC, and CMDD, the command can be defined as CMD. Also, the deadline information provided by the master processors (10, 20, 30, 40) can be defined as DLA, DLB, DLC, and DLD, and when referring collectively to the deadline information DLA, DLB, DLC, and DLD, the deadline information can be defined as DL.
[0025] Master processors (10, 20, 30, 40) can provide a command CMD to a slave processor (50) through a channel (60). Additionally, master processors (10, 20, 30, 40) can provide a deadline information DL to a slave processor (50) through a separate dedicated line. Since the method of providing the command CMD and the deadline information DL can be implemented in various ways according to the manufacturer's intent, a detailed description is omitted.
[0026] Master processors (10, 20, 30, 40) can be understood as having a common structure for providing command and deadline information, and the configuration and operation of the master processor (10) are described in detail, and the configuration and operation of the remaining master processors (20, 30, 40) can be understood by referring to the master processor (10).
[0027] Master processors (10, 20, 30, 40) are intended to transmit the command CMD and the deadline information DL for the command CMD, respectively.
[0028] Referring to FIG. 2, the master processor (10) may include a command generation unit (16), a buffer (14), and a deadline providing unit (12).
[0029] The command generation unit (16) can generate a command CMD and priority information OP for the command CMD by an internal process.
[0030] For example, a command CMD may be generated when reading data from memory or writing data to memory while performing an internal process, and the command may be transmitted to a slave processor (50) through a buffer (14).
[0031] The buffer (14) may be configured to buffer a command CMD provided by the command generation unit (16) and to transmit the command CMD to the slave processor (50). To this end, the buffer (14) may be understood to be connected to a channel (60).
[0032] In the case of a display system, the screen can be formed by data of one frame, and one frame can include multiple horizontal lines, and each horizontal line can be formed by data of one horizontal cycle. In this case, data per frame can be distinguished by a vertical synchronization signal, and data per horizontal line can be distinguished by a horizontal synchronization signal HSYNC.
[0033] When an embodiment of the present invention is applied to a display system, the buffer (14) can buffer data in units of horizontal lines, and to this end, the buffer (14) can be configured so that the input and output of data are controlled by a horizontal synchronization signal HSYNC. That is, the buffer (14) can be configured to use the horizontal synchronization signal HSYNC as a synchronization signal for buffering commands.
[0034] The command generation unit (16) can generate priority information OP for a command CMD by considering the type or urgency of the command when generating the command CMD. The priority information OP may include a code or value that can distinguish the type or urgency of the command, and may include a code or value for coupling with the command. That is, the priority information OP can be generated to match the command CMD.
[0035] The priority information OP of the command generation unit (16) can be provided to the deadline provision unit (12).
[0036] The deadline providing unit (12) receives priority information OP and can be configured to output deadline information DL corresponding to the priority information OP.
[0037] The deadline providing unit (12) can generate status information of the buffer (14) by referring to a synchronization signal, namely a horizontal synchronization signal HSYNC, for driving the buffer (14). That is, the deadline providing unit (12) can check the information of the buffer (14) in real time, and can generate a change in the transmission time of the command CMD based on the status of the buffer (14) checked in real time.
[0038] The deadline providing unit (12) may use a clock signal CLK with a shorter period than the horizontal synchronization signal HSYNC to check the information of the buffer (14) in real time. The deadline providing unit (12) may use the clock signal CLK to generate a change in the transmission time of the command CMD of the buffer (14) multiple times during one period of the horizontal synchronization signal HSYNC. The deadline providing unit (12) may use the clock signal CLK to periodically generate a change in the transmission time of the command CMD.
[0039] The deadline providing unit (12) can generate a weight that reflects the change in delivery time, and can generate a deadline information DL by combining the weight with priority information OP, and can output the deadline information DL generated as above.
[0040] That is, when the master processor (10) generates a command CMD, it generates priority information OP for the command CMD, and the deadline providing unit (12) can generate deadline information DL by combining a weight corresponding to the transmission time of the command CMD of the buffer (12) based on the current time with the priority information OP.
[0041] Then, after the master processor (10) transmits the command CMD and the deadline information DL, the deadline providing unit (12) generates a change in the transmission time of the command CMD in the buffer (12), and changes the deadline information DL by combining a weight reflecting the change in the transmission time with the priority information OP, and can provide the changed deadline information DL to the slave processor (50).
[0042] At this time, the amount of change in the transmission time of the command CMD of the buffer (12) can be exemplified as being generated by the change in the amount of data of the buffer (12) that is periodically checked by the clock signal CLK.
[0043] That is, the master processor (10) can periodically generate a change in the transmission time of the command CMD, periodically change the deadline information DL, and periodically provide the changed deadline information DL to the slave processor (50). At this time, the period can be defined using the clock signal CLK.
[0044] As described above, the master processors (10, 20, 30, 40) can provide a command CMD and deadline information DL to the slave processor (50) through the channel (60), and the deadline information DL can be provided to the slave processor (50) periodically.
[0045] The slave processor (50) can be configured to receive commands CMD, set a schedule with deadline information, select command CMDs in order of earliest deadline according to the schedule, and perform a process for the selected command CMD.
[0046] And, the slave processor (50) can be configured to reconfigure the schedule in response to a change in deadline information, select command CMDs in order of earliest deadline according to the reconfigured schedule, and perform a process for the selected command CMD.
[0047] The slave processor (50) can stack commands CMDs transmitted through the channel (60) into the buffer circuit (52).
[0048] In the slave processor (50), the arbiter (56) may be configured to receive deadline information DL, set a schedule using the deadline information DL, and provide a selection signal MS to select a command CMD in order of earliest deadline according to the schedule.
[0049] In the slave processor (50), the selection unit (54) may be configured to select and output a command CMD corresponding to a selection signal MS among the commands CMD stacked in the buffer circuit (52). The commands CMD input to the selection unit (54) may include commands CMDA, CMDB, CMDC, and CMDD provided by the master processors (10, 20, 30, 40), and the command output from the selection unit (54) may be defined as CMDS.
[0050] More specific operations of the master processors (10, 20, 30, 40) and the slave processor (50) can be explained with reference to FIG. 3.
[0051] FIG. 3 can be understood as illustrating a display device having a memory control function as an embodiment of the present invention.
[0052] In FIG. 3, data processors (MPA, MPB, MPC, MPD) are configured as master processors (10, 20, 30, 40), and a memory controller (SP) is configured as a slave processor (50).
[0053] Data processors (MPA, MPB, MPC, MPD) perform data processing for display and are configured to provide commands CMDA, CMDB, CMDC, CMDD and deadline information DLA, DLB, DLC, DLD to the memory controller (SP) through the channel (60).
[0054] The memory controller (SP) functions as a slave processor. That is, the memory controller (SP) receives commands CMDA, CMDB, CMDC, and CMDD, sets a schedule using deadline information DLA, DLB, DLC, and DLD, selects commands in order of earliest deadline according to the schedule, and is configured to provide the selected command CMDS.
[0055] The display device of FIG. 3 includes a memory (70), and the memory (70) stores data for data processing and can perform functions corresponding to the command CMDS provided by the memory controller (SP) for the data. That is, the memory (70) can perform a read of data or a write of data in response to the command CMDS.
[0056] In FIG. 3, the memory controller (SP) and the memory (70) can be understood as a single memory module (MM), and the memory controller (SP) can be understood as having the function of controlling the access of the memory (60) by a command.
[0057] Each of the data processors (MPA, MPB, MPC, MPD) of Fig. 3 provides a deadline information DL in which the deadline for a command CMD is changed in response to a change in the transmission time of the command CMD being transmitted to the memory controller (SP). The memory controller (SP) can reconfigure the schedule in response to the change in the deadline information DL.
[0058] For example, the data processor (MPA) may sequentially provide ID0, ID1, and ID2 as command CMDA, and the memory controller (SP) may stack ID0, ID1, and ID2 into the buffer (52A). Here, ID0 may be understood as an identification code or identification value for distinguishing the command CMDA. Additionally, the data processor (MPA) may provide a deadline information DL as “78” corresponding to a change in the transmission time at which the command CMDA at the time of providing ID0 is transmitted to the memory controller (SP). The above-mentioned deadline information DL may be provided to the arbiter (56).
[0059] Data processors (MPB, MPC, MPD) can also sequentially provide ID3 to ID11 as command CMDB, CMDC, and CMDD, and the memory controller (SP) can stack the corresponding commands in the corresponding buffers (52B, 52C, 52D). Additionally, the deadline information DL for each command is generated to have a value corresponding to the change in the transmission time at which the command CMD at the time of providing ID3 to ID11 is transmitted to the memory controller (SP), and can be provided to the arbiter (56).
[0060] The arbiter (56) can sort the transmitted deadline information DL in order of urgency and provide a selection signal MS to the selection unit (54) to select a command CMDS according to the sorted order.
[0061] The selection unit (54) can select the command corresponding to the selection signal MS among the commands CMD of each buffer (52A, 52B, 52C, 52D) and output the corresponding command CMDS.
[0062] The memory controller (SP) can perform a process corresponding to the command CMDS selected in the selection unit (54), and the process may include providing the command CMDS to the memory (70).
[0063] Each data processor (MPA, MPB, MPC, MPD) operates using a non-identical horizontal synchronization signal, HSYNC. Therefore, the required deadlines may differ for each data processor (MPA, MPB, MPC, MPD).
[0064] The command CMDs generated by each data processor (MPA, MPB, MPC, MPD) pass through internal buffers and finally reach the destination, the memory controller (SP). It is difficult to predict the time it takes for a command CMD to reach the memory controller (SP).
[0065] The destination memory controller (SP) receives command CMDs from various data processors (MPA, MPB, MPC, MPD) and processes the received command CMDs. If no deadline is set for the command CMDs, the order in which the command CMDs are processed may change depending on the internal situation of the memory controller (SP).
[0066] To resolve this, the present invention is implemented to provide deadline information for a command CMD in a data processor (MPA, MPB, MPC, MPD) which is a master processor.
[0067] The memory controller (SP) can reliably process commands by checking the set deadlines and processing the commands (CMDs) in the order of urgency.
[0068] For example, a method for setting deadline information DL is described with reference to FIGS. 4 and FIGS. 5. The deadline information DL according to an embodiment of the present invention has a deadline adjusted based on the horizontal synchronization signal HSYNC.
[0069] In FIGS. 4 and 5, HSYNC_A is a horizontal synchronization signal of a data processor (MPA), HSYNC_B is a horizontal synchronization signal of a data processor (MPB), and HSYNC_C is a horizontal synchronization signal of a data processor (MPC). FIGS. 4 and 5 illustrate a state in which data is filled in the buffers (14, 24, 34) of the data processors (MPA, MPB, MPC).
[0070] Figure 4 is for checking the buffer state at time T0, and Figure 5 is for checking the buffer state at time T1.
[0071] Referring to FIG. 4, buffer (14) corresponds to a case where the capacity is insufficient compared to the horizontal synchronization signal HSYNC at time T0, buffer (24) corresponds to a case where the capacity is sufficient compared to the horizontal synchronization signal HSYNC at time T0, and buffer (34) corresponds to a case where the capacity is insufficient compared to the horizontal synchronization signal HSYNC at time T0 but the remaining horizontal time is sufficient.
[0072] Among the above cases, the priority weight may be assigned highest in the case of buffer (14), the priority weight may be assigned lowest in the case of buffer (24), and the priority weight may be assigned at an intermediate level in the case of buffer (34).
[0073] The deadline providing units (12, 22, 32) of each data processor (MPA, MPB, MPC) can generate deadline information DLA, DLB, and DLC respectively by combining the weight determined by referring to FIG. 4 with priority information OP.
[0074] Referring to FIG. 5, buffer (14) corresponds to a case where the capacity is sufficient compared to the horizontal synchronization signal HSYNC at time T1, buffer (24) corresponds to a case where the capacity is sufficient compared to the horizontal synchronization signal HSYNC at time T1 but the remaining horizontal time is short, and buffer (34) corresponds to a case where the capacity is insufficient compared to the horizontal synchronization signal HSYNC at time T1 but the remaining horizontal time is sufficient.
[0075] Among the above cases, the weight for priority may be assigned at the lowest level in the case of buffer (14), at the highest level in the case of buffer (24), and at an intermediate level in the case of buffer (34).
[0076] The deadline providing units (12, 22, 32) of each data processor (MPA, MPB, MPC) can generate deadline information DLA, DLB, and DLC respectively by combining the weight determined by referring to FIG. 5 with priority information OP.
[0077] As shown in Figures 4 and 5, the urgency of the command CMD can change over time.
[0078] Therefore, an embodiment of the present invention can periodically determine the weight according to the urgency of a command CMD in the master processor as a change in the transmission time when the command CMD is transmitted to the slave processor, and periodically update the deadline information DL that reflects the weight in priority for the command transmitted to the slave processor.
[0079] Therefore, the slave processor can periodically reconfigure the schedule using deadline information DL that reflects weights changing in real time, and can execute a process of selecting a command CMDS according to the reconfigured schedule and delivering the selected command CMDS to memory.
[0080] Therefore, a system or device having a memory control function can ensure the stability of operation corresponding to the command.
[0081] Furthermore, as deadline information is updated in real time, the margin for stable operation of slave resources may be reduced. Therefore, the utilization efficiency of slave resources can be improved.
Claims
Claim 1 Master processors that respectively transmit a command and deadline information for the said command; A memory control system comprising: a slave processor that receives the above commands, sets a schedule using the above deadline information, selects the above commands in order of earliest deadline according to the above schedule, and performs a process for the selected above commands; wherein each of the above master processors provides the above deadline information in which the above deadline for the command is changed in response to a change in the transmission time when the above command is transmitted to the slave processor, and the slave processor reconstructs the above schedule in response to the change in the above deadline information, and each of the above master processors includes: a command generation unit that generates the above command and priority information for the above command; a buffer that buffers the above command and transmits the above command to the slave processor; and a deadline providing unit that generates the amount of change in the above transmission time using state information of the above buffer referencing a synchronization signal for driving the above buffer, receives the above priority information, and outputs the above deadline information by combining a weight reflecting the amount of change in the above transmission time with the above priority information. Claim 2 A memory control system according to claim 1, wherein each of the master processors generates priority information for the command when generating the command, and generates the deadline information by combining a weight corresponding to the transmission time based on the current time with the priority information. Claim 3 A memory control system according to claim 2, wherein each of the master processors, after transmitting the command and the deadline information, generates a change in the transmission time, modifies the deadline information by combining the weight reflecting the change in the transmission time with the priority information, and provides the modified deadline information to the slave processor. Claim 4 In claim 3, each of the master processors periodically generates a change in the transmission time, periodically changes the deadline information, and periodically provides the changed deadline information to the slave processor. Claim 5 In claim 4, the slave processor is a memory control system that periodically reconstructs the schedule in response to the reception of the changed deadline information. Claim 6 delete Claim 7 A memory control system according to claim 1, wherein the deadline providing unit receives a clock signal with a period shorter than the synchronization signal, uses the clock signal to periodically generate a change in the transmission time, periodically changes the deadline information, and periodically provides the deadline information to the slave processor. Claim 8 A memory control system according to claim 1, wherein the slave processor comprises: a buffer circuit for stacking the commands of the master processors; an arbiter for receiving the deadline information, setting the schedule using the deadline information, and providing a selection signal for selecting the commands in order of earliest deadline according to the schedule; and a selection unit for selecting and outputting the command corresponding to the selection signal among the commands stacked in the buffer circuit. Claim 9 Data processors that perform data processing for display and transmit commands for said data processing and deadline information for said commands, respectively; a memory controller that receives said commands, sets a schedule using said deadline information, selects said commands in order of earliest deadline according to said schedule, and provides said selected commands; A display device having a memory control function, comprising: a memory that stores data for the above data processing and performs a function corresponding to the command provided by the memory controller for the above data; wherein each of the data processors provides the deadline information in which the deadline for the command is changed in response to a change in the transmission time of the command being transmitted to the memory controller, and the memory controller reconstructs the schedule in response to the change in the deadline information; and each of the data processors includes: a command generation unit that generates the command and priority information for the command; a buffer that buffers the command and transmits the command to the memory controller; and a deadline providing unit that generates the amount of change in the transmission time as state information of the buffer referencing a horizontal synchronization signal for driving the buffer, receives the priority information, and outputs the deadline information by combining a weight reflecting the amount of change in the transmission time with the priority information. Claim 10 In claim 9, each of the data processors has a memory control function that generates the command when access to the memory is required for the data processing, and generates predetermined priority information according to the importance of the command for the data processing. Claim 11 In claim 9, each of the data processors is a display device having a memory control function that generates the deadline information by combining a weight corresponding to the transmission time based on the current reference with priority information pre-specified in relation to the command when generating the command. Claim 12 A display device having a memory control function in which each of the data processors generates a change in the transmission time in real time, changes the deadline information by combining the weight reflecting the change in the transmission time with the priority information, and provides the changed deadline information to the memory controller in real time. Claim 13 A display device having a memory control function in which each of the data processors periodically generates a change in the transmission time by referring to a clock signal having a period shorter than the horizontal synchronization signal used for display, and periodically provides the deadline information that changes in response to the generation of the change in the transmission time to the memory controller. Claim 14 delete Claim 15 In claim 9, the memory controller comprises: a buffer circuit for stacking the commands of the data processors; an arbiter for receiving the deadline information, setting the schedule with the deadline information, and providing a selection signal for selecting the commands in order of earliest deadline according to the schedule; and a selection unit for selecting and outputting the command corresponding to the selection signal among the commands stacked in the buffer circuit; a display device having a memory control function.
Citation Information
Patent Citations
Fine-grained bandwidth provisioning in a memory controller
US20150293709A1
Separate memory controllers to access data in memory
US20160070483A1
Method and apparatus of reducing transfer latency in an soc interconnect
KR1020070098896A
Memory device and operating method thereof
KR1020130111188A
Coordinated near-far memory controller for process-in-hbm
KR1020190011662A
