Priority determination circuit
Patent Information
- Application Number
- CN202010816847.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-12-24
- Filing Date
- 2020-08-14
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-08-14
Smart Images

Figure CN113032304B_ABST
Abstract
Description
Technical Field
[0001] Various embodiments of the present disclosure relate generally to electronic devices, and more particularly, to a priority determination circuit and a method of operating the priority determination circuit. Background Art
[0002] A storage device is a device that stores data under the control of a host device (e.g., a computer, a smart phone, or a smart tablet). Depending on the device that stores the data, examples of the storage device include a device that stores data in a magnetic disk (e.g., a hard disk drive (HDD)) and a device that stores data in a semiconductor memory (particularly a nonvolatile memory) (e.g., a solid state drive (SSD) or a memory card).
[0003] The storage device may include a memory device that stores data and a storage controller that controls the storage of data in the memory device. These memory devices may be classified as volatile memory and non-volatile memory. Representative examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, phase change random access memory (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FRAM). Summary of the invention
[0004] An embodiment of the present disclosure may provide a priority determination circuit, which is configured to: receive request signals corresponding to operations to be performed on multiple planes from multiple microcontrollers respectively corresponding to the multiple planes; determine the priority between the received request signals; and output a response signal according to the determined priority, the response signal corresponding to the request signal.
[0005] Embodiments of the present disclosure may provide a priority determination circuit. The priority determination circuit may include: a request signal delay component, which is configured to receive request signals corresponding to operations to be performed on the multiple planes from multiple microcontrollers corresponding to the multiple planes, and output a delayed request signal obtained by delaying the request signal; a write / read pointer output circuit, which is configured to generate a write pointer and a read pointer based on the request signal and the delayed request signal to set the priority between the received request signals; a first-in-first-out (FIFO) register, which is configured to store data based on the write pointer, and output the stored data in response to a write enable signal generated based on the write pointer; a multiplexer, which is configured to output FIFO data based on register data output from the FIFO register and a read enable signal generated according to the read pointer; and a response signal generator, which is configured to output a response signal for indicating that any one of the multiple microcontrollers initiates or terminates an operation based on the FIFO data and the delayed request signal.
[0006] Embodiments of the present disclosure may provide a method for operating a priority determination circuit. The method may include the following steps: receiving request signals from a plurality of microcontrollers corresponding to a plurality of planes, respectively; determining priorities between the received request signals; and outputting response signals corresponding to the request signals according to the determined priorities. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 is a block diagram showing a storage device.
[0008] Figure 2 It is shown Figure 1 A diagram of the structure of a memory device.
[0009] Figure 3 is a diagram showing a storage block.
[0010] Figure 4 2 is a diagram showing a microcontroller and a priority determination circuit respectively corresponding to a plurality of planes.
[0011] Figure 5 It is shown Figure 4 A diagram of the configuration of the priority determination circuit.
[0012] Figure 6 It is shown Figure 5 Diagram of the request signal delay components and write / read pointer generator.
[0013] Figure 7 It is used to describe the input Figure 5 A diagram of the request signal delay component of the masked signal.
[0014] Figure 8 It is shown Figure 5Diagram of the first-in, first-out (FIFO) register, multiplexer, and response signal generator.
[0015] Fig. 9 is a diagram for explaining responses output from a priority determination circuit when requests are received from a plurality of microcontrollers at different time points.
[0016] Fig.10 It is shown Fig. 9 A diagram of the operation of the microcontroller circuit and the priority determination circuit.
[0017] Fig.11 is a diagram for explaining responses output from a priority determination circuit when requests are received from a plurality of microcontrollers at the same time point.
[0018] Fig.12 It is shown Fig.11 A diagram of the operation of the microcontroller circuit and the priority determination circuit.
[0019] Fig.13 This is a diagram for explaining a request signal input to a priority determination circuit and a response signal output from the priority determination circuit.
[0020] Fig.14 A diagram for explaining a write enable signal and a read enable signal set based on a request signal and a response signal, and data stored in a FIFO register.
[0021] Fig.15 is a flowchart illustrating the operation of a priority determination circuit according to an embodiment of the present disclosure.
[0022] Fig.16 is a flowchart illustrating the operation of a priority determination circuit according to an embodiment of the present disclosure.
[0023] Fig.17 is a flowchart illustrating the operation of a priority determination circuit according to an embodiment of the present disclosure.
[0024] Fig.18 It is shown Figure 1 FIG. 1 is a diagram of an implementation of a storage controller.
[0025] Fig.19 is a block diagram illustrating a memory card system to which a storage device according to an embodiment of the present disclosure is applied.
[0026] Fig. 20 is a block diagram showing a system such as a solid state drive (SSD) to which a storage device according to an embodiment of the present disclosure is applied.
[0027] Fig.21 is a block diagram illustrating a user system to which a storage device according to an embodiment of the present disclosure is applied. DETAILED DESCRIPTION
[0028] The specific structural or functional descriptions in the embodiments of the present disclosure introduced in this specification or application are only used for the description of the embodiments of the present disclosure. The description should not be interpreted as being limited to the embodiments described in the specification or application.
[0029] Various embodiments of the present disclosure will now be described more fully hereinafter with reference to the accompanying drawings, in which preferred embodiments of the present disclosure are shown so that those skilled in the art can easily realize the technical concept of the present disclosure.
[0030] Various embodiments of the present disclosure are directed to a priority determination circuit and a method of operating the priority determination circuit, which can determine an operation order among a plurality of planes.
[0031] Figure 1 is a block diagram showing a storage device.
[0032] Reference Figure 1 , the storage device 50 may include a memory device 100 and a storage controller 200 .
[0033] The storage device 50 may be a device that stores data under the control of a host 300 (eg, a mobile phone, a smart phone, an MP3 player, a laptop computer, a desktop computer, a game console, a television (TV), a tablet PC, or an in-vehicle infotainment system).
[0034] The storage device 50 may be manufactured as any of various types of storage devices according to a host interface as a scheme for communicating with the host 300. For example, the storage device 50 may be implemented as any of various types of storage devices, such as a solid state drive (SSD), a multimedia card such as MMC, embedded MMC (eMMC), reduced size MMC (RS-MMC), or micro-MMC, a secure digital card such as SD, mini-SD, or micro-SD, a universal storage bus (USB) storage device, a universal flash memory (UFS) device, a personal computer memory card international association (PCMCIA) card type storage device, a peripheral component interconnect (PCI) card type storage device, a high-speed PCI (PCI-E) card type storage device, a compact flash (CF) card, a smart media card, and a memory stick.
[0035] The memory device 50 may be manufactured in any of various types of packaging forms. For example, the memory device 50 may be manufactured in any of various types of packaging forms such as package on package (POP), system on package (SIP), system on chip (SOC), multi-chip package (MCP), chip on board (COB), wafer-level manufacturing package (WFP), and wafer-level stacked package (WSP).
[0036] The memory device 100 may store data. The memory device 100 operates in response to the control of the memory controller 200. The memory device 100 may include a memory cell array including a plurality of memory cells storing data. The memory cell array may include a plurality of memory blocks. Each memory block may include a plurality of memory cells, which may constitute a plurality of pages. In an embodiment, each page may be a unit for storing data in the memory device 100 or reading data stored in the memory device 100. A memory block may be a unit for erasing data.
[0037] In embodiments, the memory device 100 may take many alternative forms, such as double data rate synchronous dynamic random access memory (DDR SDRAM), low power double data rate 4th generation (LPDDR4) SDRAM, graphic double data rate (GDDR) SDRAM, low power DDR (LPDDR) SDRAM, Rambus dynamic random access memory (RDRAM), NAND flash memory, vertical NAND flash memory, NOR flash memory device, resistive RAM (RRAM), phase change memory (PRAM), magnetoresistive RAM (MRAM), ferroelectric RAM (FRAM) or spin transfer torque RAM (STT-RAM). In this specification, for the sake of convenience, the memory device 100 will be described assuming that it is a NAND flash memory.
[0038] The memory device 100 may be implemented in a two-dimensional (2D) array structure or a three-dimensional (3D) array structure. Hereinafter, although a 3D array structure is described as an embodiment, the present disclosure is not limited to the 3D array structure. The present disclosure may also be applied not only to a flash memory device in which a charge storage layer is formed of a conductive floating gate (FG), but also to a charge trap flash (CTF) memory device in which a charge storage layer is formed of an insulating layer.
[0039] In an embodiment, the memory device 100 may be operated in a single-level cell (SLC) mode in which one data bit is stored in one memory cell. Alternatively, the memory device 100 may be operated in a mode in which at least two data bits are stored in one memory cell. For example, the memory device 100 may be operated in a multi-level cell (MLC) mode in which two data bits are stored in one memory cell, a triple-level cell (TLC) mode in which three data bits are stored in one memory cell, or a quad-level cell (QLC) mode in which four data bits are stored in one memory cell.
[0040] The memory device 100 may receive a command and an address from the memory controller 200 and may access an area of the memory cell array selected by the address. That is, the memory device 100 may perform an operation corresponding to the command on the area selected by the address. For example, the memory device 100 may perform a write operation (i.e., a programming operation), a read operation, or an erase operation in response to the received command. When a programming command is received, the memory device 100 may program data to the area selected by the address. When a read command is received, the memory device 100 may read data from the area selected by the address. When an erase command is received, the memory device 100 may erase data stored in the area selected by the address.
[0041] In an embodiment, the memory device 100 may include a microcontroller circuit 150. The microcontroller circuit 150 may include one or more microcontrollers. The microcontrollers included in the microcontroller circuit 150 may correspond to the respective planes included in the memory device 100. For example, a first microcontroller included in the microcontroller circuit 150 may correspond to a first plane included in the memory device 100, and a second microcontroller included in the microcontroller circuit 150 may correspond to a second plane included in the memory device 100. That is, the first microcontroller may control the first plane so that an operation is performed on the first plane, and the second microcontroller may control the second plane so that an operation is performed on the second plane.
[0042] Therefore, the microcontroller circuit 150 may be composed of microcontrollers corresponding to the planes included in the memory device 100, respectively. That is, the number of microcontrollers included in the microcontroller circuit 150 may be equal to the number of planes included in the memory device 100. In addition, the planes are included in the memory device 100, and each plane is composed of a plurality of memory blocks, each memory block including a plurality of memory cells. That is, a programming operation, a read operation, or an erase operation is performed on a plurality of memory blocks of a plane.
[0043] In an embodiment, the microcontroller circuit 150 may receive a command from an external device. The command received from the external device may be a command for instructing to perform an operation on any one of the plurality of planes.
[0044] Here, when the microcontroller circuit 150 receives only a single command, there is no need to worry that operations of a plurality of microcontrollers included in the microcontroller circuit 150 will overlap with each other.
[0045] Here, when the microcontroller circuit 150 receives two or more commands to be executed on multiple planes, there is a concern that operations of multiple microcontrollers included in the microcontroller circuit 150 will overlap with each other. That is, an operation executed on any one plane may affect an operation currently being executed on another plane.
[0046] In the conventional technology, a microcontroller is operated so that, regardless of overlap between operations of the microcontroller, when a command is received from an external device, an operation corresponding to the command is immediately performed on a corresponding plane.
[0047] However, since the planes are operated at the same time, then the operation of each plane may affect the operation of other planes, and therefore it is necessary to determine the priority between the operations of the planes.
[0048] Therefore, in the present disclosure, the priority determination circuit 170 for determining the priority between the microcontrollers included in the microcontroller circuit 150 before operating the microcontrollers may be included in the memory device 100 .
[0049] In an embodiment, the memory device 100 may include a priority determination circuit 170. The priority determination circuit 170 may determine priorities between microcontrollers included in the microcontroller circuit 150. That is, the priority determination circuit 170 may control the microcontrollers so that when the operation of any one microcontroller is terminated, another microcontroller may be operated.
[0050] For example, the priority determination circuit 170 may control the microcontrollers in the order of the first microcontroller, the second microcontroller, the third microcontroller, and the fourth microcontroller. That is, when the operations of the first microcontroller and the second microcontroller overlap with each other, the priority determination circuit 170 may control the microcontrollers so that the first microcontroller is operated first. When the operations of the second microcontroller and the third microcontroller overlap with each other, the priority determination circuit 170 may control the microcontrollers so that the second microcontroller is operated first. When the operations of the third microcontroller and the fourth microcontroller overlap with each other, the priority determination circuit 170 may control the microcontrollers so that the third microcontroller is operated first.
[0051] However, the priority determination circuit 170 may control the microcontrollers so that when the operations of the microcontrollers do not overlap with each other, the microcontrollers are operated in the order of the requests received from the microcontrollers. That is, when a request from the next microcontroller is received after the operation of any one of the first to fourth microcontrollers is terminated, the priority determination circuit 170 may control the microcontrollers so that the microcontrollers are operated in the order of the received requests.
[0052] In an embodiment, when the operations of the microcontrollers overlap with each other, the priority determination circuit 170 may determine the priority between the microcontrollers, and may output a response signal according to the determined priority. Among the first to fourth microcontrollers, the microcontroller corresponding to the response signal may be operated first. As described above, the response signal may be output in the order of the first microcontroller, the second microcontroller, the third microcontroller, and the fourth microcontroller.
[0053] In an embodiment, the priority determination circuit 170 may set a write pointer and a read pointer to determine the priority between the microcontrollers. The write pointer and the read pointer may be determined based on the request signal and the delay request signal. In addition, the bits to be stored in the first-in first-out (FIFO) register and the value to be output from the multiplexer may be set based on the write pointer and the read pointer, and a response signal may be output from the priority determination circuit 170 based on the set bits and values. That is, according to the determined priority, a response signal may be output from the priority determination circuit 170.
[0054] The memory controller 200 may control the overall operation of the memory device 50 .
[0055] When the power supply voltage is applied to the memory device 50, the memory controller 200 may execute firmware (FW). When the memory device 100 is a flash memory device 100, the memory controller 200 may execute firmware such as a flash translation layer (FTL) for controlling communication between the host 300 and the memory device 100.
[0056] In an embodiment, the storage controller 200 may include firmware (not shown) that may receive data and a logical block address (LBA) from the host 300, and may convert the logical block address (LBA) into a physical block address (PBA) indicating an address of a memory cell included in the memory device 100 and to store data. In addition, the storage controller 200 may store a logical-physical address mapping table configuring a mapping relationship between the logical block address (LBA) and the physical block address (PBA) in a buffer memory.
[0057] The storage controller 200 may control the memory device 100 in response to a request received from the host 300 so that a program operation, a read operation, or an erase operation is performed. For example, when a program request is received from the host 300, the storage controller 200 may convert the program request into a program command, and may provide the program command, a physical block address (PBA), and data to the memory device 100. When a read request and a logical block address are received from the host 300, the storage controller 200 may convert the read request into a read command, select a physical block address corresponding to the logical block address, and thereafter provide the read command and the physical block address (PBA) to the memory device 100. When an erase request and a logical block address are received from the host 300, the storage controller 200 may convert the erase request into an erase command, select a physical block address corresponding to the logical block address, and thereafter provide the erase command and the physical block address (PBA) to the memory device 100.
[0058] In an embodiment, the memory controller 200 may autonomously generate a program command, an address, and data without receiving a request from the host 300, and may transmit them to the memory device 100. For example, the memory controller 200 may provide the command, the address, and the data to the memory device 100 to perform background operations such as a program operation for wear leveling and a program operation for garbage collection.
[0059] In an embodiment, the storage device 50 may include a buffer memory (not shown). The storage controller 200 may control data exchange between the host 300 and the buffer memory (not shown). Alternatively, the storage controller 200 may temporarily store system data for controlling the memory device 100 in the buffer memory (not shown). For example, the storage controller 200 may temporarily store data input from the host 300 in the buffer memory, and then may send the data temporarily stored in the buffer memory to the memory device 100.
[0060] In various embodiments, the buffer memory may be used as a working memory or a cache memory of the memory controller 200. The buffer memory may store codes or commands executed by the memory controller 200. Alternatively, the buffer memory may store data processed by the memory controller 200.
[0061] In an embodiment, the buffer memory may be implemented as a DRAM or static RAM (SRAM) such as a double data rate SDRAM (DDR SDRAM), a double data rate 4th generation (DDR4) SDRAM, a low power double data rate 4th generation (LPDDR4) SDRAM, a graphics double data rate (GDDR) SDRAM, a low power DDR (LPDDR) SDRAM, or a Rambus DRAM (RDRAM).
[0062] In various embodiments, the buffer memory may be coupled to the memory device 50 outside the memory device 50. In this case, a volatile memory device coupled to the outside of the memory device 50 may be used as the buffer memory.
[0063] In an embodiment, the memory controller 200 may control at least two memory devices. In this case, the memory controller 200 may control the memory devices according to an interleaving scheme to improve operation performance.
[0064] The host 300 may communicate with the storage device 50 using at least one of various communication methods such as universal serial bus (USB), serial AT attachment (SATA), serial attached SCSI (SAS), high-speed inter-chip (HSIC), small computer system interface (SCSI), peripheral component interconnect (PCI), PCI express (PCIe), non-volatile memory express (NVMe), universal flash memory (UFS), secure digital (SD), multimedia card (MMC), embedded MMC (eMMC), dual in-line memory module (DIMM), registered DIMM (RDIMM), and load reduced DIMM (LRDIMM) communication methods.
[0065] Figure 2 It is shown Figure 1 A diagram of the structure of a memory device.
[0066] Reference Figure 2 , the memory device 100 may include a memory cell array 110, a peripheral circuit 120, and a control logic 130. The control logic 130 may be implemented as hardware, software, or a combination of hardware and software. For example, the control logic 130 may be a control logic circuit operating according to an algorithm and / or a processor executing a control logic code.
[0067] The memory cell array 110 includes a plurality of memory blocks BLK1 to BLKz. The plurality of memory blocks BLK1 to BLKz are connected to a row decoder 121 through a row line RL. Each of the memory blocks BLK1 to BLKz may be connected to a page buffer group 123 through a bit line BL1 to BLn. Each of the memory blocks BLK1 to BLKz may include a plurality of memory cells. In an embodiment, the plurality of memory cells may be nonvolatile memory cells. Memory cells connected to the same word line may be defined as a single page. Therefore, a single memory block may include a plurality of pages.
[0068] The row line RL may include at least one source select line, a plurality of word lines, and at least one drain select line.
[0069] Each memory cell included in the memory cell array 110 may be implemented as a single-level cell (SLC) capable of storing one data bit, a multi-level cell (MLC) capable of storing two data bits, a triple-level cell (TLC) capable of storing three data bits, or a quad-level cell (QLC) capable of storing four data bits.
[0070] The peripheral circuit 120 may perform a program operation, a read operation, or an erase operation on a selected region of the memory cell array 110 under the control of the control logic 130. The peripheral circuit 120 may drive the memory cell array 110. For example, the peripheral circuit 120 may apply various operating voltages to the row lines RL and the bit lines BL1 to BLn or discharge the applied voltages under the control of the control logic 130.
[0071] The peripheral circuit 120 may include a row decoder 121 , a voltage generator 122 , a page buffer group 123 , a column decoder 124 , an input / output circuit 125 , and a sensing circuit 126 .
[0072] The row decoder 121 is connected to the memory cell array 110 through the row line RL. The row line RL may include at least one source selection line, a plurality of word lines, and at least one drain selection line. In an embodiment, the word line may include a normal word line and a dummy word line. In an embodiment, the row line RL may also include a pipe selection line.
[0073] The row decoder 121 may decode the row address RADD received from the control logic 130. The row decoder 121 selects at least one of the memory blocks BLK1 to BLKz according to the decoded address. In addition, the row decoder 121 may select at least one word line WL of the selected memory block according to the decoded address so that the voltage generated by the voltage generator 122 is applied to the at least one word line WL.
[0074] For example, during a program operation, the row decoder 121 may apply a program voltage to a selected word line and apply a program pass voltage having a level lower than the program voltage to unselected word lines. During a program verification operation, the row decoder 121 may apply a verification voltage to a selected word line and apply a verification pass voltage higher than the verification voltage to unselected word lines. During a read operation, the row decoder 121 may apply a read voltage to a selected word line and apply a read pass voltage higher than the read voltage to unselected word lines.
[0075] In an embodiment, an erase operation of the memory device 100 is performed on a memory block basis. During the erase operation, the row decoder 121 may select a memory block according to the decoded address. During the erase operation, the row decoder 121 may apply a ground voltage to a word line coupled to the selected memory block.
[0076] The voltage generator 122 may operate under the control of the control logic 130. The voltage generator 122 may generate a plurality of voltages using an external power supply voltage provided to the memory device 100. In detail, the voltage generator 122 may generate various operation voltages Vop for a program operation, a read operation, and an erase operation in response to the operation signal OPSIG. For example, the voltage generator 122 may generate a program voltage, a verification voltage, a pass voltage, a read voltage, an erase voltage, etc. under the control of the control logic 130.
[0077] In an embodiment, during a programming operation, the voltage generator 122 may generate a programming voltage and a programming pass voltage, and thereafter generate a programming pass voltage to be applied to all word lines. However, since the time required for a programming operation may be extended due to the duration of the pass voltage, the operation of the voltage generator 122 for shortening the programming operation time is disclosed in the present disclosure.
[0078] For example, the voltage generator 122 may generate a channel initialization voltage and a drain / source line voltage to be applied to each line at the same time when the pass voltage duration begins or during the pass voltage duration. The channel initialization voltage may be a voltage to initiate a channel initialization operation and to be applied to a word line, and the drain / source line voltage may be a voltage to be applied to all drain selection lines and all source selection lines during the channel initialization operation.
[0079] In an embodiment, the voltage generator 122 may generate an internal power supply voltage by regulating an external power supply voltage. The internal power supply voltage generated by the voltage generator 122 is used as an operating voltage of the memory device 100.
[0080] In an implementation, the voltage generator 122 may generate a plurality of voltages using an external power supply voltage or an internal power supply voltage.
[0081] For example, the voltage generator 122 may include a plurality of pumping capacitors for receiving an internal power supply voltage, and generate a plurality of voltages by selectively enabling the plurality of pumping capacitors under the control of the control logic 130 .
[0082] The generated voltage may be supplied to the memory cell array 110 through the row decoder 121 .
[0083] The page buffer group 123 includes first to n-th page buffers PB1 to PBn. The first to n-th page buffers PB1 to PBn are connected to the memory cell array 110 through the first to n-th bit lines BL1 to BLn. The first to n-th page buffers PB1 to PBn operate under the control of the control logic 130. In detail, the first to n-th page buffers PB1 to PBn may operate in response to the page buffer control signal PBSIGNALS. For example, during a read operation or a verification operation, the first to n-th page buffers PB1 to PBn may temporarily store data received through the first to n-th bit lines BL1 to BLn or may sense the voltage or current of the bit lines BL1 to BLn.
[0084] In detail, during a program operation, when a program voltage is applied to a selected word line, the first to n-th page buffers PB1 to PBn may transfer data DATA received through the input / output circuit 125 to a selected memory cell through the first to n-th bit lines BL1 to BLn. The memory cells in the selected page are programmed based on the received data DATA. During a program verification operation, the first to n-th page buffers PB1 to PBn may read page data by sensing a voltage or current received from a selected memory cell through the first to n-th bit lines BL1 to BLn.
[0085] During a read operation, under the control of the column decoder 124 , the first to nth page buffers PB1 to PBn may read data DATA from memory cells in a selected page through the first to nth bit lines BL1 to BLn and may output the read data DATA to the input / output circuit 125 .
[0086] During an erase operation, the first to nth page buffers PB1 to PBn may allow the first to nth bit lines BL1 to BLn to float or may apply an erase voltage to the first to nth bit lines BL1 to BLn.
[0087] The column decoder 124 may transfer data between the input / output circuit 125 and the page buffer group 123 in response to the column address CADD. For example, the column decoder 124 may exchange data with the first to nth page buffers PB1 to PBn through the data lines DL, or may exchange data with the input / output circuit 125 through the column lines CL.
[0088] The input / output circuit 125 can be referred to above Figure 1 The storage controller described (e.g., Figure 1 The command CMD and the address ADDR received by the control logic 130 are transmitted to the control logic 130, or the data DATA may be exchanged with the column decoder 124.
[0089] During a read operation or a verification operation, the sensing circuit 126 may generate a reference current in response to an enable bit VRYBIT, and may compare a sensing voltage VPB received from the page buffer group 123 with a reference voltage generated by the reference current, and then output a pass signal PASS or a fail signal FAIL.
[0090] The control logic 130 may control the peripheral circuit 120 by outputting an operation signal OPS1G, a row address RADD, a page buffer control signal PBSIGNALS, and an enable bit VRYBIT in response to a command CMD and an address ADDR. For example, the control logic 130 may control a read operation on a selected memory block in response to a sub-block read command and an address. In addition, the control logic 130 may control an erase operation on a selected sub-block included in a selected memory block in response to a sub-block erase command and an address. In addition, the control logic 130 may determine whether a verification operation passes or fails in response to a pass signal PASS or a fail signal FAIL.
[0091] Memory cells included in the memory cell array 110 may be programmed into any one of a plurality of program states according to data stored in the respective memory cells. A target program state of a corresponding memory cell may be determined to be any one of a plurality of program states according to data to be stored.
[0092] Figure 3 is a diagram showing a storage block.
[0093] Reference Figure 2 and Figure 3 , Figure 3 It is shown that the Figure 2 A circuit diagram of any one memory block BLKa among a plurality of memory blocks BLK1 to BLKz in a memory cell array 110.
[0094] The memory block BLKa may be connected to a first selection line, a word line, and a second selection line connected in parallel to each other. For example, the word lines may be connected in parallel to each other between the first selection line and the second selection line. Here, the first selection line may be a source selection line SSL, and the second selection line may be a drain selection line DSL.
[0095] In detail, the memory block BLKa may include a plurality of strings connected between the bit lines BL1 to BLn and the source line SL. The bit lines BL1 to BLn may be connected to the strings respectively, and the source line SL may be connected to the strings in common. Since the strings may be configured equally, the string ST connected to the first bit line BL1 will be described in detail by way of example.
[0096] The string ST may include a source selection transistor SST, a plurality of memory cells F1 to F16, and a drain selection transistor DST connected in series to each other between a source line SL and a first bit line BL1. A single string ST may include at least one source selection transistor SST and at least one drain selection transistor DST, and more memory cells than the memory cells F1 to F16 shown in the drawings may be included in the string ST.
[0097] The source of the source select transistor SST may be connected to the source line SL, and the drain of the drain select transistor DST may be connected to the first bit line BL1. The memory cells F1 to F16 may be connected in series between the source select transistor SST and the drain select transistor DST. The gates of the source select transistors included in different strings ST may be connected to the source select line SSL, the gates of the drain select transistors included in different strings ST may be connected to the drain select line DSL, and the gates of the memory cells F1 to F16 may be connected to a plurality of word lines WL1 to WL16, respectively. A group of memory cells connected to the same word line among the memory cells included in different strings ST may be referred to as a "physical page: PPG". Therefore, the memory block BLKa may include the same number of physical pages PPG as the number of word lines WL1 to WL16.
[0098] One memory cell can store one bit of data. The cell is generally designated as a "single-level cell: SLC". Here, one physical page PPG can store data corresponding to one logical page LPG. The data corresponding to one logical page LPG may include the same number of data bits as the number of memory cells included in one physical page PPG. Alternatively, one memory cell can store two or more bits of data. The cell is generally designated as a "multi-level cell: MLC". Here, one physical page PPG can store data corresponding to two or more logical pages LPG.
[0099] A memory cell in which two or more bits of data are stored in one memory cell is called a multi-level cell (MLC). However, recently, as the number of data bits stored in one memory cell increases, a multi-level cell (MLC) refers to a memory cell storing two bits of data, and thus a memory cell storing three or more bits of data is called a three-level cell (TLC), and a memory cell storing four or more bits of data is called a quad-level cell (QLC). In addition, a memory cell scheme storing multiple bits of data has been developed, and the present embodiment can be applied to a memory device 100 storing two or more bits of data.
[0100] In an embodiment, each memory block may have a three-dimensional (3D) structure. Each memory block may include a plurality of memory cells stacked on a substrate. The plurality of memory cells are arranged in +X, +Y, and +Z directions.
[0101] Figure 4 2 is a diagram showing a microcontroller and a priority determination circuit respectively corresponding to a plurality of planes.
[0102] Reference Figure 4 , Figure 4 Included in Figure 1 A memory device (e.g., Figure 1 Some components of 100). Figure 4 In the embodiment, it is assumed that the memory device includes four planes PLANE1 to PLANE4. Each of the first to fourth planes PLANE1 to PLANE4 may include first to z-th memory blocks BLK1 to BLKz. In the first to z-th memory blocks BLK1 to BLKz included in the respective planes, data may be stored.
[0103] In implementations, a memory device may include more or fewer planes.
[0104] Figure 4 The microcontroller circuit 150 may include first to fourth microcontrollers 150_1 to 150_4. The first to fourth microcontrollers 150_1, 150_2, 150_3, and 150_4 may correspond to first to fourth planes PLANE1, PLANE2, PLANE3, and PLANE4, respectively.
[0105] In an embodiment, the microcontroller circuit 150 may receive a command CMD from an external device. The command CMD received from the external device may be a command for instructing to perform an operation on any one of the first to fourth planes PLANE1 to PLANE4.
[0106] Therefore, the microcontroller corresponding to the received command CMD among the first microcontroller 150_1 to the fourth microcontroller 150_4 may output a setting signal for performing an operation on the corresponding plane. Based on the setting signal, voltages such as a program voltage, a read voltage, and a pass voltage may be set, or operations such as a discharge operation or a precharge operation may be performed.
[0107] For example, when the command CMD received from the external device is a command for instructing to perform a program operation on the first plane PLANE1, the corresponding command CMD may be transmitted to the first microcontroller 150_1 among the microcontrollers included in the microcontroller circuit 150. In addition, the first microcontroller 150_1 may output a first setting signal SET_SIG1 for setting a program voltage, a pass voltage, a bit line voltage, etc., so that an operation corresponding to the received command CMD is performed on the first plane PLANE1.
[0108] When the command CMD received from the external device is a command for instructing to perform an operation on the second plane PLANE2, the command CMD may be transmitted to the second microcontroller 150_2, and the second microcontroller 150_2 may output a second setting signal SET_SIG2 for performing an operation corresponding to the command CMD. When the command CMD received from the external device is a command for instructing to perform an operation on the third plane PLANE3, the command CMD may be transmitted to the third microcontroller 150_3, and the third microcontroller 150_3 may output a third setting signal SET_SIG3 for performing an operation corresponding to the command CMD. When the command CMD received from the external device is a command for instructing to perform an operation on the fourth plane PLANE4, the command CMD may be transmitted to the fourth microcontroller 150_4, and the fourth microcontroller 150_4 may output a fourth setting signal SET_SIG4 for performing an operation corresponding to the command CMD.
[0109] In an embodiment, before the first microcontroller 150_1 to the fourth microcontroller 150_4 output the first setting signal SET_SIG1 to the fourth setting signal SET_SIG4, the first microcontroller 150_1 to the fourth microcontroller 150_4 may output the first request signal REQ_1 to the fourth request signal REQ_4 to the priority determination circuit 170. That is, before performing the operation corresponding to the command CMD, the first microcontroller 150_1 to the fourth microcontroller 150_4 may output the request signal REQ_1 to REQ_4 to the priority determination circuit 170 to determine the microcontroller to perform the operation preferentially. Each of the request signals REQ_1 to REQ_4 may be a signal of a high state or a low state. In addition, the first microcontroller 150_1 to the fourth microcontroller 150_4 may output the request signal in the order of receiving the command CMD from the external device.
[0110] In an embodiment, before the first microcontrollers 150_1 to the fourth microcontrollers 150_4 perform an operation, the first microcontrollers 150_1 to the fourth microcontrollers 150_4 may output request signals REQ_1 to REQ_4 in a high state. Conversely, when the first microcontrollers 150_1 to the fourth microcontrollers 150_4 complete the execution of the operation, the first microcontrollers 150_1 to the fourth microcontrollers 150_4 may output request signals REQ_1 to REQ_4 in a low state. The priority determination circuit 170 may determine the priority of the operation in response to the request signals REQ_1 to REQ_4 in a high state or a low state.
[0111] In addition, the priority determination circuit 170 may output a high state response signal (or a high state response signal) in response to a high state request signal (or a high state request signal), and may output a low state response signal (or a low state response signal) in response to a low state request signal (or a low state request signal).
[0112] In an embodiment, the priority determination circuit 170 may receive first to fourth request signals REQ_1 to REQ_4 in a high state or a low state from the first to fourth microcontrollers 150_1 to 150_4. The priority determination circuit 170 may determine a microcontroller to be preferentially operated among the first to fourth microcontrollers 150_1 to 150_4 in response to the received first to fourth request signals REQ_1 to REQ_4.
[0113] For example, the priority determination circuit 170 may receive any one request signal of a high state among the first to fourth request signals REQ_1 to REQ_4 , or may simultaneously receive two or more request signals of a high state among the first to fourth request signals REQ_1 to REQ_4 .
[0114] When the priority determination circuit 170 receives only one high-state request signal among the first request signal REQ_1 to the fourth request signal REQ_4, the priority determination circuit 170 does not need to determine the priority, and thus may output a high-state response signal in response to the received request signal. Here, the high-state first response signal ACK_1 may be a signal for indicating that the first microcontroller 150_1 initiates an operation, the high-state second response signal ACK_2 may be a signal for indicating that the second microcontroller 150_2 initiates an operation, the high-state third response signal ACK_3 may be a signal for indicating that the third microcontroller 150_3 initiates an operation, and the high-state fourth response signal ACK_4 may be a signal for indicating that the fourth microcontroller 150_4 initiates an operation.
[0115] That is, when only one request signal of a high state is received, the priority determination circuit 170 may output a response signal for allowing an operation corresponding to the command CMD received from the external device to be immediately performed without determining the priority. When a response signal is received from the priority determination circuit 170, the corresponding microcontroller may output a setting signal for performing an operation corresponding to the command CMD.
[0116] When the priority determination circuit 170 simultaneously receives two or more high-state request signals among the first request signal REQ_1 to the fourth request signal REQ_4, the priority determination circuit 170 may need to determine the priority between the microcontrollers. That is, the priority determination circuit 170 may select a microcontroller to be preferentially operated so that the operation is not performed simultaneously on multiple planes. Here, the priority determination circuit 170 may determine the priority in the order of the first microcontroller 150_1, the second microcontroller 150_2, the third microcontroller 150_3, and the fourth microcontroller 150_4. The priority determination circuit 170 may output a high-state response signal according to the determined priority.
[0117] In an embodiment, when the first microcontroller 150_1 to the fourth microcontroller 150_4 complete the operation, the first microcontroller 150_1 to the fourth microcontroller 150_4 may output the first request signal REQ_1 to the fourth request signal REQ_4 in a low state. The priority determination circuit 170 may output a response signal in a low state in response to the first request signal REQ_1 to the fourth request signal REQ_4 in a low state. In this case, the priority determination circuit 170 may output a low state response signal corresponding to the microcontroller that has completed the operation, and at the same time output a high state response signal corresponding to the microcontroller to be subsequently operated. That is, the low state response signal and the high state response signal are output at the same time, so that the operations of the multiple planes can be sequentially performed on the multiple planes while preventing the operations of the multiple planes from overlapping each other.
[0118] Figure 5 It is shown Figure 4 A diagram of the configuration of the priority determination circuit.
[0119] Reference Figure 5 , Figure 5 The priority determination circuit 170 may include a request signal delay component 171, a write / read pointer generator 173, a first-in first-out (FIFO) register 175, a multiplexer 177, and a response signal generator 179. The various components included in the priority determination circuit 170 will be referred to later. Figures 6 to 8 describe.
[0120] In an embodiment, the request signal delay component 171 may receive the first to fourth request signals REQ_1 to REQ_4, and may output first to fourth delayed request signals DREQ_1 to DREQ_4 obtained by delaying the received request signals REQ_1 to REQ_4. The first to fourth request signals REQ_1 to REQ_4 may be received from the first to fourth microcontrollers 150_1 to 150_4, respectively. Each of the first to fourth request signals REQ_1 to REQ_4 may be in a high state or a low state.
[0121] In an embodiment, the request signal delay component 171 may receive masking signals MASKING_SIG_2 to MASKING_SIG_4 together with the first request signal REQ_1 to the fourth request signal REQ_4. The masking signals MASKING_SIG_2 to MASKING_SIG_4 may be signals for preventing the microcontroller from performing operations simultaneously. As used herein, the tilde "~" indicates a range of components. For example, "MASKING_SIG_2~MASKING_SIG_4" indicates Figure 5 The masking signals MASKING_SIG_2, MASKING_SIG_3 and MASKING_SIG_4 are shown.
[0122] For example, the request signal delay component 171 may simultaneously receive the first request signal REQ_1 and the second request signal REQ_2 in a high state from the first microcontroller 150_1 and the second microcontroller 150_2, respectively. That is, the request signal delay component 171 may simultaneously receive request signals for indicating that operations are performed on the first plane and the second plane. In this case, the masking signals MASKING_SIG_2 to MASKING_SIG_4 corresponding to the microcontrollers that do not perform the operations may have a default value of "1". Here, since the first microcontroller 150_1 performs the operations prior to the other microcontrollers, there may be no masking signal corresponding to the first microcontroller 150_1.
[0123] When the second to fourth masking signals MASKING_SIG_2 to MASKING_SIG_4 are '1', the delay request signals DREQ_2 to DREQ_4 may be output as signals of a low state.
[0124] For example, when the request signal delay component 171 receives the first request signal REQ_1 and the second request signal REQ_2 in a high state from the first microcontroller 150_1 and the second microcontroller 150_2 at the same time, the second masking signal MASKING_SIG_2 corresponding to the second request signal REQ_2 may be in a high state. That is, the second masking signal MASKING_SIG_2 corresponding to the second request signal REQ_2 may be in a high state, so that the first microcontroller 150_1 operates preferentially. Therefore, the first delayed request signal DREQ_1 corresponding to the first request signal REQ_1 may be delayed and output in a high state, and the second delayed request signal DREQ_2 corresponding to the second request signal REQ_2 may be delayed and output in a low state.
[0125] Therefore, when the request signal delay component 171 simultaneously receives high state request signals from a plurality of microcontrollers, the request signal is delayed in response to the second to fourth masking signals MASKING_SIG_2 to MASKING_SIG_4 , and thus priorities between operations of the microcontrollers may be determined.
[0126] In an embodiment, the write / read pointer generator 173 may receive the first request signals REQ_1 to REQ_4 and the first delayed request signals DREQ_1 to DREQ_4 respectively obtained by delaying the first request signals REQ_1 to REQ_4. The write / read pointer generator 173 may generate the first write pointers WT_POINTER_1 to WT_POINTER_4 and the first read pointers RD_POINTER_1 to RD_POINTER_4 based on the first request signals REQ_1 to REQ_4 and the first delayed request signals DREQ_1 to DREQ_4. The write / read pointer generator 173 may output the first write pointers WT_POINTER_1 to WT_POINTER_4 to the FIFO register 175, and may output the first read pointers RD_POINTER_1 to RD_POINTER_4.
[0127] In an embodiment, data may be stored in the FIFO register 175 based on the first to fourth write pointers WT_POINTER_1 to WT_POINTER_4, and states of the first to fourth response signals ACK_1 to ACK_4 may be determined based on the stored data. In addition, although states of the first to fourth response signals ACK_1 to ACK_4 are determined based on the first to fourth write pointers WT_POINTER_1 to WT_POINTER_4, states of the first to fourth response signals ACK_1 to ACK_4 may be additionally determined based on the first to fourth read pointers RD_POINTER_1 to RD_POINTER_4.
[0128] In an embodiment, the FIFO register 175 may receive the first to fourth write pointers WT_POINTER_1 to WT_POINTER_4 from the write / read pointer generator 173. In addition, the FIFO register 175 may receive a write enable signal WT_EN generated based on the first to fourth write pointers WT_POINTER_1 to WT_POINTER_4. The write enable signal WT_EN may be generated by the write / read pointer generator 173 or by another component (not shown) in the priority determination circuit 170. A default data value of the write enable signal WT_EN may be "00".
[0129] Whenever any one of the first to fourth write pointers WT_POINTER_1 to WT_POINTER_4 that changes from a high state to a low state is received, the FIFO register 175 may store any one of the first to fourth register data REG_DATA1 to REG_DATA4. The stored first to fourth register data REG_DATA1 to REG_DATA4 may be output to the multiplexer 177. In this case, the FIFO register 175 may determine the register data to be output to the multiplexer 177 in response to the write enable signal WT_EN.
[0130] In an embodiment, the multiplexer 177 may receive a read enable signal RD_EN generated based on the first to fourth read pointers RD_POINTER_1 to RD_POINTER_4 and the first to fourth register data REG_DATA1 to REG_DATA4 output from the FIFO register 175. The read enable signal RD_EN may be generated by the write / read pointer generator 173 or by another component (not shown) in the priority determination circuit 170. A default data value of the read enable signal RD_EN may be "00".
[0131] The multiplexer 177 may output the first to fourth register data REG_DATA1 to REG_DATA4 as FIFO data FIFO_OUT to the response signal generator 179 in response to the read enable signal RD_EN.
[0132] In an embodiment, the response signal generator 179 may receive the first to fourth delayed request signals DREQ_1 to DREQ_4 from the request signal delay component 171, and receive the FIFO data FIFO_OUT from the multiplexer 177. Therefore, the response signal generator 179 may generate the first to fourth response signals ACK_1 to ACK_4 based on the first to fourth delayed request signals DREQ_1 to DREQ_4 and the FIFO data FIFO_OUT, and may output the first to fourth response signals ACK_1 to ACK_4 to the microcontroller circuit 150. Here, the priority between the microcontrollers may be determined based on the first to fourth response signals ACK_1 to ACK_4 output from the response signal generator 179.
[0133] Figure 6 It is shown Figure 5 Diagram of the request signal delay components and write / read pointer generator.
[0134] Reference Figure 6 , Figure 6 The request signal delay component 171 may include and include Figure 4 The microcontroller circuit (for example, Figure 4 D flip-flops and logic gates corresponding to the first microcontroller 150_1 to the fourth microcontroller 150_4 in FIG. 150 . Figure 6 The write / read pointer generator 173 may include and include Figure 4 The microcontroller circuit (for example, Figure 4 Each of the second logic gate 171_G2 to the fourth logic gate 171_G4 included in the request signal delay component 171 and the eleventh logic gate 173_G11 to the eighteenth logic gate 173_G18 included in the write / read pointer generator 173 may be a basic digital logic gate that performs a logical AND operation.
[0135] In an embodiment, the request signal delay component 171 may include Figure 4 A first microcontroller (e.g., Figure 4 The first trigger 171_D1 corresponding to 150_1) and Figure 4 A second microcontroller (e.g., Figure 4The second trigger 171_D2 and the second logic gate 171_G2 corresponding to 150_2) and Figure 4 A third microcontroller (e.g., Figure 4 The third trigger 171_D3 and the third logic gate 171_G3 corresponding to 150_3) and Figure 4 A fourth microcontroller (eg, Figure 4 The fourth trigger 171_D4 and the fourth logic gate 171_G4 corresponding to 150_4) are provided.
[0136] In an embodiment, the inversion masking signal may be input to the second logic gate 171_G2 to the fourth logic gate 171_G4. In addition, the output terminal of the second logic gate 171_G2 may be coupled to the input terminal of the second flip-flop 171_D2, the output terminal of the third logic gate 171_G3 may be coupled to the input terminal of the third flip-flop 171_D3, and the output terminal of the fourth logic gate 171_G4 may be coupled to the input terminal of the fourth flip-flop 171_D4.
[0137] In an embodiment, since there is no connection with the first microcontroller (eg, Figure 4 150_1), so the request signal delay component 171 may not include a mask signal corresponding to the first microcontroller (eg, Figure 4 The logic gate corresponding to 150_1).
[0138] In an embodiment, the request signal delay component 171 and the write / read pointer generator 173 may be Figure 4 The first to fourth microcontrollers (eg, Figure 4 150_1 to 150_4) receive the first to fourth request signals REQ_1 to REQ_4. The first to fourth request signals REQ_1 to REQ_4 may be in a high state or a low state.
[0139] When the first to fourth request signals REQ_1 to REQ_4 are in a high state, they may respectively request to initiate the first to fourth microcontrollers (eg, Figure 4 150_1 to 150_4), and when the first request signal REQ_1 to the fourth request signal REQ_4 are in a low state, they may respectively request to terminate the first to fourth microcontrollers (eg, Figure 4 The operation signal of 150_1 to 150_4).
[0140] First, when receiving the first to fourth request signals REQ_1 to REQ_4, the request signal delay component 171 may output first to fourth delayed request signals DREQ_1 to DREQ_4 obtained by delaying the first to fourth request signals REQ_1 to REQ_4. Here, the request signal delay component 171 may output delayed request signals based on the mask signal and the first to fourth request signals REQ_1 to REQ_4.
[0141] For example, from a first microcontroller (e.g., Figure 4 The first request signal REQ_1 output by the first microcontroller (eg, 150_1) may be input to the first flip-flop 171_D1, and the first flip-flop 171_D1 may output a first delayed request signal DREQ_1 obtained by delaying the first request signal REQ_1. Figure 4 150_1) executes the operation before the other microcontrollers, so there may not be any connection with the first microcontroller (e.g., Figure 4 The masking signal corresponding to 150_1).
[0142] In addition, the inversion signal of the second masking signal MASKING_SIG_2 is synchronized with the inversion signal of the second microcontroller (eg, Figure 4 The second request signal REQ_2 outputted from the second logic gate 171_G2 may be inputted to the second logic gate 171_G2 together with the second request signal REQ_2 outputted from the second logic gate 171_G2. Thereafter, a signal obtained by performing a logic AND operation on the second request signal REQ_2 and an inversion signal of the second masking signal MASKING_SIG_2 may be outputted from the second logic gate 171_G2, and the signal outputted from the second logic gate 171_G2 may be inputted to the second flip-flop 171_D2. The second flip-flop 171_D2 may output a second delayed request signal DREQ_2 obtained by delaying the second request signal REQ_2.
[0143] In addition, the inversion signal of the third masking signal MASKING_SIG_3 is synchronized with the inversion signal from the third microcontroller (eg, Figure 4 The third request signal REQ_3 outputted from the third logic gate 171_G3 may be inputted to the third logic gate 171_G3 together with the third request signal REQ_3 outputted from the third logic gate 171_G3. Thereafter, a signal obtained by performing a logic AND operation on the third request signal REQ_3 and an inversion signal of the third masking signal MASKING_SIG_3 may be outputted from the third logic gate 171_G3, and the signal outputted from the third logic gate 171_G3 may be inputted to the third flip-flop 171_D3. The third flip-flop 171_D3 may output a third delayed request signal DREQ_3 obtained by delaying the third request signal REQ_3.
[0144] The inversion signal of the fourth masking signal MASKING_SIG_4 is connected to the inversion signal of the fourth microcontroller (eg, Figure 4 The fourth request signal REQ_4 outputted from the fourth logic gate 171_G4 may be inputted to the fourth logic gate 171_G4 together with the fourth request signal REQ_4 outputted from the fourth logic gate 171_G4. Thereafter, a signal obtained by performing a logic AND operation on the fourth request signal REQ_4 and an inversion signal of the fourth masking signal MASKING_SIG_4 may be outputted from the fourth logic gate 171_G4, and the signal outputted from the fourth logic gate 171_G4 may be inputted to the fourth flip-flop 171_D4. The fourth flip-flop 171_D4 may output a fourth delayed request signal DREQ_4 obtained by delaying the fourth request signal REQ_4.
[0145] In an embodiment, the second to fourth masking signals MASKING_SIG_2 to MASKING_SIG_4 may be in a high state or a low state. The second to fourth masking signals MASKING_SIG_2 to MASKING_SIG_4 may be used to determine the priority between the operations of the microcontroller. In addition, the second to fourth masking signals MASKING_SIG_2 to MASKING_SIG_4 may be determined according to the write pointers WT_POINTER_1 to WT_POINTER_4 output from the write / read pointer generator 173.
[0146] For example, when the second microcontroller (e.g. Figure 4 150_2) is determined to perform an operation with a second microcontroller (e.g., Figure 4 The second masking signal MASKING_SIG_2 corresponding to 150_2) may be changed from a high state to a low state. That is, when the masking signal is in a high state, the signal output from the corresponding logic gate is in a low state, and thus a high state delay request signal may not be output.
[0147] Therefore, when the mask signal is continuously maintained in a high state, the microcontroller corresponding to the mask signal cannot initiate an operation.
[0148] The second to fourth masking signals MASKING_SIG_2 to MASKING_SIG_4 will be referred to later. Figure 7 describe.
[0149] In an embodiment, the write / read pointer generator 173 may include Figure 4 A first microcontroller (e.g., Figure 4 The eleventh logic gate 173_G11 and the twelfth logic gate 173_G12 corresponding to 150_1) and Figure 4 A second microcontroller (e.g., Figure 4150_2) corresponding to the thirteenth logic gate 173_G13 and the fourteenth logic gate 173_G14, and Figure 4 A third microcontroller (e.g., Figure 4 The fifteenth logic gate 173_G15 and the sixteenth logic gate 173_G16 corresponding to 150_3) and Figure 4 A fourth microcontroller (eg, Figure 4 The seventeenth logic gate 173_G17 and the eighteenth logic gate 173_G18 corresponding to 150_4).
[0150] In an embodiment, the first request signal REQ_1 and the inversion signal of the first delayed request signal DREQ_1 may be input to the Figure 4 A first microcontroller (e.g., Figure 4 In addition, the first delayed request signal DREQ_1 and the inverted signal of the first request signal REQ_1 may be input to the eleventh logic gate 173_G11 corresponding to 150_1. Figure 4 A first microcontroller (e.g., Figure 4 That is, the inversion signals respectively input to the eleventh logic gate 173_G11 and the twelfth logic gate 173_G12 may be different from each other.
[0151] The request signal and the delayed request signal obtained by delaying the request signal may also be input to the Figure 4 A first microcontroller (e.g., Figure 4 150_1) other than the second to fourth microcontrollers (eg, Figure 4 150_2 to 150_4) corresponding to the logic gates 173_G13 to 173_G18.
[0152] For example, the second request signal REQ_2 and the inversion signal of the second delayed request signal DREQ_2 may be input to the thirteenth logic gate 173_G13. The second delayed request signal DREQ_2 and the inversion signal of the second request signal REQ_2 may be input to the fourteenth logic gate 173_G14. The third request signal REQ_3 and the inversion signal of the third delayed request signal DREQ_3 may be input to the fifteenth logic gate 173_G15. The third delayed request signal DREQ_3 and the inversion signal of the third request signal REQ_3 may be input to the sixteenth logic gate 173_G16. The fourth request signal REQ_4 and the inversion signal of the fourth delayed request signal DREQ_4 may be input to the seventeenth logic gate 173_G17. The fourth delayed request signal DREQ_4 and the inversion signal of the fourth request signal REQ_4 may be input to the eighteenth logic gate 173_G18.
[0153] In an implementation, the first write pointer WT_POINTER_1 may be output from the eleventh logic gate 173_G11, the second write pointer WT_POINTER_2 may be output from the thirteenth logic gate 173_G13, the third write pointer WT_POINTER_3 may be output from the fifteenth logic gate 173_G15, and the fourth write pointer WT_POINTER_4 may be output from the seventeenth logic gate 173_G17.
[0154] In addition, the first read pointer RD_POINTER_1 may be output from the twelfth logic gate 173_G12, the second read pointer RD_POINTER_2 may be output from the fourteenth logic gate 173_G14, the third read pointer RD_POINTER_3 may be output from the sixteenth logic gate 173_G16, and the fourth read pointer RD_POINTER_4 may be output from the eighteenth logic gate 173_G18.
[0155] In an embodiment, when each of the first to fourth write pointers WT_POINTER_1 to WT_POINTER_4 changes from a high state to a low state, bits corresponding to the respective write pointers may be stored in a FIFO register (eg, Figure 5 In addition, the write enable signal (eg, Figure 5 WT_EN) while the output is stored in the FIFO register (for example, Figure 5 175).
[0156] In an embodiment, when the first to fourth read pointers RD_POINTER_1 to RD_POINTER_4 change from a high state to a low state, it can be determined that the first to fourth microcontrollers (eg, Figure 4 In response to the response signal, the first to fourth microcontrollers (eg, Figure 4 150_1 to 150_4) can initiate or terminate the corresponding operation.
[0157] Figure 7 It is used to describe the input Figure 5 A diagram of the request signal delay component of the masked signal.
[0158] Reference Figure 7 , input to Figure 6 The request signal delay component (for example, Figure 6 The second masking signal MASKING_SIG_2 to the fourth masking signal MASKING_SIG_4 of 171 are depicted in time sequence. The second masking signal MASKING_SIG_2 may be inverted and input to Figure 6 The second logic gate (for example, Figure 6 171_G2), the third masking signal MASKING_SIG_3 may be inverted and input to Figure 6 The third logic gate (for example, Figure 6 171_G3), the fourth masking signal MASKING_SIG_4 may be inverted and input to Figure 6 The fourth logic gate (for example, Figure 6 of 171_G4).
[0159] exist Figure 7 In the example, it is assumed that the request signal delay component (e.g., Figure 6 171) in turn receives the signal from the first microcontroller (eg, Figure 4 150_1) to the first request signal REQ_1 corresponding to the fourth microcontroller (eg, Figure 4 In addition, it is assumed that the plurality of microcontrollers are arranged in accordance with the first microcontroller (eg, Figure 4 150_1), a second microcontroller (eg, Figure 4 150_2), a third microcontroller (eg, Figure 4 150_3) and a fourth microcontroller (eg, Figure 4 150_4) sequential operation.
[0160] In an embodiment, a request signal delay component (e.g., Figure 6 171) can receive and communicate with a first microcontroller (eg, Figure 4 Here, the first request signal REQ_1 may be in a high state. The high state first request signal REQ_1 may be delayed and passed through a first trigger (eg, Figure 6 171_D1) output.
[0161] When receiving the first request signal REQ_1 of the high state, the request signal delay component 171 may generate a mask signal to enable the first microcontroller (eg, Figure 4 150_1) priority operation. For example, refer to Figure 7 In order to make the first microcontroller (for example, Figure 4 150_1) priority operation, respectively input to the second to fourth logic gates (for example, Figure 6 Each of the second to fourth masking signals MASKING_SIG_2 to MASKING_SIG_4 of the optical array 171_G2 to 171_G4 may be set to a high state (1).
[0162] Reference Figure 6, when the high-state second to fourth masking signals MASKING_SIG_2 to MASKING_SIG_4 are inverted and changed to a low state, and the low-state masking signals are input to the second to fourth logic gates (eg, Figure 6 171_G2 to 171_G4), the low state signal can be input to the second to fourth flip-flops (for example, Figure 6 171_D2 to 171_D4). Therefore, the second to fourth triggers (for example, Figure 6 171_D2 to 171_D4) output a delay request signal of a low state.
[0163] As a result, in order to enable the first microcontroller (e.g. Figure 4 150_1) is operated preferentially, each of the second to fourth masking signals MASKING_SIG_2 to MASKING_SIG_4 may be set to a high state (1).
[0164] Thereafter, a request signal delay component (eg, Figure 6 171) can receive and communicate with a second microcontroller (e.g., Figure 4 Here, the second request signal REQ_2 may be in a high state. The high state second request signal REQ_2 may be delayed and passed through a second trigger (eg, Figure 6 171_D2) output.
[0165] In an embodiment, a request signal delay component (e.g., Figure 6 171) may receive the second request signal REQ_2 in a high state together with the first request signal REQ_1 in a high state or an additional signal, or may receive only the second request signal REQ_2 in a high state. Therefore, in order to determine the priority between the operations of the microcontroller, the second masking signal MASKING_SIG_2 corresponding to the second request signal REQ_2 may be set with reference to the write pointer.
[0166] For example, when the request signal delays the component (e.g. Figure 6 When the second request signal REQ_2 of the high state is received by the first write pointer WT_POINTER_1, the state of the second masking signal MASKING_SIG_2 can be determined according to the first write pointer WT_POINTER_1. That is, the reference to the second microcontroller (for example, Figure 4 150_2) performs the operation of the first microcontroller (for example, Figure 4 The first write pointer WT_POINTER_1 corresponding to 150_1) can determine the state of the second masking signal MASKING_SIG_2.
[0167] When the third request signal REQ_3 of the high state is received, the reference corresponding to the first microcontroller (eg, Figure 4 150_1) and a first write pointer WT_POINTER_1 corresponding to a second microcontroller (eg, Figure 4 The state of the third masking signal MASKING_SIG_3 is determined by the second write pointer WT_POINTER_2 of 150_2. In addition, when the fourth request signal REQ_4 of the high state is received, the state of the third masking signal MASKING_SIG_3 can be determined by referring to the state corresponding to the first microcontroller (for example, Figure 4 150_1) of the first write pointer WT_POINTER_1, corresponding to the second microcontroller (eg, Figure 4 150_2) and a second write pointer WT_POINTER_2 corresponding to a third microcontroller (eg, Figure 4 The state of the fourth masking signal MASKING_SIG_4 is determined by the third write pointer WT_POINTER_3 of 150_3).
[0168] In an embodiment, when a request signal delay component (e.g., Figure 6 When the 171) receives the second request signal REQ_2 in a high state, the first write pointer WT_POINTER_1 may be referred to. Figure 7 In the second column of FIG. 1 , when the first write pointer WT_POINTER_1 is in a low state, the second masking signal MASKING_SIG_2 in a low state may be input to the second logic gate (eg, Figure 6 However, when the first write pointer WT_POINTER_1 is in a high state, after the first write pointer WT_POINTER_1 has changed to a low state, a second masking signal MASKING_SIG_2 in a low state may be input to the second logic gate (eg, Figure 6 In this case, since the third and fourth microcontrollers (e.g., Figure 4 150_3 and 150_4) do not operate, so the third masking signal MASKING_SIG_3 and the fourth masking signal MASKING_SIG_4 may be in a high state.
[0169] Thereafter, a request signal delay component (eg, Figure 6 171) can receive the third request signal REQ_3 of the high state. When the third request signal REQ_3 of the high state is received, the first write pointer WT_POINTER_1 and the second write pointer WT_POINTER_2 can be referred to. Figure 7In the third column of FIG. 1 , when both the first write pointer WT_POINTER_1 and the second write pointer WT_POINTER_2 are in a low state, the third masking signal MASKING_SIG_3 in a low state may be input to the third logic gate (eg, Figure 6 Here, since the second masking signal MASKING_SIG_2 has been changed to a low state, the changed state may be maintained.
[0170] However, when at least one of the first write pointer WT_POINTER_1 and the second write pointer WT_POINTER_2 is in a high state, after all corresponding write pointers in the high state have changed to a low state, a third masking signal MASKING_SIG_3 in a low state may be input to the third logic gate (eg, Figure 6 At this time, due to the fourth microcontroller (for example, Figure 4 150_4) does not operate, so the fourth masking signal MASKING_SIG_4 can be in a high state.
[0171] Figure 8 It is shown Figure 5 Diagram of the FIFO register, multiplexer, and response signal generator.
[0172] Reference Figure 8 , Figure 8 Included in Figure 5 Among the components in the priority determination circuit, the FIFO register 175, the multiplexer 177, and the response signal generator 179. The FIFO register 175 may include first to fourth registers REG1 to REG4, and the response signal generator 179 may include 21st to 24th logic gates 179_G21 to 179_G24.
[0173] In an embodiment, the FIFO register 175 may be read from a write / read pointer generator (e.g., Figure 6 173) receives the first write pointer WT_POINTER_1 to the fourth write pointer WT_POINTER_4 and the write enable signal WT_EN generated based on the first write pointer WT_POINTER_1 to the fourth write pointer WT_POINTER_4. The FIFO register 175 may store data in the first register REG1 to the fourth register REG4 based on the received first write pointer WT_POINTER_1 to the fourth write pointer WT_POINTER_4, and may output any one of the data stored in the first register REG1 to the fourth register REG4 in response to the write enable signal WT_EN. The logical data value stored in the first register REG1 to the fourth register REG4 as the initial default value may be "0000".
[0174] For example, the FIFO register 175 may store logical data so that when a first write pointer WT_POINTER_1 in a high state is received, logical data "0001" is stored in the first register REG1, when a second write pointer WT_POINTER_2 in a high state is received, logical data "0010" is stored in the second register REG2, when a third write pointer WT_POINTER_3 in a high state is received, logical data "0100" is stored in the third register REG3, and when a fourth write pointer WT_POINTER_4 in a high state is received, logical data "1000" is stored in the fourth register REG4.
[0175] In an embodiment, the FIFO register 175 may store data in the order of the received write pointers. For example, when a third write pointer WT_POINTER_3 in a high state is received after a first write pointer WT_POINTER_1 in a high state is received, logic data "0001" may be stored in the first register REG1, and logic data "0100" may be stored in the second register REG2.
[0176] When data is stored in the FIFO register 175, the data may be output in response to the write enable signal WT_EN. In an embodiment, the data output from the first register REG1 may be first register data REG_DATA1, the data output from the second register REG2 may be second register data REG_DATA2, the data output from the third register REG3 may be third register data REG_DATA3, and the data output from the fourth register REG4 may be fourth register data REG_DATA4.
[0177] In an embodiment, the write enable signal WT_EN may be logic data "00" as a default value. Thereafter, whenever any one of the first to fourth write pointers WT_POINTER_1 to WT_POINTER_4 in a high state is received, the write enable signal WT_EN may have a data value changed from "00" to "01", from "01" to "10", and from "10" to "11". Whenever the changed write enable signal WT_EN is received, the FIFO register 175 may output the data stored in the registers sequentially from the first to fourth registers REG1 to REG4.
[0178] For example, when the FIFO register 175 receives the write enable signal WT_EN having a data value changed from "00" to "01", the FIFO register 175 may output the first register data REG_DATA1 stored in the first register REG1. Next, when the FIFO register 175 receives the write enable signal WT_EN having a data value changed from "01" to "10", the FIFO register 175 may output the second register data REG_DATA2 stored in the second register REG2.
[0179] Thereafter, when the FIFO register 175 receives the write enable signal WT_EN having a data value changed from "10" to "11", the FIFO register 175 may output the third register data REG_DATA3 stored in the third register REG3. In addition, when the FIFO register 175 receives the write enable signal WT_EN having a data value changed from "11" to "00", the FIFO register 175 may output the fourth register data REG_DATA4 stored in the fourth register REG4.
[0180] In an embodiment, when all data stored in the first to fourth registers REG1 to REG4 are output, the FIFO register 175 may be reset. When the FIFO register 175 is reset, the FIFO register 175 may receive the first to fourth write pointers WT_POINTER_1 to WT_POINTER_4, and may store new data based on the received write pointers. Thereafter, whenever a changed write enable signal WT_EN is received, the FIFO register 175 may output the data stored in the registers from the first to fourth registers REG1 to REG4 in sequence.
[0181] In an embodiment, the multiplexer 177 may receive any one of the first register data REG_DATA1 to the fourth register data REG_DATA4 output from the first register REG1 to the fourth register REG4 and the read enable signal RD_EN. The read enable signal RD_EN may be generated based on the first read pointer RD_POINTER_1 to the fourth read pointer RD_POINTER_4. The multiplexer 177 may output the first register data REG_DATA1 to the fourth register data REG_DATA4 as FIFO data FIFO_OUT to the response signal generator 179 in response to the read enable signal RD_EN.
[0182] In an embodiment, the read enable signal RD_EN may be logic data "00" as a default value. Thereafter, whenever any one of the first to fourth read pointers RD_POINTER_1 to RD_POINTER_4 in a high state is received, the read enable signal RD_EN may have a data value changed from "00" to "01", from "01" to "10", and from "10" to "11". Whenever a changed read enable signal RD_EN is received, the multiplexer 177 may output the register data received from the FIFO register 175 as the FIFO data FIFO_OUT. When the register data is first received from the FIFO register 175, the multiplexer 177 may output the received register data as the FIFO data FIFO_OUT regardless of whether the read enable signal RD_EN is changed.
[0183] For example, when the first register data REG_DATA1 is first received from the FIFO register 175, the multiplexer 177 may output the first register data REG_DATA1 (i.e., logic data "0001") as the FIFO data FIFO_OUT regardless of whether the read enable signal RD_EN is changed. Thereafter, until the read enable signal RD_EN having a changed data value is received, the multiplexer 177 may output the logic data "0001" which is the first register data REG_DATA1 that has been previously output as the FIFO data FIFO_OUT regardless of the data received from the FIFO register 175.
[0184] When receiving the read enable signal RD_EN having a data value changed from "00" to "01", the multiplexer 177 may output the logic data "0010" as the second register data REG_DATA2 received from the FIFO register 175 as the FIFO data FIFO_OUT. As described above, until receiving the read enable signal RD_EN having a changed data value, the multiplexer 177 may output the logic data "0010" as the second register data REG_DATA2 that has been previously output as the FIFO data FIFO_OUT regardless of the data received from the FIFO register 175.
[0185] Next, when receiving the read enable signal RD_EN having a data value changed from “01” to “10”, the multiplexer 177 may output, as the FIFO data FIFO_OUT, the logic data “0100” of the third register data REG_DATA3 received from the FIFO register 175. Even in this case, until receiving the read enable signal RD_EN having a changed data value, the multiplexer 177 may output, as the FIFO data FIFO_OUT, the logic data “0100” of the third register data REG_DATA3 that has been previously output, regardless of the data received from the FIFO register 175.
[0186] Thereafter, when receiving the read enable signal RD_EN having a data value changed from “10” to “11”, the multiplexer 177 may output logic data “1000” as the fourth register data REG_DATA4 received from the FIFO register 175 as the FIFO data FIFO_OUT. Even in this case, until receiving the read enable signal RD_EN having a changed data value, the multiplexer 177 may output logic data “1000” as the fourth register data REG_DATA4 that has been previously output as the FIFO data FIFO_OUT regardless of the data received from the FIFO register 175.
[0187] In an implementation, the FIFO data FIFO_OUT output from the multiplexer 177 may be input to 21st to 24th logic gates 179_G21 to 179_G24 included in the response signal generator 179 .
[0188] For example, when the FIFO data FIFO_OUT is "0001", a signal of a low state (0) may be input to the 21st logic gate 179_G21 to the 23rd logic gate 179_G23, and a signal of a high state (1) may be input to the 24th logic gate 179_G24. When the FIFO data FIFO_OUT is "0010", a signal of a low state (0) may be input to the 21st logic gate 179_G21, the 22nd logic gate 179_G22, and the 24th logic gate 179_G24, and a signal of a high state (1) may be input to the 23rd logic gate 179_G23.
[0189] The response signal generator 179 can be obtained from Figure 6 The request signal delay component (for example, Figure 6The logic gate 171 not only receives the FIFO data FIFO_OUT, but also receives the first to fourth delay request signals DREQ_1 to DREQ4. In an embodiment, the first to fourth delay request signals DREQ_1 to DREQ_4 may be input to the 21st to 24th logic gates 179_G21 to 179_G24, respectively.
[0190] In an embodiment, when FIFO data FIFO_OUT and first to fourth delay request signals DREQ_1 to DREQ_4 are input to the response signal generator 179 , first to fourth response signals ACK_1 to ACK_4 each generated by performing a logical AND operation may be output from 21st to 24th logic gates 179_G21 to 179_G24 , respectively.
[0191] For example, a first response signal ACK_1 generated by performing a logic AND operation on the FIFO data FIFO_OUT and the first delay request signal DREQ_1 may be output from the 21st logic gate 179_G21. A second response signal ACK_2 generated by performing a logic AND operation on the FIFO data FIFO_OUT and the second delay request signal DREQ_2 may be output from the 22nd logic gate 179_G22. A third response signal ACK_3 generated by performing a logic AND operation on the FIFO data FIFO_OUT and the third delay request signal DREQ_3 may be output from the 23rd logic gate 179_G23. A fourth response signal ACK_4 generated by performing a logic AND operation on the FIFO data FIFO_OUT and the fourth delay request signal DREQ_4 may be output from the 24th logic gate 179_G24.
[0192] The first to fourth response signals ACK_1 to ACK_4 may be output from the response signal generator 170 and may be provided to the first to fourth microcontrollers (eg, Figure 4 150_1 to 150_4). The first to fourth microcontrollers (e.g., Figure 4 The first to fourth response signals ACK_1 to ACK_4 may initiate or terminate an operation according to whether the first to fourth response signals ACK_1 to ACK_4 are in a high state or a low state.
[0193] The following will refer to Fig. 9 Describe the first to fourth microcontrollers (eg, Figure 4 150_1 to 150_4) initiate or terminate an operation according to the first response signal ACK_1 to the fourth response signal ACK_4.
[0194] Fig. 9is a diagram for explaining responses output from a priority determination circuit when requests are received from a plurality of microcontrollers at different time points.
[0195] Reference Fig. 9 , Fig. 9 1 and 170. The microcontroller circuit 150 may include first to fourth microcontrollers 150_1 to 150_4. Fig. 9 In the embodiment, it is assumed that the priority of the operations is determined in the order of the first microcontroller 150_1, the second microcontroller 150_2, the third microcontroller 150_3, and the fourth microcontroller 150_4. In other embodiments, the priority of the operations may be determined in another order.
[0196] In an embodiment, the microcontroller circuit 150 may receive a command from an external device. The command received from the external device may be a command for instructing Figure 4 A command to execute an operation on at least one of the first plane PLANE1 to the fourth plane PLANE4.
[0197] exist Fig. 9 In the example, it is assumed that the first command CMD1 and the second command CMD2 received from the external device are used to instruct Figure 4 Therefore, the first command CMD1 received from the external device may be provided to the first microcontroller 150_1 that controls the operation to be performed on the first plane PLANE1, and the second command CMD2 may be provided to the second microcontroller 150_2 that controls the operation to be performed on the second plane PLANE2.
[0198] In an embodiment, the microcontroller circuit 150 may first receive a first command CMD1 from an external device. That is, the microcontroller circuit 150 may first receive a command for instructing to perform an operation on the first plane PLANE1. The first command CMD1 may be provided to the first microcontroller 150_1 corresponding to the first plane PLANE1. The first microcontroller 150_1 may output a first request signal REQ_1 (①) of a high state (1) in response to the first command CMD1.
[0199] Since the microcontroller circuit 150 does not receive any other commands before receiving the first command CMD1 and the first microcontroller 150_1 is determined to operate first (with the highest priority), the priority determination circuit 170 may determine that the first microcontroller 150_1 has priority to perform the operation. Therefore, the priority determination circuit 170 may output a first response signal ACK_1 of a high state (1) so that the first microcontroller 150_1 has priority to perform the operation (②). The first response signal ACK_1 of a high state may be a signal for indicating that the first microcontroller 150_1 initiates the operation.
[0200] In an embodiment, when the first microcontroller 150_1 receives the first response signal ACK_1 of the high state (1) from the priority determination circuit 170, the first microcontroller 150_1 may control the first plane PLANE1 so that an operation corresponding to the first command CMD1 is performed on the first plane PLANE1. That is, the first microcontroller 150_1 may initiate an operation in response to the first response signal ACK_1.
[0201] In an embodiment, while the first microcontroller 150_1 performs an operation, the microcontroller circuit 150 may receive a second command CMD2 from an external device. That is, while the first microcontroller 150_1 performs an operation, the microcontroller circuit 150 may receive a command for instructing to perform an operation on the second plane PLANE2. The second command CMD2 may be provided to the second microcontroller 150_2 corresponding to the second plane PLANE2. The second microcontroller 150_2 may output a second request signal REQ_2 (③) of a high state (1) in response to the second command CMD2.
[0202] Since the first microcontroller 150_1 is operating at the time point when the second microcontroller 150_2 receives the second command CMD2 and there is no command received together with the second command CMD2, the priority determination circuit 170 may not determine the priority of the operation. That is, the priority determination circuit 170 may control the microcontrollers so that the second microcontroller 150_2 performs the operation immediately after the first microcontroller 150_1 terminates its operation.
[0203] In an embodiment, since the second request signal REQ_2 of the high state (1) is received from the second microcontroller 150_2 during the operation of the first microcontroller 150_1, the priority determination circuit 170 may not output the second response signal ACK_2 of the high state (1) to the second microcontroller 150_2 until the first request signal REQ_1 of the low state (0) is received from the first microcontroller 150_1. The first request signal REQ_1 of the low state (0) may be a signal indicating that the operation of the first microcontroller 150_1 is completed, and the second response signal ACK_2 of the high state (1) may be a signal for indicating that the second microcontroller 150_2 initiates an operation.
[0204] In an embodiment, after a predetermined period of time has elapsed due to the priority determination circuit 170 receiving the second request signal REQ_2 of the high state (1) from the second microcontroller 150_2, the first microcontroller 150_1 may complete all operations corresponding to the first command CMD1. When the first microcontroller 150_1 completes the operation, the first microcontroller 150_1 may output the first request signal REQ_1 of the low state (0) indicating the completion of the operation to the priority determination circuit 170 (④). The priority determination circuit 170 may output the first response signal ACK_1 of the low state (0) (⑤) in response to the first request signal REQ_1 of the low state (0).
[0205] Here, the priority determination circuit 170 may output a second response signal ACK_2 of a high state (1) together with the first response signal ACK_1 of a low state (0) (⑤). That is, since the operation of the first microcontroller 150_1 has been completed, the priority determination circuit 170 may output a second response signal ACK_2 of a high state (1) for initiating the operation of the second microcontroller 150_2 together with the first response signal ACK_1 of a low state (0) for terminating the operation of the first microcontroller 150_1. The first response signal ACK_1 of a low state (0) may be provided to the first microcontroller 150_1, and the second response signal ACK_2 of a high state (1) may be provided to the second microcontroller 150_2.
[0206] In an embodiment, when the first response signal ACK1 of the low state (0) is provided to the first microcontroller 150_1, the first microcontroller 150_1 may terminate the operation. In addition, when the second response signal ACK_2 of the high state (1) is provided to the second microcontroller 150_2, the second microcontroller 150_2 may initiate the operation.
[0207] Thereafter, the second microcontroller 150_2 may complete all operations corresponding to the second command CMD2. When the second microcontroller 150_2 completes the operation, the second microcontroller 150_2 may output a second request signal REQ_2 (⑥) in a low state (0) indicating that the operation is completed to the priority determination circuit 170. The priority determination circuit 170 may output a second response signal ACK_2 (⑦) in a low state (0) in response to the second request signal REQ_2 in a low state (0). When the second response signal ACK_2 in a low state (0) is provided to the second microcontroller 150_2, the second microcontroller 150_2 may terminate the operation.
[0208] Fig.10 It is shown Fig. 9 A diagram of the operation of the microcontroller circuit and the priority determination circuit.
[0209] Reference Fig.10 , Fig.10 In the figure, the Fig. 9 The microcontroller circuit (for example, Fig. 9 150) in the first microcontroller MC1 (eg, Fig. 9 150_1) and a second microcontroller MC2 (eg, Fig. 9 150_2) output request signal and from the priority determination circuit (eg, Fig. 9 170) outputs the response signal. MC3 can be Fig. 9 A third microcontroller (e.g., Fig. 9 150_3), MC4 can be Fig. 9 A fourth microcontroller (eg, Fig. 9 150_4).
[0210] like Fig. 9 The same is true in Fig.10 In the example, it is assumed that the priority is determined in the order of the first microcontroller MC1, the second microcontroller MC2, the third microcontroller MC3, and the fourth microcontroller MC4.
[0211] also, Fig.10 The write enable signal WT_EN and the read enable signal RD_EN generated in the priority determination circuit 170, and the Figure 8 FIFO registers (for example, Figure 8 175) included in the first register REG1 and the second register REG2 data and from Figure 8 Multiplexers (e.g., Figure 8 177) outputs the FIFO data FIFO_OUT. Fig.10, default data values of the write enable signal WT_EN and the read enable signal RD_EN may be “00”, and default data values initially stored in the first register REG1 and the second register REG2 may be “0000”.
[0212] In an embodiment, the first microcontroller MC1 may first receive a first command CMD1 from an external device, and may output a first request signal REQ_1 of a high state ( 1 ) in response to the first command CMD1 ( REQ_1 = “1”).
[0213] Since the command is received from the external device first and the first microcontroller MC1 is determined to perform the operation first, when the first request signal in a high state is received (REQ_1="1"), the write enable signal WT_EN can be changed from the default data value "00" to "01", and the logic data "0001" can be stored in the first register REG1.
[0214] In addition, since the changed write enable signal WT_EN is input to the FIFO register (eg, Figure 5 175), the first register data REG_DATA1 stored in the first register REG1 can be output. In addition, since the first register data REG_DATA1 and the read enable signal RD_EN are input to Figure 8 Multiplexers (e.g., Figure 8 177) and the read enable signal RD_EN is the default data value "00", so the FIFO data FIFO_OUT can be "0001" as the first register data REG_DATA1.
[0215] Therefore, based on the FIFO data FIFO_OUT, the first response signal ACK_1 of the high state (1) corresponding to the first request signal (REQ_1="1") of the high state can be obtained from the priority determination circuit (eg, Fig. 9 The first microcontroller MC1 may initiate an operation when receiving the first response signal of the high state (ACK_1 = "1").
[0216] Thereafter, while the first microcontroller MC1 is performing an operation, the second microcontroller MC2 may receive a second command CMD2 from an external device, and may output a second request signal REQ_2 (REQ_2 = "1") of a high state (1) to the priority determination circuit 170 in response to the second command CMD2. When the priority determination circuit 170 receives the first request signal (REQ_1 = "1") of a high state, the write enable signal WT_EN may be changed from "01" to "10", and logic data "0010" may be stored in the second register REG2 and may be output from the second register REG2.
[0217] Since the changed write enable signal WT_EN is input to the FIFO register (eg, Figure 5 175), so the second register data REG_DATA2 stored in the second register REG2 can be output. However, since the read enable signal RD_EN has a default data value "00" instead of a changed data value, the FIFO data FIFO_OUT can still be "0001" as the first register data REG_DATA1.
[0218] Since the first microcontroller MC1 receives only a single command from an external device while performing an operation, the priority determination circuit 170 can omit the step of determining the priority between the operations of the microcontrollers. That is, the priority determination circuit 170 does not determine the priority and can control the microcontrollers so that when the first microcontroller MC1 completes an operation, the second microcontroller MC2 performs an operation.
[0219] In an embodiment, after a predetermined period of time has elapsed due to the priority determination circuit 170 receiving the second request signal REQ_2 of the high state (1) from the second microcontroller MC2, the first microcontroller MC1 may complete all operations corresponding to the first command CMD1. When the first microcontroller MC1 completes the operation, the first microcontroller MC1 may output the first request signal REQ_1 of the low state (0) indicating the completion of the operation to the priority determination circuit 170 (REQ_1 = "0").
[0220] When receiving the first request signal REQ_1 of the low state (0), the priority determination circuit 170 may output the first response signal ACK_1 of the low state (0) (ACK_1 = "0") to the first microcontroller MC1, and may output the second response signal ACK_2 of the high state (1) (ACK_2 = "1") to the second microcontroller MC2. That is, the first response signal ACK_1 of the low state (0) and the second response signal ACK_2 of the high state (1) may be output from the priority determination circuit 170 at the same time. The reason for this is that the operation of the first microcontroller MC1 has been completed, so the priority determination circuit 170 may control the microcontrollers so that the operation of the second microcontroller MC2 is initiated while the operation of the first microcontroller MC1 is terminated. Through the operation of the priority determination circuit 170, the operations of the microcontrollers may be performed sequentially without overlapping each other.
[0221] In addition, when the first request signal REQ_1 of the low state (0) is received, the read enable signal RD_EN may be changed from the default data value '00' to '01', and the changed read enable signal RD_EN may be input to Figure 8 Multiplexers (e.g., Figure 8 However, since the read enable signal RD_EN has a value of “01” which is a changed data value, the FIFO data FIFO_OUT may be “0010” which is the second register data REG_DATA2.
[0222] Thereafter, the second microcontroller MC2 may complete all operations corresponding to the second command CMD2, and may output a second request signal REQ_2 (REQ_2 = "0") of a low state (0) indicating completion of the operation to the priority determination circuit 170. In addition, when the priority determination circuit 170 receives the second request signal REQ_2 of a low state (0), the read enable signal RD_EN may be changed from "01" to "10" and may be input to Figure 8 Multiplexers (e.g., Figure 8 However, since no data is stored in the third register REG3, the FIFO data FIFO_OUT may be "0010" which is the second register data REG_DATA2.
[0223] In an embodiment, the priority determination circuit 170 may output a second response signal ACK_2 of low state (0) in response to the second request signal REQ_2 of low state (0). When the second response signal ACK_2 of low state (0) is provided to the second microcontroller MC2, the second microcontroller MC2 may terminate the operation.
[0224] Fig.11is a diagram for explaining responses output from a priority determination circuit when requests are received from a plurality of microcontrollers at the same point in time.
[0225] Reference Fig. 9 and Fig.11 , Fig.11 and Fig. 9 The microcontroller circuit 150 and the priority determination circuit 170 are similarly shown. Fig. 9 different, Fig.11 A case where a first command CMD1 and a second command CMD2 are received from an external device at the same point in time is shown.
[0226] With Fig. 9 In the same way, Fig.11 In the embodiment, the microcontroller circuit 150 includes first to fourth microcontrollers 150_1 to 150_4, and the priority of operations may be determined in the order of the first microcontroller 150_1, the second microcontroller 150_2, the third microcontroller 150_3, and the fourth microcontroller 150_4.
[0227] In an embodiment, the microcontroller circuit 150 may receive a command from an external device. The command received from the external device may be a command for instructing Figure 4 A command to execute an operation on at least one of the first plane PLANE1 to the fourth plane PLANE4.
[0228] For example, the microcontroller circuit 150 may receive a first command CMD1 and a second command CMD2 from an external device. The first command CMD1 may be a command for instructing to perform an operation on the first plane PLANE1, and the second command CMD2 may be a command for instructing to perform an operation on the second plane PLANE2. Therefore, the first command CMD1 received from the external device may be provided to the first microcontroller 150_1 that controls the operation to be performed on the first plane PLANE1, and the second command CMD2 received from the external device may be provided to the second microcontroller 150_2 that controls the operation to be performed on the second plane PLANE2.
[0229] In an embodiment, the microcontroller circuit 150 may simultaneously receive a plurality of commands for instructing to perform operations on different planes from an external device. The plurality of commands received from the external device may be provided to the microcontrollers respectively corresponding to the different planes.
[0230] For example, when the commands simultaneously received from the external device are a first command CMD1 for instructing to perform an operation on the first plane PLANE1 and a second command CMD2 for instructing to perform an operation on the second plane PLANE2, the first command CMD may be provided to the first microcontroller 150_1 corresponding to the first plane PLANE1, and the second command CMD2 may be provided to the second microcontroller 150_2 corresponding to the second plane PLANE2.
[0231] In an embodiment, the first microcontroller 150_1 may output a first request signal REQ_1 of a high state (1) in response to the first command CMD1, and the second microcontroller 150_2 may output a second request signal REQ_2 of a high state (1) in response to the second command CMD2 (①).
[0232] Since the priority determination circuit 170 simultaneously receives the first request signal REQ_1 of the high state ( 1 ) and the second request signal REQ_2 of the high state ( 1 ), the priority determination circuit 170 may determine the priority between the first microcontroller 150_1 and the second microcontroller 150_2 .
[0233] In an embodiment, since the first microcontroller 150_1 has been designated to operate with the highest priority, the priority determination circuit 170 may determine that the first microcontroller 150_1 is to perform the operation with priority. Therefore, the priority determination circuit 170 may output the first response signal ACK_1 of the high state (1) so that the first microcontroller 150_1 performs the operation with priority (②), and may not output the second response signal ACK_2 of the high state (1). The high state first response signal ACK_1 may be a signal for indicating that the first microcontroller 150_1 initiates the operation.
[0234] In an embodiment, when the first microcontroller 150_1 receives the first response signal ACK_1 of the high state (1) from the priority determination circuit 170, the first microcontroller 150_1 may control the first plane PLANE1 so that an operation corresponding to the first command CMD1 is performed on the first plane PLANE1. That is, the first microcontroller 150_1 may initiate an operation in response to the first response signal ACK_1.
[0235] Thereafter, the first microcontroller 150_1 may complete all operations corresponding to the first command CMD1. When the first microcontroller 150_1 completes the operation, the first microcontroller 150_1 may output a first request signal REQ_1 (③) of a low state (0) indicating completion of the operation to the priority determination circuit 170. The priority determination circuit 170 may output a first response signal ACK_1 (④) of a low state (0) in response to the first request signal REQ_1 of a low state (0).
[0236] Here, the priority determination circuit 170 may output a second response signal ACK_2 of a high state (1) together with the first response signal ACK_1 of a low state (0) (④). That is, since the operation of the first microcontroller 150_1 has been completed, the priority determination circuit 170 may output a second response signal ACK_2 of a high state (1) for initiating the operation of the second microcontroller 150_2 together with the first response signal ACK_1 of a low state (0) for terminating the operation of the first microcontroller 150_1. The first response signal ACK_1 of a low state (0) may be provided to the first microcontroller 150_1, and the second response signal ACK_2 of a high state (1) may be provided to the second microcontroller 150_2.
[0237] In an embodiment, when the first response signal ACK1 of the low state (0) is provided to the first microcontroller 150_1, the first microcontroller 150_1 may terminate the operation. In addition, when the second response signal ACK_2 of the high state (1) is provided to the second microcontroller 150_2, the second microcontroller 150_2 may initiate the operation.
[0238] Thereafter, the second microcontroller 150_2 may complete all operations corresponding to the second command CMD2. When the second microcontroller 150_2 completes the operation, the second microcontroller 150_2 may output a second request signal REQ_2 (⑤) in a low state (0) indicating that the operation is completed to the priority determination circuit 170. The priority determination circuit 170 may output a second response signal ACK_2 (⑥) in a low state (0) in response to the second request signal REQ_2 in a low state (0). When the second response signal ACK_2 in a low state (0) is provided to the second microcontroller 150_2, the second microcontroller 150_2 may terminate the operation.
[0239] Fig.12 It is shown Fig.11 A diagram of the operation of the microcontroller circuit and the priority determination circuit.
[0240] Reference Fig.10 and Fig.12 , similar to Fig.10 , Fig.12 In the figure, the Fig. 9 The microcontroller circuit (for example, Fig. 9 150) in a first microcontroller (eg, Fig. 9 150_1) MC1 and a second microcontroller (eg, Fig. 9 150_2) The request signal output by MC2 and the priority determination circuit (eg, Fig. 9 The response signal output by 170) is as follows. Fig.10 As in the case of Fig. 9 A third microcontroller (e.g., Fig. 9 150_3), MC4 can be Fig. 9 A fourth microcontroller (eg, Fig. 9 150_4).
[0241] like Fig.10 The same is true in Fig.12 In the example, it is assumed that the priority is determined in the order of the first microcontroller MC1, the second microcontroller MC2, the third microcontroller MC3, and the fourth microcontroller MC4.
[0242] also, Fig.12 The write enable signal WT_EN and the read enable signal RD_EN generated in the priority determination circuit 170, and the Figure 8 FIFO registers (for example, Figure 8 175) included in the first register REG1 and the second register REG2 data and from Figure 8 Multiplexers (e.g., Figure 8 177) outputs FIFO data FIFO_OUT. Fig.10 The same is true in Fig.12 , default data values of the write enable signal WT_EN and the read enable signal RD_EN may be “00”, and default data values initially stored in the first register REG1 and the second register REG2 may be “0000”.
[0243] In an embodiment, the first microcontroller MC1 and the second microcontroller MC2 may respectively receive the first command CMD1 and the second command CMD2 from the external device at the same time. In addition, the first microcontroller MC1 may output a first request signal REQ_1 of a high state (1) to the priority determination circuit 170 in response to the first command CMD1 (REQ_1 = "1"), and the second microcontroller MC2 may output a second request signal REQ_2 of a high state (1) to the priority determination circuit 170 in response to the second command CMD2 (REQ_2 = "1").
[0244] In an embodiment, since the first microcontroller MC1 has been designated to perform operations with the highest priority, even if the first request signal REQ_1 of the high state (1) and the second request signal REQ_2 of the high state (1) are received at the same time, the operation corresponding to the first request signal REQ_1 of the high state (1) may be preferentially performed. Therefore, in response to the first request signal REQ_1 of the high state (1), the write enable signal WT_EN may be changed from the default data value "00" to "01", and the logic data "0001" may be stored in the first register REG1.
[0245] In addition, since the changed write enable signal WT_EN is input to the FIFO register (eg, Figure 5 175), the first register data REG_DATA1 stored in the first register REG1 can be output. In addition, since the first register data REG_DATA1 and the read enable signal RD_EN are input to Figure 8 Multiplexers (e.g., Figure 8 177) and the read enable signal RD_EN is the default data value "00", so the FIFO data FIFO_OUT can be "0001" as the first register data REG_DATA1.
[0246] Therefore, based on the FIFO data FIFO_OUT, the first response signal ACK_1 of the high state (1) corresponding to the first request signal (REQ_1="1") of the high state can be obtained from the priority determination circuit (eg, Fig. 9 The first microcontroller MC1 may initiate an operation when receiving the first response signal of the high state (ACK_1 = "1").
[0247] In an embodiment, when the write enable signal WT_EN changes and logic data is stored in the first register REG1, an operation corresponding to the second request signal REQ_2 of the high state (1) may be performed. Therefore, in response to the second request signal REQ_2 of the high state (1), the write enable signal WT_EN may change from "01" to "10", and logic data "0010" may be stored in and output from the second register REG2.
[0248] Since the changed write enable signal WT_EN is input to the FIFO register (eg, Figure 5 175), so the second register data REG_DATA2 stored in the second register REG2 can be output. However, since the read enable signal RD_EN has a default data value "00" instead of a changed data value, the FIFO data FIFO_OUT can still be "0001" as the first register data REG_DATA1.
[0249] In an embodiment, after a predetermined period of time has elapsed due to the first microcontroller MC1 receiving the first response signal ACK_1 of the high state (1) from the priority determination circuit 170, the first microcontroller MC1 may complete all operations corresponding to the first command CMD1. When the first microcontroller MC_1 completes the operation, the first microcontroller MC1 may output the first request signal REQ_1 of the low state (0) indicating the completion of the operation to the priority determination circuit 170 (REQ_1 = "0").
[0250] When receiving the first request signal REQ_1 of the low state (0), the priority determination circuit 170 may output the first response signal ACK_1 of the low state (0) (ACK_1 = "0") to the first microcontroller MC1, and may output the second response signal ACK_2 of the high state (1) (ACK_2 = "1") to the second microcontroller MC2. That is, the first response signal ACK_1 of the low state (0) and the second response signal ACK_2 of the high state (1) may be outputted from the priority determination circuit 170 at the same time. The reason for this is that the operation of the first microcontroller MC1 has been completed, and therefore the priority determination circuit 170 may control the microcontrollers so that the operation of the second microcontroller 150_2 is initiated while the operation of the first microcontroller MC1 is terminated. Through the operation of the priority determination circuit 170, the operations of the microcontrollers may be performed sequentially without overlapping each other.
[0251] In addition, when the first request signal REQ_1 of the low state (0) is received, the read enable signal RD_EN may be changed from the default data value '00' to '01', and the changed read enable signal RD_EN may be input to Figure 8 Multiplexers (e.g., Figure 8 However, since the read enable signal RD_EN has a value of “01” which is a changed data value, the FIFO data FIFO_OUT may be “0010” which is the second register data REG_DATA2.
[0252] Thereafter, the second microcontroller MC_2 may complete all operations corresponding to the second command CMD2, and then output a second request signal REQ_2 of a low state (0) indicating completion of the operation to the priority determination circuit 170 (REQ_2 = "0"). In addition, when the priority determination circuit 170 receives the second request signal REQ_2 of a low state (0), the read enable signal RD_EN may change from "01" to "10" and may be input to Figure 8 Multiplexers (e.g., Figure 8 However, since no data is stored in the third register REG3, the FIFO data FIFO_OUT may be "0010" which is the second register data REG_DATA2.
[0253] In an embodiment, the priority determination circuit 170 may output a second response signal ACK_2 of low state (0) in response to the second request signal REQ_2 of low state (0). When the second response signal ACK_2 of low state (0) is provided to the second microcontroller MC2, the second microcontroller MC2 may terminate the operation.
[0254] Fig.13This is a diagram for explaining a request signal input to a priority determination circuit and a response signal output from the priority determination circuit.
[0255] Reference Figures 11 to 13 , Fig.13 1 shows a request signal input to the priority determination circuit and generated in time sequence when a first command CMD1 and a second command CMD2 are received from an external device at the same time point, and a response signal output from the priority determination circuit. That is, Fig.13 Shows a chronological diagram Fig.11 and Fig.12 operation.
[0256] In an embodiment, when the clock CLK transitions from a low state to a high state, Fig.13 The signal indicated in can change from a high state to a low state or from a low state to a high state.
[0257] In an embodiment, at time t1 when the clock CLK changes from a low state to a high state, the first microcontroller 150_1 may output a first request signal REQ_1 of a high state (1) in response to the first command CMD1, and the second microcontroller 150_2 may output a second request signal REQ_2 of a high state (1) in response to the second command CMD2.
[0258] In addition, refer to Figure 6 , the first request signal REQ_1 of the high state (1) may be input to the first flip-flop (eg, Figure 6 171_D1), and the second request signal REQ_2 of the high state (1) may be input to the second flip-flop (eg, Figure 6 Here, the second masking signal MASKING_SIG_2 may be in a high state (1). That is, the second masking signal MASKING_SIG_2 corresponding to the second request signal REQ_2 of the high state (1) may be in a high state so that the first microcontroller 150_1 operates preferentially.
[0259] At time t2, the input to the first trigger (e.g., Figure 6 The first request signal REQ_1 of the high state (1) of 171_D1) may be delayed, and then the first delayed request signal DREQ_1 of the high state (1) may be output.
[0260] In addition, when the first request signal REQ_1 changes from a low state (0) to a high state (1), the first write pointer WT_POINTER_1 may change from a low state (0) to a high state (1) together with the first request signal. Then, when the first delay request signal DREQ_1 changes from a low state (0) to a high state (1), the first write pointer WT_POINTER_1 may change from a high state (1) to a low state (0). As a result, during the interval from t1 to t2, the first write pointer WT_POINTER_1 may be in a high state (1), and logic data "0001" may be stored in the first write pointer WT_POINTER_1 based on the first write pointer WT_POINTER_1. Figure 8 The first register (for example, Figure 8 That is, during the interval from the time point when the first request signal REQ_1 changes to the high state (1) to the time point when the first delay request signal DREQ_1 changes to the high state (1), the first write pointer WT_POINTER_1 may be maintained at the high state (1), and the logic data "0001" may be stored in the high state (1) based on the first write pointer WT_POINTER_1. Figure 8 The first register (for example, Figure 8 REG1).
[0261] The logical data has been stored in Figure 8 The first register (for example, Figure 8 REG1), the second delayed request signal DREQ_2 corresponding to the second request signal REQ_2 in the high state (1) may change from the low state (0) to the high state (1) at time t3. Therefore, when the second request signal REQ_2 changes from the low state (0) to the high state (1), the second write pointer WT_POINTER_2 may change from the low state (0) to the high state (1) together with the second request signal. Then, when the second delayed request signal DREQ_2 changes from the low state (0) to the high state (1), the second write pointer WT_POINTER_2 may change from the high state (1) to the low state (0). As a result, during the interval from t1 to t3, the second write pointer WT_POINTER_2 may be in a high state (1), and logical data "0010" may be stored in based on the second write pointer WT_POINTER_2. Figure 8 The second register (for example, Figure 8 That is, during the interval from the time point when the second request signal REQ_2 changes to the high state (1) to the time point when the second delay request signal DREQ_2 changes to the high state (1), the second write pointer WT_POINTER_2 may be maintained at the high state (1), and the logic data "0010" may be stored based on the second write pointer WT_POINTER_2 at the high state (1). Figure 8 The second register (for example, Figure 8 REG2).
[0262] In an embodiment, after the first write pointer WT_POINTER_1 that has changed to a high state (1) is output, a first response signal ACK_1 of a high state (1) may be output at time t2. That is, the priority determination circuit 170 may output the first response signal ACK_1 of a high state (1) for indicating that the first microcontroller 150_1 initiates an operation, so that the first microcontroller 150_1 may preferentially perform an operation. When receiving the first response signal ACK_1 of a high state (1), the first microcontroller 150_1 may initiate an operation.
[0263] In an embodiment, while the first microcontroller 150_1 performs an operation, the microcontroller circuit 150 may receive a third command CMD3 for instructing to perform an operation on the third plane PLANE3 from an external device. When the third command CMD3 is provided to the third microcontroller 150_3, the third microcontroller 150_3 may output a third request signal REQ_3 of a high state (1).
[0264] The logical data "0001" has been stored in Figure 8 The first register (for example, Figure 8 REG1) and the logical data "0010" has been stored in Figure 8 The second register (for example, Figure 8 Therefore, when the third request signal REQ_3 of the high state (1) is input to the third flip-flop (eg, Figure 6 When the third delay request signal DREQ_3 of the high state (1) is output at time t5,
[0265] At this time, the third masking signal MASKING_SIG_3 may be in a high state (1). That is, the third masking signal MASKING_SIG_3 corresponding to the third request signal REQ_3 of a high state (1) may be in a high state so that the first microcontroller 150_1 and the second microcontroller 150_2 operate preferentially.
[0266] In an embodiment, when the third request signal REQ_3 changes from a low state (0) to a high state (1), the third write pointer WT_POINTER_3 may change from a low state (0) to a high state (1) together with the third request signal. Then, when the third delay request signal DREQ_3 changes from a low state (0) to a high state (1), the third write pointer WT_POINTER_3 may change from a high state (1) to a low state (0). As a result, during an interval from t4 to t5, the third write pointer WT_POINTER_3 may be in a high state (1), and logic data "0100" may be stored in the WRITE_WRITE_POINTER_3 based on the third write pointer WT_POINTER_3. Figure 8 The third register (for example, Figure 8 That is, during the interval from the time point when the third request signal REQ_3 changes to the high state (1) to the time point when the third delay request signal DREQ_3 changes to the high state (1), the third write pointer WT_POINTER_3 may maintain the high state (1), and the logic data "0100" may be stored in the high state (1) based on the third write pointer WT_POINTER_3. Figure 8 The third register (for example, Figure 8 REG3).
[0267] Thereafter, the first microcontroller 150_1 may complete all operations corresponding to the first command CMD1. Therefore, at time t6, i.e., at a point in time when the first microcontroller 150_1 completes the operation, the first microcontroller 150_1 may output a first request signal REQ_1 of a low state (0) indicating completion of the operation to the priority determination circuit 170. As the first request signal REQ_1 of a low state (0) is output, a first delay request signal DREQ_1 of a low state (0) may be output at time t7.
[0268] In addition, when the first request signal REQ_1 changes from a high state (1) to a low state (0), the first read pointer RD_POINTER_1 may change from a low state (0) to a high state (1). Then, when the first delay request signal DREQ_1 changes from a high state (1) to a low state (0), the first read pointer RD_POINTER_1 may change from a high state (1) to a low state (0). That is, during an interval from a time point when the first request signal REQ_1 changes to a low state (0) to a time point when the first delay request signal DREQ_1 changes to a low state (0), the first read pointer RD_POINTER_1 may maintain a high state (1).
[0269] Therefore, during the interval from t6 to t7, the first read pointer RD_POINTER_1 may be in a high state (1), and a read enable signal RD_EN having a changed data value may be output based on the changed first read pointer RD_POINTER_1. In addition, as the read enable signal RD_EN having a changed data value is output, the first response signal ACK_1 may be changed from a high state (1) to a low state (0). That is, during the interval from the time point when the first write pointer WT_POINTER_1 is changed to a low state (0) to the time point when the first read pointer RD_POINTER_1 is changed to a low state (0), the first response signal ACK_1 may be maintained in a high state (1).
[0270] In an embodiment, when the first response signal ACK1 of the low state (0) is output, the operation of the first microcontroller 150_1 is terminated, and thus the operation of the second microcontroller 150_2 may be initiated. That is, at time t7, while the first response signal ACK_1 of the low state (0) is output, the second response signal ACK_2 of the high state (1) may be output, and the second microcontroller 150_2 that receives the second response signal ACK_2 of the high state (1) may initiate the operation.
[0271] Thereafter, the second microcontroller 150_2 may complete all operations corresponding to the second command CMD2. Therefore, at time t8, i.e., at a point in time when the second microcontroller 150_2 completes the operation, the second microcontroller 150_2 may output a second request signal REQ_2 of a low state (0) indicating completion of the operation to the priority determination circuit 170. As the second request signal REQ_2 of a low state (0) is output, a second delay request signal DREQ_2 of a low state (0) may be output at time t9.
[0272] In addition, when the second request signal REQ_2 changes from a high state (1) to a low state (0), the second read pointer RD_POINTER_2 may change from a low state (0) to a high state (1). Then, when the second delay request signal DREQ_2 changes from a high state (1) to a low state (0), the second read pointer RD_POINTER_2 may change from a high state (1) to a low state (0). That is, during an interval from a time point when the second request signal REQ_2 changes to a low state (0) to a time point when the second delay request signal DREQ_2 changes to a low state (0), the second read pointer RD_POINTER_2 may be maintained at a high state (1).
[0273] Therefore, during the interval from t8 to t9, the second read pointer RD_POINTER_2 may be in a high state (1), and a read enable signal RD_EN having a changed data value may be output based on the changed second read pointer RD_POINTER_2. In addition, as the read enable signal RD_EN having a changed data value is output, the second response signal ACK_2 may be changed from a high state (1) to a low state (0). That is, during the interval from the time point when the second write pointer WT_POINTER_2 is changed to a low state (0) to the time point when the second read pointer RD_POINTER_2 is changed to a low state (0), the second response signal ACK_2 may be maintained in a high state (1).
[0274] When the second response signal ACK_2 of the low state (0) is output, the operation of the second microcontroller 150_2 is terminated, and thus the operation of the third microcontroller 150_3 can be initiated. That is, at time t9, while the second response signal ACK_2 of the low state (0) is output, the third response signal ACK_3 of the high state (1) can be output, and the third microcontroller 150_3 that receives the third response signal ACK_3 of the high state (1) can initiate the operation.
[0275] Fig.14 A diagram for explaining a write enable signal and a read enable signal set based on a request signal and a response signal, and data stored in a FIFO register.
[0276] Reference Figures 11 to 14 , when a first command CMD1 and a second command CMD2 are received from an external device at the same time point, Fig.14 The write enable signal WT_EN, the read enable signal RD_EN, and the data stored in the FIFO register (eg, Figure 8 175), similar to Fig.13 .Right now, Fig.14 Shows a chronological diagram Fig.11 and Fig.12 operation.
[0277] exist Fig.14 In the process, since the first request signal REQ_1 to the third request signal REQ3, the first delay request signal DREQ_1 to the third delay request signal DREQ_3, the first write pointer WT_POINTER_1 to the third write pointer WT_POINTER_3 and the first read pointer RD_POINTER_1 and the second read pointer RD_POINTER_2 are Fig.13 Same, so will be omitted Fig.13 Repeated description of those same operations in .
[0278] In an embodiment, the initial data value of each of the write enable signal WT_EN and the read enable signal RD_EN may be a default value of "00". In addition, the initial data value stored in Figure 8 FIFO registers (for example, Figure 8 175) included in the first to fourth registers (for example, Figure 8 The data value in REG1 to REG4) can be "0000".
[0279] During the interval from t1 to t2 Figure 8 FIFO registers (for example, Figure 8 After receiving the first write pointer WT_POINTER_1 of the high state (1) at time t2, the write enable signal WT_EN may be changed from the default data value "00" to "01", and the logic data "0001" may be stored in the first register (e.g., Figure 8 Stored in the first register (e.g., Figure 8 The logic data "0001" in REG1 of FIG. 1 may be output to a multiplexer (eg, Figure 8 of 177).
[0280] Then, during the interval from t1 to t3 Figure 8 FIFO registers (for example, Figure 8 After receiving the second write pointer WT_POINTER_2 of the high state (1) at time t3, the write enable signal WT_EN may change from "01" to "10", and the logic data "0010" may be stored in the second register (eg, Figure 8 Stored in a second register (e.g., Figure 8 The logic data "0010" in REG2 of FIG. 1 may be output to the multiplexer (eg, Figure 8 of 177).
[0281] Then, during the interval from t4 to t5 Figure 8 FIFO registers (for example, Figure 8 After receiving the third write pointer WT_POINTER_3 of the high state (1) at time t5, the write enable signal WT_EN may change from "10" to "11" and logic data "0100" may be stored in the third register (eg, Figure 8 Stored in a third register (e.g., Figure 8 The logic data "0100" in REG3 of FIG. 1 may be output to the multiplexer (eg, Figure 8of 177).
[0282] Although not shown in the drawings, Figure 8 FIFO registers (for example, Figure 8 When the fourth write pointer WT_POINTER_4 of the high state (1) is received by the 175) of the embodiment, the write enable signal WT_EN may be changed from "11" to "00", and the logic data "1000" may be stored in the fourth register (eg, Figure 8 REG4).
[0283] In an embodiment, based on the first read pointer RD_POINTER_1 of the high state (1) output during the interval from t6 to t7, the read enable signal RD_EN that has changed from "00" to "01" may be generated at time t7. The changed read enable signal RD_EN may be input to Figure 8 Multiplexers (e.g., Figure 8 177). When the changed read enable signal RD_EN is input to Figure 8 Multiplexers (e.g., Figure 8 177) Figure 8 Multiplexers (e.g., Figure 8 177) can receive the second register data REG_DATA2 stored in the second register REG2 as the next register, and can output the second register data REG_DATA2.
[0284] Thereafter, based on the second read pointer RD_POINTER_2 of the high state (1) output during the interval from t8 to t9, the read enable signal RD_EN that has changed from "01" to "10" may be generated at time t9. The changed read enable signal RD_EN may be input to Figure 8 Multiplexers (e.g., Figure 8 177). When the changed read enable signal RD_EN is input to Figure 8 Multiplexers (e.g., Figure 8 177) Figure 8 Multiplexers (e.g., Figure 8 177) can receive the third register data REG_DATA3 stored in the third register REG3 as the next register, and can output the third register data REG_DATA3.
[0285] Fig.15 is a flowchart illustrating the operation of a priority determination circuit according to an embodiment of the present disclosure.
[0286] Reference Fig.15 , in step S1501, the priority determination circuit may receive a high state request signal from the microcontroller circuit.
[0287] For example, the microcontroller circuit may receive a command from an external device. The command received from the external device may be a command for instructing to perform an operation on at least one of a plurality of planes included in the memory device. Therefore, the microcontroller circuit may provide a corresponding command to the microcontroller corresponding to the command received from the external device, and the microcontroller may output a high state request to perform the operation corresponding to the command. The high state request signal may be a signal requesting to initiate an operation.
[0288] In an embodiment, when a command for instructing to perform an operation on at least two of the plurality of planes is received from an external device, the plurality of microcontrollers may output high state request signals to perform operations respectively corresponding to the commands.
[0289] In step S1503, the priority determination circuit may determine whether the number of high state request signals received from the microcontroller circuit is equal to or greater than 2. That is, the priority determination circuit may determine whether it is necessary to determine the priority between the microcontrollers due to the reception of multiple high state request signals. When the number of received high state request signals is equal to or greater than 2 (in the case of "yes"), the process may proceed to step S1507, and when the number of received high state request signals is not equal to or greater than 2, the process may proceed to step S1505.
[0290] When the number of high status request signals received from the microcontroller circuit is not equal to or greater than 2 (in the case of "No"), that is, when one high status request signal is received, the priority determination circuit does not need to determine the priority between the microcontrollers. Therefore, the priority determination circuit may output a high status response signal corresponding to the high status request signal in step S1505. However, when another microcontroller is in operation, the priority determination circuit may output a high status response signal after the operation of the corresponding microcontroller has been terminated.
[0291] When the number of high state request signals received from the microcontroller circuit is equal to or greater than 2 (in the case of "yes"), the priority determination circuit may determine the priorities between the microcontrollers corresponding to the high state request signals at step S1507. That is, the priorities between the microcontrollers may be determined so that the operations of the microcontrollers do not overlap with each other.
[0292] For example, when the microcontroller circuit includes first to fourth microcontrollers, the priority may be determined so that the operations are sequentially performed in the order of the first to fourth microcontrollers. In this case, the first microcontroller may be determined to perform the operation first.
[0293] When the priority between the microcontrollers is determined, a high status response signal may be output according to the determined priority in step S1509. That is, at this time, a high status response signal corresponding to the microcontroller determined to perform the operation first may be output, and the corresponding microcontroller may initiate the operation. Even in this case, when another microcontroller is operating, a high status response signal may be output after the operation of the corresponding microcontroller has been terminated.
[0294] Fig.16 is a flowchart illustrating the operation of a priority determination circuit according to an embodiment of the present disclosure.
[0295] Reference Fig.16 , Fig.16 Response signals output from the priority determination circuit after the priorities between the microcontrollers have been determined are shown in sequence. Fig.16 In this paper, N is assumed to be a natural number.
[0296] In step S1601, the priority determination circuit may receive a high status request signal corresponding to the microcontroller having the Nth priority, and then may output a high status response signal. That is, a high status response signal corresponding to the microcontroller to be preferentially executed may be output. Here, the high status response signal may be a signal for indicating that the microcontroller having the Nth priority initiates the operation. Therefore, after receiving the high status response signal, the microcontroller having the Nth priority may initiate the operation.
[0297] Thereafter, when the microcontroller with the Nth priority completes the operation, the priority determination circuit may receive a low state request signal indicating that the operation of the microcontroller with the Nth priority has been completed from the microcontroller with the Nth priority at step S1603 .
[0298] When a low status request signal is received, a low status response signal corresponding to the microcontroller with the Nth priority may be output to terminate the operation of the microcontroller with the Nth priority. At this time, together with the low status response signal corresponding to the microcontroller with the Nth priority, a high status response signal corresponding to the microcontroller with the N+1th priority may be output in step S1605. The high status response signal may be a signal for instructing the corresponding microcontroller to initiate an operation.
[0299] That is, in order to terminate the operation of the microcontroller with the Nth priority and at the same time instruct the microcontroller with the N+1th priority as the next microcontroller to initiate an operation, a high status response signal corresponding to the microcontroller with the N+1th priority can be output together with the low status response signal corresponding to the microcontroller with the Nth priority.
[0300] Thereafter, when the microcontroller with the N+1th priority level completes the operation, the priority determination circuit may receive a low status request signal from the microcontroller with the N+1th priority level indicating that the operation of the microcontroller with the N+1th priority level has been completed. In addition, when the low status request signal is received, a low status response signal corresponding to the microcontroller with the N+1th priority level may be output at step S1607 to terminate the operation of the microcontroller with the N+1th priority level.
[0301] Fig.17 is a flowchart illustrating the operation of a priority determination circuit according to an embodiment of the present disclosure.
[0302] Reference Fig.17 , Fig.17 2 shows a process of determining priorities among microcontrollers and then operating the microcontrollers in sequence.
[0303] In step S1501 , the priority determination circuit may receive a high state request signal from the microcontroller circuit.
[0304] For example, the microcontroller circuit may receive a command from an external device. The command received from the external device may be a command for instructing to perform an operation on at least one of the plurality of planes included in the memory device. Therefore, the microcontroller circuit may provide a corresponding command to the microcontroller corresponding to the command received from the external device, and the microcontroller may output a high-state request signal to perform an operation corresponding to the command. The high-state request signal may be a signal requesting to initiate an operation.
[0305] In an embodiment, when a command for instructing to perform an operation on at least two of the plurality of planes is received from an external device, the plurality of microcontrollers may output high state request signals to perform operations respectively corresponding to the commands.
[0306] In step S1503, the priority determination circuit may determine whether the number of high state request signals received from the microcontroller circuit is equal to or greater than 2. That is, the priority determination circuit may determine whether it is necessary to determine the priority between the microcontrollers due to the reception of multiple high state request signals. When the number of received high state request signals is equal to or greater than 2 (in the case of "yes"), the process may proceed to step S1707, and when the number of received high state request signals is not equal to or greater than 2, the process may proceed to step S1705.
[0307] When the number of high state request signals received from the microcontroller circuit is not equal to or greater than 2 (in the case of "No"), that is, when one high state request signal is received, the priority determination circuit may change the write enable signal at step S1705. That is, the data corresponding to the write enable signal may be changed from the default data value "00" to "01". Since there is no need to determine the priority between the microcontrollers, the data corresponding to the write enable signal may be changed in response to the high state request signal.
[0308] However, when it is determined that the number of high-state request signals received from the microcontroller circuit is equal to or greater than 2 (in the case of "yes"), the priority determination circuit may change the write enable signal by delaying the write enable signal at step S1707. That is, based on the high-state request signal corresponding to the microcontroller determined to perform the operation first, the data corresponding to the write enable signal has been changed from the default data value "00" to "01". Thereafter, based on the high-state request signal corresponding to the microcontroller determined to perform the operation subsequently, the data corresponding to the write enable signal may be changed from "01" to "10". That is, the write enable signal may be delayed and changed.
[0309] When a low state request signal is received after the write enable signal has been delayed and changed, the read enable signal may be changed in response to the low state request signal in step S1709. For example, in the case of a read enable signal, when a low state delay request signal is received after receiving the low state request signal, the data corresponding to the read enable signal may be changed from a default data value of "00" to "01".
[0310] Fig.18 It is shown Figure 1 FIG. 1 is a diagram of an implementation of a storage controller.
[0311] The storage controller 1000 is connected to the host and the memory device. In response to a request received from the host, the storage controller 1000 can access the memory device. For example, the storage controller 1000 can be configured to control the write operation, read operation, erase operation and background operation of the memory device. The storage controller 1000 can provide an interface between the memory device and the host. The storage controller 1000 can run firmware for controlling the memory device.
[0312] Reference Fig.18 , the memory controller 1000 may include a processor 1010 , a memory buffer 1020 , an error correction code (ECC) circuit 1030 , a host interface 1040 , a buffer control circuit 1050 , a memory interface 1060 , and a bus 1070 .
[0313] The bus 1070 may provide a channel between the components of the memory controller 1000 .
[0314] The processor 1010 may control the overall operation of the memory controller 1000 and may perform logical operations. The processor 1010 may communicate with an external host through a host interface 1040, and may also communicate with a memory device through a memory interface 1060. In addition, the processor 1010 may communicate with a memory buffer 1020 through a buffer control circuit 1050. The processor 1010 may control the operation of a memory device using the memory buffer 1020 as a working memory, a cache memory, or a buffer memory.
[0315] The processor 1010 may perform the function of a flash translation layer (FTL). The processor 1010 may convert a logical block address (LBA) provided by a host into a physical block address (PBA) through the FTL. The FTL may receive the LBA using a mapping table and convert the LBA into a PBA. According to the mapping unit, examples of address mapping methods performed by the FTL may include various methods. Representative address mapping methods include page mapping methods, block mapping methods, and hybrid mapping methods.
[0316] The processor 1010 may randomize the data received from the host. For example, the processor 1010 may randomize the data received from the host using a randomization seed. The randomized data may be provided to the memory device as data to be stored and may be programmed in the memory cell array.
[0317] The processor 1010 may execute software or firmware to perform randomization or de-randomization operations.
[0318] In an embodiment, processor 1010 may execute software or firmware to perform randomization and de-randomization operations.
[0319] The memory buffer 1020 may be used as a working memory, a cache memory, or a buffer memory of the processor 1010. The memory buffer 1020 may store codes and commands executed by the processor 1010. The memory buffer 1020 may store data processed by the processor 1010. The memory buffer 1020 may include a static RAM (SRAM) or a dynamic RAM (DRAM).
[0320] The ECC circuit 1030 may perform error correction. The ECC circuit 1030 may perform error correction code (ECC) encoding based on data to be written to the memory device through the memory interface 1060. The ECC encoded data may be transmitted to the memory device through the memory interface 1060. The ECC circuit 1030 may perform ECC decoding based on data received from the memory device through the memory interface 1060. In an example, the ECC circuit 1030 may be included in the memory interface 1060 as a component of the memory interface 1060.
[0321] The host interface 1040 may communicate with an external host under the control of the processor 1010. The host interface 1040 may perform communication using at least one of various communication methods such as a universal serial bus (USB), a serial AT attachment (SATA), a serial attached SCSI (SAS), a high-speed inter-chip (HSIC), a small computer system interface (SCSI), a peripheral component interconnect (PCI), PCI express (PCIe), a high-speed non-volatile memory (NVMe), a universal flash memory (UFS), a secure digital (SD), a multimedia card (MMC), an embedded MMC (eMMC), a dual in-line memory module (DIMM), a registered DIMM (RDIMM), and a load reduction DIMM (LRDIMM) communication method.
[0322] The buffer control circuit 1050 may control the memory buffer 1020 under the control of the processor 1010 .
[0323] The memory interface 1060 may communicate with the memory device under the control of the processor 1010. The memory interface 1060 may transmit / receive a command, an address, and data to / from the memory device through a channel.
[0324] In an implementation, the memory controller 1000 may not include the memory buffer 1020 and the buffer control circuit 1050 .
[0325] In an embodiment, the processor 1010 may use code to control the operation of the memory controller 1000. The processor 1010 may load the code from a nonvolatile memory device (eg, ROM) provided in the memory controller 1000. In an embodiment, the processor 1010 may load the code from the memory device through the memory interface 1060.
[0326] In an embodiment, the bus 1070 of the memory controller 1000 may be divided into a control bus and a data bus. The data bus may be configured to send data in the memory controller 1000, and the control bus may be configured to send control information such as commands or addresses in the memory controller 1000. The data bus and the control bus may be isolated from each other and may neither interfere with nor affect each other. The data bus may be connected to the host interface 1040, the buffer control circuit 1050, the ECC circuit 1030, and the memory interface 1060. The control bus may be connected to the host interface 1040, the processor 1010, the buffer control circuit 1050, the memory buffer 1020, and the memory interface 1060.
[0327] Fig.19 is a block diagram illustrating a memory card system to which a storage device according to an embodiment of the present disclosure is applied.
[0328] Reference Fig.19, the memory card system 2000 may include a memory controller 2100 , a memory device 2200 , and a connector 2300 .
[0329] The storage controller 2100 is connected to the memory device 2200. The storage controller 2100 can access the memory device 2200. For example, the storage controller 2100 can control the read operation, write operation, erase operation, and background operation of the memory device 2200. The storage controller 2100 can provide an interface between the memory device 2200 and the host. The storage controller 2100 can run firmware for controlling the memory device 2200. The memory device 2200 can be operated in accordance with the above reference Figure 2 The memory device described (e.g., Figure 2 100) is implemented in the same way.
[0330] In an implementation, the memory controller 2100 may include components such as a RAM, a processor, a host interface, a memory interface, and an ECC circuit.
[0331] The storage controller 2100 may communicate with an external device through the connector 2300. The storage controller 2100 may communicate with an external device (e.g., a host) based on a specific communication protocol. In an embodiment, the storage controller 2100 may communicate with an external device through at least one of various communication protocols such as a universal serial bus (USB), a multimedia card (MMC), an embedded MMC (eMMC), a peripheral component interconnect (PCI), a high-speed PCI (PCI-E), an advanced technology attachment (ATA), a serial ATA (SATA), a parallel ATA (PATA), a small computer small interface (SCSI), an enhanced small disk interface (ESDI), an integrated drive electronics (IDE), a firewire, a universal flash memory (UFS), Wi-Fi, Bluetooth, and a high-speed non-volatile memory (NVMe) protocol. In an embodiment, the connector 2300 may be defined by at least one of the various communication protocols described above.
[0332] In an embodiment, the memory device 2200 may be implemented as any of various non-volatile memory devices such as electrically erasable programmable ROM (EEPROM), NAND flash memory, NOR flash memory, phase change RAM (PRAM), resistive RAM (ReRAM), ferroelectric RAM (FRAM), spin-torque magnetic RAM (STT-MRAM).
[0333] In an embodiment, the memory device 2200 may include multiple planes. Here, when multiple planes are operated simultaneously, operations performed on any one plane may affect operations performed on other planes. Therefore, it is necessary to determine the priority between operations to be performed on multiple planes. The memory device 2200 may include a priority determination circuit for determining the priority between operations to be performed on multiple planes.
[0334] In an embodiment, the microcontroller circuit may include a microcontroller for each plane, which controls the operations to be performed on each plane. For example, the microcontroller circuit may include a first microcontroller corresponding to a first plane, a second microcontroller corresponding to a second plane, a third microcontroller corresponding to a third plane, and a fourth microcontroller corresponding to a fourth plane.
[0335] Referring to the above example, determining the priority between operations to be performed on a plurality of planes may be determining the priority between operations of the first to fourth microcontrollers.
[0336] Therefore, in order to determine the priority between microcontrollers, the priority determination circuit may determine the priority of operation based on the request signal received from the microcontrollers corresponding to each plane, and may output a response signal of a high state or a low state so that the microcontroller operates according to the determined priority.
[0337] The storage controller 2100 and the memory device 2200 may be integrated into a single semiconductor device to configure a memory card. For example, the storage controller 2100 and the memory device 2200 may be integrated into a single semiconductor device to configure a memory card such as a PC card (Personal Computer Memory Card International Association: PCMCIA), a Compact Flash card (CF), a Smart Media Card (SM or SMC), a Memory Stick, a Multimedia Card (MMC, RS-MMC, MMCmicro or eMMC), an SD card (SD, miniSD, microSD or SDHC), or a Universal Flash Storage (UFS).
[0338] Fig. 20 is a block diagram illustrating an example of a solid state drive (SSD) system to which a storage device according to an embodiment of the present disclosure is applied.
[0339] Reference Fig. 20 , the SSD system 3000 may include a host 3100 and an SSD 3200. The SSD 3200 may exchange a signal SIG with the host 3100 through a signal connector 3001, and may receive power PWR through a power connector 3002. The SSD 3200 may include an SSD controller 3210, a plurality of flash memories 3221 to 322n, an auxiliary power supply 3230, and a buffer memory 3240.
[0340] In an embodiment, the SSD controller 3210 may perform the above reference Figure 1 The storage controller described (e.g., Figure 1 200) function.
[0341] The SSD controller 3210 may control the plurality of flash memories 3221 to 322n in response to a signal SIG received from the host 3100. In an embodiment, the signal SIG may be a signal based on an interface of the host 3100 and the SSD 3200. For example, the signal SIG may be a signal defined by at least one of various interfaces such as a universal serial bus (USB), a multimedia card (MMC), an embedded MMC (eMMC), a peripheral component interconnect (PCI), PCI-Express (PCI-E), an advanced technology attachment (ATA), a serial ATA (SATA), a parallel ATA (PATA), a small computer small interface (SCSI), an enhanced small disk interface (ESDI), an integrated drive electronics (IDE), a firewire, a universal flash memory (UFS), a Wi-Fi, a Bluetooth, and a non-volatile memory express (NVMe) interface.
[0342] Each of the plurality of flash memories 3221 to 322n may include a plurality of planes. Here, when the plurality of planes are operated simultaneously, the operation performed on any one plane may affect the operation performed on other planes. Therefore, it is necessary to determine the priority between the operations to be performed on the plurality of planes. Each of the plurality of flash memories 3221 to 322n may include a priority determination circuit for determining the priority between the operations to be performed on the plurality of planes.
[0343] In an embodiment, the microcontroller circuit may include a microcontroller for each plane, which controls the operations to be performed on each plane. For example, the microcontroller circuit may include a first microcontroller corresponding to a first plane, a second microcontroller corresponding to a second plane, a third microcontroller corresponding to a third plane, and a fourth microcontroller corresponding to a fourth plane.
[0344] Referring to the above example, determining the priority between operations to be performed on a plurality of planes may be determining the priority between operations of the first to fourth microcontrollers.
[0345] Therefore, in order to determine the priority between microcontrollers, the priority determination circuit may determine the priority of operation based on the request signal received from the microcontrollers corresponding to each plane, and may output a response signal of a high state or a low state so that the microcontroller operates according to the determined priority.
[0346] The auxiliary power supply 3230 may be coupled to the host 3100 through the power connector 3002. The auxiliary power supply 3230 may be supplied with power PWR from the host 3100 and may be charged. When the power supply from the host 3100 is not smoothly performed, the auxiliary power supply 3230 may supply power to the SSD 3200. In an embodiment, the auxiliary power supply 3230 may be provided inside the SSD 3200 or outside the SSD 3200. For example, the auxiliary power supply 3230 may be provided in a mainboard and may supply auxiliary power to the SSD 3200.
[0347] The buffer memory 3240 may be used as a buffer memory of the SSD 3200. For example, the buffer memory 3240 may temporarily store data received from the host 3100 or data received from the plurality of flash memories 3221 to 322n, or may temporarily store metadata (e.g., a mapping table) of the flash memories 3221 to 322n. The buffer memory 3240 may include a volatile memory such as DRAM, SDRAM, DDR SDRAM, LPDDR SDRAM, and GRAM, or a nonvolatile memory such as FRAM, ReRAM, STT-MRAM, and PRAM.
[0348] Fig.21 is a block diagram illustrating a user system to which a storage device according to an embodiment of the present disclosure is applied.
[0349] Reference Fig.21 , the user system 4000 may include an application processor 4100 , a memory module 4200 , a network module 4300 , a storage module 4400 , and a user interface 4500 .
[0350] The application processor 4100 may run a component, an operating system (OS), or a user program included in the user system 4000. In an embodiment, the application processor 4100 may include a controller, an interface, a graphic engine, etc. for controlling the components included in the user system 4000. The application processor 4100 may be provided as a system chip (SoC).
[0351] In an embodiment, the storage module 4400 may include multiple planes. Here, when multiple planes are operated simultaneously, the operation performed on any one plane may affect the operation performed on other planes. Therefore, it is necessary to determine the priority between the operations to be performed on the multiple planes. The storage module 4400 may include a priority determination circuit for determining the priority between the operations to be performed on the multiple planes.
[0352] In an embodiment, the microcontroller circuit may include a microcontroller for each plane, which controls the operations to be performed on each plane. For example, the microcontroller circuit may include a first microcontroller corresponding to a first plane, a second microcontroller corresponding to a second plane, a third microcontroller corresponding to a third plane, and a fourth microcontroller corresponding to a fourth plane.
[0353] Referring to the above example, determining the priority between operations to be performed on a plurality of planes may be determining the priority between operations of the first to fourth microcontrollers.
[0354] Therefore, in order to determine the priority between microcontrollers, the priority determination circuit may determine the priority of operation based on the request signal received from the microcontrollers corresponding to each plane, and may output a response signal of a high state or a low state so that the microcontroller operates according to the determined priority.
[0355] The memory module 4200 may be used as a main memory, a working memory, a buffer memory, or a cache memory of the user system 4000. The memory module 4200 may include a volatile RAM such as DRAM, SDRAM, DDR SDRAM, DDR2 SDRAM, DDR3 SDRAM, LPDDR SDRAM, LPDDR2 SDRAM, and LPDDR3 SDRAM, or a nonvolatile RAM such as PRAM, ReRAM, MRAM, and FRAM. In an embodiment, the application processor 4100 and the memory module 4200 may be packaged based on a package-on-package (PoP) and may then be provided as a single semiconductor package.
[0356] The network module 4300 may communicate with an external device. For example, the network module 4300 may support wireless communications such as code division multiple access (CDMA), global system for mobile communications (GSM), wideband CDMA (WCDMA), CDMA-2000, time division multiple access (TDMA), long term evolution (LTE), WiMAX, WLAN, UWB, Bluetooth, or Wi-Fi communications. In an embodiment, the network module 4300 may be included in the application processor 4100.
[0357] The storage module 4400 may store data. For example, the storage module 4400 may store data received from the application processor 4100. Alternatively, the storage module 4400 may send the data stored in the storage module 4400 to the application processor 4100. In an embodiment, the storage module 4400 may be implemented as a non-volatile semiconductor memory device such as a phase change RAM (PRAM), a magnetic RAM (MRAM), a resistive RAM (RRAM), a NAND flash memory, a NOR flash memory, or a NAND flash memory having a three-dimensional (3D) structure. In an embodiment, the storage module 4400 may be provided as a removable storage medium (i.e., a removable drive) such as an external drive or a memory card of the user system 4000.
[0358] In an embodiment, the storage module 4400 may include a plurality of non-volatile memory devices, each of which may be configured as described above with reference to FIG. Figure 2 and Figure 3 The storage module 4400 may be operated in the same manner as described above with reference to the memory device described in the prior art. Figure 1 The storage device 50 operates in the same manner as described.
[0359] The user interface 4500 may include an interface for inputting data or instructions to the application processor 4100 or outputting data to an external device. In an embodiment, the user interface 4500 may include a user input interface such as a keyboard, a keypad, a button, a touch panel, a touch screen, a touch pad, a touch ball, a camera, a microphone, a gyro sensor, a vibration sensor, and a piezoelectric device. The user interface 4500 may also include a user output interface such as a liquid crystal display (LCD), an organic light emitting diode (OLED) display device, an active matrix OLED (AMOLED) display device, an LED, a speaker, and a monitor.
[0360] According to the present disclosure, a write pointer and a read pointer are set in response to a request received from a microcontroller, and a response allowing the microcontroller to initiate an operation is output based on the set write pointer and read pointer, thereby allowing operations to be performed on multiple planes without overlapping the operations of the planes.
[0361] CROSS-REFERENCE TO RELATED APPLICATIONS
[0362] This application claims the priority of Korean Patent Application No. 10-2019-0173794 filed on December 24, 2019, in the Korean Intellectual Property Office, the entire disclosure of which is incorporated herein by reference.
Claims
1. A priority determination circuit, the priority determination circuit being configured to: receiving request signals corresponding to operations to be performed on the plurality of planes from a plurality of microcontrollers respectively corresponding to the plurality of planes, each plane including a plurality of memory blocks; determining priorities of the operations corresponding to the plurality of planes based on the received request signal; and outputting a response signal according to the determined priority, the response signal corresponding to the request signal, in, The priority determination circuit is configured to output a first response signal of a high state indicating initiation of an operation when a first request signal of a high state is received from any one of the plurality of microcontrollers.
2. The priority determination circuit according to claim 1, wherein: The plurality of microcontrollers are configured to: Initiating operations sequentially in an order corresponding to the order in which the response signals in the high state are received; and The operations are terminated sequentially in an order corresponding to the order of reception of the response signals of the low state.
3. The priority determination circuit according to claim 1, wherein: The plurality of microcontrollers are configured to output the request signal in a high state in response to respective commands received from an external device.
4. The priority determination circuit according to claim 3, wherein: The plurality of microcontrollers are configured to initiate an operation corresponding to the request signal having a high state.
5. The priority determination circuit according to claim 1, wherein: The priority determination circuit is configured such that: when any one of the multiple microcontrollers receives a high-state second request signal for requesting an instruction to initiate an operation of the additional microcontroller while in operation in response to the first response signal in a high state, the high-state second response signal for instructing the additional microcontroller to initiate an operation is output after receiving the low-state first request signal indicating that the operation has been completed from the operating microcontroller.
6. The priority determination circuit according to claim 5, wherein: The priority determination circuit is configured to output the first response signal of a low state indicating termination of operation together with the second response signal of a high state.
7. The priority determination circuit according to claim 1, wherein: The priority determination circuit is configured to output a third response signal of high state indicating initiation of operation to the microcontroller corresponding to the plane with the highest priority according to the determined priority when receiving a request signal of high state from at least two of the plurality of microcontrollers.
8. The priority determination circuit according to claim 7, wherein: The priority determination circuit is configured to output the third response signal of a low state indicating termination of an operation when receiving a third request signal of a low state indicating that an operation is completed from the microcontroller corresponding to the plane having the highest priority.
9. The priority determination circuit according to claim 8, wherein: The priority determination circuit outputs a fourth response signal of a high state for indicating initiation of operation together with the third response signal of a low state to the microcontroller corresponding to the plane having the next highest priority to be operated.
10. A priority determination circuit, the priority determination circuit comprising: a request signal delay component configured to receive request signals corresponding to operations to be performed on a plurality of planes from a plurality of microcontrollers respectively corresponding to the plurality of planes, and output a delayed request signal obtained by delaying the request signal, each plane including a plurality of memory blocks; a write / read pointer output circuit configured to generate a write pointer and a read pointer based on the request signal and the delay request signal to set priorities of the operations corresponding to the plurality of planes based on the received request signal; a first-in first-out FIFO register configured to store data based on the write pointer and to output the stored data in response to a write enable signal generated based on the write pointer; a multiplexer configured to output FIFO data based on register data output from the FIFO register and a read enable signal generated according to the read pointer; as well as A response signal generator is configured to output a response signal for instructing any one of the plurality of microcontrollers to initiate or terminate an operation based on the FIFO data and the delay request signal.
11. The priority determination circuit according to claim 10, wherein: The plurality of microcontrollers are configured to: when the request signal is in a high state, request an instruction for initiating an operation corresponding to the request signal, and When the request signal is in a low state, the request signal is a signal indicating that operations of the plurality of microcontrollers have been completed.
12. The priority determination circuit according to claim 10, wherein: The plurality of microcontrollers are configured to initiate an operation corresponding to the response signal being in a high state and terminate an operation corresponding to the response signal being in a low state.
13. The priority determination circuit according to claim 10, wherein: The write / read pointer output circuit is configured to output a high-state write pointer corresponding to any one of the request signals during an interval from a time point when any one of the request signals changes from a low state to a high state to a time point when a delayed request signal corresponding to any one of the request signals changes from a low state to a high state.
14. The priority determination circuit according to claim 13, wherein: The write / read pointer output circuit is configured to change data corresponding to the write enable signal when receiving a write pointer in a high state corresponding to any one of the request signals.
15. The priority determination circuit according to claim 14, wherein: The FIFO register is configured to store each piece of data in each register whenever a write pointer in a high state corresponding to any one of the request signals is received.
16. The priority determination circuit according to claim 15, wherein: The FIFO register is configured to output the stored data based on the write pointer in a high state in response to the write enable signal when data corresponding to the write enable signal changes.
17. The priority determination circuit according to claim 16, wherein: The write / read pointer output circuit is configured to output a high-state write pointer corresponding to any one of the request signals during an interval from a time point when any one of the request signals changes from a high state to a low state to a time point when a delayed request signal corresponding to any one of the request signals changes from a high state to a low state.
18. The priority determination circuit according to claim 17, wherein: The write / read pointer output circuit is configured to change data corresponding to the read enable signal when receiving a read pointer in a high state corresponding to any one of the request signals.
19. The priority determination circuit according to claim 18, wherein: The multiplexer is configured as: outputting register data previously received from the FIFO register as the FIFO data until the data corresponding to the read enable signal changes, and When data corresponding to the read enable signal changes, register data received from the FIFO register is output as the FIFO data.
Citation Information
Patent Citations
Priority determination circuit and operating method thereof
KR1020210081636A
Method and apparatus for asynchronous FIFO circuit
CN105320490A
Controller and memory system including same
CN110489056A
Signal delaying device and method for dynamic delaying of a digitally sampled signal
US20040202265A1
FIFO-type one-way interfacing device between a master unit and a slave unit, and corresponding master unit and slave unit
US20070033306A1
