The present application claims priority under 35 U.S.C. §119(a) to Korean application number 10-2016-0018497, filed on Feb. 17, 2016, in the Korean Intellectual Property Office, which is incorporated herein by reference in its entirety.
1. Technical Field
Various embodiments may generally relate to a semiconductor device, and more particularly, to a clock generation circuit, an interface circuit and a semiconductor system using the same.
2. Related Art
A general semiconductor system may include a master device and a slave device. The slave device may be operated by the master device. The master device and the slave device may perform data communication while transmitting and receiving data. The semiconductor system may use a clock signal to transmit and receive data. When the master device and the slave device transmit data, the master device and the slave device may transmit the data in synchronization with the clock signal.
In general, the clock signal may be generated from a PLL (Phase Locked Loop) or DLL (Delay Locked Loop) circuit. The semiconductor system may generate a clock signal which has a phase synchronized with the data, through the PLL or DLL circuit.
In an embodiment, a clock generation circuit may be provided. The clock generation circuit may include a master DLL (Delay Locked Loop) circuit configured to generate a phase pulse signal having a pulse width corresponding to one cycle of a clock signal, and may generate a delay control code corresponding to the phase pulse signal. The clock generation circuit may include a code divider configured to generate a divided delay control code corresponding to a predetermined time by dividing the delay control code. The clock generation circuit may include a slave DLL circuit configured to generate a delayed strobe signal by delaying a strobe signal according to the divided delay control code.
In an embodiment, an interface circuit may be provided. The interface circuit may include a clock generation circuit configured to generate a phase pulse signal having a pulse width corresponding to one cycle of a clock signal, and may generate a delayed strobe signal by delaying a strobe signal by a predetermined time based on the phase pulse signal. The interface circuit may include a latch configured to latch data in synchronization with the delayed strobe signal. The interface circuit may include a data serializer/deserializer (SERDES) configured to sort and output an output of the latch.
In an embodiment, a semiconductor system may be provided. The semiconductor system may include a master device, and a slave device. The semiconductor system may include an interface circuit configured to receive a strobe signal and data which are outputted from the slave device, and may provide the strobe signal and data to the master device. The interface circuit may generate a phase pulse signal having a pulse width corresponding to one cycle of a clock signal based on a reset signal, and may set a delay amount corresponding to ¼ cycle of the clock signal based on the phase pulse signal.
Hereinafter, a clock generation circuit, an interface circuit and a semiconductor system using the same according to the present disclosure will be described below with reference to the accompanying drawings through examples of the embodiments.
Referring to
The code divider 120 may receive the delay control code DLC<0:n>, and may generate a divided delay control code QDLC<0:n>. The code divider 120 may generate the divided delay control code QDLC<0:n> corresponding to a predetermined time. The predetermined time may correspond to ¼ cycle or 90-degree phase of the clock signal CLK. The code divider 120 may generate the divided delay control code QDLC<0:n> having a value corresponding to ¼ of the value of the delay control code DLC<0:n>. The delay control code DLC<0:n> may include a thermometer code, for example. In an embodiment, the code divider 120 may divide the thermometer code-type delay control code DLC<0:n>. In an embodiment, the code divider 120 may convert the thermometer code-type delay control code DLC<0:n> into binary code, and may generate the divided delay control code QDLC<0:n> by dividing the binary code.
The slave DLL circuit 130 may receive a strobe signal RDQS and generate a delayed strobe signal RDQSD. The slave DLL circuit 130 may generate the delayed strobe signal RDQSD by delaying the strobe signal RDQS according to the divided delay control code QDLC<0:n>. The slave DLL circuit 130 may generate the delayed strobe signal RDQSD by delaying the strobe signal RDQS by a time corresponding to ¼ cycle or 90-degree phase of the clock signal CLK.
When the reset signal RST is enabled, the master DLL circuit 110 may not compare the clock signal CLK to the delayed clock signal CLKD, but generate the pulse signal and the delay control code DLC<0:n> from the clock signal CLK. The master DLL circuit 110 and the code divider 120 may generate the divided delay control code QDLC<0:n> based on the pulse signal and the delay control code DLC<0:n>, and the slave DLL circuit 130 may set a delay amount corresponding to a predetermined time according to the divided delay control code QDLC<0:n>. Thus, the slave DLL circuit 130 may generate the delayed strobe signal RDQSD by delaying the strobe signal RDQS by the predetermined time.
Referring to
The feedback detector 230 may receive the clock signal CLK and the delayed clock signal CLKD. The feedback detector 230 may receive the delay clock signal CLKD outputted from the delay line 220, and compare the delayed clock signal CLKD and the clock signal CLK. The feedback detector 230 may generate a phase detection signal UP/DN by comparing the phases of the clock signal CLK and the delayed clock signal CLKD. For example, the feedback detector 230 may generate an up signal UP of the phase detection signal when the phase of the clock signal CLK leads the phase of the delayed clock signal CLKD, and may generate a down signal DN of the phase detection signal when the phase of the clock signal CLK lags behind the phase of the delayed clock signal CLKD.
The delay line controller 240 may receive the phase pulse signal PERR and the phase detection signal UP/DN, and generate a delay line control signal INC/DEC. The delay line controller 240 may increase or decrease a code value of the shift register 250 in response to the phase detection signal UP/DN. For example, when the up signal UP is generated from the feedback detector 230, the delay line controller 240 may generate an increase signal INC to increase the code value of the shift register 250. For example, when the down signal DN is generated from the feedback detector 230, the delay line controller 240 may generate a decrease signal DEC to decrease the code value of the shift register 250. When the phase pulse signal PERR is received from the fast detector 210, the delay line controller 240 may generate the delay line control signal INC/DEC while the phase pulse signal PERR is enabled. For example, the delay line controller 240 may continuously generate the increase signal INC while the phase pulse signal PERR is enabled. Thus, the code value of the shift register 250 may be increased.
The code value of the shift register 250 may be adjusted in response to the delay line control signal INC/DEC, and the adjusted code value may be generated as the delay control code DLC<0:n>. The shift register 250 may set a delay amount of the delay line 220 according to the delay control code DLC<0:n>. When the phase pulse signal PERR is enabled, the shift register 250 may increase the value of the delay control code DLC<0:n> to a value corresponding to the pulse width of the phase pulse signal PERR in response to the delay line control signal INC/DEC. The shift register 250 may increase or decrease the value of the delay control code DLC<0:n> according to the delay line control signal INC/DEC which is generated based on the phase detection signal UP/DN. The shift register 250 may increase or decrease the delay amount of the delay line 220 according to the delay control code DLC<0:n>. The value of the delay control code DLC<0:n> of the shift register 250 and the delay amount of the delay line 220 may be set through a method disclosed in Korean Patent Laid-Open Publication No. 2012-0139627, but the present disclose is not limited thereto. Any shift registers and delay lines which are installed in a general DLL circuit may be applied to the present disclosure.
The master DLL circuit 110 may generate the delayed clock signal CLKD by delaying the clock signal CLK by a time corresponding to one cycle or 360-degree phase of the clock signal CLK. The master DLL circuit 110 may compare the clock signal CLK and the delayed clock signal CLKD, and set the delay amount of the delay line 220. When the reset signal RST is enabled, the master DLL circuit 110 may generate the phase pulse signal PERR through the fast detector 210, and fast set the delay amount of the delay line 220 without a feedback and comparison operation. Thus, the locking operation of the master DLL circuit 110 may be fast ended or ended quickly by the fast detector 210.
When the reset signal RST is enabled to a low level, the first and second flip-flops 310 and 320 may be reset. At a first rising edge of the clock signal CLK after the reset signal RST is enabled, the first flip-flop 310 may output the supply voltage VDD, and the output A of the first flip-flop may transition to a high level. The second flip-flop 320 may output the output A of the first flip-flop at the next rising edge of the clock signal CLK, and the output B of the second flip-flop may transition to a high level. A phase difference between the output A of the first flip-flop and the output B of the second flip-flop may correspond to one cycle of the clock signal CLK. The AND gate 330 may perform an AND operation on the outputs A and B of the first and second flip-flops, and may generate the phase pulse signal PERR having a pulse width corresponding to one cycle of the clock signal CLK.
The master device 410 may include, for example but not limited to, a processor, and the processor may include a CPU (Central Processing Unit), GPU (Graphic Processing Unit), MMP (Multi-Media Processor) and a digital signal processor. Processor chips having various functions, such as an application processor (AP), may be combined and implemented in the form of a system on chip.
The slave device 420 may include modules capable of performing various functions, such as a system memory, a power controller, a communication module, a multimedia module and an input/output module. For example, the slave device 420 may include a memory device. The memory device may include, for example but not limited to, a volatile memory device such as SRAM (Static RAM), DRAM (Dynamic RAM) or SDRAM (Synchronous DRAM). Furthermore, the memory device may include one or more of nonvolatile memories such as ROM (Read Only Memory), PROM (Programmable ROM), EEPROM (Electrically Erase and Programmable ROM), EPROM (Electrically Programmable ROM), Flash memory, PRAM (Phase change RAM), MRAM (Magnetic RAM), RRAM (Resistive RAM) and FRAM (Ferroelectric RAM).
The interface circuit 430 may include, for example but not limited to, a data serializer/deserializer (SERDES) 431, a command address (C/A) control circuit 432, an interface controller 433, a clock generation circuit 434 and an input/output circuit 435. The data SERDES 531 may sort received data. The data SERDES 531 may convert serial data into parallel data or convert parallel data into serial data. For example, the master device 410 and the interface circuit 430 may perform serial data communication, and the interface circuit 430 and the slave device 420 may perform parallel data communication. The data SERDES 431 may convert data transmitted from the master device 410 into parallel data, and convert parallel data transmitted from the slave device 420 into serial data.
The C/A control circuit 432 may generate a command signal and address signal for accessing the slave device 420, based on a request transmitted from the master device 410. The interface controller 433 may control overall operations of the interface circuit 430. The clock generation circuit 434 may generate a delayed clock signal from the system clock signal. The clock generation circuit 434 may generate a delayed strobe signal by delaying a strobe signal. The clock generation circuit 100 of
The input/output circuit 435 may include a plurality of pads, and transmit an output of the data SERDES 431, an output of the C/A control circuit 432, and an output of the clock generation circuit 434 to the slave device 420 or receive a signal from the slave device 420. The input/output circuit 435 may receive data and a strobe signal from the slave device 420. The input/output circuit 435 may latch data transmitted from the slave device 420 based on the strobe signal, and provide the latched data to the data SERDES 431. The input/output circuit 435 may latch the data in synchronization with the delayed strobe signal obtained by delaying the strobe signal by ¼ cycle or 90-degree phase of the system clock signal.
The input/output circuit 435 may include a plurality of latches 520. The plurality of latches 520 may receive the data RDQ from the slave device 420. The data RDQ may be buffered through the buffer 512. The data RDQ may include, for example, read data. The plurality of latches 520 may latch the data RDQ in synchronization with the first and second delayed strobe signals RDQSD1 and RDQSD2. The data SERDES 431 may receive outputs of the plurality of latches 520, and convert the data latched by the latches 520 into serial data DATA in synchronization with the multi-phase clock signals MCLK<0:m>.
The data storage device 720 may operate in response to a request from the host 710, and store data accessed by the host 710. The data storage device 720 may be used as a main memory system or secondary memory system of the host 710. The data storage device 720 may be implemented as any one of various types of storage devices, according to the protocol of a host interface which is electrically coupled to the host 710. The data storage device 720 may be implemented as any one of, for example but not limited to, an SSD (Solid State Drive), MMC (Multimedia Card), eMMC (Embedded MMC), RS-MMC (reduced size-MMC), micro-MMC, SD (Secure Digital) card, mini-SD card, micro-SD card, USB (Universal Serial Bus) storage device, UFS (Universal Flash Storage) device, CF (Compact Flash) card, SM (Smart Media) card, and memory stick.
The data storage device 720 may be implemented as a volatile memory such as, but not limited to, DRAM (Dynamic Random Access Memory) and SRAM (Static RAM) or a nonvolatile memory device such as ROM (Read Only Memory), MROM (Mask ROM), PROM (Programmable ROM), EPROM (Erasable and Programmable ROM), EEPROM (Electrically Erasable and Programmable ROM), Ferroelectric RAM (FRAM), PRAM (Phase change RAM), MRAM (Magnetic RAM) and RRAM (Resistive RAM).
The data storage device 720 may include a memory device 750 for storing data accessed by the host 710 and a controller 730 for controlling the storage of data in the memory device 750. The controller 730 and the memory device 750 may be integrated in one semiconductor device. For example, the controller 730 and the memory device 750 may be integrated in one semiconductor device and constitute an SSD (Solid State Drive).
The controller 730 and the memory device 750 may be integrated in one semiconductor device and constitute a memory card. The controller 730 and the memory device 750 may be integrated in one semiconductor device and constitute a memory card such as, but not limited to, a PCMCIA (Personal Computer Memory Card International Association) card, CF card, SM card, memory stick, MMC, RS-MMC, micro-MMC, SD card, mini-SD card, micro-SD card, SDHC or USF device.
In an embodiment, the data storage device 720 may constitute, for example but not limited to, a computer, an UMPC (Ultra-Mobile PC), a workstation, a netbook computer, a PDA (Personal Digital Assistant), a portable computer, a web tablet, a tablet computer, a mobile phone, a portable phone, a smart phone, an e-book, a PMP (Personal Multimedia Player), a portable game player, a navigation device, a black box, a digital camera, a DMB (Digital Multimedia Broadcasting) player, a 3D (Three-Dimensional) television, a smart television, a digital audio recorder, a digital audio player, a digital image recorder, a digital image player, a digital video recorder, a digital video player, a storage device forming a data center, a device capable of transmitting and receiving information under a wireless environment, one of various electronic devices forming a home network, one of various electronic devices forming a computer network, one of various electronic devices forming a telematics network, an RFID (Radio-Frequency Identification) device or one of various parts forming a computing system.
The memory device 750 of the data storage device 720 may retain data stored therein when power supply is cut off. In particular, the memory device 750 may store data provided from the host 710 during a write operation, and provide data stored therein to the host 710 during a read operation. The memory device 750 may include a plurality of memory blocks 751 to 753. Each of the memory blocks 751 to 753 may include a plurality of pages. Each of the pages may include a plurality of memory cells to which a plurality of word lines WL are electrically coupled. The memory device 750 may include a nonvolatile memory device, for example, a flash memory. The flash memory may have, for example but not limited to, a 3D stack structure.
The controller 730 of the data storage device 720 may control the memory device 750 in response to a request from the host 710. The controller 730 may provide data read from the memory device 750 to the host 710, and store data provided from the host 710 in the memory device 750. For this operation, the controller 730 may control overall operations of the memory device 750, such as read, write, program and erase operations.
For example, the controller 730 may include a host interface (I/F) 731, a processor 732, a memory interface 733 and a memory 734. The host interface 731 may process a command and data which are provided from the host 710, and communicate with the host 710 through one or more of various interface protocols such as, but not limited to, USB, MMC, PCI-E (Peripheral Component Interconnect-Express), SAS (Serial Attached SCSI), SATA (Serial Attached Technology Attachment), PATA (Parallel Advanced Technology Attachment), SCSI (Small Computer System Interface), ESDI (Enhanced Small Disk Interface), and IDE (Integrated Drive Electronics).
The processor 732 may control a write or read operation for the memory device 750 and overall operations of the data storage device 720 in response to a write or read request from the host 710. The processor 732 may be drive firmware such as, but not limited to, FTL (Flash Translation Layer) in order to control the overall operations of the data storage device 720. The processor 732 may be implemented as a microprocessor or CPU. The processor 732 may include an ECC unit for detecting an error in data read from the memory device 750 during a read operation or perform an ECC function. The processor 732 may include a power management unit capable of managing power supply to components included in the controller 730 or perform a power management function.
The memory interface 733 may serve as an interface between the controller 730 and the memory device 750 such that the controller 730 can control the memory device 750 in response to a request from the host 710. The memory interface 733 may generate a control signal for the memory device 750, and process data under control of the processor 732. The memory device 750 may include a flash memory such as NAND flash memory, and the memory interface 733 may generate a control signal for the NAND flash memory or process data under control of the processor 732. The memory interface 733 may include the clock generation circuit 100 or 434 and the input/output circuit 435 which are illustrated in
The memory 734 may serve as a working memory of the controller 730 and the data storage device 720, and store data for driving the controller 730 and the data storage device 720. When the controller 730 controls the operation of the memory device 750, the memory 734 may store data which are used by the memory device 750 and the controller 730 in order to perform a read, write, program or erase operation.
The memory 734 may be implemented with a volatile memory. The memory 734 may be implemented with SRAM or DRAM. The memory 734 may store data which are used by the host 710 and the memory device 750 during a read or write operation. In order to store data, the memory 734 may include a program memory, a data memory, a write buffer, a read buffer and a map buffer.
Referring to
When an abnormality occurs in the power supply of the memory system 8, for example, when the power supply is weakened or cut off, the power management unit 870 may detect the abnormality of the power supply, and supply emergency power to the components of the memory module 820. The power management unit 870 may include a capacitor with a large capacity for supplying the emergency power, for example, a supper cap.
When an abnormality of the power supply is detected by the power management unit 870, the module controller 830 may control the volatile memories 841 to 843 and the nonvolatile memory controller 850 to back up the data of the volatile memories 841 to 843 into the volatile memories 861 to 863. The module controller 830 may provide data outputted from the volatile memories 841 to 843 to the nonvolatile memory controller 850, and the nonvolatile memory controller 850 may store data provided from the module controller 830 in the nonvolatile memories 861 to 863. Then, when the power supply is normalized, the data backed up in the nonvolatile memories 861 to 863 may be stored in the volatile memories 841 to 843 to recover the data. The nonvolatile memory controller 850 may include an interface circuit for transmitting and receiving data to and from the nonvolatile memories 861 to 863, and the interface circuit may include the clock generation circuit 100 or 434 and the input/output circuit 435 which are illustrated in
While certain embodiments have been described above, it will be understood to those skilled in the art that the embodiments described are by way of example only. Accordingly, the semiconductor device described herein should not be limited based on the described embodiments. Rather, the semiconductor device described herein should only be limited in light of the claims that follow when taken in conjunction with the above description and accompanying drawings.
Number | Date | Country | Kind |
---|---|---|---|
10-2016-0018497 | Feb 2016 | KR | national |