KR20180125657A - Semiconductor device - Google Patents

Semiconductor device Download PDF

Info

Publication number
KR20180125657A
KR20180125657A KR1020170059897A KR20170059897A KR20180125657A KR 20180125657 A KR20180125657 A KR 20180125657A KR 1020170059897 A KR1020170059897 A KR 1020170059897A KR 20170059897 A KR20170059897 A KR 20170059897A KR 20180125657 A KR20180125657 A KR 20180125657A
Authority
KR
South Korea
Prior art keywords
address
signal
counter
code
circuit
Prior art date
Application number
KR1020170059897A
Other languages
Korean (ko)
Other versions
KR102298776B1 (en
Inventor
현상아
이윤영
심석보
이상호
Original Assignee
에스케이하이닉스 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 에스케이하이닉스 주식회사 filed Critical 에스케이하이닉스 주식회사
Priority to KR1020170059897A priority Critical patent/KR102298776B1/en
Publication of KR20180125657A publication Critical patent/KR20180125657A/en
Application granted granted Critical
Publication of KR102298776B1 publication Critical patent/KR102298776B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/4072Circuits for initialization, powering up or down, clearing memory or presetting
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/408Address circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Dram (AREA)

Abstract

Provided is a semiconductor device capable of generating an address in which refresh is performed. The semiconductor device comprises: an operation clock generation circuit for generating a first operation clock to perform a cumulative storage mode, and generating a random mode operation clock to perform a random storage mode; and a refresh address generation circuit including first and second address storage circuits in which an input address is stored in the cumulative storage mode, and including a third address storage circuit in which the input address is stored in the random storage mode.

Description

반도체장치{SEMICONDUCTOR DEVICE}Technical Field [0001] The present invention relates to a semiconductor device,

본 발명은 리프레쉬를 수행할 수 있는 반도체장치에 관한 것이다.The present invention relates to a semiconductor device capable of performing refreshing.

반도체장치는 데이터를 저장하기 위한 다수의 메모리 셀을 구비하고 있다. 메모리 셀 각각은 셀 커패시터(capacitor)와 셀 트랜지스터(transistor)로 구성된다. 반도체장치는 셀 커패시터에 전하를 충전하거나 방전하는 동작을 통해 데이터를 저장하며, 셀 커패시터에 저장된 전하량은 이상적으로 항상 일정해야 한다. 그러나 주변 회로와의 전압 차이로 인하여 셀 커패시터에 저장된 전하량이 변하게 된다. 이와 같이 셀 커패시터의 전하량이 변화된다는 것은 셀 커패시터에 저장된 데이터가 변화됨을 의미하며, 이는 저장된 데이터의 유실을 의미한다. 반도체장치는 이와 같이 데이터가 유실되는 현상을 방지하기 위하여 리프레시(refresh) 동작을 수행한다. A semiconductor device has a plurality of memory cells for storing data. Each of the memory cells is composed of a cell capacitor and a cell transistor. The semiconductor device stores data through an operation of charging or discharging a charge in the cell capacitor, and the amount of charge stored in the cell capacitor should ideally be always constant. However, the amount of charge stored in the cell capacitor changes due to the voltage difference with the peripheral circuit. The change of the charge amount of the cell capacitor in this way means that the data stored in the cell capacitor is changed, which means that the stored data is lost. The semiconductor device performs a refresh operation in order to prevent the data from being lost.

한편, 공정 기술이 발달함에 따라 반도체장치의 집적도가 점점 증가하므로 메모리 셀 간의 간격이 줄어들고, 메모리 셀들 각각에 연결되어 있는 워드라인(word line) 사이의 간격이 줄어들고 있다. 워드라인 간의 간격이 좁아지면 인접한 워드라인 사이에 간섭 효과가 발생하게 되어 해당 워드라인에 연결되어 있는 메모리 셀에 저장된 데이터가 유지되기 어려운 상태가 될 수 있다. 즉, 데이터가 유실될 수 있는 확률이 증가한다.  On the other hand, as the process technology is developed, the degree of integration of the semiconductor devices increases gradually, so that the interval between the memory cells is reduced and the interval between the word lines connected to each of the memory cells is reduced. If the spacing between the word lines is narrowed, an interference effect occurs between adjacent word lines, so that the data stored in the memory cells connected to the word lines can not be maintained. That is, the probability that data may be lost increases.

최근 반도체장치는 워드라인 사이의 간섭 효과에 의해 엑세스(access)가 집중되는 타겟 워드라인(target word line)에 인접한 인접 워드라인에 대해 추가 리프레시 동작을 수행함으로써, 인접 워드라인에 연결된 메모리셀의 데이터가 워드라인 사이의 간섭 효과에 따라 데이터가 유실되는 것을 방지하고 있다. 타겟 워드라인이 액티브될 때 인접 워드라인에 대해 리프레쉬를 수행하는 것을 스마트리프레쉬(smart refresh)라고 한다.Recently, a semiconductor device performs an additional refresh operation on an adjacent word line adjacent to a target word line in which access is concentrated due to an interference effect between word lines, thereby obtaining data of a memory cell connected to an adjacent word line Thereby preventing the data from being lost due to the interference effect between the word lines. Performing a refresh on an adjacent word line when the target word line is active is referred to as smart refresh.

본 발명은 리프레쉬가 수행되는 어드레스를 생성할 수 있는 반도체장치를 제공한다.The present invention provides a semiconductor device capable of generating an address where refreshing is performed.

이를 위해 본 발명은 누적저장모드를 수행하기 위해 제1 동작클럭을 생성하고, 임의저장모드를 수행하기 위해 임의모드동작클럭을 생성하는 동작클럭생성회로; 및 상기 누적저장모드에서 입력어드레스가 저장되는 제1 어드레스저장회로 및 제2 어드레스저장회로를 포함하고, 상기 임의저장모드에서 상기 입력어드레스가 저장되는 제3 어드레스저장회로를 포함하는 리프레쉬어드레스생성회로를 포함하되, 상기 제3 어드레스저장회로에 저장되는 어드레스에 대응되는 카운터코드는 상기 제1 어드레스저장회로 또는 상기 제2 어드레스저장회로에 저장되는 어드레스에 대응되는 카운터코드보다 더 큰 비트 수만큼 카운팅되도록 설정되는 반도체장치를 제공한다.To this end, the present invention comprises an operation clock generation circuit for generating a first operation clock for performing a cumulative storage mode, and for generating an arbitrary mode operation clock for performing an arbitrary storage mode; And a third address storage circuit including a first address storage circuit and a second address storage circuit in which an input address is stored in the cumulative storage mode and in which the input address is stored in the arbitrary storage mode, The counter code corresponding to the address stored in the third address storage circuit is set to be counted by a larger number of bits than the counter code corresponding to the address stored in the first address storage circuit or the second address storage circuit And a semiconductor device.

또한, 본 발명은 누적저장모드에서 입력어드레스가 저장되는 제1 어드레스저장회로 및 제2 어드레스저장회로를 포함하고, 임의저장모드에서 상기 입력어드레스가 저장되는 제3 어드레스저장회로를 포함하는 리프레쉬어드레스생성회로; 및 상기 제1 어드레스저장회로에 저장된 어드레스에 대응되는 제1 카운터코드를 생성하고, 상기 제2 어드레스저장회로에 저장된 어드레스에 대응되는 제2 카운터코드를 생성하며, 상기 제3 어드레스저장회로에 저장된 어드레스에 대응되는 제3 카운터코드를 생성하는 카운터코드생성회로를 포함하는 반도체장치를 제공한다.The invention also relates to a method for generating a refresh address comprising a first address storage circuit and a second address storage circuit in which an input address is stored in a cumulative storage mode and a third address storage circuit in which the input address is stored in an arbitrary storage mode Circuit; And generating a first counter code corresponding to the address stored in the first address storage circuit and generating a second counter code corresponding to the address stored in the second address storage circuit, And a counter code generation circuit for generating a third counter code corresponding to the second counter code.

본 발명에 의하면 액티브동작이 수행되는 어드레스와 어드레스에 대응되는 코드값을 저장하여 리프레쉬가 필요한 어드레스를 모니터링할 수 있는 효과가 있다. According to the present invention, it is possible to monitor an address requiring refresh by storing an address at which an active operation is performed and a code value corresponding to the address.

또한, 본 발명에 의하면 액티브동작이 수행된 어드레스들 중 코드값에 따라 리프레쉬가 수행되는 어드레스를 선택함으로써, 불필요하게 리프레쉬가 수행되는 것을 막아 전력소모를 절감할 수 있는 효과도 있다.In addition, according to the present invention, an address to be refreshed is selected according to a code value among addresses to which an active operation is performed, thereby preventing unnecessary refreshing and reducing power consumption.

또한, 본 발명에 의하면 가중치가 부여된 횟수만큼 코드값이 카운팅되는 임의저장방식을 제공함으로써, 다양한 방식으로 리프레쉬를 수행할 수 있는 효과도 있다.In addition, according to the present invention, an arbitrary storage method in which a code value is counted by the number of times the weight value is given is provided, thereby refreshing can be performed in various ways.

도 1은 본 발명의 일 실시예에 따른 반도체장치의 구성을 도시한 블록도이다.
도 2는 도 1에 도시된 반도체장치에 포함된 임의저장모드신호생성회로의 일 실시예에 따른 회로도이다.
도 3은 도 1에 도시된 반도체장치에 포함된 동작클럭생성회로의 일 실시예에 따른 구성을 도시한 도면이다.
도 4는 도 1에 도시된 반도체장치에 포함된 리프레쉬어드레스생성회로의 일 실시예에 따른 구성을 도시한 도면이다.
도 5는 도 4에 도시된 리프레쉬어드레스생성회로에서 입력제어신호가 생성되는 동작을 설명하기 위한 표이다.
도 6은 도 4에 도시된 리프레쉬어드레스생성회로에서 출력제어신호가 생성되는 동작을 설명하기 위한 표이다.
도 7은 도 1에 도시된 반도체장치에 포함된 저장선택신호생성회로의 일 실시예에 따른 회로도이다.
도 8은 도 7에 도시된 저장선택신호생성회로의 동작을 설명하기 위한 타이밍도이다.
도 9는 도 1에 도시된 반도체장치에 포함된 최대저장선택신호생성회로의 일 실시예에 따른 회로도이다.
도 10은 도 9에 도시된 최대저장선택신호생성회로의 동작을 설명하기 위한 타이밍도이다.
도 11은 도 1에 도시된 반도체장치에 포함된 비교코드생성회로의 일 실시예에 따른 회로도이다.
도 12는 도 11에 도시된 비교코드생성회로의 동작을 설명하기 위한 도면이다.
도 13은 도 1에 도시된 반도체장치에 포함된 코드비교신호생성회로의 일 실시예에 따른 회로도이다.
도 14는 도 1에 도시된 반도체장치에 포함된 감지신호생성회로의 일 실시예에 따른 구성을 도시한 도면이다.
도 15는 도 14에 도시된 감지신호생성회로에서 어드레스비교선택신호가 생성되는 동작을 설명하기 위한 표이다.
도 16은 도 14에 도시된 감지신호생성회로에서 코드비교선택신호가 생성되는 동작을 설명하기 위한 표이다.
도 17은 도 14에 도시된 감지신호생성회로에 포함된 디코더의 일 실시예에 따른 회로도이다.
도 18은 도 17에 도시된 디코더의 동작을 설명하기 위한 표이다.
도 19는 도 1에 도시된 반도체장치에 포함된 비교클럭생성회로의 일 실시예에 따른 구성을 도시한 블록도이다.
도 20은 도 1에 도시된 반도체장치에 포함된 카운터선택생성회로의 일 실시예에 따른 회로도이다.
도 21은 도 20에 도시된 카운터선택생성회로의 동작을 설명하기 위한 표이다.
도 22는 도 1에 도시된 반도체장치에 포함된 카운터리셋신호생성회로의 일 실시예에 따른 회로도이다.
도 23은 도 1에 도시된 반도체장치에 포함된 카운터코드생성회로의 일 실시예에 따른 구성을 도시한 블록도이다.
도 24는 도 23에 도시된 카운터코드생성회로에 포함된 제1 카운터코드생성회로의 일 실시예에 따른 구성을 도시한 블록도이다.
도 25는 도 23에 도시된 카운터코드생성회로에 포함된 제2 카운터코드생성회로의 일 실시예에 따른 구성을 도시한 블록도이다.
도 26은 도 23에 도시된 카운터코드생성회로에 포함된 제3 카운터코드생성회로의 일 실시예에 따른 구성을 도시한 블록도이다.
도 27은 본 발명의 일 실시예에 따른 반도체장치의 동작을 설명하기 위한 타이밍도이다.
도 28은 도 1 내지 도 27에서 설명한 반도체장치가 적용된 전자시스템의 일 실시예에 따른 구성을 도시한 도면이다.
1 is a block diagram showing a configuration of a semiconductor device according to an embodiment of the present invention.
2 is a circuit diagram according to an embodiment of the arbitrary storage mode signal generation circuit included in the semiconductor device shown in FIG.
3 is a diagram illustrating a configuration according to an embodiment of an operation clock generation circuit included in the semiconductor device shown in FIG.
4 is a diagram showing a configuration according to an embodiment of the refresh address generating circuit included in the semiconductor device shown in FIG.
5 is a table for explaining an operation in which an input control signal is generated in the refresh address generating circuit shown in Fig.
6 is a table for explaining the operation in which the output control signal is generated in the refresh address generating circuit shown in Fig.
7 is a circuit diagram according to an embodiment of the storage selection signal generation circuit included in the semiconductor device shown in FIG.
8 is a timing chart for explaining the operation of the storage selection signal generation circuit shown in FIG.
9 is a circuit diagram according to one embodiment of the maximum storage selection signal generation circuit included in the semiconductor device shown in FIG.
10 is a timing chart for explaining the operation of the maximum storage selection signal generating circuit shown in FIG.
11 is a circuit diagram according to an embodiment of the comparison code generation circuit included in the semiconductor device shown in FIG.
12 is a diagram for explaining the operation of the comparison code generation circuit shown in Fig.
13 is a circuit diagram according to an embodiment of the code comparison signal generation circuit included in the semiconductor device shown in FIG.
FIG. 14 is a diagram illustrating a configuration of a sense signal generation circuit included in the semiconductor device shown in FIG. 1 according to an embodiment of the present invention.
15 is a table for explaining an operation in which the address comparison selection signal is generated in the sense signal generation circuit shown in FIG.
16 is a table for explaining an operation in which a code comparison selection signal is generated in the sense signal generation circuit shown in FIG.
17 is a circuit diagram according to an embodiment of a decoder included in the sense signal generation circuit shown in FIG.
18 is a table for explaining the operation of the decoder shown in Fig.
19 is a block diagram showing a configuration according to an embodiment of a comparison clock generation circuit included in the semiconductor device shown in FIG.
20 is a circuit diagram according to an embodiment of the counter selection generation circuit included in the semiconductor device shown in FIG.
21 is a table for explaining the operation of the counter selection generating circuit shown in Fig.
22 is a circuit diagram according to one embodiment of the counter reset signal generation circuit included in the semiconductor device shown in FIG.
23 is a block diagram showing a configuration according to an embodiment of the counter code generation circuit included in the semiconductor device shown in FIG.
24 is a block diagram showing a configuration according to an embodiment of the first counter code generation circuit included in the counter code generation circuit shown in FIG.
25 is a block diagram showing a configuration according to an embodiment of a second counter code generation circuit included in the counter code generation circuit shown in FIG.
26 is a block diagram showing a configuration according to an embodiment of the third counter code generation circuit included in the counter code generation circuit shown in FIG.
27 is a timing chart for explaining the operation of the semiconductor device according to the embodiment of the present invention.
28 is a view showing a configuration according to an embodiment of an electronic system to which the semiconductor device described in Figs. 1 to 27 is applied.

이하, 실시예를 통하여 본 발명을 더욱 상세히 설명하기로 한다. 이들 실시예는 단지 본 발명을 예시하기 위한 것이며, 본 발명의 권리 보호 범위가 이들 실시예에 의해 제한되는 것은 아니다. Hereinafter, the present invention will be described in more detail with reference to Examples. These embodiments are only for illustrating the present invention, and the scope of rights of the present invention is not limited by these embodiments.

도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 반도체장치는 임의저장모드신호생성회로(1), 동작클럭생성회로(2), 리프레쉬어드레스생성회로(3), 선택신호제어회로(4), 코드비교제어회로(5), 감지신호생성회로(6), 카운터리셋제어회로(7) 및 카운터코드생성회로(8)를 포함할 수 있다.1, a semiconductor device according to an embodiment of the present invention includes an arbitrary storage mode signal generation circuit 1, an operation clock generation circuit 2, a refresh address generation circuit 3, a selection signal control circuit 4, a code comparison control circuit 5, a sense signal generation circuit 6, a counter reset control circuit 7, and a counter code generation circuit 8.

임의저장모드신호생성회로(1)는 오실레이션신호(OSC), 프리차지커맨드(PCG) 및 리셋신호(RST)에 응답하여 임의저장모드신호(RSM)를 생성할 수 있다. 임의저장모드신호생성회로(1)는 프리차지커맨드(PCG)가 기설정된 횟수만큼 발생되는 경우 오실레이션신호(OSC)로부터 임의저장모드신호(RSM)를 발생시킬 수 있다. 오실레이션신호(OSC)는 기설정된 주기를 갖고 토글링하는 주기신호로서 반도체장치 내부에 포함된 오실레이터(미도시)에서 생성될 수 있다. 임의저장모드신호(RSM)가 발생되는 경우 임의저장모드가 실행될 수 있다. 임의저장모드에서는 액티브동작이 수행되는 어드레스에 대응되는 코드를 임의로 설정된 횟수만큼 카운팅하고, 액티브동작이 수행되는 어드레스를 기설정된 저장회로(미도시)에 저장하는 동작들이 수행될 수 있다. 임의저장모드신호(RSM)를 발생시키기 위한 프리차지커맨드(PCG)의 기설정된 횟수는 실시예에 따라서 다양하게 설정될 수 있다. 예를 들어, 임의저장모드신호(RSM)는 프리차지커맨드(PCG)가 3회 발생되는 경우 오실레이션신호(OSC)로부터 발생될 수 있다. 임의저장모드신호생성회로(1)는 리셋신호(RST)가 발생되는 경우 임의저장모드신호(RSM)를 초기화할 수 있다. 임의저장모드신호(RSM)가 초기화되는 논리레벨은 실시예에 따라서 다양하게 설정될 수 있다.The random storage mode signal generating circuit 1 may generate a random storage mode signal RSM in response to the oscillation signal OSC, the precharge command PCG and the reset signal RST. The arbitrary storage mode signal generation circuit 1 may generate an arbitrary storage mode signal RSM from the oscillation signal OSC when the precharge command PCG is generated a predetermined number of times. The oscillation signal OSC may be generated in an oscillator (not shown) included in the semiconductor device as a periodic signal that toggles with a predetermined period. An arbitrary storage mode can be executed when an arbitrary storage mode signal (RSM) is generated. In the arbitrary storage mode, the code corresponding to the address at which the active operation is performed may be counted a predetermined number of times, and an operation in which an active operation is performed may be performed in a predetermined storage circuit (not shown). The predetermined number of precharge commands PCG for generating the arbitrary storage mode signal RSM may be variously set according to the embodiment. For example, the arbitrary storage mode signal RSM may be generated from the oscillation signal OSC when the precharge command PCG is generated three times. The arbitrary storage mode signal generation circuit 1 can initialize the arbitrary storage mode signal RSM when the reset signal RST is generated. The logic level at which the arbitrary storage mode signal RSM is initialized can be variously set according to the embodiment.

동작클럭생성회로(2)는 액티브커맨드(ACT), 카운터리셋신호(CNT_RST<1:3>), 임의저장모드신호(RSM), 임의모드동작클럭(R_CLK), 동일감지신호(S_DET), 최소감지신호(MIN_DET), 리셋신호(RST) 및 최대감지신호(MAX_DET)에 응답하여 제1 동작클럭(S_CLK), 제2 동작클럭(X_CLK), 제3 동작클럭(H_CLK), 임의모드동작클럭(R_CLK) 및 종료신호(STOP)를 생성할 수 있다. 액티브커맨드(ACT)는 액티브동작을 수행하기 위해 발생될 수 있다. 최소감지신호(MIN_DET)는 누적저장모드에서 액티브동작이 수행되는 어드레스들에 대응되는 코드들 중 가장 적게 카운팅된 코드를 찾는 최소카운팅 코드 검색동작이 완료되는 경우 인에이블될 수 있다. 리셋신호(RST)는 초기화동작에서 발생될 수 있다. 최대감지신호(MAX_DET)는 임의저장모드 또는 누적저장모드에서 액티브동작이 수행되는 어드레스들에 대응되는 코드들 중 가장 많이 카운팅된 코드를 찾는 최대카운팅 코드 검색동작이 완료되는 경우 인에이블될 수 있다. 동작클럭생성회로(2)는 누적저장모드를 수행하기 위해 제1 동작클럭(S_CLK)을 생성할 수 있다. 누적저장모드에서는 액티브동작이 수행되는 어드레스에 대응되는 코드를 1비트만큼 카운팅하고, 액티브동작이 수행되는 어드레스를 저장회로들(미도시) 중 어드레스가 저장되지 않은 저장회로 또는 최소 횟수만큼 액티브동작이 수행된 어드레스가 저장된 저장회로에 저장하는 동작들이 수행될 수 있다. 동작클럭생성회로(2)는 최대카운팅 코드 검색동작을 수행하기 위해 제2 동작클럭(X_CLK)을 생성할 수 있다. 동작클럭생성회로(2)는 최소카운팅 코드 검색동작을 수행하기 위해 제3 동작클럭(H_CLK)을 생성할 수 있다. 동작클럭생성회로(2)는 임의저장모드 또는 누적저장모드에서 최대카운팅 코드 검색동작을 수행하기 위해 제3 동작클럭(H_CLK)을 생성할 수 있다. 동작클럭생성회로(2)는 임의저장모드에서 액티브동작이 수행되는 어드레스를 저장하거나 액티브동작이 수행되는 어드레스에 대응하는 코드를 임의로 설정된 횟수만큼 카운팅하기 위한 임의모드동작클럭(R_CLK)을 생성할 수 있다. 동작클럭생성회로(2)는 임의저장모드가 수행되는 경우 제1 동작클럭(S_CLK)을 생성을 중단하고, 제2 동작클럭(X_CLK)을 생성하기 위해 인에이블되는 종료신호(STOP)를 생성할 수 있다. 동작클럭생성회로(2)는 액티브동작이 수행된 후 저장회로들(미도시)에 저장된 어드레스와 동일한 어드레스가 입력되는 경우 인에이블되는 종료신호(STOP)를 생성할 수 있다. 동작클럭생성회로(2)는 최소카운팅 코드 검색동작이 수행된 후 또는 리셋신호(RST)가 발생한 경우 인에이블되는 종료신호(STOP)를 생성할 수 있다. The operation clock generation circuit 2 generates an operation clock CLK by using the active command ACT, the counter reset signal CNT_RST <1: 3>, the arbitrary storage mode signal RSM, the arbitrary mode operation clock R_CLK, The first operation clock S_CLK, the second operation clock X_CLK, the third operation clock H_CLK, and the random mode operation clock (in this case, the first operation clock S_CLK, the second operation clock X_CLK, and the second operation clock H_CLK) in response to the detection signal MIN_DET, the reset signal RST, R_CLK and an end signal STOP. The active command ACT may be generated to perform an active operation. The minimum sense signal MIN_DET may be enabled when the minimum counting code search operation for finding the least counted code among the codes corresponding to the addresses for which the active operation is performed in the cumulative storage mode is completed. The reset signal RST may be generated in the initialization operation. The maximum sense signal MAX_DET may be enabled when the maximum counting code search operation for finding the most counted code among the codes corresponding to the addresses in which the active operation is performed in the random storage mode or the cumulative storage mode is completed. The operation clock generation circuit 2 may generate the first operation clock S_CLK to perform the cumulative storage mode. In the cumulative storage mode, a code corresponding to an address at which an active operation is performed is counted by one bit, and an address in which an active operation is performed is stored in a storage circuit (not shown) And storing the executed address in a storage circuit in which the address is stored. The operation clock generation circuit 2 may generate the second operation clock X_CLK to perform the maximum counting code search operation. The operation clock generation circuit 2 may generate the third operation clock H_CLK to perform the minimum counting code search operation. The operation clock generation circuit 2 may generate the third operation clock H_CLK to perform the maximum counting code search operation in the arbitrary storage mode or the cumulative storage mode. The operation clock generation circuit 2 can generate an arbitrary mode operation clock R_CLK for storing an address in which an active operation is performed in an arbitrary storage mode or counting a code corresponding to an address at which an active operation is performed, have. The operation clock generation circuit 2 generates the first operation clock S_CLK when the arbitrary storage mode is performed and generates the end signal STOP enabled to generate the second operation clock X_CLK . The operation clock generation circuit 2 can generate an end signal STOP which is enabled when an address identical to the address stored in the storage circuits (not shown) is inputted after the active operation is performed. The operation clock generation circuit 2 can generate the end signal STOP which is enabled after the minimum counting code search operation is performed or when the reset signal RST occurs.

리프레쉬어드레스생성회로(3)는 액티브커맨드(ACT), 입력어드레스(IADD), 저장선택신호(S_SEL<1:2>), 최소감지신호(MIN_DET), 리프레쉬활성화신호(SREN), 임의모드동작클럭(R_CLK) 및 카운터리셋신호(CNT_RST<1:3>)에 응답하여 래치코드(LC<1:3>) 및 리프레쉬어드레스(SR_ADD)를 생성할 수 있다. 리프레쉬어드레스생성회로(3)는 액티브커맨드(ACT)가 발생된 상태에서 입력어드레스(IADD)를 저장할 수 있다. 리프레쉬어드레스생성회로(3)는 액티브동작이 수행되는 입력어드레스(IADD)가 이미 저장된 어드레스와 동일한 경우 저장된 어드레스에 대응되는 코드를 카운팅할 수 있다. 리프레쉬어드레스생성회로(3)는 액티브동작이 수행되는 입력어드레스(IADD)가 이미 저장된 어드레스와 상이한 경우 저장회로들(미도시) 중 최소 횟수만큼 액티브동작이 수행된 어드레스가 저장된 저장회로(미도시)에 입력어드레스(IADD)를 저장할 수 있다. 리프레쉬어드레스생성회로(3)는 임의저장모드에서 액티브동작이 수행되는 입력어드레스(IADD)가 이미 저장된 어드레스와 상이한 경우 저장회로들(미도시) 중 기 설정된 저장회로(미도시)에 입력어드레스(IADD)를 저장할 수 있다. 리프레쉬활성화신호(SREN)는 스마트리프레쉬를 포함하는 리프레쉬 수행을 위해 인에이블되는 신호일 수 있다. 리프레쉬어드레스생성회로(3)는 저장된 어드레스에 대응하는 코드들을 래치코드(LC<1:3>)로 출력할 수 있다. 리프레쉬어드레스생성회로(3)는 인에이블된 리프레쉬활성화신호(SREN)가 입력된 상태에서 저장된 어드레스에 대응하는 코드가 기설정된 횟수만큼 카운팅된 경우 저장된 어드레스를 리프레쉬어드레스(SR_ADD)로 출력할 수 있다. 리프레쉬어드레스(SR_ADD)에 의해 엑세스되는 셀은 기설정된 횟수만큼 액티브 동작이 수행되었으므로, 리프레쉬가 수행될 수 있다. 리프레쉬어드레스(SR_ADD)에 의해 수행되는 리프레쉬에는 인접 셀에 대한 리프레쉬를 포함할 수 있다.The refresh address generating circuit 3 generates the refresh address signal ACT and the input address IADD and the storage selection signals S_SEL <1: 2>, the minimum sense signal MIN_DET, the refresh activation signal SREN, 1>: 3> and the refresh address SR_ADD in response to the counter reset signal R_CLK and the counter reset signal CNT_RST <1: 3>. The refresh address generating circuit 3 can store the input address IADD in a state in which the active command ACT is generated. The refresh address generating circuit 3 may count the code corresponding to the stored address if the input address IADD for which the active operation is performed is the same as the address already stored. The refresh address generating circuit 3 includes a storage circuit (not shown) storing an address at which an active operation is performed at least a minimum number of times of storage circuits (not shown) when an input address IADD for performing an active operation differs from an address already stored, Lt; RTI ID = 0.0 &gt; IADD. &Lt; / RTI &gt; The refresh address generating circuit 3 generates an input address IADD (not shown) in a predetermined storage circuit (not shown) of the storage circuits (not shown) when the input address IADD in which the active operation is performed in the arbitrary storage mode differs from the address already stored ). &Lt; / RTI &gt; The refresh activation signal SREN may be a signal that is enabled for refresh execution including smart refresh. The refresh address generating circuit 3 can output the codes corresponding to the stored addresses as the latch codes LC &lt; 1: 3 &gt;. The refresh address generating circuit 3 can output the stored address as the refresh address SR_ADD when the code corresponding to the address stored in the state where the enabled refresh activation signal SREN is input is counted by the preset number of times. Since the cell accessed by the refresh address SR_ADD has been activated a predetermined number of times, refresh can be performed. The refresh performed by the refresh address SR_ADD may include a refresh for the adjacent cell.

선택신호제어회로(4)는 저장선택신호생성회로(41) 및 최대저장선택신호생성회로(42)를 포함할 수 있다. 저장선택신호생성회로(41)는 제1 동작클럭(S_CLK)에 동기하여 카운팅되는 저장선택신호(S_SEL<1:2>)를 생성할 수 있다. 저장선택신호생성회로(41)는 제1 동작클럭(S_CLK)이 로직로우레벨에서 로직하이레벨로 천이하는 시점(이하 '라이징에지'로 지칭함)에 동기하여 초기화 상태의 '00'에서부터 '01', '10', '11'로 1비트씩 순차적으로 업(up) 카운팅되는 저장선택신호(S_SEL<1:2>)를 생성할 수 있다. 저장선택신호(S_SEL<1:2>)가 '01'이라함은 저장선택신호의 첫번째 비트(S_SEL<1>)가 로직하이레벨이고, 저장선택신호의 두번째 비트(S_SEL<2>)가 로직로우레벨임을 의미한다. 최대저장선택신호생성회로(42)는 제2 동작클럭(X_CLK)에 동기하여 카운팅되는 최대저장선택신호(M_SEL<1:2>)를 생성할 수 있다. 최대저장선택신호생성회로(42)는 제2 동작클럭(X_CLK)의 라이징에지에 동기하여 초기화 상태의 '00'에서부터 '01', '10', '11'로 1비트씩 순차적으로 업(up) 카운팅되는 최대저장선택신호(M_SEL<1:2>)를 생성할 수 있다. 최대저장선택신호(M_SEL<1:2>)가 '10'이라함은 최대저장선택신호의 첫번째 비트(M_SEL<1>)가 로직로우레벨이고, 최대저장선택신호의 두번째 비트(M_SEL<2>)가 로직하이레벨임을 의미한다.The selection signal control circuit 4 may include a storage selection signal generation circuit 41 and a maximum storage selection signal generation circuit 42. [ The storage selection signal generation circuit 41 can generate the storage selection signal S_SEL <1: 2> that is counted in synchronization with the first operation clock S_CLK. The storage selection signal generation circuit 41 generates the storage selection signal generating circuit 41 from '00' to '01' in the initial state in synchronization with the time point (hereinafter referred to as 'rising edge') at which the first operation clock S_CLK transitions from a logic low level to a logic high level. 1 &gt; 2 &gt;), which are sequentially counted up by one bit by one bit in the order of '10' and '11'. The storage select signal S_SEL <1: 2> is '01' indicating that the first bit S_SEL <1> of the storage select signal is at a logic high level and the second bit S_SEL < Which means low level. The maximum storage selection signal generation circuit 42 may generate the maximum storage selection signal M_SEL <1: 2> that is counted in synchronization with the second operation clock X_CLK. The maximum storage selection signal generating circuit 42 sequentially outputs 1 bit in the initial state from '00' to '01', '10', '11' in synchronization with the rising edge of the second operation clock X_CLK (M_SEL &lt; 1: 2 &gt;) to be counted. 1 &quot;) of the maximum storage selection signal is a logic low level and the second bit (M_SEL < 2 >) of the maximum storage selection signal is M_SEL < ) Is a logic high level.

코드비교제어회로(5)는 비교코드생성회로(51) 및 코드비교신호생성회로(52)를 포함할 수 있다. 비교코드생성회로(51)는 제3 동작클럭(H_CLK), 종료신호(STOP) 및 최대감지신호(MAX_DET)에 응답하여 코드설정신호(STA) 및 비교코드(SCD<1:2>)를 생성할 수 있다. 비교코드생성회로(51)는 최대카운팅 코드 검색동작이 수행되기 전에는 제1 로직레벨을 갖는 코드설정신호(STA)를 생성할 수 있고, 최대카운팅 코드 검색동작이 수행되는 경우 제2 로직레벨을 갖는 코드설정신호(STA)를 생성할 수 있다. 코드설정신호(STA)의 제1 로직레벨 및 제2 로직레벨은 실시예에 따라서 다르게 설정될 수 있다. 비교코드생성회로(51)는 제3 동작클럭(H_CLK)의 라이징에지에 동기하여 카운팅되는 비교코드(SCD<1:2>)를 생성할 수 있다. 비교코드생성회로(51)는 코드설정신호(STA)의 논리레벨에 따라 비교코드(SCD<1:2>)를 다른 방식으로 카운팅할 수 있다. 비교코드생성회로(51)는 코드설정신호(STA)가 제1 로직레벨인 경우 제3 동작클럭(H_CLK)의 라이징에지에 동기하여 초기화 상태의 '00'에서부터 '01', '10', '11'로 1비트씩 순차적으로 업(up) 카운팅되는 비교코드(SCD<1:2>)를 생성할 수 있다. 비교코드생성회로(51)는 코드설정신호(STA)가 제2 로직레벨인 경우 제3 동작클럭(H_CLK)의 라이징에지에 동기하여 초기화 상태의 '11'에서부터 '10', '01', '00'으로 1비트씩 순차적으로 다운카운팅되는 비교코드(SCD<1:2>)를 생성할 수 있다. 코드비교신호생성회로(52)는 비교코드(SCD<1:2>)와 제1 카운터코드(CNT_CD1<1:2>)를 비교하여 코드비교신호의 첫번째 비트(CD_COM<1>)를 생성할 수 있다. 코드비교신호생성회로(52)는 비교코드(SCD<1:2>)와 제2 카운터코드(CNT_CD2<1:2>)를 비교하여 코드비교신호의 두번째 비트(CD_COM<2>)를 생성할 수 있다. 코드비교신호생성회로(52)는 비교코드(SCD<1:2>)와 제3 카운터코드(CNT_CD3<1:2>)를 비교하여 코드비교신호의 세번째 비트(CD_COM<3>)를 생성할 수 있다. The code comparison control circuit 5 may include a comparison code generation circuit 51 and a code comparison signal generation circuit 52. [ The comparison code generation circuit 51 generates the code setting signal STA and the comparison code SCD <1: 2> in response to the third operation clock H_CLK, the end signal STOP and the maximum sense signal MAX_DET can do. The comparison code generating circuit 51 may generate a code setting signal STA having a first logic level before the maximum counting code search operation is performed and may generate a code setting signal STA having a second logic level The code setting signal STA can be generated. The first logic level and the second logic level of the code setting signal STA may be set differently according to the embodiment. The comparison code generation circuit 51 may generate a comparison code SCD <1: 2> that is counted in synchronization with the rising edge of the third operation clock H_CLK. The comparison code generation circuit 51 can count the comparison codes SCD <1: 2> in a different manner according to the logic level of the code setting signal STA. When the code setting signal STA is at the first logic level, the comparison code generating circuit 51 generates the comparison code generating circuit 51 in synchronization with the rising edge of the third operation clock H_CLK from '00' to '01', '10' (SCD &lt; 1: 2 &gt;), which is sequentially counted up by 1 bit by 11 bits. When the code setting signal STA is at the second logic level, the comparison code generating circuit 51 generates the comparison code generating circuit 51 in synchronization with the rising edge of the third operation clock H_CLK from '11' to '10', '01' (SCD &lt; 1: 2 &gt;), which is sequentially down-counted by 1 bit to 00 '. The code comparison signal generation circuit 52 compares the comparison code SCD <1: 2> with the first counter code CNT_CD1 <1: 2> to generate the first bit CD_COM <1> of the code comparison signal . The code comparison signal generation circuit 52 compares the comparison code SCD <1: 2> with the second counter code CNT_CD2 <1: 2> to generate the second bit of the code comparison signal CD_COM <2> . The code comparison signal generation circuit 52 compares the comparison code SCD <1: 2> with the third counter code CNT_CD3 <1: 2> to generate the third bit of the code comparison signal CD_COM <3> .

감지신호생성회로(6)는 저장선택신호(S_SEL<1:2>), 래치코드(LC<1:3>), 최대저장선택신호(M_SEL<1:2>), 코드비교신호(CD_COM<1:3>), 코드설정신호(STA) 및 비교코드(SCD<1:2>)에 응답하여 동일감지신호(S_DET), 최소감지신호(MIN_DET) 및 최대감지신호(MAX_DET)를 생성할 수 있다. 감지신호생성회로(6)는 입력어드레스(IADD)가 이미 저장된 어드레스와 동일한 경우 인에이블되는 동일감지신호(S_DET)를 생성할 수 있다. 감지신호생성회로(6)는 누적저장모드에서 액티브동작이 수행되는 어드레스들에 대응되는 코드들 중 가장 적게 카운팅된 코드를 찾는 최소카운팅 코드 검색동작이 수행된 후 인에이블되는 최소감지신호(MIN_DET)를 생성할 수 있다. 감지신호생성회로(6)는 임의저장모드 또는 누적저장모드에서 액티브동작이 수행되는 어드레스들에 대응되는 코드들 중 가장 많이 카운팅된 코드를 찾는 최대카운팅 코드 검색동작 이 수행된 후 인에이블되는 최대감지신호(MAX_DET)를 생성할 수 있다.The sense signal generation circuit 6 generates the sense signal S_SEL <1: 2>, the latch code LC <1: 3>, the maximum save selection signal M_SEL < The minimum sense signal MIN_DET and the maximum sense signal MAX_DET in response to the code set signal STA and the comparison code SCD <1: 2> have. The sense signal generation circuit 6 may generate the same sense signal S_DET that is enabled if the input address IADD is the same as the address already stored. The sense signal generation circuit 6 generates a minimum sense signal MIN_DET that is enabled after the minimum counting code search operation for finding the least counted code among the codes corresponding to the addresses where the active operation is performed in the cumulative storage mode is performed, Lt; / RTI > The detection signal generation circuit 6 detects the maximum counted code among the codes corresponding to the addresses where the active operation is performed in the random storage mode or the cumulative storage mode, It is possible to generate the signal MAX_DET.

카운터리셋제어회로(7)는 비교클럭생성회로(71), 카운터선택신호생성회로(72) 및 카운터리셋신호생성회로(73)를 포함할 수 있다. 비교클럭생성회로(71)는 동일감지신호(S_DET) 및 임의저장모드신호(RSM)에 응답하여 비교클럭(COM_CLK)을 생성할 수 있다. 비교클럭생성회로(71)는 임의저장모드에서 입력어드레스(IADD)가 이미 저장된 어드레스와 동일한 경우 기설정된 횟수만큼 토글링하는 비교클럭(COM_CLK)을 생성할 수 있다. 비교클럭(COM_CLK)이 토글링하는 횟수는 실시예에 따라서 다양하게 설정될 수 있다. 카운터선택신호생성회로(72)는 저장선택신호(S_SEL<1:2>)에 응답하여 카운터선택신호(CNT_SEL<1:3>)를 생성할 수 있다. 카운터선택신호생성회로(72)는 저장선택신호(S_SEL<1:2>)의 논리레벨조합에 따라 선택적으로 인에이블되는 비트를 포함하는 카운터선택신호(CNT_SEL<1:3>)를 생성할 수 있다. 카운터리셋신호생성회로(73)는 카운터선택신호(CNT_SEL<1:3>) 및 최대감지신호(MAX_DET)에 응답하여 카운터리셋신호(CNT_RST<1:3>)를 생성할 수 있다. 카운터리셋신호생성회로(73)는 최대감지신호(MAX_DET)가 인에이블된 상태에서 카운터선택신호(CNT_SEL<1:3>)의 논리레벨조합에 따라 선택적으로 인에이블되는 비트를 포함하는 카운터리셋신호(CNT_RST<1:3>)를 생성할 수 있다.The counter reset control circuit 7 may include a comparison clock generation circuit 71, a counter selection signal generation circuit 72 and a counter reset signal generation circuit 73. [ The comparison clock generation circuit 71 may generate the comparison clock COM_CLK in response to the same sense signal S_DET and the random storage mode signal RSM. The comparison clock generation circuit 71 can generate a comparison clock COM_CLK that toggles a predetermined number of times when the input address IADD is the same as the address already stored in the arbitrary storage mode. The number of times the comparison clock signal COM_CLK is toggled can be variously set according to the embodiment. The counter selection signal generation circuit 72 can generate the counter selection signal CNT_SEL <1: 3> in response to the storage selection signal S_SEL <1: 2>. The counter selection signal generation circuit 72 can generate a counter selection signal CNT_SEL <1: 3> including a bit selectively enabled in accordance with the logical level combination of the storage selection signals S_SEL <1: 2> have. The counter reset signal generation circuit 73 can generate the counter reset signal CNT_RST <1: 3> in response to the counter selection signals CNT_SEL <1: 3> and the maximum sense signal MAX_DET. The counter reset signal generation circuit 73 generates a counter reset signal CNT_SEL <1: 3> including a bit selectively enabled in accordance with the logic level combination of the counter selection signals CNT_SEL <1: 3> in a state in which the maximum sense signal MAX_DET is enabled. (CNT_RST &lt; 1: 3 &gt;).

카운터코드생성회로(8)는 카운터선택신호(CNT_SEL<1:3>), 카운터리셋신호(CNT_RST<1:3>), 비교클럭(COM_CLK), 동일감지신호(S_DET), 최소감지신호(MIN_DET), 임의모드동작클럭(R_CLK) 및 리프레쉬활성화신호(SREN)에 응답하여 제1 카운터코드(CNT_CD1<1:2>), 제2 카운터코드(CNT_CD2<1:2>) 및 제3 카운터코드(CNT_CD3<1:2>)를 생성할 수 있다. 카운터코드생성회로(8)는 카운터선택신호(CNT_SEL<1:3>), 비교클럭(COM_CLK) 및 동일감지신호(S_DET)에 응답하여 제1 카운터코드(CNT_CD1<1:2>), 제2 카운터코드(CNT_CD2<1:2>) 및 제3 카운터코드(CNT_CD3<1:2>)를 카운팅할 수 있다. 카운터코드생성회로(8)는 누적저장모드에서 동일감지신호(S_DET)가 인에이블된 상태에서 카운터선택신호(CNT_SEL<1:3>)에 의해 제1 카운터코드(CNT_CD1<1:2>), 제2 카운터코드(CNT_CD2<1:2>) 및 제3 카운터코드(CNT_CD3<1:2>) 중 하나를 선택하여 카운팅할 수 있다. 카운터코드생성회로(8)는 임의저장모드에서 비교클럭(COM_CLK)이 토글링할 때마다 제1 카운터코드(CNT_CD1<1:2>), 제2 카운터코드(CNT_CD2<1:2>) 및 제3 카운터코드(CNT_CD3<1:2>) 중 카운터선택신호(CNT_SEL<1:3>)에 의해 선택된 코드를 카운팅할 수 있다. 카운터코드생성회로(8)는 리프레쉬활성화신호(SREN)에 의해 리프레쉬가 종료되거나 제1 카운터코드(CNT_CD1<1:2>), 제2 카운터코드(CNT_CD2<1:2>) 및 제3 카운터코드(CNT_CD3<1:2>) 중 모두 카운팅된 코드를 초기화할 수 있다. 카운터코드생성회로(8)는 최소카운팅 코드 검색동작이 종료되는 경우 제1 카운터코드(CNT_CD1<1:2>), 제2 카운터코드(CNT_CD2<1:2>) 및 제3 카운터코드(CNT_CD3<1:2>) 중 카운터선택신호(CNT_SEL<1:3>)의 논리레벨조합에 따라 선택된 코드를 초기화할 수 있다. The counter code generation circuit 8 generates the counter selection signals CNT_SEL <1: 3>, the counter reset signals CNT_RST <1: 3>, the comparison clock COM_CLK, the same sensing signal S_DET, ), The second counter code CNT_CD2 <1: 2>, and the third counter code CNT_CD2 <1: 2> in response to the random mode operation clock R_CLK and the refresh activation signal SREN CNT_CD3 < 1: 2 >). The counter code generation circuit 8 generates the first counter code CNT_CD1 <1: 2> in response to the counter selection signals CNT_SEL <1: 3>, the comparison clock COM_CLK and the same detection signal S_DET, It is possible to count the counter codes CNT_CD2 <1: 2> and the third counter codes CNT_CD3 <1: 2>. The counter code generation circuit 8 generates the first counter code CNT_CD1 <1: 2> by the counter selection signal CNT_SEL <1: 3> while the same sense signal S_DET is enabled in the cumulative storage mode, It is possible to select and count one of the second counter code CNT_CD2 <1: 2> and the third counter code CNT_CD3 <1: 2>. The counter code generation circuit 8 generates the first counter code CNT_CD1 <1: 2>, the second counter code CNT_CD2 <1: 2> and the second counter code CNT_CD2 <1: 2> each time the comparison clock COM_CLK toggles in the arbitrary storage mode. It is possible to count the code selected by the counter selection signal (CNT_SEL <1: 3>) of the three counter codes (CNT_CD3 <1: 2>). The counter code generation circuit 8 outputs the counter code CNT_CD1 <1: 2>, the second counter code CNT_CD2 <1: 2> and the third counter code CNT_CD1 < (CNT_CD3 <1: 2>) can be initialized. The counter code generation circuit 8 generates a first counter code CNT_CD1 <1: 2>, a second counter code CNT_CD2 <1: 2> and a third counter code CNT_CD3 < 1: 2>), the selected code can be initialized according to the logic level combination of the counter selection signal CNT_SEL <1: 3>.

도 2를 참고하면 임의저장모드신호생성회로(1)는 제1 모드래치(11), 제2 모드래치(12) 및 제3 모드래치(13)를 포함할 수 있다. 제1 모드래치(11)는 프리차지커맨드(PCG)가 발생하는 경우 오실레이션신호(OSC)를 래치하여 출력할 수 있다. 제1 모드래치(11)는 리셋신호(RST)가 입력되는 경우 초기화될 수 있다. 제2 모드래치(12)는 프리차지커맨드(PCG)가 발생하는 경우 제1 모드래치(11)의 출력신호를 래치하여 출력할 수 있다. 제2 모드래치(12)는 리셋신호(RST)가 입력되는 경우 초기화될 수 있다. 제3 모드래치(13)는 프리차지커맨드(PCG)가 발생하는 경우 제2 모드래치(12)의 출력신호를 래치하여 출력할 수 있다. 제3 모드래치(13)는 리셋신호(RST)가 입력되는 경우 초기화될 수 있다. 임의저장모드신호생성회로(1)는 프리차지커맨드(PCG)가 3회 발생되는 경우 오실레이션신호(OSC)로부터 임의저장모드를 수행하기 위해 인에이블되는 임의저장모드신호(RSM)를 생성할 수 있다.2, the arbitrary storage mode signal generating circuit 1 may include a first mode latch 11, a second mode latch 12 and a third mode latch 13. [ The first mode latch 11 can latch and output the oscillation signal OSC when the precharge command PCG is generated. The first mode latch 11 can be initialized when the reset signal RST is input. The second mode latch 12 may latch and output the output signal of the first mode latch 11 when the precharge command PCG is generated. The second mode latch 12 can be initialized when the reset signal RST is input. The third mode latch 13 can latch and output the output signal of the second mode latch 12 when the precharge command PCG is generated. The third mode latch 13 can be initialized when the reset signal RST is input. The arbitrary storing mode signal generating circuit 1 can generate an arbitrary storing mode signal RSM which is enabled to perform an arbitrary storing mode from the oscillation signal OSC when the precharge command PCG is generated three times have.

도 3을 참고하면 동작클럭생성회로(2)는 제1 동작클럭생성회로(21), 제2 동작클럭생성회로(22), 종료신호버퍼회로(23) 및 제3 동작클럭생성회로(24)를 포함할 수 있다.3, the operation clock generation circuit 2 includes a first operation clock generation circuit 21, a second operation clock generation circuit 22, a termination signal buffer circuit 23, and a third operation clock generation circuit 24, . &Lt; / RTI &gt;

제1 동작클럭생성회로(21)는 개시신호생성회로(211), 종료신호생성회로(212) 및 클럭출력회로(213)를 포함할 수 있다. 개시신호생성회로(211)는 액티브커맨드(ACT), 카운터리셋신호(CNT_RST<1:3>) 및 임의저장모드신호(RSM)에 응답하여 개시신호(STR)를 생성할 수 있다. 개시신호생성회로(211)는 카운터리셋신호(CNT_RST<1:3>) 및 임의저장모드신호(RSM)가 모두 디스에이블된 상태에서 액티브커맨드(ACT)가 발생하는 경우 인에이블되는 개시신호(STR)를 생성할 수 있다. 개시신호생성회로(211)는 누적저장모드에서 액티브동작이 수행되는 경우 카운터리셋신호(CNT_RST<1:3>)가 모두 디스에이블된 상태에서 인에이블되는 개시신호(STR)를 생성할 수 있다. The first operation clock generation circuit 21 may include a start signal generation circuit 211, a termination signal generation circuit 212, and a clock output circuit 213. The start signal generating circuit 211 can generate the start signal STR in response to the active command ACT, the counter reset signals CNT_RST <1: 3>, and the arbitrary storage mode signal RSM. The start signal generating circuit 211 generates a start signal STR when the active command ACT is generated while the counter reset signals CNT_RST <1: 3> and the arbitrary storage mode signal RSM are both disabled, Can be generated. The start signal generating circuit 211 may generate a start signal STR which is enabled when all the counter reset signals CNT_RST <1: 3> are disabled when an active operation is performed in the cumulative storage mode.

종료신호생성회로(212)는 임의모드동작클럭(R_CLK), 동일감지신호(S_DET), 최소감지신호(MIN_DET) 및 리셋신호(RST)에 응답하여 종료신호(STOP)를 생성할 수 있다. 종료신호생성회로(212)는 임의저장모드가 수행되어 임의모드동작클럭(R_CLK)이 토글링하는 경우 제1 동작클럭(S_CLK)을 생성을 중단하고, 제2 동작클럭(X_CLK)을 생성하기 위해 로직하이레벨로 인에이블되는 종료신호(STOP)를 생성할 수 있다. 종료신호생성회로(212)는 액티브동작이 수행된 후 저장회로들(미도시)에 저장된 어드레스와 동일한 어드레스가 입력되어 동일감지신호(S_DET)가 로직하이레벨로 인에이블되는 경우 로직하이레벨로 인에이블되는 종료신호(STOP)를 생성할 수 있다. 종료신호생성회로(212)는 최소카운팅 코드 검색동작이 수행되어 최소감지신호(MIN_DET)가 로직하이레벨로 인에이블되는 경우 로직하이레벨로 인에이블되는 종료신호(STOP)를 생성할 수 있다. 종료신호생성회로(212)는 리셋신호(RST)가 초기화동작을 위해 로직하이레벨로 발생하는 경우 로직하이레벨로 인에이블되는 종료신호(STOP)를 생성할 수 있다.The termination signal generation circuit 212 may generate the termination signal STOP in response to the arbitrary mode operation clock R_CLK, the same sense signal S_DET, the minimum sense signal MIN_DET and the reset signal RST. The shutdown signal generation circuit 212 stops generation of the first operation clock S_CLK when an arbitrary storage mode is performed and the arbitrary mode operation clock R_CLK is toggled and generates the second operation clock X_CLK And generate a termination signal (STOP) that is enabled to a logic high level. The end signal generation circuit 212 receives an address identical to the address stored in the storage circuits (not shown) after the active operation is performed, and outputs a logic high level when the same sense signal S_DET is enabled to a logic high level. It is possible to generate a termination signal STOP that is enabled. The termination signal generation circuit 212 may generate a termination signal STOP that is enabled to a logic high level when a minimum counting code search operation is performed to enable the minimum sense signal MIN_DET to be a logic high level. The termination signal generation circuit 212 may generate a termination signal STOP that is enabled to a logic high level when the reset signal RST occurs at a logic high level for an initialization operation.

클럭출력회로(213)는 개시신호(STR) 및 종료신호(STOP)에 응답하여 누적저장모드를 수행하기 위한 제1 동작클럭(S_CLK)을 생성할 수 있다. 클럭출력회로(213)는 개시신호(STR)가 인에이블되는 경우 제1 동작클럭(S_CLK)을 생성할 수 있다. 클럭출력회로(213)는 종료신호(STOP)가 인에이블되는 경우 제1 동작클럭(S_CLK)의 생성을 중단할 수 있다.The clock output circuit 213 may generate a first operation clock S_CLK for performing the cumulative storage mode in response to the start signal STR and the end signal STOP. The clock output circuit 213 may generate the first operation clock S_CLK when the start signal STR is enabled. The clock output circuit 213 can stop the generation of the first operation clock S_CLK when the end signal STOP is enabled.

제2 동작클럭생성회로(22)는 종료신호(STOP) 및 최대감지신호(MAX_DET)에 응답하여 제2 동작클럭(X_CLK)을 생성할 수 있다. 제2 동작클럭생성회로(22)는 종료신호(STOP)가 인에이블되는 경우 제2 동작클럭(X_CLK)을 생성할 수 있다. 제2 동작클럭생성회로(22)는 최대감지신호(MAX_DET)가 인에이블되는 경우 제2 동작클럭(X_CLK)의 생성을 중단할 수 있다. 제2 동작클럭생성회로(22)는 임의저장모드 또는 누적저장모드에서 액티브동작이 수행되는 어드레스들에 대응되는 코드들 중 가장 많이 카운팅된 코드를 찾는 최대카운팅 코드 검색동작을 수행하기 위해 제2 동작클럭(X_CLK)을 생성할 수 있다.The second operation clock generation circuit 22 can generate the second operation clock X_CLK in response to the end signal STOP and the maximum sense signal MAX_DET. The second operation clock generation circuit 22 can generate the second operation clock X_CLK when the end signal STOP is enabled. The second operation clock generation circuit 22 can stop the generation of the second operation clock X_CLK when the maximum sense signal MAX_DET is enabled. The second operation clock generation circuit 22 generates a second count clock signal for performing the second count operation to perform the maximum counting code search operation for finding the most counted code among the codes corresponding to the addresses where the active operation is performed in the random storage mode or the cumulative storage mode. It is possible to generate the clock (X_CLK).

종료신호버퍼회로(23)는 종료신호(STOP) 및 최대감지신호(MAX_DET)에 응답하여 버퍼종료신호(BSTOP)를 생성할 수 있다. 종료신호버퍼회로(23)는 최대감지신호(MAX_DET)가 로직로우레벨로 디스에이블된 상태에서 종료신호(STOP)를 버퍼링하여 버퍼종료신호(BSTOP)를 생성할 수 있다. 종료신호버퍼회로(23)는 최대감지신호(MAX_DET)가 로직하이레벨로 인에이블된 경우 로직하이레벨로 인에이블된 버퍼종료신호(BSTOP)를 생성할 수 있다.The end signal buffer circuit 23 can generate the buffer end signal BSTOP in response to the end signal STOP and the maximum sense signal MAX_DET. The termination signal buffer circuit 23 can generate the buffer termination signal BSTOP by buffering the termination signal STOP in a state in which the maximum sense signal MAX_DET is disabled to a logic low level. The termination signal buffer circuit 23 may generate a logic high level enabled buffer termination signal BSTOP when the maximum sense signal MAX_DET is enabled to a logic high level.

제3 동작클럭생성회로(24)는 제1 동작클럭(S_CLK), 제2 동작클럭(X_CLK), 임의저장모드신호(RSM) 및 버퍼종료신호(BSTOP)에 응답하여 제3 동작클럭(H_CLK) 및 임의모드동작클럭(R_CLK)을 생성할 수 있다. 제3 동작클럭생성회로(24)는 제1 동작클럭(S_CLK) 또는 제2 동작클럭(X_CLK)이 생성되는 경우 최소카운팅 코드 검색동작 및 최대카운팅 코드 검색동작을 수행하기 위해 제3 동작클럭(H_CLK)을 생성할 수 있다. 제3 동작클럭생성회로(24)는 임의저장모드에서 인에이블되는 임의저장모드신호(RSM)에 의해 임의모드동작클럭(R_CLK)을 생성할 수 있다.The third operation clock generation circuit 24 generates the third operation clock H_CLK in response to the first operation clock S_CLK, the second operation clock X_CLK, the arbitrary storage mode signal RSM and the buffer end signal BSTOP. And an arbitrary mode operating clock (R_CLK). The third operation clock generation circuit 24 generates the third operation clock H_CLK or the third operation clock H_CLK to perform the minimum counting code search operation and the maximum counting code search operation when the first operation clock S_CLK or the second operation clock X_CLK is generated, Can be generated. The third operating clock generation circuit 24 may generate an arbitrary mode operating clock R_CLK by an arbitrary storage mode signal RSM enabled in an arbitrary storage mode.

도 4를 참고하면 리프레쉬어드레스생성회로(3)는 입력제어신호생성회로(31), 출력제어신호생성회로(32), 제1 래치어드레스생성회로(33), 제2 래치어드레스생성회로(34), 제3 래치어드레스생성회로(35) 및 리프레쉬어드레스출력회로(36)를 포함할 수 있다. 4, the refresh address generating circuit 3 includes an input control signal generating circuit 31, an output control signal generating circuit 32, a first latch address generating circuit 33, a second latch address generating circuit 34, A third latch address generating circuit 35, and a refresh address output circuit 36. [

입력제어신호생성회로(31)는 저장선택신호(S_SEL<1:2>) 및 최소감지신호(MIN_DET)에 응답하여 제1 입력제어신호(PIN1) 및 제2 입력제어신호(PIN2)를 생성할 수 있다. 입력제어신호생성회로(31)는 최소감지신호(MIN_DET)가 로직하이레벨로 인에이블된 상태에서 저장선택신호(S_SEL<1:2>)의 논리레벨조합이 '00'인 경우 로직하이레벨로 인에이블되는 제1 입력제어신호(PIN1)를 생성할 수 있다. 저장선택신호(S_SEL<1:2>)의 논리레벨조합이 '00'인 경우라 함은 저장선택신호(S_SEL<1:2>)에 포함된 모든 비트가 로직로우레벨임을 의미한다. 입력제어신호생성회로(31)는 최소감지신호(MIN_DET)가 로직하이레벨로 인에이블된 상태에서 저장선택신호(S_SEL<1:2>)의 논리레벨조합이 '01'인 경우 로직하이레벨로 인에이블되는 제2 입력제어신호(PIN2)를 생성할 수 있다. 저장선택신호(S_SEL<1:2>)의 논리레벨조합이 '01'인 경우라 함은 저장선택신호의 첫번째 비트(S_SEL<1>)가 로직하이레벨이고, 저장선택신호의 두번째 비트(S_SEL<2>)가 로직로우레벨임을 의미한다.The input control signal generation circuit 31 generates the first input control signal PIN1 and the second input control signal PIN2 in response to the storage selection signals S_SEL <1: 2> and the minimum sensing signal MIN_DET . The input control signal generation circuit 31 generates a logic high level when the logic level combination of the storage select signals S_SEL <1: 2> is '00' in a state where the minimum sense signal MIN_DET is enabled to a logic high level It is possible to generate the first input control signal PIN1 that is enabled. The case where the logic level combination of the storage select signals S_SEL <1: 2> is '00' means that all bits included in the storage select signals S_SEL <1: 2> are logic low levels. The input control signal generation circuit 31 generates a logic high level when the logic level combination of the storage select signals S_SEL <1: 2> is '01' in a state where the minimum sense signal MIN_DET is enabled to a logic high level And generate a second input control signal PIN2 that is enabled. The case where the logic level combination of the storage select signals S_SEL <1: 2> is '01' means that the first bit S_SEL <1> of the storage select signal is a logic high level and the second bit S_SEL &Lt; 2 >) is a logic low level.

출력제어신호생성회로(32)는 리프레쉬활성화신호(SREN) 및 카운터리셋신호(CNT_RST<1:3>)에 응답하여 제1 출력제어신호(POUT1), 제2 출력제어신호(POUT2) 및 제3 출력제어신호(POUT3)를 생성할 수 있다. 출력제어신호생성회로(32)는 리프레쉬활성화신호(SREN)가 로직하이레벨로 인에이블된 상태에서 카운터리셋신호(CNT_RST<1:3>)의 논리레벨조합이 '001'인 경우 로직하이레벨로 인에이블되는 제1 출력제어신호(POUT1)를 생성할 수 있다. 카운터리셋신호(CNT_RST<1:3>)의 논리레벨조합이 '001'인 경우라 함은 카운터리셋신호의 첫번째 비트(CNT_RST<1>)가 로직하이레벨이고, 카운터리셋신호의 두번째 비트(CNT_RST<2>) 및 카운터리셋신호의 세번째 비트(CNT_RST<3>)가 로직로우레벨임을 의미한다. 출력제어신호생성회로(32)는 리프레쉬활성화신호(SREN)가 로직하이레벨로 인에이블된 상태에서 카운터리셋신호(CNT_RST<1:3>)의 논리레벨조합이 '010'인 경우 로직하이레벨로 인에이블되는 제2 출력제어신호(POUT2)를 생성할 수 있다. 카운터리셋신호(CNT_RST<1:3>)의 논리레벨조합이 '010'인 경우라 함은 카운터리셋신호의 첫번째 비트(CNT_RST<1>) 및 카운터리셋신호의 세번째 비트(CNT_RST<3>)가 로직로우레벨이고, 카운터리셋신호의 두번째 비트(CNT_RST<2>)가 로직하이레벨임을 의미한다. 출력제어신호생성회로(32)는 리프레쉬활성화신호(SREN)가 로직하이레벨로 인에이블된 상태에서 카운터리셋신호(CNT_RST<1:3>)의 논리레벨조합이 '100'인 경우 로직하이레벨로 인에이블되는 제3 출력제어신호(POUT3)를 생성할 수 있다. 카운터리셋신호(CNT_RST<1:3>)의 논리레벨조합이 '100'인 경우라 함은 카운터리셋신호의 첫번째 비트(CNT_RST<1>) 및 카운터리셋신호의 두번째 비트(CNT_RST<2>)가 로직로우레벨이고, 카운터리셋신호의 세번째 비트(CNT_RST<3>)가 로직하이레벨임을 의미한다.The output control signal generation circuit 32 outputs the first output control signal POUT1, the second output control signal POUT2 and the third output control signal POUT2 in response to the refresh activation signal SREN and the counter reset signal CNT_RST <1: 3> It is possible to generate the output control signal POUT3. The output control signal generation circuit 32 generates a logic high level when the logic level combination of the counter reset signal CNT_RST <1: 3> is '001' in a state where the refresh activation signal SREN is enabled to a logic high level It is possible to generate the first output control signal POUT1 to be enabled. When the logic level combination of the counter reset signal CNT_RST <1: 3> is '001', the first bit CNT_RST <1> of the counter reset signal is at a logic high level and the second bit CNT_RST <2>) and the third bit (CNT_RST <3>) of the counter reset signal is a logic low level. The output control signal generation circuit 32 generates a logic high level when the logic level combination of the counter reset signal CNT_RST <1: 3> is '010' in a state where the refresh activation signal SREN is enabled to a logic high level It is possible to generate the second output control signal POUT2 to be enabled. The case where the logic level combination of the counter reset signal CNT_RST <1: 3> is '010' means that the first bit CNT_RST <1> of the counter reset signal and the third bit CNT_RST <3> Logic low level, and the second bit (CNT_RST < 2 >) of the counter reset signal is a logic high level. The output control signal generation circuit 32 generates a logic high level when the logic level combination of the counter reset signal CNT_RST <1: 3> is '100' in a state where the refresh activation signal SREN is enabled to a logic high level It is possible to generate the third output control signal POUT3 to be enabled. The case where the logic level combination of the counter reset signal CNT_RST <1: 3> is "100" means that the first bit CNT_RST <1> of the counter reset signal and the second bit CNT_RST <2> Logic low level, and the third bit (CNT_RST <3>) of the counter reset signal is a logic high level.

제1 래치어드레스생성회로(33)는 제1 어드레스비교회로(331), 제1 어드레스비교신호래치(332) 및 제1 어드레스저장회로(333)를 포함할 수 있다. 제1 어드레스비교회로(331)는 입력어드레스(IADD)와 제1 래치어드레스(LADD1)를 비교하여 논리레벨이 설정되는 제1 어드레스비교신호(A_COM1)를 생성할 수 있다. 제1 어드레스비교회로(331)는 입력어드레스(IADD)와 제1 래치어드레스(LADD1)가 동일한 경우 로직하이레벨의 제1 어드레스비교신호(A_COM1)를 생성할 수 있고, 입력어드레스(IADD)와 제1 래치어드레스(LADD1)가 상이한 경우 로직로우레벨의 제1 어드레스비교신호(A_COM1)를 생성할 수 있다. 제1 어드레스비교신호래치(332)는 액티브커맨드(ACT)에 응답하여 제1 어드레스비교신호(A_COM1)를 래치하여 제1 래치코드(LC<1>)로 출력할 수 있다. 제1 어드레스비교신호래치(332)는 액티브동작이 수행되어 액티브커맨드(ACT)가 발생된 상태에서 제1 어드레스비교신호(A_COM1)를 래치하여 제1 래치코드(LC<1>)로 출력할 수 있다. 제1 어드레스저장회로(333)는 제1 입력제어신호(PIN1) 및 제1 출력제어신호(POUT1)에 응답하여 입력어드레스(IADD)를 저장하고, 제1 래치어드레스(LADD1)를 출력할 수 있다. 제1 어드레스저장회로(333)는 제1 입력제어신호(PIN1)가 인에이블되는 경우 입력어드레스(IADD)를 저장할 수 있다. 제1 어드레스저장회로(333)는 제1 출력제어신호(POUT1)가 인에이블되는 경우 저장된 입력어드레스(IADD)를 제1 래치어드레스(LADD1)로 출력할 수 있다.The first latch address generating circuit 33 may include a first address comparing circuit 331, a first address comparing signal latch 332, and a first address storing circuit 333. The first address comparison circuit 331 can generate the first address comparison signal A_COM1 whose logic level is set by comparing the input address IADD and the first latch address LADD1. The first address comparison circuit 331 can generate the first address comparison signal A_COM1 having a logic high level when the input address IADD and the first latch address LADD1 are the same, And generates a first address comparison signal A_COM1 of a logic low level when one latch address LADD1 is different. The first address comparison signal latch 332 can latch the first address comparison signal A_COM1 in response to the active command ACT and output it as the first latch code LC <1>. The first address comparison signal latch 332 can latch the first address comparison signal A_COM1 and output it as the first latch code LC <1> while the active operation is performed and the active command ACT is generated have. The first address storage circuit 333 stores the input address IADD in response to the first input control signal PIN1 and the first output control signal POUT1 and outputs the first latch address LADD1 . The first address storage circuit 333 may store the input address IADD when the first input control signal PIN1 is enabled. The first address storage circuit 333 may output the stored input address IADD to the first latch address LADD1 when the first output control signal POUT1 is enabled.

제2 래치어드레스생성회로(34)는 제2 어드레스비교회로(341), 제2 어드레스비교신호래치(342) 및 제2 어드레스저장회로(343)를 포함할 수 있다. 제2 어드레스비교회로(341)는 입력어드레스(IADD)와 제2 래치어드레스(LADD2)를 비교하여 논리레벨이 설정되는 제2 어드레스비교신호(A_COM2)를 생성할 수 있다. 제2 어드레스비교회로(341)는 입력어드레스(IADD)와 제2 래치어드레스(LADD2)가 동일한 경우 로직하이레벨의 제2 어드레스비교신호(A_COM2)를 생성할 수 있고, 입력어드레스(IADD)와 제2 래치어드레스(LADD2)가 상이한 경우 로직로우레벨의 제2 어드레스비교신호(A_COM2)를 생성할 수 있다. 제2 어드레스비교신호래치(342)는 액티브커맨드(ACT)에 응답하여 제2 어드레스비교신호(A_COM2)를 래치하여 제2 래치코드(LC<2>)로 출력할 수 있다. 제2 어드레스비교신호래치(342)는 액티브동작이 수행되어 액티브커맨드(ACT)가 발생된 상태에서 제2 어드레스비교신호(A_COM2)를 래치하여 제2 래치코드(LC<2>)로 출력할 수 있다. 제2 어드레스저장회로(343)는 제2 입력제어신호(PIN2) 및 제2 출력제어신호(POUT2)에 응답하여 입력어드레스(IADD)를 저장하고, 제2 래치어드레스(LADD2)를 출력할 수 있다. 제2 어드레스저장회로(343)는 제2 입력제어신호(PIN2)가 인에이블되는 경우 입력어드레스(IADD)를 저장할 수 있다. 제2 어드레스저장회로(343)는 제2 출력제어신호(POUT2)가 인에이블되는 경우 저장된 입력어드레스(IADD)를 제2 래치어드레스(LADD2)로 출력할 수 있다. The second latch address generating circuit 34 may include a second address comparing circuit 341, a second address comparing signal latch 342 and a second address storing circuit 343. [ The second address comparison circuit 341 can compare the input address IADD and the second latch address LADD2 to generate the second address comparison signal A_COM2 whose logic level is set. The second address comparison circuit 341 can generate the second address comparison signal A_COM2 of a logic high level when the input address IADD and the second latch address LADD2 are the same, And generates a second address comparison signal A_COM2 of a logic low level when the two latch addresses LADD2 are different from each other. The second address comparison signal latch 342 can latch the second address comparison signal A_COM2 in response to the active command ACT and output it as the second latch code LC <2>. The second address comparison signal latch 342 can latch the second address comparison signal A_COM2 and output it as the second latch code LC <2> in a state where the active operation is performed and the active command ACT is generated have. The second address storage circuit 343 stores the input address IADD and outputs the second latch address LADD2 in response to the second input control signal PIN2 and the second output control signal POUT2 . The second address storage circuit 343 may store the input address IADD when the second input control signal PIN2 is enabled. The second address storage circuit 343 may output the stored input address IADD to the second latch address LADD2 when the second output control signal POUT2 is enabled.

제3 래치어드레스생성회로(35)는 제3 어드레스비교회로(351), 제3 어드레스비교신호래치(352) 및 제3 어드레스저장회로(353)를 포함할 수 있다. 제3 어드레스비교회로(351)는 입력어드레스(IADD)와 제3 래치어드레스(LADD3)를 비교하여 논리레벨이 설정되는 제3 어드레스비교신호(A_COM3)를 생성할 수 있다. 제3 어드레스비교회로(351)는 입력어드레스(IADD)와 제3 래치어드레스(LADD3)가 동일한 경우 로직하이레벨의 제3 어드레스비교신호(A_COM3)를 생성할 수 있고, 입력어드레스(IADD)와 제3 래치어드레스(LADD3)가 상이한 경우 로직로우레벨의 제3 어드레스비교신호(A_COM3)를 생성할 수 있다. 제3 어드레스비교신호래치(352)는 액티브커맨드(ACT)에 응답하여 제3 어드레스비교신호(A_COM3)를 래치하여 제3 래치코드(LC<3>)로 출력할 수 있다. 제3 어드레스비교신호래치(352)는 액티브동작이 수행되어 액티브커맨드(ACT)가 발생된 상태에서 제3 어드레스비교신호(A_COM3)를 래치하여 제3 래치코드(LC<3>)로 출력할 수 있다. 제3 어드레스저장회로(353)는 임의모드동작클럭(R_CLK) 및 제3 출력제어신호(POUT3)에 응답하여 입력어드레스(IADD)를 저장하고, 제3 래치어드레스(LADD3)를 출력할 수 있다. 제3 어드레스저장회로(353)는 임의모드동작클럭(R_CLK)가 발생되는 경우 입력어드레스(IADD)를 저장할 수 있다. 제3 어드레스저장회로(353)는 제3 출력제어신호(POUT3)가 인에이블되는 경우 저장된 입력어드레스(IADD)를 제3 래치어드레스(LADD3)로 출력할 수 있다. The third latch address generating circuit 35 may include a third address comparing circuit 351, a third address comparing signal latch 352 and a third address storing circuit 353. [ The third address comparison circuit 351 can compare the input address IADD and the third latch address LADD3 to generate the third address comparison signal A_COM3 whose logic level is set. The third address comparison circuit 351 can generate the third address comparison signal A_COM3 of a logic high level when the input address IADD and the third latch address LADD3 are the same, And generates a third address comparison signal A_COM3 of a logic low level when the three latch addresses LADD3 are different from each other. The third address comparison signal latch 352 can latch the third address comparison signal A_COM3 in response to the active command ACT and output it to the third latch code LC <3>. The third address comparison signal latch 352 can latch the third address comparison signal A_COM3 and output it as the third latch code LC <3> in a state where the active operation is performed and the active command ACT is generated have. The third address storage circuit 353 stores the input address IADD in response to the arbitrary mode operation clock R_CLK and the third output control signal POUT3 and outputs the third latch address LADD3. The third address storage circuit 353 may store the input address IADD when an arbitrary mode operation clock R_CLK is generated. The third address storage circuit 353 may output the stored input address IADD to the third latch address LADD3 when the third output control signal POUT3 is enabled.

리프레쉬어드레스출력회로(36)는 리프레쉬활성화신호(SREN)에 응답하여 제1 래치어드레스(LADD1), 제2 래치어드레스(LADD2) 및 제3 래치어드레스(LADD3) 중 하나를 버퍼링하여 리프레쉬어드레스(SR_ADD)로 출력할 수 있다. 리프레쉬어드레스출력회로(36)는 리프레쉬활성화신호(SREN)가 인에이블된 상태에서 제1 출력제어신호(POUT1)가 인에이블되어 제1 래치어드레스(LADD1)가 제1 어드레스저장회로(333)로부터 출력되는 경우 제1 래치어드레스(LADD1)가 리프레쉬어드레스(SR_ADD)로 출력될 수 있다. 리프레쉬어드레스출력회로(36)는 리프레쉬활성화신호(SREN)가 인에이블된 상태에서 제2 출력제어신호(POUT2)가 인에이블되어 제2 래치어드레스(LADD2)가 제2 어드레스저장회로(343)로부터 출력되는 경우 제2 래치어드레스(LADD2)가 리프레쉬어드레스(SR_ADD)로 출력될 수 있다. 리프레쉬어드레스출력회로(36)는 리프레쉬활성화신호(SREN)가 인에이블된 상태에서 제3 출력제어신호(POUT3)가 인에이블되어 제3 래치어드레스(LADD3)가 제3 어드레스저장회로(353)로부터 출력되는 경우 제3 래치어드레스(LADD3)가 리프레쉬어드레스(SR_ADD)로 출력될 수 있다.The refresh address output circuit 36 buffers one of the first latch address LADD1, the second latch address LADD2 and the third latch address LADD3 in response to the refresh activation signal SREN to output the refresh address SR_ADD, . The refresh address output circuit 36 outputs the first latch address LADD1 to the first address storage circuit 333 when the first output control signal POUT1 is enabled in a state in which the refresh activation signal SREN is enabled, The first latch address LADD1 may be output as the refresh address SR_ADD. The refresh address output circuit 36 outputs the second latch address LADD2 to the second address storage circuit 343 when the second output control signal POUT2 is enabled while the refresh activation signal SREN is enabled The second latch address LADD2 may be output as the refresh address SR_ADD. The refresh address output circuit 36 outputs the third latch control signal POUT3 to the third latch address LADD3 from the third address storage circuit 353 when the refresh activation signal SREN is enabled, The third latch address LADD3 may be output as the refresh address SR_ADD.

도 5를 참고하면 저장선택신호(S_SEL<1:2>) 및 최소감지신호(MIN_DET)에 따라 선택적으로 인에이블되는 제1 입력제어신호(PIN1) 및 제2 입력제어신호(PIN2)를 확인할 수 있다. 최소감지신호(MIN_DET)가 로직하이레벨로 인에이블된 상태에서 저장선택신호(S_SEL<1:2>)의 논리레벨조합이 '00'인 경우 로직하이레벨로 인에이블되는 제1 입력제어신호(PIN1)가 생성된다. 최소감지신호(MIN_DET)가 로직하이레벨로 인에이블된 상태에서 저장선택신호(S_SEL<1:2>)의 논리레벨조합이 '01'인 경우 로직하이레벨로 인에이블되는 제2 입력제어신호(PIN2)가 생성된다.Referring to FIG. 5, the first input control signal PIN1 and the second input control signal PIN2, which are selectively enabled according to the storage selection signals S_SEL <1: 2> and the minimum sensing signal MIN_DET, have. The first input control signal < RTI ID = 0.0 > (1) &lt; / RTI &gt; that is enabled to a logic high level when the logic level combination of the storage select signals S_SEL & PIN1) is generated. And a second input control signal (e. G., A logic high level) which is enabled to a logic high level when the logic level combination of the storage select signals S_SEL &lt; 1: 2 &gt; is '01' while the minimum sense signal MIN_DET is enabled to a logic high level PIN2) is generated.

도 6을 참고하면 리프레쉬활성화신호(SREN) 및 카운터리셋신호(CNT_RST<1:3>)에 따라 선택적으로 인에이블되는 제1 출력제어신호(POUT1), 제2 출력제어신호(POUT2) 및 제3 출력제어신호(POUT3)를 확인할 수 있다. 리프레쉬활성화신호(SREN)가 로직하이레벨로 인에이블된 상태에서 카운터리셋신호(CNT_RST<1:3>)의 논리레벨조합이 '001'인 경우 로직하이레벨로 인에이블되는 제1 출력제어신호(POUT1)가 생성된다. 리프레쉬활성화신호(SREN)가 로직하이레벨로 인에이블된 상태에서 카운터리셋신호(CNT_RST<1:3>)의 논리레벨조합이 '010'인 경우 로직하이레벨로 인에이블되는 제2 출력제어신호(POUT2)가 생성된다. 리프레쉬활성화신호(SREN)가 로직하이레벨로 인에이블된 상태에서 카운터리셋신호(CNT_RST<1:3>)의 논리레벨조합이 '100'인 경우 로직하이레벨로 인에이블되는 제3 출력제어신호(POUT3)가 생성된다.6, the first output control signal POUT1, the second output control signal POUT2, and the third output control signal POUT3 selectively enabled according to the refresh enable signal SREN and the counter reset signal CNT_RST <1: 3> The output control signal POUT3 can be confirmed. The logic level combination of the counter reset signal CNT_RST < 1: 3 > is '001' in a state where the refresh enable signal SREN is enabled to a logic high level, POUT1) is generated. The logic level combination of the counter reset signal CNT_RST < 1: 3 > is '010' in the state that the refresh enable signal SREN is enabled to the logic high level, POUT2) is generated. The logic level combination of the counter reset signals CNT_RST <1: 3> is '100' in a state where the refresh enable signal SREN is enabled to a logic high level, and a third output control signal POUT3) is generated.

도 7을 참고하면 저장선택신호생성회로(41)는 제1 저장래치(411) 및 제2 저장래치(412)를 포함할 수 있다. 제1 저장래치(411)는 제1 동작클럭(S_CLK)에 동기하여 제1 입력단(D1)을 통해 입력되는 제1 반전출력단(QB1)의 출력신호를 래치하여 제1 출력단(Q1)으로 출력한다. 제1 저장래치(411)는 제1 반전출력단(QB1)을 통해 저장선택신호의 첫번째 비트(S_SEL<1>)를 출력할 수 있다. 제1 저장래치(411)는 리셋신호(RST)가 발생되는 경우 제1 출력단(Q1) 및 제1 반전출력단(QB1)의 출력신호들을 초기화한다. 제2 저장래치(412)는 제1 저장래치(411)의 제1 출력단(Q1)의 출력신호에 동기하여 제2 입력단(D2)을 통해 입력되는 제2 반전출력단(QB2)의 출력신호를 래치하여 제2 출력단(Q2)으로 출력한다. 제2 저장래치(412)는 제2 반전출력단(QB2)을 통해 저장선택신호의 두번째 비트(S_SEL<2>)를 출력할 수 있다. 제2 저장래치(412)는 리셋신호(RST)가 발생되는 경우 제2 출력단(Q2) 및 제2 반전출력단(QB2)의 출력신호들을 초기화한다.Referring to FIG. 7, the storage select signal generating circuit 41 may include a first storage latch 411 and a second storage latch 412. The first storage latch 411 latches the output signal of the first inverting output terminal QB1 input through the first input terminal D1 in synchronization with the first operation clock S_CLK and outputs the latched output signal to the first output terminal Q1 . The first storage latch 411 may output the first bit (S_SEL < 1 >) of the storage select signal through the first inverting output QB1. The first storage latch 411 initializes the output signals of the first output terminal Q1 and the first inverted output terminal QB1 when the reset signal RST is generated. The second storage latch 412 latches the output signal of the second inverting output terminal QB2 input through the second input terminal D2 in synchronization with the output signal of the first output terminal Q1 of the first storage latch 411, And outputs it to the second output terminal Q2. The second storage latch 412 may output the second bit (S_SEL <2>) of the storage select signal via the second inverting output QB2. The second storage latch 412 initializes the output signals of the second output terminal Q2 and the second inverted output terminal QB2 when the reset signal RST is generated.

도 8을 참고하여 저장선택신호생성회로(41)의 동작을 살펴보면 다음과 같다. T11 시점 이전 구간에서 제1 출력단(Q1), 제1 반전출력단(QB1), 제2 출력단(Q2) 및 제2 반전출력단(QB2)의 출력신호들이 각각 로직로우레벨, 로직하이레벨, 로직로우레벨 및 로직하이레벨로 초기화된다. T11 시점에서 발생되는 제1 동작클럭(S_CLK)의 라이징에지에 동기하여 제1 출력단(Q1)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이하고, 제1 반전출력단(QB1)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이하며, 제2 출력단(Q2)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이하고, 제2 반전출력단(QB2)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이한다. T12 시점에서 제1 동작클럭(S_CLK)의 라이징에지에 동기하여 제1 출력단(Q1)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이하고, 제1 반전출력단(QB1)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이한다. T13 시점에서 제1 동작클럭(S_CLK)의 라이징에지에 동기하여 제1 출력단(Q1)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이하고, 제1 반전출력단(QB1)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이한다. T13 시점에서 제1 출력단(Q1)의 출력신호의 라이징에지에 동기하여 제2 출력단(Q2)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이하고, 제2 반전출력단(QB2)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이한다. T14 시점에서 제1 동작클럭(S_CLK)의 라이징에지에 동기하여 제1 출력단(Q1)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이하고, 제1 반전출력단(QB1)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이한다. The operation of the storage selection signal generation circuit 41 will be described with reference to FIG. The output signals of the first output terminal Q1, the first inverted output terminal QB1, the second output terminal Q2 and the second inverted output terminal QB2 are respectively at a logic low level, a logic high level, a logic low level And logic high level. The output signal of the first output terminal Q1 transitions from the logic low level to the logic high level in synchronization with the rising edge of the first operation clock S_CLK generated at the time T11 and the output signal of the first inverted output terminal QB1 The output signal of the second output Q2 transitions from a logic low level to a logic high level and the output signal of the second inverting output QB2 transitions from a logic high level to a logic low level . At the time T12, the output signal of the first output terminal Q1 transitions from a logic high level to a logic low level in synchronization with the rising edge of the first operation clock S_CLK, and the output signal of the first inverted output terminal QB1 changes to a logic low Level to a logic high level. At time T13, the output signal of the first output terminal Q1 transitions from a logic low level to a logic high level in synchronization with the rising edge of the first operation clock S_CLK, and the output signal of the first inverted output terminal QB1 transitions from a logic high Level to a logic low level. At time T13, the output signal of the second output terminal Q2 transitions from a logic high level to a logic low level in synchronization with the rising edge of the output signal of the first output terminal Q1, and the output signal of the second inversion output terminal QB2 Transition from a logic low level to a logic high level. At the time T14, the output signal of the first output terminal Q1 transitions from a logic high level to a logic low level in synchronization with the rising edge of the first operation clock S_CLK, and the output signal of the first inverted output terminal QB1 becomes logic low Level to a logic high level.

이상 살펴본 바와 같이, 저장선택신호생성회로(41)의 제1 반전출력단(QB1) 및 제2 반전출력단(QB2)을 통해 출력되는 저장선택신호(S_SEL<1:2>)의 논리레벨조합은 '00', '01', '10', '11의 순서로 순차적으로 카운팅된다. 즉, 저장선택신호생성회로(41)는 제1 동작클럭(S_CLK)의 라이징에지에 동기하여 1 비트만큼 논리레벨조합이 업(up) 카운팅되는 저장선택신호(S_SEL<1:2>)를 생성한다.As described above, the logic level combination of the storage select signal S_SEL <1: 2> output through the first inverted output terminal QB1 and the second inverted output terminal QB2 of the storage select signal generating circuit 41 is' 00 ',' 01 ',' 10 ', and' 11 '. That is, the storage selection signal generation circuit 41 generates a storage selection signal S_SEL <1: 2> in which the logic level combination is counted up by one bit in synchronization with the rising edge of the first operation clock S_CLK do.

도 9를 참고하면 최대저장선택신호생성회로(42)는 제1 최대저장래치(421) 및 제2 최대저장래치(422)를 포함할 수 있다. 제1 최대저장래치(421)는 제2 동작클럭(X_CLK)에 동기하여 제1 입력단(D1)을 통해 입력되는 제1 반전출력단(QB1)의 출력신호를 래치하여 제1 출력단(Q1)으로 출력한다. 제1 최대저장래치(421)는 제1 반전출력단(QB1)을 통해 최대저장선택신호의 첫번째 비트(M_SEL<1>)를 출력할 수 있다. 제1 최대저장래치(421)는 리셋신호(RST)가 발생되는 경우 제1 출력단(Q1) 및 제1 반전출력단(QB1)의 출력신호들을 초기화한다. 제2 최대저장래치(422)는 제1 최대저장래치(421)의 제1 출력단(Q1)의 출력신호에 동기하여 제2 입력단(D2)을 통해 입력되는 제2 반전출력단(QB2)의 출력신호를 래치하여 제2 출력단(Q2)으로 출력한다. 제2 최대저장래치(422)는 제2 반전출력단(QB2)을 통해 최대저장선택신호의 두번째 비트(S_SEL<2>)를 출력할 수 있다. 제2 최대저장래치(422)는 리셋신호(RST)가 발생되는 경우 제2 출력단(Q2) 및 제2 반전출력단(QB2)의 출력신호들을 초기화한다.Referring to FIG. 9, the maximum storage select signal generating circuit 42 may include a first maximum storage latch 421 and a second maximum storage latch 422. The first maximum storage latch 421 latches the output signal of the first inverting output terminal QB1 input through the first input terminal D1 in synchronization with the second operation clock X_CLK and outputs it to the first output terminal Q1 do. The first maximum storage latch 421 may output the first bit (M_SEL < 1 >) of the maximum storage select signal via the first inverting output QB1. The first maximum storage latch 421 initializes the output signals of the first output terminal Q1 and the first inverted output terminal QB1 when the reset signal RST is generated. The second maximum storage latch 422 receives the output signal of the second inverting output terminal QB2 input through the second input terminal D2 in synchronization with the output signal of the first output terminal Q1 of the first maximum storage latch 421, And outputs it to the second output terminal Q2. The second maximum storage latch 422 may output the second bit (S_SEL < 2 >) of the maximum storage select signal via the second inversion output QB2. The second maximum storage latch 422 initializes the output signals of the second output Q2 and the second inverting output QB2 when the reset signal RST is generated.

도 10을 참고하여 최대저장선택신호생성회로(42)의 동작을 살펴보면 다음과 같다. T21 시점 이전 구간에서 제1 출력단(Q1), 제1 반전출력단(QB1), 제2 출력단(Q2) 및 제2 반전출력단(QB2)의 출력신호들이 각각 로직로우레벨, 로직하이레벨, 로직로우레벨 및 로직하이레벨로 초기화된다. T21 시점에서 발생되는 제2 동작클럭(X_CLK)의 라이징에지에 동기하여 제1 출력단(Q1)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이하고, 제1 반전출력단(QB1)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이하며, 제2 출력단(Q2)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이하고, 제2 반전출력단(QB2)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이한다. T22 시점에서 제2 동작클럭(X_CLK)의 라이징에지에 동기하여 제1 출력단(Q1)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이하고, 제1 반전출력단(QB1)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이한다. T23 시점에서 제2 동작클럭(X_CLK)의 라이징에지에 동기하여 제1 출력단(Q1)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이하고, 제1 반전출력단(QB1)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이한다. T23 시점에서 제1 출력단(Q1)의 출력신호의 라이징에지에 동기하여 제2 출력단(Q2)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이하고, 제2 반전출력단(QB2)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이한다. T24 시점에서 제2 동작클럭(X_CLK)의 라이징에지에 동기하여 제1 출력단(Q1)의 출력신호는 로직하이레벨에서 로직로우레벨로 천이하고, 제1 반전출력단(QB1)의 출력신호는 로직로우레벨에서 로직하이레벨로 천이한다. The operation of the maximum storage selection signal generating circuit 42 will be described with reference to FIG. The output signals of the first output terminal Q1, the first inverted output terminal QB1, the second output terminal Q2 and the second inverted output terminal QB2 are respectively at a logic low level, a logic high level, a logic low level And logic high level. The output signal of the first output terminal Q1 transitions from the logic low level to the logic high level in synchronization with the rising edge of the second operation clock X_CLK generated at the time T21 and the output signal of the first inversion output terminal QB1 The output signal of the second output Q2 transitions from a logic low level to a logic high level and the output signal of the second inverting output QB2 transitions from a logic high level to a logic low level . At the time T22, the output signal of the first output terminal Q1 transitions from a logic high level to a logic low level in synchronization with the rising edge of the second operation clock X_CLK, and the output signal of the first inversion output terminal QB1 changes to a logic low Level to a logic high level. At time T23, the output signal of the first output terminal Q1 transitions from a logic low level to a logic high level in synchronization with the rising edge of the second operation clock X_CLK, and the output signal of the first inversion output terminal QB1 transitions from a logic high Level to a logic low level. At time T23, the output signal of the second output terminal Q2 transitions from a logic high level to a logic low level in synchronization with the rising edge of the output signal of the first output terminal Q1, and the output signal of the second inversion output terminal QB2 Transition from a logic low level to a logic high level. At time T24, the output signal of the first output terminal Q1 transitions from a logic high level to a logic low level in synchronization with the rising edge of the second operation clock X_CLK, and the output signal of the first inversion output terminal QB1 changes to a logic low Level to a logic high level.

이상 살펴본 바와 같이, 최대저장선택신호생성회로(42)의 제1 반전출력단(QB1) 및 제2 반전출력단(QB2)을 통해 출력되는 최대저장선택신호(M_SEL<1:2>)의 논리레벨조합은 '00', '01', '10', '11의 순서로 순차적으로 카운팅된다. 즉, 최대저장선택신호생성회로(42)는 제2 동작클럭(X_CLK)의 라이징에지에 동기하여 1 비트만큼 논리레벨조합이 업(up) 카운팅되는 최대저장선택신호(M_SEL<1:2>)를 생성한다.The logic level combination of the maximum storage selection signal M_SEL <1: 2> output through the first inverted output terminal QB1 and the second inverted output terminal QB2 of the maximum storage selection signal generating circuit 42, Are sequentially counted in the order of '00', '01', '10', '11'. That is, the maximum storage selection signal generation circuit 42 generates a maximum storage selection signal M_SEL <1: 2> in which the logic level combination is counted up by one bit in synchronization with the rising edge of the second operation clock X_CLK, .

도 11을 참고하면 비교코드생성회로(51)는 제1 비교래치(511), 제2 비교래치(512), 코드설정신호생성회로(513), 제1 코드합성기(514) 및 제2 코드합성기(515)를 포함할 수 있다. 제1 비교래치(511)는 제3 동작클럭(H_CLK)에 동기하여 제1 입력단(D1)을 통해 입력되는 제1 반전출력단(QB1)의 출력신호를 래치하여 제1 출력단(Q1)으로 출력한다. 제2 비교래치(512)는 제1 비교래치(511)의 제1 출력단(Q1)의 출력신호에 동기하여 제2 입력단(D2)을 통해 입력되는 제2 반전출력단(QB2)의 출력신호를 래치하여 제2 출력단(Q2)으로 출력한다. 코드설정신호생성회로(513)는 종료신호(STOP) 및 최대감지신호(MAX_DET)에 응답하여 코드설정신호(STA)를 생성할 수 있다. 코드설정신호생성회로(513)는 최대감지신호(MAX_DET)가 로직로우레벨로 디스에이블된 상태에서 로직로우레벨로 구동된 코드설정신호(STA)를 생성할 수 있다. 코드설정신호생성회로(513)는 종료신호(STOP)가 로직하이레벨로 인에이블되는 경우 로직하이레벨로 구동된 코드설정신호(STA)를 생성할 수 있다. 제1 코드합성기(514)는 코드설정신호(STA) 및 제1 비교래치(511)의 출력신호에 응답하여 비교코드의 첫번째 비트(SCD<1>)를 생성할 수 있다. 제1 코드합성기(514)는 코드설정신호(STA)가 로직로우레벨인 경우 제1 비교래치(511)의 출력신호를 버퍼링하여 출력할 수 있고, 코드설정신호(STA)가 로직하이레벨인 경우 제1 비교래치(511)의 출력신호를 반전 버퍼링하여 출력할 수 있다. 제2 코드합성기(515)는 코드설정신호(STA) 및 제2 비교래치(512)의 출력신호에 응답하여 비교코드의 두번째 비트(SCD<2>)를 생성할 수 있다. 제2 코드합성기(515)는 코드설정신호(STA)가 로직로우레벨인 경우 제2 비교래치(512)의 출력신호를 버퍼링하여 출력할 수 있고, 코드설정신호(STA)가 로직하이레벨인 경우 제2 비교래치(512)의 출력신호를 반전 버퍼링하여 출력할 수 있다.11, the comparison code generation circuit 51 includes a first comparison latch 511, a second comparison latch 512, a code setting signal generation circuit 513, a first code synthesizer 514, (515). The first comparison latch 511 latches the output signal of the first inverting output terminal QB1 input through the first input terminal D1 in synchronization with the third operation clock H_CLK and outputs the latched output signal to the first output terminal Q1 . The second comparison latch 512 outputs the output signal of the second inverting output terminal QB2 input through the second input terminal D2 in synchronization with the output signal of the first output terminal Q1 of the first comparison latch 511, And outputs it to the second output terminal Q2. The code setting signal generation circuit 513 can generate the code setting signal STA in response to the end signal STOP and the maximum sense signal MAX_DET. The code setting signal generation circuit 513 can generate a code setting signal STA driven at a logic low level with the maximum sense signal MAX_DET being disabled to a logic low level. The code setting signal generation circuit 513 can generate a code setting signal STA driven to a logic high level when the termination signal STOP is enabled to a logic high level. The first code synthesizer 514 can generate the first bit SCD < 1 > of the comparison code in response to the code setting signal STA and the output signal of the first comparison latch 511. [ The first code synthesizer 514 can buffer and output the output signal of the first comparison latch 511 when the code setting signal STA is at a logic low level and when the code setting signal STA is at a logic high level The output signal of the first comparison latch 511 can be reversely buffered and output. The second code synthesizer 515 may generate the second bit of the comparison code SCD < 2 > in response to the code setting signal STA and the output signal of the second comparison latch 512. [ The second code synthesizer 515 can buffer and output the output signal of the second comparison latch 512 when the code setting signal STA is at a logic low level and when the code setting signal STA is at a logic high level The output signal of the second comparison latch 512 can be reversely buffered and output.

도 12를 참고하여 비교코드(SCD<1:2>)가 생성되는 동작을 살펴보면 다음과 같다.The operation of generating the comparison code SCD <1: 2> with reference to FIG. 12 will be described below.

도 12에 도시된 바와 같이, 최대카운팅 코드 검색동작이 수행되기 전에는 코드설정신호(STA)가 로직로우레벨로 설정되므로, 비교코드(SCD<1:2>)의 논리레벨 조합은 '00'에서부터 '01', '10', '11'로 1비트씩 순차적으로 업(up) 카운팅된다. 최대카운팅 코드 검색동작이 수행되는 경우 코드설정신호(STA)가 로직하이레벨로 설정되므로, 비교코드(SCD<1:2>)의 논리레벨 조합은 '11'에서부터 '10', '01', '00'으로 1비트씩 순차적으로 다운(down) 카운팅된다.As shown in FIG. 12, since the code setting signal STA is set to a logic low level before the maximum counting code search operation is performed, the logic level combination of the comparison codes SCD <1: 2> Are sequentially counted up by 1 bit by '01', '10', and '11', respectively. The logic level combination of the comparison codes SCD <1: 2> is changed from '11' to '10', '01', and so on because the code setting signal STA is set to a logic high level when the maximum counting code search operation is performed. Are sequentially counted down by one bit by '00'.

도 13을 참고하면 코드비교신호생성회로(52)는 제1 코드비교신호생성회로(521), 제2 코드비교신호생성회로(522) 및 제3 코드비교신호생성회로(523)를 포함할 수 있다. 제1 코드비교신호생성회로(521)는 비교코드(SCD<1:2>)와 제1 카운터코드(CNT_CD1<1:2>)를 비교하여 코드비교신호의 첫번째 비트(CD_COM<1>)를 생성할 수 있다. 제2 코드비교신호생성회로(522)는 비교코드(SCD<1:2>)와 제2 카운터코드(CNT_CD2<1:2>)를 비교하여 코드비교신호의 두번째 비트(CD_COM<2>)를 생성할 수 있다. 제3 코드비교신호생성회로(523)는 비교코드(SCD<1:2>)와 제3 카운터코드(CNT_CD3<1:2>)를 비교하여 코드비교신호의 세번째 비트(CD_COM<3>)를 생성할 수 있다.13, the code comparison signal generation circuit 52 may include a first code comparison signal generation circuit 521, a second code comparison signal generation circuit 522 and a third code comparison signal generation circuit 523 have. The first code comparison signal generation circuit 521 compares the first comparison code SCD <1: 2> with the first counter code CNT_CD1 <1: 2> and outputs the first bit CD_COM <1> Can be generated. The second code comparison signal generation circuit 522 compares the second bit (CD_COM <2>) of the code comparison signal by comparing the comparison code SCD <1: 2> with the second counter code CNT_CD2 < Can be generated. The third code comparison signal generation circuit 523 compares the third bit (CD_COM <3>) of the code comparison signal by comparing the comparison code SCD <1: 2> with the third counter code CNT_CD3 < Can be generated.

도 14를 참고하면 감지신호생성회로(6)는 어드레스비교신호선택회로(61), 코드비교신호선택회로(62) 및 디코더(63)를 포함할 수 있다. 14, the sense signal generation circuit 6 may include an address comparison signal selection circuit 61, a code comparison signal selection circuit 62, and a decoder 63. [

어드레스비교신호선택회로(61)는 저장선택신호(S_SEL<1:2>) 및 래치코드(LC<1:3>)에 응답하여 어드레스비교선택신호(ACOM_SEL)를 생성할 수 있다. 어드레스비교신호선택회로(61)는 저장선택신호(S_SEL<1:2>)의 논리레벨조합에 따라 래치코드(LC<1:3>)에 포함된 비트들 중 하나를 어드레스비교선택신호(ACOM_SEL)로 선택하여 출력할 수 있다. 저장선택신호(S_SEL<1:2>)의 논리레벨조합에 따라 어드레스비교선택신호(ACOM_SEL)로 선택되는 래치코드(LC<1:3>)에 포함된 비트는 실시예에 따라서 다양하게 설정될 수 있다.The address comparison signal selection circuit 61 can generate the address comparison selection signal ACOM_SEL in response to the storage selection signal S_SEL <1: 2> and the latch code LC <1: 3>. The address comparison signal selection circuit 61 selects one of the bits included in the latch code LC <1: 3> according to the logic level combination of the storage selection signal S_SEL <1: 2> to the address comparison selection signal ACOM_SEL ) Can be selected and output. The bits included in the latch code LC <1: 3> selected by the address comparison selection signal ACOM_SEL according to the logic level combination of the storage selection signals S_SEL <1: 2> are variously set according to the embodiment .

코드비교신호선택회로(62)는 코드설정신호(STA), 저장선택신호(S_SEL<1:2>), 최대저장선택신호(M_SEL<1:2>) 및 코드비교신호(CD_COM<1:3>)에 응답하여 코드비교선택신호(CCOM_SEL)를 생성할 수 있다. 코드비교신호선택회로(62)는 코드설정신호(STA)의 논리레벨과 저장선택신호(S_SEL<1:2>)의 논리레벨조합에 따라 코드비교신호(CD_COM<1:3>)에 포함된 비트들 중 하나를 코드비교선택신호(CCOM_SEL)로 선택하여 출력할 수 있다. 저장선택신호(S_SEL<1:2>)의 논리레벨조합에 따라 코드비교선택신호(CCOM_SEL)로 선택되는 코드비교신호(CD_COM<1:3>)에 포함된 비트는 실시예에 따라서 다양하게 설정될 수 있다.The code comparison signal selection circuit 62 selects one of the code setting signal STA, the storage selection signal S_SEL <1: 2>, the maximum storage selection signal M_SEL <1: 2> and the code comparison signal CD_COM < >) To generate a code comparison selection signal CCOM_SEL. The code comparison signal selection circuit 62 selects the code comparison signal CD_COM <1: 3> included in the code comparison signal CD_COM <1: 3> according to the logic level combination of the code selection signal STA and the storage selection signal S_SEL < One of the bits can be selected and output as the code comparison selection signal CCOM_SEL. The bits included in the code comparison signal CD_COM <1: 3> selected by the code comparison selection signal CCOM_SEL according to the logic level combination of the storage selection signals S_SEL <1: 2> .

디코더(63)는 어드레스비교선택신호(ACOM_SEL), 코드비교선택신호(CCOM_SEL), 비교코드(SCD<1:2>) 및 코드설정신호(STA)에 응답하여 동일감지신호(S_DET), 최소감지신호(MIN_DET) 및 최대감지신호(MAX_DET)를 생성할 수 있다. 디코더(63)는 비교코드(SCD<1:2>)의 논리레벨조합과 어드레스비교선택신호(ACOM_SEL)의 논리레벨에 따라 논리레벨이 결정되는 동일감지신호(S_DET)를 생성할 수 있다. 디코더(63)는 코드비교선택신호(CCOM_SEL) 및 코드설정신호(STA)의 논리레벨에 따라 논리레벨이 결정되는 최소감지신호(MIN_DET)를 생성할 수 있다. 디코더(63)는 코드비교선택신호(CCOM_SEL) 및 코드설정신호(STA)의 논리레벨에 따라 논리레벨이 결정되는 최대감지신호(MAX_DET)를 생성할 수 있다. 코드비교선택신호(CCOM_SEL) 및 코드설정신호(STA)의 논리레벨에 따라 생성되는 최소감지신호(MIN_DET) 및 최대감지신호(MAX_DET)의 논리레벨은 실시예에 따라서 다양하게 설정될 수 있다. The decoder 63 responds to the address comparison selection signal ACOM_SEL, the code comparison selection signal CCOM_SEL, the comparison code SCD <1: 2> and the code setting signal STA to output the same sensing signal S_DET, The signal MIN_DET and the maximum sense signal MAX_DET. The decoder 63 can generate the same sense signal S_DET whose logic level is determined according to the logic level combination of the comparison codes SCD <1: 2> and the logic level of the address comparison selection signal ACOM_SEL. The decoder 63 can generate the minimum sensing signal MIN_DET whose logic level is determined according to the logic levels of the code comparison selection signal CCOM_SEL and the code setting signal STA. The decoder 63 can generate the maximum sense signal MAX_DET whose logic level is determined according to the logic levels of the code comparison selection signal CCOM_SEL and the code setting signal STA. The logic level of the minimum sensing signal MIN_DET and the maximum sensing signal MAX_DET generated according to the logic levels of the code comparison selection signal CCOM_SEL and the code setting signal STA may be variously set according to the embodiment.

도 15를 참고하면 래치코드(LC<1:3>)에 포함된 비트들 중 저장선택신호(S_SEL<1:2>)의 논리레벨조합에 따라 어드레스비교선택신호(ACOM_SEL)로 선택되는 비트를 확인할 수 있다. 저장선택신호(S_SEL<1:2>)가 '00'인 경우 래치코드의 첫번째 비트(LC<1>)가 어드레스비교선택신호(ACOM_SEL)로 선택된다. 저장선택신호(S_SEL<1:2>)가 '00'인 경우라 함은 저장선택신호(S_SEL<1:2>)에 포함된 모든 비트들이 로직로우레벨임을 의미한다. 저장선택신호(S_SEL<1:2>)가 '01'인 경우 래치코드의 두번째 비트(LC<2>)가 어드레스비교선택신호(ACOM_SEL)로 선택된다. 저장선택신호(S_SEL<1:2>)가 '01'인 경우라 함은 저장선택신호의 첫번째 비트(S_SEL<1>)가 로직하이레벨이고, 저장선택신호의 두번째 비트(S_SEL<2>)가 로직로우레벨임을 의미한다. 저장선택신호(S_SEL<1:2>)가 '10'인 경우 래치코드의 세번째 비트(LC<3>)가 어드레스비교선택신호(ACOM_SEL)로 선택된다. 저장선택신호(S_SEL<1:2>)가 '10'인 경우라 함은 저장선택신호의 첫번째 비트(S_SEL<1>)가 로직로우레벨이고, 저장선택신호의 두번째 비트(S_SEL<2>)가 로직하이레벨임을 의미한다.15, a bit selected by the address comparison selection signal ACOM_SEL according to a logic level combination of the storage selection signals S_SEL <1: 2> among the bits included in the latch codes LC <1: 3> Can be confirmed. When the storage select signal S_SEL <1: 2> is '00', the first bit (LC <1>) of the latch code is selected as the address compare select signal ACOM_SEL. The case where the storage select signal S_SEL <1: 2> is '00' means that all bits included in the storage select signal S_SEL <1: 2> are logic low level. When the storage select signals S_SEL <1: 2> are '01', the second bit (LC <2>) of the latch code is selected as the address comparison select signal ACOM_SEL. The case where the storage select signal S_SEL <1: 2> is '01' means that the first bit S_SEL <1> of the storage select signal is at a logic high level and the second bit S_SEL < &Lt; / RTI &gt; is a logic low level. When the storage selection signal S_SEL <1: 2> is '10', the third bit (LC <3>) of the latch code is selected as the address comparison selection signal ACOM_SEL. The case where the storage select signal S_SEL <1: 2> is "10" means that the first bit S_SEL <1> of the storage select signal is a logic low level and the second bit S_SEL < &Lt; / RTI &gt; is a logic high level.

도 16을 참고하면 코드비교신호(CD_COM<1:3>)에 포함된 비트들 중 코드설정신호(STA), 제1 및 제2 저장선택신호(S_SEL<1:2>) 및 제1 및 제2 최대저장선택신호(M_SEL<1:2>)의 논리레벨조합에 따라 코드비교선택신호(CCOM_SEL)로 선택되는 비트를 확인할 수 있다. 코드설정신호(STA)가 로직로우레벨이고, 저장선택신호(S_SEL<1:2>)가 '00'인 경우 코드비교신호의 첫번째 비트(CD_COM<1>)가 코드비교선택신호(CCOM_SEL)로 선택된다. 코드설정신호(STA)가 로직로우레벨이고, 저장선택신호(S_SEL<1:2>)가 '01'인 경우 코드비교신호의 두번째 비트(CD_COM<2>)가 코드비교선택신호(CCOM_SEL)로 선택된다. 코드설정신호(STA)가 로직로우레벨이고, 저장선택신호(S_SEL<1:2>)가 '10'인 경우 코드비교신호의 세번째 비트(CD_COM<3>)가 코드비교선택신호(CCOM_SEL)로 선택된다. 코드설정신호(STA)가 로직하이레벨이고, 최대저장선택신호(M_SEL<1:2>)가 '00'인 경우 코드비교신호의 첫번째 비트(CD_COM<1>)가 코드비교선택신호(CCOM_SEL)로 선택된다. 코드설정신호(STA)가 로직하이레벨이고, 최대저장선택신호(M_SEL<1:2>)가 '01'인 경우 코드비교신호의 두번째 비트(CD_COM<2>)가 코드비교선택신호(CCOM_SEL)로 선택된다. 코드설정신호(STA)가 로직하이레벨이고, 최대저장선택신호(M_SEL<1:2>)가 '10'인 경우 코드비교신호의 세번째 비트(CD_COM<3>)가 코드비교선택신호(CCOM_SEL)로 선택된다.16, among the bits included in the code comparison signal CD_COM <1: 3>, the code setting signal STA, the first and second storage selection signals S_SEL <1: 2> It is possible to confirm the bit selected by the code comparison selection signal CCOM_SEL according to the logic level combination of the two maximum storage selection signals M_SEL <1: 2>. When the code setting signal STA is at a logic low level and the storage selection signal S_SEL <1: 2> is '00', the first bit (CD_COM <1>) of the code comparison signal is supplied to the code comparison selection signal CCOM_SEL Is selected. When the code setting signal STA is at a logic low level and the storage selection signal S_SEL <1: 2> is 01, the second bit of the code comparison signal CD_COM <2> is set to the code comparison selection signal CCOM_SEL Is selected. When the code setting signal STA is at a logic low level and the storage selection signal S_SEL <1: 2> is "10", the third bit (CD_COM <3>) of the code comparison signal is set to the code comparison selection signal CCOM_SEL Is selected. The first bit of the code comparison signal CD_COM <1> is the code comparison selection signal CCOM_SEL when the code setting signal STA is at a logic high level and the maximum storage selection signal M_SEL <1: 2> . The second bit of the code comparison signal CD_COM <2> is the code comparison selection signal CCOM_SEL when the code setting signal STA is at a logic high level and the maximum storage selection signal M_SEL <1: 2> . The third bit of the code comparison signal CD_COM <3> is the code comparison selection signal CCOM_SEL when the code setting signal STA is at a logic high level and the maximum storage selection signal M_SEL <1: 2> .

도 17을 참고하면 디코더(63)는 인버터들(IV61, IV62, IV63) 및 앤드게이트들(AND61, AND62, AND63)을 포함할 수 있다. 앤드게이트(AND61)는 반전버퍼링된 비교코드의 두번째 비트(SCD<2>), 반전버퍼링된 비교코드의 첫번째 비트(SCD<1>) 및 어드레스비교선택신호(ACOM_SEL)를 입력받아 논리곱 연산을 수행하여 동일감지신호(S_DET)를 생성할 수 있다. 앤드게이트(AND62)는 코드비교선택신호(CCOM_SEL) 및 반전 버퍼링된 코드설정신호(STA)를 입력받아 논리곱 연산을 수행하여 최소감지신호(MIN_DET)를 생성할 수 있다. 앤드게이트(AND63)는 코드비교선택신호(CCOM_SEL) 및 코드설정신호(STA)를 입력받아 논리곱 연산을 수행하여 최대감지신호(MAX_DET)를 생성할 수 있다.Referring to FIG. 17, the decoder 63 may include inverters IV61, IV62, and IV63 and AND gates AND61, AND62, and AND63. The AND gate AND61 receives the second bit SCD <2> of the inverted buffered comparison code, the first bit SCD <1> of the inverted buffered comparison code, and the address comparison selection signal ACOM_SEL, To generate the same sense signal S_DET. The AND gate AND62 receives the code comparison selection signal CCOM_SEL and the inverted buffered code setting signal STA and performs an AND operation to generate the minimum sensing signal MIN_DET. The AND gate AND63 receives the code comparison selection signal CCOM_SEL and the code setting signal STA and performs an AND operation to generate the maximum sensing signal MAX_DET.

도 18을 참고하면 비교코드(SCD<1:2>)의 논리레벨조합, 어드레스비교선택신호(ACOM_SEL), 코드비교선택신호(CCOM_SEL), 및 코드설정신호(STA)의 논리레벨에 따라 동일감지신호(S_DET), 최소감지신호(MIN_DET) 및 최대감지신호(MAX_DET) 중 선택적으로 인에이블되는 신호를 확인할 수 있다. 비교코드(SCD<1:2>)가 '00'인 상태에서 어드레스비교선택신호(ACOM_SEL)가 로직하이레벨인 경우 동일감지신호(S_DET)가 로직하이레벨로 인에이블된다. 코드설정신호(STA)가 로직로우레벨인 상태에서 코드비교선택신호(CCOM_SEL)가 로직하이레벨인 경우 최소감지신호(MIN_DET)가 로직하이레벨로 인에이블된다. 코드설정신호(STA)가 로직하이레벨인 상태에서 코드비교선택신호(CCOM_SEL)가 로직하이레벨인 경우 최대감지신호(MAX_DET)가 로직하이레벨로 인에이블된다.Referring to FIG. 18, in accordance with the logical levels of the comparison codes SCD <1: 2>, the address comparison selection signal ACOM_SEL, the code comparison selection signal CCOM_SEL, and the code setting signal STA, The signal S_DET, the minimum sensing signal MIN_DET, and the maximum sensing signal MAX_DET. The same sense signal S_DET is enabled to a logic high level when the address comparison selection signal ACOM_SEL is at a logic high level while the comparison code SCD <1: 2> is '00'. When the code comparison signal CCOM_SEL is at a logic high level while the code setting signal STA is at a logic low level, the minimum sensing signal MIN_DET is enabled to a logic high level. When the code comparison signal CCOM_SEL is at a logic high level while the code setting signal STA is at a logic high level, the maximum sensing signal MAX_DET is enabled to a logic high level.

도 19를 참고하면 비교클럭생성회로(71)는 비교입력회로(711) 및 비교클럭출력회로(712)를 포함할 수 있다. 비교입력회로(711)는 동일감지신호(S_DET) 및 임의저장모드신호(RSM)를 입력받아 논리곱 연산을 수행할 수 있다. 비교입력회로(711)는 동일감지신호(S_DET) 및 임의저장모드신호(RSM)가 모두 로직하이레벨로 인에이블되는 경우 로직하이레벨을 출력할 수 있다. 비교클럭출력회로(712)는 비교입력회로(711)의 출력신호가 로직하이레벨인 경우 기설정된 횟수만큼 토글링하는 비교클럭(COM_CLK)을 생성할 수 있다. 비교클럭(COM_CLK)이 토글링하는 횟수는 실시예에 따라서 다양하게 설정될 수 있다. Referring to FIG. 19, the comparison clock generation circuit 71 may include a comparison input circuit 711 and a comparison clock output circuit 712. The comparison input circuit 711 may receive the same sense signal S_DET and the arbitrary storage mode signal RSM to perform an AND operation. The comparison input circuit 711 can output a logic high level when both the same sense signal S_DET and the arbitrary storage mode signal RSM are enabled to a logic high level. The comparison clock output circuit 712 can generate a comparison clock COM_CLK that toggles the output signal of the comparison input circuit 711 a predetermined number of times when the output signal of the comparison input circuit 711 is at a logic high level. The number of times the comparison clock signal COM_CLK is toggled can be variously set according to the embodiment.

도 20을 참고하면 카운터선택생성회로(72)는 인버터들(IV71, IV72) 및 앤드게이트들(AND71, AND72, AND73)을 포함할 수 있다. 앤드게이트(AND71)는 반전버퍼링된 저장선택신호의 첫번째 비트(S_SEL<1>) 및 반전버퍼링된 저장선택신호의 두번째 비트(S_SEL<2>)를 입력받아 논리곱 연산을 수행하여 카운터선택신호의 첫번째 비트(CNT_SEL<1>)를 생성할 수 있다. 앤드게이트(AND72)는 저장선택신호의 첫번째 비트(S_SEL<1>) 및 반전버퍼링된 저장선택신호의 두번째 비트(S_SEL<2>)를 입력받아 논리곱 연산을 수행하여 카운터선택신호의 두번째 비트(CNT_SEL<2>)를 생성할 수 있다. 앤드게이트(AND73)는 반전버퍼링된 저장선택신호의 첫번째 비트(S_SEL<1>) 및 저장선택신호의 두번째 비트(S_SEL<2>)를 입력받아 논리곱 연산을 수행하여 카운터선택신호의 세번째 비트(CNT_SEL<3>)를 생성할 수 있다.20, the counter selection generating circuit 72 may include inverters IV71 and IV72 and AND gates AND71, AND72 and AND73. The AND gate AND71 receives the first bit (S_SEL <1>) of the inverted buffered storage selection signal and the second bit (S_SEL <2>) of the inverted buffered storage selection signal and performs a logical product operation to generate a counter selection signal The first bit (CNT_SEL <1>) can be generated. The AND gate AND72 receives the first bit (S_SEL <1>) of the storage selection signal and the second bit (S_SEL <2>) of the inverted buffered storage selection signal and performs a logical product operation to generate a second bit CNT_SEL < 2 >). The AND gate AND73 receives the first bit (S_SEL <1>) of the inverted buffered storage selection signal and the second bit (S_SEL <2>) of the storage selection signal and performs a logical product operation to generate a third bit CNT_SEL < 3 >).

도 21을 참고하면 카운터선택신호(CNT_SEL<1:3>)에 포함된 비트들 중 저장선택신호(S_SEL<1:2>)의 논리레벨조합에 따라 인에이블되는 비트를 확인할 수 있다. 저장선택신호(S_SEL<1:2>)가 '00'인 경우 카운터선택신호의 첫번째 비트(CNT_SEL<1>)가 로직하이레벨로 인에이블된다. 저장선택신호(S_SEL<1:2>)가 '01'인 경우 카운터선택신호의 두번째 비트(CNT_SEL<2>)가 로직하이레벨로 인에이블된다. 저장선택신호(S_SEL<1:2>)가 '10'인 경우 카운터선택신호의 세번째 비트(CNT_SEL<3>)가 로직하이레벨로 인에이블된다.Referring to FIG. 21, a bit to be enabled can be confirmed according to a logic level combination of the storage selection signal S_SEL <1: 2> among the bits included in the counter selection signal CNT_SEL <1: 3>. When the storage select signal S_SEL <1: 2> is '00', the first bit CNT_SEL <1> of the counter selection signal is enabled to a logic high level. When the storage select signal S_SEL <1: 2> is '01', the second bit CNT_SEL <2> of the counter selection signal is enabled to a logic high level. The third bit (CNT_SEL <3>) of the counter selection signal is enabled to a logic high level when the storage select signals S_SEL <1: 2> are '10'.

도 22를 참고하면 카운터리셋신호생성회로(73)는 앤드게이트들(AND75, AND76, AND77)을 포함할 수 있다. 앤드게이트(AND75)는 카운터선택신호의 첫번째 비트(CNT_SEL<1>) 및 최대감지신호(MAX_DET)를 입력받아 논리곱 연산을 수행하여 카운터리셋신호의 첫번째 비트(CNT_RST<1>)를 생성할 수 있다. 앤드게이트(AND76)는 카운터선택신호의 두번째 비트(CNT_SEL<2>) 및 최대감지신호(MAX_DET)를 입력받아 논리곱 연산을 수행하여 카운터리셋신호의 두번째 비트(CNT_RST<2>)를 생성할 수 있다. 앤드게이트(AND77)는 카운터선택신호의 세번째 비트(CNT_SEL<3>) 및 최대감지신호(MAX_DET)를 입력받아 논리곱 연산을 수행하여 카운터리셋신호의 세번째 비트(CNT_RST<3>)를 생성할 수 있다. 카운터리셋신호의 첫번째 비트(CNT_RST<1>)는 카운터선택신호의 첫번째 비트(CNT_SEL<1>) 및 최대감지신호(MAX_DET)가 모두 로직하이레벨로 인에이블된 경우 로직하이레벨로 인에이블된다. 카운터리셋신호의 두번째 비트(CNT_RST<2>)는 카운터선택신호의 두번째 비트(CNT_SEL<2>) 및 최대감지신호(MAX_DET)가 모두 로직하이레벨로 인에이블된 경우 로직하이레벨로 인에이블된다. 카운터리셋신호의 세번째 비트(CNT_RST<3>)는 카운터선택신호의 세번째 비트(CNT_SEL<3>) 및 최대감지신호(MAX_DET)가 모두 로직하이레벨로 인에이블된 경우 로직하이레벨로 인에이블된다.Referring to FIG. 22, the counter reset signal generation circuit 73 may include AND gates AND75, AND76, and AND77. The AND gate AND75 receives the first bit CNT_SEL <1> and the maximum sense signal MAX_DET of the counter selection signal and performs an AND operation to generate the first bit CNT_RST <1> of the counter reset signal have. The AND gate AND76 receives the second bit (CNT_SEL <2>) and the maximum sense signal (MAX_DET) of the counter selection signal and performs an AND operation to generate a second bit (CNT_RST <2>) of the counter reset signal have. The AND gate AND77 receives the third bit (CNT_SEL <3>) and the maximum sense signal (MAX_DET) of the counter selection signal and performs an AND operation to generate the third bit (CNT_RST <3>) of the counter reset signal have. The first bit of the counter reset signal CNT_RST <1> is enabled to a logic high level when both the first bit of the counter selection signal CNT_SEL <1> and the maximum sense signal MAX_DET are both enabled to a logic high level. The second bit CNT_RST <2> of the counter reset signal is enabled to a logic high level when the second bit of the counter selection signal CNT_SEL <2> and the maximum sense signal MAX_DET are both enabled to a logic high level. The third bit of the counter reset signal CNT_RST <3> is enabled to a logic high level when the third bit of the counter selection signal CNT_SEL <3> and the maximum sense signal MAX_DET are both enabled to a logic high level.

도 23을 참고하면 카운터코드생성회로(8)는 제1 카운터코드생성회로(81), 제2 카운터코드생성회로(82) 및 제3 카운터코드생성회로(83)를 포함할 수 있다.23, the counter code generation circuit 8 may include a first counter code generation circuit 81, a second counter code generation circuit 82 and a third counter code generation circuit 83. [

제1 카운터코드생성회로(81)는 비교클럭(COM_CLK), 동일감지신호(S_DET), 카운터선택신호의 첫번째 비트(CNT_SEL<1>), 리프레쉬활성화신호(SREN), 카운터리셋신호의 첫번째 비트(CNT_RST<1>) 및 최소감지신호(MIN_DET)에 응답하여 제1 카운터코드(CNT_CD1<1:2>)를 생성할 수 있다. 제1 카운터코드생성회로(81)는 임의저장모드에서 비교클럭(COM_CLK)에 동기하여 기설정된 횟수만큼 제1 카운터코드(CNT_CD1<1:2>)를 카운팅할 수 있다. 제1 카운터코드생성회로(81)는 동일감지신호(S_DET)가 인에이블되는 경우 제1 카운터코드(CNT_CD1<1:2>)를 카운팅할 수 있다. 제1 카운터코드생성회로(81)는 리프레쉬활성화신호(SREN)에 의해 수행되는 리프레쉬가 종료되는 시점에 동기하여 리프레쉬종료신호(SR_END)를 발생시킬 수 있다. 제1 카운터코드생성회로(81)는 리프레쉬종료신호(SR_END)가 발생된 상태에서 카운터리셋신호의 첫번째 비트(CNT_RST<1>)가 인에이블되는 경우 제1 카운터코드(CNT_CD1<1:2>)를 기설정된 논리레벨조합으로 초기화할 수 있다. 제1 카운터코드생성회로(81)는 최소감지신호(MIN_DET) 및 카운터선택신호의 첫번째 비트(CNT_SEL<1>)가 모두 로직하이레벨로 인에이블되는 경우 제1 카운터코드(CNT_CD1<1:2>)를 기설정된 논리레벨조합으로 초기화할 수 있다.The first counter code generating circuit 81 generates a first counter code SC1 and a counter reset signal SR2 based on the comparison clock COM_CLK, the same sensing signal S_DET, the first bit CNT_SEL <1> of the counter selection signal, the refresh activation signal SREN, (CNT_CD1 < 1: 2 >) in response to the minimum sense signal (CNT_RST <1>) and the minimum sense signal (MIN_DET). The first counter code generation circuit 81 may count the first counter code CNT_CD1 <1: 2> by a preset number of times in synchronization with the comparison clock COM_CLK in the arbitrary storage mode. The first counter code generation circuit 81 may count the first counter code CNT_CD1 <1: 2> when the same sense signal S_DET is enabled. The first counter code generating circuit 81 can generate the refresh end signal SR_END in synchronization with the end of the refresh performed by the refresh activation signal SREN. The first counter code generation circuit 81 generates the first counter code CNT_CD1 <1: 2> when the first bit CNT_RST <1> of the counter reset signal is enabled in the state where the refresh end signal SR_END is generated, Can be initialized to a predetermined logic level combination. The first counter code generation circuit 81 generates the first counter code CNT_CD1 <1: 2> when the minimum sense signal MIN_DET and the first bit CNT_SEL <1> of the counter selection signal are all enabled to a logic high level, ) Can be initialized to a predetermined logic level combination.

제2 카운터코드생성회로(82)는 비교클럭(COM_CLK), 동일감지신호(S_DET), 카운터선택신호의 두번째 비트(CNT_SEL<2>), 리프레쉬활성화신호(SREN), 카운터리셋신호의 두번째 비트(CNT_RST<2>), 리프레쉬종료신호(SR_END) 및 최소감지신호(MIN_DET)에 응답하여 제2 카운터코드(CNT_CD2<1:2>)를 생성할 수 있다. 제2 카운터코드생성회로(82)는 임의저장모드에서 비교클럭(COM_CLK)에 동기하여 기설정된 횟수만큼 제2 카운터코드(CNT_CD2<1:2>)를 카운팅할 수 있다. 제2 카운터코드생성회로(82)는 동일감지신호(S_DET)가 인에이블되는 경우 제2 카운터코드(CNT_CD2<1:2>)를 카운팅할 수 있다. 제2 카운터코드생성회로(82)는 리프레쉬종료신호(SR_END)가 발생된 상태에서 카운터리셋신호의 두번째 비트(CNT_RST<2>)가 인에이블되는 경우 제2 카운터코드(CNT_CD2<1:2>)를 기설정된 논리레벨조합으로 초기화할 수 있다. 제2 카운터코드생성회로(82)는 최소감지신호(MIN_DET) 및 카운터선택신호의 두번째 비트(CNT_SEL<2>)가 모두 로직하이레벨로 인에이블되는 경우 제2 카운터코드(CNT_CD2<1:2>)를 기설정된 논리레벨조합으로 초기화할 수 있다.The second counter code generation circuit 82 generates the second counter code CLK by comparing the second comparison signal COM_CLK, the same sensing signal S_DET, the second bit CNT_SEL <2> of the counter selection signal, the refresh activation signal SREN, (CNT_CD2 < 1: 2 >) in response to the refresh start signal CNT_RST <2>, the refresh end signal SR_END and the minimum sense signal MIN_DET. The second counter code generation circuit 82 may count the second counter code CNT_CD2 <1: 2> by a preset number of times in synchronization with the comparison clock COM_CLK in the arbitrary storage mode. The second counter code generation circuit 82 may count the second counter code CNT_CD2 <1: 2> when the same sense signal S_DET is enabled. The second counter code generation circuit 82 generates the second counter code CNT_CD2 <1: 2> when the second bit CNT_RST <2> of the counter reset signal is enabled in the state where the refresh end signal SR_END is generated, Can be initialized to a predetermined logic level combination. The second counter code generation circuit 82 generates a second counter code CNT_CD2 <1: 2> when the minimum sense signal MIN_DET and the second bit CNT_SEL <2> of the counter selection signal are both enabled to a logic high level, ) Can be initialized to a predetermined logic level combination.

제3 카운터코드생성회로(83)는 비교클럭(COM_CLK), 동일감지신호(S_DET), 카운터선택신호의 세번째 비트(CNT_SEL<3>), 리프레쉬활성화신호(SREN), 카운터리셋신호의 세번째 비트(CNT_RST<3>), 리프레쉬종료신호(SR_END) 및 임의모드동작클럭(R_CLK)에 응답하여 제3 카운터코드(CNT_CD3<1:2>)를 생성할 수 있다. 제3 카운터코드생성회로(83)는 임의저장모드에서 비교클럭(COM_CLK)에 동기하여 기설정된 횟수만큼 제3 카운터코드(CNT_CD3<1:2>)를 카운팅할 수 있다. 제3 카운터코드생성회로(83)는 동일감지신호(S_DET)가 인에이블되는 경우 제3 카운터코드(CNT_CD3<1:2>)를 카운팅할 수 있다. 제3 카운터코드생성회로(83)는 리프레쉬종료신호(SR_END)가 발생된 상태에서 카운터리셋신호의 세번째 비트(CNT_RST<3>)가 인에이블되는 경우 제3 카운터코드(CNT_CD3<1:2>)를 기설정된 논리레벨조합으로 초기화할 수 있다. 제 카운터코드생성회로(82)는 임의모드동작클럭(R_CLK)가 발생되는 시점에 동기하여 제3 카운터코드(CNT_CD3<1:2>)를 기설정된 논리레벨조합으로 초기화할 수 있다. The third counter code generation circuit 83 generates the third counter code SCL3 for the comparison clock COM_CLK, the same sense signal S_DET, the third bit CNT_SEL <3> of the counter selection signal, the refresh activation signal SREN, (CNT_CD3 < 1: 2 >) in response to the refresh operation signal CNT_RST <3>, the refresh end signal SR_END and the arbitrary mode operation clock R_CLK. The third counter code generation circuit 83 can count the third counter code CNT_CD3 <1: 2> by a predetermined number of times in synchronization with the comparison clock COM_CLK in the arbitrary storage mode. The third counter code generation circuit 83 may count the third counter code CNT_CD3 <1: 2> when the same sense signal S_DET is enabled. The third counter code generation circuit 83 generates a third counter code CNT_CD3 <1: 2> when the third bit CNT_RST <3> of the counter reset signal is enabled in the state where the refresh end signal SR_END is generated, Can be initialized to a predetermined logic level combination. The counter code generation circuit 82 can initialize the third counter code CNT_CD3 <1: 2> to a predetermined logic level combination in synchronization with the timing at which the arbitrary mode operation clock R_CLK is generated.

도 24를 참고하면 제1 카운터코드생성회로(81)는 제1 카운터클럭생성회로(811), 제1 저장리셋신호생성회로(812), 제1 카운터래치(813) 및 제2 카운터래치(814)를 포함할 수 있다.24, the first counter code generation circuit 81 includes a first counter clock generation circuit 811, a first storage reset signal generation circuit 812, a first counter latch 813, and a second counter latch 814 ).

제1 카운터클럭생성회로(811)는 비교클럭(COM_CLK), 동일감지신호(S_DET), 카운터선택신호의 첫번째 비트(CNT_SEL<1>)에 응답하여 제1 카운터클럭(C_CLK1)을 생성할 수 있다. 제1 카운터클럭생성회로(811)는 카운터선택신호의 첫번째 비트(CNT_SEL<1>)가 로직하이레벨로 인에이블된 상태에서 비교클럭(COM_CLK) 또는 동일감지신호(S_DET)가 발생되는 경우 제1 카운터클럭(C_CLK1)을 생성할 수 있다.The first counter clock generation circuit 811 can generate the first counter clock C_CLK1 in response to the comparison clock signal COM_CLK, the same sense signal S_DET, and the first bit CNT_SEL <1> of the counter selection signal . The first counter clock generation circuit 811 generates a first counter clock signal CLK when the first comparison clock signal COM_CLK or the same sensing signal S_DET is generated in a state where the first bit CNT_SEL < It is possible to generate the counter clock C_CLK1.

제1 저장리셋신호생성회로(812)는 리프레쉬종료신호생성회로(816) 및 제1 저장리셋신호출력회로(817)를 포함할 수 있다. 리프레쉬종료신호생성회로(816)는 리프레쉬활성화신호(SREN)에 응답하여 리프레쉬종료신호(SR_END)를 생성할 수 있다. 리프레쉬종료신호생성회로(816)는 리프레쉬가 종료되어 리프레쉬활성화신호(SREN)가 로직하이레벨에서 로직로우레벨로 천이하는 시점에 동기하여 리프레쉬종료신호(SR_END)를 발생시킬 수 있다. 제1 저장리셋신호출력회로(817)는 카운터리셋신호의 첫번째 비트(CNT_RST<1>), 리프레쉬종료신호(SR_END), 최소감지신호(MIN_DET) 및 카운터선택신호의 첫번째 비트(CNT_SEL<1>)에 응답하여 제1 저장리셋신호(C_RST1)를 생성할 수 있다. 제1 저장리셋신호출력회로(817)는 카운터리셋신호의 첫번째 비트(CNT_RST<1>)가 인에이블되는 경우 제1 저장리셋신호(C_RST1)를 발생시킬 수 있다. 제1 저장리셋신호출력회로(817)는 리프레쉬종료신호(SR_END)가 발생되는 경우 제1 저장리셋신호(C_RST1)를 발생시킬 수 있다. 제1 저장리셋신호출력회로(817)는 동일감지신호(S_DET) 및 카운터선택신호의 첫번째 비트(CNT_SEL<1>)가 모두 로직하이레벨로 인에이블되는 경우 제1 저장리셋신호(C_RST1)를 발생시킬 수 있다.The first storage reset signal generation circuit 812 may include a refresh end signal generation circuit 816 and a first storage reset signal output circuit 817. The refresh end signal generation circuit 816 can generate the refresh end signal SR_END in response to the refresh activation signal SREN. The refresh end signal generating circuit 816 can generate the refresh end signal SR_END in synchronization with the timing at which the refresh is ended and the refresh activation signal SREN transits from the logic high level to the logic low level. The first storage reset signal output circuit 817 outputs the first bit CNT_SEL <1> of the counter reset signal, the first bit CNT_RST <1> of the counter reset signal, the refresh end signal SR_END, the minimum sense signal MIN_DET, To generate a first store reset signal (C_RST1). The first storage reset signal output circuit 817 can generate the first store reset signal C_RST1 when the first bit CNT_RST <1> of the counter reset signal is enabled. The first storage reset signal output circuit 817 can generate the first storage reset signal C_RST1 when the refresh end signal SR_END is generated. The first storage reset signal output circuit 817 generates the first storage reset signal C_RST1 when the same sense signal S_DET and the first bit CNT_SEL <1> of the counter selection signal are all enabled to a logic high level .

제1 카운터래치(813)는 제1 카운터클럭(C_CLK)에 동기하여 제1 입력단(D1)을 통해 입력되는 제1 반전출력단(QB1)의 출력신호를 래치하여 제1 출력단(Q1)으로 출력한다. 제1 카운터래치(813)는 제1 반전출력단(QB1)을 통해 제1 카운터코드의 첫번째 비트(CNT_CD1<1>)를 출력할 수 있다. 제1 카운터래치(813)는 제1 저장리셋신호(C_RST1)가 발생되는 경우 제1 출력단(Q1) 및 제1 반전출력단(QB1)의 출력신호들을 초기화한다.The first counter latch 813 latches the output signal of the first inverting output terminal QB1 input through the first input terminal D1 in synchronization with the first counter clock C_CLK and outputs the latched output signal to the first output terminal Q1 . The first counter latch 813 may output the first bit CNT_CD1 <1> of the first counter code through the first inverting output QB1. The first counter latch 813 initializes the output signals of the first output terminal Q1 and the first inverted output terminal QB1 when the first store reset signal C_RST1 is generated.

제2 카운터래치(814)는 제1 카운터래치(813)의 제1 출력단(Q1)의 출력신호에 동기하여 제2 입력단(D2)을 통해 입력되는 제2 반전출력단(QB2)의 출력신호를 래치하여 제2 출력단(Q2)으로 출력한다. 제2 카운터래치(814)는 제2 반전출력단(QB2)을 통해 제1 카운터코드의 두번째 비트(CNT_CD1<2>)를 출력할 수 있다. 제2 카운터래치(814)는 제1 저장리셋신호(C_RST1)가 발생되는 경우 제2 출력단(Q2) 및 제2 반전출력단(QB2)의 출력신호들을 초기화한다.The second counter latch 814 latches the output signal of the second inverting output terminal QB2 input through the second input terminal D2 in synchronization with the output signal of the first output terminal Q1 of the first counter latch 813, And outputs it to the second output terminal Q2. The second counter latch 814 may output the second bit (CNT_CD1 < 2 >) of the first counter code through the second inverting output QB2. The second counter latch 814 initializes the output signals of the second output terminal Q2 and the second inverted output terminal QB2 when the first store reset signal C_RST1 is generated.

도 25를 참고하면 제2 카운터코드생성회로(82)는 제2 카운터클럭생성회로(821), 제2 저장리셋신호생성회로(822), 제3 카운터래치(823) 및 제4 카운터래치(824)를 포함할 수 있다. 25, the second counter code generation circuit 82 includes a second counter clock generation circuit 821, a second storage reset signal generation circuit 822, a third counter latch 823, and a fourth counter latch 824 ).

제2 카운터클럭생성회로(821)는 비교클럭(COM_CLK), 동일감지신호(S_DET), 카운터선택신호의 두번째 비트(CNT_SEL<2>)에 응답하여 제2 카운터클럭(C_CLK2)을 생성할 수 있다. 제2 카운터클럭생성회로(821)는 카운터선택신호의 두번째 비트(CNT_SEL<2>)가 로직하이레벨로 인에이블된 상태에서 비교클럭(COM_CLK) 또는 동일감지신호(S_DET)가 발생되는 경우 제2 카운터클럭(C_CLK2)을 생성할 수 있다.The second counter clock generation circuit 821 can generate the second counter clock C_CLK2 in response to the comparison clock COM_CLK, the same sense signal S_DET, and the second bit CNT_SEL <2> of the counter selection signal . The second counter clock generation circuit 821 generates the second counter clock signal CLK when the comparison clock signal COM_CLK or the same sensing signal S_DET is generated in a state where the second bit CNT_SEL <2> The counter clock C_CLK2 can be generated.

제2 저장리셋신호생성회로(822)는 카운터리셋신호의 두번째 비트(CNT_RST<2>), 리프레쉬종료신호(SR_END), 최소감지신호(MIN_DET) 및 카운터선택신호의 두번째 비트(CNT_SEL<2>)에 응답하여 제2 저장리셋신호(C_RST2)를 생성할 수 있다. 제2 저장리셋신호생성회로(822)는 카운터리셋신호의 두번째 비트(CNT_RST<2>)가 인에이블되는 경우 제2 저장리셋신호(C_RST2)를 발생시킬 수 있다. 제2 저장리셋신호생성회로(822)는 리프레쉬종료신호(SR_END)가 발생되는 경우 제2 저장리셋신호(C_RST2)를 발생시킬 수 있다. 제2 저장리셋신호생성회로(822)는 동일감지신호(S_DET) 및 카운터선택신호의 두번째 비트(CNT_SEL<2>)가 모두 로직하이레벨로 인에이블되는 경우 제2 저장리셋신호(C_RST2)를 발생시킬 수 있다.The second storage reset signal generation circuit 822 generates a second storage reset signal by using the second bit CNT_SEL <2> of the counter reset signal, the refresh end signal SR_END, the minimum sense signal MIN_DET, The second storage reset signal C_RST2 may be generated. The second storage reset signal generation circuit 822 may generate the second storage reset signal C_RST2 when the second bit CNT_RST <2> of the counter reset signal is enabled. The second storage reset signal generation circuit 822 can generate the second storage reset signal C_RST2 when the refresh end signal SR_END is generated. The second storage reset signal generation circuit 822 generates a second storage reset signal C_RST2 when the same sense signal S_DET and the second bit CNT_SEL <2> of the counter selection signal are all enabled to a logic high level .

제3 카운터래치(823)는 제2 카운터클럭(C_CLK2)에 동기하여 제1 입력단(D1)을 통해 입력되는 제1 반전출력단(QB1)의 출력신호를 래치하여 제1 출력단(Q1)으로 출력한다. 제3 카운터래치(823)는 제1 반전출력단(QB1)을 통해 제2 카운터코드의 첫번째 비트(CNT_CD2<1>)를 출력할 수 있다. 제3 카운터래치(823)는 제2 저장리셋신호(C_RST2)가 발생되는 경우 제1 출력단(Q1) 및 제1 반전출력단(QB1)의 출력신호들을 초기화한다.The third counter latch 823 latches the output signal of the first inverting output terminal QB1 input through the first input terminal D1 in synchronization with the second counter clock C_CLK2 and outputs the latched output signal to the first output terminal Q1 . The third counter latch 823 may output the first bit CNT_CD2 <1> of the second counter code through the first inverting output QB1. The third counter latch 823 initializes the output signals of the first output terminal Q1 and the first inverted output terminal QB1 when the second store reset signal C_RST2 is generated.

제4 카운터래치(824)는 제3 카운터래치(823)의 제1 출력단(Q1)의 출력신호에 동기하여 제2 입력단(D2)을 통해 입력되는 제2 반전출력단(QB2)의 출력신호를 래치하여 제2 출력단(Q2)으로 출력한다. 제4 카운터래치(824)는 제2 반전출력단(QB2)을 통해 제2 카운터코드의 두번째 비트(CNT_CD2<2>)를 출력할 수 있다. 제4 카운터래치(824)는 제2 저장리셋신호(C_RST2)가 발생되는 경우 제2 출력단(Q2) 및 제2 반전출력단(QB2)의 출력신호들을 초기화한다.The fourth counter latch 824 latches the output signal of the second inverting output terminal QB2 input through the second input terminal D2 in synchronization with the output signal of the first output terminal Q1 of the third counter latch 823, And outputs it to the second output terminal Q2. The fourth counter latch 824 can output the second bit (CNT_CD2 < 2 >) of the second counter code through the second inverting output QB2. The fourth counter latch 824 initializes the output signals of the second output terminal Q2 and the second inverted output terminal QB2 when the second store reset signal C_RST2 is generated.

도 26을 참고하면 제3 카운터코드생성회로(83)는 제3 카운터클럭생성회로(831), 제3 저장리셋신호생성회로(832), 제5 카운터래치(833) 및 제6 카운터래치(834)를 포함할 수 있다.26, the third counter code generation circuit 83 includes a third counter clock generation circuit 831, a third storage reset signal generation circuit 832, a fifth counter latch 833 and a sixth counter latch 834 ).

제3 카운터클럭생성회로(831)는 비교클럭(COM_CLK), 동일감지신호(S_DET), 카운터선택신호의 세번째 비트(CNT_SEL<3>)에 응답하여 제3 카운터클럭(C_CLK3)을 생성할 수 있다. 제3 카운터클럭생성회로(831)는 카운터선택신호의 세번째 비트(CNT_SEL<3>)가 로직하이레벨로 인에이블된 상태에서 비교클럭(COM_CLK) 또는 동일감지신호(S_DET)가 발생되는 경우 제3 카운터클럭(C_CLK3)을 생성할 수 있다.The third counter clock generation circuit 831 can generate the third counter clock C_CLK3 in response to the comparison clock signal COM_CLK, the same sense signal S_DET, and the third bit CNT_SEL <3> of the counter selection signal . The third counter clock generation circuit 831 generates the third counter clock signal CLK when the third clock signal CNT_SEL <3> of the counter selection signal is enabled to a logic high level and the comparison clock signal COM_CLK or the same detection signal S_DET is generated. The counter clock C_CLK3 can be generated.

제3 저장리셋신호생성회로(832)는 카운터리셋신호의 세번째 비트(CNT_RST<3>) 및 리프레쉬종료신호(SR_END)에 응답하여 제3 저장리셋신호(C_RST3)를 생성할 수 있다. 제3 저장리셋신호생성회로(832)는 카운터리셋신호의 세번째 비트(CNT_RST<3>)가 인에이블되는 경우 제3 저장리셋신호(C_RST3)를 발생시킬 수 있다. 제3 저장리셋신호생성회로(832)는 리프레쉬종료신호(SR_END)가 발생되는 경우 제3 저장리셋신호(C_RST3)를 발생시킬 수 있다.The third storage reset signal generation circuit 832 may generate the third storage reset signal C_RST3 in response to the third bit CNT_RST <3> of the counter reset signal and the refresh end signal SR_END. The third storage reset signal generation circuit 832 may generate the third storage reset signal C_RST3 when the third bit CNT_RST <3> of the counter reset signal is enabled. The third storage reset signal generation circuit 832 may generate the third storage reset signal C_RST3 when the refresh end signal SR_END is generated.

제5 카운터래치(833)는 제3 카운터클럭(C_CLK3)에 동기하여 제1 입력단(D1)을 통해 입력되는 제1 반전출력단(QB1)의 출력신호를 래치하여 제1 출력단(Q1)으로 출력한다. 제5 카운터래치(833)는 제1 반전출력단(QB1)을 통해 제3 카운터코드의 첫번째 비트(CNT_CD3<1>)를 출력할 수 있다. 제5 카운터래치(833)는 제3 저장리셋신호(C_RST3) 또는 임의모드동작클럭(R_CLK)이 발생되는 경우 제1 출력단(Q1) 및 제1 반전출력단(QB1)의 출력신호들을 초기화한다.The fifth counter latch 833 latches the output signal of the first inverting output terminal QB1 input through the first input terminal D1 in synchronization with the third counter clock C_CLK3 and outputs the latched output signal to the first output terminal Q1 . The fifth counter latch 833 can output the first bit CNT_CD3 <1> of the third counter code through the first inverting output terminal QB1. The fifth counter latch 833 initializes the output signals of the first output terminal Q1 and the first inverted output terminal QB1 when the third store reset signal C_RST3 or the arbitrary mode operation clock R_CLK is generated.

제6 카운터래치(834)는 제5 카운터래치(833)의 제1 출력단(Q1)의 출력신호에 동기하여 제2 입력단(D2)을 통해 입력되는 제2 반전출력단(QB2)의 출력신호를 래치하여 제2 출력단(Q2)으로 출력한다. 제6 카운터래치(834)는 제2 반전출력단(QB2)을 통해 제3 카운터코드의 두번째 비트(CNT_CD3<2>)를 출력할 수 있다. 제6 카운터래치(834)는 제3 저장리셋신호(C_RST3) 또는 임의모드동작클럭(R_CLK)이 발생되는 경우 제2 출력단(Q2) 및 제2 반전출력단(QB2)의 출력신호들을 초기화한다.The sixth counter latch 834 latches the output signal of the second inverting output terminal QB2 input through the second input terminal D2 in synchronization with the output signal of the first output terminal Q1 of the fifth counter latch 833, And outputs it to the second output terminal Q2. The sixth counter latch 834 may output the second bit (CNT_CD3 <2>) of the third counter code through the second inverting output QB2. The sixth counter latch 834 initializes the output signals of the second output terminal Q2 and the second inverted output terminal QB2 when the third store reset signal C_RST3 or the arbitrary mode operation clock R_CLK is generated.

이상 살펴본 바와 같이 구성된 반도체장치의 동작을 도 27을 참고하여 살펴보면 다음과 같다.The operation of the semiconductor device constructed as described above will be described with reference to FIG.

T31 시점에서 A 어드레스와 B 어드레스가 저장되어 있고, A 어드레스에 대응되는 코드값이 2로 설정되어 있으며, B 어드레스에 대응되는 코드값이 1로 설정되어 있다. T32 시점에서 누적저장방식으로 A 어드레스가 입력되면 T33 시점에서 A 어드레스에 대응되는 코드값이 1 비트만큼 업(up) 카운팅된다. A 어드레스에 대응되는 코드값은 3으로 설정된다. T34 시점에서 누적저장방식으로 D 어드레스가 입력되면 T35 시점에서 최소카운팅 코드 검생동작 결과 코드값이 가장 적게 설정된 B 대신 D가 저장된다. 새로 저장된 D에 대응되는 코드값은 1로 설정된다. 한편, T36 시점에서 임의저장방식으로 E 어드레스가 입력되면 T37 시점에서 임의저장방식에서만 사용되는 저장회로에 저장된 C 어드레스 대신 E 어드레스가 저장된다. 임의저장방식으로 새로 저장된 E에 대응되는 코드값은 4로 설정된다. T38 시점에서 리프레쉬활성화신호(SREN)가 인에이블되면 T39 시점에서 최대카운팅 코드 검생동작 결과 가장 많이 카운팅된 코드값에 대응하는 E 어드레스에 대한 리프레쉬가 수행된다.At time T31, the A address and the B address are stored, the code value corresponding to the A address is set to 2, and the code value corresponding to the B address is set to 1. When the A address is input in the cumulative storage mode at the time T32, the code value corresponding to the A address is counted up by one bit at the time T33. The code value corresponding to the A address is set to 3. When the D address is input at the time of T34 and the D address is input, D is stored instead of B where the minimum counting code check operation result code value is set to the minimum at T35. The code value corresponding to the newly stored D is set to one. On the other hand, if the E address is inputted in the arbitrary storage mode at the time T36, the E address is stored instead of the C address stored in the storage circuit used only in the arbitrary storage mode at the time T37. The code value corresponding to newly stored E in the random storage method is set to 4. [ When the refresh activation signal SREN is enabled at time T38, the refresh operation is performed on the E address corresponding to the code value counted most as a result of the maximum counting code check operation at time T39.

이상 살펴본 바와 같이 본 실시예에 따른 반도체장치는 액티브동작이 수행되는 어드레스들과 어드레스에 대응되는 코드값들을 저장하여 리프레쉬가 필요한 어드레스를 모니터링할 수 있다. 또한, 본 실시예에 따른 반도체장치는 액티브동작이 수행된 어드레스들 중 코드값에 따라 리프레쉬가 수행되는 어드레스를 선택함으로써, 불필요하게 리프레쉬가 수행되는 것을 막아 전력소모를 절감할 수 있는 효과도 있다. 또한, 본 실시예에 따른 반도체장치는 가중치가 부여된 횟수만큼 코드값이 카운팅되는 임의저장방식을 제공함으로써, 다양한 방식으로 리프레쉬를 수행할 수 있다.As described above, the semiconductor device according to the present embodiment can monitor the addresses requiring refresh by storing the addresses where the active operation is performed and the code values corresponding to the addresses. In addition, the semiconductor device according to the present embodiment also has an effect of reducing power consumption by preventing an unnecessary refresh from being performed by selecting an address to be refreshed according to a code value among addresses to which an active operation is performed. In addition, the semiconductor device according to the present embodiment can perform a refresh in various ways by providing an arbitrary storage method in which code values are counted as many times as the weight is given.

앞서, 도 1 내지 도 27에서 살펴본 반도체장치는 메모리시스템, 그래픽시스템, 컴퓨팅시스템 및 모바일시스템 등을 포함하는 전자시스템에 적용될 수 있다. 예를 들어, 도 28을 참고하면 본 발명의 일 실시예에 따른 전자시스템(1000)은 데이터저장부(1001), 메모리컨트롤러(1002), 버퍼메모리(1003) 및 입출력인터페이스(1004)를 포함할 수 있다.1 to 27 can be applied to an electronic system including a memory system, a graphics system, a computing system, and a mobile system. 28, an electronic system 1000 according to an embodiment of the present invention includes a data storage unit 1001, a memory controller 1002, a buffer memory 1003, and an input / output interface 1004 .

데이터저장부(1001)는 메모리컨트롤러(1002)로부터의 제어신호에 따라 메모리컨트롤러(1002)로부터 인가되는 데이터를 저장하고 저장된 데이터를 판독하여 메모리컨트롤러(1002)에 출력한다. 데이터저장부(1001)는 도 1에 도시된 반도체장치를 포함할 수 있다. 한편, 데이터저장부(1001)는 전원이 차단되어도 데이터를 잃지 않고 계속 저장할 수 있는 비휘발성 메모리를 포함할 수 있다. 비휘발성 메모리는 플래쉬 메모리(Nor Flash Memory, NAND Flash Memory), 상변환 메모리(Phase Change Random Access Memory; PRAM), 저항 메모리(Resistive Random Access Memory;RRAM), 스핀 주입자화반전 메모리(Spin Transfer Torque Random Access Memory; STTRAM), 자기메모리(Magnetic Random Access Memory; MRAM)로 구현될 수 있다.The data storage unit 1001 stores data applied from the memory controller 1002 in accordance with a control signal from the memory controller 1002, reads the stored data, and outputs the read data to the memory controller 1002. The data storage unit 1001 may include the semiconductor device shown in FIG. Meanwhile, the data storage unit 1001 may include a nonvolatile memory that can store data without losing data even when the power is turned off. The non-volatile memory may be a non-volatile memory such as a NOR flash memory, a PRAM, a Resistive Random Access Memory (RRAM), a Spin Transfer Torque Random Memory Access Memory (STTRAM), and Magnetic Random Access Memory (MRAM).

메모리컨트롤러(1002)는 입출력인터페이스(1004)를 통해 외부기기(호스트 장치)로부터 인가되는 명령어를 디코딩하고 디코딩된 결과에 따라 데이터저장부(1001) 및 버퍼메모리(1003)에 대한 데이터 입출력을 제어한다. 도 28에서는 메모리컨트롤러(1002)가 하나의 블록으로 표시되었으나, 메모리컨트롤러(1002)는 데이터저장부(1001)를 제어하기 위한 컨트롤러와 휘발성 메모리인 버퍼메모리(1003)를 제어하기 위한 컨트롤러가 독립적으로 구성될 수 있다.The memory controller 1002 decodes a command applied from an external device (host device) through the input / output interface 1004 and controls data input / output to the data storage unit 1001 and the buffer memory 1003 according to the decoded result . Although the memory controller 1002 is shown as one block in FIG. 28, the memory controller 1002 can be configured so that the controller for controlling the data storage unit 1001 and the controller for controlling the buffer memory 1003, which is a volatile memory, Lt; / RTI &gt;

버퍼메모리(1003)는 메모리컨트롤러(1002)에서 처리할 데이터 즉 데이터저장부(1001)에 입출력되는 데이터를 임시적으로 저장할 수 있다. 버퍼메모리(1003)는 제어신호에 따라 메모리컨트롤러(1002)에서 인가되는 데이터(DATA)를 저장할 수 있다. 버퍼메모리(1003)는 저장된 데이터를 판독하여 메모리컨트롤러(1002)에 출력한다. 버퍼메모리(1003)는 DRAM(Dynamic Random Access Memory), Moblie DRAM, SRAM(Static Random Access Memory) 등의 휘발성 메모리를 포함할 수 있다.The buffer memory 1003 may temporarily store data to be processed in the memory controller 1002, that is, data to be input to and output from the data storage unit 1001. [ The buffer memory 1003 can store data (DATA) applied from the memory controller 1002 according to a control signal. The buffer memory 1003 reads the stored data and outputs it to the memory controller 1002. The buffer memory 1003 may include a volatile memory such as a dynamic random access memory (DRAM), a mobile DRAM, and a static random access memory (SRAM).

입출력인터페이스(1004)는 메모리컨트롤러(1002)와 외부기기(호스트) 사이의 물리적 연결을 제공하여 메모리컨트롤러(1002)가 외부기기로부터 데이터 입출력을 위한 제어신호를 수신하고 외부기기와 데이터를 교환할 수 있도록 해준다. 입출력인터페이스(1004)는 USB, MMC, PCI-E, SAS, SATA, PATA, SCSI, ESDI, 및 IDE 등과 같은 다양한 인터페이스 프로토콜들 중 하나를 포함할 수 있다.The input / output interface 1004 provides a physical connection between the memory controller 1002 and an external device (host) so that the memory controller 1002 can receive control signals for data input / output from external devices and exchange data with external devices It will help. The input / output interface 1004 may include one of various interface protocols such as USB, MMC, PCI-E, SAS, SATA, PATA, SCSI, ESDI,

전자시스템(1000)은 호스트 장치의 보조 기억장치 또는 외부 저장장치로 사용될 수 있다. 전자시스템(1000)은 고상 디스크(Solid State Disk; SSD), USB 메모리(Universal Serial Bus Memory), 씨큐어 디지털 카드(Secure Digital; SD), 미니 씨큐어 디지털 카드(mini Secure Digital card; mSD), 마이크로 씨큐어 디지털 카드(micro SD), 고용량 씨큐어 디지털 카드(Secure Digital High Capacity; SDHC), 메모리 스틱 카드(Memory Stick Card), 스마트 미디어 카드(Smart Media Card; SM), 멀티 미디어 카드(Multi Media Card; MMC), 내장 멀티 미디어 카드(Embedded MMC; eMMC), 컴팩트 플래시 카드(Compact Flash; CF) 등을 포함할 수 있다.The electronic system 1000 can be used as an auxiliary storage device or an external storage device of the host apparatus. The electronic system 1000 may include a hard disk such as a solid state disk (SSD), a USB memory (Universal Serial Bus Memory), a secure digital (SD) card, a mini Secure Digital card (mSD) A micro SD card, a Secure Digital High Capacity (SDHC) card, a Memory Stick Card, a Smart Media Card (SM), a Multi Media Card (MMC) , An embedded multimedia card (eMMC), a compact flash (CF) card, and the like.

1: 임의저장모드신호생성회로 2: 동작클럭생성회로
3: 리프레쉬어드레스생성회로 4: 선택신호제어회로
5: 코드비교제어회로 6: 감지신호생성회로
7: 카운터리셋제어회로 8: 카운터코드생성회로
41: 저장선택신호생성회로 42: 최대저장선택신호생성회로
51: 비교코드생성회로 52: 코드비교신호생성회로
71: 비교클럭생성회로 72: 카운터선택신호생성회로
73: 카운터리셋신호생성회로 11: 제1 모드래치
12: 제2 모드래치 13: 제3 모드래치
21: 제1 동작클럭생성회로 22: 제2 동작클럭생성회로
23: 종료신호버퍼회로 24: 제3 동작클럭생성회로
211: 개시신호생성회로 212: 종료신호생성회로
213: 클럭출력회로 31: 입력제어신호생성회로
32: 출력제어신호생성회로 33: 제1 래치어드레스생성회로
34: 제2 래치어드레스생성회로 35: 제3 래치어드레스생성회로
36: 리프레쉬어드레스출력회로
331: 제1 어드레스비교회로 332: 제1 어드레스비교신호래치
333: 제1 어드레스저장회로
341: 제2 어드레스비교회로 342: 제2 어드레스비교신호래치
343: 제2 어드레스저장회로
351: 제3 어드레스비교회로 352: 제3 어드레스비교신호래치
353: 제3 어드레스저장회로 411: 제1 저장래치
412: 제2 저장래치 421: 제1 최대저장래치
422: 제2 최대저장래치 511: 제1 비교래치
512: 제2 비교래치 513: 코드설정신호생성회로
514: 제1 코드합성기 515: 제2 코드합성기
521: 제1 코드비교신호생성회로 522: 제2 코드비교신호생성회로
523: 제3 코드비교신호생성회로 61: 어드레스비교신호선택회로
62: 코드비교신호선택회로 63: 디코더
711: 비교입력회로 712: 비교클럭출력회로
81: 제1 카운터코드생성회로 82: 제2 카운터코드생성회로
83: 제3 카운터코드생성회로 811: 제1 카운터클럭생성회로
812: 제1 저장리셋신호생성회로 813: 제1 카운터래치
814: 제2 카운터래치 816: 리프레쉬종료신호생성회로
817: 제1 저장리셋신호출력회로 821: 제2 카운터클럭생성회로
822: 제2 저장리셋신호생성회로 823: 제3 카운터래치
824: 제4 카운터래치 831: 제3 카운터클럭생성회로
832: 제3 저장리셋신호생성회로 833: 제5 카운터래치
834: 제6 카운터래치
1: random storage mode signal generation circuit 2: operation clock generation circuit
3: refresh address generation circuit 4: selection signal control circuit
5: code comparison control circuit 6: sense signal generation circuit
7: counter reset control circuit 8: counter code generation circuit
41: storage selection signal generation circuit 42: maximum storage selection signal generation circuit
51: comparison code generation circuit 52: code comparison signal generation circuit
71: comparison clock generation circuit 72: counter selection signal generation circuit
73: Counter reset signal generation circuit 11: First mode latch
12: second mode latch 13: third mode latch
21: first operation clock generation circuit 22: second operation clock generation circuit
23: Termination signal buffer circuit 24: Third operation clock generation circuit
211: start signal generating circuit 212: end signal generating circuit
213: Clock output circuit 31: Input control signal generation circuit
32: output control signal generating circuit 33: first latch address generating circuit
34: second latch address generating circuit 35: third latch address generating circuit
36: Refresh address output circuit
331: first address comparison circuit 332: first address comparison signal latch
333: first address storage circuit
341: second address comparison circuit 342: second address comparison signal latch
343: Second address storage circuit
351: Third address comparison circuit 352: Third address comparison signal latch
353: third address storage circuit 411: first storage latch
412: Second storage latch 421: First maximum storage latch
422: second maximum storage latch 511: first comparison latch
512: second comparison latch 513: code setting signal generation circuit
514: first code synthesizer 515: second code synthesizer
521: first code comparison signal generation circuit 522: second code comparison signal generation circuit
523: third code comparison signal generation circuit 61: address comparison signal selection circuit
62: Code comparison signal selection circuit 63:
711: comparison input circuit 712: comparison clock output circuit
81: First counter code generation circuit 82: Second counter code generation circuit
83: Third counter code generation circuit 811: First counter clock generation circuit
812: first storage reset signal generation circuit 813: first counter latch signal
814: second counter latch 816: refresh end signal generation circuit
817: first storage reset signal output circuit 821: second counter clock generation circuit
822: Second storage reset signal generation circuit 823: Third counter latch latch
824: fourth counter latch 831: third counter clock generation circuit
832: third storage reset signal generation circuit 833: fifth counter latch
834: sixth counter latch

Claims (30)

누적저장모드를 수행하기 위해 제1 동작클럭을 생성하고, 임의저장모드를 수행하기 위해 임의모드동작클럭을 생성하는 동작클럭생성회로; 및
상기 누적저장모드에서 입력어드레스가 저장되는 제1 어드레스저장회로 및 제2 어드레스저장회로를 포함하고, 상기 임의저장모드에서 상기 입력어드레스가 저장되는 제3 어드레스저장회로를 포함하는 리프레쉬어드레스생성회로를 포함하되,
상기 제3 어드레스저장회로에 저장되는 어드레스에 대응되는 카운터코드는 상기 제1 어드레스저장회로 또는 상기 제2 어드레스저장회로에 저장되는 어드레스에 대응되는 카운터코드보다 더 큰 비트 수만큼 카운팅되도록 설정되는 반도체장치.
An operation clock generation circuit for generating a first operation clock to perform the cumulative storage mode and generating an arbitrary mode operation clock for performing the arbitrary storage mode; And
And a third address storage circuit including a first address storage circuit and a second address storage circuit in which the input address is stored in the accumulation storage mode and in which the input address is stored in the arbitrary storage mode However,
The counter code corresponding to the address stored in the third address storage circuit is set to be counted by a bit number larger than the counter code corresponding to the address stored in the first address storage circuit or the second address storage circuit, .
제 1 항에 있어서, 상기 임의저장모드는 프리차지커맨드가 기설정된 횟수만큼 발생하는 경우 진입하는 반도체장치.
The semiconductor device according to claim 1, wherein the arbitrary storage mode enters when a precharge command is generated a predetermined number of times.
제 1 항에 있어서, 상기 동작클럭생성회로는
개시신호에 응답하여 상기 제1 동작클럭을 생성하고, 종료신호에 응답하여 상기 제1 동작클럭의 생성을 중단하는 제1 동작클럭생성회로를 포함하는 반도체장치.
2. The semiconductor memory device according to claim 1, wherein the operation clock generation circuit
And a first operation clock generation circuit for generating said first operation clock in response to said start signal and for stopping generation of said first operation clock in response to an end signal.
제 3 항에 있어서, 상기 개시신호는 상기 누적저장모드에서 액티브커맨드가 발생하는 경우 인에이블되는 반도체장치.
4. The semiconductor device of claim 3, wherein the start signal is enabled when an active command occurs in the cumulative storage mode.
제 3 항에 있어서, 상기 종료신호는 상기 임의저장모드가 수행되거나 상기 제1 어드레스저장회로 또는 상기 제2 어드레스저장회로에 저장된 어드레스와 동일한 어드레스가 입력되거나 액티브동작이 수행되는 어드레스들에 대응되는 카운터코드들 중 가장 적게 카운팅된 코드를 찾는 최소카운팅 코드 검색동작이 완료되거나 리셋신호가 인에이블되는 경우 인에이블되는 반도체장치.
4. The memory device according to claim 3, wherein the end signal includes a counter corresponding to an address in which the random storage mode is performed or an address identical to the address stored in the first address storage circuit or the second address storage circuit is input or an active operation is performed, Is enabled when a minimum counting code search operation to find the least counted code among the codes is completed or when a reset signal is enabled.
제 3 항에 있어서, 상기 동작클럭생성회로는
상기 종료신호에 응답하여 액티브동작이 수행되는 어드레스들에 대응되는 카운터코드들 중 가장 많이 카운팅된 코드를 찾는 최대카운팅 코드 검색동작을 수행하기 위해 제2 동작클럭을 생성하는 제2 동작클럭생성회로를 더 포함하는 반도체장치.
4. The semiconductor memory device according to claim 3, wherein the operation clock generation circuit
A second operation clock generation circuit for generating a second operation clock for performing a maximum counting code search operation for finding a most counted code among counter codes corresponding to addresses for which an active operation is performed in response to the termination signal &Lt; / RTI &gt;
제 6 항에 있어서, 상기 동작클럭생성회로는
상기 제1 동작클럭 또는 상기 제2 동작클럭이 생성되는 경우 상기 최대카운팅 코드 검색동작 또는 최소카운팅 코드 검색동작을 위한 제3 동작클럭을 생성하는 제2 동작클럭생성회로를 더 포함하는 반도체장치.
7. The semiconductor memory device according to claim 6, wherein the operation clock generation circuit
And a second operation clock generation circuit for generating a third operation clock for the maximum counting code search operation or the minimum counting code search operation when the first operation clock or the second operation clock is generated.
제 1 항에 있어서, 상기 리프레쉬어드레스생성회로는
상기 입력어드레스, 액티브커맨드, 제1 입력제어신호 및 제1 출력제어신호에 응답하여 제1 래치코드 및 제1 래치어드레스를 생성하는 제1 래치어드레스생성회로를 포함하는 반도체장치.
The semiconductor integrated circuit according to claim 1, wherein the refresh address generating circuit
And a first latch address generating circuit for generating a first latch code and a first latch address in response to the input address, the active command, the first input control signal, and the first output control signal.
제 8 항에 있어서, 상기 제1 래치어드레스생성회로는
상기 입력어드레스와 상기 제1 래치어드레스를 비교하여 어드레스비교신호를 생성하는 어드레스비교회로;
상기 액티브커맨드에 응답하여 상기 어드레스비교신호를 상기 제1 래치코드로 출력하는 어드레스비교신호래치; 및
상기 제1 입력제어신호에 응답하여 상기 입력어드레스를 저장하고, 상기 제1 출력제어신호에 응답하여 상기 저장된 입력어드레스를 상기 제1 래치어드레스로 출력하는 상기 제1 어드레스저장회로를 포함하는 반도체장치.
9. The semiconductor memory device according to claim 8, wherein the first latch address generating circuit
An address comparison circuit for comparing the input address and the first latch address to generate an address comparison signal;
An address comparison signal latch for outputting the address comparison signal to the first latch code in response to the active command; And
And the first address storage circuit storing the input address in response to the first input control signal and outputting the stored input address as the first latch address in response to the first output control signal.
제 8 항에 있어서, 상기 리프레쉬어드레스생성회로는
상기 입력어드레스, 상기 액티브커맨드, 제2 입력제어신호 및 제2 출력제어신호에 응답하여 제2 래치코드 및 제2 래치어드레스를 생성하는 제2 래치어드레스생성회로; 및
상기 입력어드레스, 상기 액티브커맨드, 임의모드동작클럭 및 제3 출력제어신호에 응답하여 제3 래치코드 및 제3 래치어드레스를 생성하는 제3 래치어드레스생성회로를 더 포함하는 반도체장치.
9. The semiconductor integrated circuit according to claim 8, wherein the refresh address generating circuit
A second latch address generating circuit for generating a second latch code and a second latch address in response to the input address, the active command, the second input control signal, and the second output control signal; And
And a third latch address generating circuit for generating a third latch code and a third latch address in response to the input address, the active command, the arbitrary mode operation clock, and the third output control signal.
제 10 항에 있어서, 상기 제3 래치어드레스생성회로는
상기 입력어드레스와 상기 제3 래치어드레스를 비교하여 어드레스비교신호를 생성하는 어드레스비교회로;
상기 액티브커맨드에 응답하여 상기 어드레스비교신호를 상기 제3 래치코드로 출력하는 어드레스비교신호래치; 및
상기 임의모드동작클럭에 응답하여 상기 입력어드레스를 저장하고, 상기 제3 출력제어신호에 응답하여 상기 저장된 입력어드레스를 상기 제3 래치어드레스로 출력하는 상기 제3 어드레스저장회로를 포함하는 반도체장치.
11. The semiconductor memory device according to claim 10, wherein the third latch address generating circuit
An address comparison circuit for comparing the input address and the third latch address to generate an address comparison signal;
An address comparison signal latch for outputting the address comparison signal to the third latch code in response to the active command; And
And the third address storage circuit storing the input address in response to the arbitrary mode operation clock and outputting the stored input address as the third latch address in response to the third output control signal.
제 10 항에 있어서, 상기 리프레쉬어드레스생성회로는
리프레쉬활성화신호에 응답하여 상기 제1 래치어드레스, 제2 래치어드레스 및 제3 래치어드레스 중 하나를 리프레쉬가 수행되는 리프레쉬어드레스로 출력하는 리프레쉬어드레스출력회로를 더 포함하는 반도체장치.
11. The semiconductor memory device according to claim 10, wherein the refresh address generating circuit
And a refresh address output circuit responsive to the refresh enable signal for outputting one of the first latch address, the second latch address, and the third latch address to a refresh address to be refreshed.
제 1 항에 있어서,
상기 제1 어드레스저장회로에 저장된 어드레스에 대응되는 제1 카운터코드를 생성하고, 상기 제2 어드레스저장회로에 저장된 어드레스에 대응되는 제2 카운터코드를 생성하며, 상기 제3 어드레스저장회로에 저장된 어드레스에 대응되는 제3 카운터코드를 생성하는 카운터코드생성회로를 더 포함하는 반도체장치.
The method according to claim 1,
Generates a first counter code corresponding to the address stored in the first address storage circuit, generates a second counter code corresponding to the address stored in the second address storage circuit, And a counter code generation circuit for generating a counter code corresponding to the third counter code.
제 13 항에 있어서, 상기 카운터코드생성회로는
상기 제1 어드레스저장회로에 저장된 어드레스와 동일한 어드레스가 입력되는 경우 제1 비트 수만큼 카운팅되는 상기 제1 카운터코드를 생성하는 제1 카운터코드생성회로;
상기 제2 어드레스저장회로에 저장된 어드레스와 동일한 어드레스가 입력되는 경우 상기 제1 비트 수만큼 카운팅되는 상기 제2 카운터코드를 생성하는 제2 카운터코드생성회로; 및
상기 임의저장모드에서 상기 제3 어드레스저장회로에 저장되는 어드레스에 대응되는 상기 제3 카운터코드를 제2 비트 수만큼 카운팅하는 제3 카운터코드생성회로를 포함하되, 상기 제2 비트 수는 상기 제1 비트 수보다 크게 설정되는 반도체장치.
14. The apparatus of claim 13, wherein the counter code generation circuit
A first counter code generation circuit for generating the first counter code counted by a first number of bits when an address identical to an address stored in the first address storage circuit is input;
A second counter code generation circuit for generating the second counter code counted by the first number of bits when an address identical to the address stored in the second address storage circuit is input; And
And a third counter code generation circuit for counting the third counter code corresponding to an address stored in the third address storage circuit in the arbitrary storage mode by a second number of bits, The number of bits being set larger than the number of bits.
제 14 항에 있어서, 상기 제1 카운터코드생성회로는
카운터선택신호에 응답하여 비교클럭 및 동일감지신호에 응답하여 카운터클럭을 생성하는 카운터클럭생성회로;
리프레쉬가 종료되는 시점에 동기하여 카운터리셋신호로부터 저장리셋신호를 생성하고, 상기 카운터선택신호 및 최소감지신호에 응답하여 상기 저장리셋신호를 생성하는 저장리셋신호생성회로; 및
상기 카운터클럭 및 상기 저장리셋신호에 응답하여 카운팅되는 상기 제1 카운터코드를 생성하는 카운터래치를 포함하는 반도체장치.
15. The apparatus of claim 14, wherein the first counter code generation circuit
A counter clock generating circuit responsive to the counter selection signal for generating a counter clock in response to the comparison clock and the same sensing signal;
A storage reset signal generation circuit for generating a storage reset signal from the counter reset signal in synchronization with the end of the refresh and generating the storage reset signal in response to the counter selection signal and the minimum sensing signal; And
And a counter latch for generating the first counter code counted in response to the counter clock and the store reset signal.
제 14 항에 있어서, 상기 제3 카운터코드생성회로는
카운터선택신호에 응답하여 비교클럭 및 동일감지신호에 응답하여 카운터클럭을 생성하는 카운터클럭생성회로;
리프레쉬가 종료되는 시점에 동기하여 카운터리셋신호로부터 저장리셋신호를 생성하는 저장리셋신호생성회로; 및
상기 카운터클럭 및 상기 저장리셋신호에 응답하여 카운팅되는 상기 제3 카운터코드를 생성하는 카운터래치를 포함하는 반도체장치.
15. The apparatus of claim 14, wherein the third counter code generation circuit
A counter clock generating circuit responsive to the counter selection signal for generating a counter clock in response to the comparison clock and the same sensing signal;
A store reset signal generating circuit for generating a store reset signal from the counter reset signal in synchronization with the end of the refresh; And
And a counter latch for generating the third counter code counted in response to the counter clock and the store reset signal.
제 1 항에 있어서,
저장선택신호, 최대저장선택신호, 코드설정신호, 래치코드 및 코드비교신호에 응답하여 동일감지신호, 최소감지신호 및 최대감지신호를 생성하는 감지신호생성회로를 더 포함하는 반도체장치.
The method according to claim 1,
Further comprising: a sense signal generation circuit that generates the same sense signal, the minimum sense signal, and the maximum sense signal in response to the storage selection signal, the maximum storage selection signal, the code setting signal, the latch code, and the code comparison signal.
제 17 항에 있어서, 상기 저장선택신호는 상기 제1 동작클럭에 의해 가변하는 논리레벨조합을 갖는 반도체장치.
18. The semiconductor device of claim 17, wherein the storage select signal has a logic level combination that varies by the first operating clock.
제 17 항에 있어서, 상기 최대저장선택신호는 최대카운팅 코드 검색동작을 수행하기 위해 생성되는 제2 동작클럭에 의해 가변하는 논리레벨조합을 갖는 반도체장치.
18. The semiconductor device of claim 17, wherein the maximum storage select signal has a logic level combination that varies by a second operating clock generated to perform a maximum counting code search operation.
제 17 항에 있어서, 상기 코드설정신호는 최소카운팅 코드 검색동작이 수행되는 경우 제1 논리레벨을 갖고, 최대카운팅 코드 검색동작이 수행되는 경우 제2 논리레벨을 갖는 반도체장치.
18. The semiconductor device of claim 17, wherein the code setting signal has a first logic level when a minimum counting code search operation is performed and a second logic level when a maximum counting code search operation is performed.
제 17 항에 있어서, 상기 동일감지신호는 상기 입력어드레스가 상기 제1 어드레스저장회로 또는 상기 제2 어드레스저장회로에 저장된 어드레스와 동일한 경우 인에이블되고, 상기 최소감지신호는 상기 최소카운팅 코드 검색동작이 완료되는 경우 인에이블되며, 상기 최대감지신호는 상기 최대카운팅 코드 검색동작이 완료되는 경우 인에이블되는 반도체장치.
18. The method of claim 17, wherein the same sense signal is enabled if the input address is the same as the address stored in the first address store circuit or the second address store circuit, And wherein the maximum sense signal is enabled when the maximum counting code search operation is completed.
누적저장모드에서 입력어드레스가 저장되는 제1 어드레스저장회로 및 제2 어드레스저장회로를 포함하고, 임의저장모드에서 상기 입력어드레스가 저장되는 제3 어드레스저장회로를 포함하는 리프레쉬어드레스생성회로; 및
상기 제1 어드레스저장회로에 저장된 어드레스에 대응되는 제1 카운터코드를 생성하고, 상기 제2 어드레스저장회로에 저장된 어드레스에 대응되는 제2 카운터코드를 생성하며, 상기 제3 어드레스저장회로에 저장된 어드레스에 대응되는 제3 카운터코드를 생성하는 카운터코드생성회로를 포함하는 반도체장치.
A refresh address generating circuit including a first address storage circuit and a second address storage circuit in which an input address is stored in a cumulative storage mode, and a third address storage circuit in which the input address is stored in an arbitrary storage mode; And
Generates a first counter code corresponding to the address stored in the first address storage circuit, generates a second counter code corresponding to the address stored in the second address storage circuit, And a counter code generation circuit for generating a counter code corresponding to the third counter code.
제 22 항에 있어서, 상기 임의저장모드는 프리차지커맨드가 기설정된 횟수만큼 발생하는 경우 진입하는 반도체장치.
23. The semiconductor device according to claim 22, wherein the arbitrary storage mode is entered when a precharge command is generated a predetermined number of times.
제 22 항에 있어서, 상기 리프레쉬어드레스생성회로는
상기 입력어드레스, 액티브커맨드, 제1 입력제어신호 및 제1 출력제어신호에 응답하여 제1 래치코드 및 제1 래치어드레스를 생성하는 제1 래치어드레스생성회로를 포함하는 반도체장치.
23. The semiconductor memory device according to claim 22, wherein the refresh address generating circuit
And a first latch address generating circuit for generating a first latch code and a first latch address in response to the input address, the active command, the first input control signal, and the first output control signal.
제 24 항에 있어서, 상기 리프레쉬어드레스생성회로는
상기 입력어드레스, 상기 액티브커맨드, 제2 입력제어신호 및 제2 출력제어신호에 응답하여 제2 래치코드 및 제2 래치어드레스를 생성하는 제2 래치어드레스생성회로; 및
상기 입력어드레스, 상기 액티브커맨드, 임의모드동작클럭 및 제3 출력제어신호에 응답하여 제3 래치코드 및 제3 래치어드레스를 생성하는 제3 래치어드레스생성회로를 더 포함하는 반도체장치.
25. The semiconductor memory device according to claim 24, wherein the refresh address generating circuit
A second latch address generating circuit for generating a second latch code and a second latch address in response to the input address, the active command, the second input control signal, and the second output control signal; And
And a third latch address generating circuit for generating a third latch code and a third latch address in response to the input address, the active command, the arbitrary mode operation clock, and the third output control signal.
제 22 항에 있어서, 상기 카운터코드생성회로는
상기 제1 어드레스저장회로에 저장된 어드레스와 동일한 어드레스가 입력되는 경우 제1 비트 수만큼 카운팅되는 상기 제1 카운터코드를 생성하는 제1 카운터코드생성회로;
상기 제2 어드레스저장회로에 저장된 어드레스와 동일한 어드레스가 입력되는 경우 상기 제1 비트 수만큼 카운팅되는 상기 제2 카운터코드를 생성하는 제2 카운터코드생성회로; 및
상기 임의저장모드에서 상기 제3 어드레스저장회로에 저장되는 어드레스에 대응되는 상기 제3 카운터코드를 제2 비트 수만큼 카운팅하되, 상기 제2 비트 수는 상기 제1 비트 수보다 크게 설정되는 반도체장치.
23. The apparatus of claim 22, wherein the counter code generation circuit
A first counter code generation circuit for generating the first counter code counted by a first number of bits when an address identical to an address stored in the first address storage circuit is input;
A second counter code generation circuit for generating the second counter code counted by the first number of bits when an address identical to the address stored in the second address storage circuit is input; And
And counting the third counter code corresponding to an address stored in the third address storage circuit in the arbitrary storing mode by a second number of bits, wherein the second number of bits is set to be larger than the first number of bits.
제 26 항에 있어서, 상기 제1 카운터코드생성회로는
카운터선택신호에 응답하여 비교클럭 및 동일감지신호에 응답하여 카운터클럭을 생성하는 카운터클럭생성회로;
리프레쉬가 종료되는 시점에 동기하여 카운터리셋신호로부터 저장리셋신호를 생성하고, 상기 카운터선택신호 및 최소감지신호에 응답하여 상기 저장리셋신호를 생성하는 저장리셋신호생성회로; 및
상기 카운터클럭 및 상기 저장리셋신호에 응답하여 카운팅되는 상기 제1 카운터코드를 생성하는 카운터래치를 포함하는 반도체장치.
27. The apparatus of claim 26, wherein the first counter code generation circuit
A counter clock generating circuit responsive to the counter selection signal for generating a counter clock in response to the comparison clock and the same sensing signal;
A storage reset signal generation circuit for generating a storage reset signal from the counter reset signal in synchronization with the end of the refresh and generating the storage reset signal in response to the counter selection signal and the minimum sensing signal; And
And a counter latch for generating the first counter code counted in response to the counter clock and the store reset signal.
제 22 항에 있어서,
저장선택신호, 최대저장선택신호, 코드설정신호, 래치코드 및 코드비교신호에 응답하여 동일감지신호, 최소감지신호 및 최대감지신호를 생성하는 감지신호생성회로를 더 포함하는 반도체장치.
23. The method of claim 22,
Further comprising: a sense signal generation circuit that generates the same sense signal, the minimum sense signal, and the maximum sense signal in response to the storage selection signal, the maximum storage selection signal, the code setting signal, the latch code, and the code comparison signal.
제 28 항에 있어서, 상기 저장선택신호는 누적저장모드를 수행하기 위해 생성되는 제1 동작클럭에 의해 가변하는 논리레벨조합을 갖고, 상기 최대저장선택신호는 최대카운팅 코드 검색동작을 수행하기 위해 생성되는 제2 동작클럭에 의해 가변하는 논리레벨조합을 가지며, 상기 코드설정신호는 최소카운팅 코드 검색동작이 수행되는 경우 제1 논리레벨을 갖고, 최대카운팅 코드 검색동작이 수행되는 경우 제2 논리레벨을 갖는 반도체장치.
29. The method of claim 28, wherein the store select signal has a logic level combination variable by a first operating clock generated to perform an accumulative storage mode, and wherein the maximum store select signal is generated Wherein the code setting signal has a first logic level when a minimum counting code search operation is performed and a second logic level when a maximum counting code search operation is performed, .
제 28 항에 있어서, 상기 동일감지신호는 상기 입력어드레스가 상기 제1 어드레스저장회로 또는 상기 제2 어드레스저장회로에 저장된 어드레스와 동일한 경우 인에이블되고, 상기 최소감지신호는 상기 최소카운팅 코드 검색동작이 완료되는 경우 인에이블되며, 상기 최대감지신호는 상기 최대카운팅 코드 검색동작이 완료되는 경우 인에이블되는 반도체장치.
29. The method of claim 28, wherein the same sense signal is enabled if the input address is the same as the address stored in the first address store circuit or the second address store circuit, And wherein the maximum sense signal is enabled when the maximum counting code search operation is completed.
KR1020170059897A 2017-05-15 2017-05-15 Semiconductor device KR102298776B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170059897A KR102298776B1 (en) 2017-05-15 2017-05-15 Semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170059897A KR102298776B1 (en) 2017-05-15 2017-05-15 Semiconductor device

Publications (2)

Publication Number Publication Date
KR20180125657A true KR20180125657A (en) 2018-11-26
KR102298776B1 KR102298776B1 (en) 2021-09-08

Family

ID=64603075

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170059897A KR102298776B1 (en) 2017-05-15 2017-05-15 Semiconductor device

Country Status (1)

Country Link
KR (1) KR102298776B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11094369B1 (en) 2020-02-14 2021-08-17 SK Hynix Inc. Semiconductor memory device and operating method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150058366A (en) * 2012-11-30 2015-05-28 인텔 코포레이션 Row hammer monitoring based on stored row hammer threshold value

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150058366A (en) * 2012-11-30 2015-05-28 인텔 코포레이션 Row hammer monitoring based on stored row hammer threshold value

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11094369B1 (en) 2020-02-14 2021-08-17 SK Hynix Inc. Semiconductor memory device and operating method thereof

Also Published As

Publication number Publication date
KR102298776B1 (en) 2021-09-08

Similar Documents

Publication Publication Date Title
US9916885B2 (en) Semiconductor devices having a refresh operation
KR20180092513A (en) Semiconductor device
US10614871B2 (en) Semiconductor devices and semiconductor systems including the semiconductor devices
KR102561346B1 (en) Semiconductor device
CN110390974B (en) Semiconductor device with a semiconductor layer having a plurality of semiconductor layers
CN106683696B (en) Semiconductor device with a plurality of transistors
KR20210131813A (en) Semiconductor device and refresh method using the same
US10068632B2 (en) Semiconductor device and semiconductor system
CN108305664B (en) Semiconductor device with a plurality of transistors
US10482944B2 (en) Semiconductor devices
US9792970B2 (en) Semiconductor device and semiconductor system
KR102624198B1 (en) Semiconductor device
US9653133B2 (en) Semiconductor device and semiconductor system
KR20170109143A (en) Semiconductor device and semiconductor system
KR102298776B1 (en) Semiconductor device
US10153033B2 (en) Semiconductor devices
KR20180068661A (en) Semiconductor device
US10762933B2 (en) Semiconductor device
KR20170109141A (en) Semiconductor device
KR20190118292A (en) Semiconductor system
US11004496B2 (en) Semiconductor devices
CN111489775B (en) Semiconductor device with a plurality of transistors
KR102671075B1 (en) Semiconductor device
KR102550686B1 (en) Semiconductor device
KR102628535B1 (en) Semiconductor device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant