[go: up one dir, main page]

TWI859200B - Memory device, method of operating memory device and memory system - Google Patents

Memory device, method of operating memory device and memory system Download PDF

Info

Publication number
TWI859200B
TWI859200B TW109107592A TW109107592A TWI859200B TW I859200 B TWI859200 B TW I859200B TW 109107592 A TW109107592 A TW 109107592A TW 109107592 A TW109107592 A TW 109107592A TW I859200 B TWI859200 B TW I859200B
Authority
TW
Taiwan
Prior art keywords
memory
pim
command
address
internal processing
Prior art date
Application number
TW109107592A
Other languages
Chinese (zh)
Other versions
TW202111540A (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 南韓商三星電子股份有限公司
Publication of TW202111540A publication Critical patent/TW202111540A/en
Application granted granted Critical
Publication of TWI859200B publication Critical patent/TWI859200B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/3004Arrangements for executing specific machine instructions to perform operations on memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Memory System (AREA)
  • Dram (AREA)
  • Computing Systems (AREA)
  • Executing Machine-Instructions (AREA)
  • Advance Control (AREA)

Abstract

A memory device includes a memory cell array, signal lines, a mode selector circuit, a command converter circuit, and an internal processor. The memory cell array includes first and second memory regions. The mode selector circuit is configured to generate a processing mode selection signal for controlling the memory device to enter an internal processing mode based on the address received together with the command. The command converter circuit is configured to convert the received command into an internal processing operation command in response to activation of the processing mode selection signal. The internal processor is configured to perform an internal processing operation on the first memory region in response to the internal processing operation command, in the internal processing mode.

Description

記憶體裝置、操作記憶體裝置的方法和記憶體系統Memory device, method for operating memory device, and memory system [相關申請案的交叉參考] [Cross reference to related applications]

此美國非臨時專利申請案主張2019年3月11日在美國專利商標局提出申請的美國臨時申請案第62/816,509號及2019年12月6日在韓國智慧財產局提出申請的韓國專利申請案第10-2019-0161673號的優先權益,上述申請案的揭露內容全部併入本案供參考。 This U.S. non-provisional patent application claims priority to U.S. provisional application No. 62/816,509 filed on March 11, 2019 in the U.S. Patent and Trademark Office and Korean patent application No. 10-2019-0161673 filed on December 6, 2019 in the Korean Intellectual Property Office. The disclosures of the above applications are fully incorporated into this application for reference.

本發明概念是有關於設備及方法,且更確切而言是有關於藉由使用預定義協定介面實行內部處理操作的記憶體裝置、操作記憶體裝置的方法及包括記憶體裝置的記憶體系統。 The present invention relates to apparatus and methods, and more particularly to a memory device that performs internal processing operations by using a predefined protocol interface, a method of operating a memory device, and a memory system including a memory device.

高效能應用及圖形演算法是資料密集型且計算密集型的。執行深度神經網路的應用需要具有大的計算能力及記憶能力來準確地訓練或學習不同資料集的計算系統。記憶體中處理(processing-in-memory,PIM)型處理器可位於記憶體裝置內來以內部處理的形式實行計算系統的一些計算操作。經由記憶體裝 置的內部處理,可減小計算系統的計算操作負荷。 High-performance applications and graphics algorithms are data-intensive and computationally intensive. Applications that run deep neural networks require computing systems with large computing power and memory capabilities to accurately train or learn different data sets. Processing-in-memory (PIM) processors can be located within a memory device to perform some of the computing system's computational operations in the form of internal processing. By internal processing in a memory device, the computing system's computational operation load can be reduced.

然而,當需要用於內部處理的單獨介面時,記憶體裝置的硬體配置實施起來可變得複雜。因此,可提高支援內部處理操作的成本。 However, when a separate interface for internal processing is required, the hardware configuration of the memory device may become complicated to implement. Therefore, the cost of supporting the internal processing operation may increase.

本發明概念的至少一個示例性實施例提供藉由使用預定義協定介面來實行內部處理操作的記憶體裝置、操作記憶體裝置的方法及包括記憶體裝置的記憶體系統。 At least one exemplary embodiment of the inventive concept provides a memory device that performs internal processing operations by using a predefined protocol interface, a method of operating the memory device, and a memory system including the memory device.

根據本發明概念的示例性實施例,提供一種記憶體裝置,所述記憶體裝置包括:記憶胞元陣列,包括第一記憶區及第二記憶區;訊號線(例如,命令訊號線/位址訊號線),被配置成自位於所述記憶體裝置外的來源接收命令及位址;模式選擇器電路,被配置成基於與所述命令一起接收的所述位址而產生用於控制所述記憶體裝置進入內部處理模式的處理模式選擇訊號;命令轉換器電路,被配置成因應於所述處理模式選擇訊號的啟用而將所接收的所述命令轉換成內部處理操作命令;以及內部處理器,被配置成在所述內部處理模式中因應於所述內部處理操作命令而對所述第一記憶區實行內部處理操作。 According to an exemplary embodiment of the inventive concept, a memory device is provided, the memory device comprising: a memory cell array including a first memory area and a second memory area; a signal line (e.g., a command signal line/address signal line) configured to receive a command and an address from a source outside the memory device; a mode selector circuit configured to generate a processing mode selection signal for controlling the memory device to enter an internal processing mode based on the address received together with the command; a command converter circuit configured to convert the received command into an internal processing operation command in response to activation of the processing mode selection signal; and an internal processor configured to perform an internal processing operation on the first memory area in response to the internal processing operation command in the internal processing mode.

根據本發明概念的示例性實施例,提供一種操作記憶體裝置的方法,所述記憶體裝置包括記憶胞元陣列及內部處理器,所述記憶胞元陣列包括第一記憶區及第二記憶區,所述內部處理器被配置成實行內部處理操作,所述方法包括:經由預定義協定 介面自位於所述記憶體裝置外的來源接收命令及位址;基於與所述命令一起接收的所述位址,產生用於控制所述記憶體裝置進入內部處理模式的處理模式選擇訊號;因應於所述處理模式選擇訊號的啟用而將所接收的所述命令轉換成內部處理操作命令;以及在所述內部處理模式中,由所述內部處理器因應於所述內部處理操作命令而對所述第一記憶區實行內部處理操作。 According to an exemplary embodiment of the inventive concept, a method for operating a memory device is provided, wherein the memory device includes a memory cell array and an internal processor, wherein the memory cell array includes a first memory area and a second memory area, and the internal processor is configured to perform an internal processing operation, wherein the method includes: receiving a command and an address from a source outside the memory device via a predefined protocol interface; The address received together with the command generates a processing mode selection signal for controlling the memory device to enter an internal processing mode; in response to the activation of the processing mode selection signal, the received command is converted into an internal processing operation command; and in the internal processing mode, the internal processor performs an internal processing operation on the first memory area in response to the internal processing operation command.

根據本發明概念的示例性實施例,提供一種記憶體系統,所述記憶體系統包括:記憶體裝置;以及記憶體控制器,被配置成使用連接至所述記憶體裝置的預定義協定介面來控制所述記憶體裝置。所述記憶體裝置包括:記憶胞元陣列,包括第一記憶區及第二記憶區;模式選擇器電路,被配置成經由所述預定義協定介面自所述記憶體控制器接收命令及位址,且基於與所述命令一起接收的所述位址,產生用於控制所述記憶體裝置進入內部處理模式的處理模式選擇訊號;命令轉換器電路,被配置成因應於所述處理模式選擇訊號的啟用而將所接收的所述命令轉換成內部處理操作命令;以及內部處理器,被配置成在所述內部處理模式中因應於所述內部處理操作命令而對所述第一記憶區實行內部處理操作。 According to an exemplary embodiment of the inventive concept, a memory system is provided, the memory system including: a memory device; and a memory controller configured to control the memory device using a predefined protocol interface connected to the memory device. The memory device includes: a memory cell array including a first memory area and a second memory area; a mode selector circuit configured to receive a command and an address from the memory controller via the predefined protocol interface, and based on the address received together with the command, generate a processing mode selection signal for controlling the memory device to enter an internal processing mode; a command converter circuit configured to convert the received command into an internal processing operation command in response to activation of the processing mode selection signal; and an internal processor configured to perform an internal processing operation on the first memory area in response to the internal processing operation command in the internal processing mode.

100:系統 100: System

110:主機裝置 110: Host device

112:記憶體控制器 112:Memory controller

114:記憶體物理層介面 114: Memory physical layer interface

116:控制暫存器 116: Control register

120、120a:記憶體裝置 120, 120a: memory device

121:記憶胞元陣列 121: Memory cell array

122:記憶體中處理區 122: Processing area in memory

124:正常記憶區 124: Normal memory area

126:記憶體中處理命令轉換器 126: Processing command converter in memory

130:記憶體匯流排 130:Memory bus

132:命令/位址訊號線 132: Command/address signal line

134:資料線 134: Data line

210、210a:記憶體中處理模式選擇器 210, 210a: Processing mode selector in memory

221:輸入訊號線 221: Input signal line

222:輸出訊號線 222: Output signal line

231:第一開關 231: First switch

232:第二開關 232: Second switch

240:內部命令訊號線 240: Internal command signal line

250:PIM引擎 250:PIM engine

260:資料輸入/輸出電路 260: Data input/output circuit

301:記憶層/第一記憶層/下部記憶層 301: Memory layer/first memory layer/lower memory layer

302:記憶層/第二記憶層/下部記憶層 302: Memory layer/Second memory layer/Lower memory layer

303:記憶層/第三記憶層/下部記憶層 303: Memory layer/Third memory layer/Lower memory layer

304:記憶層/第四記憶層/下部記憶層 304: Memory layer/Fourth memory layer/Lower memory layer

305:第五記憶層/上部記憶層/記憶層 305: Fifth memory layer/upper memory layer/memory layer

306:第六記憶層/上部記憶層/記憶層 306: Sixth memory layer/upper memory layer/memory layer

307:第七記憶層/上部記憶層/記憶層 307: Seventh memory layer/upper memory layer/memory layer

308:第八記憶層/上部記憶層/記憶層 308: Eighth memory layer/upper memory layer/memory layer

310:緩衝器晶粒 310: Buffer grain

810:PIM模式進入檢查電路 810: Enter PIM mode to check circuit

820:PIM模式退出檢查電路 820: PIM mode exit check circuit

830:PIM模式選擇訊號產生電路 830: PIM mode selection signal generation circuit

ADDR:位址/位址訊號/順序位址 ADDR: address/address signal/sequential address

CH1:共用通道/第一共用通道 CH1: Common channel/first common channel

CH2:共用通道/第二共用通道 CH2: common channel/second common channel

CH3:共用通道/第三共用通道 CH3: common channel/third common channel

CH4:共用通道/第四共用通道 CH4: common channel/fourth common channel

CH5:共用通道/第五共用通道 CH5: Shared channel/fifth shared channel

CH6:共用通道/第六共用通道 CH6: Common channel/sixth common channel

CH7:共用通道/第七共用通道 CH7: Common channel/seventh common channel

CH8:共用通道/第八共用通道 CH8: Common channel/eighth common channel

CH1a、CH2a、CH3a、CH4a、CH5a、CH6a、CH7a、CH8a、CH1b、CH2b、CH3b、CH4b、CH5b、CH6b、CH7b、CH8b:通道 CH1a, CH2a, CH3a, CH4a, CH5a, CH6a, CH7a, CH8a, CH1b, CH2b, CH3b, CH4b, CH5b, CH6b, CH7b, CH8b: Channel

CK:時脈訊號 CK: Clock signal

CMD:命令 CMD: Command

DQ:待寫入資料/讀取資料/資料 DQ: Data to be written/data to be read/data

NOP: NOP:

P1a、P2a、P3a、P4a、P5a、P6a、P7a、P8a、P1b、P2b、P3b、P4b、P5b、P6b、P7b、P8b:電極焊墊 P1a, P2a, P3a, P4a, P5a, P6a, P7a, P8a, P1b, P2b, P3b, P4b, P5b, P6b, P7b, P8b: electrode pads

PIM_CMD:內部處理操作命令 PIM_CMD: Internal processing operation command

PIM_ENTER:PIM模式進入訊號 PIM_ENTER: PIM mode entry signal

PIM_EXIT:PIM模式退出訊號 PIM_EXIT: PIM mode exit signal

PIM_SEL:PIM模式選擇訊號 PIM_SEL: PIM mode selection signal

RD:讀取命令 RD: Read command

S610、S620、S630、S640、S641、S642、S650、S651、S905、S911、S912、S920、S930、S940、S941、S942、S950、S951:操作 S610, S620, S630, S640, S641, S642, S650, S651, S905, S911, S912, S920, S930, S940, S941, S942, S950, S951: Operation

SID:堆疊辨識訊號 SID: stack identification signal

Ta、Tb、Tc、Td:時間點 Ta, Tb, Tc, Td: time point

tCCD:CAS至CAS延遲/時序參數 tCCD: CAS to CAS delay/timing parameters

tRTW:讀取至寫入延遲/時序參數 tRTW: read to write delay/timing parameters

TSV1、TSV2、TSV3、TSV4、TSV5、TSV6、TSV7、TSV8:矽穿孔 TSV1, TSV2, TSV3, TSV4, TSV5, TSV6, TSV7, TSV8: Through Silicon Via

WR:寫入命令 WR: write command

結合附圖閱讀以下詳細說明,將更清晰地理解本發明概念的示例性實施例,在附圖中: 圖1是示出根據本發明概念的示例性實施例的包括實行內部處理操作的記憶體裝置的系統的圖。 The exemplary embodiments of the present inventive concept will be more clearly understood by reading the following detailed description in conjunction with the accompanying drawings, in which: Figure 1 is a diagram showing a system including a memory device that performs internal processing operations according to an exemplary embodiment of the present inventive concept.

圖2是闡述根據本發明概念的示例性實施例的記憶體裝置的方塊圖。 FIG. 2 is a block diagram illustrating a memory device according to an exemplary embodiment of the inventive concept.

圖3至圖5是闡述圖2所示記憶體裝置的結構的一部分的圖。 Figures 3 to 5 are diagrams illustrating a portion of the structure of the memory device shown in Figure 2.

圖6是闡述根據本發明概念的示例性實施例的圖2所示記憶體裝置的操作的流程圖。 FIG. 6 is a flow chart illustrating the operation of the memory device shown in FIG. 2 according to an exemplary embodiment of the inventive concept.

圖7是闡述根據本發明概念的示例性實施例的圖2所示記憶體裝置的操作的時序圖。 FIG. 7 is a timing diagram illustrating the operation of the memory device shown in FIG. 2 according to an exemplary embodiment of the inventive concept.

圖8是闡述根據本發明概念的示例性實施例的圖2所示PIM模式選擇器的圖。 FIG8 is a diagram illustrating the PIM mode selector shown in FIG2 according to an exemplary embodiment of the concepts of the present invention.

圖9是闡述根據本發明概念的示例性實施例的圖2所示記憶體裝置的操作的流程圖。 FIG. 9 is a flow chart illustrating the operation of the memory device shown in FIG. 2 according to an exemplary embodiment of the inventive concept.

圖1是示出根據本發明概念的示例性實施例的包括實行內部處理操作的記憶體裝置的系統的圖。 FIG. 1 is a diagram showing a system including a memory device that performs internal processing operations according to an exemplary embodiment of the inventive concept.

參考圖1,系統100包括主機裝置110及記憶體裝置120。主機裝置110可經由記憶體匯流排130通訊連接至記憶體裝置120。 Referring to FIG. 1 , the system 100 includes a host device 110 and a memory device 120. The host device 110 can be communicatively connected to the memory device 120 via a memory bus 130.

可使用表達「連接」及/或「耦合」以及其派生詞來闡述一些實例。該些用語未必旨在彼此為同義詞。舉例而言,使用用語「連接」及/或「耦合」的說明可表明兩個或更多個元件彼此直 接實體接觸或電性接觸。另外,用語「連接」及/或「耦合」亦可意指兩個或更多個元件彼此不直接接觸但彼此仍協作或互動。 The expressions "connected" and/or "coupled" and their derivatives may be used to illustrate some examples. These terms are not necessarily intended to be synonymous with each other. For example, descriptions using the terms "connected" and/or "coupled" may indicate that two or more elements are in direct physical or electrical contact with each other. Additionally, the terms "connected" and/or "coupled" may also mean that two or more elements are not in direct contact with each other but still cooperate or interact with each other.

主機裝置110可以是例如計算系統,如電腦、膝上型電腦、伺服器、工作站、可攜式通訊終端、個人數位助理(personal digital assistant,PDA)、可攜式多媒體播放器(portable multimedia player,PMP)、智慧型電話或隨身裝置。另一選擇為,主機裝置110可以是計算系統中所包括的多個組件中的一者,例如圖形卡。 The host device 110 may be, for example, a computing system such as a computer, a laptop, a server, a workstation, a portable communication terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), a smart phone, or a portable device. Alternatively, the host device 110 may be one of a plurality of components included in the computing system, such as a graphics card.

主機裝置110是在系統100中實行一般電腦操作的功能區塊且可對應於中央處理單元(central processing unit,CPU)、數位訊號處理器(DSP)、圖形處理單元(graphics processing unit,GPU)或應用處理器(application processor,AP)。主機裝置110可包括管理往來於記憶體裝置120的資料傳輸及接收的記憶體控制器112(例如,控制電路)。 The host device 110 is a functional block that implements general computer operations in the system 100 and may correspond to a central processing unit (CPU), a digital signal processor (DSP), a graphics processing unit (GPU), or an application processor (AP). The host device 110 may include a memory controller 112 (e.g., a control circuit) that manages data transmission and reception to and from the memory device 120.

記憶體控制器112可根據主機裝置110的記憶體請求存取記憶體裝置120。記憶體控制器112包括用於與記憶體裝置120介接的記憶體物理層介面114。舉例而言,記憶體控制器112可用於選擇與記憶位置對應的列及行、將資料寫入至記憶位置或讀取所寫入的資料。記憶體物理層介面114可被稱為記憶體PHY 114。 The memory controller 112 may access the memory device 120 according to the memory request of the host device 110. The memory controller 112 includes a memory physical layer interface 114 for interfacing with the memory device 120. For example, the memory controller 112 may be used to select a row and a column corresponding to a memory location, write data to a memory location, or read written data. The memory physical layer interface 114 may be referred to as a memory PHY 114.

記憶體控制器112包括控制暫存器116。控制暫存器116可用於將記憶體裝置120初始化及/或根據記憶體裝置120的操作特性來控制記憶體裝置120。在給系統100供電之後,記憶體控制器112可對控制暫存器116進行設定。控制暫存器116可儲存被 配置成容許記憶體控制器112與記憶體裝置120正常地交互操作的各種碼。舉例而言,表明記憶體裝置120的頻率、時序及詳細操作參數的碼可儲存於控制暫存器116中。此外,控制暫存器116可儲存特定位址資訊,所述特定位址資訊由記憶體控制器112使用來根據操作模式在實體上或在邏輯上劃分記憶體裝置120的記憶胞元陣列121。 The memory controller 112 includes a control register 116. The control register 116 may be used to initialize the memory device 120 and/or control the memory device 120 according to the operating characteristics of the memory device 120. After power is supplied to the system 100, the memory controller 112 may set the control register 116. The control register 116 may store various codes configured to allow the memory controller 112 to interoperate normally with the memory device 120. For example, codes indicating frequency, timing, and detailed operating parameters of the memory device 120 may be stored in the control register 116. In addition, the control register 116 may store specific address information used by the memory controller 112 to physically or logically divide the memory cell array 121 of the memory device 120 according to the operation mode.

舉例而言,特定位址資訊可表明用於將記憶胞元陣列121劃分成PIM區122及正常記憶區124的特定位址。PIM區122可以是當記憶體裝置120在內部處理模式中操作時存取的記憶胞元區,且正常記憶區可以是當記憶體裝置120在正常模式中操作時存取的記憶胞元區。舉例而言,特定位址可表明用於存取PIM區122的位址且可用作容許記憶體裝置120進入內部處理模式的基本訊號。特定位址可包括例如堆疊辨識訊號、通道位址或記憶體庫位址。根據實施例,所述特定位址可包括堆疊辨識訊號、通道位址及/或記憶體庫位址的組合。 For example, the specific address information may indicate a specific address for dividing the memory cell array 121 into the PIM area 122 and the normal memory area 124. The PIM area 122 may be a memory cell area accessed when the memory device 120 operates in the internal processing mode, and the normal memory area may be a memory cell area accessed when the memory device 120 operates in the normal mode. For example, the specific address may indicate an address for accessing the PIM area 122 and may be used as a basic signal for allowing the memory device 120 to enter the internal processing mode. The specific address may include, for example, a stack identification signal, a channel address, or a memory bank address. According to an embodiment, the specific address may include a combination of a stack identification signal, a channel address and/or a memory bank address.

記憶體控制器112可藉由將命令CMD(例如,讀取命令、寫入命令、驗證命令等)及位址ADDR提供至記憶體裝置120來控制記憶體裝置120的寫入操作或讀取操作。此外,可在記憶體控制器112與記憶體裝置120之間傳輸及接收待寫入資料DQ及讀取資料DQ。在第一記憶體存取操作期間,可將資料DQ自記憶體控制器112傳輸至記憶體裝置120,記憶體裝置120可接收所傳輸的資料DQ,且然後記憶體裝置120可將所接收的資料DQ寫入 至記憶胞元陣列121。在第二記憶體存取操作期間,記憶體裝置120可自記憶胞元陣列121讀取資料DQ,記憶體裝置120可將所讀取的資料DQ傳輸至記憶體控制器112,且然後記憶體控制器112可接收所傳輸的資料DQ。可經由記憶體PHY 114及記憶體匯流排130在記憶體控制器112與記憶體裝置120之間實行此記憶體存取操作。 The memory controller 112 may control a write operation or a read operation of the memory device 120 by providing a command CMD (e.g., a read command, a write command, a verification command, etc.) and an address ADDR to the memory device 120. In addition, data DQ to be written and data DQ to be read may be transmitted and received between the memory controller 112 and the memory device 120. During a first memory access operation, data DQ may be transmitted from the memory controller 112 to the memory device 120, the memory device 120 may receive the transmitted data DQ, and then the memory device 120 may write the received data DQ to the memory cell array 121. During the second memory access operation, the memory device 120 may read the data DQ from the memory cell array 121, the memory device 120 may transmit the read data DQ to the memory controller 112, and then the memory controller 112 may receive the transmitted data DQ. This memory access operation may be performed between the memory controller 112 and the memory device 120 via the memory PHY 114 and the memory bus 130.

記憶體PHY 114是供給在記憶體控制器112與記憶體裝置120之間進行高效通訊所需的訊號、頻率、時序、詳細操作參數以及功能性的物理層或電性層及邏輯層。記憶體PHY 114可支援電子裝置工程聯合委員會(JEDEC)標準的雙倍資料速率(double data rate,DDR)協定及/或低功率雙倍資料速率(low power double data rate,LPDDR)協定的特徵。 The memory PHY 114 provides the signals, frequencies, timings, detailed operating parameters, and functional physical or electrical layers and logical layers required for efficient communication between the memory controller 112 and the memory device 120. The memory PHY 114 may support the features of the double data rate (DDR) protocol and/or the low power double data rate (LPDDR) protocol of the Joint Electronic Device Engineering Council (JEDEC) standard.

記憶體PHY 114可包括用於對記憶體控制器112與記憶體裝置120進行連接的連接件。可以接腳、球、訊號線或其他硬體組件的形式實施所述連接件。舉例而言,可經由記憶體PHY 114在記憶體控制器112與記憶體裝置120之間傳輸及接收時脈訊號CK(圖7)、命令CMD、位址ADDR及資料DQ。 The memory PHY 114 may include a connector for connecting the memory controller 112 and the memory device 120. The connector may be implemented in the form of a pin, a ball, a signal line, or other hardware components. For example, a clock signal CK (FIG. 7), a command CMD, an address ADDR, and data DQ may be transmitted and received between the memory controller 112 and the memory device 120 via the memory PHY 114.

再次使用記憶體PHY 114中的現有連接件可在積體電路IC中節約大量的空間且可避免將額外配線延伸至記憶體裝置120的成本。此外,避免額外接腳及配線會消除由於額外配線的存在而造成的潛在電磁干擾(electro-magnetic interference,EMI),且由於不需要大數目的驅動器及接收器,因此可實現電力節約。 Reusing existing connectors in the memory PHY 114 can save a significant amount of space in the integrated circuit IC and avoid the cost of extending additional wiring to the memory device 120. In addition, avoiding additional pins and wiring eliminates potential electromagnetic interference (EMI) caused by the presence of additional wiring, and power savings can be achieved because a large number of drivers and receivers are not required.

記憶體匯流排130可包括用於傳輸命令/位址CMD/ADDR的命令/位址訊號線132及用於傳輸資料DQ的資料線134。為使圖式簡單,說明命令/位址訊號線132及資料線134是記憶體控制器112與記憶體裝置120之間的單條線,但命令/位址訊號線132及資料線134實際上可以是多條訊號線。 The memory bus 130 may include a command/address signal line 132 for transmitting a command/address CMD/ADDR and a data line 134 for transmitting data DQ. To simplify the diagram, the command/address signal line 132 and the data line 134 are illustrated as a single line between the memory controller 112 and the memory device 120, but the command/address signal line 132 and the data line 134 may actually be multiple signal lines.

記憶體裝置120可在記憶體控制器112的控制下寫入資料或讀取資料。舉例而言,記憶體裝置120可以是DDR同步動態隨機存取記憶體(synchronous dynamic random access memory,SDRAM)裝置。然而,本發明概念並不僅限於此,且記憶體裝置120可以是揮發性記憶體裝置中的任一者,如LPDDR SDRAM、寬輸入/輸出(input/output,I/O)DRAM、高頻寬記憶體(high bandwidth memory,HBM)及混合記憶立方體(hybrid memory cube,HMC)。根據實施例,記憶體裝置120可以是非揮發性記憶體裝置中的任一者,如快閃記憶體、相變RAM(phase-change RAM,PRAM)、磁性RAM(magnetic RAM,MRAM)、電阻RAM(resistive RAM,RRAM)及鐵電RAM(ferroelectric RAM,FRAM)。 The memory device 120 may write data or read data under the control of the memory controller 112. For example, the memory device 120 may be a DDR synchronous dynamic random access memory (SDRAM) device. However, the inventive concept is not limited thereto, and the memory device 120 may be any of volatile memory devices, such as LPDDR SDRAM, wide input/output (I/O) DRAM, high bandwidth memory (HBM), and hybrid memory cube (HMC). According to an embodiment, the memory device 120 may be any of non-volatile memory devices, such as flash memory, phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FRAM).

在本發明概念的示例性實施例中,記憶體裝置120在正常模式及內部處理模式中的一者中操作。正常模式指代實行一般資料交易操作的操作模式,且內部處理模式指代實行內部處理操作的操作模式。 In an exemplary embodiment of the inventive concept, the memory device 120 operates in one of a normal mode and an internal processing mode. The normal mode refers to an operation mode in which general data transaction operations are performed, and the internal processing mode refers to an operation mode in which internal processing operations are performed.

在正常模式中,記憶體裝置120在記憶體控制器112的控制下實行一般資料交易操作。一般資料交易操作是根據預定義 協定(如DDR協定及/或LPDDR協定)實行的資料交換操作。 In normal mode, the memory device 120 performs general data transaction operations under the control of the memory controller 112. General data transaction operations are data exchange operations performed according to a predefined protocol (such as the DDR protocol and/or the LPDDR protocol).

在內部處理模式中,記憶體裝置120在記憶體控制器112的控制下實行內部處理操作。記憶體控制器112可使用預定義協定(如DDR協定及/或LPDDR協定)經由命令/位址訊號線132將特定位址提供至記憶體裝置120,所述特定位址是將由記憶體裝置120實行的內部處理操作的基礎。記憶體裝置120可基於所述特定位址進入內部處理模式。可經由記憶體PHY 114的現有連接件提供所述特定位址。 In the internal processing mode, the memory device 120 performs internal processing operations under the control of the memory controller 112. The memory controller 112 may provide a specific address to the memory device 120 via the command/address signal line 132 using a predefined protocol (such as the DDR protocol and/or the LPDDR protocol), and the specific address is the basis for the internal processing operation to be performed by the memory device 120. The memory device 120 may enter the internal processing mode based on the specific address. The specific address may be provided via an existing connection of the memory PHY 114.

舉例而言,當記憶體裝置120安裝於系統100中時,可靜態地設定作為內部處理操作的基礎的特定位址。靜態設定意指可使用一個特定位址資訊來將特定位址固定下來。根據示例性實施例,在記憶體裝置120的內部處理操作之前及之後動態地設定特定位址。可在動態設定期間使用特定位址資訊的各種組合來改變特定位址。 For example, when the memory device 120 is installed in the system 100, a specific address that is the basis for internal processing operations can be statically set. Static setting means that a specific address information can be used to fix the specific address. According to an exemplary embodiment, the specific address is dynamically set before and after the internal processing operation of the memory device 120. Various combinations of specific address information can be used to change the specific address during dynamic setting.

記憶體裝置120包括記憶胞元陣列121及PIM命令轉換器126(例如,處理器或邏輯電路)。記憶胞元陣列121包括根據記憶體裝置120的操作模式在實體上或在邏輯上被劃分的PIM區122及正常記憶區124。 The memory device 120 includes a memory cell array 121 and a PIM command converter 126 (e.g., a processor or a logic circuit). The memory cell array 121 includes a PIM area 122 and a normal memory area 124 that are physically or logically divided according to the operation mode of the memory device 120.

PIM區122可指代被配置成為在內部處理模式中實行的內部處理操作存取內部處理資料的記憶胞元區。記憶體裝置120的內部處理操作可包括對PIM區122進行寫入的操作及/或自PIM區122進行讀取的操作。 The PIM area 122 may refer to a memory cell area configured to access internal processing data for internal processing operations performed in an internal processing mode. The internal processing operations of the memory device 120 may include operations of writing to the PIM area 122 and/or operations of reading from the PIM area 122.

正常記憶區124可指代被配置成根據在正常模式中實行的一般資料交易操作存取資料的記憶胞元區。記憶體裝置120的資料交易操作可包括對正常記憶區124進行寫入的操作及/或自正常記憶區124進行讀取的操作。 The normal memory area 124 may refer to a memory cell area configured to access data according to a general data transaction operation performed in a normal mode. The data transaction operation of the memory device 120 may include an operation of writing to the normal memory area 124 and/or an operation of reading from the normal memory area 124.

當經由命令/位址訊號線132接收的位址ADDR包括是內部處理操作的基礎的特定位址時,PIM命令轉換器126將經由命令/位址訊號線132接收的命令CMD轉換成內部處理操作命令PIM_CMD。舉例而言,PIM命令轉換器126可將經由命令/位址訊號線132接收的命令CMD轉換成指示內部處理操作類型的內部處理操作命令PIM_CMD,所述內部處理操作類型包括例如:資料搜尋、資料算術運算(例如加、減、乘、除等)、資料移動、資料反演、資料移位、資料調換、資料比較、邏輯運算、資料處理/操作等。內部處理操作命令PIM_CMD可包括與內部處理操作相關聯的內部處理讀取命令及/或內部處理寫入命令。 When the address ADDR received via the command/address signal line 132 includes a specific address that is the basis of the internal processing operation, the PIM command converter 126 converts the command CMD received via the command/address signal line 132 into the internal processing operation command PIM_CMD. For example, the PIM command converter 126 can convert the command CMD received via the command/address signal line 132 into the internal processing operation command PIM_CMD indicating the type of internal processing operation, and the internal processing operation type includes, for example: data search, data arithmetic operation (such as addition, subtraction, multiplication, division, etc.), data movement, data inversion, data shift, data exchange, data comparison, logical operation, data processing/operation, etc. The internal processing operation command PIM_CMD may include an internal processing read command and/or an internal processing write command associated with the internal processing operation.

可根據內部處理操作命令PIM_CMD實行自PIM區122讀取內部處理資料或將內部處理資料寫入至PIM區122的內部處理操作。內部處理資料可指代在內部處理操作時使用的參考資料或目標資料。此外,內部處理資料可包括與內部處理操作(如資料調換)相關的位址資訊。 An internal processing operation of reading internal processing data from the PIM area 122 or writing internal processing data to the PIM area 122 may be performed according to the internal processing operation command PIM_CMD. The internal processing data may refer to reference data or target data used in the internal processing operation. In addition, the internal processing data may include address information related to the internal processing operation (such as data exchange).

圖2是闡述根據本發明概念的示例性實施例的記憶體裝置的方塊圖。 FIG. 2 is a block diagram illustrating a memory device according to an exemplary embodiment of the inventive concept.

參考圖1及圖2,記憶體裝置120包括:記憶胞元陣列 121,包括PIM區122及正常記憶區124;PIM命令轉換器126;PIM模式選擇器210(例如,邏輯電路);第一開關231;第二開關232;PIM引擎250(例如,處理器或邏輯電路);以及資料輸入/輸出電路260。 1 and 2, the memory device 120 includes: a memory cell array 121, including a PIM area 122 and a normal memory area 124; a PIM command converter 126; a PIM mode selector 210 (e.g., a logic circuit); a first switch 231; a second switch 232; a PIM engine 250 (e.g., a processor or a logic circuit); and a data input/output circuit 260.

在記憶胞元陣列121中,PIM區122可以是被界定成當記憶體裝置120在內部處理模式中操作時為內部處理操作存取(例如,儲存)並輸出內部處理資料的區。正常記憶區124可以是被界定成當記憶體裝置120在正常模式中操作時根據一般資料交易操作存取資料的區。可將PIM區122及正常記憶區124設定為記憶胞元陣列121中的固定區。在區固定的示例性實施例中,其大小及在記憶胞元陣列121內的實體位置保持恆定。根據實施例,可將PIM區122及正常記憶區124設定為記憶胞元陣列121中的可變區。在區可變的示例性實施例中,其大小及在記憶胞元陣列121內的實體位置基於一個或多個條件而可動態地改變。 In the memory cell array 121, the PIM area 122 may be an area defined to access (e.g., store) and output internal processing data for internal processing operations when the memory device 120 operates in the internal processing mode. The normal memory area 124 may be an area defined to access data according to general data transaction operations when the memory device 120 operates in the normal mode. The PIM area 122 and the normal memory area 124 may be set as fixed areas in the memory cell array 121. In an exemplary embodiment where the area is fixed, its size and physical position within the memory cell array 121 remain constant. According to an embodiment, the PIM area 122 and the normal memory area 124 may be set as variable areas in the memory cell array 121. In the exemplary embodiment where the region is variable, its size and physical location within the memory cell array 121 can be changed dynamically based on one or more conditions.

當記憶體裝置120在內部處理模式中操作時,PIM命令轉換器126可將經由命令/位址訊號線132接收的命令CMD轉換成內部處理操作命令PIM_CMD。 When the memory device 120 operates in the internal processing mode, the PIM command converter 126 can convert the command CMD received via the command/address signal line 132 into the internal processing operation command PIM_CMD.

PIM模式選擇器210可經由記憶體匯流排130的命令/位址訊號線132自記憶體控制器112接收位址ADDR,並因應於所接收的位址ADDR輸出PIM模式選擇訊號PIM_SEL。PIM模式選擇器210可判斷特定位址是否包括於所接收的位址ADDR中並按照判斷的結果輸出PIM模式選擇訊號PIM_SEL。在示例性實施例 中,PIM模式選擇器210在所接收的位址ADDR處於位址的預定義範圍內時輸出被設定至第一邏輯位準的PIM模式選擇訊號PIM_SEL以表明內部處理模式,且在所接收的位址ADDR處於位址的預定義範圍外時輸出被設定至第二其他邏輯位準的PIM模式選擇訊號PIM_SEL以表明正常模式。舉例而言,特定位址可以是處於所述範圍內的位址或可以是特定位址本身。 The PIM mode selector 210 may receive the address ADDR from the memory controller 112 via the command/address signal line 132 of the memory bus 130 and output the PIM mode selection signal PIM_SEL in response to the received address ADDR. The PIM mode selector 210 may determine whether a specific address is included in the received address ADDR and output the PIM mode selection signal PIM_SEL according to the determination result. In an exemplary embodiment, the PIM mode selector 210 outputs a PIM mode selection signal PIM_SEL set to a first logic level to indicate an internal processing mode when the received address ADDR is within a predefined range of addresses, and outputs a PIM mode selection signal PIM_SEL set to a second other logic level to indicate a normal mode when the received address ADDR is outside the predefined range of addresses. For example, the specific address may be an address within the range or may be the specific address itself.

在示例性實施例中,PIM模式選擇器210獲悉的特定位址與儲存於記憶體控制器112的控制暫存器116中且用於對PIM區122進行定址的特定位址相同。舉例而言,可將一個或多個位址儲存於控制暫存器116中作為特定位址。PIM模式選擇訊號PIM_SEL用作控制訊號來判斷記憶體裝置120是進入內部處理模式並在內部處理模式中操作還是進入正常模式並在正常模式中操作。另一選擇為,可將特定位址儲存於記憶體控制器112的控制暫存器116外、記憶體控制器112的記憶體內,或者儲存於記憶體控制器外的主機裝置110的記憶體內。 In an exemplary embodiment, the specific address learned by the PIM mode selector 210 is the same as the specific address stored in the control register 116 of the memory controller 112 and used to address the PIM area 122. For example, one or more addresses may be stored in the control register 116 as the specific address. The PIM mode selection signal PIM_SEL is used as a control signal to determine whether the memory device 120 enters the internal processing mode and operates in the internal processing mode or enters the normal mode and operates in the normal mode. Alternatively, the specific address may be stored outside the control register 116 of the memory controller 112, in the memory of the memory controller 112, or in the memory of the host device 110 outside the memory controller.

當經由命令/位址訊號線132接收的位址ADDR中包括特定位址時,PIM模式選擇器210可啟用PIM模式選擇訊號PIM_SEL。藉由啟用PIM模式選擇訊號PIM_SEL,記憶體裝置120可在內部處理模式中操作。當經由命令/位址訊號線132接收的位址ADDR中不包括特定位址時,PIM模式選擇器210可禁用PIM模式選擇訊號PIM_SEL。舉例而言,可藉由將PIM模式選擇訊號PIM_SEL設定至第一邏輯位準來啟用PIM模式選擇訊號 PIM_SEL,且藉由將PIM模式選擇訊號PIM_SEL設定至第二邏輯位準來禁用PIM模式選擇訊號PIM_SEL。藉由禁用PIM模式選擇訊號PIM_SEL,記憶體裝置120可在正常模式中操作。可將PIM模式選擇訊號PIM_SEL提供至第一開關231及第二開關232。 When the address ADDR received via the command/address signal line 132 includes a specific bit address, the PIM mode selector 210 may enable the PIM mode selection signal PIM_SEL. By enabling the PIM mode selection signal PIM_SEL, the memory device 120 may operate in the internal processing mode. When the address ADDR received via the command/address signal line 132 does not include a specific bit address, the PIM mode selector 210 may disable the PIM mode selection signal PIM_SEL. For example, the PIM mode selection signal PIM_SEL may be enabled by setting the PIM mode selection signal PIM_SEL to a first logic level, and the PIM mode selection signal PIM_SEL may be disabled by setting the PIM mode selection signal PIM_SEL to a second logic level. By disabling the PIM mode selection signal PIM_SEL, the memory device 120 can operate in a normal mode. The PIM mode selection signal PIM_SEL can be provided to the first switch 231 and the second switch 232.

第一開關231可因應於PIM模式選擇訊號PIM_SEL而將命令/位址訊號線132選擇性地連接至PIM命令轉換器126的輸入訊號線221或內部命令訊號線240。第二開關232可因應於PIM模式選擇訊號PIM_SEL而將PIM命令轉換器126的輸出訊號線222或內部命令訊號線240選擇性地連接至記憶胞元陣列121及PIM引擎250。 The first switch 231 can selectively connect the command/address signal line 132 to the input signal line 221 or the internal command signal line 240 of the PIM command converter 126 in response to the PIM mode selection signal PIM_SEL. The second switch 232 can selectively connect the output signal line 222 or the internal command signal line 240 of the PIM command converter 126 to the memory cell array 121 and the PIM engine 250 in response to the PIM mode selection signal PIM_SEL.

第一開關231可因應於PIM模式選擇訊號PIM_SEL的啟用而將命令/位址訊號線132選擇性地連接至PIM命令轉換器126的輸入訊號線221。第一開關231可將經由命令/位址訊號線132接收的命令CMD提供至PIM命令轉換器126。PIM命令轉換器126可將經由輸入訊號線221接收的命令CMD轉換成內部處理操作命令PIM_CMD並將內部處理操作命令PIM_CMD輸出至輸出訊號線222。內部處理操作命令PIM_CMD可以是與在內部處理模式中實行的內部處理操作相關聯的命令。 The first switch 231 may selectively connect the command/address signal line 132 to the input signal line 221 of the PIM command converter 126 in response to the activation of the PIM mode selection signal PIM_SEL. The first switch 231 may provide the command CMD received via the command/address signal line 132 to the PIM command converter 126. The PIM command converter 126 may convert the command CMD received via the input signal line 221 into an internal processing operation command PIM_CMD and output the internal processing operation command PIM_CMD to the output signal line 222. The internal processing operation command PIM_CMD may be a command associated with an internal processing operation performed in the internal processing mode.

第二開關232可因應於PIM模式選擇訊號PIM_SEL的啟用而將PIM命令轉換器126的輸出訊號線222連接至記憶胞元陣列121及/或PIM引擎250。第二開關232可將經由PIM命令轉換器126的輸出訊號線222輸出的內部處理操作命令PIM_CMD提 供至記憶胞元陣列121的PIM區122及/或PIM引擎250。PIM引擎250可根據內部處理操作命令PIM_CMD存取PIM區122並實行內部處理操作。舉例而言,內部處理操作可包括對儲存於PIM區122中的內部處理資料進行的處理操作,例如資料搜尋、資料算術運算(例如加、減、乘、除等)、資料移動、資料反演、資料移位、資料調換、資料比較、邏輯運算、資料處理/操作等。 The second switch 232 may connect the output signal line 222 of the PIM command converter 126 to the memory cell array 121 and/or the PIM engine 250 in response to the activation of the PIM mode selection signal PIM_SEL. The second switch 232 may provide the internal processing operation command PIM_CMD outputted via the output signal line 222 of the PIM command converter 126 to the PIM area 122 of the memory cell array 121 and/or the PIM engine 250. The PIM engine 250 may access the PIM area 122 and perform internal processing operations according to the internal processing operation command PIM_CMD. For example, the internal processing operation may include processing operations performed on the internal processing data stored in the PIM area 122, such as data search, data arithmetic operation (such as addition, subtraction, multiplication, division, etc.), data movement, data inversion, data shift, data exchange, data comparison, logical operation, data processing/operation, etc.

第一開關231可因應於PIM模式選擇訊號PIM_SEL的禁用及經由命令/位址訊號線132至內部命令訊號線240接收的命令CMD而將命令/位址訊號線132連接至內部命令訊號線240。提供至內部命令訊號線240的命令CMD可以是與在正常模式中實行的資料交易操作相關聯的命令。 The first switch 231 can connect the command/address signal line 132 to the internal command signal line 240 in response to the disabling of the PIM mode selection signal PIM_SEL and the command CMD received via the command/address signal line 132 to the internal command signal line 240. The command CMD provided to the internal command signal line 240 can be a command associated with a data transaction operation performed in the normal mode.

第二開關232可因應於PIM模式選擇訊號PIM_SEL的禁用而將內部命令訊號線240連接至記憶胞元陣列121。可根據提供至內部命令訊號線240的命令CMD存取記憶胞元陣列121的正常記憶區124,且因此可實行資料交易操作。舉例而言,第二開關232可因應於PIM模式選擇訊號PIM_SEL的禁用而將內部命令訊號線240連接至正常記憶區124。 The second switch 232 can connect the internal command signal line 240 to the memory cell array 121 in response to the disabling of the PIM mode selection signal PIM_SEL. The normal memory area 124 of the memory cell array 121 can be accessed according to the command CMD provided to the internal command signal line 240, and thus a data transaction operation can be implemented. For example, the second switch 232 can connect the internal command signal line 240 to the normal memory area 124 in response to the disabling of the PIM mode selection signal PIM_SEL.

當記憶體裝置120在內部處理模式中操作時,PIM引擎250可根據內部處理操作命令PIM_CMD實行內部處理操作。PIM引擎250可根據內部處理操作命令PIM_CMD藉由使用記憶胞元陣列121的PIM區122來對內部處理資料實行內部處理操作。 When the memory device 120 operates in the internal processing mode, the PIM engine 250 may perform the internal processing operation according to the internal processing operation command PIM_CMD. The PIM engine 250 may perform the internal processing operation on the internal processing data by using the PIM area 122 of the memory cell array 121 according to the internal processing operation command PIM_CMD.

PIM引擎250是具有處理功能性的硬體,類似於主機裝 置110中所包括的處理器(例如,CPU)。當PIM引擎250被稱為內部處理器時,用語「內部」意指PIM引擎250存在於記憶體裝置120內。因此,存在於記憶體裝置120「外」的處理器可指代例如主機裝置110的處理器。 The PIM engine 250 is hardware having processing functionality, similar to a processor (e.g., a CPU) included in the host device 110. When the PIM engine 250 is referred to as an internal processor, the term "internal" means that the PIM engine 250 exists within the memory device 120. Therefore, a processor existing "outside" the memory device 120 may refer to, for example, a processor of the host device 110.

資料輸入/輸出電路260可用作記憶體裝置120的寫入驅動器(例如,驅動電路)或感測放大器。資料輸入/輸出電路260可經由記憶體匯流排130的資料線134自記憶體控制器112接收資料DQ,並將所接收的資料DQ提供至記憶胞元陣列121及/或PIM引擎250。資料輸入/輸出電路260可自記憶胞元陣列121及/或PIM引擎250接收資料DQ,並將所接收的資料DQ經由資料線134傳輸至記憶體控制器112。 The data input/output circuit 260 can be used as a write driver (e.g., a driver circuit) or a sense amplifier of the memory device 120. The data input/output circuit 260 can receive data DQ from the memory controller 112 via the data line 134 of the memory bus 130, and provide the received data DQ to the memory cell array 121 and/or the PIM engine 250. The data input/output circuit 260 can receive data DQ from the memory cell array 121 and/or the PIM engine 250, and transmit the received data DQ to the memory controller 112 via the data line 134.

當記憶體裝置120在內部處理模式中操作時,PIM引擎250可實行內部處理操作。在此種情形中,PIM引擎250可經由資料輸入/輸出電路260及資料線134來將資料DQ傳輸至記憶體控制器112/自記憶體控制器112接收資料DQ。 When the memory device 120 operates in the internal processing mode, the PIM engine 250 may perform internal processing operations. In this case, the PIM engine 250 may transmit data DQ to/receive data DQ from the memory controller 112 via the data input/output circuit 260 and the data line 134.

舉例而言,當PIM引擎250因應於內部處理操作命令PIM_CMD而實行內部處理操作時,可將經由資料線134及資料輸入/輸出電路260接收的資料DQ儲存於記憶胞元陣列121的PIM區122中作為內部處理資料。PIM引擎250可根據因應於PIM區122中的內部處理操作命令PIM_CMD而實行的內部處理操作儲存內部處理資料。PIM引擎250可根據內部處理操作命令PIM_CMD自PIM區122讀取內部處理資料。PIM引擎250可基於自PIM區 122讀取的內部處理資料實行內部處理操作。PIM引擎250可將經由內部處理操作處理的內部處理資料經由資料輸入/輸出電路260及資料線134傳輸至記憶體控制器112。 For example, when the PIM engine 250 performs an internal processing operation in response to the internal processing operation command PIM_CMD, the data DQ received via the data line 134 and the data input/output circuit 260 may be stored in the PIM area 122 of the memory cell array 121 as internal processing data. The PIM engine 250 may store the internal processing data according to the internal processing operation performed in response to the internal processing operation command PIM_CMD in the PIM area 122. The PIM engine 250 may read the internal processing data from the PIM area 122 according to the internal processing operation command PIM_CMD. The PIM engine 250 may perform an internal processing operation based on the internal processing data read from the PIM area 122. The PIM engine 250 can transmit the internal processing data processed by the internal processing operation to the memory controller 112 via the data input/output circuit 260 and the data line 134.

內部處理操作可部分是或主要是根據內部處理操作命令PIM_CMD實行的資料交換操作。資料交換操作可包括自PIM區122讀取用於內部處理操作的內部處理資料(例如,參考資料、來源資料、目的地資料或目標資料)的操作及/或將內部處理操作的結果寫入至PIM區122的操作。舉例而言,將認為PIM引擎250根據內部處理操作命令PIM_CMD實行內部處理操作,如資料搜尋、資料移動、資料算術運算(例如加、減、乘、除等)及資料調換。 The internal processing operation may be partially or mainly a data exchange operation performed according to the internal processing operation command PIM_CMD. The data exchange operation may include an operation of reading internal processing data (e.g., reference data, source data, destination data, or target data) used for the internal processing operation from the PIM area 122 and/or an operation of writing the result of the internal processing operation to the PIM area 122. For example, it is considered that the PIM engine 250 performs internal processing operations such as data search, data movement, data arithmetic operations (e.g., addition, subtraction, multiplication, division, etc.) and data exchange according to the internal processing operation command PIM_CMD.

當內部處理操作命令PIM_CMD是資料搜尋命令時,PIM引擎250可搜尋與資料搜尋對應的內部處理資料是否儲存於PIM區122中。PIM引擎250可按照資料搜尋操作的結果輸出命中/缺失資訊及/或對應的位址資訊。PIM引擎250可將與資料搜尋操作相關聯的命中/缺失資訊或對應的位址資訊寫入至PIM區122。舉例而言,命中/缺失資訊可能是表明資料存在於PIM區122中的第一值及表明資料不存在於PIM區122中的第二其他值。舉例而言,當存在資料時可將位址資訊設定至資料在PIM區122內的實體位址,且當不存在資料時將位址資訊設定至無效位址(例如,-1)。 When the internal processing operation command PIM_CMD is a data search command, the PIM engine 250 may search whether the internal processing data corresponding to the data search is stored in the PIM area 122. The PIM engine 250 may output hit/miss information and/or corresponding address information according to the result of the data search operation. The PIM engine 250 may write the hit/miss information or corresponding address information associated with the data search operation to the PIM area 122. For example, the hit/miss information may be a first value indicating that the data exists in the PIM area 122 and a second other value indicating that the data does not exist in the PIM area 122. For example, the address information may be set to the physical address of the data in the PIM area 122 when the data exists, and the address information may be set to an invalid address (e.g., -1) when the data does not exist.

當內部處理操作命令PIM_CMD是資料移動命令時,PIM引擎250可將在PIM區122中與參考位址資訊對應的資料移動至 目標區。PIM引擎250可輸出資料移入區的位址資訊作為資料移動操作的結果。可在PIM區122中實行由PIM引擎250進行的資料移動操作及寫入關於資料移入區的位址資訊的操作。目標區可以是PIM區122或正常記憶區124。舉例而言,資料移動操作可將儲存於PIM區122的第一位置中的資料移動至位於PIM區122或正常記憶區124內的第二其他位置。 When the internal processing operation command PIM_CMD is a data move command, the PIM engine 250 may move the data corresponding to the reference address information in the PIM area 122 to the target area. The PIM engine 250 may output the address information of the data move-in area as a result of the data move operation. The data move operation performed by the PIM engine 250 and the operation of writing the address information about the data move-in area may be implemented in the PIM area 122. The target area may be the PIM area 122 or the normal memory area 124. For example, the data move operation may move the data stored in the first location of the PIM area 122 to a second other location located in the PIM area 122 or the normal memory area 124.

當內部處理操作命令PIM_CMD是資料相加命令時,PIM引擎250可自PIM區122讀取與參考位址資訊對應的資料,將內部處理資料與所讀取的資料相加以產生和,並將相加的資料(例如,所述和)儲存於PIM區122中。PIM引擎250可輸出關於儲存所述相加資料的區的位址資訊作為資料相加操作的結果。可在PIM區122中實行由PIM引擎250進行的資料相加操作及寫入關於儲存相加資料的區的位址資訊的操作。在替代實施例中,內部處理操作命令PIM_CMD是各種算術運算(諸如,資料相減、資料相乘或資料相除)中的一者的命令。舉例而言,可自所讀取的資料減去內部處理資料,將內部處理資料乘以所讀取的資料或所讀取的資料可除以內部處理資料。 When the internal processing operation command PIM_CMD is a data addition command, the PIM engine 250 may read data corresponding to the reference address information from the PIM area 122, add the internal processing data and the read data to generate a sum, and store the added data (e.g., the sum) in the PIM area 122. The PIM engine 250 may output address information about the area storing the added data as a result of the data addition operation. The data addition operation performed by the PIM engine 250 and the operation of writing the address information about the area storing the added data may be performed in the PIM area 122. In an alternative embodiment, the internal processing operation command PIM_CMD is a command of one of various arithmetic operations (e.g., data subtraction, data multiplication, or data division). For example, the internally processed data can be subtracted from the read data, the internally processed data can be multiplied by the read data, or the read data can be divided by the internally processed data.

當內部處理操作命令PIM_CMD是資料調換命令時,PIM引擎250可自PIM區122讀取分別與第一參考位址資訊及第二參考位址資訊對應的第一資料及第二資料,將第一資料與第二資料彼此調換,並將所調換的第一資料及第二資料儲存於PIM區122的與第一參考位址資訊及第二參考位址資訊對應的記憶胞元中。 可在PIM區122中實行由PIM引擎250進行的資料調換操作。 When the internal processing operation command PIM_CMD is a data exchange command, the PIM engine 250 can read the first data and the second data corresponding to the first reference address information and the second reference address information respectively from the PIM area 122, exchange the first data and the second data with each other, and store the exchanged first data and second data in the memory cells corresponding to the first reference address information and the second reference address information of the PIM area 122. The data exchange operation performed by the PIM engine 250 can be implemented in the PIM area 122.

當記憶體裝置120在正常模式中操作時,資料輸入/輸出電路260可經由資料線134接收自記憶體控制器112接收的資料DQ,將資料DQ儲存(寫入)於記憶胞元陣列121的正常記憶區124中,並將自正常記憶區124讀取的資料經由資料線134傳輸至記憶體控制器112。記憶體裝置120可藉由使用正常記憶區124實行資料交易操作。 When the memory device 120 operates in the normal mode, the data input/output circuit 260 can receive the data DQ received from the memory controller 112 via the data line 134, store (write) the data DQ in the normal memory area 124 of the memory cell array 121, and transmit the data read from the normal memory area 124 to the memory controller 112 via the data line 134. The memory device 120 can perform data transaction operations by using the normal memory area 124.

圖3是闡述圖2所示記憶體裝置的結構的一部分的圖。 FIG3 is a diagram illustrating a portion of the structure of the memory device shown in FIG2.

參考圖2及圖3,記憶體裝置120包括多個堆疊記憶層301至308。舉例而言,記憶體裝置120可以是HBM。記憶層301至308可被稱為核心晶粒。記憶層301至308可構成稱為通道的多個獨立介面。記憶層301至308可各自包括兩個通道。為概念性地闡述本發明概念且簡化圖式,圖3示出奇數通道(例如CH1a、CH3a、CH5a、CH7a、CH1b、CH3b、CH5b及CH7b)排列於記憶層301至308的左側上且偶數通道(例如CH2a、CH4a、CH6a、CH8a、CH2b、CH4b、CH6b及CH8b)排列於記憶層301至308的右側上的示例性配置,但根據本發明概念的記憶層301至308的排列並不僅限於此。 2 and 3 , the memory device 120 includes a plurality of stacked memory layers 301 to 308. For example, the memory device 120 may be an HBM. The memory layers 301 to 308 may be referred to as core dies. The memory layers 301 to 308 may constitute a plurality of independent interfaces referred to as channels. The memory layers 301 to 308 may each include two channels. To conceptually illustrate the present invention and simplify the diagram, FIG3 shows an exemplary configuration in which odd channels (e.g., CH1a, CH3a, CH5a, CH7a, CH1b, CH3b, CH5b, and CH7b) are arranged on the left side of memory layers 301 to 308 and even channels (e.g., CH2a, CH4a, CH6a, CH8a, CH2b, CH4b, CH6b, and CH8b) are arranged on the right side of memory layers 301 to 308, but the arrangement of memory layers 301 to 308 according to the present invention is not limited thereto.

舉例而言,第一記憶層301可包括通道CH1a及通道CH2a,第二記憶層302可包括通道CH3a及通道CH4a,第三記憶層303可包括通道CH5a及通道CH6a,且第四記憶層304可包括通道CH7a及通道CH8a。第五記憶層305可包括通道CH1b及通 道CH2b,第六記憶層306可包括通道CH3b及通道CH4b,第七記憶層307可包括通道CH5b及通道CH6b,且第八記憶層308可包括通道CH7b及通道CH8b。在圖3的本發明實施例中,將記憶體裝置120的實例說明為堆疊有八個記憶層301至308。然而,本發明概念並不僅限於此。根據實施例,記憶體裝置120中可堆疊各個數目的記憶層(例如2、4等)。 For example, the first memory layer 301 may include a channel CH1a and a channel CH2a, the second memory layer 302 may include a channel CH3a and a channel CH4a, the third memory layer 303 may include a channel CH5a and a channel CH6a, and the fourth memory layer 304 may include a channel CH7a and a channel CH8a. The fifth memory layer 305 may include a channel CH1b and a channel CH2b, the sixth memory layer 306 may include a channel CH3b and a channel CH4b, the seventh memory layer 307 may include a channel CH5b and a channel CH6b, and the eighth memory layer 308 may include a channel CH7b and a channel CH8b. In the embodiment of the present invention of FIG. 3 , the example of the memory device 120 is illustrated as being stacked with eight memory layers 301 to 308. However, the concept of the present invention is not limited thereto. According to an embodiment, various numbers of memory layers (e.g., 2, 4, etc.) can be stacked in the memory device 120.

記憶體裝置120可更包括位於堆疊記憶層301至308下方的緩衝器晶粒310。緩衝器晶粒310可被稱為記憶體緩衝器。緩衝器晶粒310可包括自記憶體控制器112(圖1)接收時脈訊號CK、命令CMD、位址ADDR及資料DQ的輸入緩衝器(或接收器)。緩衝器晶粒310可依靠通道CH1a、CH2a、CH3a、CH4a、CH5a、CH6a、CH7a、CH8a、CH1b、CH2b、CH3b、CH4b、CH5b、CH6b、CH7b及CH8b、矽穿孔TSV1至TSV8提供訊號分配功能及資料輸入/輸出功能。緩衝器晶粒310可經由形成於記憶體裝置120的外表面上的導電單元(如凸塊或焊球)與記憶體控制器112進行通訊。 The memory device 120 may further include a buffer die 310 located below the stacked memory layers 301 to 308. The buffer die 310 may be referred to as a memory buffer. The buffer die 310 may include an input buffer (or receiver) that receives a clock signal CK, a command CMD, an address ADDR, and data DQ from the memory controller 112 ( FIG. 1 ). The buffer die 310 can provide signal distribution functions and data input/output functions by means of channels CH1a, CH2a, CH3a, CH4a, CH5a, CH6a, CH7a, CH8a, CH1b, CH2b, CH3b, CH4b, CH5b, CH6b, CH7b and CH8b, and through silicon vias TSV1 to TSV8. The buffer die 310 can communicate with the memory controller 112 via a conductive unit (such as a bump or solder ball) formed on the outer surface of the memory device 120.

緩衝器晶粒310可包括上文參考圖2所述的PIM命令轉換器126、PIM模式選擇器210、第一開關231、第二開關232、PIM引擎250及資料輸入/輸出電路260。 The buffer die 310 may include the PIM command converter 126, the PIM mode selector 210, the first switch 231, the second switch 232, the PIM engine 250, and the data input/output circuit 260 described above with reference to FIG. 2.

堆疊記憶層301至308可對應於包括上文參考圖2所述的PIM區122及正常記憶區124的記憶胞元陣列121。堆疊記憶層301至308之中的下部四個記憶層301至304可指派給PIM區 122,而上部四個記憶層305至308可指派給正常記憶區124。根據本發明概念的示例性實施例,堆疊記憶層301至308之中的下部四個記憶層301至304指派給正常記憶區124,且上部四個記憶層305至308指派給PIM區122。 The stacked memory layers 301 to 308 may correspond to the memory cell array 121 including the PIM area 122 and the normal memory area 124 described above with reference to FIG. 2 . The lower four memory layers 301 to 304 of the stacked memory layers 301 to 308 may be assigned to the PIM area 122, and the upper four memory layers 305 to 308 may be assigned to the normal memory area 124. According to an exemplary embodiment of the inventive concept, the lower four memory layers 301 to 304 of the stacked memory layers 301 to 308 are assigned to the normal memory area 124, and the upper four memory layers 305 to 308 are assigned to the PIM area 122.

PIM區122的記憶層301至304與正常記憶區124的記憶層305至308可經由矽穿孔TSV1至TSV8以及電性連接至矽穿孔TSV1至TSV8的電極焊墊P1a、P2a、P3a、P4a、P5a、P6a、P7a、P8a、P1b、P2b、P3b、P4b、P5b、P6b、P7b及P8b形成共用通道CH1至CH8。為圖式的簡單起見,以圓圈示出電極焊墊P1a、P2a、P3a、P4a、P5a、P6a、P7a、P8a、P1b、P2b、P3b、P4b、P5b、P6b、P7b及P8b。可理解,電極焊墊P1a、P2a、P3a、P4a、P5a、P6a、P7a、P8a、P1b、P2b、P3b、P4b、P5b、P6b、P7b及P8b分別電性連接至矽穿孔TSV1至TSV8。 The memory layers 301 to 304 of the PIM region 122 and the memory layers 305 to 308 of the normal memory region 124 may form common channels CH1 to CH8 via through silicon vias TSV1 to TSV8 and electrode pads P1a, P2a, P3a, P4a, P5a, P6a, P7a, P8a, P1b, P2b, P3b, P4b, P5b, P6b, P7b and P8b electrically connected to the through silicon vias TSV1 to TSV8. For simplicity of the drawing, the electrode pads P1a, P2a, P3a, P4a, P5a, P6a, P7a, P8a, P1b, P2b, P3b, P4b, P5b, P6b, P7b and P8b are shown as circles. It can be understood that the electrode pads P1a, P2a, P3a, P4a, P5a, P6a, P7a, P8a, P1b, P2b, P3b, P4b, P5b, P6b, P7b and P8b are electrically connected to the through-silicon vias TSV1 to TSV8, respectively.

舉例而言,第一記憶層301的通道CH1a可經由電極焊墊P1a連接至矽穿孔TSV1,且第五記憶層305的通道CH1b可經由電極焊墊P1b連接至矽穿孔TSV1。電性連接至矽穿孔TSV1的通道CH1a與通道CH1b可形成第一共用通道CH1。此外,第一記憶層301的通道CH2a可經由電極焊墊P2a連接至矽穿孔TSV2,且第五記憶層305的通道CH2b可經由電極焊墊P2b連接至矽穿孔TSV2。電性連接至矽穿孔TSV2的通道CH2a與通道CH2b可形成第二共用通道CH2。 For example, the channel CH1a of the first memory layer 301 can be connected to the through-silicon via TSV1 via the electrode pad P1a, and the channel CH1b of the fifth memory layer 305 can be connected to the through-silicon via TSV1 via the electrode pad P1b. The channel CH1a and the channel CH1b electrically connected to the through-silicon via TSV1 can form a first common channel CH1. In addition, the channel CH2a of the first memory layer 301 can be connected to the through-silicon via TSV2 via the electrode pad P2a, and the channel CH2b of the fifth memory layer 305 can be connected to the through-silicon via TSV2 via the electrode pad P2b. The channel CH2a and the channel CH2b electrically connected to the through-silicon via TSV2 can form a second common channel CH2.

第二記憶層302的通道CH3a可經由電極焊墊P3a連接至 矽穿孔TSV3,且第六記憶層306的通道CH3b可經由電極焊墊P3b連接至矽穿孔TSV3。電性連接至矽穿孔TSV3的通道CH3a與通道CH3b可形成第三共用通道CH3。此外,第二記憶層302的通道CH4a可經由電極焊墊P4a連接至矽穿孔TSV4,且第六記憶層306的通道CH4b可經由電極焊墊P4b連接至矽穿孔TSV4。電性連接至矽穿孔TSV4的通道CH4a與通道CH4b可形成第四共用通道CH4。 The channel CH3a of the second memory layer 302 can be connected to the through-silicon via TSV3 via the electrode pad P3a, and the channel CH3b of the sixth memory layer 306 can be connected to the through-silicon via TSV3 via the electrode pad P3b. The channel CH3a and the channel CH3b electrically connected to the through-silicon via TSV3 can form a third common channel CH3. In addition, the channel CH4a of the second memory layer 302 can be connected to the through-silicon via TSV4 via the electrode pad P4a, and the channel CH4b of the sixth memory layer 306 can be connected to the through-silicon via TSV4 via the electrode pad P4b. The channel CH4a and the channel CH4b electrically connected to the through-silicon via TSV4 can form a fourth common channel CH4.

第三記憶層303的通道CH5a可經由電極焊墊P5a連接至矽穿孔TSV5,且第七記憶層307的通道CH5b可經由電極焊墊P5b連接至矽穿孔TSV5。電性連接至矽穿孔TSV5的通道CH5a與通道CH5b可形成第五共用通道CH5。此外,第三記憶層303的通道CH6a可經由電極焊墊P6a連接至矽穿孔TSV6,且第七記憶層307的通道CH6b可經由電極焊墊P6b連接至矽穿孔TSV6。電性連接至矽穿孔TSV6的通道CH6a與通道CH6b可形成第六共用通道CH6。 The channel CH5a of the third memory layer 303 can be connected to the through-silicon via TSV5 via the electrode pad P5a, and the channel CH5b of the seventh memory layer 307 can be connected to the through-silicon via TSV5 via the electrode pad P5b. The channel CH5a and the channel CH5b electrically connected to the through-silicon via TSV5 can form a fifth common channel CH5. In addition, the channel CH6a of the third memory layer 303 can be connected to the through-silicon via TSV6 via the electrode pad P6a, and the channel CH6b of the seventh memory layer 307 can be connected to the through-silicon via TSV6 via the electrode pad P6b. The channel CH6a and the channel CH6b electrically connected to the through-silicon via TSV6 can form a sixth common channel CH6.

第四記憶層304的通道CH7a可經由電極焊墊P7a連接至矽穿孔TSV7,且第八記憶層308的通道CH7b可經由電極焊墊P7b連接至矽穿孔TSV7。電性連接至矽穿孔TSV7的通道CH7a與通道CH7b可形成第七共用通道CH7。此外,第四記憶層304的通道CH8a可經由電極焊墊P8a連接至矽穿孔TSV8,且第八記憶層308的通道CH8b可經由電極焊墊P8b連接至矽穿孔TSV8。電性連接至矽穿孔TSV8的通道CH8a與通道CH8b可形成第八共用通 道CH8。 The channel CH7a of the fourth memory layer 304 can be connected to the through-silicon via TSV7 via the electrode pad P7a, and the channel CH7b of the eighth memory layer 308 can be connected to the through-silicon via TSV7 via the electrode pad P7b. The channel CH7a and the channel CH7b electrically connected to the through-silicon via TSV7 can form the seventh common channel CH7. In addition, the channel CH8a of the fourth memory layer 304 can be connected to the through-silicon via TSV8 via the electrode pad P8a, and the channel CH8b of the eighth memory layer 308 can be connected to the through-silicon via TSV8 via the electrode pad P8b. The channel CH8a and the channel CH8b electrically connected to the through-silicon via TSV8 can form the eighth common channel CH8.

記憶胞元陣列121的第一共用通道CH1至第八共用通道CH8可連接至緩衝器晶粒310。在第一共用通道CH1至第八共用通道CH8中,可根據對下部記憶層301至304與上部記憶層305至308進行區分的堆疊辨識訊號SID來選擇性地存取PIM區122及正常記憶區124。舉例而言,當堆疊辨識訊號SID是邏輯「0」時,可存取第一共用通道CH1至第八共用通道CH8之中的下部記憶層301至304(亦即,PIM區122)。當疊辨識訊號SID是邏輯「1」時,可存取第一共用通道CH1至第八共用通道CH8之中的上部記憶層305至308(亦即,正常記憶區124)。 The first common channel CH1 to the eighth common channel CH8 of the memory cell array 121 may be connected to the buffer die 310. In the first common channel CH1 to the eighth common channel CH8, the PIM area 122 and the normal memory area 124 may be selectively accessed according to the stack identification signal SID that distinguishes the lower memory layers 301 to 304 from the upper memory layers 305 to 308. For example, when the stack identification signal SID is logical "0", the lower memory layers 301 to 304 (i.e., the PIM area 122) among the first common channel CH1 to the eighth common channel CH8 may be accessed. When the stack identification signal SID is logical "1", the upper memory layers 305 to 308 (i.e., the normal memory area 124) in the first common channel CH1 to the eighth common channel CH8 can be accessed.

如上文參考圖2所述,當記憶體裝置120在內部處理模式中操作時,可存取PIM區122。在示例性實施例中,當設定至邏輯「0」的堆疊辨識訊號SID包括於經由記憶體匯流排130的命令/位址訊號線132接收的位址ADDR中且PIM模式選擇器210啟用PIM模式選擇訊號PIM_SEL時,記憶體裝置120在內部處理模式中操作。由於PIM模式選擇訊號PIM_SEL被啟用,因此記憶體裝置120可存取PIM區122且在內部處理模式中操作。 As described above with reference to FIG. 2 , when the memory device 120 operates in the internal processing mode, the PIM area 122 can be accessed. In an exemplary embodiment, when the stack identification signal SID set to logic "0" is included in the address ADDR received via the command/address signal line 132 of the memory bus 130 and the PIM mode selector 210 enables the PIM mode selection signal PIM_SEL, the memory device 120 operates in the internal processing mode. Since the PIM mode selection signal PIM_SEL is enabled, the memory device 120 can access the PIM area 122 and operate in the internal processing mode.

當記憶體裝置120在正常模式中操作時,可存取正常記憶區124。在示例性實施例中,當設定至邏輯「1」的堆疊辨識訊號SID包括於經由記憶體匯流排130的命令/位址訊號線132接收的位址ADDR中且PIM模式選擇器210禁用PIM模式選擇訊號PIM_SEL時,記憶體裝置120在正常模式中操作。由於PIM模式 選擇訊號PIM_SEL被禁用,因此記憶體裝置120可存取正常記憶區124且在正常模式中操作。 When the memory device 120 operates in the normal mode, the normal memory area 124 can be accessed. In an exemplary embodiment, when the stack identification signal SID set to logic "1" is included in the address ADDR received via the command/address signal line 132 of the memory bus 130 and the PIM mode selector 210 disables the PIM mode selection signal PIM_SEL, the memory device 120 operates in the normal mode. Since the PIM mode selection signal PIM_SEL is disabled, the memory device 120 can access the normal memory area 124 and operate in the normal mode.

在本發明實施例中,堆疊辨識訊號SID可以是特定位址,其儲存於控制暫存器116中且將記憶體裝置120的記憶胞元陣列121劃分成PIM區122及正常記憶區124。此外,堆疊辨識訊號SID可以是用於對由PIM模式選擇器210識別的PIM區122進行定址的特定位址。 In the embodiment of the present invention, the stack identification signal SID may be a specific address that is stored in the control register 116 and divides the memory cell array 121 of the memory device 120 into the PIM area 122 and the normal memory area 124. In addition, the stack identification signal SID may be a specific address for addressing the PIM area 122 identified by the PIM mode selector 210.

圖4是闡述圖2所示記憶體裝置的結構的一部分的圖。 FIG4 is a diagram illustrating a portion of the structure of the memory device shown in FIG2.

參考圖4,記憶體裝置120a與圖3所示記憶體裝置120的不同在於,記憶體裝置120a的記憶胞元陣列121包括第一記憶層301至第四記憶層304。在後文中,關於記憶體裝置120a的說明中與上文參考圖3所給出的說明相同的說明將省略。 Referring to FIG. 4 , the memory device 120a is different from the memory device 120 shown in FIG. 3 in that the memory cell array 121 of the memory device 120a includes the first memory layer 301 to the fourth memory layer 304. In the following text, the description of the memory device 120a that is the same as the description given above with reference to FIG. 3 will be omitted.

在記憶體裝置120a的記憶胞元陣列121中,第一記憶層301及第二記憶層302可指派給PIM區122,而第三記憶層303及第四記憶層304可指派給正常記憶區124。根據本發明概念的示例性實施例,將第一記憶層301及第二記憶層302指派給正常記憶區124,且將第三記憶層303及第四記憶層304指派給PIM區122。 In the memory cell array 121 of the memory device 120a, the first memory layer 301 and the second memory layer 302 may be assigned to the PIM area 122, and the third memory layer 303 and the fourth memory layer 304 may be assigned to the normal memory area 124. According to an exemplary embodiment of the inventive concept, the first memory layer 301 and the second memory layer 302 are assigned to the normal memory area 124, and the third memory layer 303 and the fourth memory layer 304 are assigned to the PIM area 122.

第一記憶層301至第四記憶層304的八個通道CH1a至CH8a可分別經由矽穿孔TSV1至TSV8連接至緩衝器晶粒310。可藉由3位元通道位址對八個通道CH1a至CH8a進行定址。當通道位址的最高有效位元是「0」時,可選擇第一記憶層301及第二 記憶層302的通道CH1a、CH2a、CH3a及CH4a。相反,當通道位址的最高有效位元是「1」時,可選擇第三記憶層303及第四記憶層304的通道CH5a、CH6a、CH7a及CH8a。因此,可根據通道位址的最高有效位元選擇性地存取PIM區122及正常記憶區124。 The eight channels CH1a to CH8a of the first memory layer 301 to the fourth memory layer 304 can be connected to the buffer die 310 through silicon vias TSV1 to TSV8, respectively. The eight channels CH1a to CH8a can be addressed by a 3-bit channel address. When the most significant bit of the channel address is "0", the channels CH1a, CH2a, CH3a and CH4a of the first memory layer 301 and the second memory layer 302 can be selected. On the contrary, when the most significant bit of the channel address is "1", the channels CH5a, CH6a, CH7a and CH8a of the third memory layer 303 and the fourth memory layer 304 can be selected. Therefore, the PIM area 122 and the normal memory area 124 can be selectively accessed according to the most significant bit of the channel address.

通道位址的最高有效位元是將記憶體裝置120a的記憶胞元陣列121劃分成PIM區122及正常記憶區124的特定位址,且可儲存於記憶體控制器112的控制暫存器116中。此外,通道位址的最高有效位元可以是用於對由PIM模式選擇器210識別的PIM區122進行定址的特定位址。 The most significant bit of the channel address is a specific address for dividing the memory cell array 121 of the memory device 120a into the PIM area 122 and the normal memory area 124, and can be stored in the control register 116 of the memory controller 112. In addition, the most significant bit of the channel address can be a specific address for addressing the PIM area 122 identified by the PIM mode selector 210.

圖5是闡述圖2所示記憶胞元陣列的結構的一部分的圖。 FIG5 is a diagram illustrating a portion of the structure of the memory cell array shown in FIG2.

參考圖5,記憶胞元陣列121可包括例如八個記憶體庫BANK1至BANK8。第一記憶體庫BANK1至第四記憶體庫BANK4可指派給PIM區122,且第五記憶體庫BANK5至第八記憶體庫BANK8可指派給正常記憶區124。可藉由3位元記憶體庫位址對所述八個記憶體庫BANK1至BANK8進行定址。當記憶體庫位址的最高有效位元是「0」時,可選擇第一記憶體庫BANK1至第四記憶體庫BANK4。相反,當記憶體庫位址的最高有效位元是「1」時,可選擇第五記憶體庫BANK5至第八記憶體庫BANK8。因此,可根據記憶體庫位址的最高有效位元選擇性地存取PIM區122及正常記憶區124。 5 , the memory cell array 121 may include, for example, eight memory banks BANK1 to BANK8. The first memory bank BANK1 to the fourth memory bank BANK4 may be assigned to the PIM area 122, and the fifth memory bank BANK5 to the eighth memory bank BANK8 may be assigned to the normal memory area 124. The eight memory banks BANK1 to BANK8 may be addressed by a 3-bit memory bank address. When the most significant bit of the memory bank address is "0", the first memory bank BANK1 to the fourth memory bank BANK4 may be selected. On the contrary, when the most significant bit of the memory bank address is "1", the fifth memory bank BANK5 to the eighth memory bank BANK8 may be selected. Therefore, the PIM area 122 and the normal memory area 124 can be selectively accessed based on the most significant bit of the memory library address.

記憶體庫位址的最高有效位元是將記憶胞元陣列121劃 分成PIM區122及正常記憶區124的特定位址,且可儲存於記憶體控制器112的控制暫存器116中。此外,記憶體庫位址的最高有效位元可以是用於對由PIM模式選擇器210識別的PIM區122進行定址的特定位址。 The most significant bit of the memory bank address is a specific address for dividing the memory cell array 121 into the PIM area 122 and the normal memory area 124, and can be stored in the control register 116 of the memory controller 112. In addition, the most significant bit of the memory bank address can be a specific address for addressing the PIM area 122 identified by the PIM mode selector 210.

上文參考圖3至圖5所述的PIM區122及正常記憶區124是被堆疊辨識訊號SID、通道位址或記憶體庫位址設定為記憶胞元陣列121中的固定區的實例。用於將PIM區122及正常記憶區124設定為固定區的特定位址資訊可靜態地設定於記憶體控制器112的控制暫存器116中。 The PIM area 122 and the normal memory area 124 described above with reference to FIGS. 3 to 5 are examples of fixed areas in the memory cell array 121 that are set by the stack identification signal SID, the channel address, or the memory bank address. The specific address information for setting the PIM area 122 and the normal memory area 124 as fixed areas can be statically set in the control register 116 of the memory controller 112.

根據本發明概念的實施例,根據堆疊辨識訊號SID、通道位址及/或記憶體庫位址的組合將PIM區122及正常記憶區124設定為記憶胞元陣列121中的可變區。用於將PIM區122及正常記憶區124設定為可變區的特定位址資訊可動態地設定於記憶體控制器112的控制暫存器116中。 According to an embodiment of the present invention, the PIM area 122 and the normal memory area 124 are set as variable areas in the memory cell array 121 according to a combination of the stack identification signal SID, the channel address and/or the memory library address. Specific address information for setting the PIM area 122 and the normal memory area 124 as variable areas can be dynamically set in the control register 116 of the memory controller 112.

圖6是闡述根據本發明概念的示例性實施例的圖2所示記憶體裝置的操作的流程圖。 FIG. 6 is a flow chart illustrating the operation of the memory device shown in FIG. 2 according to an exemplary embodiment of the inventive concept.

參考圖1、圖2及圖6,在操作S610中,記憶體裝置120將關於記憶胞元陣列121的PIM區122及正常記憶區124的特定位址資訊提供至記憶體控制器112。所述特定位址資訊可包括將記憶胞元陣列121劃分為PIM區122及正常記憶區124的特定位址。所述特定位址是用於對PIM區122進行定址的位址且可包括例如堆疊辨識訊號SID、通道位址及/或記憶體庫位址。特定位址資訊 可儲存於記憶體控制器112的控制暫存器116中。 Referring to FIG. 1 , FIG. 2 , and FIG. 6 , in operation S610 , the memory device 120 provides specific address information about the PIM area 122 and the normal memory area 124 of the memory cell array 121 to the memory controller 112 . The specific address information may include a specific address for dividing the memory cell array 121 into the PIM area 122 and the normal memory area 124 . The specific address is an address for addressing the PIM area 122 and may include, for example, a stack identification signal SID, a channel address, and/or a memory bank address. The specific address information may be stored in the control register 116 of the memory controller 112 .

在操作S620中,記憶體裝置120經由命令/位址訊號線132自記憶體控制器112一起接收命令CMD與特定位址。記憶體控制器112可基於主機裝置110的記憶體請求發佈存取記憶體裝置120的命令CMD。在此種情形中,可經由記憶體PHY 114在記憶體控制器112與記憶體裝置120之間提供命令CMD及特定位址,所述記憶體PHY 114支援JEDEC標準的DDR協定及/或LPDDR協定。舉例而言,認為特定位址是堆疊辨識訊號SID,如上文參考圖3所述。 In operation S620, the memory device 120 receives a command CMD and a specific address from the memory controller 112 via the command/address signal line 132. The memory controller 112 may issue a command CMD for accessing the memory device 120 based on a memory request of the host device 110. In this case, the command CMD and the specific address may be provided between the memory controller 112 and the memory device 120 via the memory PHY 114, which supports the DDR protocol and/or the LPDDR protocol of the JEDEC standard. For example, the specific address is considered to be a stack identification signal SID, as described above with reference to FIG. 3.

在操作S630中,記憶體裝置120判斷在操作S620中作為特定位址與命令CMD一起接收的堆疊辨識訊號SID是否對記憶胞元陣列121的PIM區122進行定址。如上文參考圖3所述,當將堆疊辨識訊號SID提供為邏輯「0」時,可存取第一共用通道CH1至第八共用通道CH8之中的下部記憶層301至304(亦即PIM區122)。相反,當將堆疊辨識訊號SID提供為邏輯「1」時,可存取第一共用通道CH1至第八共用通道CH8之中的上部記憶層305至308(亦即正常記憶區124)。 In operation S630, the memory device 120 determines whether the stack identification signal SID received as a specific address together with the command CMD in operation S620 addresses the PIM area 122 of the memory cell array 121. As described above with reference to FIG. 3, when the stack identification signal SID is provided as a logic "0", the lower memory layers 301 to 304 (i.e., the PIM area 122) among the first common channel CH1 to the eighth common channel CH8 can be accessed. On the contrary, when the stack identification signal SID is provided as a logic "1", the upper memory layers 305 to 308 (i.e., the normal memory area 124) among the first common channel CH1 to the eighth common channel CH8 can be accessed.

當堆疊辨識訊號SID是邏輯「0」時,在操作S640中,記憶體裝置120進入內部處理模式。記憶體裝置120的PIM模式選擇器210可因應於堆疊辨識訊號SID為邏輯「0」而啟用PIM模式選擇訊號PIM_SEL。藉由啟用PIM模式選擇訊號PIM_SEL,記憶體裝置120可在內部處理模式中操作。 When the stack identification signal SID is logical "0", in operation S640, the memory device 120 enters the internal processing mode. The PIM mode selector 210 of the memory device 120 may enable the PIM mode selection signal PIM_SEL in response to the stack identification signal SID being logical "0". By enabling the PIM mode selection signal PIM_SEL, the memory device 120 may operate in the internal processing mode.

在操作S641中,記憶體裝置120將在操作S620中接收的命令CMD轉換成內部處理操作命令PIM_CMD。記憶體裝置120的PIM命令轉換器126可將所接收的命令CMD轉換成指示內部處理操作類型的內部處理操作命令PIM_CMD,所述內部處理操作類型包括例如:資料搜尋、資料算術運算(例如加、減、乘、除等)、資料移動、資料反演、資料移位、資料調換、資料比較、邏輯運算及/或資料處理/操作。 In operation S641, the memory device 120 converts the command CMD received in operation S620 into an internal processing operation command PIM_CMD. The PIM command converter 126 of the memory device 120 may convert the received command CMD into an internal processing operation command PIM_CMD indicating an internal processing operation type, the internal processing operation type including, for example: data search, data arithmetic operation (e.g., addition, subtraction, multiplication, division, etc.), data movement, data inversion, data shift, data exchange, data comparison, logical operation and/or data processing/operation.

在操作S642中,記憶體裝置120根據內部處理操作命令PIM_CMD實行內部處理操作。記憶體裝置120的PIM引擎250可根據內部處理操作命令PIM_CMD使用記憶胞元陣列121的PIM區122實行內部處理操作。PIM引擎250可儲存內部處理資料,所述內部處理資料是因應於內部處理操作命令PIM_CMD而在PIM區122中實行的內部處理操作的結果。另一選擇為,PIM引擎250可因應於內部處理操作命令PIM_CMD而自PIM區122讀取內部處理資料並基於所讀取的內部處理資料實行內部處理操作。當操作S642的內部處理操作已完成時,記憶體裝置120可繼續進行至操作S620且接收下一命令CMD及特定位址。 In operation S642, the memory device 120 performs an internal processing operation according to the internal processing operation command PIM_CMD. The PIM engine 250 of the memory device 120 may perform the internal processing operation using the PIM area 122 of the memory cell array 121 according to the internal processing operation command PIM_CMD. The PIM engine 250 may store internal processing data, which is a result of the internal processing operation performed in the PIM area 122 in response to the internal processing operation command PIM_CMD. Alternatively, the PIM engine 250 may read the internal processing data from the PIM area 122 in response to the internal processing operation command PIM_CMD and perform the internal processing operation based on the read internal processing data. When the internal processing operation of operation S642 is completed, the memory device 120 can proceed to operation S620 and receive the next command CMD and a specific address.

在操作S640中,當堆疊辨識訊號SID不是邏輯「0」時,記憶體裝置120在操作S650中進入正常模式。記憶體裝置120的PIM模式選擇器210可因應於堆疊辨識訊號SID為邏輯「1」而禁用PIM模式選擇訊號PIM_SEL。藉由禁用PIM模式選擇訊號PIM_SEL,記憶體裝置120可在正常模式中操作。 In operation S640, when the stack identification signal SID is not a logical "0", the memory device 120 enters the normal mode in operation S650. The PIM mode selector 210 of the memory device 120 may disable the PIM mode selection signal PIM_SEL in response to the stack identification signal SID being a logical "1". By disabling the PIM mode selection signal PIM_SEL, the memory device 120 may operate in the normal mode.

在操作S651中,記憶體裝置120根據在操作S620中接收的命令CMD實行資料交易操作。命令CMD可與在正常模式中實行的資料交易操作相關聯。記憶體裝置120可根據命令CMD將自記憶體控制器112接收的資料DQ經由資料線134儲存(寫入)於記憶胞元陣列121的正常記憶區124中,自正常記憶區124讀取資料,並將所讀取的資料經由資料線134傳輸至記憶體控制器112作為資料DQ。當操作S651的資料交易操作已完成時,記憶體裝置120可繼續進行至操作S620且接收下一命令CMD及特定位址。 In operation S651, the memory device 120 performs a data transaction operation according to the command CMD received in operation S620. The command CMD may be associated with a data transaction operation performed in a normal mode. The memory device 120 may store (write) the data DQ received from the memory controller 112 in the normal memory area 124 of the memory cell array 121 via the data line 134 according to the command CMD, read data from the normal memory area 124, and transmit the read data to the memory controller 112 via the data line 134 as data DQ. When the data transaction operation of operation S651 is completed, the memory device 120 may proceed to operation S620 and receive the next command CMD and a specific address.

圖7是闡述圖2所示記憶體裝置的操作的時序圖。圖7示出基於時脈訊號CK根據DDR協定及/或LPDDR協定進行的操作的時序圖。為使圖式簡單且便於闡釋,圖7概念性地示出經由資料線134將資料DQ輸入至記憶體裝置120/自記憶體裝置120輸出資料DQ的寫入操作及讀取操作。 FIG. 7 is a timing diagram illustrating the operation of the memory device shown in FIG. 2 . FIG. 7 shows a timing diagram of the operation performed based on the clock signal CK according to the DDR protocol and/or the LPDDR protocol. To make the diagram simple and easy to explain, FIG. 7 conceptually shows the write operation and read operation of inputting data DQ to/outputting data DQ from the memory device 120 via the data line 134.

參考圖1、圖2及圖7,在時間點Ta處,記憶體裝置120自記憶體控制器112與讀取命令RD一起接收包括堆疊辨識訊號SID的位址ADDR。在此時,堆疊辨識訊號SID被設定至邏輯「0」。儘管未示出,但可在時間點Ta之前自記憶體控制器112接收與讀取命令RD相關聯的激活命令。 Referring to FIG. 1, FIG. 2 and FIG. 7, at time point Ta, the memory device 120 receives the address ADDR including the stack identification signal SID from the memory controller 112 together with the read command RD. At this time, the stack identification signal SID is set to logical "0". Although not shown, an activation command associated with the read command RD may be received from the memory controller 112 before time point Ta.

因應於在時間點Ta處堆疊辨識訊號SID為邏輯「0」,記憶體裝置120進入內部處理模式。在內部處理模式中,PIM命令轉換器126將讀取命令RD轉換成內部處理讀取命令,且PIM引 擎250根據所述內部處理讀取命令在記憶胞元陣列121的PIM區122中讀取寫入至與位址ADDR對應的記憶胞元的內部處理資料,並使用所讀取的內部處理資料實行內部處理操作。本發明實施例示出未將自PIM區122讀取的內部處理資料傳輸至記憶體裝置120外的記憶體控制器112的情形。根據另一實施例,將由PIM引擎250處理的內部處理資料作為資料DQ經由記憶體匯流排130的資料線134傳輸至記憶體控制器112。 In response to the stack identification signal SID being a logical "0" at the time point Ta, the memory device 120 enters the internal processing mode. In the internal processing mode, the PIM command converter 126 converts the read command RD into an internal processing read command, and the PIM engine 250 reads the internal processing data written to the memory cell corresponding to the address ADDR in the PIM area 122 of the memory cell array 121 according to the internal processing read command, and performs the internal processing operation using the read internal processing data. The embodiment of the present invention shows a case where the internal processing data read from the PIM area 122 is not transmitted to the memory controller 112 outside the memory device 120. According to another embodiment, the internal processing data processed by the PIM engine 250 is transmitted as data DQ via the data line 134 of the memory bus 130 to the memory controller 112.

在時間點Tb處,記憶體裝置120自記憶體控制器112與讀取命令RD一起接收包括堆疊辨識訊號SID的位址ADDR。在此時,堆疊辨識訊號SID被設定至邏輯「1」。 At time point Tb, the memory device 120 receives the address ADDR including the stack identification signal SID from the memory controller 112 together with the read command RD. At this time, the stack identification signal SID is set to logic "1".

因應於在時間點Tb處堆疊辨識訊號SID為邏輯「1」,記憶體裝置120進入正常模式。在正常模式中,記憶體裝置120根據讀取命令RD在記憶胞元陣列121的正常記憶區124中讀取寫入至與位址訊號ADDR對應的記憶胞元的資料D。可將所讀取的資料D作為資料DQ經由記憶體匯流排130的資料線134傳輸至記憶體控制器112。 In response to the stack identification signal SID being logical "1" at time point Tb, the memory device 120 enters the normal mode. In the normal mode, the memory device 120 reads the data D written to the memory cell corresponding to the address signal ADDR in the normal memory area 124 of the memory cell array 121 according to the read command RD. The read data D can be transmitted to the memory controller 112 as data DQ via the data line 134 of the memory bus 130.

在時間點Tc處,記憶體裝置120自記憶體控制器112與寫入命令WR一起接收包括堆疊辨識訊號SID的位址ADDR。在此時,堆疊辨識訊號SID被設定至邏輯「0」。 At time point Tc, the memory device 120 receives the address ADDR including the stack identification signal SID from the memory controller 112 together with the write command WR. At this time, the stack identification signal SID is set to logical "0".

因應於在時間點Tc處堆疊辨識訊號SID為邏輯「0」,記憶體裝置120進入內部處理模式。在內部處理模式中,PIM命令轉換器126將寫入命令WR轉換成內部處理寫入命令,且PIM引 擎250根據內部處理寫入命令將按照實行內部處理操作的處理結果獲得的內部處理資料寫入至記憶胞元陣列121的PIM區122中與位址ADDR對應的記憶胞元。 In response to the stack identification signal SID being logical "0" at time point Tc, the memory device 120 enters the internal processing mode. In the internal processing mode, the PIM command converter 126 converts the write command WR into an internal processing write command, and the PIM engine 250 writes the internal processing data obtained according to the processing result of the internal processing operation to the memory cell corresponding to the address ADDR in the PIM area 122 of the memory cell array 121 according to the internal processing write command.

在時間點Td處,記憶體裝置120自記憶體控制器112與寫入命令WR一起接收包括堆疊辨識訊號SID的位址ADDR。在此時,堆疊辨識訊號SID被設定至邏輯「1」。 At time point Td, the memory device 120 receives the address ADDR including the stack identification signal SID from the memory controller 112 together with the write command WR. At this time, the stack identification signal SID is set to logic "1".

因應於在時間點Td處堆疊辨識訊號SID為邏輯「1」,記憶體裝置120進入正常模式。在正常模式中,記憶體裝置120根據寫入命令WR將資料D寫入至記憶胞元陣列121的正常記憶區124中與位址訊號ADDR對應的記憶胞元。在此,可經由記憶體匯流排130的資料線134自記憶體控制器112接收將被寫入的資料D作為資料DQ。 In response to the stack identification signal SID being logical "1" at time point Td, the memory device 120 enters the normal mode. In the normal mode, the memory device 120 writes the data D to the memory cell corresponding to the address signal ADDR in the normal memory area 124 of the memory cell array 121 according to the write command WR. Here, the data D to be written can be received from the memory controller 112 as data DQ via the data line 134 of the memory bus 130.

在時間點Ta處的讀取命令RD與時間點Tb處的讀取命令RD之間存在被稱為CAS至CAS延遲tCCD的時序參數,所述時序參數是連續讀取命令之間所需的最小時間間隔。此外,時間點Tc處的寫入命令WR與時間點Td處的寫入命令WR之間存在時序參數tCCD,所述時序參數tCCD是連續寫入命令之間所需的最小時間間隔。時間點Ta與時間點Tb之間的時序參數tCCD可滿足JEDEC標準的DDR規格及/或LPDDR規格中所定義的tCCD時序參數要求。此外,時間點Tc與時間點Td之間的時序參數tCCD可滿足JEDEC標準的DDR規格及/或LPDDR規格中所定義的tCCD時序參數要求。 There is a timing parameter called CAS to CAS delay tCCD between the read command RD at time point Ta and the read command RD at time point Tb, which is the minimum time interval required between consecutive read commands. In addition, there is a timing parameter tCCD between the write command WR at time point Tc and the write command WR at time point Td, which is the minimum time interval required between consecutive write commands. The timing parameter tCCD between time point Ta and time point Tb can meet the tCCD timing parameter requirements defined in the DDR specification and/or LPDDR specification of the JEDEC standard. In addition, the timing parameter tCCD between the time point Tc and the time point Td can meet the tCCD timing parameter requirements defined in the JEDEC standard DDR specification and/or LPDDR specification.

時間點Tb處的讀取命令RD與時間點Tc處的寫入命令WR之間存在被稱為讀取至寫入延遲tRTW的時序參數。時間點Tb與時間點Tc之間的時序參數tRTW可滿足JEDEC標準的DDR規格及/或LPDDR規格中所定義的tRTW時序參數要求。 There is a timing parameter called read-to-write delay tRTW between the read command RD at time point Tb and the write command WR at time point Tc. The timing parameter tRTW between time point Tb and time point Tc can meet the tRTW timing parameter requirements defined in the JEDEC standard DDR specification and/or LPDDR specification.

圖8是闡述圖2所示PIM模式選擇器的圖。 FIG8 is a diagram illustrating the PIM mode selector shown in FIG2.

參考圖8,與圖2所示PIM模式選擇器210相較而言,PIM模式選擇器210a判斷與命令CMD一起接收的位址ADDR與PIM模式進入碼是否一致且判斷位址ADDR與PIM模式退出碼是否一致,而不是判斷與命令CMD一起經由記憶體匯流排130的命令/位址訊號線132接收的位址ADDR是否包括用於對PIM區122進行定址的特定位址。 Referring to FIG. 8 , compared with the PIM mode selector 210 shown in FIG. 2 , the PIM mode selector 210a determines whether the address ADDR received together with the command CMD is consistent with the PIM mode entry code and determines whether the address ADDR is consistent with the PIM mode exit code, instead of determining whether the address ADDR received together with the command CMD via the command/address signal line 132 of the memory bus 130 includes a specific address for addressing the PIM area 122.

PIM模式選擇器210a包括PIM模式進入檢查電路810、PIM模式退出檢查電路820、PIM模式選擇訊號產生電路830。 The PIM mode selector 210a includes a PIM mode entry check circuit 810, a PIM mode exit check circuit 820, and a PIM mode selection signal generation circuit 830.

PIM模式進入檢查電路810可儲存PIM模式進入碼,對由PIM模式選擇器210a依序接收的位址ADDR的位元值與PIM模式進入碼的位元值進行比較,並按照比較結果輸出PIM模式進入訊號PIM_ENTER。當順序位址ADDR的位元值與PIM模式進入碼的位元值一致時,PIM模式進入檢查電路810可輸出具有邏輯「1」的PIM模式進入訊號PIM_ENTER。否則,PIM模式進入檢查電路810可輸出具有邏輯「0」的PIM模式進入訊號。可將PIM模式進入訊號PIM_ENTER提供至PIM模式選擇訊號產生電路830。 The PIM mode entry check circuit 810 can store the PIM mode entry code, compare the bit value of the address ADDR sequentially received by the PIM mode selector 210a with the bit value of the PIM mode entry code, and output the PIM mode entry signal PIM_ENTER according to the comparison result. When the bit value of the sequential address ADDR is consistent with the bit value of the PIM mode entry code, the PIM mode entry check circuit 810 can output the PIM mode entry signal PIM_ENTER with a logical "1". Otherwise, the PIM mode entry check circuit 810 can output the PIM mode entry signal with a logical "0". The PIM mode entry signal PIM_ENTER can be provided to the PIM mode selection signal generation circuit 830.

在PIM模式進入碼中,舉例而言,分別與順序寫入命令WR對應的位址的位元值可被設定為緊接的位址序列(back-to-back address sequence),例如0xFFFF、0x1F1F、0xAAFF、0x0000、0x1111、0x4444、0x3333及0x0000。舉例而言,若記憶體控制器112在時間1處一起傳輸第一寫入命令與第一位址0xFFFF,在時間2處一起傳輸第二寫入命令與第二位址0x1F1F,在時間3處一起傳輸第三寫入命令與第三位址0xAAFF,在時間4處一起傳輸第四寫入命令與第四位址0x0000,在時間5處一起傳輸第五寫入命令與第五位址0x1111,在時間6處一起傳輸第六寫入命令與第六位址0x4444,在時間7處一起傳輸第七寫入命令與第七位址0x3333,且在時間8處一起傳輸第八寫入命令與第八位址0x0000,則PIM模式選擇器210a可將此序列(亦即,緊接的位址)的接收解譯為指示PIM模式選擇器210a輸出具有邏輯「1」的PIM模式進入訊號PIM_ENTER。雖然上文闡述8對命令與位址序列以發送表示PIM模式進入碼的緊接的位址,但本發明概念的實施例並不僅限於此。舉例而言,在替代實施例中可少於8對或多於8對。此外,雖然上文闡述使用位元值0xFFFF、0x1F1F、0xAAFF、0x0000、0x1111、0x4444、0x3333及0x0000,但本發明概念的實施例並不僅限於此。舉例而言,在替代實施例中位元值可具有不同的值。 In the PIM mode entry code, for example, the bit values of the addresses respectively corresponding to the sequential write commands WR may be set to a back-to-back address sequence, such as 0xFFFF, 0x1F1F, 0xAAFF, 0x0000, 0x1111, 0x4444, 0x3333, and 0x0000. For example, if the memory controller 112 transmits the first write command together with the first address 0xFFFF at time 1, transmits the second write command together with the second address 0x1F1F at time 2, transmits the third write command together with the third address 0xAAFF at time 3, transmits the fourth write command together with the fourth address 0x0000 at time 4, transmits the fifth write command together with the fifth address 0x1111 at time 5, and transmits the fifth write command together with the fifth address 0x0000 at time 6. At time 7, the sixth write command and the sixth address 0x4444 are transmitted together, at time 7, the seventh write command and the seventh address 0x3333 are transmitted together, and at time 8, the eighth write command and the eighth address 0x0000 are transmitted together, then the PIM mode selector 210a may interpret the reception of this sequence (i.e., the consecutive addresses) as an instruction for the PIM mode selector 210a to output the PIM mode entry signal PIM_ENTER with a logical "1". Although 8 pairs of command and address sequences are described above to send the consecutive addresses representing the PIM mode entry code, embodiments of the inventive concept are not limited thereto. For example, there may be less than 8 pairs or more than 8 pairs in alternative embodiments. Furthermore, although the above describes the use of bit values 0xFFFF, 0x1F1F, 0xAAFF, 0x0000, 0x1111, 0x4444, 0x3333, and 0x0000, embodiments of the present inventive concept are not limited thereto. For example, the bit values may have different values in alternative embodiments.

PIM模式退出檢查電路820可儲存PIM模式退出碼,對由PIM模式選擇器210a依序接收的位址ADDR的位元值與PIM 模式退出碼的位元值進行比較,並按照比較結果輸出PIM模式退出訊號PIM_EXIT。當順序位址ADDR的位元值與PIM模式退出碼的位元值一致時,PIM模式退出檢查電路820可輸出具有邏輯「1」的PIM模式退出訊號PIM_EXIT。否則,PIM模式退出檢查電路820可輸出具有邏輯「0」的PIM模式退出訊號PIM_EXIT。可將PIM模式退出訊號PIM_EXIT提供至PIM模式選擇訊號產生電路830。 The PIM mode exit check circuit 820 can store the PIM mode exit code, compare the bit value of the address ADDR received sequentially by the PIM mode selector 210a with the bit value of the PIM mode exit code, and output the PIM mode exit signal PIM_EXIT according to the comparison result. When the bit value of the sequential address ADDR is consistent with the bit value of the PIM mode exit code, the PIM mode exit check circuit 820 can output the PIM mode exit signal PIM_EXIT with a logical "1". Otherwise, the PIM mode exit check circuit 820 can output the PIM mode exit signal PIM_EXIT with a logical "0". The PIM mode exit signal PIM_EXIT can be provided to the PIM mode selection signal generation circuit 830.

在PIM模式退出碼中,舉例而言,分別與順序寫入命令WR對應的位址的位元值可被設定為緊接的位址序列,例如0x0000、0x2F2F、0xFFAA、0x0000、0x6666、0xF2F3、0x2333及0xFFFF。舉例而言,若記憶體控制器112在時間9處一起傳輸第九寫入命令與第九位址0x0000,在時間10處一起傳輸第十寫入命令與第十位址0x2F2F,在時間11處一起傳輸第十一寫入命令與第十一位址0xFFAA,在時間12處一起傳輸第十二寫入命令與第十二位址0x0000,在時間13處一起傳輸第十三寫入命令與第十三位址0x6666,在時間14處一起傳輸第十四寫入命令與第十四位址0xF2F3,在時間15處一起傳輸第十五寫入命令與第十五位址0x2333,且在時間16處一起傳輸第十六寫入命令與第十六位址0xFFFF,則PIM模式選擇器210a可將此序列(亦即,緊接的位址)的接收解譯為指示PIM模式選擇器210a輸出具有邏輯「1」的PIM模式退出訊號PIM_EXIT。雖然上文闡述8對命令與位址序列以發送表示PIM模式退出碼的緊接的位址,但本發明概念的 實施例並不僅限於此。舉例而言,在替代實施例中可少於8對或多於8對。此外,雖然上文闡述使用位元值0x0000、0x2F2F、0xFFAA、0x0000、0x6666、0xF2F3、0x2333及0xFFFF,但本發明概念的實施例並不僅限於此。舉例而言,在替代實施例中位元值可具有不同的值。 In the PIM mode exit code, for example, the bit values of the addresses respectively corresponding to the sequential write commands WR may be set to a close address sequence, such as 0x0000, 0x2F2F, 0xFFAA, 0x0000, 0x6666, 0xF2F3, 0x2333, and 0xFFFF. For example, if the memory controller 112 transmits the ninth write command together with the ninth address 0x0000 at time 9, transmits the tenth write command together with the tenth address 0x2F2F at time 10, transmits the eleventh write command together with the eleventh address 0xFFAA at time 11, transmits the twelfth write command together with the twelfth address 0x0000 at time 12, transmits the thirteenth write command together with the thirteenth address 0x6666 at time 13, and transmits the thirteenth write command together with the thirteenth address 0x6666 at time At time 14, the fourteenth write command and the fourteenth address 0xF2F3 are transmitted together, at time 15, the fifteenth write command and the fifteenth address 0x2333 are transmitted together, and at time 16, the sixteenth write command and the sixteenth address 0xFFFF are transmitted together, then the PIM mode selector 210a can interpret the reception of this sequence (i.e., the consecutive addresses) as an instruction for the PIM mode selector 210a to output the PIM mode exit signal PIM_EXIT with a logical "1". Although the above describes an 8-pair command and address sequence to send the consecutive addresses representing the PIM mode exit code, the embodiments of the present inventive concept are not limited thereto. For example, there may be less than 8 pairs or more than 8 pairs in an alternative embodiment. Furthermore, although the above describes the use of bit values 0x0000, 0x2F2F, 0xFFAA, 0x0000, 0x6666, 0xF2F3, 0x2333, and 0xFFFF, embodiments of the inventive concept are not limited thereto. For example, the bit values may have different values in alternative embodiments.

PIM模式選擇訊號產生電路830可基於PIM模式進入訊號PIM_ENTER及PIM模式退出訊號PIM_EXIT而產生PIM模式選擇訊號PIM_SEL。PIM模式選擇訊號產生電路830可因應於具有邏輯「1」的PIM模式進入訊號PIM_ENTER及具有邏輯「0」的PIM模式退出訊號PIM_EXIT而啟用PIM模式選擇訊號PIM_SEL。藉由啟用PIM模式選擇訊號PIM_SEL,記憶體裝置120可在內部處理模式中操作。 The PIM mode selection signal generating circuit 830 can generate the PIM mode selection signal PIM_SEL based on the PIM mode entry signal PIM_ENTER and the PIM mode exit signal PIM_EXIT. The PIM mode selection signal generating circuit 830 can enable the PIM mode selection signal PIM_SEL in response to the PIM mode entry signal PIM_ENTER having a logic "1" and the PIM mode exit signal PIM_EXIT having a logic "0". By enabling the PIM mode selection signal PIM_SEL, the memory device 120 can operate in the internal processing mode.

PIM模式選擇訊號產生電路830可因應於具有邏輯「0」的PIM模式進入訊號PIM_ENTER或具有邏輯「1」的PIM模式退出訊號PIM_EXIT而禁用PIM模式選擇訊號PIM_SEL。藉由禁用PIM模式選擇訊號PIM_SEL,記憶體裝置120可在正常模式中操作。 The PIM mode selection signal generating circuit 830 may disable the PIM mode selection signal PIM_SEL in response to the PIM mode entry signal PIM_ENTER having a logic "0" or the PIM mode exit signal PIM_EXIT having a logic "1". By disabling the PIM mode selection signal PIM_SEL, the memory device 120 may operate in a normal mode.

上文參考圖8所述的PIM模式進入碼及PIM模式退出碼僅是實例,且本發明概念並不僅限於此。根據本發明概念的實施例,可以各種方式配置PIM模式進入碼及PIM模式退出碼。可將PIM模式進入碼及PIM模式退出碼按照相同的碼值儲存於記憶體控制器112的控制暫存器116、及PIM模式選擇器210a中。 The PIM mode entry code and the PIM mode exit code described above with reference to FIG. 8 are merely examples, and the present inventive concept is not limited thereto. According to an embodiment of the present inventive concept, the PIM mode entry code and the PIM mode exit code may be configured in various ways. The PIM mode entry code and the PIM mode exit code may be stored in the control register 116 of the memory controller 112 and the PIM mode selector 210a according to the same code value.

圖9是闡述根據本發明概念的示例性實施例的圖2所示記憶體裝置的操作的流程圖。 FIG. 9 is a flow chart illustrating the operation of the memory device shown in FIG. 2 according to an exemplary embodiment of the inventive concept.

參考圖1、圖2、圖8及圖9,在操作S905中,記憶體裝置120經由命令/位址訊號線132自記憶體控制器112依序接收命令CMD及位址ADDR Referring to Figures 1, 2, 8 and 9, in operation S905, the memory device 120 sequentially receives the command CMD and the address ADDR from the memory controller 112 via the command/address signal line 132.

在操作S911中,經由PIM模式選擇器210a的PIM模式進入檢查電路810,記憶體裝置120對依序接收的位址ADDR的位元值與PIM模式進入碼的位元值進行比較,並按照比較結果輸出PIM模式進入訊號PIM_ENTER。 In operation S911, the memory device 120 compares the bit value of the sequentially received address ADDR with the bit value of the PIM mode entry code through the PIM mode entry check circuit 810 of the PIM mode selector 210a, and outputs the PIM mode entry signal PIM_ENTER according to the comparison result.

在操作S912中,經由PIM模式選擇器210a的PIM模式退出檢查電路820,記憶體裝置120對依序接收的位址ADDR的位元值與PIM模式退出碼的位元值進行比較,並按照比較結果輸出PIM模式退出訊號PIM_EXIT。 In operation S912, the memory device 120 compares the bit value of the sequentially received address ADDR with the bit value of the PIM mode exit code through the PIM mode exit check circuit 820 of the PIM mode selector 210a, and outputs the PIM mode exit signal PIM_EXIT according to the comparison result.

在操作S920中,經由PIM模式選擇器210a的PIM模式選擇訊號產生電路830,記憶體裝置120基於PIM模式進入訊號PIM_ENTER及PIM模式退出訊號PIM_EXIT而產生PIM模式選擇訊號PIM_SEL。舉例而言,PIM模式選擇訊號產生電路830可因應於具有邏輯「1」的PIM模式進入訊號PIM_ENTER及具有邏輯「0」的PIM模式退出訊號PIM_EXIT而啟用PIM模式選擇訊號PIM_SEL。PIM模式選擇訊號產生電路830可因應於具有邏輯「0」的PIM模式進入訊號PIM_ENTER或具有邏輯「1」的PIM模式退出訊號PIM_EXIT而禁用PIM模式選擇訊號PIM_SEL。 In operation S920, the memory device 120 generates a PIM mode selection signal PIM_SEL based on the PIM mode entry signal PIM_ENTER and the PIM mode exit signal PIM_EXIT via the PIM mode selection signal generation circuit 830 of the PIM mode selector 210a. For example, the PIM mode selection signal generation circuit 830 may enable the PIM mode selection signal PIM_SEL in response to the PIM mode entry signal PIM_ENTER having a logic "1" and the PIM mode exit signal PIM_EXIT having a logic "0". The PIM mode selection signal generating circuit 830 may disable the PIM mode selection signal PIM_SEL in response to the PIM mode entry signal PIM_ENTER having a logic "0" or the PIM mode exit signal PIM_EXIT having a logic "1".

在操作S930中,記憶體裝置120判斷是否啟用在操作S920中產生的PIM模式選擇訊號PIM_SEL。 In operation S930, the memory device 120 determines whether to enable the PIM mode selection signal PIM_SEL generated in operation S920.

當啟用PIM模式選擇訊號PIM_SEL時,在操作S940中,記憶體裝置120進入內部處理模式。 When the PIM mode selection signal PIM_SEL is enabled, the memory device 120 enters the internal processing mode in operation S940.

在操作S941中,記憶體裝置120將在操作S920中接收的命令CMD轉換成內部處理操作命令PIM_CMD。記憶體裝置120的PIM命令轉換器126可將所接收的命令CMD轉換成指示內部處理操作類型的內部處理操作命令PIM_CMD,所述內部處理操作類型包括例如:資料搜尋、資料算術運算(例如加、減、乘、除等)、資料移動、資料反演、資料移位、資料調換、資料比較、邏輯運算及/或資料處理/操作。 In operation S941, the memory device 120 converts the command CMD received in operation S920 into an internal processing operation command PIM_CMD. The PIM command converter 126 of the memory device 120 may convert the received command CMD into an internal processing operation command PIM_CMD indicating an internal processing operation type, wherein the internal processing operation type includes, for example, data search, data arithmetic operation (e.g., addition, subtraction, multiplication, division, etc.), data movement, data inversion, data shift, data exchange, data comparison, logical operation and/or data processing/operation.

在操作S942中,記憶體裝置120根據內部處理操作命令PIM_CMD實行內部處理操作。記憶體裝置120的PIM引擎250可根據內部處理操作命令PIM_CMD藉由使用記憶胞元陣列121的PIM區122來實行內部處理操作。PIM引擎250可將內部處理資料儲存於PIM區122中,所述內部處理資料是因應於內部處理操作命令PIM_CMD而實行的內部處理操作的結果。另一選擇為,PIM引擎250可因應於內部處理操作命令PIM_CMD而自PIM區122讀取內部處理資料,並基於讀取內部處理資料實行內部處理操作。 In operation S942, the memory device 120 performs an internal processing operation according to the internal processing operation command PIM_CMD. The PIM engine 250 of the memory device 120 may perform the internal processing operation according to the internal processing operation command PIM_CMD by using the PIM area 122 of the memory cell array 121. The PIM engine 250 may store internal processing data in the PIM area 122, the internal processing data being the result of the internal processing operation performed in response to the internal processing operation command PIM_CMD. Alternatively, the PIM engine 250 may read the internal processing data from the PIM area 122 in response to the internal processing operation command PIM_CMD, and perform the internal processing operation based on the read internal processing data.

與此同時,當在操作S930中確定PIM模式選擇訊號PIM_SEL被禁用時,在操作S950中,記憶體裝置120進入正常模 式。 Meanwhile, when it is determined in operation S930 that the PIM mode selection signal PIM_SEL is disabled, in operation S950, the memory device 120 enters the normal mode.

在操作S951中,記憶體裝置120根據在操作S905中接收的命令CMD實行資料交易操作。命令CMD可與在正常模式中實行的資料交易操作相關聯。記憶體裝置120可根據命令CMD將經由資料線134自記憶體控制器112接收的資料DQ儲存於記憶胞元陣列121的正常記憶區124中,自正常記憶區124讀取資料DQ,並將所讀取的資料經由資料線134傳輸至記憶體控制器112作為資料DQ。 In operation S951, the memory device 120 performs a data transaction operation according to the command CMD received in operation S905. The command CMD may be associated with a data transaction operation performed in a normal mode. The memory device 120 may store the data DQ received from the memory controller 112 via the data line 134 in the normal memory area 124 of the memory cell array 121 according to the command CMD, read the data DQ from the normal memory area 124, and transmit the read data to the memory controller 112 via the data line 134 as the data DQ.

雖然已參考本發明概念的實施例特定地示出且闡述了本發明概念,但應理解,可在不背離本發明概念的精神及範疇的情況下對本發明概念做出各種形式及細節上的改變。 Although the inventive concept has been particularly shown and described with reference to embodiments thereof, it should be understood that various changes in form and detail may be made to the inventive concept without departing from the spirit and scope of the inventive concept.

100:系統 100: System

110:主機裝置 110: Host device

112:記憶體控制器 112:Memory controller

114:記憶體物理層介面 114: Memory physical layer interface

116:控制暫存器 116: Control register

120:記憶體裝置 120: Memory device

121:記憶胞元陣列 121: Memory cell array

122:記憶體中處理區 122: Processing area in memory

124:正常記憶區 124: Normal memory area

126:記憶體中處理命令轉換器 126: Processing command converter in memory

130:記憶體匯流排 130:Memory bus

132:命令/位址訊號線 132: Command/address signal line

134:資料線 134: Data line

ADDR:位址/位址訊號/順序位址 ADDR: address/address signal/sequential address

CMD:命令 CMD: Command

DQ:待寫入資料/讀取資料/資料 DQ: Data to be written/data to be read/data

PIM_CMD:內部處理操作命令 PIM_CMD: Internal processing operation command

Claims (22)

一種記憶體裝置,包括:記憶胞元陣列,包括第一記憶區及第二記憶區;訊號線,被配置成自位於所述記憶體裝置外的來源接收命令及位址;模式選擇器電路,被配置成基於與所述命令一起接收的所述位址而產生用於控制所述記憶體裝置進入內部處理模式的處理模式選擇訊號;命令轉換器電路,被配置成因應於所述處理模式選擇訊號的啟用而將所接收的所述命令轉換成內部處理操作命令;以及內部處理器,被配置成在所述內部處理模式中因應於所述內部處理操作命令而對所述第一記憶區實行內部處理操作,其中所述模式選擇器電路因應於特定位址而產生所述處理模式選擇訊號,所述特定位址包括於與所述命令一起接收的所述位址中且對所述第一記憶區與所述第二記憶區彼此進行區分。 A memory device comprises: a memory cell array including a first memory area and a second memory area; a signal line configured to receive a command and an address from a source outside the memory device; a mode selector circuit configured to generate a processing mode selection signal for controlling the memory device to enter an internal processing mode based on the address received together with the command; and a command converter circuit configured to convert the processing mode selection signal into an internal processing mode in response to activation of the processing mode selection signal. The received command is converted into an internal processing operation command; and the internal processor is configured to perform an internal processing operation on the first memory area in response to the internal processing operation command in the internal processing mode, wherein the mode selector circuit generates the processing mode selection signal in response to a specific address, the specific address is included in the address received together with the command and distinguishes the first memory area from the second memory area. 如請求項1所述的記憶體裝置,其中所述訊號線連接至記憶體物理層介面,所述記憶體物理層介面支援雙倍資料速率(DDR)協定或低功率雙倍資料速率(LPDDR)協定且所述記憶體物理層介面位於所述記憶體裝置外。 A memory device as described in claim 1, wherein the signal line is connected to a memory physical layer interface, the memory physical layer interface supports a double data rate (DDR) protocol or a low power double data rate (LPDDR) protocol and the memory physical layer interface is located outside the memory device. 如請求項1所述的記憶體裝置,其中所述記憶胞元陣列包括堆疊記憶層,所述堆疊記憶層包括共用通道、矽穿孔及電性連接至所述矽 穿孔的電極焊墊,且在所述共用通道中,根據堆疊辨識訊號而選擇性地存取屬於所述第一記憶區的所述堆疊記憶層及屬於所述第二記憶區的所述堆疊記憶層,且所述特定位址包括用於存取屬於所述第一記憶區的所述堆疊記憶層的所述堆疊辨識訊號。 A memory device as described in claim 1, wherein the memory cell array includes a stacked memory layer, the stacked memory layer includes a common channel, a silicon via, and an electrode pad electrically connected to the silicon via, and in the common channel, the stacked memory layer belonging to the first memory area and the stacked memory layer belonging to the second memory area are selectively accessed according to a stack identification signal, and the specific address includes the stack identification signal for accessing the stacked memory layer belonging to the first memory area. 如請求項1所述的記憶體裝置,其中所述記憶胞元陣列包括堆疊記憶層,所述堆疊記憶層包括共用通道、矽穿孔及電性連接至所述矽穿孔的電極焊墊,且在所述共用通道中,根據通道位址而選擇性地存取屬於所述第一記憶區的所述堆疊記憶層及屬於所述第二記憶區的所述堆疊記憶層,且所述特定位址包括用於存取屬於所述第一記憶區的所述堆疊記憶層的所述通道位址。 A memory device as described in claim 1, wherein the memory cell array includes a stacked memory layer, the stacked memory layer includes a common channel, a through silicon via, and an electrode pad electrically connected to the through silicon via, and in the common channel, the stacked memory layer belonging to the first memory area and the stacked memory layer belonging to the second memory area are selectively accessed according to a channel address, and the specific address includes the channel address for accessing the stacked memory layer belonging to the first memory area. 如請求項1所述的記憶體裝置,其中所述記憶胞元陣列包括多個記憶體庫,在所述多個記憶體庫之中,根據記憶體庫位址而選擇性地存取屬於所述第一記憶區的記憶體庫及屬於所述第二記憶區的記憶體庫,且所述特定位址包括用於存取屬於所述第一記憶區的所述記憶體庫的所述記憶體庫位址。 A memory device as described in claim 1, wherein the memory cell array includes a plurality of memory libraries, among which the memory libraries belonging to the first memory area and the memory libraries belonging to the second memory area are selectively accessed according to the memory library addresses, and the specific address includes the memory library address for accessing the memory library belonging to the first memory area. 如請求項1所述的記憶體裝置,其中所述第一記憶區及所述第二記憶區藉由所述特定位址而被設定為固定區。 A memory device as described in claim 1, wherein the first memory area and the second memory area are set as fixed areas by the specific address. 如請求項1所述的記憶體裝置,其中所述第一記憶區及所述第二記憶區藉由所述特定位址而被設定為可變區。 A memory device as described in claim 1, wherein the first memory area and the second memory area are set as variable areas by the specific address. 如請求項1所述的記憶體裝置,其中當所述特定位址不包括於與所述命令一起接收的所述位址中時,所述模式選擇器電路禁用所述處理模式選擇訊號,以使所述記憶體裝置進入正常模式。 A memory device as described in claim 1, wherein when the specific address is not included in the address received together with the command, the mode selector circuit disables the processing mode selection signal to cause the memory device to enter a normal mode. 如請求項1所述的記憶體裝置,其中所述記憶體裝置經由所述訊號線依序接收第一命令,且依序接收分別與依序接收的所述第一命令對應的位址,且所述模式選擇器電路判斷依序接收的所述位址是否與內部處理模式進入碼及內部處理模式退出碼一致且基於判斷的結果而產生所述處理模式選擇訊號。 A memory device as described in claim 1, wherein the memory device sequentially receives a first command via the signal line, and sequentially receives addresses corresponding to the first commands received sequentially, and the mode selector circuit determines whether the addresses received sequentially are consistent with an internal processing mode entry code and an internal processing mode exit code, and generates the processing mode selection signal based on the determination result. 如請求項9所述的記憶體裝置,其中當依序接收的所述位址與所述內部處理模式進入碼一致且依序接收的所述位址與所述內部處理模式退出碼不一致時,所述模式選擇器電路啟用所述處理模式選擇訊號。 A memory device as described in claim 9, wherein when the sequentially received addresses are consistent with the internal processing mode entry code and the sequentially received addresses are inconsistent with the internal processing mode exit code, the mode selector circuit enables the processing mode selection signal. 如請求項9所述的記憶體裝置,其中當依序接收的所述位址與所述內部處理模式進入碼不一致或依序接收的所述位址與所述內部處理模式退出碼一致時,所述模式選擇器電路禁用所述處理模式選擇訊號,以使所述記憶體裝置進入正常模式。 A memory device as described in claim 9, wherein when the sequentially received address is inconsistent with the internal processing mode entry code or the sequentially received address is consistent with the internal processing mode exit code, the mode selector circuit disables the processing mode selection signal to enable the memory device to enter normal mode. 一種操作記憶體裝置的方法,所述記憶體裝置包括記憶胞元陣列及內部處理器,所述記憶胞元陣列包括第一記憶 區及第二記憶區,所述內部處理器被配置成實行內部處理操作,所述方法包括:經由預定義協定介面自位於所述記憶體裝置外的來源接收命令及位址;基於與所述命令一起接收的所述位址,產生用於控制所述記憶體裝置進入內部處理模式的處理模式選擇訊號;因應於所述處理模式選擇訊號的啟用而將所接收的所述命令轉換成內部處理操作命令;以及在所述內部處理模式中,由所述內部處理器因應於所述內部處理操作命令而對所述第一記憶區實行內部處理操作,其中產生所述處理模式選擇訊號包括:判斷與所述命令一起接收的所述位址是否包括對所述第一記憶區與所述第二記憶區彼此進行區分的特定位址;當在與所述命令一起接收的所述位址中包括所述特定位址時,啟用所述處理模式選擇訊號;以及當在與所述命令一起接收的所述位址中不包括所述特定位址時,禁用所述處理模式選擇訊號。 A method for operating a memory device, the memory device comprising a memory cell array and an internal processor, the memory cell array comprising a first memory area and a second memory area, the internal processor being configured to perform an internal processing operation, the method comprising: receiving a command and an address from a source outside the memory device via a predefined protocol interface; generating a processing mode selection signal for controlling the memory device to enter an internal processing mode based on the address received together with the command; converting the received command into an internal processing operation command in response to activation of the processing mode selection signal; ; and in the internal processing mode, the internal processor performs an internal processing operation on the first memory area in response to the internal processing operation command, wherein generating the processing mode selection signal includes: determining whether the address received together with the command includes a specific address for distinguishing the first memory area from the second memory area; when the address received together with the command includes the specific address, enabling the processing mode selection signal; and when the address received together with the command does not include the specific address, disabling the processing mode selection signal. 如請求項12所述的方法,其中所述預定義協定介面是記憶體物理層介面,所述記憶體物理層介面支援雙倍資料速率(DDR)協定或低功率雙倍資料速率(LPDDR)協定。 A method as described in claim 12, wherein the predefined protocol interface is a memory physical layer interface, and the memory physical layer interface supports a double data rate (DDR) protocol or a low power double data rate (LPDDR) protocol. 如請求項12所述的方法,更包括:因應於所述 處理模式選擇訊號的禁用而進入正常模式。 The method as claimed in claim 12 further includes: entering the normal mode in response to disabling of the processing mode selection signal. 如請求項12所述的方法,其中所述特定位址包括用於對所述第一記憶區進行定址的堆疊辨識訊號、通道位址及記憶體庫位址。 A method as described in claim 12, wherein the specific address includes a stack identification signal, a channel address, and a memory bank address for addressing the first memory area. 如請求項12所述的方法,其中所述第一記憶區及所述第二記憶區藉由所述特定位址而被設定為固定區。 The method as described in claim 12, wherein the first memory area and the second memory area are set as fixed areas by the specific address. 如請求項12所述的方法,其中所述第一記憶區及所述第二記憶區藉由所述特定位址而被設定為可變區。 The method as described in claim 12, wherein the first memory area and the second memory area are set as variable areas by the specific address. 如請求項12所述的方法,其中產生所述處理模式選擇訊號包括:經由所述預定義協定介面依序接收第一命令;經由所述預定義協定介面依序接收分別與依序接收的所述第一命令對應的位址;判斷依序接收的所述位址是否與內部處理模式進入碼及內部處理模式退出碼一致;以及基於判斷的結果而產生所述處理模式選擇訊號。 The method of claim 12, wherein generating the processing mode selection signal comprises: sequentially receiving a first command via the predefined protocol interface; sequentially receiving addresses corresponding to the first commands received sequentially via the predefined protocol interface; determining whether the addresses received sequentially are consistent with an internal processing mode entry code and an internal processing mode exit code; and generating the processing mode selection signal based on the determination result. 如請求18所述的方法,其中產生所述處理模式選擇訊號包括:當依序接收的所述位址與所述內部處理模式進入碼一致且依序接收的所述位址與所述內部處理模式退出碼不一致時,啟用所述處理模式選擇訊號;以及當依序接收的所述位址與所述內部處理模式進入碼不一致或 依序接收的所述位址與所述內部處理模式退出碼一致時,禁用所述處理模式選擇訊號。 A method as described in claim 18, wherein generating the processing mode selection signal comprises: enabling the processing mode selection signal when the sequentially received address is consistent with the internal processing mode entry code and the sequentially received address is inconsistent with the internal processing mode exit code; and disabling the processing mode selection signal when the sequentially received address is inconsistent with the internal processing mode entry code or the sequentially received address is consistent with the internal processing mode exit code. 如請求項19所述的方法,更包括:因應於所述處理模式選擇訊號的禁用而進入正常模式。 The method as described in claim 19 further includes: entering the normal mode in response to disabling of the processing mode selection signal. 一種記憶體系統,包括:記憶體裝置;以及記憶體控制器,被配置成使用連接至所述記憶體裝置的預定義協定介面來控制所述記憶體裝置,其中所述記憶體裝置包括:記憶胞元陣列,包括第一記憶區及第二記憶區;模式選擇器電路,被配置成經由所述預定義協定介面自所述記憶體控制器接收命令及位址,且基於與所述命令一起接收的所述位址,產生用於控制所述記憶體裝置進入內部處理模式的處理模式選擇訊號;命令轉換器電路,被配置成因應於所述處理模式選擇訊號的啟用而將所接收的所述命令轉換成內部處理操作命令;以及內部處理器,被配置成在所述內部處理模式中因應於所述內部處理操作命令而對所述第一記憶區實行內部處理操作,其中所述模式選擇器電路因應於特定位址而產生所述處理模式選擇訊號,所述特定位址包括於與所述命令一起接收的所述位址中且對所述第一記憶區與所述第二記憶區彼此進行區分。 A memory system comprises: a memory device; and a memory controller configured to control the memory device using a predefined protocol interface connected to the memory device, wherein the memory device comprises: a memory cell array including a first memory area and a second memory area; a mode selector circuit configured to receive a command and an address from the memory controller via the predefined protocol interface, and based on the address received together with the command, generate a processing mode selection signal for controlling the memory device to enter an internal processing mode; A command converter circuit is configured to convert the received command into an internal processing operation command in response to the activation of the processing mode selection signal; and an internal processor is configured to perform an internal processing operation on the first memory area in response to the internal processing operation command in the internal processing mode, wherein the mode selector circuit generates the processing mode selection signal in response to a specific address, the specific address is included in the address received together with the command and distinguishes the first memory area from the second memory area. 如請求項21所述的記憶體系統,其中所述預定義協定介面是記憶體物理層介面,所述記憶體物理層介面是雙倍資料速率(DDR)協定或低功率雙倍資料速率(LPDDR)協定。 A memory system as described in claim 21, wherein the predefined protocol interface is a memory physical layer interface, and the memory physical layer interface is a double data rate (DDR) protocol or a low power double data rate (LPDDR) protocol.
TW109107592A 2019-03-11 2020-03-09 Memory device, method of operating memory device and memory system TWI859200B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201962816509P 2019-03-11 2019-03-11
US62/816,509 2019-03-11
KR10-2019-0161673 2019-12-06
KR1020190161673A KR102767186B1 (en) 2019-03-11 2019-12-06 Method of performing internal processing operations with pre-defined protocol interface of memory device

Publications (2)

Publication Number Publication Date
TW202111540A TW202111540A (en) 2021-03-16
TWI859200B true TWI859200B (en) 2024-10-21

Family

ID=72707900

Family Applications (2)

Application Number Title Priority Date Filing Date
TW109107592A TWI859200B (en) 2019-03-11 2020-03-09 Memory device, method of operating memory device and memory system
TW109107967A TWI856072B (en) 2019-03-11 2020-03-11 Memory device, data processing system, and method of operating memory device

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW109107967A TWI856072B (en) 2019-03-11 2020-03-11 Memory device, data processing system, and method of operating memory device

Country Status (3)

Country Link
KR (4) KR102879034B1 (en)
SG (3) SG10202002213RA (en)
TW (2) TWI859200B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11908541B2 (en) 2020-01-07 2024-02-20 SK Hynix Inc. Processing-in-memory (PIM) systems
US12136470B2 (en) 2020-01-07 2024-11-05 SK Hynix Inc. Processing-in-memory (PIM) system that changes between multiplication/accumulation (MAC) and memory modes and operating methods of the PIM system
TWI868210B (en) 2020-01-07 2025-01-01 韓商愛思開海力士有限公司 Processing-in-memory (pim) system
US12386777B2 (en) 2020-01-07 2025-08-12 SK Hynix Inc. Processing-in-memory (PIM) device to perform a memory access operation and an arithmetic operation in response to a command from a PIM controller and a high speed interface, respectively
US11537323B2 (en) 2020-01-07 2022-12-27 SK Hynix Inc. Processing-in-memory (PIM) device
US11281583B1 (en) 2020-09-24 2022-03-22 Hughes Network Systems, Llc Unified memory management for a multiple processor system
KR102860670B1 (en) 2020-11-16 2025-09-15 에스케이하이닉스 주식회사 Semiconductor device capable of in-memory processing
US11893278B2 (en) 2021-02-08 2024-02-06 Samsung Electronics Co., Ltd. Memory controller and memory control method for generating commands based on a memory request
KR102695927B1 (en) * 2021-07-21 2024-08-19 삼성전자주식회사 Memory device performing in-memory operation and method thereof
US12032829B2 (en) 2021-07-21 2024-07-09 Samsung Electronics Co., Ltd. Memory device performing in-memory operation and method thereof
KR102850055B1 (en) 2021-07-23 2025-08-25 삼성전자주식회사 Data processing apparatus and method using direct memory access
KR20230034634A (en) 2021-09-03 2023-03-10 에스케이하이닉스 주식회사 Memory system and operating method thereof
KR102736326B1 (en) * 2021-12-14 2024-11-28 건국대학교 산학협력단 Bank allocation apparatus and method for sparse convolutional neural network
US12437827B2 (en) * 2021-12-29 2025-10-07 Advanced Micro Devices, Inc. DRAM specific interface calibration via programmable training sequences
KR102775309B1 (en) * 2022-08-26 2025-03-06 삼성전자주식회사 Electronic device for processing memory request using memory address space extension and method for operating thereof
KR102866253B1 (en) * 2023-03-13 2025-09-29 성균관대학교산학협력단 Device for controlling process-in-memory, computing apparatus including the same, and method thereof
KR20250011531A (en) 2023-07-14 2025-01-21 에스케이하이닉스 주식회사 Memory device
KR102874491B1 (en) * 2023-12-07 2025-10-23 주식회사 코코링크 Arithmetic processing system having artificial intelligence and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170344301A1 (en) * 2016-05-30 2017-11-30 Samsung Electronics Co., Ltd. Semiconductor memory device and operation method thereof
TW201804328A (en) * 2016-07-26 2018-02-01 三星電子股份有限公司 Memory system, processing system thereof and method for operating memory stack
US20190074048A1 (en) * 2016-08-04 2019-03-07 Samsung Electronics Co., Ltd. Nonvolatile memory devices and memory systems

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101090410B1 (en) 2010-07-02 2011-12-06 주식회사 하이닉스반도체 Semiconductor memory device
KR102025341B1 (en) * 2012-12-04 2019-09-25 삼성전자 주식회사 Memory controller, Memory system including the memory controller and Method of operating the memory controller
KR101457802B1 (en) * 2013-05-31 2014-11-04 서울대학교산학협력단 Flash memory chip using parallel technique
JP6477228B2 (en) 2015-05-18 2019-03-06 富士通株式会社 Information processing apparatus, memory control apparatus, and information processing apparatus control method
KR101814577B1 (en) * 2015-10-16 2018-01-03 삼성전자주식회사 Method and apparatus for processing instructions using processing-in-memory
US9971541B2 (en) 2016-02-17 2018-05-15 Micron Technology, Inc. Apparatuses and methods for data movement
US9997232B2 (en) * 2016-03-10 2018-06-12 Micron Technology, Inc. Processing in memory (PIM) capable memory device having sensing circuitry performing logic operations
US10503641B2 (en) * 2016-05-31 2019-12-10 Advanced Micro Devices, Inc. Cache coherence for processing in memory
US10303632B2 (en) * 2016-07-26 2019-05-28 Micron Technology, Inc. Accessing status information
US10416896B2 (en) * 2016-10-14 2019-09-17 Samsung Electronics Co., Ltd. Memory module, memory device, and processing device having a processor mode, and memory system
US10725685B2 (en) * 2017-01-19 2020-07-28 International Business Machines Corporation Load logical and shift guarded instruction
KR101867219B1 (en) * 2017-02-22 2018-06-12 연세대학교 산학협력단 Apparatus and method for processing differential memory operations based on dynamic memory interface
KR102017314B1 (en) * 2018-08-27 2019-09-03 에스케이하이닉스 주식회사 Semiconductor memory device and method of driving the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170344301A1 (en) * 2016-05-30 2017-11-30 Samsung Electronics Co., Ltd. Semiconductor memory device and operation method thereof
TW201804328A (en) * 2016-07-26 2018-02-01 三星電子股份有限公司 Memory system, processing system thereof and method for operating memory stack
US20190074048A1 (en) * 2016-08-04 2019-03-07 Samsung Electronics Co., Ltd. Nonvolatile memory devices and memory systems

Also Published As

Publication number Publication date
KR20200108774A (en) 2020-09-21
TW202044043A (en) 2020-12-01
KR20200108772A (en) 2020-09-21
KR20200108768A (en) 2020-09-21
SG10202002213RA (en) 2020-10-29
TW202111540A (en) 2021-03-16
KR102879034B1 (en) 2025-10-29
SG10202002232UA (en) 2020-10-29
KR20200108773A (en) 2020-09-21
KR102893502B1 (en) 2025-11-28
TWI856072B (en) 2024-09-21
KR102767186B1 (en) 2025-02-13
SG10202002231WA (en) 2020-10-29

Similar Documents

Publication Publication Date Title
TWI859200B (en) Memory device, method of operating memory device and memory system
CN111679786B (en) Storage device, method of operating the same, and storage system
KR102845463B1 (en) Memory Device performing parallel calculation process, Operating Method thereof and Operation Method of Memory controller controlling memory device
US10083722B2 (en) Memory device for performing internal process and operating method thereof
US12099455B2 (en) Memory device with internal processing interface
KR102282971B1 (en) A semiconductor memory device, and a memory system including the semiconductor memory device
KR100647443B1 (en) Apparatus and method for auxiliary command bus
CN100419901C (en) Memory device with different burst sequential addressing for read and write operations
KR102700109B1 (en) Adaptive memory access management
KR20150145465A (en) Memory system and operation method of the same
TW202414406A (en) Memory device, method of operating memory device and electronic device
EP4095701B1 (en) Memory device and method of controlling row hammer
CN115858438A (en) Enable logic for flexible configuration of memory module data width
US12040046B2 (en) Operating method of memory device for extending synchronization of data clock signal, and operating method of electronic device including the same
US11281397B2 (en) Stacked memory device performing function-in-memory (FIM) operation and method of operating the same
US11238921B2 (en) Packaged integrated circuit memory devices having enhanced on-die-termination circuits therein and methods of operating same
CN1751358B (en) Apparatus and method for encoding automatic pre-charging
CN110444237B (en) Semiconductor device
KR20190035392A (en) Memory Device performing data multiple write and Operating Method of memory Device and memory controller
US11928039B1 (en) Data-transfer test mode
US10891204B2 (en) Memory system, a method of determining an error of the memory system and an electronic apparatus having the memory system
US12488827B2 (en) CXL device and operation method of CXL device
US20250139033A1 (en) Memory chip and memory system with the same
KR102071527B1 (en) Memory device performing multiple core accesses with bank group
CN120071990A (en) Memory and memory system