TWI267855B - System and method for controlling the access and refresh of a memory - Google Patents

System and method for controlling the access and refresh of a memory Download PDF

Info

Publication number
TWI267855B
TWI267855B TW94128888A TW94128888A TWI267855B TW I267855 B TWI267855 B TW I267855B TW 94128888 A TW94128888 A TW 94128888A TW 94128888 A TW94128888 A TW 94128888A TW I267855 B TWI267855 B TW I267855B
Authority
TW
Taiwan
Prior art keywords
memory
block
data
cache
read
Prior art date
Application number
TW94128888A
Other languages
Chinese (zh)
Other versions
TW200623123A (en
Inventor
Min-Yeol Ha
Hyun-Taek Jung
Suk-Soo Pyo
Original Assignee
Samsung Electronics Co Ltd
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
Priority claimed from KR1020040077594A external-priority patent/KR100564633B1/en
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of TW200623123A publication Critical patent/TW200623123A/en
Application granted granted Critical
Publication of TWI267855B publication Critical patent/TWI267855B/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • G11C11/40603Arbitration, priority and concurrent access to memory cells for read/write or refresh operations
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • G11C11/40607Refresh operations in memory devices with an internal cache or data buffer

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Dram (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The present invention provides a memory and memory control system wherein, except for one case noted below, the main memory gives priority to read or write operations over refresh operations. On the other hand, the cache memory give priority to the refresh operations over read or write operations. The exceptional case is when a memory read signal is received when the cache refresh is enabled and the data in the cache memory is valid. In the exceptional case, the refresh of the cache memory is delayed. During certain read operations the data in the particular memory block is also written to the cache and no write back from the cache is performed. This reduces the number of write back operations and it eliminates a delay due to the refresh operation.

Description

1267855' 、 17728pif.doc 九、發明說明: 【發明所屬之技術領域】 ㈣^明是有關於記憶體系統,特別是有關於記憶體系 統的控制電路。 【先前技術】 隨機存取記憶體(dram)是-種普遍使用的記憶 、=二、RAM的一個重要特性是,儲存在DRAM中的資料 '、、、週=11的更新,不然資料將會吾失。 ^料的外部存取請求通常是隨機的。因此,外部存 二和更新存取請求可能同時產生。在—些記憶體系統 古t更新操作發生時’對DRAM的存取被延遲。迄些氣 :^可變的潛在ij素’從而增加了⑽的複雜性也須增 使頻見。另一些記憶體系統則設計了週期時間, 靳二心存取和更新能在允許的週期時間内發生。這樣更 新知作將不會受外部存取請求的干擾。 存取S取=儲存在記憶體所需要的時間稱綱 (SRAMM ^周將一種高速、靜態隨機存取記憶體 取時間Λ取^憶體加肋憶體系财可減少平均的存 此許i-欠:工的資料儲存在高速的快取記憶體中,因 …&_使.—量想得到的資料#j ,=的百分比,從而避開了為完成存取請求而對=“中 憶體的必須訪問。記憶體系統的實際的存 、要记 取記憶體的使用率。 $間取決於快 1267855-、 17728pif.doc 本發明注重於一種對DRAM記憶體存取的方法和系 統,其中更新週期通常沒有延遲對記憶體的在 【發明内容】 本發明提供了一種記憶體和記憶體控制系統,其中, 除了以下特別指出的案例,主要記憶體將優先權仏,取或 寫入操作,使之高於更新操作。另—方面,快取=體則 將優,權給更新操作,使之高於讀取或g人操作。例外的 案例是,當記憶體讀取訊號被接收到而同時快取記憶體的 更新被啟動(enable),且快取記憶體内的資料有效。在這例 外^況下,快取記憶體的更新被延遲。在更新操作中:如 果讀取請求是對-铺殊1^在快取記憶體 , 快取記憶體中的資料無效,在讀取操作中,在憶 塊中的貧料也會S人在快取記顏内。讀取操作完成後, 該特殊的記憶塊被更新。在此案例中’沒有從快取圮情體 寫回的操作。這樣減少了寫回操作的次數,從而消除ί由 於更新彳呆作帶來的延遲。 “ 【實施方式】 以下將描述和討論本發明較佳的實施例,並參考以」 圖三雖然本發明已以較佳實施_露如下,然其並非用γ 限定本發明’任何熟習此技藝者,在不麟本發明 和範圍内’當可作些許之更動與潤飾。 圖舉例㈣了本發明較佳的實施例和舉例說明 的實施例,。在這些圖中,方框的大小並不代表;; 的自然兀讀的大小。同#的參考數字在所有圖中表示丨 1267855- 17728pif.doc 樣的元件。 只有那些與本發明的解釋有關的的部分才在此說明和 描述。需要理解的是,除了在圖中說明和在此描述之外, 些單元,有其他一些傳統部分。本實施例的許多傳統部 刀以及本貫施例完成的許多傳統操作都沒在此說明和描 述,而此部分對熟習此技藝者來說是知道的。因此,以下 的描述以全面,清楚,簡練的術語為熟習此技藝者傳達了 • 如何製作和使用該發明的方法。 在下列描述中符號“〜”用來表示“到”。例如,訊號 RFSE1〜RFSEn表示訊號RFSE1到RFSEn。術語“目標記 ,塊”在這裏用來參考讀取和寫入操作。寫入操作的目:的塊 是資料被寫入的記憶塊。讀取操作的目的塊是從上面讀取 資料資料的記憶塊。 圖1是本發明第一較佳實施例的大體上的方塊圖土四 個DRAM記憶塊,Ml、M2、M3和Μη如圖1所示。該 圖應該被理解成記憶體可能會如傳統般有任意多個這樣 ® 記憶塊。 圖1中的其他早元疋更新狀態探測器1 1 〇、控制器單 ,120(如虛線框所示)、位址緩衝器13〇和輸入/輸出驅動 為140。控制器單元ΐ2〇(詳細的如圖3、4、5和6所示) 包括主控制器.121、更新控制器122、快取記憶體123(詳 情如圖7所示)和多工器124、125。 記憶塊Ml、M2、M3和Μη在圖9中詳細給出。圖3 疋主控制裔121的方塊圖。圖7是快取記憶體123的方塊 1267855 17728pif.doc 圖。 .己塊Ml、Mn為回應更新開始訊號rfss和更新位 址减RFA而被更新。記憶塊輪出更新狀態訊號燃別 〜RFSJEn/k塊為回應記憶體讀取控制訊號MRi〜MRn 而做項取I作。,己憶塊為回應記憶體寫人控制訊號Mwl 〜MWn和回應記憶體重寫控制訊號CWB1〜CWBn而做 寫入操作。 • ㈣狀態探測器㈣是-個為回應更新狀態訊號 RFSE1〜RFSEn中的任何一個而輪出一個更新資訊訊號 RFSE的邏輯電路。當所有的更新狀態訊 被啟動時,更新狀態探測器11〇也啟動更新資訊訊號 RFSE 〇 主控制為121收到許多輸入,包括讀取訊號Ren或寫 入訊號Wen。主控制器121產生一個記憶體控制訊號,包 括重寫位址CWBRC、記憶體讀取控制訊號MR1〜MRn、 記憶體寫入控制訊號MW1〜]VTWn、記憶體重寫控制訊號 # CWB1〜CWBn、快取記憶體讀取控制訊號cr、快取記憶 體寫入控制訊號CW、快取記憶體重寫控制訊號CWB、快 取圮憶體寫入擊中(hit)訊號CWH、快取記憶體擊中訊號 CH、讀取控制訊號REN和寫入控制訊號WEN。 更新控制器丨22週期性的產生更新控制訊號CRFS和 更新位址訊號RFA以回應時脈訊號CLK。這些訊號的精 確時序取決於記憶體的物理性能,這是一個傳統工程的問 題。 1267855· ’ 17728pif.doc 快取兄憶體123(詳細的如圖7所示)為回應更新控制 訊號CRFS和更新位址訊號RFA而更新,並產生更新開始 訊號RFSS。快取記憶體123在快取記憶體讀取控制訊號 CR被啟動時輸出快取記憶體讀取資料CD AT。快取記憶體 123在快取記憶體寫入控制訊號cw被啟動時寫入輪入資 料ID AT或記憶體讀取資料MD AT(讀取自記憶塊)。 多工器124在寫入控制訊號WEN被啟動時輸出輸入 φ 資料IDAT,而在寫入控制訊號WEN被禁能(disable)時輸 出記憶體讀取資料MDAT。 多工器125在快取記憶體擊中訊號CH被啟動時輸出 快取記憶體讀取資料CD AT,而在快取記憶體擊中訊號 被禁能時輸出記憶體讀取資料MDΑτ。 位址緩衝器130收到一個外部位址訊號£:^—ADD和時 脈訊號CLK。位址緩衝器丨3〇輸出記憶庫位址(bank 汛唬BA到主控制器121以及一個行/列位址訊號^^^八〇〇 到控制器120。這個行/列位址訊號尺(:ADD也會 •取記憶體U3和記憶塊(M1〜Mn)。—日输出至^ 圖2A-1至2F-1和2A-2至2F-2中的流程圖解釋了系 統在不同情形下完成的操作。圖2A-1至2F-2舉例說明了 發生在系統中的一些重要動作以及這些動作發生的條件。 圖2A-1和2A-2都展示了當RFSS更新訊號被啟動和 主控制器121收到讀取訊號Ren時所發生的動作。圖2A 也展不了當RFSS更新訊號被禁能和主控制器m收到讀 取訊號Ren時所發生的動作。圖2A-1是流程圖的形式而 11 _7855· 17728pii 圖2Α-2則是邏輯方塊圖。兩圖以不同的方式展示了同樣 的事情。 ' 口7 圖2B-1和2B-2展示了當RFSS更新訊號被啟動和主 控制為121枚到寫入訊號Wen時所發生的動作。圖2b也 展不了 ‘ RFSS更新亂號被禁能和主控制器121收到寫入 訊號Wen時所發生的動作。圖2B-1是流程圖的形式而圖 2B-2則是邏輯方塊圖。兩圖以不同的方式展示了同樣的事 情。 圖2C展示了當CRFS更新訊號被啟動和主控制器κι 收到讀取訊號Ren時所發生的動作。圖2c也展示了當 CRFS更新訊號被禁能和主控制器121收到讀取訊號Ren 時所發生的動作。 圖2D展示了當主控制器12ι收到寫入訊號Wen而 C RF S快取記憶體更新訊號被啟動或被禁能時所發生的動 作。 以下將詳細描述展示在圖2A至2F的操作。 遥-2A-1和2A-2 :這兩個圖都解釋了當接收到Ren訊號(讀 取訊號)時所發生的操作。更確切地說,這兩個圖展示了同 樣的事情;由於操作的複雜性,為確保清晰明瞭,資訊被 表達成兩種不同的方式。兩個圖描述了所發生的動作。完 成這兩個圖中操作的實際電路展示在圖3至中。 接收到Ren訊號後所發生的特定操作取決於幾個因 素··(l)RFSS訊號的狀態,(2)請求的資料是否在快取記憶 121267855', 17728pif.doc IX. Description of the invention: [Technical field to which the invention pertains] (4) ^ Ming is related to the memory system, especially the control circuit for the memory system. [Prior Art] Random access memory (dram) is a commonly used memory, = two, an important feature of RAM is that the data stored in DRAM ',,, week = 11 update, otherwise the data will I lost. External access requests are usually random. Therefore, external storage and update access requests may be generated at the same time. Access to the DRAM is delayed when some memory systems occur. Towards some gas: ^ variable potential ij prime' thus increases the complexity of (10) must also increase the frequency. Other memory systems are designed with cycle times, and binary access and updates can occur within the allowed cycle time. Such updates will not be disturbed by external access requests. Access S fetch = the time required to store in the memory (SRAMM ^ week will take a high-speed, static random access memory to take time to capture the memory and reduce the average memory of the i- Owe: The data of the worker is stored in the high-speed cache memory, because...&_ makes the amount of the information #j, = the percentage of the data, thus avoiding the completion of the access request = "zhongzhong body Must be accessed. The actual memory of the memory system, to remember the memory usage. $ depends on the fast 1268785-, 17728pif.doc The present invention focuses on a method and system for accessing DRAM memory, where the update cycle There is generally no delay in memory. [Invention] The present invention provides a memory and memory control system in which, in addition to the cases specifically noted below, the primary memory will be prioritized, fetched or written to Higher than the update operation. On the other hand, the cache = body will be better, the right to update operation, so that it is higher than the read or g human operation. The exception is when the memory read signal is received while fast Take the update of the memory Enable, and cache the data in the memory is valid. In this exception, the update of the cache memory is delayed. In the update operation: if the read request is correct - the discount 1 ^ in the cache In the memory, the data in the cache memory is invalid. In the read operation, the poor material in the memory block is also in the cache. After the read operation is completed, the special memory block is updated. In this case, 'there is no operation written back from the cache. This reduces the number of writeback operations, thus eliminating the delay caused by the update." [Embodiment] The following will describe and discuss this Preferred Embodiments of the Invention, and with reference to FIG. 3, although the present invention has been described as a preferred embodiment, it is not intended to limit the invention to any of the skilled artisans, and The following examples (4) illustrate preferred embodiments and illustrated embodiments of the present invention. In these figures, the size of the box does not represent the size of the natural reading. The reference numbers are shown in all figures 丨1267855- 17 728pif.doc-like components. Only those parts related to the explanation of the present invention are illustrated and described herein. It should be understood that in addition to the descriptions in the drawings and the description herein, some of the elements have some other conventional parts. Many of the conventional knives of the present embodiment, as well as many of the conventional operations performed by the present embodiments, are not illustrated and described herein, and such portions are known to those skilled in the art. Therefore, the following description is comprehensive and clear. The succinct terminology is used by those skilled in the art to teach how to make and use the method of the invention. In the following description, the symbol "~" is used to mean "to". For example, the signals RFSE1 to RFSEn represent the signals RFSE1 to RFSEn. The target record, block" is used here to refer to read and write operations. The block of the write operation is the memory block to which the data is written. The destination block of the read operation is a memory block from which the data material is read. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a diagram showing a general block diagram of four DRAM memory blocks of the first preferred embodiment of the present invention, M1, M2, M3 and Μη as shown in Fig. 1. The diagram should be understood as a memory that may have as many as many such memory blocks as traditional. The other early elementary update state detectors 1 1 〇, controller list 120, 120 (as indicated by the dashed box), the address buffer 13 〇 and the input/output drive 140 are shown in FIG. The controller unit ΐ2〇 (shown in detail in FIGS. 3, 4, 5 and 6) includes a main controller 121, an update controller 122, a cache memory 123 (details are shown in FIG. 7), and a multiplexer 124. , 125. The memory blocks M1, M2, M3 and Μη are given in detail in FIG. Figure 3 is a block diagram of the main control person 121. Figure 7 is a block 1267855 17728pif.doc of cache memory 123. The blocks M1 and Mn are updated in response to the update start signal rfss and the update address minus the RFA. The memory block rotates and updates the status signal. The RFSJEn/k block responds to the memory read control signals MRi~MRn and does the I. The memory block performs a write operation in response to the memory write control signals Mwl to MWn and the response memory rewrite control signals CWB1 to CWBn. • (4) The state detector (4) is a logic circuit that updates the information signal RFSE in response to any of the update status signals RFSE1 to RFSEn. When all update status messages are initiated, the update status detector 11 also initiates an update of the information signal RFSE. The main control 121 receives a number of inputs, including the read signal Ren or the write signal Wen. The main controller 121 generates a memory control signal including a rewrite address CWBRC, a memory read control signal MR1~MRn, a memory write control signal MW1~]VTWn, a memory rewrite control signal #CWB1~CWBn, and a fast The memory read control signal cr, the cache memory write control signal CW, the cache memory rewrite control signal CWB, the cache memory write hit signal (CWH), the cache memory hit signal CH, read control signal REN and write control signal WEN. The update controller 22 periodically generates the update control signal CRFS and the update address signal RFA in response to the clock signal CLK. The precise timing of these signals depends on the physical properties of the memory, which is a matter of traditional engineering. 1267855· ‘ 17728pif.doc The cacheback 123 (shown in detail in Figure 7) is updated in response to the update control signal CRFS and the update address signal RFA, and generates an update start signal RFSS. The cache memory 123 outputs the cache memory read data CD AT when the cache memory read control signal CR is activated. The cache memory 123 writes the round entry ID AT or the memory read data MD AT (read from the memory block) when the cache memory write control signal cw is activated. The multiplexer 124 outputs the input φ data IDAT when the write control signal WEN is activated, and outputs the memory read data MDAT when the write control signal WEN is disabled. The multiplexer 125 outputs the cache memory read data CD AT when the cache memory hit signal CH is activated, and outputs the memory read data MD Ατ when the cache memory hit signal is disabled. The address buffer 130 receives an external address signal £:^-ADD and a clock signal CLK. The address buffer 丨3〇 outputs the memory address (bank 汛唬BA to the main controller 121 and a row/column address signal ^^^ go to the controller 120. This row/column address signal scale ( :ADD will also •memory U3 and memory block (M1~Mn).—Day output to ^ The flowcharts in Figures 2A-1 to 2F-1 and 2A-2 to 2F-2 explain the system in different situations. The completed operation. Figures 2A-1 through 2F-2 illustrate some of the important actions that occur in the system and the conditions under which they occur. Figures 2A-1 and 2A-2 show both when the RFSS update signal is initiated and the main control The action that occurs when the device 121 receives the read signal Ren. Figure 2A also shows the action that occurs when the RFSS update signal is disabled and the main controller m receives the read signal Ren. Figure 2A-1 is a flow chart The form of 11 _7855· 17728pii Figure 2 Α 2 is a logical block diagram. The two figures show the same thing in different ways. 'Port 7 Figure 2B-1 and 2B-2 show when the RFSS update signal is activated and the main Controls the action that occurs when 121 is written to the signal Wen. Figure 2b also does not show 'RFSS update chaos is disabled and the main controller 121 receives the write The action that occurs when the signal is Wen. Figure 2B-1 is the form of the flowchart and Figure 2B-2 is the logical block diagram. The two diagrams show the same thing in different ways. Figure 2C shows when the CRFS update signal is activated And the action that occurs when the main controller κι receives the read signal Ren. Figure 2c also shows the action that occurs when the CRFS update signal is disabled and the main controller 121 receives the read signal Ren. Figure 2D shows The action that occurs when the main controller 121 receives the write signal Wen and the C RF S cache memory update signal is activated or disabled. The operation shown in Figures 2A through 2F will be described in detail below. 1 and 2A-2: Both figures explain what happens when a Ren signal (read signal) is received. More precisely, the two figures show the same thing; due to the complexity of the operation, To ensure clarity, the information is expressed in two different ways. The two figures describe the actions that took place. The actual circuit that completes the operations in these two figures is shown in Figure 3 to Figure. What happens after receiving the Ren signal The specific operation depends on several factors. (1) RFSS State number, (2) whether the requested data in the cache memory 12

I26H 體内以及(3)快取記憶體中的資料是否是有效資料。 调从·1中,方塊撕指示接收到Ren訊號。這個當 接收到Ren訊號才發生的特定操作取決於RJP%更新訊號 是否如方塊902所指示的被啟動或被禁能。圖2A-2中, 和(AND)方塊961和962指示這點。 當接收到Ren訊號以及RFSS更新被啟動時,該操作 的發生也取決於快取記憶體123中被請求的記憶塊的資料 φ 是否是有效資料。這點在圖2A_1中被方塊907指示。在 圖2A-2中被和方塊963、964、966和967指示。 如果快取記憶體123中被請求的記憶塊的資料是有效 的’主控制器121控制快取記憶體123的讀取操作且記憶 塊被更新。這點在圖2A-1中被方塊905指示,而在圖2A-2 中被方塊967的輸出指示。 如果快取記憶體123中被請求的記憶塊的資料是無效 的資料’採取的動作取決於快取記憶體中一些其他如方塊 906所指示的記憶塊的資料是否是有效資料。如果快取記 _ 憶體中其他記憶塊的資料有效,圖2A-1中被方塊908、911 和913指示的操作發生。以下是列於圖2A-2中966方塊 右邊的一些操作: L主控制器121保持⑻對與快取記憶體123相配的 冗憶塊的更新和(b)被請求的記憶塊。主控制器121 貝施控制其他記憶塊的更新。 2·快取記憶體123中的資料被寫回到記憶塊,與快取 記憶體中的資料相配。 13 1267855, 17728pif.doc 3·讀取操作從被請求的記憶塊完成。 4·被請求的資料被寫入到快取記憶體。 5.在以上操作之後,相配的記憶塊和被請求的記憶塊 被更新。 如果906方塊的測試指示快取記憶體123中的資料是 無效的,圖2Α-1中被方塊909、912和924指示的操作發 生。以下是列於圖2Α-2中方塊968輸出端的一些操作: $ 1·主控制器121保持被請求的記憶塊的更新和控制 其他記憶塊的更新。 2·讀取操作從被請求的記憶塊完成且同時被請求的 記憶塊被寫入快取記憶體123。 τ' 二 3·在以上操作之後,被請求的記憶塊被更新。 如果902方塊的測試指示更新沒被啟動,圖2Α-1中 被方塊904、907和910指示(圖2Α-2中被方塊960、962 和969指示)的操作完成。如方塊904所指示,不同動作的 採用取決於快取記憶體中被請求的記憶塊的資料是否有 • 效。如果快取記憶體中被請求的記憶塊的資料是有效的, 主控制為121控制快取記憶體123的讀取操作。如果快取 記憶體中被請求的記憶塊的資料是無效的,主控制器121 控制被请求的記憶塊的讀取操作。 以上所解釋的操作的最終結果是DRAM記憶體有效 地在記憶體讀取操作過程中避開了其他一些操作。此外, 如,快取記憶體中的資料是無效的,讀取操作在被請求的 記憶塊中完成,而且同時被請求的記憶塊被寫入到快取記 14 1267855;, 17728pif.doc 憶體。在這種情況下沒有寫回操作。 遍j_B-l 這兩個圖都解釋了當接收到Wen訊號(寫 入訊號)時所發生的操作。更確切地說,這兩_展示^同 樣的事情;由於操作的複雜性,為確保清晰明瞭,資訊被 表達成兩種不同的方式。兩個圖描述了所發生的動作。完 成這兩個圖中操作的實際電路展示在圖3至1〇中。 接收到Wen汛號(寫入訊號)後所發生的特定操作取決 於··⑴RFSS訊號的狀態,(2)快取記憶體中的資料是否與 寫入訊號的目標塊相符合。如方塊921所指示,當接收到 寫入訊號後,該過程便開始。 如圖2B_1所示,這個操作取決於更新訊號RFSS是否 如方塊923所指示的被啟動或被禁能。圖2B-2中,和電路 971和972指示這點。 當RFSS更新訊號被啟動時,方塊922、925、928、 931和932指示的操作發生。不同操作的發生取決於是否 # 寫入請求是對一個記憶塊,來自其中的資料是在快取記憶 體123中。這點由方塊922指示。圖2B-2中的方塊973、 974和975說明了同樣的決策過程。 如果寫入操作是對一個記憶塊,來自其中的資料在快 取記憶體123中,如方塊925所指示,主控制器121控制 對快取記憶體123的寫入操作,且主記憶體中相應的塊被 更新。寫入操作之後,快取記憶體中的有效資料位元被設 置。 15 1267855: 17728pif.docWhether the data in the I26H body and (3) the cache memory is valid data. From the 1st, the square tearing indication receives the Ren signal. This particular operation that occurs when the Ren signal is received depends on whether the RJP% update signal is activated or disabled as indicated by block 902. In Figures 2A-2, the AND blocks 961 and 962 indicate this. When the Ren signal is received and the RFSS update is initiated, the operation also depends on whether the data φ of the requested memory block in the cache memory 123 is valid. This is indicated by block 907 in Figure 2A_1. This is indicated in Figures 2A-2 and blocks 963, 964, 966 and 967. If the data of the requested memory block in the cache memory 123 is valid, the main controller 121 controls the read operation of the cache memory 123 and the memory block is updated. This is indicated by block 905 in Figure 2A-1 and by the output of block 967 in Figure 2A-2. If the data of the requested memory block in the cache memory 123 is invalid data, the action taken depends on whether some of the other memory data in the memory memory indicated by block 906 is valid data. If the data of other memory blocks in the cache memory is valid, the operations indicated by blocks 908, 911, and 913 in Figure 2A-1 occur. The following are some of the operations listed to the right of the 966 block in Figure 2A-2: L The main controller 121 holds (8) updates to the redundant blocks associated with the cache memory 123 and (b) the requested memory blocks. The main controller 121 controls the update of other memory blocks. 2. The data in the cache memory 123 is written back to the memory block to match the data in the cache memory. 13 1267855, 17728pif.doc 3. The read operation is completed from the requested memory block. 4. The requested data is written to the cache memory. 5. After the above operation, the matching memory block and the requested memory block are updated. If the test of the 906 block indicates that the data in the cache memory 123 is invalid, the operations indicated by blocks 909, 912, and 924 in Fig. 2Α-1 occur. The following are some of the operations listed at the output of block 968 in Figure 2Α-2: $1· The main controller 121 keeps the update and control of the requested memory block and updates other memory blocks. 2. The read operation is completed from the requested memory block and the requested memory block is written to the cache memory 123. τ' 2 3. After the above operation, the requested memory block is updated. If the test of block 902 indicates that the update was not initiated, the operations in Figure 2Α-1 indicated by blocks 904, 907, and 910 (indicated by blocks 960, 962, and 969 in Figure 2Α-2) are completed. As indicated by block 904, the use of different actions depends on whether the data of the requested memory block in the cache memory is valid. If the data of the requested memory block in the cache memory is valid, the main control 121 controls the read operation of the cache memory 123. If the data of the requested memory block in the cache memory is invalid, the main controller 121 controls the read operation of the requested memory block. The end result of the operations explained above is that the DRAM memory effectively circumvents other operations during the memory read operation. In addition, for example, the data in the cache memory is invalid, the read operation is completed in the requested memory block, and the requested memory block is simultaneously written to the cache 14 1467855;, 17728pif.doc . In this case there is no write back operation. Both j_B-l diagrams explain what happens when a Wen signal (write signal) is received. Rather, the two _ show ^ the same thing; due to the complexity of the operation, to ensure clarity, the information is expressed in two different ways. The two figures describe the actions that have taken place. The actual circuit for performing the operations in these two figures is shown in Figures 3 through 1〇. The specific operation that occurs after receiving the Wen apostrophe (write signal) depends on (1) the status of the RFSS signal, and (2) whether the data in the cache memory matches the target block of the write signal. As indicated by block 921, the process begins when a write signal is received. As shown in Figure 2B_1, this operation depends on whether the update signal RFSS is enabled or disabled as indicated by block 923. In Figure 2B-2, sum circuits 971 and 972 indicate this. When the RFSS update signal is initiated, the operations indicated by blocks 922, 925, 928, 931, and 932 occur. The occurrence of different operations depends on whether the #write request is for a memory block and the data from it is in the cache memory 123. This is indicated by block 922. Blocks 973, 974, and 975 in Figure 2B-2 illustrate the same decision process. If the write operation is for a memory block, the data from it is in the cache memory 123, as indicated by block 925, the main controller 121 controls the write operation to the cache memory 123, and correspondingly in the main memory The block is updated. After the write operation, the valid data bits in the cache memory are set. 15 1267855: 17728pif.doc

如果快取記憶體中的資料不是寫入操作指定的記 中的資料’方塊928、93i和932指示的操作發生。如 娜所指示,主控制器m剝寺被請求記憶塊的更新操作 並控制對被#求記憶塊的寫人操作。更新操作在其他記恨 塊中完成(除了被請求的記憶塊)。寫人操作之後,如^ 931所指示,被請求的記憶塊被更新。 AIf the data in the cache memory is not the data recorded in the write operation, the operations indicated by blocks 928, 93i, and 932 occur. As indicated by Na, the main controller m strips the temple to be requested to update the memory block and controls the write operation of the memory block. The update operation is done in other hate blocks (except for the requested memory block). After the write operation, as indicated by ^931, the requested memory block is updated. A

如果快取g己憶體123中的資料是其他記憶塊的有效資 料,快取記憶體123中的資料被寫回到相配的記憶塊且快 取記憶體123中的資料被標記為無效。因為此資料被標記 為無效,它能接受其他資料。這點如方塊932所指示。 如果當寫入訊號被接收到時更新被禁能,方塊If the data in the cache memory 123 is valid for other memory blocks, the data in the cache memory 123 is written back to the matching memory block and the data in the cache memory 123 is marked as invalid. Because this material is marked as invalid, it can accept other information. This is indicated by block 932. If the update is disabled when the write signal is received, the block

927、929和930指示的操作發生。如方塊924所指示,如 果快取記憶體中的資料是寫入操作指定的記憶塊中的資 料,操作927和929發生。 如果快取記憶體中的資料是寫入操作指定的記憶塊中 的資料,主控制器121控制被請求的記憶塊的寫入操作。 快取體123中的有效位元被關閉,因此記憶體控制器 顯示出快取記憶體123中的資料是無效的。這點如方塊929 所指示。在圖2Β-2中如方塊978所指示。 如果快取記憶體中的資料不是寫入操作指定的記憶塊 中的資料,主控制器121控制被請求的記憶塊的寫入操 作,如圖2Β_1中的方塊930和圖2Β-2中的方塊979所指 示0 因此如以上所指出,更新操作沒有干擾寫入操作。就 16 1267855' 17728pifcioc 是說,寫入操作沒有被更新操作拖延。 8 2'—Μ 2C涉及那些當接收到Ren訊號時,取決於CRFS 更新訊號是否被啟動或被禁能的操作。 方塊943將操作分成當CRFS被啟動時發生和當CRFS 被禁能時發生的操作。如果CRFS被啟動,操作進一步取 決於快,記憶體中的資料是不是讀取請求指定的記憶塊中 • 的有效資料,如方塊942所指示。 如果快取記憶體中的資料是讀取請求指定的記情塊中 =有效資料,方塊945指示的操作發生。就是說,主控制 器121保持(或者說延遲)對快取記憶體123的更新和栌制 快取記憶體123的讀取操作。讀取操作完成後,快取^隐' 體123被更新,且快取記憶體123中的資料被寫回到^ 的記憶塊。 如果快取記憶體中的資料不是讀取請求指定的記憶塊 中的有效資料,方塊949指示的操作發生。就是說,^控 Φ 制器121控制被請求的記憶塊的讀取操作。 如果⑽被禁能二方塊⑽、947和948指示的操作 叙生。然而,為了避免有,在這種特殊情況下,必須注 意的是,可能有兩種有效資料類型在快取記憶體中,^料 可能是“讀取有效,,或“寫入有效,,。快取記憶體中的資二可 能是讀取請求指定的記憶塊中的讀取有效資料。然/ 慮到在主記Μ巾的實P綠憶塊,因為主記憶塊 可能與快取記憶體中的資料不同,快取記憶體中的資料可 17The operations indicated by 927, 929, and 930 occur. As indicated by block 924, operations 927 and 929 occur if the data in the cache memory is the data in the memory block specified by the write operation. If the material in the cache memory is the data in the memory block designated by the write operation, the main controller 121 controls the write operation of the requested memory block. The valid bit in the cache body 123 is turned off, so the memory controller shows that the data in the cache memory 123 is invalid. This is indicated by block 929. This is indicated in Figure 2Β-2 as indicated by block 978. If the data in the cache memory is not the data in the memory block specified by the write operation, the main controller 121 controls the write operation of the requested memory block, as shown in block 930 in FIG. 2Β_1 and the block in FIG. 2Β-2. 979 indicates 0. Therefore, as indicated above, the update operation does not interfere with the write operation. As for 16 1267855' 17728pifcioc, the write operation was not delayed by the update operation. 8 2'—Μ 2C refers to operations that depend on whether the CRFS update signal is activated or disabled when the Ren signal is received. Block 943 divides the operation into operations that occur when CRFS is initiated and when CRFS is disabled. If CRFS is enabled, the operation is further dependent on whether the data in the memory is valid data in the memory block specified by the read request, as indicated by block 942. If the data in the cache memory is the valid data in the ticker block specified by the read request, the operation indicated by block 945 occurs. That is, the main controller 121 holds (or delays) the update of the cache memory 123 and the read operation of the cache memory 123. After the read operation is completed, the cache entity 123 is updated, and the data in the cache memory 123 is written back to the memory block of ^. If the data in the cache memory is not a valid material in the memory block specified by the read request, the operation indicated by block 949 occurs. That is, the control Φ controller 121 controls the read operation of the requested memory block. If (10) is disabled, the operations indicated by the two squares (10), 947, and 948 are described. However, in order to avoid this, in this special case, it must be noted that there may be two types of valid data in the cache memory, which may be "read valid," or "write valid." The resource in the cache memory may be the read valid data in the memory block specified by the read request. However, considering the real P green memory block in the main memory, because the main memory block may be different from the data in the cache memory, the data in the cache memory can be 17

能不是寫入有效。 一 要注意的是,在一些實例中,當談到快取記憶體中的 貝料,會使用術語“有效資料,,。在另一些實例中,會使用 ,5吾有效寫入資料,,和“有效讀取資料’’。在那些使用術語 有对:資料”的實例中沒有說明“有效寫入資料,,或“有效讀 取資料’則沒有必要去區別讀取資料和寫入資料。 在圖2C說明的情形中,方塊944、947和948所示操 % 作的發生取決於快取記憶體中的資料是不是讀取請求指定 的圯恤塊中的寫入有效資料。這個決定被方塊944指示。 如果快取記憶體中的資料是讀取請求指定的記憶塊中 的寫入有效資料,如方塊947指示的操作發生。就是說', 主控制态121控制快取記憶體123的讀取操作。 如果快取心隐體中的資料不是讀取請求指定的記憶塊 中的寫入有效資料,如方塊948指示的操作發生。就是說, 主控制為121控制被請求的記憶塊的讀取操作。 f =上說明,圖2B和2D都展示了當系統接收到 寫入Λ唬Wen日守所發生的操作。圖2D展示的操作 CRFS更新訊號被啟動或被禁能時發生的操作。 ^方塊952所指示,發生的操作取決於快取記憶體⑵ 中的育料S不是寫人請求指定的記憶塊中的資料。’ 如果快取記憶體123中的資料是寫入請求指定的Μ 心隐塊中的貧料,方塊955所說明的操作發生。就 〜 主控制器121控制對寫入請求指定的記憶塊的寫入操^ 18 1267855· 17728pif.doc 快取§己憶體123中的“有效位元”因為快取記憶體中的資料 不再有效而被關閉。寫入操作完成後,快取記憶體123被 更新。 如果快取記憶體123中的資料不是寫入請求指定的相 同記憶塊中的資料,方塊959所說明的操作發生。就是說, 主控制器121控制被請求的記憶塊的寫入操作。 _ 現在將描述系統的大致操作。描述中將參考 圖1所示的單元和訊號。 更新控制訊號CRFS和更新位址訊號RFA是週期性的 吼號。在此描述的特殊的較佳實施例中,有2〇條字線,預 決定更新時間是1〇〇微秒。就是說,第一條字線為5微秒、 第二條字線為5微秒、第三條字線為5微秒、等等,總共 是100微秒。 更新的順序如下:為回應更新控制訊號CRFS和更新 位址訊號RFA,快取記憶體123更新連接在字線wi的記 • 憶體單元並啟動更新開始訊號RFSS。 為回應更新開始訊號RFSS和更新位址訊號^^人,記 憶塊Ml〜Μη同時更新連接在字線W1的記億體單元。為 回應更新控制訊號CRFS和更新位址訊號RFA,快取記憶 體更新連接在字線W2的記憶體單元,並啟動更新開始訊 號RFSS。為回應更新開始訊號RFSS和更新位址訊號 RFA ’記憶塊M1〜Mn同時更新連接在字線W2的記憶體 單元,等等。 19 1267855 I7728pif.doc fegu己憶體中的資料有故時的更新:當RFSS被啟動時如 下動作發生:快取記憶體中的資料有效,主控制器121接 收到讀取訊號Ren或寫入訊號Wen。主控制器121確定記 憶庫位址訊號BA與先前的記憶庫位址訊號BA_P相同且 快取記憶體123中的資料有效。 如果記憶庫位址訊號BA與先前的記憶庫位址訊號 φ ΒΑ_Ρ相同且快取記憶體123中的資料有效,快取記憶體 資訊控制器200啟動快取記憶體位址擊中訊號CAH、快取 記憶體讀取或寫入擊中訊號CRH或C WH以及快取記憶體 擊中訊號CH。快取記憶體控制器400啟動快取記憶體讀/ 取或寫入控制訊號CR或CW、1和2選通(strobe)訊號 CASB、RASB、預充電控制訊號PRCB和一個讀取或寫入 控制訊號REN或WEN。 結果,快取記憶體做讀取或寫入操作且記憶塊能更新。 ® &^記憶體中的資料無效時的更新:如果記憶庫位址訊號 BA與先前的記憶庫位址訊號ba_P不同,快取記憶體資 訊控制器200禁能快取記憶體位址擊中訊號CAH、快取記 憶體讀取或寫入擊中訊號CRH或CWH以及快取記憶體擊 中訊號CH。 快取記憶體控制器400啟動快取記憶體讀取控制訊號 CR、快取記憶體重寫控制訊號CWB、1或2選通訊號 CASB、RASB、感應放大控制訊號SENB、預充電控制訊 20 1267855· 17728pif;doc 號PRCB和讀取控制訊號REN以及輸出重寫位址訊號 . CWBRC。為回應重寫位址訊號CWBRC,記憶塊控制器 300啟動記憶體重寫控制訊號CWB1〜CWBn中的一個。 為回應記憶庫位址訊號BA,記憶塊控制器300啟動 記憶體讀取控制訊號MR1〜MRn中的一個或記憶體寫入 控制訊*5虎MW 1 ^ 中的^一個。 φ 盡例A ·· 下面是一個當快取記憶體中的資料等於記憶塊 M2中的資料,且讀取訊號Ren的目標等於記憶塊Μι時 發生的操作之實施例。 記憶塊控制器300啟動記憶體重寫控制訊號 記憶體讀取控制訊號MR1。快取記憶體123為回應快取記 憶體讀取控制訊號CR而做讀取操作。為回應記憶體臺寫 控制δίΐ5虎CWB2,€憶塊M2保持更新並寫入快取記憶體 讀取資料CDAT。 1 為回應記憶體讀取控制訊號MR1,記憶塊Ml保持更 _ 新並做讀取操作,記憶體讀取資料MDAT通過輸入/輪出 驅動為140被輸出。其他記憶塊m3〜Μη在回應更新開始 訊號RFSS時更新。 σ 當記憶塊M2完成重寫或快取記憶體123做下一個讀 取操作時,記憶塊控制器300禁能記憶體重寫控制訊號 CWB2並控制記憶塊M2的更新。在快取記憶體123的重 寫過程之後,快取記憶體控制器400啟動快取記憶體寫入 控制訊號CW,且快取記憶體123寫入記憶體讀取資料 21 7728pif.doc :爾翻; MDAT 〇 當§己憶塊M3〜Μη中的一個記憶塊和快取記憶體123 在下一個項取訊號Ren做讀取操作時,記憶塊控制器3〇〇 禁能記憶體讀取控制訊號MR1並控制記憶塊Ml的更新。 盡下面是一個當快取記憶體中的資料等於記憶塊 M2中的資料,且寫入訊號Wen的目標等於記憶塊M1時 ^ 發生的操作之實施例。 記憶塊M2保持更新操作直到記憶塊m2完成重寫或 快取記憶體123為回應下一個寫入訊號而寫入輸入資料 IDAT。其他記憶塊M3〜Μη被更新。為回應記憶體寫_ 控制訊號WR1,記憶塊Ml保持更新操作並做讀取操作。 當記憶塊M3〜Μη中的一個塊和快取記憶體123攀寫 入操作時,到下一個寫入訊號Wen時或當輸入資料];DAT 被寫入快取記憶體時,記憶塊控制器300禁能記憶體寫入 控制訊號WR1並控制記憶塊Ml的更新。在快取記憶體 _ 123的重寫之後,快取記憶體控制器400啟動快取記憶體 寫入控制訊號CW且快取記憶體123寫入輸入資料]:DAT。 RFSS被禁能時的揚作:如要RFSS訊號被禁能,記憶塊 Ml〜Μη不會被更新。如果rFSS訊號被禁能且主控制器 121接收到躓取訊號Ren或寫入訊號Wen,記憶塊控制器 300將控制記憶塊Ml〜Μη的讀取或寫入。 22 1267855, n728pif.doc CR£gj皮啟動時^趙逢並丄如果CRFS訊號被啟動,快取記 憶體123被更新。如果CRFS訊號被啟動時讀取訊號尺如 被接收到,且在快取記憶體中的資料有效,如下操作發生: 快取§己憶體資訊控制器2〇〇啟動快取記憶體寫入擊中 訊號CWH。快取記憶體控制器4〇〇啟動讀取控制訊號 REN快取δ己彳思體讀取控制訊號cr和快取記憶體重寫控 制亂號CWB以及輸出重寫位址訊號cWBRc。 為回應更新控制訊號CRFS、快取記憶體寫入擊中訊 號C=H和讀取控制訊號REN,快取記憶體123保持更新 而做讀取操作以回應快取記憶體讀取控制訊號CR。快取 記憶體123中的讀取資料CDAT通過輸人/輸出驅動器細 被輸出並同時寫回到記憶塊。 快取圮憶體123完成讀取操作之後,快取記憶體資訊 控制态200禁能快取記憶體寫入擊中訊號CWH且快取記 憶體控制器400禁能讀取控制訊號REN、快取記憶體讀取 控制訊號CR和快取記憶體重寫控制訊號CWB。結果, 取記憶體123被更新。 、 除了-個特例,主要記憶體將優㈣給讀取或寫入 作’使之面於更新操作。另—方面’快取記憶體則將 ,權給更新操作,使之高於讀取或寫人操作。例外的案例 是,當έ己憶體讀取訊號被接收到,而同時快取記憶體的 新被啟動’且快取記憶體内的資料有效。在這例外情況下, 快取記憶體的更新被延遲。 23 1267855Can not be written effectively. One thing to note is that in some instances, when it comes to cache material in the cache, the term "valid data is used. In other instances, it will be used, 5 I will write the data effectively, and "Effective reading of data". In the case of using the term "pair: material", there is no description of "effectively writing data, or "effective reading of data", there is no need to distinguish between reading data and writing data. In the case illustrated in Figure 2C, the square The occurrence of the operation shown in 944, 947, and 948 depends on whether the data in the cache memory is a valid data written in the shirt specified by the read request. This decision is indicated by block 944. If the memory is cached The data in the memory is the write valid data in the memory block specified by the read request, as indicated by the operation indicated by block 947. That is, the main control state 121 controls the read operation of the cache memory 123. If the cache is hidden The data in the volume is not the write valid data in the memory block specified by the read request, as indicated by the operation indicated by block 948. That is, the main control is 121 to control the read operation of the requested memory block. Figures 2B and 2D both illustrate the operation that occurs when the system receives a write Λ唬Wen 守守. Figure 2D shows the operation that occurs when the operation CRFS update signal is activated or disabled. ^ Block 952 indicates that occurred The operation depends on the material in the memory of the cache (2) is not the data in the memory block specified by the writer. 'If the data in the cache memory 123 is the poor material in the blank block specified by the write request, The operation described in block 955 occurs. ~ The main controller 121 controls the write operation of the memory block specified for the write request. 18 1267855 · 17728pif.doc caches the "valid bit" in the memory block 123 because it is fast The data in the memory is no longer valid and is closed. After the writing operation is completed, the cache memory 123 is updated. If the data in the cache memory 123 is not the data in the same memory block specified by the write request, the block The operation described in 959 occurs. That is, the main controller 121 controls the write operation of the requested memory block. _ The general operation of the system will now be described. The description will refer to the unit and signal shown in Fig. 1. Update control signal The CRFS and the update address signal RFA are periodic apostrophes. In the particular preferred embodiment described herein, there are 2 字 word lines, and the pre-determined update time is 1 〇〇 microsecond. That is, the first The word line is 5 microseconds. The second word line is 5 microseconds, the third word line is 5 microseconds, etc., for a total of 100 microseconds. The update sequence is as follows: in response to update control signal CRFS and update address signal RFA, cache memory The body 123 updates the memory unit connected to the word line wi and starts the update start signal RFSS. In response to the update start signal RFSS and the update address signal ^^, the memory blocks M1 to Μη simultaneously update the record connected to the word line W1. In response to the update control signal CRFS and the update address signal RFA, the cache memory is updated in the memory unit of the word line W2, and the update start signal RFSS is activated. In response to the update start signal RFSS and the update address signal The RFA 'memory blocks M1 to Mn simultaneously update the memory cells connected to the word line W2, and so on. 19 1267855 I7728pif.doc The information in the fegu memory is updated when there is an accident: when the RFSS is started, the following action occurs: the data in the cache memory is valid, and the main controller 121 receives the read signal Ren or the write signal. Wen. The main controller 121 determines that the memory bank address signal BA is the same as the previous memory address signal BA_P and that the data in the cache memory 123 is valid. If the memory address signal BA is the same as the previous memory address signal φ ΒΑ Ρ 且 and the data in the cache memory 123 is valid, the cache memory information controller 200 activates the cache memory address hit signal CAH, cache. The memory reads or writes the hit signal CRH or C WH and the cache memory hits the signal CH. The cache memory controller 400 initiates a cache read/fetch or write control signal CR or CW, 1 and 2 strobe signals CASB, RASB, precharge control signal PRCB, and a read or write control. Signal REN or WEN. As a result, the cache memory is read or written and the memory block can be updated. Update when the data in the ® & memory is invalid: if the memory address signal BA is different from the previous memory address signal ba_P, the cache memory information controller 200 disables the cache memory address hit signal The CAH, cache memory reads or writes the hit signal CRH or CWH and the cache memory hits the signal CH. The cache memory controller 400 starts the cache memory read control signal CR, the cache memory rewrite control signal CWB, 1 or 2 selects the communication number CASB, RASB, the sense amplification control signal SENB, and the precharge control signal 20 1267855· 17728pif; doc number PRCB and read control signal REN and output rewrite address signal. CWBRC. In response to rewriting the address signal CWBRC, the memory block controller 300 activates one of the memory rewrite control signals CWB1 to CWBn. In response to the memory address signal BA, the memory block controller 300 activates one of the memory read control signals MR1 MRMRn or one of the memory write control signals *5 MW 1 ^ . φ By example A ·· The following is an example of an operation that occurs when the data in the cache memory is equal to the data in the memory block M2 and the target of the read signal Ren is equal to the memory block Μι. The memory block controller 300 activates the memory rewrite control signal memory read control signal MR1. The cache memory 123 performs a read operation in response to the cache memory read control signal CR. In response to the memory station write control δίΐ5 tiger CWB2, the memory block M2 keeps updating and writes to the cache memory to read the data CDAT. 1 In response to the memory read control signal MR1, the memory block M1 remains more new and performs a read operation, and the memory read data MDAT is output through the input/round drive to 140. The other memory blocks m3~Μη are updated in response to the update start signal RFSS. σ When the memory block M2 finishes rewriting or the cache memory 123 performs the next read operation, the memory block controller 300 disables the memory overwrite control signal CWB2 and controls the update of the memory block M2. After the rewriting process of the cache memory 123, the cache memory controller 400 starts the cache memory write control signal CW, and the cache memory 123 writes the memory read data 21 7728pif.doc MDAT § § 忆 忆 一个 M M M M M M M M M M M M M M M M M M M M M M 一个 一个 一个 一个 一个 一个 一个 一个 § § § § § § § § § § § § § § § § § § § And control the update of the memory block M1. The following is an example of an operation that occurs when the data in the cache memory is equal to the data in the memory block M2 and the target of the write signal Wen is equal to the memory block M1. The memory block M2 holds the update operation until the memory block m2 finishes rewriting or the cache memory 123 writes the input data IDAT in response to the next write signal. The other memory blocks M3 to Μη are updated. In response to the memory write _ control signal WR1, the memory block M1 maintains the update operation and performs the read operation. When one of the memory blocks M3 to Μn and the cache memory 123 are in the write operation, when the next write signal Wen or when the input data]; DAT is written to the cache memory, the memory block controller The 300 disable memory writes the control signal WR1 and controls the update of the memory block M1. After the rewriting of the cache memory _ 123, the cache memory controller 400 starts the cache memory write control signal CW and the cache memory 123 writes the input data]: DAT. When the RFSS is disabled, the memory block Ml~Μn will not be updated if the RFSS signal is disabled. If the rFSS signal is disabled and the main controller 121 receives the capture signal Ren or the write signal Wen, the memory block controller 300 will control the reading or writing of the memory blocks M1 to Μn. 22 1267855, n728pif.doc CR£gj skin start time ^ Zhao Feng and 丄 If the CRFS signal is activated, the cache memory 123 is updated. If the read signal scale is received when the CRFS signal is activated, and the data in the cache memory is valid, the following operation occurs: Cache § 忆 资讯 资讯 资讯 资讯 〇〇 〇〇 快 快 资讯 资讯 资讯 〇〇 〇〇 〇〇 China Signal CWH. The cache memory controller 4 starts the read control signal. The REN cache selects the read control signal cr and the cache memory rewrite control number CWB and the output rewrite address signal cWBRc. In response to the update control signal CRFS, the cache memory write hit signal C=H, and the read control signal REN, the cache memory 123 remains updated to perform a read operation in response to the cache memory read control signal CR. The read data CDAT in the memory 123 is finely outputted through the input/output driver and simultaneously written back to the memory block. After the cache memory 123 completes the read operation, the cache memory information control state 200 disables the cache memory write hit signal CWH and the cache memory controller 400 disables the read control signal REN, cache The memory reads the control signal CR and the cache memory rewrite control signal CWB. As a result, the memory 123 is updated. In addition to the special case, the main memory will be read or written to make it face the update operation. On the other hand, the cache memory will give the update operation higher than the read or write operation. The exception is when the memory signal is received, while the cache memory is activated, and the data in the memory is valid. In this exceptional case, the update of the cache memory is delayed. 23 1267855

i 個快j 一個快取記慑篮徑制器400。 請注意,方塊400的輸入輸出都有REN和wen訊號。 如圖6所示,讀取和寫入訊號Ren和Wen是指令暫存"器 • 410的輸入.虎。REN和WEN是指令暫存器41〇的輸出 訊號。REN和WEN在記憶體控制器4〇〇中作為電路4衫、 444和447的輸入。顯示這些連接線使得圖太擁擠。因此 REN和WEN被顯示作為電路443、444和447的輸入心使 得記憶體控制器400的輪入輸出訊號中都有REN和 訊號。 制器200完成的功能:換取記憶體資訊 控制為200儲存著指示哪一個記憶塊與快取記憶體123中 的資料相配的資訊。快取記憶體資訊控制器2〇〇也儲存著 指示快取記憶體丨23中的資料是否有效的資訊。當快取記 憶體中的資料與有讀取請求的記憶塊中的資料相同時,快 取記憶體資訊控制器200啟動快取記憶體位址擊中訊號 CAH。當快取記憶體123中的資料是有效資料時,快取記 憶體資訊控制器200啟動快取記憶體讀取擊中訊號CRH 和快取記憶體擊中訊號CH。 當快取記憶體123中的資料是寫入請求指定的記憶塊 24 1267855· 17728pif.doc 中的資料時,快取記憶體資訊控制器2〇〇啟動快取記憶體 位址擊中訊號CAH。當快取記憶體123中的資料是有效資 料時,快取記憶體資訊控制器2⑻啟動快取記憶體寫入擊 中訊號CWH和快取記憶體擊中訊號CH。 當記憶塊中的資料MDAT和輸入資料ID AT被寫入快 取記憶體123時,快取記憶體資訊控制器2〇〇中的資訊被 更新。 瞻快取記憶體資訊控制器接收到一個快取記憶體重寫控 制訊號CWB、一個快取記憶體重寫位址訊號cwBRC、一 個記憶庫位址訊號BA、一個更新控制訊號CRFS和一個 時脈訊號CLK。快取記憶體資訊控制器輸出一個重寫記憶 庫位址訊號CBA和第二有效位元訊號VW。快取記憶體資 訊控制器在回應重置訊號RST時被重置。 皇己憶塊控制器300 :記憧地捃制器300產生記憶體讀取控 制訊號MR1〜MRn、記憶體寫入控制訊號MW1〜MWn和 • 記憶體重寫控制訊號CWB1〜CWBn。 以上的訊號在讀取控制訊號REN或寫入控制訊號 WEN被啟動時產生。以上的訊號也取決於(或回應於)時脈 訊號CLK、快取記憶體重寫控制訊號CWB、更新開始訊 號RFSS和更新資訊訊號RFSE。 快取記懷盤控制器4⑽:快取記憶體控制器400在接收到 項取號Ren或寫入訊號Wen時啟動讀取控制訊號ren 25 1267855‘ 17728pii;a〇c 或寫入控制訊號WEN。快取記憶體控制器4 〇 〇為回應於時 脈訊號CLK而輸出第1和第2選通訊號CASB、RASB、 感應放大控制7虎SENB和預充電控制訊號prcb。 當讀取控制訊號REN或寫入控制訊號WEN被啟動 日守’快取$fe體控制為400輸出快取記憶體讀取控制訊號 CR、快取δ己丨思體寫入控制訊號CW或快取記憶體重寫控制 訊號CWB。這些訊號回應於更新控制訊號crfs、更新開 始訊7虎RFSS和更新貢訊訊號RFSE。 取記憶體資雜控制器200的詳細介紹(圖4):圖4是快取 5己體負控制裔200的邏輯電路圖。快取記憶體資訊控 制裔200包括一個位址比較電路21 〇、1和2有效位元檢杳 電路220、230和一個輸出邏輯電路240。 位址比較電路210包括一個位址暫存器211、一個位 址比較器212以及一個包括反相器214和及閘215的邏輯 電路213。 着 當快取記憶體位址擊中訊號CAH被禁能且快取記憶 體寫入控制訊號CW被啟動時,邏輯電路213啟動一個暫 存器控制訊號CTL,快取記憶體位址暫存器211儲存當前 的記憶庫位址訊號BA並將已儲存的記憶庫位址訊號BA 作為先前的記憶庫位址訊號BAJP輸出。 位址比較器212比較先前的記憶庫位址訊號BAJP與 當前的記憶庫位址訊號BA。如果先前的記憶庫位址訊號 BA_P與與當前的記憶庫位址訊號BA相同,位址比較器 26 12戦: Pifdoc 號^啟動快取記憶體位址擊中訊號CAH。如果這兩個訊 ^不同’快取記憶體位址擊中訊號CAH將被禁能。虛線 L 220和230表示形成有效位元檢查電路的元件。這些電 ,儲存關於那些儲存在快取記憶體123中的資料的資訊。 匕們被稱為1和2有效位元檢查電路。 己憶塊Ml〜Μη的記憶體讀取資料訊號MDat用來 將資^儲存到快取記憶體123。1有效侃檢查電路220 • 儲存貧訊指示快取記憶體123的資料是有效的。 或閘226的1邏輯電路223。當讀取控制訊號REN*,快取 5己憶體寫入控制訊號CW被啟動時,及閘224啟動且輪出 1更新訊號VBR。當快取記憶體位址擊中訊號cAH |^禁 忐或重置訊號RST被啟動時,重置控制訊號RES被啟動。 當1更新訊號VBR被啟動時,丨有效位元檢查電路 1有效位元檢查電路包括一個i有效位元暫存器221、 個1選擇器222以及一個含有及閘224、反相器225和 220將1更新訊號VBR儲存在1有效位元暫存器221以回 應時脈訊號CLK和行/列位址訊號rc—ADD。就是說,邏 輯1被儲存在1有效位元暫存器221。 當重置控制訊號RES被啟動時,所有儲存在1有效仅 元暫存器中的資料被重置。1選擇器從而選擇儲存在i有 效位元暫存器221中的位元並輸出一個1有效位元訊號 VR。 〜 當輸入資料IDAT被儲存在快取記憶體123,快取記 憶體123中的資料有效的資訊被儲存在2有效位元檢查電 27 I267855:fd 17728pif.doc 路23〇°2有效位元檢查電路230有效位元檢查電路包括一 個2有效位元暫存器231、一個2選擇器232、一個2邏輯 電路233以及一個改變位元決定單元238。2邏輯電路233 包含:個多工器234、及閘235、230以及非或閘237。 當快取記憶體重寫控制訊號CWB被啟動或禁能時, 多工斋234分別輸出一個重寫位址訊號CWBRC或行/列位 址訊號RC—ADD。當快取記憶體讀取控制訊號cR和快取 籲 記憶體重寫控制訊號CWB都被啟動,及閘235啟動邏輯 訊號A1。當讀取控制訊號REN、快取記憶體寫入擊中訊 號CWH和更新控制訊號CRFS都被啟動時,及閘236啟 動邏輯訊號A2。 __ 當邏輯訊號Al、A2都被禁能時,非或閘237啟動2 更新訊號VBW。當2更新訊號VBW被啟動,2有效俾元 暫存為231從而儲存2更新訊號VBW以回應時脈訊號 CLK和行/列位址訊號rC一ADD。因此2有效位元暫存器 231的位元都是邏輯1。 • 當2更新訊號VBW被禁能,2有效位元暫存器231 從而將2更新訊號VBW作為邏輯〇儲存在2有效位元暫 存器231以響應時脈訊號CLK和重寫位址訊號CWBRC。 當重置訊號RST被啟動時,2有效位元暫存器231的位均 被重置。 如果2有效位元暫存器的位元都是邏輯1,快取記憶 體123中的資料疋有效的’而如果2有效位元暫存器的位 元都是邏輯〇,快取記憶體123中的資料則是無效的。2 28 I267855pifd〇c 有效位το暫存器231輸出2有效位元暫存器231所有的位 作為資訊位SR1〜SRM。2選擇器232從而選擇儲存在2 有效位兀暫存器的位元並輸出一個2有效位元訊號VW。 改變位元決定單元238接收資訊訊號SR1〜SRM,並 決定在資訊訊號SR1〜SRM中是否有改變位元。它輸出改 變位兀訊號MDF。如果有改變位元,改變位元決定單元 238將啟動改變位元訊號MDF。輸出邏輯電路24〇包括及 閘241、242及或閘243。 及閘241輸出快取記憶體讀取擊中訊號CRH以回應i 有效位元訊號VR和快取記憶體位址擊中訊號caH。及閘 242輸出快取記憶體寫入擊中訊號CWH以回應2有效位 元讯號VW和快取記憶體位址擊中訊號cah。 田介紹(圖5) ··記憧揄撚#丨器300 的詳細邏輯如圖5所示。記憶塊控制器3〇〇包括一個控制 邏輯電路310、一個1解碼電路320和一個2解碼電路 330(圖中如虛線塊所示)。 控制邏輯電路310包括反相器311〜314、非或閘315、 及閘316、317以及或閘318、319。當更新資訊訊號RFSE 或快取記憶體重寫控制訊號CWB被啟動或更新開始訊號 RFSS和快取記憶體重寫控制訊號cWB同時被啟動時,控 制邏輯電路31〇啟動一個寫入選擇訊號WCTL。 當讀取控制訊號REN被啟動而快取記憶體擊中訊號 CH被禁能時,控制邏輯電路31〇啟動一個讀取選擇訊號 29 1267縱· RCtl。當讀取控制訊號REN、快取記憶體寫入擊中訊號 以及更新控制訊號CRFS中的任一個被禁能時,讀取 遠擇§fL號RCTL即被啟動。 1解碼電路320包括1解碼器32卜及閘322以及及閘 323。1解碼器321對記憶庫位址訊號ba解碼並輸出多個 1解碼訊號BA1〜BAn。 §頃取選擇訊號RCTL和多個1解碼訊號BA1〜BAn 被啟動時’及閘322啟動選擇的多個記憶體讀取控制訊號 MR1〜MRn。當記憶體讀取控制訊號MR1〜MRn中的一 個被啟動,記憶塊Ml〜Μη中的一個則做讀取操作。 及閘323輸出多個記憶體寫入控制訊號MW1〜MWn 以回應寫入控制訊號WEN、寫入選擇訊號WCTL和多個 1解碼訊號BA1〜BAn。當寫入控制訊號WEN、寫入%擇 訊號WCTL和多個1解碼訊號BA1〜BAn被啟動時,及 閘323啟動選擇的多個記憶體寫入控制訊號MW1〜 MWn。當記憶體寫入控制訊號MW1〜MWn中的一個被啟 動,記憶塊Ml〜Μη中的一個則做寫入操作。 2解碼電路330包括2解碼器331與及閘332。2解碼 器331對重寫記憶庫位址訊號CBA解碼並輸出多個2解 碼訊號CBA1〜CBAn。當快取記憶體重寫控制訊號CWB 和多個2解碼訊號CBA1〜CBAn被啟動時,及閘332啟 動多個記憶體重寫控制訊號CWB1〜CWBn。當記憶體重 寫控制訊號CWB1〜CWBn中的一個被啟動,記憶塊M1 〜Μη中的一個則做重寫操作。 30 1267855' i7728pif.doc fe取記憶體控制器400的詳細介紹(圖μ:圖ό展示了快取 記憶體控制器400的詳細邏輯。 、 快取§己憶體控制器400包括一個指令暫存器41〇、一 個控制訊號產生器420、一個1控制邏輯電路430和一個2 控制邏輯電路440。1控制邏輯電路430和2控制邏輯電路 440如圖中虛線塊所示。 指令暫存器410儲存讀取訊號Ren以回應時脈訊號 CLK並輸出讀取控制訊號反^^。指令暫存器41〇儲存寫入 訊號Wen以回應時脈訊號CLK並輸出寫入控制訊號 WEN。控制訊號產生器420為回應時脈訊號CLK而输办4 和2選通訊號CASB、RASB、感應放大控制訊號SENB和 預充電控制訊號PRCB。 1控制邏輯電路430包含計數器431、多工器432、反 相裔433、450、及閘434〜436、或閘437以及非或閘438 〜439。1控制邏輯電路430輸出快取記憶體重寫控制訊號 CWB和邏輯訊號LGS以回應讀取控制訊號、寫入控制訊 號、快取記憶體位址擊中訊號CAH、改變位元訊號MDF、 更新控制訊號CRFS以及資訊位元SR1〜SRM。 2控制邏輯電路440包含反相器441、442、及閘443 〜446以及或閘447〜449。2控制邏輯電路440輸出快取 冗憶體寫入控制訊號C W以回應讀取或寫入控制訊號REN 或WEN、更新開始訊號RFSS以及更新資訊訊號RFSE。i fast j a cache to record the basket diameter controller 400. Please note that the input and output of block 400 have REN and wen signals. As shown in Figure 6, the read and write signals Ren and Wen are the inputs to the instruction staging " REN and WEN are the output signals of the instruction register 41〇. REN and WEN are used as inputs to the circuit 4, 444 and 447 in the memory controller 4A. Displaying these connections makes the map too crowded. Thus, REN and WEN are shown as input to circuits 443, 444, and 447 such that REN and signals are present in the clock input and output signals of memory controller 400. The function performed by the controller 200 is to exchange the memory information control 200 to store information indicating which memory block matches the data in the cache memory 123. The cache memory information controller 2 also stores information indicating whether the data in the cache memory 23 is valid. When the data in the cache memory is the same as the data in the memory block having the read request, the cache memory information controller 200 activates the cache memory address hit signal CAH. When the data in the cache memory 123 is valid data, the cache memory information controller 200 activates the cache memory read hit signal CRH and the cache memory hit signal CH. When the data in the cache memory 123 is the data in the memory block 24 1267855· 17728pif.doc specified by the write request, the cache memory information controller 2 starts the cache memory address hit signal CAH. When the data in the cache memory 123 is valid, the cache memory information controller 2 (8) activates the cache memory write hit signal CWH and the cache memory hit signal CH. When the data MDAT and the input material ID AT in the memory block are written to the cache memory 123, the information in the cache memory information controller 2 is updated. The memory information controller receives a cache memory rewrite control signal CWB, a cache memory rewrite address signal cwBRC, a memory address signal BA, an update control signal CRFS, and a clock signal CLK. . The cache memory information controller outputs a rewrite memory address signal CBA and a second significant bit signal VW. The cache memory controller is reset in response to the reset signal RST. The memory controller 300: the memory controller 300 generates the memory read control signals MR1 to MRn, the memory write control signals MW1 to MWn, and the memory rewrite control signals CWB1 to CWBn. The above signal is generated when the read control signal REN or the write control signal WEN is activated. The above signals also depend on (or in response to) the clock signal CLK, the cache memory rewrite control signal CWB, the update start signal RFSS, and the update information signal RFSE. The cache memory controller 4 (10): the cache memory controller 400 starts the read control signal ren 25 1267855 ' 17728pii; a 〇 c or writes the control signal WEN when receiving the item number Ren or the write signal Wen. The cache memory controller 4 输出 outputs the first and second selection communication numbers CASB, RASB, the sense amplification control 7 tiger SENB, and the precharge control signal prcb in response to the clock signal CLK. When the read control signal REN or the write control signal WEN is activated, the defensive $fe body control is 400 output cache memory read control signal CR, cache δ 丨 丨 写入 写入 write control signal CW or fast Take the memory rewrite control signal CWB. These signals are in response to the update control signal crfs, the update start 7 tiger RFSS and the update tribute signal RFSE. A detailed description of the memory resource controller 200 (Fig. 4) is shown: Fig. 4 is a logic circuit diagram of the cache 5 own negative controller 200. The cache memory information controller 200 includes an address comparison circuit 21, 1 and 2 effective bit detection circuits 220, 230 and an output logic circuit 240. The address comparison circuit 210 includes an address register 211, an address comparator 212, and a logic circuit 213 including an inverter 214 and a AND gate 215. When the cache memory address hit signal CAH is disabled and the cache memory write control signal CW is enabled, the logic circuit 213 activates a scratchpad control signal CTL, and the cache memory address register 211 stores The current memory address signal BA and the stored memory address signal BA are output as the previous memory address signal BAJP. The address comparator 212 compares the previous memory address signal BAJP with the current memory address signal BA. If the previous memory address signal BA_P is the same as the current memory address signal BA, the address comparator 26 12戦: Pifdoc number ^ activates the cache memory address hit signal CAH. If these two messages are different, the cache memory address hit CAH will be disabled. Dotted lines L 220 and 230 represent elements forming a valid bit inspection circuit. These memories store information about the data stored in the cache memory 123. They are called 1 and 2 effective bit check circuits. The memory read data signal MDat of the block M1~Μn is used to store the memory to the cache memory 123. 1 Valid check circuit 220 • The storage of the memory indicates that the data of the cache memory 123 is valid. Or a logic circuit 223 of gate 226. When the control signal REN* is read, the cache 5 write control signal CW is activated, and the gate 224 is activated and the 1 update signal VBR is rotated. The reset control signal RES is activated when the cache memory address hit signal cAH |^ is disabled or the reset signal RST is activated. When the 1 update signal VBR is activated, the valid bit check circuit 1 valid bit check circuit includes an i valid bit register 221, a 1 selector 222, and a containing gate 224, inverters 225 and 220. The 1 update signal VBR is stored in the 1 valid bit register 221 in response to the clock signal CLK and the row/column address signal rc_ADD. That is, the logical 1 is stored in the 1 valid bit register 221 . When the reset control signal RES is activated, all data stored in the 1 valid only meta-register is reset. The selector selects the bit stored in the i-enabled bit register 221 and outputs a 1-bit bit signal VR. ~ When the input data IDAT is stored in the cache memory 123, the information valid in the cache memory 123 is stored in the 2 effective bit check. 27 I267855: fd 17728pif.doc Road 23〇2 Valid bit check The circuit 230 effective bit check circuit includes a 2-bit bit register 231, a 2 selector 232, a 2 logic circuit 233, and a change bit decision unit 238. The 2 logic circuit 233 includes: a multiplexer 234, Gates 235, 230 and non-gate 237. When the cache memory rewrite control signal CWB is enabled or disabled, the multi-work 234 outputs a rewrite address signal CWBRC or a row/column address signal RC_ADD, respectively. When the cache read control signal cR and the cache call rewrite control signal CWB are both activated, the gate 235 activates the logic signal A1. When the read control signal REN, the cache memory write hit signal CWH, and the update control signal CRFS are all activated, the AND gate 236 activates the logic signal A2. __ When the logic signals A1, A2 are disabled, the NAND gate 237 activates the 2 update signal VBW. When the 2 update signal VBW is activated, the 2 valid cells are temporarily stored as 231 to store the 2 update signal VBW in response to the clock signal CLK and the row/column address signal rC_ADD. Therefore, the bits of the 2 significant bit register 231 are all logic 1. • When the 2 update signal VBW is disabled, the 2 valid bit buffer 231 stores the 2 update signal VBW as a logical buffer in the 2 significant bit register 231 in response to the clock signal CLK and the rewrite address signal CWBRC. . When the reset signal RST is activated, the bits of the 2 significant bit register 231 are reset. If the bits of the 2 significant bit register are both logic 1, the data in the cache memory 123 is valid 'and if the bits of the 2 significant bit register are logical, the cache 123 The information in it is invalid. 2 28 I267855pifd〇c The valid bit το register 231 outputs all bits of the 2 significant bit register 231 as information bits SR1 to SRM. The selector 232 selects the bit stored in the 2 significant bit buffer and outputs a 2 significant bit signal VW. The change bit decision unit 238 receives the information signals SR1 to SRM and decides whether or not there is a change bit in the information signals SR1 to SRM. It outputs a change in the signal MDF. If there is a change bit, the change bit decision unit 238 will initiate the change bit signal MDF. Output logic circuit 24 includes and gates 241, 242 and or gate 243. The gate 241 outputs a cache memory read hit signal CRH in response to the i valid bit signal VR and the cache memory address hit signal caH. The gate 242 outputs a cache memory write hit signal CWH in response to the 2 valid bit signal VW and the cache memory address hit signal cah. Field introduction (Figure 5) ···憧揄捻憧揄捻# The detailed logic of the device 300 is shown in Figure 5. The memory block controller 3A includes a control logic circuit 310, a 1 decoding circuit 320, and a 2 decoding circuit 330 (shown in the figure as a dashed block). Control logic circuit 310 includes inverters 311-314, NAND gate 315, and gates 316, 317 and or gates 318, 319. When the update information signal RFSE or the cache memory rewrite control signal CWB is activated or the update start signal RFSS and the cache memory rewrite control signal cWB are simultaneously activated, the control logic circuit 31 starts a write selection signal WCTL. When the read control signal REN is activated and the cache memory hit signal CH is disabled, the control logic circuit 31 initiates a read select signal 29 1267 vertical RCtl. When any of the read control signal REN, the cache memory write hit signal, and the update control signal CRFS is disabled, reading the remote selection §fL RCTL is started. The decoding circuit 320 includes a decoder 32 and a gate 322 and a gate 323. The decoder 321 decodes the memory address signal ba and outputs a plurality of decoded signals BA1 to BAn. When a plurality of memory read control signals MR1 to MRn are selected, the selection signal RCTL and the plurality of 1 decoded signals BA1 to BAn are activated. When one of the memory read control signals MR1 to MRn is activated, one of the memory blocks M1 to Μn performs a read operation. The gate 323 outputs a plurality of memory write control signals MW1 MWMWn in response to the write control signal WEN, the write select signal WCTL, and the plurality of 1 decoded signals BA1 BCBAn. When the write control signal WEN, the write % selection signal WCTL, and the plurality of 1 decoded signals BA1 to BAn are activated, the AND gate 323 activates the selected plurality of memory write control signals MW1 MW MWn. When one of the memory write control signals MW1 to MWn is activated, one of the memory blocks M1 to Μn performs a write operation. The decoding circuit 330 includes a decoder 331 and a AND gate 332. The decoder 331 decodes the rewrite memory address signal CBA and outputs a plurality of 2 decoding signals CBA1 to CBAn. When the cache memory rewrite control signal CWB and the plurality of 2 decode signals CBA1 C CBAn are activated, the AND gate 332 activates the plurality of memory rewrite control signals CWB1 C CWBn. When one of the memory weight write control signals CWB1 to CWBn is activated, one of the memory blocks M1 to Μn is rewritten. 30 1267855' i7728pif.doc fe detailed description of the memory controller 400 (Fig. μ: Figure ό shows the detailed logic of the cache memory controller 400., cache § memory controller 400 includes an instruction temporary storage The controller 41, a control signal generator 420, a 1-control logic circuit 430 and a 2-control logic circuit 440. The control logic circuit 430 and the control logic circuit 440 are shown as dashed blocks in the figure. The instruction register 410 stores The signal Ren is read in response to the clock signal CLK and the read control signal is outputted. The instruction register 41 stores the write signal Wen in response to the clock signal CLK and outputs the write control signal WEN. The control signal generator 420 In response to the clock signal CLK, the 4 and 2 selection communication numbers CASB, RASB, the sense amplification control signal SENB, and the precharge control signal PRCB are transmitted. 1 The control logic circuit 430 includes a counter 431, a multiplexer 432, and a reverse 433. 450, and gates 434 to 436, or gates 437 and non-gates 438 to 439. 1 control logic circuit 430 outputs a cache memory rewrite control signal CWB and logic signal LGS in response to read control signals, write control signals, fast The memory address hits the signal CAH, changes the bit signal MDF, updates the control signal CRFS, and the information bits SR1 SSRM. 2 The control logic circuit 440 includes inverters 441, 442, and gates 443 to 446 and or gates 447 to 449. The control logic circuit 440 outputs the cached memory write control signal CW in response to the read or write control signal REN or WEN, the update start signal RFSS, and the update information signal RFSE.

2控制邏輯電路440輸出快取記憶體讀取控制訊號CR 31 I26__ =回應更新控制訊號CRFS、讀取控制訊號REN、快取記 體寫入或讀取擊中訊號CWH或CRH以及邏輯訊於 LGS。 ~2 control logic circuit 440 outputs the cache memory read control signal CR 31 I26__ = response update control signal CRFS, read control signal REN, cache record write or read hit signal CWH or CRH and logic message to LGS . ~

12?_^詳細介紹(a_Di詳細的快取記憶體如圖 7所不。快取記憶體123包括控制訊號產生器51〇、多工器 520、記憶體單元陣列530、行解碼器54〇、字線驅動器55〇、 列解碼器560、感應放大電路570、預充電電路58〇以及匯 流排驅動器590。記憶體單元陣列53〇是為維持資料必須 更新的DRAM記憶體陣列。 〇σ取決於位址選擇訊號CRFSS是否被啟動或禁能”多:工 器520分別輸出更新位址訊號RFA或行位址訊號 R—ADD。行位址訊號R—ADD包括行/列位址訊號rc_add 的—些低侧位元(例如,如果RC—ADD = 8位元厂那麼 ADD = 6低侧位元)。 當快取記憶體123被更新時,控制訊號產生器51〇禁 旎解碼控制訊號CASBc,因此列解碼器560被禁能而行解 馬rm 540被啟動。為回應更新位址訊號奸八,行解碼器wo 控制字線驅動器550並啟動字線W1〜W64。 當快取記憶體123做寫入或讀取操作時,控制訊號產 生器510啟動解碼控制訊號CASBc,列解碼器56〇也被\支 動。 輯細介紹(目|㈣職產生器 32 1267855. 17728pif.doc 510的詳細邏輯如圖8所*。控制訊號產生器5i〇包括一 個!邏輯電路⑴和2邏輯電路512,如圖8中的虛線塊 所示。 當1選通訊號CASB被啟動時,快取記憶體寫入控制 訊號CW中的-個被啟動,快取記憶體讀取控制訊號CR 被啟動,1邏輯電路511啟動解碼控制訊號cASBc。 2邏輯電路犯包括-個射頻型正反器531、一個反及 籲閘532、一個及閘533和一個D型正反器534。當更新控 制祝號CRFS、讀取控制訊號ren、快取記憶體寫入擊中 訊號CWH以及時脈訊號CLK出現時,2邏^^路512輸 出位址選擇訊號CRFSS和更新開始訊號RFSS。 _ 雜憶座中範例的記^的詳細介紹(圖 2LL圖9展示了記憶塊Ml的詳細情況。記憶塊包括^些 傳統的元件但有著特殊的邏輯。請注意,所有的記憶塊 Ml〜Μη都是同樣的。記憶塊由為維持資料必須更新的 鲁 dram $彳思體所構成。記憶塊包括一個控制訊號產生器 610。控制訊號產生器610的詳細邏輯如圖1()所示。 除了控制訊號產生器610,記憶塊]νπ還包括多工器 620、630、710、記憶體單元陣列640、行解碼器650、字 線驅動器660、列解碼器670、感應放大電路68〇、預充電 電路690以及匯流排驅動器700。 控制訊號產生器610響應於1和2選通訊號CASB、 RASB、記憶體寫入控制訊號MW丨或記憶體重寫控制訊號 33 1267855' lT7j8pif.doc CWB卜記憶體讀取控制訊號MR1,更新開始訊號RFSS、 更新資訊訊號RFSE、感應放大控制訊號seNB和預充電 控制訊號PRCB。控制訊號產生器61〇輸出1和2解碼控 制訊號CASB卜RASB卜更新狀態訊號rFSE1、感應放 大控制訊號SENB1和預充電控制訊號pRCB1。 控制訊號產生器610包括邏輯電路611〜615(如圖中 虛線塊所示)。邏輯電路611包括非或閘721、722和反相 _ 器732。為回應記憶體寫入控制訊號MW1、記憶體讀取控 制訊號MR1和1選通訊號CASB,邏輯電路611輸出一個 1解碼控制訊號CASB1。當1選通訊號CASB被啟動且記 憶體讀取控制訊號MR1與記憶體寫入控制訊號MW1:之^ 被啟動時,邏輯電路611啟動1解碼控制訊號CASBr。 通過邏輯電路612〜615,控制訊號產生器610輸出一 個預充電控制訊號PRCB1、感應放大控制訊號SENB1和 解碼控制訊號RSAB1。 多工器620(如圖9)輸出重寫行位址訊號CWBR、行位 藝 址訊號R一ADD和更新位址訊號RFA之一,以回應更新狀 態訊號RFSE1和記憶體重寫控制訊號CWB1。多工器620 操作如下:12?_^Detailed introduction (a_Di detailed cache memory is as shown in Fig. 7. The cache memory 123 includes a control signal generator 51A, a multiplexer 520, a memory cell array 530, a row decoder 54A, A word line driver 55A, a column decoder 560, an inductive amplifying circuit 570, a precharge circuit 58A, and a bus bar driver 590. The memory cell array 53A is a DRAM memory array that must be updated to maintain data. Whether the address selection signal CRFSS is activated or disabled. "Multiple: The device 520 outputs the update address signal RFA or the row address signal R_ADD. The row address signal R_ADD includes the row/column address signal rc_add. The low side bit (for example, if RC_ADD = 8 bit factory then ADD = 6 low side bit). When the cache memory 123 is updated, the control signal generator 51 bans the decoding control signal CASBc, so The column decoder 560 is disabled and the line rm 540 is enabled. In response to updating the address signal, the row decoder wo controls the word line driver 550 and starts the word lines W1 to W64. When the cache memory 123 is written Control signal generator 510 when entering or reading an operation The decoding control signal CASBc is started, and the column decoder 56 is also supported. The detailed logic of the device is shown in Fig. 8. The control signal generator 5i includes the detailed logic of the device 12 3267855. 17728pif.doc 510 A logic circuit (1) and a logic circuit 512, as shown by the dotted block in Fig. 8. When the 1-way communication number CASB is activated, the one of the cache memory write control signals CW is activated, and the memory is cached. The body read control signal CR is activated, and the logic circuit 511 activates the decode control signal cASBc. The logic circuit includes a radio frequency type flip-flop 531, a reverse gate 532, a gate 533 and a D-type forward and reverse. When the update control designation CRFS, the read control signal ren, the cache memory write hit signal CWH, and the clock signal CLK appear, the 2 logical channel 512 outputs the address selection signal CRFSS and the update start signal. RFSS. _ A detailed description of the example of the memory in the memory (Figure 2LL Figure 9 shows the details of the memory block Ml. The memory block includes some traditional components but with special logic. Please note that all memory blocks Ml ~Μη are the same. Memory block is The data block is composed of a control signal generator 610. The detailed logic of the control signal generator 610 is shown in Fig. 1 (). In addition to the control signal generator 610, the memory block] Νπ also includes multiplexers 620, 630, 710, memory cell array 640, row decoder 650, word line driver 660, column decoder 670, inductive amplification circuit 68A, precharge circuit 690, and bus bar driver 700. The control signal generator 610 updates the start signal in response to the 1 and 2 selection communication numbers CASB, RASB, the memory write control signal MW or the memory rewrite control signal 33 1267855' lT7j8pif.doc CWB memory read control signal MR1. RFSS, update information signal RFSE, inductive amplification control signal seNB and pre-charge control signal PRCB. The control signal generator 61 outputs the 1 and 2 decoding control signals CASB, the RASB, the update status signal rFSE1, the sense amplification control signal SENB1, and the precharge control signal pRCB1. Control signal generator 610 includes logic circuits 611-615 (shown in phantom blocks in the figure). Logic circuit 611 includes non-OR gates 721, 722 and inverting _ 732. In response to the memory write control signal MW1, the memory read control signal MR1, and the 1-select communication number CASB, the logic circuit 611 outputs a 1-decode control signal CASB1. When the 1-selection communication number CASB is activated and the memory read control signal MR1 and the memory write control signal MW1 are activated, the logic circuit 611 activates the 1-decode control signal CASBr. The control signal generator 610 outputs a precharge control signal PRCB1, an inductive amplification control signal SENB1, and a decode control signal RSAB1 through the logic circuits 612 to 615. The multiplexer 620 (Fig. 9) outputs one of the rewrite row address signal CWBR, the row address address signal R_ADD, and the update bit address signal RFA in response to the update status signal RFSE1 and the memory rewrite control signal CWB1. The multiplexer 620 operates as follows:

RFSE1 CWB1 輸出 啟動 禁能 RFA 禁能 啟動 CWBR 禁能 禁能 R ADD 34 1267赚 ⑽位址訊號R_ADD是行/列位址訊號110」^^的一 部分ώ重寫行位址訊號CWBR是重寫位址訊號CWBRC的 一部分,重寫位址訊號CWBRC連接到快取記憶體控制器 400的計數器431。RFSE1 CWB1 output enable disable RFA disable start CWBR disable disable R ADD 34 1267 earn (10) address signal R_ADD is part of row/column address signal 110"^^ ώ rewrite row address signal CWBR is a rewrite bit A portion of the address signal CWBRC, the rewrite address signal CWBRC is connected to the counter 431 of the cache controller 400.

多工器630輸出列位址訊號C_ADD和重寫列位址訊 號CWBC之一以回應記憶體重寫控制訊號CWB1。當記憶 體重寫控制訊號CWB1被啟動時,重寫列位址訊號CWBC 被輸出,而當記憶體重寫控制訊號CWB1被禁能時,列位 址訊號C—ADD被輸出。列位址訊號c_ADD是行/列位址 訊號RC—ADD低侧位元的一部分。The multiplexer 630 outputs one of the column address signal C_ADD and the rewrite column address signal CWBC in response to the memory rewrite control signal CWB1. When the memory rewrite control signal CWB1 is activated, the rewrite column address signal CWBC is output, and when the memory rewrite control signal CWB1 is disabled, the column address signal C_ADD is output. The column address signal c_ADD is part of the row/column address signal RC_ADD low side bit.

記憶體單元陣列640的結構實質上與圖7中快取記憶 體123的記憶體單元陣列53〇相同。在寫入控制訊號WEN 被啟動或被禁能時’多工器71〇分別輸出輸入資料IDAT 或快取記憶體讀取資料CDAT。 、 w為響應記憶體寫人蝴峨MW1,匯流排驅動器7〇〇 ,多工器71G輸出訊朗記憶體單元陣列64()。為響應記 取㈣訊號聰鸯網咖· 取育料MDAT。 田口己U鬼Ml更新日寸,控制訊號 碼控制訊號CASB1以及啟動9 @成4 * 不月匕角午 舲心 及啟動2解碼控制訊號RASB卜因 =列解碼器謂被禁能而行解碼器㈣則被啟動。為回 應更新位址訊號RFA,行解@4 i 啟動字線W1〜W64。冑馬4制子線驅_ 660從而 當記憶塊做讀取操作或 寫入操作時,控制訊號產生器 35 1267855 17728pif.doc =10啟動1解碼控制訊號casb RASB1,因茈列妒成不z解碼控制矾號 雖缺太/解 和行解碼器650均被啟動。 限定本發明,任何熟習此技藝者,在丄非用以 和範圍内,各可你此i 农有隹不脱離本發明之精神 作些枝更動侧飾,因此本發明之㈣ ,圍1後附之巾請專利範圍所界定者為準。 4 【圖式簡單說明】 圖1是本發明較佳實施例的方塊圖。 圖2Α-1和2Α_2舉例說明了讀取操作過程中發生的動 作 瓜1和2Β_2舉例說明了寫入操作過程中發生_ 圖兀和犯舉例說明了與快取記憶體更新有關的携 圖3展不了主記憶體控制器的全部方塊圖。 目4 ' 5、6是圖3巾展示的各單元更詳細的電路Η。 • ® 7是快取記賴的方塊圖。 電路圖 圖8是快取記憶體中控制訊號產生器 圖9是記憶塊的方塊圖。 路圖。 Γ j ^是每個記憶塊中控制訊號產生器的邏輯電路圖| 【主要兀件符號說明】 今电降口 110 :更新狀態探測器 120 :控制器單元 121 ··主控制器 作 作 圖 36 I267855iM〇c 122:更新控制器 123 :快取記憶體 124、125、234、432、520、620、630、710 :多工器 130 :位址緩衝器 140 :輸入/輸出驅動器 Ml〜Μη :記憶塊 CWBRC :重寫位址訊號 MW1〜MWn :記憶體寫入控制訊號 ® MR1〜MRn :記憶體讀取控制訊號 CWB1〜CWBn :記憶體重寫入控制訊號 CWB ··快取記憶體重寫控制訊號 RFSE :更新資訊訊號 RFSE1〜RFSEn :更新狀態訊號 CR:快取記憶體讀取控制訊號 CW:快取記憶體寫入控制訊號 CWH :快取記憶體寫入擊中訊號 ❿ CASB ·· 1選通訊號 RSAB : 2選通訊號 SENB ··感應放大控制訊號 PRCB :預充電控制訊號 REN :讀取控制訊號 WEN :寫入控制訊號 Ren :讀取訊號 Wen :寫入訊號 37 I267855;d〇c CH :快取記憶體擊中訊號 RC—ADD :行/列位址訊號 RST :重置訊號 CLK :時脈訊號 BA :記憶庫位址訊號 EX—ADD :夕卜部位址訊號 RFA :更新位址訊號 CRFS :更新控制訊號 ® MDAT :記憶體讀取資唞 CDAT :快取記憶體讀取資料 RFSS :更新開始訊號 IDAT :輸入資料 200 :快取記憶體資訊控制器 300 :記憶塊控制器 310 :控制邏輯電路 400 :快取記憶體控制器 # 210 :位址比較電路 211 ·•位址暫存器 212 :位址比較器 213 :邏輯電路 214、 225、311 〜314、433、450、441、442、523 :反 相器 215、 224、235、236、24卜 242、316、317、322、323、 332、434〜436、443〜446、533 :及閘 38 1267礙 pif.doc 220 : 1有效位元檢查電路 221 : 1有效位暫存器 222 : 1選擇器 223 : 1邏輯電路 226、243、318、319、437、447〜449 :或閘 230 ·· 2有效位元檢查電路 231 : 2有效位暫存器 232 : 2選擇器 • 233 : 2邏輯電路 237、315、438、439、521、522 ··非或閘 238 :改變位元決定單元 240 ··輸出邏輯電路 320 : 1解碼電路 321 : 1解碼器 330 : 2解碼電路 331 : 2解碼器 • 410:指令暫存器 420、510、610 :控制訊號產生器 430 : 1控制邏輯電路 431 :計數器 440 : 2控制邏輯電路 511 : 1邏輯電路 512 : 2邏輯電路 530、640 :記憶體單元陣列 39 1267縱_ · 531 :射頻型正反器 532 :反及閘 534 ·· D型正反器 540、650 ··行解碼器 550、660 :字線驅動器 560、670 :列解碼器 570、680 :感應放大電路 580、690 ·•預充電電路 ® 590、700 :匯流排驅動器 901 〜914、、921 〜932、960 〜969、971 〜979、941 〜949、951〜959 ··方塊The memory cell array 640 has substantially the same structure as the memory cell array 53A of the cache memory 123 of Fig. 7. When the write control signal WEN is activated or disabled, the multiplexer 71 outputs the input data IDAT or the cache memory read data CDAT, respectively. w is the response memory writer 峨 MW1, the bus driver 7 〇〇, and the multiplexer 71G outputs the memory cell array 64 (). In response to the record (four) signal intelligence network coffee · take the material MDAT. Taguchi U ghost Ml update day inch, control signal number control signal CASB1 and start 9 @成4 * 不月匕角午舲心 and start 2 decoding control signal RASB Buin = column decoder is disabled and the decoder (4) It is activated. In response to updating the address signal RFA, the line solves @4 i to start the word lines W1 to W64. Hummer 4 sub-line drive _ 660 so that when the memory block is doing a read operation or a write operation, the control signal generator 35 1267855 17728pif.doc = 10 start 1 decoding control signal casb RASB1, because the array is not decoded The control nickname is enabled, although the lack of both the solution and the row decoder 650 are enabled. To limit the present invention, any skilled person in the art can use the spirit of the present invention to make some branches and move the side trimmings, and thus the present invention (4) The attached towel shall be subject to the definition of patent scope. 4 BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of a preferred embodiment of the present invention. Figure 2Α-1 and 2Α_2 illustrate the actions that occur during the read operation. The melons 1 and 2Β_2 illustrate the occurrence of the write operation. _ Figure and the example of the connection with the cache memory update Not all block diagrams of the main memory controller. Item 4 '5, 6 is a more detailed circuit of each unit shown in Figure 3. • ® 7 is a block diagram of the cache. Circuit Diagram Figure 8 is a control signal generator in the cache memory. Figure 9 is a block diagram of the memory block. Road map. Γ j ^ is the logic circuit diagram of the control signal generator in each memory block | [Main component symbol description] Current voltage drop 110: Update status detector 120: Controller unit 121 · Main controller as picture 36 I267855iM 〇c 122: update controller 123: cache memory 124, 125, 234, 432, 520, 620, 630, 710: multiplexer 130: address buffer 140: input/output driver M1~Μn: memory block CWBRC: Rewrite address signal MW1~MWn: Memory write control signal® MR1~MRn: Memory read control signal CWB1~CWBn: Memory weight write control signal CWB ··Cache memory rewrite control signal RFSE: Update information signal RFSE1~RFSEn: update status signal CR: cache memory read control signal CW: cache memory write control signal CWH: cache memory write hit signal ❿ CASB · · 1 select communication number RSAB : 2 select communication number SENB · · Inductive amplification control signal PRCB: pre-charge control signal REN: read control signal WEN: write control signal Ren: read signal Wen: write signal 37 I267855; d〇c CH: cache Memory hit signal RC-ADD: /column address signal RST: reset signal CLK: clock signal BA: memory address signal EX_ADD: address site signal RFA: update address signal CRFS: update control signal® MDAT: memory read capital唞CDAT: Cache Memory Read Data RFSS: Update Start Signal IDAT: Input Data 200: Cache Memory Information Controller 300: Memory Block Controller 310: Control Logic Circuit 400: Cache Memory Controller # 210: Address comparison circuit 211 ·• address register 212: address comparator 213: logic circuits 214, 225, 311 to 314, 433, 450, 441, 442, 523: inverters 215, 224, 235, 236 24 Bu 242, 316, 317, 322, 323, 332, 434~436, 443~446, 533: and gate 38 1267 obstruction pif.doc 220 : 1 effective bit check circuit 221 : 1 valid bit register 222 : 1 selector 223 : 1 logic circuit 226 , 243 , 318 , 319 , 437 , 447 ~ 449 : or gate 230 · 2 effective bit check circuit 231 : 2 valid bit register 232 : 2 selector • 233 : 2 logic circuit 237, 315, 438, 439, 521, 522 · · NOT or gate 238: change bit decision unit 240 · · lose Logic circuit 320: 1 decoding circuit 321: 1 decoder 330: 2 decoding circuit 331: 2 decoder • 410: instruction register 420, 510, 610: control signal generator 430: 1 control logic circuit 431: counter 440: 2 control logic circuit 511: 1 logic circuit 512: 2 logic circuit 530, 640: memory cell array 39 1267 vertical _ 531: RF type flip-flop 532: anti-gate 534 · D-type flip-flops 540, 650 Line decoders 550, 660: word line drivers 560, 670: column decoders 570, 680: inductive amplifier circuits 580, 690 · Precharge circuits ® 590, 700: bus bars 901 - 914, 921 - 932 , 960 ~ 969, 971 ~ 979, 941 ~ 949, 951 ~ 959 · ·

4040

Claims (1)

1267855' 17728pif.doc 十、申請專利範圍: 1 · 一種€憶體糸統,包括· 分成塊個主體’其為維持資料而必須被更新,並且被 一個快取記憶體,复盘 儲存與上_主麵料料而必·更新,並且 記憶體有指示位元以指干^现相付口的貝⑶此决取 更新雷踗,、同如广特疋的資訊是否是有效的資訊; ,^r 性地更新上述主記憶體和上述快取記 此更新電路有—個更新開始訊號; 個目屋生靖取訊號從上述記憶體系統的一 個目私圮憶塊中請求資訊;以及 控制電路,當更薪pq ^ 收到,上述快取號被啟動,—個讀取訊號被 , L、體乂有儲存上述讀取訊號的目標塊, 亚且上述快取記憶體中的眘 塊中的有效資_起作从 新,_上述主記{咅體現⑻延遲上述目標塊的更 f·新上述目標記憶塊和上述其他塊, 標塊:此上、 ΐΐ述快取記憶體沒有儲存上述讀取訊號的目 回到上it和更新發生而沒有從上述快取記憶體寫 並且上述快取記憶體中的資料不是除 -目私塊的其他塊中的有效資料。 如申請專利範圍第1項所述之記憶體系統,立中上 制電路,當上述更新開始訊號被啟動,-個讀取訊號 41 pif.doc 而縱f: 被收到,上述快取記憶體沒有儲存上 塊,並且上述快取記憶體中的目二= 用,實現⑻延遲與上述快取記憶 =中的貝難配的目標塊的更新,(b)延遲上述目標 咖中資料的寫回,⑻從上述主記憶體 轉移上述讀取操作的目標記憶塊到 ±rst f ^(a)'(b)' (c)^(d^^^ ^ ^ 上述目塊和上述其他塊。 、作=申明專利乾圍第1項所述之記憶體系統,其中上 =工制笔路’當上述更新開始訊號被啟動,— ==上;快取記憶體儲存上述讀取訊號的目標塊時‘ 所有上快取記憶體中讀取請求的資料並且更新 述批It申請專利範圍第1項所述之記憶體系統,其中上 被^厂路、’、當上述更新開始訊號被禁能,一個讀取訊號 且上、f kk上述决取此憶體儲存上述讀取訊號的目標塊,並 起作Γΐ記憶體中的資料是上述目標塊中的有效資料時 a現從上述快取記憶體巾讀取上述請求資訊。 述㈣:申料利範圍第1項所述之記憶體系統,其中上 被收至|丨电路、、田上述更新開始訊號被禁能,一個讀取訊號 時起作上f快取記憶體沒有儲存上述讀取訊號的目標塊 ,貫現從上述主記憶體中讀取上述請求資訊。 述控制1申請t利範圍第2項所述之記憶體系統,其中上 卫电路,當上述更新開始訊號被啟動, 一個讀取訊號 42 1267855 * 17728pif.doc j j —上述陕取5己憶體儲存上述讀取訊號的目標塊時起 辦古現*上快取記憶體中讀取請求的資料並且更新 所有上述記憶塊。 、十、缺^申料利範圍第2項所述之記憶㈣統,其中上 Ϊ Γ 、’、當上述更新開始訊號被禁能,—個讀取訊號 ^ ’上述快取記憶贿存上述讀取訊號的目標塊,並1267855' 17728pif.doc X. Patent application scope: 1 · A kind of memory system, including · divided into blocks, which must be updated to maintain data, and stored by a cache memory, The main fabric material must be updated, and the memory has an indicator bit to refer to the dry (the current pay) mouth (3) to determine whether to update the Thunder, and the same as the information of the special information is valid information; , ^r Updating the main memory and the cache circuit to have an update start signal; the Miyagi Yasushi signal requests information from a memory block of the memory system; and the control circuit The more paid pq ^ is received, the above cache number is activated, a read signal is received, L, the body has a target block for storing the read signal, and the valid resource in the caution block in the cache memory _ starting from the new, _ the above main note { 咅 embossing (8) delay the above target block of the new target memory block and the other blocks, the standard block: the above, the cache memory does not store the read signal Go back to it and update Born not written from said cache memory and said data cache is not in addition to - the other valid data block in the block private purposes. For example, the memory system described in claim 1 of the patent scope, the upper middle circuit, when the update start signal is activated, a read signal 41 pif.doc and a vertical f: is received, the cache memory The upper block is not stored, and the target memory in the cache memory is used to implement (8) delay and update of the target block in the above cache memory=(b) delay writing of the data in the target coffee. (8) transferring the target memory block of the above read operation from the main memory to ±rst f ^(a)'(b)' (c)^(d^^^ ^ ^ the above block and the other blocks described above. = Affirmation of the memory system described in Item 1 of the patent, wherein the upper = work record 'when the update start signal is activated, -==; when the cache memory stores the target block of the read signal' All the cached memory reads the requested data and updates the memory system described in the first application of the scope of the patent application, in which the above is the factory road, ', when the above update start signal is disabled, one read Take the signal and upload the target block of the above read signal. And when the data in the memory is the valid data in the target block, a now reads the request information from the cache memory. (4): The memory system described in item 1 of the application scope , the upper received to the | 丨 circuit, the above update start signal is disabled, a read signal from the f cache memory does not store the target block of the read signal, from the main memory The above-mentioned request information is read. The control 1 applies the memory system described in item 2 of the scope of interest, wherein the upper guard circuit, when the update start signal is activated, a read signal 42 1267855 * 17728pif.doc jj - the above When the target block of the above-mentioned read signal is stored, the data of the read request in the memory is updated and all the above memory blocks are updated. The tenth, the missing item is the second item of the profit range. The memory (four) system, wherein the upper layer Γ, ', when the update start signal is disabled, a read signal ^ 'the above cache memory bribes the target block of the read signal, and ^述絲記憶體中的資料是上述目標塊中的有效資料時 用貝現從上述快取記憶體中讀取上述請求資訊。 8· 一種記憶體系統,包括: 個主圮憶體,其為維持資料而必須被更新,並且被 ^ =個快取記憶體,其為維持資料而必須被更新,並且 2述主記憶體儲存選擇㈣訊塊,此快取記憶體有一個 效的指不位7〇以指示上述快取記憶體的資料是有效的資 料, 更新電路,週期性地更新上述主記憶體; 輸入_輸出電路,響應-個寫人指令將資訊寫入上述記 fe體系統中的一個目標塊;以及 一控制電路,當⑻上述主記憶體更新電路被啟動,⑼ 叫固寫入指令魏到,及(e)上述快取記憶體巾的資料是上 述寫入請求的目標塊中的資料時起作用,實現將上述資料 寫入上述快取記憶體中並更新上述主記憶體, 上述控制電路,當(a)上述主記憶體更新電路被啟動, (b)—個寫入指令被收到,及(c)上述快取記憶體中的資料不 43 1267855 ' 17728pif.doc 疋上述寫入請求指定的記憶塊中的資料時起作用,實現(A) 保持寫入指令的目標塊的更新並控制對目標記憶塊的寫 入’(B)更新除了目標記憶塊的記憶塊,(c)在對目標記憶 塊的寫入操作之後,更新目標記憶塊,(D)如果上述快取記 憶體中的資料是除了上述目標記憶塊的其他記憶塊中的有 效資料,快取記憶體中的資料被寫回到上述其他記憶塊且 快取記憶體被禁能。 〜AWhen the data in the silk memory is the valid data in the target block, the request information is read from the cache memory. 8. A memory system comprising: a main memory, which must be updated to maintain data, and which is ^=cache memory, which must be updated to maintain data, and 2 main memory storage Selecting (4) the block, the cache memory has an effect indicating that the data of the cache memory is valid data, updating the circuit, and periodically updating the main memory; the input_output circuit, The response-writing command writes information to a target block in the above-mentioned system; and a control circuit, when (8) the main memory update circuit is activated, (9) is called a solid write command, and (e) When the data of the cache memory towel is the data in the target block of the write request, the data is written into the cache memory and the main memory is updated, and the control circuit is (a) The above main memory update circuit is activated, (b) a write command is received, and (c) the data in the cache memory is not in the memory block specified by the above write request 43 1267855 ' 17728pif.doc of It works, implements (A) keeps the update of the target block of the write instruction and controls the writing to the target memory block '(B) updates the memory block except the target memory block, and (c) writes to the target memory block After the operation, the target memory block is updated, (D) if the data in the cache memory is valid data in other memory blocks other than the target memory block, the data in the cache memory is written back to the other memory. Block and cache memory is disabled. ~A 9·如申請專利範圍第8項所述之記憶體系統,其中當 (a)上述主6己丨思體更新電路沒被啟動,(b) —個寫入指令 被收到,及(c)上述快取記憶體中的資料是上述寫入指 目標記憶塊中的資料時,上述控制電路用來(A)控制對_標 記憶塊的寫人操作,(除上述快取記憶體的有效位元: 10·如申請專利範圍第9項所述之記憶體系統,其中當 、⑻上述主記憶體更新電路沒被啟動,(b)一個寫入指令 被收到丄及(c)上述快取記憶體中的資料不是上述目標記憶 塊中的貝料日^ ’上述控制電路絲將資料寫人到目標記憶 塊。 ^ 、f二1::::專利範圍第1項所述之記憶體系統,其中所 =的主錢體和所述的絲記憶體包含dram記憶^ 一個寫入户人、a上述快取記憶體更新電路被啟動,(b) 、十、收到’及(e)上述快取記憶體中的資料是上 述寫入才曰令的目標記憶塊中的有效資料時起作用,上述控 44 1267855 ' 】772S^if.ci〇c 在广述主記憶體中寫入上述目標記憶塊,⑻ 新體的有效位元在上述寫入嫌 -個窝人MU ^ k體更新電路被啟動,⑻ 上述f ’及⑻上述快取記憶體中的資料不是 塊中的有效資料時起作用,上述控制 的目·入請求的資料寫入到上述寫入請求 R如申請專利範圍第1項所述之記憶體系統,其中所 制電路,當⑷上述絲記賴更新被啟動,(b) ,寫入指令被_,及⑻上述快取記憶體中的資料是上 处’”’入明求的目標記憶塊巾的有效資_核作用,上述控 制電路用來(A)在上述主記憶體巾寫人至上述目標記憶 ,(B)禁此上述快取記憶體的有效位元,(c)在上述寫入 操作後更新上述快取記憶體。 、、I5·如申請專利範圍第1項所述之記憶體系統,其中所 述的控制電路包括當記憶體讀取訊號被接收到而同時快取 圮憶體更新訊號被啟動且快取記憶體内的資料有效時延遲 上述快取記憶體更新。 16·如申請專利範圍第8項所述之記憶體系統,其中所 述的控制器,在所述的主要記憶體中通常將優先權給讀取 或寫入操作,使之高於更新操作,而在所述的快取記憶體 中則通常將優先權給更新操作,使之高於讀取或寫入操9. The memory system of claim 8, wherein (a) the main 6 丨 思 思 思 思 updating circuit is not activated, (b) a write command is received, and (c) When the data in the cache memory is the data written in the target memory block, the control circuit is used to (A) control the write operation of the _ memory block (in addition to the valid bit of the cache memory) 10: The memory system according to claim 9, wherein (8) the main memory update circuit is not activated, (b) a write command is received, and (c) the cache is activated. The data in the memory is not the bedding date in the target memory block. ^ The above control circuit writes the data to the target memory block. ^, f 2:::: The memory system described in the first item of the patent scope , wherein the main money body and the silk memory include dram memory ^ a write household, a cache memory update circuit is activated, (b), ten, received 'and (e) above The data in the cache memory is effective when the above-mentioned data is written in the target memory block. , the above control 44 1267855 ' 】 772S ^ if. ci 〇 c write the above target memory block in the main memory, (8) the effective bit of the new body in the above-mentioned write - - nest MU ^ k body update circuit When the above-mentioned f' and (8) data in the above-mentioned cache memory is not valid data in the block, the data of the above-mentioned controlled entry request is written to the above-mentioned write request R as claimed in the patent scope 1 The memory system described in the item, wherein the circuit is manufactured, when (4) the silk record update is activated, (b), the write command is _, and (8) the data in the cache memory is ''' The control unit is configured to (A) write the person to the target memory in the main memory towel, and (B) disable the valid bit of the cache memory, (c) updating the cache memory after the above-mentioned write operation. The memory system of claim 1, wherein the control circuit includes when the memory read signal is received. At the same time, the cache memory update signal is activated and fast. The memory system described in claim 8 is effective when the data in the memory is valid, wherein the controller generally has priority in the main memory. Giving a read or write operation higher than the update operation, and in the cache memory, the priority is usually given to the update operation, which is higher than the read or write operation. 45 1267855 ' 17728pif.doc 一而,當圮憶體讀取訊號被接收到而同時上述快取即 憶體,新訊號被啟動且快取記憶體内的資料有效時,、:求 控制為延遲了上述快取記憶體的更新。 ^ 喿作記憶體线的方法,記憶體系統包括—個 ====;:r 資_更 主記述怏取記憶體-應 '心體系統時常收到記憶體寫入指令以初始化記 =儲存_和收到記憶體讀取指令以初始化記憶體檢索 之-ΐΐΐ 要:憶體通常將優先權給讀取或寫入操作,使 新ί作Γ *上述練記鐘㈣f將優先權給更 新才木^,使之南於讀取或寫入操作;以及 更 新鍾讀取訊號被接收到而_上述快取記憶體更 取記==且錄記顏_f财效時,延遲上述快 方法18ί中申1專/1範圍第17項所述之操作記憶體系統的 令被啟動r 被收到,上述主要記憶體的更新指 皮文動’上騎取料的目標記㈣不在 =料:及己憶體中的資料是其他記憶塊中有- 述其他記憶塊中==1==主要記=的上 資料,並儲存上述讀取操作的目標二的 4645 1267855 ' 17728pif.doc Once, when the memory signal is received and the above cache is the memory, the new signal is activated and the data in the memory is valid, the control is delayed. The above cache memory is updated. ^ The method of making a memory line, the memory system includes - ====;:r _ _ more master records 怏 memory - should 'heart system often receive memory write instructions to initialize the record = store _ and receive the memory read command to initialize the memory search - ΐΐΐ To: The memory usually gives priority to the read or write operation, so that the new Γ 上述 * The above-mentioned practice clock (four) f will give priority to the update Wood ^, to make it south of the read or write operation; and update the clock read signal is received and _ the above cache memory is more to remember == and record the face _f financial effect, delay the above fast method 18ί The order of the operating memory system described in item 17 of the Zhongshen 1/1 range/1 range is received, r is received, and the update of the above main memory refers to the target of the escaping of the escaping (4). The data in the memory is in the other memory block - the other data in the other memory block = = 1 = = main record =, and the target of the above read operation is stored 46 I26H 然後更新上述目標塊和上述其他記憶塊。 方、申ί專職财17項所狀操作記憶體系统的 :被啟Π讀取指令被收到,上述主要記億體的= 上述快取記憶體中的f料不是其他記憶塊= ς力貝料% ’從上述主要記憶體中讀取上述被 存上述讀取操作的目標於上述快取記憶體中」 ίΐίΐ 塊和上述其他記憶塊,這裏沒有從上述快 數°丄;=主要記憶體的寫回操作’因咖 „專利範圍* 17項所述之操作記憶體 方法,其中 (A)當讀取指令被收到,上述主要記憶體的更新指令被 & 上述靖取指令的目標記憶塊不在上述快取記憶體 快取記憶體中的㈣是其他記憶塊中有效的 ’ AJi述絲記憶體寫_±述主要記憶體的上述 ::他記憶塊巾,從上述主要記憶體巾讀取上述被請求的資 步’亚儲存上返讀取操作的目標於上述快取記憶體中,然 後更新上述目標塊和上述其他記憶塊,以及 ⑻當讀取指令被收到,上述主要記憶體的更新指令被 啟動、上述#取彳日令的目標記憶塊不在上述快取記憶體 内’以及上4快取記憶體巾的資料不是其他記憶塊中有效 的資料時、’從上述主要記憶體中讀取上述被請求的資料, 亚儲存上述讀取操作的目標於上述快取記憶體巾,然後更 47 1267縱_ · 新上述目標塊和上述其他記憶塊, (B)中沒有寫回操作,因此寫回操作的數目被減到最 少。I26H then updates the above target block and the other memory blocks described above. Fang, Shen 专 full-time financial operation of the memory system: the read command was received, the above main record of the billion body = the above fetch memory is not the other memory block = ς力贝Material % 'read from the above main memory, the above-mentioned read operation is stored in the above-mentioned cache memory" ίΐίΐ block and the above other memory blocks, here is not from the above-mentioned fast number; = main memory Write back the operation memory method described in the 'Invalid Patent Range*, paragraph 17, item 17, wherein (A) when the read command is received, the update instruction of the above main memory is & the target memory block of the above-mentioned access instruction (4) not in the above cache memory cache memory is valid in other memory blocks 'AJi silk memory write _± the main memory of the above:: his memory block towel, read from the above main memory towel The above-mentioned requested memory step sub-stores the read-back operation in the cache memory, and then updates the target block and the other memory blocks, and (8) when the read command is received, the main memory Update refers to When the target memory block of the above-mentioned #彳日日 is not in the above-mentioned cache memory and the data of the upper 4 cache memory is not valid in other memory blocks, 'read from the above main memory The above-mentioned requested data, the sub-storage of the above-mentioned read operation is directed to the above-mentioned cache memory towel, and then more 47 1267 vertical _ · new target block and the above other memory blocks, (B) without write back operation, thus writing The number of back operations is minimized. 4848
TW94128888A 2004-09-25 2005-08-24 System and method for controlling the access and refresh of a memory TWI267855B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020040077594A KR100564633B1 (en) 2004-09-25 2004-09-25 Semiconductor memory device having improved operation performance and access control method of the same
US11/193,805 US7187608B2 (en) 2004-09-25 2005-07-28 System and method for controlling the access and refresh of a memory

Publications (2)

Publication Number Publication Date
TW200623123A TW200623123A (en) 2006-07-01
TWI267855B true TWI267855B (en) 2006-12-01

Family

ID=36062422

Family Applications (1)

Application Number Title Priority Date Filing Date
TW94128888A TWI267855B (en) 2004-09-25 2005-08-24 System and method for controlling the access and refresh of a memory

Country Status (2)

Country Link
DE (1) DE102005047197B4 (en)
TW (1) TWI267855B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI486776B (en) * 2006-12-06 2015-06-01 Novachips Canada Inc Apparatus and method for producing device identifiers for serially interconnected devices of mixed type

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6697909B1 (en) * 2000-09-12 2004-02-24 International Business Machines Corporation Method and apparatus for performing data access and refresh operations in different sub-arrays of a DRAM cache memory
US6757784B2 (en) * 2001-09-28 2004-06-29 Intel Corporation Hiding refresh of memory and refresh-hidden memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI486776B (en) * 2006-12-06 2015-06-01 Novachips Canada Inc Apparatus and method for producing device identifiers for serially interconnected devices of mixed type

Also Published As

Publication number Publication date
TW200623123A (en) 2006-07-01
DE102005047197B4 (en) 2013-07-18
DE102005047197A1 (en) 2006-04-06

Similar Documents

Publication Publication Date Title
TW316979B (en) Semiconductor memory device
TW578167B (en) A destructive read architecture for dynamic random access memories
US7187608B2 (en) System and method for controlling the access and refresh of a memory
JP4524759B2 (en) Detection circuit for mixed asynchronous and synchronous memory operations
TWI331327B (en) Raid controller disk write mask
KR20180011642A (en) Semiconductor device
KR101027181B1 (en) Memory control method and memory system
TW201604884A (en) Method and system for error management in a memory device
TW594740B (en) Destructive-read random access memory system buffered with destructive-read memory cache
JP4304172B2 (en) Integrated circuit device
TW201101029A (en) Cache controlling apparatus, information processing apparatus and computer-readable recording medium on or in which cache controlling program is recorded
TWI378449B (en) Semiconductor memory and operating method of same
TW594742B (en) Semiconductor memory device
JP2004342244A (en) Semiconductor memory system and electronic device
TW200537514A (en) Semiconductor memory
KR100805528B1 (en) Method and apparatus for partial refreshing of dram
TW200425145A (en) Method and device for error checking and correcting in refresh cycle of dynamic random access memory
TWI275100B (en) Semiconductor memory devices in which the number of memory banks to be refreshed may be changed and methods of operating the same
JP4544808B2 (en) Semiconductor memory device control method and semiconductor memory device
TWI267855B (en) System and method for controlling the access and refresh of a memory
JP2004288225A (en) Dram (dynamic random access memory) and access method
US6631094B2 (en) Semiconductor memory device having SRAM interface
TW516036B (en) Semiconductor memory device
TW574693B (en) Semiconductor memory device
JP2011044218A (en) Semiconductor memory device