TW201437812A - Methods for accessing memory and controlling access of memory, memory device and memory controller - Google Patents

Methods for accessing memory and controlling access of memory, memory device and memory controller Download PDF

Info

Publication number
TW201437812A
TW201437812A TW102109806A TW102109806A TW201437812A TW 201437812 A TW201437812 A TW 201437812A TW 102109806 A TW102109806 A TW 102109806A TW 102109806 A TW102109806 A TW 102109806A TW 201437812 A TW201437812 A TW 201437812A
Authority
TW
Taiwan
Prior art keywords
address
page
memory
data
signal
Prior art date
Application number
TW102109806A
Other languages
Chinese (zh)
Other versions
TWI533135B (en
Inventor
Clark Shihyen Shuieh
Original Assignee
Mediatek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mediatek Inc filed Critical Mediatek Inc
Priority to TW102109806A priority Critical patent/TWI533135B/en
Priority to CN201310220521.3A priority patent/CN104064213B/en
Publication of TW201437812A publication Critical patent/TW201437812A/en
Application granted granted Critical
Publication of TWI533135B publication Critical patent/TWI533135B/en

Links

Abstract

A method for accessing a memory, applied to a memory device coupled to a multiplexed address/data bus and an address bus and comprising a memory array, comprises: receiving a low-order bit signal of an address information through the multiplexed address/data bus and receiving a high-order bit signal of the address information through the address bus; receiving an advanced access signal through the address bus; and performing an access operation on the memory array to access data according to the address information and the advanced access signal and receiving/transmitting the data through the address/data bus.

Description

記憶體存取方法、記憶體存取控制方法、記憶體裝置與記憶體控制器 Memory access method, memory access control method, memory device and memory controller

本發明係有關於記憶體裝置,且特別有關於偽靜態隨機存取記憶體(Pseudo Static Random Access Memory,PSRAM)。 The present invention relates to a memory device, and more particularly to a Pseudo Static Random Access Memory (PSRAM).

記憶體為例如筆記型電腦、平板電腦、智慧型手機等電子裝置的重要部件之一,可依照電源關閉後是否還能保存資料而區分為動態隨機存取記憶體(Dynamic Random Access Memory,DRAM)以及靜態隨機存取記憶體(Static Random Access Memory,SRAM)。DRAM具有面積小、價格低等優點,但在操作上必須時常更新(refresh)以防止資料因漏電流而遺失,因此DRAM也有存取速度及消耗功率方面的問題。另一方面,SRAM在操作上不需時常更新,具有存取速度可高速化及低消耗功率等優點,但由於通常一個SRAM單元係由6個電晶體所構成,因此會有高積體化困難及高價格等缺失。 The memory is one of the important components of an electronic device such as a notebook computer, a tablet computer, a smart phone, etc., and can be classified into a dynamic random access memory (DRAM) according to whether or not the data can be saved after the power is turned off. And Static Random Access Memory (SRAM). DRAM has the advantages of small area and low price, but it must be updated frequently to prevent data from being lost due to leakage current. Therefore, DRAM also has problems in access speed and power consumption. On the other hand, SRAM does not need to be updated frequently in operation, and has the advantages of high access speed and low power consumption. However, since an SRAM cell is usually composed of six transistors, it is difficult to achieve high integration. And high prices are missing.

偽靜態隨機存取記憶體(Pseudo Static Random Access Memory,PSRAM)為具有內建更新電路以及位址控制電 路的動態隨機存取記憶體,運作時看起來與SRAM類似。在一些PSRAM中,為了節省接腳(pin)數,會將位址資訊和存取資料多工至相同接腳,也就是說,輸出入資料與位址輸入的某些位元共用匯流排。第1圖所示為具有位址/資料多工匯流排(Multiplexed address/data bus)之PSRAM的讀出(read)操作時序圖,此圖以一大小為32Mb且具有16位元之位址/資料多工匯流排的PSRAM為例。在此PSRAM中,資料D和位址資訊ADD的較低位元(位元0~15)透過位址/資料多工匯流排傳輸,如位址/資料多工匯流排訊號A/DQ[15:0]所示,而位址資訊ADD的較高位元(位元16~20)透過位址匯流排傳輸,如位址匯流排訊號A[20:16]所示。在讀出操作中,位址資訊ADD被輸入至位址/資料多工匯流排以及位址匯流排,在寫入致能訊號WE#不被致能且鎖存致能訊號LE#被致能時,位址資訊ADD被鎖存(latch)。在特定的存取時間之後,一個字元大小的資料D從位址/資料多工匯流排輸出。第2圖所示為與第1圖相同之PSRAM的叢發讀出(burst read)操作時序圖。第2圖所示為4個字元的叢發讀出。在叢發讀出操作中,位址資訊ADD被輸入至位址/資料多工匯流排以及位址匯流排,在寫入致能訊號WE#不被致能且鎖存致能訊號LE#被致能時,根據第一個時脈訊號CLK上升邊緣鎖存位址資訊ADD。經過一些等待週期(例如3至8個時脈週期)之後,字元資料D[0]~D[3]在輸出致能訊號OE#為低位階時從位址/資料多工匯流排連續輸出。 Pseudo Static Random Access Memory (PSRAM) with built-in update circuit and address control The dynamic random access memory of the road looks like SRAM when it operates. In some PSRAMs, in order to save the number of pins, the address information and access data are multiplexed to the same pin, that is, the input and output data and the address input bits share the bus. Figure 1 shows the read operation timing diagram of the PSRAM with multiplexed address/data bus. The figure is a 32Mb address with 16 bits/ Take the PSRAM of the data multiplex bus as an example. In this PSRAM, the lower bits (bits 0~15) of the data D and the address information ADD are transmitted through the address/data multiplex bus, such as the address/data multiplex bus signal A/DQ[15 :0], and the higher bits (bits 16~20) of the address information ADD are transmitted through the address bus, as shown by the address bus signal A[20:16]. In the read operation, the address information ADD is input to the address/data multiplex bus and the address bus, and the write enable signal WE# is not enabled and the latch enable signal LE# is enabled. When the address information ADD is latched. After a specific access time, data D of one character size is output from the address/data multiplex bus. Fig. 2 is a timing chart showing the burst read operation of the PSRAM which is the same as Fig. 1. Figure 2 shows the burst readout of 4 characters. In the burst read operation, the address information ADD is input to the address/data multiplex bus and the address bus, and the write enable signal WE# is not enabled and the latch enable signal LE# is When enabled, the address information ADD is latched according to the rising edge of the first clock signal CLK. After some waiting period (for example, 3 to 8 clock cycles), the character data D[0]~D[3] are continuously outputted from the address/data multiplex bus when the output enable signal OE# is low. .

一般而言,在PSRAM的連續頁面讀出操作中,每個頁面讀出週期中會先傳送讀出頁面的指令,例如輸入欲讀出 頁面的位址資訊,接著讀出頁面資料,以此類推直到連續頁面讀出結束。然而在此種連續頁面讀出的操作中會有很多等待週期(wait cycle),例如每個頁面讀出週期中都會有第2圖所示之位址/資料多工匯流排訊號A/DQ[15:0]上位址資訊ADD與資料D[0]之間的等待週期,因此會降低資料讀出速率。同樣地,在PSRAM的連續頁面寫入操作中也可能會出現一些等待週期,降低資料寫入速率。尤其當PSRAM進行其內建的更新操作時,為了避免更新操作與讀出/寫入操作發生衝突,此時的等待週期可能會較長。綜上所述,PSRAM進行存取(讀出/寫入)操作時不必要的等待週期會影響資料存取速率。 Generally, in the continuous page read operation of the PSRAM, an instruction to read the page is first transmitted in each page read cycle, for example, the input is to be read. The address information of the page, then the page data is read, and so on until the end of the continuous page read. However, there are many wait cycles in such continuous page read operations. For example, each page read cycle will have the address/data multiplex bus signal A/DQ shown in FIG. 2 [ 15:0] Waiting period between the upper address information ADD and the data D[0], thus reducing the data read rate. Similarly, some wait cycles may occur during sequential page write operations of the PSRAM, reducing the data write rate. Especially when the PSRAM performs its built-in update operation, in order to avoid a conflict between the update operation and the read/write operation, the wait period at this time may be long. In summary, the unnecessary waiting period of the PSRAM for access (read/write) operations affects the data access rate.

為減少不必要的等待週期以改善上述PSRAM的資料存取速率,本發明利用傳輸高位元位址訊號的位址輸入匯流排傳輸進階存取訊號,使記憶體裝置根據進階存取訊號進行進階存取操作,因此可連續存取資料,提昇資料存取速率,並具有更多元的存取模式。 In order to reduce the unnecessary waiting period to improve the data access rate of the above PSRAM, the present invention transmits an advanced access signal by using an address input bus that transmits a high bit address signal, so that the memory device performs the advanced access signal according to the advanced access signal. Advanced access operations, so continuous access to data, increased data access rate, and more access modes.

本發明一實施例提供一種記憶體存取方法,適用於耦接至一位址/資料多工匯流排與一位址匯流排的一記憶體裝置,該記憶體裝置包括一記憶體陣列,其中該記憶體存取方法包括:透過該位址/資料多工匯流排接收一位址資訊之低位元位址訊號並透過該位址匯流排接收該位址資訊之高位元位址訊號;透過該位址匯流排接收一進階存取訊號;以及根據該位址資訊以及該進階存取訊號,對該記憶體陣列進行一存取操作以存取資料,並透過該位址/資料多工匯流排接收/傳送該資 料。 An embodiment of the present invention provides a memory access method, which is applicable to a memory device coupled to an address/data multiplex bus and an address bus, the memory device including a memory array, wherein The memory access method includes: receiving, by the address/data multiplex bus, a low bit address signal of the address information and receiving a high bit address signal of the address information through the address bus; The address bus receives an advanced access signal; and performs an access operation on the memory array to access the data according to the address information and the advanced access signal, and multiplexes the address/data through the address/data Bus receiving/transmitting this capital material.

本發明另一實施例提供一種記憶體存取控制方法,用於控制耦接至一位址/資料多工匯流排與一位址匯流排的一記憶體裝置的存取操作,該記憶體裝置包括一記憶體陣列,其中該記憶體存取控制方法包括:透過該位址/資料多工匯流排傳送一位址資訊之低位元位址訊號並透過該位址匯流排傳送該位址資訊之高位元位址訊號至該記憶體裝置;透過該位址匯流排傳送一進階存取訊號至該記憶體裝置;以及控制該記憶體裝置,使該記憶體裝置根據該位址資訊以及該進階存取訊號進行一存取操作以存取資料,並藉由該位址/資料多工匯流排從該記憶體裝置接收該資料或傳送該資料至該記憶體裝置。 Another embodiment of the present invention provides a memory access control method for controlling an access operation of a memory device coupled to an address/data multiplex bus and an address bus, the memory device The memory access control method includes: transmitting, by the address/data multiplex bus, a low bit address signal of the address information and transmitting the address information through the address bus Transmitting a high bit address signal to the memory device; transmitting an advanced access signal to the memory device through the address bus; and controlling the memory device to cause the memory device to follow the address information and the The access signal performs an access operation to access data and receives the data from the memory device or transmits the data to the memory device via the address/data multiplex bus.

本發明另一實施例提供一種記憶體裝置,耦接至一位址/資料多工匯流排與一位址匯流排,包括:一記憶體核心,包括一記憶體陣列;一輸入端子,耦接至該位址匯流排和該記憶體核心,透過該位址匯流排接收一位址資訊之高位元位址訊號以及一進階存取訊號;一輸入/輸出電路和緩衝器,耦接至該位址/資料多工匯流排和該記憶體核心,透過該位址/資料多工匯流排接收該位址資訊之低位元位址訊號,並透過該位址/資料多工匯流排接收/傳送資料;一控制邏輯,耦接至該記憶體核心以及該輸入/輸出電路和緩衝器,接收複數個控制訊號,根據該等控制訊號控制該記憶體核心,使該記憶體核心根據該位址資訊以及該進階存取訊號,對該記憶體陣列進行一存取操作以存取資料。 Another embodiment of the present invention provides a memory device coupled to an address/data multiplex bus and an address bus, including: a memory core including a memory array; and an input terminal coupled Up to the address bus and the memory core, the high-order address signal of the address information and the advanced access signal are received through the address bus; an input/output circuit and a buffer are coupled to the address The address/data multiplex bus and the memory core receive the low bit address signal of the address information through the address/data multiplex bus and receive/transmit through the address/data multiplex bus Data, a control logic coupled to the memory core and the input/output circuit and the buffer, receiving a plurality of control signals, controlling the memory core according to the control signals, so that the memory core is based on the address information And the advanced access signal, performing an access operation on the memory array to access the data.

本發明再一實施例提供一種記憶體控制器,接收一存取指令,並根據該存取指令產生複數個控制訊號至耦接至一位址/資料多工匯流排與一位址匯流排的一記憶體裝置,以控制該記憶體裝置的存取操作,該記憶體裝置包括一記憶體陣列,其中該記憶體控制器包括:一輸入/輸出單元,耦接至該位址/資料多工匯流排,將從該存取指令擷取出的一位址資訊的低位元位址訊號透過該位址/資料多工匯流排傳送至該記憶體裝置,並透過該位址/資料多工匯流排接收/傳送資料;一輸出單元,耦接至該位址匯流排,將該位址資訊之高位元位址訊號以及一進階存取訊號透過該位址匯流排傳送至該記憶體裝置;以及一存取控制邏輯,耦接至該輸入/輸出單元以及該輸入單元,根據該存取指令控制該輸入/輸出單元以及該輸入單元,並控制該等控制訊號之一鎖存致能訊號,使該記憶體裝置根據該位址資訊以及該進階存取訊號進行一存取操作以存取資料。 According to still another embodiment of the present invention, a memory controller receives an access command and generates a plurality of control signals according to the access command to be coupled to an address/data multiplex bus and an address bus. a memory device for controlling an access operation of the memory device, the memory device comprising an array of memory, wherein the memory controller comprises: an input/output unit coupled to the address/data multiplex a bus, the low-order address signal of the address information extracted from the access command is transmitted to the memory device through the address/data multiplex bus, and the address/data multiplex bus is transmitted through the address/data multiplex bus Receiving/transmitting data; an output unit coupled to the address bus, transmitting the high bit address signal of the address information and an advanced access signal to the memory device through the address bus; and An access control logic coupled to the input/output unit and the input unit, controlling the input/output unit and the input unit according to the access instruction, and controlling one of the control signals to latch the enable signal, The memory device an access operation according to the address information and advanced access signal to access data.

80‧‧‧記憶體裝置 80‧‧‧ memory device

82‧‧‧記憶體核心 82‧‧‧ memory core

800‧‧‧記憶體陣列 800‧‧‧ memory array

810‧‧‧控制邏輯 810‧‧‧Control logic

820‧‧‧位址解碼邏輯 820‧‧‧ address decoding logic

830‧‧‧更新組態暫存器 830‧‧‧Update configuration register

840‧‧‧匯流排組態暫存器 840‧‧‧ Bus Configurator Register

850‧‧‧輸入/輸出電路和緩衝器 850‧‧‧Input/Output Circuits and Buffers

900‧‧‧記憶體控制器 900‧‧‧ memory controller

910‧‧‧輸入/輸出單元 910‧‧‧Input/output unit

911、912‧‧‧多工器 911, 912‧‧‧ multiplexers

920‧‧‧輸出單元 920‧‧‧Output unit

921‧‧‧輸入輸出緩衝器 921‧‧‧Input and output buffers

922‧‧‧輸出緩衝器 922‧‧‧Output buffer

923、961‧‧‧緩衝器 923, 961‧‧‧ buffer

930‧‧‧平行至串列轉換邏輯 930‧‧‧ parallel to serial conversion logic

940‧‧‧進階存取控制邏輯 940‧‧ Advanced Access Control Logic

950‧‧‧及閘 950‧‧‧ and gate

962、963‧‧‧三態緩衝器 962, 963‧‧‧ tristate buffer

A[20:16]‧‧‧位址匯流排訊號 A[20:16]‧‧‧ address bus signal

A/DQ[15:0]、A/DQ[15:8]、A/DQ[7:0]‧‧‧位址/資料多工匯流排訊號 A/DQ[15:0], A/DQ[15:8], A/DQ[7:0]‧‧‧ Address/data multiplex bus signal

ADAC‧‧‧進階存取訊號 ADAC‧‧‧Advanced access signal

ADD‧‧‧位址資訊 ADD‧‧‧ address information

ADD[15:0]‧‧‧低位元位址訊號 ADD[15:0]‧‧‧low bit address signal

ADD[20:16]‧‧‧高位元位址訊號 ADD[20:16]‧‧‧High bit address signal

CE#‧‧‧晶片致能訊號 CE#‧‧‧chip enable signal

CLK‧‧‧時脈訊號 CLK‧‧‧ clock signal

D、D[0]、...、D[3]、P[0]D[0]、...、P[1]D[3]‧‧‧字元資料 D, D[0],...,D[3], P[0]D[0],...,P[1]D[3]‧‧‧ character data

D[15:0]‧‧‧寫入資料 D[15:0]‧‧‧Write information

High-Z‧‧‧高阻抗訊號 High-Z‧‧‧high impedance signal

LB#/UB#‧‧‧低位元組致能訊號/高位元組致能訊號 LB#/UB#‧‧‧Low-level group enable signal/high-order group enable signal

LE#‧‧‧鎖存致能訊號 LE#‧‧‧Latch enable signal

O_LE#‧‧‧原始鎖存致能訊號 O_LE#‧‧‧Original Latch Enable Signal

OE#‧‧‧輸出致能訊號 OE#‧‧‧ output enable signal

OPT‧‧‧模式參數 OPT‧‧‧ mode parameters

PCNT‧‧‧頁面計數值 PCNT‧‧‧ page count value

Q[15:0]‧‧‧讀出資料 Q[15:0]‧‧‧Reading information

R_ADD[20:0]‧‧‧位址訊號 R_ADD[20:0]‧‧‧ address signal

SEL1、SEL2、SEL3‧‧‧選擇訊號 SEL1, SEL2, SEL3‧‧‧ select signal

TE#1、TE#2‧‧‧三態致能訊號 TE#1, TE#2‧‧‧Three-state enable signal

WAIT‧‧‧等待訊號 WAIT‧‧‧waiting signal

WE#‧‧‧寫入致能訊號 WE#‧‧‧Write enable signal

WRAP‧‧‧順序參數 WRAP‧‧‧ order parameters

第1圖所示為習知的PSRAM的讀出操作時序圖;第2圖所示為習知的PSRAM的叢發讀出操作時序圖;第3圖所示為根據本發明一實施例之PSRAM的連續字元讀出操作的時序圖;第4圖所示為根據本發明一實施例之PSRAM的連續頁面讀出操作的時序圖;第5圖所示為根據本發明另一實施例之PSRAM的進階讀出 操作的時序圖;第6圖所示為根據本發明一實施例之PSRAM的連續字元寫入操作的時序圖;第7圖所示為根據本發明一實施例之PSRAM的進階寫入操作的時序圖;第8圖所示為根據本發明一實施例之PSRAM的示意圖;第9圖所示為根據本發明一實施例之記憶體控制器的示意圖。 1 is a timing chart of a read operation of a conventional PSRAM; FIG. 2 is a timing chart of a burst read operation of a conventional PSRAM; and FIG. 3 is a PSRAM according to an embodiment of the present invention. A timing diagram of a sequential character read operation; FIG. 4 is a timing diagram of a sequential page read operation of a PSRAM according to an embodiment of the present invention; and FIG. 5 is a PSRAM according to another embodiment of the present invention. Advanced readout Timing diagram of operation; FIG. 6 is a timing diagram of a continuous character write operation of a PSRAM according to an embodiment of the present invention; and FIG. 7 is a diagram showing an advanced write operation of a PSRAM according to an embodiment of the present invention. FIG. 8 is a schematic diagram of a PSRAM according to an embodiment of the invention; and FIG. 9 is a schematic diagram of a memory controller according to an embodiment of the invention.

以下說明是本發明的實施例。其目的是要舉例說明本發明一般性的原則,不應視為本發明之限制,本發明之範圍當以申請專利範圍所界定者為準。 The following description is an embodiment of the present invention. The intent is to exemplify the general principles of the invention and should not be construed as limiting the scope of the invention, which is defined by the scope of the claims.

本發明一實施例提供一種記憶體存取方法,適用於耦接至一位址/資料多工匯流排與一位址匯流排的一記憶體裝置,且記憶體裝置包括一記憶體陣列。在本揭露中,記憶體裝置為一偽靜態隨機存取記憶體(Pseudo Static Random Access Memory,PSRAM)裝置。在此記憶體存取方法中,記憶體裝置透過位址/資料多工匯流排接收位址資訊的低位元位址訊號並透過位址匯流排接收位址資訊的高位元位址訊號,還透過該位址匯流排接收進階存取訊號。接著根據位址資訊以及進階存取訊號對記憶體裝置的記憶體陣列進行存取操作以存取資料,並藉由位址/資料多工匯流接收/傳送存取資料。以下參照第3~7圖說明本發明之記憶體存取方法。 An embodiment of the present invention provides a memory access method, which is suitable for a memory device coupled to an address/data multiplex bus and an address bus, and the memory device includes a memory array. In the disclosure, the memory device is a Pseudo Static Random Access Memory (PSRAM) device. In the memory access method, the memory device receives the low bit address signal of the address information through the address/data multiplex bus and receives the high bit address signal of the address information through the address bus, and also transmits The address bus receives the advanced access signal. Then, the memory array of the memory device is accessed according to the address information and the advanced access signal to access the data, and the data is received/transmitted by the address/data multiplex convergence. The memory access method of the present invention will be described below with reference to Figs.

第3圖所示為根據本發明一實施例之PSRAM的連 續字元讀出操作的時序圖。PSRAM耦接至一位址/資料多工匯流排與一位址匯流排。在本揭露中,當晶片致能訊號CE#被致能時,也就是當晶片致能訊號為低位階時,啟動PSRAM,而當晶片致能訊號CE#為高位階時,PSRAM不啟動並進入待機模式或深度關機(deep power down)模式。且在本揭露中,當低位元組致能訊號/高位元組致能訊號LB#/UB#為低位階時,致能位址/資料多工匯流排,以輸入或輸出訊號。 Figure 3 is a diagram showing the connection of a PSRAM according to an embodiment of the present invention. A timing diagram of the continued character read operation. The PSRAM is coupled to an address/data multiplex bus and an address bus. In the present disclosure, when the chip enable signal CE# is enabled, that is, when the chip enable signal is at a low level, the PSRAM is activated, and when the chip enable signal CE# is at a high level, the PSRAM does not start and enters. Standby mode or deep power down mode. In the present disclosure, when the low-order enable signal/high-order enable signal LB#/UB# is low, the address/data multiplex bus is enabled to input or output signals.

如第3圖所示,記憶體透過位址/資料多工匯流排接收位址資訊ADD的低位元(low-order bit)位址訊號,並透過位址匯流排接收位址資訊ADD的高位元(high-order bit)位址訊號。在第3圖的例子中,位址資訊ADD具有21位元,位址/資料多工匯流排具有16位元,且位址匯流排具有5位元,因此位址資訊ADD中的0~15低位元由位址/資料多工匯流排傳送,如第3圖中位址/資料多工匯流排訊號A/DQ[15:0]上的位址資訊ADD所示,而位址資訊ADD中的16~20高位元由位址匯流排傳送,如第3圖中位址匯流排訊號A[20:16]上的位址資訊ADD所示。在寫入致能訊號WE#不被致能(致能訊號WE#為高位階)且鎖存致能訊號LE#被致能(鎖存致能訊號LE#為低位階)時,位址/資料多工匯流排上的低位元位址訊號和位址匯流排上的高位元位址訊號被鎖存(latch),也就是說,PSRAM擷取位址資訊ADD。在擷取位址資訊ADD之後,根據位址資訊ADD,從PSRAM之記憶體陣列中與位址資訊ADD相符的記憶位置讀出一字元資料D[0]。當致能訊號LE#再次被致能時,則擷取透過位址匯流排所輸入的進階存取訊號。在此例子中,進階存取訊號包括 字元計數值WCNT。然後,PSRAM根據所擷取的字元計數值WCNT,從記憶體陣列再連續讀出其位址連續接續於字元資料D[0]之後的字元資料D[1]、D[2]和D[3],其中字元計數值WCNT用來指示再讀出的字元資料數目,也就是說,在此例子中字元計數值WCNT為3,因此在讀出字元資料D[0]後會再接續讀出3個字元資料D[1]、D[2]和D[3],且字元資料D[0]~D[3]的位址為連續。當輸出致能訊號OE#被致能(輸出致能訊號OE#為低位階)時,透過位址/資料多工匯流排連續輸出字元資料D[0]~D[3]。綜上所述,相較於第1圖所示之讀出操作,本實施例之PSRAM可根據用來傳送高位元位址訊號之位址匯流排所傳送的進階存取訊號進行連續字元讀出,節省字元邊界上不必要的等待時間。 As shown in FIG. 3, the memory receives the low-order bit address signal of the address information ADD through the address/data multiplex bus, and receives the high-order element of the address information ADD through the address bus. (high-order bit) address signal. In the example of FIG. 3, the address information ADD has 21 bits, the address/data multiplex bus has 16 bits, and the address bus has 5 bits, so the address information ADD is 0-15. The low bit is transmitted by the address/data multiplex bus, as shown in the address information ADD on the address/data multiplex bus signal A/DQ[15:0] in Figure 3, and the address information ADD The 16~20 high bits are transmitted by the address bus, as indicated by the address information ADD on the address bus signal A[20:16] in FIG. When the write enable signal WE# is not enabled (enable signal WE# is high order) and the latch enable signal LE# is enabled (latch enable signal LE# is low level), address / The low bit address signal on the data multiplex bus and the high bit address signal on the address bus are latched, that is, the PSRAM retrieves the address information ADD. After the address information ADD is retrieved, a character data D[0] is read from the memory location of the PSRAM memory array that matches the address information ADD according to the address information ADD. When the enable signal LE# is enabled again, the advanced access signal input through the address bus is retrieved. In this example, advanced access signals include The character count value is WCNT. Then, the PSRAM continuously reads out the character data D[1], D[2] whose address is consecutively continued after the character data D[0] from the memory array according to the retrieved character count value WCNT. D[3], wherein the character count value WCNT is used to indicate the number of character data read again, that is, the character count value WCNT is 3 in this example, so after reading the character data D[0] The three character data D[1], D[2], and D[3] will be read out successively, and the addresses of the character data D[0]~D[3] are consecutive. When the output enable signal OE# is enabled (the output enable signal OE# is the lower level), the character data D[0]~D[3] is continuously output through the address/data multiplex bus. In summary, the PSRAM of the present embodiment can perform continuous characters according to the advanced access signals transmitted by the address bus used to transmit the high bit address signals, compared to the read operation shown in FIG. Read out to save unnecessary waiting time on the boundary of the character.

第4圖所示為根據本發明一實施例之PSRAM的連續頁面讀出操作的時序圖。PSRAM耦接至一位址/資料多工匯流排與一位址匯流排。與第3圖相似,當進行連續頁面讀出操作時,記憶體透過位址/資料多工匯流排接收位址資訊ADD的低位元位址訊號,並透過位址匯流排接收位址資訊ADD的高位元位址訊號。在此例子中,藉由位址匯流排輸入至PSRAM的進階存取訊號包括頁面計數值PCNT以及至少一順序參數WRAP。當鎖存致能訊號LE#被致能時,根據鎖存致能訊號LE#被致能的第一致能期間中時脈訊號CLK的第一觸發(trigger)擷取位址資訊ADD,也就是鎖存透過位址/資料多工匯流排輸入的低位元位址訊號以及鎖存透過位址匯流排輸入的高位元位址訊號,並根據此第一致能期間中時脈訊號CLK的第二觸發擷 取頁面計數值PCNT。在本揭露中,時脈訊號CLK為上升邊緣(rising edge)觸發。當擷取位址資訊ADD時,若寫入致能訊號WE#不被致能(寫入致能訊號WE#為高位階),則代表存取操作為讀出操作。接著,根據位址資訊ADD,從PSRAM之記憶體陣列中與位址資訊ADD相符的記憶位置讀出頁面P[0]的資料,也就是字元資料P[0]D[0]~P[0]D[3],其中頁面P[0]的字元資料P[0]D[0]~P[0]D[3]被讀出的順序依據PSRAM的預設順序(例如依序為字元0、1、2、3)進行。在此例子中,一頁面(page)包括4個字元(word),此僅為示例用,並非用以限制本發明。然後,根據頁面計數值PCNT,從記憶體陣列再讀出其位址連續接續於頁面P[0]之後的至少一頁面的資料,其中該至少一頁面的數目等於頁面計數值PCNT。舉例而言,在此例子中頁面計數值PCNT為1,因此會從記憶體陣列再讀出位址接續於頁面P[0]之後的頁面P[1]的資料,也就是字元資料P[1]D[0]~P[1]D[3]。對於根據頁面計數值PCNT進行的頁面P[0]以外的至少一頁面的讀出操作而言,每個頁面讀出操作中的字元讀出順序係根據每個頁面開始被讀出前至少1個時脈週期時,鎖存致能訊號LE#再次被致能期間中根據時脈訊號CLK之觸發所擷取的順序參數。舉例而言,如第4圖所示,頁面P[1]的字元資料P[1]D[0]~P[1]D[3]的讀出順序係根據在鎖存致能訊號LE#第二致能期間中根據時脈訊號CLK之觸發所擷取的順序參數WRAP,且順序參數WRAP在頁面P[1]開始被讀出前至少1個時脈週期時被擷取。例如,若順序參數WRAP之值為第一值,則字元讀出順序依序為字元0、1、2、3,若順序參數WRAP之值 為第二值,則字元讀出順序依序為字元1、2、3、0,以此類推。若在該至少一頁面其中某一頁面被讀出之前並未擷取到對應的順序參數WRAP,則該頁面的字元讀出順序可根據預設順序或是前一頁面的字元讀出順序。最後,記憶體透過位址/資料多工匯流排連續輸出所有讀出頁面的字元資料,例如第4圖所示的P[0]D[0]~P[0]D[3]和P[1]D[0]~P[1]D[3]。 Figure 4 is a timing diagram showing the sequential page read operation of the PSRAM in accordance with an embodiment of the present invention. The PSRAM is coupled to an address/data multiplex bus and an address bus. Similar to FIG. 3, when a continuous page read operation is performed, the memory receives the low bit address signal of the address information ADD through the address/data multiplex bus, and receives the address information ADD through the address bus. High bit address signal. In this example, the advanced access signal input to the PSRAM by the address bus includes a page count value PCNT and at least one sequence parameter WRAP. When the latch enable signal LE# is enabled, the first trigger triggers the address information ADD according to the first trigger of the clock signal CLK in the first enable period during which the latch enable signal LE# is enabled. Is to latch the low bit address signal input through the address/data multiplex bus and to latch the high bit address signal input through the address bus, and according to the first pulse signal CLK in the first enable period Second trigger Take the page count value PCNT. In the present disclosure, the clock signal CLK is triggered by a rising edge. When the address information ADD is retrieved, if the write enable signal WE# is not enabled (the write enable signal WE# is a high order), the access operation is a read operation. Then, according to the address information ADD, the data of the page P[0] is read from the memory location of the PSRAM memory array corresponding to the address information ADD, that is, the character data P[0]D[0]~P[ 0] D[3], wherein the order of the character data P[0]D[0]~P[0]D[3] of the page P[0] is read according to the preset order of the PSRAM (for example, Characters 0, 1, 2, 3) are performed. In this example, a page includes 4 words, which are for illustrative purposes only and are not intended to limit the invention. Then, according to the page count value PCNT, the data of at least one page whose address is consecutively connected after the page P[0] is read out from the memory array, wherein the number of the at least one page is equal to the page count value PCNT. For example, in this example, the page count value PCNT is 1, so the data of the page P[1] following the page P[0] after the address is read from the memory array, that is, the character data P[ 1] D[0]~P[1]D[3]. For a read operation of at least one page other than the page P[0] according to the page count value PCNT, the character read order in each page read operation is at least one before the start of each page is read. During the clock cycle, the latch enable signal LE# is again activated in the enablement period according to the sequence parameter captured by the trigger of the clock signal CLK. For example, as shown in FIG. 4, the reading order of the character data P[1]D[0]~P[1]D[3] of the page P[1] is based on the latch enable signal LE. In the second enabling period, the sequence parameter WRAP is extracted according to the trigger of the clock signal CLK, and the sequence parameter WRAP is captured at least one clock cycle before the page P[1] starts being read. For example, if the value of the sequence parameter WRAP is the first value, the order in which the characters are read is sequentially 0, 1, 2, and 3, if the value of the sequence parameter WRAP is For the second value, the character reading order is in order of characters 1, 2, 3, 0, and so on. If the corresponding sequence parameter WRAP is not captured before a certain page of the at least one page is read, the character reading order of the page may be according to a preset order or a character reading order of the previous page. . Finally, the memory continuously outputs the character data of all read pages through the address/data multiplex bus, such as P[0]D[0]~P[0]D[3] and P shown in FIG. [1] D[0]~P[1]D[3].

第5圖所示為根據本發明另一實施例之PSRAM的進階讀出操作的時序圖。第5圖之實施例與第4圖之實施例的差異在於進階存取訊號更包括一模式參數OPT。如上所述,記憶體透過位址/資料多工匯流排接收位址資訊ADD的低位元位址訊號,並透過位址匯流排接收位址資訊ADD的高位元位址訊號。在此例子中,透過位址匯流排輸入的進階存取訊號包括頁面計數值PCNT、模式參數OPT以及至少一順序參數WRAP。在鎖存致能訊號LE#被致能的第一致能期間根據時脈訊號CLK的第一觸發擷取位址資訊ADD,並在此第一致能期間中根據時脈訊號CLK的第二觸發擷取頁面計數值PCNT。當擷取位址資訊ADD時,若寫入致能訊號WE#不被致能,則代表存取操作為讀出操作。接著,根據位址資訊ADD,從PSRAM之記憶體陣列中與位址資訊ADD相符的記憶位置讀出頁面P[0]的資料,也就是字元資料P[0]D[0]~P[0]D[3],其中頁面P[0]的字元資料P[0]D[0]~P[0]D[3]被讀出的順序依據PSRAM的預設順序進行。PSRAM可根據頁面計數值PCNT從記憶體陣列再讀出頁面P[0]以外的至少一頁面的資料,其中該至少一頁面的數目與頁面計數值PCNT相符。在該至少一頁面開始被讀出前至少一個 時脈週期時,在鎖存致能訊號LE#的第二致能期間(例如在擷取位址資訊ADD以及頁面計數值PCNT之致能期間之後的另一致能期間),根據時脈訊號CLK的觸發擷取模式參數OPT。模式參數OPT用來決定進階存取操作的模式。若模式參數OPT為第一值(例如為0),代表待讀出之至少一頁面的位址為連續接續於頁面P[0]之後,也就是如第4圖所示的連續頁面讀出操作,換句話說,第4圖之連續頁面讀出操作為第5圖所示之進階讀出操作的一個特例(OPT為第一值)。 Fig. 5 is a timing chart showing an advanced read operation of the PSRAM according to another embodiment of the present invention. The difference between the embodiment of FIG. 5 and the embodiment of FIG. 4 is that the advanced access signal further includes a mode parameter OPT. As described above, the memory receives the low-order address signal of the address information ADD through the address/data multiplex bus, and receives the high-order address signal of the address information ADD through the address bus. In this example, the advanced access signal input through the address bus includes a page count value PCNT, a mode parameter OPT, and at least one sequence parameter WRAP. The address information ADD is retrieved according to the first trigger of the clock signal CLK during the first enable period in which the latch enable signal LE# is enabled, and is based on the second signal of the clock signal CLK during the first enable period. The trigger captures the page count value PCNT. When the address information ADD is retrieved, if the write enable signal WE# is not enabled, the access operation is a read operation. Then, according to the address information ADD, the data of the page P[0] is read from the memory location of the PSRAM memory array corresponding to the address information ADD, that is, the character data P[0]D[0]~P[ 0] D[3], wherein the order in which the character data P[0]D[0]~P[0]D[3] of the page P[0] is read is performed according to the preset order of the PSRAM. The PSRAM can read the data of at least one page other than the page P[0] from the memory array according to the page count value PCNT, wherein the number of the at least one page matches the page count value PCNT. At least one of the at least one page before being read During the clock cycle, during the second enable period of the latch enable signal LE# (eg, during another enable period after the enable of the address information ADD and the page count value PCNT), according to the clock signal CLK The trigger captures the mode parameter OPT. The mode parameter OPT is used to determine the mode of the advanced access operation. If the mode parameter OPT is the first value (for example, 0), it indicates that the address of at least one page to be read is continuous after the page P[0], that is, the continuous page read operation as shown in FIG. In other words, the sequential page read operation of FIG. 4 is a special case of the advanced read operation shown in FIG. 5 (OPT is the first value).

若模式參數為第二值(例如為1),則待讀出之至少一頁面中每個頁面的位址係根據透過位址匯流排輸入的位址資訊決定,且每個頁面的位址資訊係在該頁面被讀出前至少一個時脈週期時,於鎖存致能訊號LE#的致能期間(例如第三致能期間)根據時脈訊號CLK之觸發從位址匯流排擷取。因此,該至少一頁面可為位址不連續的頁面。舉例而言,若想要連續讀出頁面P[0]和P[3]的資料,首先P[0]之位址資訊ADD的低位元位址訊號與高位元位址訊號分別被輸入至位址/資料匯流排與位址匯流排,在鎖存致能訊號LE#的第一致能期間根據時脈訊號CLK的第一觸發擷取位址資訊ADD,並在鎖存致能訊號LE#的第一致能期間根據時脈訊號CLK的第二觸發擷取頁面計數值PCNT,其中頁面計數值PCNT為1。接著根據位址資訊ADD從記憶體陣列中讀出頁面P[0]的字元資料P[0]D[0]~P[0]D[3]。由於所擷取的頁面計數值PCNT為1,代表在頁面P[0]之後還有一個頁面待讀出。在此頁面開始被讀出前至少1個時脈週期時,於鎖存致能訊號LE#的第二致能期間根據時脈訊號CLK之觸發 擷取模式參數OPT,其中模式參數OPT為第二值,代表此頁面的位址不是連續接續於頁面P[0]之後,必須進一步根據位址匯流排所傳送的位址資訊得知此頁面的位址。並且,在此頁面開始被讀出前至少1個時脈週期時,於鎖存致能訊號LE#的第三致能期間根據時脈訊號CLK之觸發擷取此頁面的位址資訊,在此例子中為頁面P[3]的位址資訊,因此,PSRAM根據頁面P[3]的位址資訊從記憶體陣列中讀出頁面P[3]的資料。舉例而言,第5圖之例子中位址資訊具有21位元,而位址匯流排具有5位元,因此透過位址匯流排傳輸的完整位址資訊需要5個訊號脈衝,也就是說,需要經過5個脈衝週期才能完整擷取頁面P[3]的位址資訊,而此位址資訊必須在頁面P[3]開始被讀出前至少一個時脈週期時被擷取完畢。並且,在頁面P[3]開始被讀出前至少1個時脈週期時,於鎖存致能訊號LE#的致能期間根據時脈訊號CLK的觸發擷取對應至頁面P[3]的順序參數WRAP,以決定頁面P[3]的字元讀出順序。最後,記憶體透過位址/資料多工匯流排連續輸出所有頁面P[0]和P[3]的字元資料。綜上所述,在此情況中,即使頁面位址不連續,還是可以進行連續頁面讀出。 If the mode parameter is the second value (for example, 1), the address of each page in the at least one page to be read is determined according to the address information input through the address bus, and the address information of each page is At least one clock cycle before the page is read, during the enable period of the latch enable signal LE# (eg, during the third enable period), the address bus is drawn from the address bus according to the trigger of the clock signal CLK. Therefore, the at least one page may be a page with discontinuous addresses. For example, if you want to continuously read the data of pages P[0] and P[3], firstly, the low bit address signal and the high bit address signal of the address information ADD of P[0] are input into the bit respectively. The address/data bus and the address bus are used to capture the address information ADD according to the first trigger of the clock signal CLK during the first enable period of the latch enable signal LE#, and the latch enable signal LE# The first enable period captures the page count value PCNT according to the second trigger of the clock signal CLK, wherein the page count value PCNT is 1. Then, the character data P[0]D[0]~P[0]D[3] of the page P[0] is read from the memory array according to the address information ADD. Since the captured page count value PCNT is 1, it means that there is still a page to be read after the page P[0]. At least one clock cycle before the page begins to be read, triggered by the clock signal CLK during the second enable period of the latch enable signal LE# The mode parameter OPT is captured, wherein the mode parameter OPT is the second value, indicating that the address of the page is not continuously connected to the page P[0], and the address information of the address bus is further determined according to the address information transmitted by the address bus. Address. And, at least one clock cycle before the page starts to be read, the address information of the page is captured according to the trigger of the clock signal CLK during the third enable period of the latch enable signal LE#, in this example In the middle is the address information of the page P[3], therefore, the PSRAM reads the data of the page P[3] from the memory array according to the address information of the page P[3]. For example, in the example of FIG. 5, the address information has 21 bits, and the address bus has 5 bits. Therefore, the complete address information transmitted through the address bus requires 5 signal pulses, that is, It takes 5 pulse cycles to fully capture the address information of page P[3], and this address information must be retrieved at least one clock cycle before page P[3] is read. And, at least one clock cycle before the page P[3] starts to be read, the sequence corresponding to the page P[3] is captured according to the trigger of the clock signal CLK during the enable period of the latch enable signal LE#. The parameter WRAP is used to determine the order in which the characters of page P[3] are read. Finally, the memory continuously outputs the character data of all pages P[0] and P[3] through the address/data multiplex bus. In summary, in this case, continuous page readout can be performed even if the page address is not continuous.

若模式參數為第三值(例如為2),則在此進階讀出操作完成之前暫停(pending)執行所有的更新操作,以避免進階讀出操作與更新操作發生衝突(collision)。若模式參數為第四值(例如為3),代表有緊急的更新操作欲插入,則先執行此更新操作,並在此更新操作完成之前暫停原本正在進行的進階讀出操作。 If the mode parameter is a third value (for example, 2), all update operations are performed pending before the advanced read operation is completed to avoid collision between the advanced read operation and the update operation. If the mode parameter is the fourth value (for example, 3), indicating that there is an urgent update operation to be inserted, the update operation is performed first, and the advanced read operation that is currently being performed is suspended before the update operation is completed.

PSRAM的連續字元寫入操作、連續頁面寫入操作 以及進階寫入操作與上述之連續字元讀出操作、連續頁面讀出操作以及進階讀出操作相似,主要差異為在寫入操作中,寫入致能訊號WE#會被致能,且輸出致能訊號OE#不被致能。 Continuous character write operation, continuous page write operation of PSRAM And the advanced write operation is similar to the continuous character read operation, the continuous page read operation, and the advanced read operation described above, the main difference being that the write enable signal WE# is enabled during the write operation. And the output enable signal OE# is not enabled.

第6圖所示為根據本發明一實施例之PSRAM的連續字元寫入操作的時序圖。PSRAM耦接至一位址/資料多工匯流排與一位址匯流排。記憶體透過位址/資料多工匯流排接收位址資訊ADD的低位元位址訊號,並透過位址匯流排接收位址資訊ADD的高位元位址訊號。在鎖存致能訊號LE#被致能時擷取位址資訊ADD,由於在擷取位址資訊ADD之後寫入致能訊號WE#被致能,因此存取操作為寫入操作,PSRAM根據位址資訊ADD將透過位址/資料多工匯流排輸入的字元資料D[0]寫入至記憶體陣列中與位址資訊ADD相符的記憶位置。當致能訊號LE#再次被致能時,則擷取透過位址匯流排所輸入的進階存取訊號。在此例子中,進階存取訊號包括字元計數值WCNT。然後,PSRAM根據所擷取的字元計數值WCNT,將透過位址/資料多工匯流排輸入的字元資料D[1]~D[2]接續於字元資料D[0]之後寫入至記憶體陣列,其中字元計數值WCNT用來指示字元資料D[0]以外再寫入的字元資料數目,也就是說,在此例子中字元計數值WCNT為2。在本揭露中,於寫入操作的情況下,輸出致能訊號OE#不被致能。 Figure 6 is a timing diagram showing successive character write operations of a PSRAM in accordance with an embodiment of the present invention. The PSRAM is coupled to an address/data multiplex bus and an address bus. The memory receives the low-order address signal of the address information ADD through the address/data multiplex bus, and receives the high-order address signal of the address information ADD through the address bus. When the latch enable signal LE# is enabled, the address information ADD is retrieved. Since the write enable signal WE# is enabled after the address information ADD is retrieved, the access operation is a write operation, and the PSRAM is based on The address information ADD is written to the memory location in the memory array corresponding to the address information ADD through the character data D[0] input from the address/data multiplex bus. When the enable signal LE# is enabled again, the advanced access signal input through the address bus is retrieved. In this example, the advanced access signal includes the character count value WCNT. Then, the PSRAM writes the character data D[1]~D[2] input through the address/data multiplex bus to the character data D[0] according to the captured character count value WCNT. To the memory array, where the character count value WCNT is used to indicate the number of character data to be written in addition to the character data D[0], that is, the character count value WCNT is 2 in this example. In the present disclosure, in the case of a write operation, the output enable signal OE# is not enabled.

第7圖所示為根據本發明一實施例之PSRAM的進階寫入操作的時序圖。記憶體透過位址/資料多工匯流排接收位址資訊ADD的低位元位址訊號,並透過位址匯流排接收位址資訊ADD的高位元位址訊號。在此例子中,透過位址匯流排輸 入的進階存取訊號包括頁面計數值PCNT、模式參數OPT以及至少一順序參數WRAP。在鎖存致能訊號LE#被致能的第一致能期間根據時脈訊號CLK的第一觸發擷取位址資訊ADD,並在此第一致能期間中根據時脈訊號CLK的第二觸發擷取頁面計數值PCNT。當擷取位址資訊ADD時,若寫入致能訊號WE#被致能(寫入致能訊號WE#為低位階),則代表存取操作為寫入操作。接著,根據位址資訊ADD,將透過位址/資料多工匯流排輸入的頁面P[0]的字元資料P[0]D[0]~P[0]D[3]依據預設的字元寫入順序(例如依序為字元0、1、2、3)寫入至記憶體陣列中與位址資訊ADD相符的記憶位置。接著,PSRAM可根據頁面計數值PCNT,將透過位址/資料多工匯流排輸入的頁面P[0]以外的至少一頁面的資料寫入至記憶體陣列,其中該至少一頁面的數目與頁面計數值PCNT相符。在該至少一頁面開始被寫入前至少一個時脈週期時,在鎖存致能訊號LE#的第二致能期間,根據時脈訊號CLK的觸發擷取模式參數OPT。模式參數OPT用來決定進階存取操作的模式。若模式參數OPT為第一值(例如為0),代表待寫入之至少一頁面的位址為連續接續於頁面P[0]之後。若模式參數為第二值(例如為1),則待寫入之至少一頁面的位址係根據透過位址匯流排輸入的位址資訊決定,且每個頁面的位址資訊係在該頁面被讀出前至少一個時脈週期時,於鎖存致能訊號LE#的致能期間根據時脈訊號CLK之觸發從位址匯流排擷取。因此,該至少一頁面可為位址不連續的頁面。透過位址匯流排輸入每個該至少一頁面的位址資訊的操作與上述進階讀出操作類似,因此不再複述。上述至少一頁面之每一頁面 的字元寫入順序可根據順序參數WRAP決定。在每一頁面開始被寫入之前至少1個時脈週期時,於鎖存致能訊號LE#的致能期間根據時脈訊號CLK的觸發擷取上述順序參數WRAP,以根據所擷取的順序參數WRAP決定每一頁面的字元寫入順序。若模式參數為第三值(例如為2),則在此進階寫入操作完成之前暫停執行所有的更新操作,以避免進階寫入操作與更新操作發生衝突。若模式參數為第四值(例如為3),代表有緊急的更新操作欲插入,則先執行此更新操作,並在此更新操作完成之前暫停原本正在進行的進階寫入操作。PSRAM的連續頁面寫入操作與上述的連續頁面讀出操作類似,為進階寫入操作的一個特例(OPT為第一值),因此不再複述。在第4、5、7圖所示之時序圖中,等待訊號WAIT用來避免讀出/寫入操作與更新操作之間的衝突。 Figure 7 is a timing diagram showing the advanced write operation of the PSRAM in accordance with an embodiment of the present invention. The memory receives the low-order address signal of the address information ADD through the address/data multiplex bus, and receives the high-order address signal of the address information ADD through the address bus. In this example, the address is converged through the address. The advanced access signal includes a page count value PCNT, a mode parameter OPT, and at least one sequence parameter WRAP. The address information ADD is retrieved according to the first trigger of the clock signal CLK during the first enable period in which the latch enable signal LE# is enabled, and is based on the second signal of the clock signal CLK during the first enable period. The trigger captures the page count value PCNT. When the address information ADD is retrieved, if the write enable signal WE# is enabled (the write enable signal WE# is the lower level), the access operation is a write operation. Then, according to the address information ADD, the character data P[0]D[0]~P[0]D[3] of the page P[0] input through the address/data multiplex bus is according to the preset The character write order (eg, characters 0, 1, 2, 3 in sequence) is written to a memory location in the memory array that matches the address information ADD. Then, the PSRAM can write the data of at least one page other than the page P[0] input through the address/data multiplex bus to the memory array according to the page count value PCNT, wherein the number and page of the at least one page The count value PCNT matches. During at least one clock cycle before the at least one page begins to be written, during the second enable of the latch enable signal LE#, the mode parameter OPT is retrieved according to the trigger of the clock signal CLK. The mode parameter OPT is used to determine the mode of the advanced access operation. If the mode parameter OPT is the first value (for example, 0), it indicates that the address of at least one page to be written is consecutive after the page P[0]. If the mode parameter is the second value (for example, 1), the address of the at least one page to be written is determined according to the address information input through the address bus, and the address information of each page is on the page. At least one clock cycle before being read, during the enable period of the latch enable signal LE#, the address bus is extracted from the address bus according to the trigger of the clock signal CLK. Therefore, the at least one page may be a page with discontinuous addresses. The operation of inputting the address information of each of the at least one page through the address bus is similar to the above-described advanced read operation, and therefore will not be described again. Each of the above at least one page The order in which characters are written can be determined according to the order parameter WRAP. The sequence parameter WRAP is retrieved according to the trigger of the clock signal CLK during the enable period of the latch enable signal LE# during at least one clock cycle before the start of each page is written, according to the sequence taken The parameter WRAP determines the order in which characters are written for each page. If the mode parameter is the third value (for example, 2), all update operations are suspended until the advanced write operation is completed to avoid conflicts between the advanced write operation and the update operation. If the mode parameter is the fourth value (for example, 3), indicating that there is an urgent update operation to be inserted, the update operation is performed first, and the advanced write operation that is currently being performed is suspended before the update operation is completed. The sequential page write operation of the PSRAM is similar to the continuous page read operation described above, and is a special case of the advanced write operation (the OPT is the first value), and therefore will not be described again. In the timing diagrams shown in Figures 4, 5, and 7, the wait signal WAIT is used to avoid collisions between read/write operations and update operations.

綜上所述,本發明所提供的記憶體存取方法可節省位於字元邊界或是頁面邊界的不必要的等待週期,提昇資料存取速率,並具有更多元的存取模式。 In summary, the memory access method provided by the present invention can save unnecessary waiting periods at word boundaries or page boundaries, improve data access rate, and have more meta-access modes.

須注意的是,上述數值,例如字元計數值WCNT、位址資訊的位元數、位址/資料多工匯流排的位元數、位址匯流排的位元數、每個頁面的字元數、頁面計數值PCNT等,僅為示例用,並非用以限制本發明。 It should be noted that the above values, such as the character count value WCNT, the number of bits of the address information, the number of bits of the address/data multiplex bus, the number of bits of the address bus, and the words of each page The number of elements, the page count value PCNT, and the like are for illustrative purposes only and are not intended to limit the present invention.

第8圖所示為根據本發明一實施例之記憶體裝置80的示意圖。記憶體裝置80耦接至一位址/資料多工匯流排與一位址匯流排(未圖示),包括記憶體核心82、控制邏輯810、輸入端子(未圖示)、輸入/輸出電路和緩衝器850。記憶體核心82 包括記憶體陣列800、位址解碼邏輯820、更新組態暫存器(Refresh Configuration Register)830以及匯流排組態暫存器(Bus Configuration Register)840。在本實施例中,記憶體裝置80為一偽靜態隨機存取記憶體裝置,而記憶體陣列800為一動態隨機存取記憶體陣列。 Figure 8 is a schematic illustration of a memory device 80 in accordance with an embodiment of the present invention. The memory device 80 is coupled to an address/data multiplex bus and an address bus (not shown), including a memory core 82, control logic 810, input terminals (not shown), and input/output circuits. And buffer 850. Memory core 82 A memory array 800, an address decoding logic 820, a Refresh Configuration Register 830, and a Bus Configuration Register 840 are included. In this embodiment, the memory device 80 is a pseudo-static random access memory device, and the memory array 800 is a dynamic random access memory array.

輸入端子耦接至位址匯流排和記憶體核心,透過位址匯流排接收位址匯流排訊號A[20:16]。如上述第3~7圖所示,位址匯流排訊號A[20:16]包括位址資訊之高位元位址訊號以及進階存取訊號,在進階讀出操作和進階寫入操作中模式參數為第二值的情況下,還可包括待存取頁面的位址資訊。輸入/輸出電路和緩衝器850耦接至位址/資料多工匯流排和記憶體核心,透過位址/資料多工匯流排輸入/輸出位址/資料多工匯流排訊號A/DQ[15:0]。如上述第3~7圖所示,位址/資料多工匯流排訊號A/DQ[15:0]包括位址資訊之低位元位址訊號以及讀出/寫入資料。 The input terminal is coupled to the address bus and the memory core, and receives the address bus signal A[20:16] through the address bus. As shown in the above 3~7, the address bus signal A[20:16] includes the high bit address signal of the address information and the advanced access signal in the advanced read operation and the advanced write operation. In the case where the medium mode parameter is the second value, the address information of the page to be accessed may also be included. Input/output circuit and buffer 850 are coupled to address/data multiplex bus and memory core, through address/data multiplex bus input/output address/data multiplex bus signal A/DQ[15 :0]. As shown in the above 3~7, the address/data multiplex bus signal A/DQ[15:0] includes the low bit address signal of the address information and the read/write data.

控制邏輯810耦接至記憶體核心和輸入/輸出電路和緩衝器850,接收複數個控制訊號,根據該等控制訊號控制記憶體核心以及輸入/輸出電路和緩衝器850,使記憶體裝置80進行上述之存取操作。該等控制訊號包括晶片致能訊號CE#、寫入致能訊號WE#、輸出致能訊號OE#、鎖存致能訊號LE#、控制暫存器致能訊號CRE、低位元組致能訊號LB#、高位元組致能訊號UB#、時脈訊號CLK等。控制邏輯810還輸出等待訊號WAIT至處理器。記憶體核心以及輸入/輸出電路和緩衝器850也根據時脈訊號CLK進行時序控制。透過控制邏輯810的控 制,記憶體核心根據位址資訊以及進階存取訊號,對記憶體陣列800進行一存取操作以存取資料。存取操作可包括上述之連續字元讀出操作、連續頁面讀出操作、進階讀出操作、連續字元寫入操作、連續頁面寫入操作和進階寫入操作。 The control logic 810 is coupled to the memory core and the input/output circuit and the buffer 850, receives a plurality of control signals, controls the memory core and the input/output circuit and the buffer 850 according to the control signals, and causes the memory device 80 to perform The above access operation. The control signals include a chip enable signal CE#, a write enable signal WE#, an output enable signal OE#, a latch enable signal LE#, a control register enable signal CRE, and a low byte enable signal. LB#, high byte enable signal UB#, clock signal CLK, etc. Control logic 810 also outputs a wait signal WAIT to the processor. The memory core and the input/output circuits and buffer 850 are also time-stamped according to the clock signal CLK. Control through control logic 810 The memory core performs an access operation on the memory array 800 to access data according to the address information and the advanced access signal. The access operations may include the continuous character read operation, the sequential page read operation, the advanced read operation, the continuous character write operation, the continuous page write operation, and the advanced write operation described above.

在連續字元讀出操作和連續字元寫入操作中,進階存取訊號包括字元計數值,如上述之字元計數值WCNT。在鎖存致能訊號LE#的第一致能期間,控制邏輯810控制記憶體核心擷取位址資訊。在擷取位址資訊之後,若寫入致能訊號WE不被致能,則進行連續字元讀出操作,反之,若寫入致能訊號WE被致能,則進行連續字元寫入操作。在連續字元讀出操作中,記憶體核心根據位址資訊從記憶體陣列800讀出一字元資料,並於鎖存致能訊號LE#之第二致能期間擷取字元計數值,根據字元計數值從記憶體陣列800連續讀出接續於該字元資料之後的至少一字元資料,再透過輸入/輸出電路和緩衝器850將該字元資料以及該至少一字元資料連續輸出至該位址/資料多工匯流排。該至少一字元資料的數目等於該字元計數值。連續字元讀出操作的時序圖如第3圖所示。在連續字元寫入操作中,記憶體核心根據位址資訊,將輸入/輸出電路和緩衝器850所輸入的一字元資料寫入至記憶體陣列800,並於鎖存致能訊號LE#之第二致能期間擷取字元計數值,根據字元計數值,將輸入/輸出電路和緩衝器850所輸入的至少一字元資料接續於該字元資料之後連續寫入至記憶體陣列800。該至少一字元資料的數目等於該字元計數值。連續字元寫入操作的時序圖如第6圖所示。 In the continuous character read operation and the continuous character write operation, the advanced access signal includes a character count value, such as the above-described character count value WCNT. During the first enable of the latch enable signal LE#, the control logic 810 controls the memory core to retrieve the address information. After the address information is retrieved, if the write enable signal WE is not enabled, a continuous character read operation is performed, and if the write enable signal WE is enabled, a continuous character write operation is performed. . In the continuous character read operation, the memory core reads a character data from the memory array 800 according to the address information, and captures the character count value during the second enable of the latch enable signal LE#. And reading at least one character data subsequent to the character data from the memory array 800 according to the character count value, and continuing the character data and the at least one character data through the input/output circuit and the buffer 850. Output to this address/data multiplex bus. The number of the at least one character data is equal to the character count value. The timing diagram of the continuous character read operation is shown in Figure 3. In the continuous character write operation, the memory core writes a character data input by the input/output circuit and the buffer 850 to the memory array 800 according to the address information, and latches the enable signal LE#. During the second enabling period, the character count value is retrieved, and at least one character data input by the input/output circuit and the buffer 850 is successively written to the memory array according to the character count value. 800. The number of the at least one character data is equal to the character count value. The timing diagram for the continuous character write operation is shown in Figure 6.

在進階讀出操作和進階寫入操作中,進階存取訊號包括頁面計數值、模式參數以及至少一順序參數,例如上述之頁面計數值PCNT、模式參數OPT以及至少一順序參數WRAP。記憶體核心在鎖存致能訊號LE#之第一致能期間,根據時脈訊號CLK之第一觸發擷取位址資訊,並在該第一致能期間根據時脈訊號CLK之第二觸發擷取頁面計數值。若擷取位址資訊時寫入致能訊號WE#不被致能,則進行進階讀出操作,反之,若擷取位址資訊時寫入致能訊號WE#被致能,則進行進階寫入操作。在進階讀出操作中,記憶體核心根據所擷取的位址資訊,從記憶體陣列800讀出一頁面的資料,並根據該頁面計數值,從記憶體陣列800連續讀出至少一頁面的資料,再透過輸入/輸出電路和緩衝器850,藉由位址/資料多工匯流排連續輸出該頁面以及該至少一頁面的資料。在進階寫入操作中,記憶體核心根據所擷取的位址資訊,將位址/資料多工匯流排所輸入的一頁面的資料寫入至記憶體陣列800,並根據該頁面計數值,將位址/資料多工匯流排所傳輸的至少一頁面的資料連續寫入至記憶體陣列800。其中,該至少一頁面的數目等於該頁面計數值。在每一該至少一頁面的讀出或寫入中,其字元讀出或寫入順序係根據該至少一順序參數其中一順序參數。在每一該至少一頁面開始被讀出或寫入前至少一個時脈週期時,記憶體核心於鎖存致能訊號LE#之致能期間根據時脈訊號CLK之觸發擷取上述順序參數,以決定每一該至少一頁面的字元讀出或寫入順序。 In the advanced read operation and the advanced write operation, the advanced access signal includes a page count value, a mode parameter, and at least one sequence parameter, such as the page count value PCNT, the mode parameter OPT, and the at least one sequence parameter WRAP. The memory core captures the address information according to the first trigger of the clock signal CLK during the first enable of the latch enable signal LE#, and triggers according to the second trigger of the clock signal CLK during the first enable period. Capture the page count value. If the write enable signal WE# is not enabled when the address information is retrieved, an advanced read operation is performed. Otherwise, if the write enable signal WE# is enabled when the address information is retrieved, then proceed Order write operation. In the advanced read operation, the memory core reads a page of data from the memory array 800 according to the captured address information, and continuously reads at least one page from the memory array 800 according to the page count value. The data is then continuously outputted through the input/output circuit and the buffer 850 by the address/data multiplex bus to the page and the data of the at least one page. In the advanced write operation, the memory core writes the data of a page input by the address/data multiplex bus to the memory array 800 according to the captured address information, and according to the page count value. The data of at least one page transmitted by the address/data multiplex bus is continuously written to the memory array 800. The number of the at least one page is equal to the page count value. In each read or write of the at least one page, the character read or write sequence is based on one of the sequence parameters of the at least one sequence parameter. The memory core captures the sequence parameter according to the trigger of the clock signal CLK during the enablement of the latch enable signal LE# during each of the at least one page beginning to be read or written for at least one clock cycle. To determine the order in which characters are read or written for each of the at least one page.

另外,在一開始被讀出或寫入前至少一個時脈週 期時,記憶體核心於鎖存致能訊號LE#之第二致能期間,根據時脈訊號CLK之觸發擷取該模式參數。若該模式參數為第一值,則該至少一頁面的位址為連續接續於該頁面之後。若該模式參數為第二值,則在每一該至少一被讀出或寫入前至少一個時脈週期時,記憶體核心於鎖存致能訊號LE#之第三致能期間根據時脈訊號CLK之觸發從位址匯流排所擷取的目標位址即為每一該至少一頁面的位址。若該模式參數為第三值,則在進階讀出操作或進階寫入操作完成之前,控制邏輯810暫停記憶體核心的更新操作。若該模式參數為第四值,則在記憶體核心的更新操作完成之前,控制邏輯810暫停記憶體核心的進階讀出操作或進階寫入操作。 In addition, at least one clock cycle before being read or written at the beginning During the second period of the latch enable signal LE#, the memory core retrieves the mode parameter according to the trigger of the clock signal CLK. If the mode parameter is the first value, the address of the at least one page is consecutive after the page. If the mode parameter is the second value, the memory core is in accordance with the clock during the third enable period of the latch enable signal LE# during each of the at least one clock cycle before being read or written. The target address captured by the signal CLK from the address bus is the address of each of the at least one page. If the mode parameter is a third value, the control logic 810 suspends the update operation of the memory core before the advanced read operation or the advanced write operation is completed. If the mode parameter is the fourth value, the control logic 810 suspends the advanced read operation or the advanced write operation of the memory core before the update operation of the memory core is completed.

如上所述,連續頁面讀出操作為進階讀出操作中模式參數為第一值的特例,其時序圖如第4圖所示,因此不再複述。同樣地,連續頁面寫入操作為進階寫入操作中模式參數為第一值的特例,因此不再複述。 As described above, the continuous page read operation is a special case in which the mode parameter is the first value in the advanced read operation, and the timing chart thereof is as shown in FIG. 4, and therefore will not be described again. Similarly, the continuous page write operation is a special case where the mode parameter is the first value in the advanced write operation, and therefore will not be described again.

第9圖所示為根據本發明一實施例之記憶體控制器900的示意圖。記憶體控制器900可被整合在主處理器(host processor)中,也可以是外接至主處理器的記憶體介面的一部分。記憶體控制器900接受存取指令,並根據存取指令產生複數個控制訊號至耦接至一位址/資料多工匯流排與一位址匯流排的一記憶體裝置,例如第8圖之記憶體裝置80,以控制該記憶體裝置的存取操作。該等控制訊號可包括上述之晶片致能訊號CE#、寫入致能訊號WE#、輸出致能訊號OE#、鎖存致能訊號LE#、控制暫存器致能訊號CRE、低位元組致能訊號LB#、高 位元組致能訊號UB#、時脈訊號CLK等。記憶體控制器900可耦接至位址暫存器(未圖示)、資料暫存器(未圖示)和指令暫存器(未圖示),包括輸入/輸出單元910、輸出單元920以及進階存取控制邏輯940。 FIG. 9 is a schematic diagram of a memory controller 900 in accordance with an embodiment of the present invention. The memory controller 900 can be integrated into a host processor or can be part of a memory interface external to the host processor. The memory controller 900 receives the access command and generates a plurality of control signals according to the access command to a memory device coupled to the address/data multiplex bus and the address bus, for example, FIG. The memory device 80 controls the access operation of the memory device. The control signals may include the above-mentioned chip enable signal CE#, write enable signal WE#, output enable signal OE#, latch enable signal LE#, control register enable signal CRE, low byte Enable signal LB#, high The byte enables the signal UB#, the clock signal CLK, and the like. The memory controller 900 can be coupled to an address register (not shown), a data register (not shown), and an instruction register (not shown), including an input/output unit 910 and an output unit 920. And advanced access control logic 940.

輸入/輸出單元910耦接至位址/資料多工匯流排,用以透過位址/資料多工匯流排從記憶體裝置輸入位址/資料多工匯流排訊號A/DQ[15:0]或輸出位址/資料多工匯流排訊號A/DQ[15:0]至記憶體裝置。位址/資料多工匯流排訊號A/DQ[15:0]包括從存取指令擷取出的位址資訊ADD的低位元位址訊號ADD[15:0]以及讀出資料Q[15:0]/寫入資料D[15:0]。 輸入/輸出單元910包括多工器911和輸入輸出緩衝器921。輸入輸出緩衝器921包括緩衝器961和三態緩衝器(tri-state buffer)962。多工器911受進階存取控制邏輯940的選擇訊號SEL1控制而選擇性地輸出寫入資料D[15:0]或位址資訊ADD的低位元位址訊號ADD[15:0]。多工器911的輸出耦接至三態緩衝器962的輸入,三態緩衝器962受進階存取控制邏輯940的三態致能訊號TE1#控制,當三態致能訊號TE1#被致能時(三態致能訊號TE1#為低位階時),三態緩衝器962輸出高阻抗訊號High-Z,例如在位址/資料多工匯流排從輸入切換至輸出或從輸出切換至輸入的期間,三態緩衝器962通常會輸出高阻抗訊號High-Z。當三態致能訊號TE1#不被致能時,其輸出多工器921的輸出訊號。 The input/output unit 910 is coupled to the address/data multiplex bus for inputting the address/data multiplex bus signal A/DQ[15:0] from the memory device through the address/data multiplex bus. Or output address/data multiplex bus signal A/DQ[15:0] to the memory device. The address/data multiplex bus signal A/DQ[15:0] includes the low bit address signal ADD[15:0] of the address information ADD fetched from the access command and the read data Q[15:0 ]/Write data D[15:0]. The input/output unit 910 includes a multiplexer 911 and an input and output buffer 921. The input and output buffer 921 includes a buffer 961 and a tri-state buffer 962. The multiplexer 911 is selectively controlled by the selection signal SEL1 of the advanced access control logic 940 to selectively output the low bit address signal ADD[15:0] of the write data D[15:0] or the address information ADD. The output of the multiplexer 911 is coupled to the input of the tristate buffer 962. The tristate buffer 962 is controlled by the tristate enable signal TE1# of the advanced access control logic 940. When the tristate enable signal TE1# is induced When the three-state enable signal TE1# is low level, the tri-state buffer 962 outputs a high-impedance signal High-Z, for example, switching from the input to the output or from the output to the input in the address/data multiplex bus. During the period, the tristate buffer 962 usually outputs a high impedance signal High-Z. When the tri-state enable signal TE1# is not enabled, it outputs the output signal of the multiplexer 921.

輸出單元920包括多工器912、輸出緩衝器922以及平行至串列轉換邏輯930。多工器912接收位址資訊ADD的高位 元位址訊號ADD[20:16]以及從存取指令擷取出的進階存取訊號ADAC,並透過平行至串列轉換邏輯930接收從存取指令擷取出的位址訊號R_ADD[20:0]。多工器912受進階存取控制邏輯940的選擇訊號SEL2和SEL3控制而選擇性地輸出位址資訊ADD的高位元位址訊號ADD[20:16]、進階存取訊號ADAC或位址訊號R_ADD[20:0]。輸出緩衝器922包括三態緩衝器963,其受進階存取控制邏輯940的三態致能訊號TE2#控制,選擇性地輸出多工器912的輸出訊號或是高阻抗訊號High-Z。 Output unit 920 includes multiplexer 912, output buffer 922, and parallel to serial conversion logic 930. The multiplexer 912 receives the high bit of the address information ADD The meta-address signal ADD[20:16] and the advanced access signal ADAC retrieved from the access instruction, and receive the address signal R_ADD[20:0] retrieved from the access instruction through the parallel-to-serial conversion logic 930. ]. The multiplexer 912 is selectively controlled by the selection signals SEL2 and SEL3 of the advanced access control logic 940 to selectively output the high bit address signal ADD[20:16] of the address information ADD, the advanced access signal ADAC or the address. Signal R_ADD[20:0]. The output buffer 922 includes a tristate buffer 963 which is controlled by the tristate enable signal TE2# of the advanced access control logic 940 to selectively output the output signal of the multiplexer 912 or the high impedance signal High-Z.

進階取控制邏輯940耦接至輸入/輸出單元910以及輸出單元920,根據存取指令控制輸入/輸出單元910以及輸出單元920,並控制鎖存致能訊號LE#,使記憶體裝置可根據位址資訊ADD以及進階存取訊號ADAC進行存取操作。其中進階存取控制邏輯940更輸出一鎖存致能控制訊號至及閘950,及閘950接收從存取指令擷取出的原始鎖存致能訊號O_LE#以及上述鎖存致能控制訊號以產生鎖存致能訊號LE#,並透過緩衝器923輸出至記憶體裝置。 The advanced fetch control logic 940 is coupled to the input/output unit 910 and the output unit 920, controls the input/output unit 910 and the output unit 920 according to the access command, and controls the latch enable signal LE# so that the memory device can be The address information ADD and the advanced access signal ADAC perform access operations. The advanced access control logic 940 further outputs a latch enable control signal to the AND gate 950, and the gate 950 receives the original latch enable signal O_LE# extracted from the access command and the latch enable control signal. A latch enable signal LE# is generated and output to the memory device through the buffer 923.

須注意的是,第9圖之記憶體控制器900僅為示例,記憶體控制器900還可包括產生各控制訊號的訊號產生單元,例如時脈訊號產生單元等。 It should be noted that the memory controller 900 of FIG. 9 is only an example, and the memory controller 900 may further include a signal generating unit that generates each control signal, such as a clock signal generating unit.

在記憶體控制器900的記憶體存取控制操作中,輸入/輸出單元910透過該位址/資料多工匯流排將位址資訊ADD的低位元位址訊號ADD[15:0]傳送至記憶體裝置,輸出單元920透過位址匯流排將位址資訊ADD的高位元位址訊號ADD[20:16]傳送至記憶體裝置。接著,輸出單元920更透過位址匯流排將 進階存取訊號ADAC傳送至記憶體裝置。記憶體裝置根據位址資訊ADD以及進階存取訊號ADAC進行存取操作以存取資料,且存取的資料係透過位址/資料多工匯流排在記憶體裝置與記憶體控制器900之間傳輸。 In the memory access control operation of the memory controller 900, the input/output unit 910 transmits the low-order address signal ADD[15:0] of the address information ADD to the memory through the address/data multiplex bus. The device 920 transmits the high-order address signal ADD[20:16] of the address information ADD to the memory device through the address bus. Then, the output unit 920 is further passed through the address bus. The advanced access signal ADAC is transferred to the memory device. The memory device accesses the data according to the address information ADD and the advanced access signal ADAC, and the accessed data is stored in the memory device and the memory controller 900 through the address/data multiplexing bus. Transfer between.

存取操作可包括上述之連續字元讀出操作、連續頁面讀出操作、進階讀出操作、連續字元寫入操作、連續字元頁面操作和進階寫入操作。在連續字元讀出操作和連續字元寫入操作的控制中,進階存取訊號ADAC包括字元計數值WCNT。進階存取控制邏輯940藉由控制鎖存致能控制訊號而於第一致能期間致能鎖存致能訊號LE#,使記憶體裝置在第一致能期間擷取位址資訊ADD。之後,若記憶體控制器900不致能寫入致能訊號WE#,則使記憶體裝置進行連續字元讀出操作,反之,若記憶體控制器900致能寫入致能訊號WE#,則使記憶體裝置進行連續字元寫入操作。在連續字元讀出操作的控制中,記憶體裝置根據位址資訊ADD從記憶體陣列中與位址資訊ADD相符的記憶位置讀出一字元資料。進階存取控制邏輯940於第二致能期間致能鎖存致能訊號LE#,使記憶體裝置在第二致能期間擷取字元計數值WCNT,然後記憶體裝置根據字元計數值WCNT從記憶體陣列連續讀出接續於該字元資料之後的至少一字元資料。記憶體控制器900致能輸出致能訊號OE#,使記憶體裝置透過位址/資料多工匯流排將該字元資料以及該至少一字元資料輸出至輸入/輸出單元910。在連續字元寫入操作的控制中,記憶體裝置根據位址資訊ADD將輸入/輸出單元920透過位址/資料多工匯流排傳送的一字元資料寫入至記憶體陣列 中與位址資訊ADD相符的記憶位置。進階存取控制邏輯940於第二致能期間致能鎖存致能訊號LE#,使記憶體裝置在第二致能期間擷取字元計數值WCNT,然後記憶體裝置根據字元計數值WCNT,將輸入/輸出單元910透過位址/資料多工匯流排傳送的至少一字元資料接續於該字元資料之後連續寫入至記憶體陣列。其中,上述至少一字元資料的數目等於字元計數值WCNT。 The access operations may include the continuous character read operation described above, the sequential page read operation, the advanced read operation, the continuous character write operation, the continuous character page operation, and the advanced write operation. In the control of the continuous character read operation and the continuous character write operation, the advanced access signal ADAC includes the character count value WCNT. The advanced access control logic 940 enables the latch enable signal LE# during the first enable period by controlling the latch enable control signal to cause the memory device to retrieve the address information ADD during the first enablement. Thereafter, if the memory controller 900 is unable to write the enable signal WE#, the memory device performs a continuous character read operation, and if the memory controller 900 enables the write enable signal WE#, The memory device is subjected to a continuous character write operation. In the control of the continuous character read operation, the memory device reads a character data from the memory location in the memory array that matches the address information ADD based on the address information ADD. The advanced access control logic 940 enables the latch enable signal LE# during the second enable period to cause the memory device to capture the character count value WCNT during the second enable period, and then the memory device according to the character count value The WCNT continuously reads at least one character data following the character data from the memory array. The memory controller 900 enables the output enable signal OE# to cause the memory device to output the character data and the at least one character data to the input/output unit 910 through the address/data multiplex bus. In the control of the continuous character write operation, the memory device writes a character data transmitted by the input/output unit 920 through the address/data multiplex bus to the memory array according to the address information ADD. The memory location in the address information ADD. The advanced access control logic 940 enables the latch enable signal LE# during the second enable period to cause the memory device to capture the character count value WCNT during the second enable period, and then the memory device according to the character count value WCNT, the at least one character data transmitted by the input/output unit 910 through the address/data multiplex bus is successively written to the memory array after the character data is connected. The number of the at least one character data is equal to the character count value WCNT.

在進階讀出操作和進階寫入操作的控制中,進階存取訊號ADAC包括頁面計數值PCNT、模式參數OPT以及至少一順序參數WRAP。進階存取控制邏輯940於第一致能期間致能鎖存致能訊號LE#,使記憶體裝置在第一致能期間根據時脈訊號CLK的第一觸發擷取位址資訊ADD,並在第一致能期間根據時脈訊號CLK的第二觸發擷取擷取頁面計數值PCNT。在位址資訊ADD被擷取時,若記憶體控制器900不致能寫入致能訊號WE#,則使記憶體裝置進行進階讀出操作,反之,若記憶體控制器900致能寫入致能訊號WE#,則使記憶體裝置進行進階寫入操作。在進階讀出操作中,記憶體裝置根據位址資訊ADD,從記憶體陣列中與位址資訊ADD相符的記憶位置讀出一頁面的資料,並根據頁面計數值PCNT,再從記憶體陣列連續讀出至少一頁面的資料。記憶體控制器900致能輸出致能訊號OE#,使記憶體裝置透過位址/資料多工匯流排將該頁面以及該至少一頁面的資料輸出至輸入/輸出單元910。在進階寫入操作中,記憶體裝置根據位址資訊ADD,將輸入/輸出單元910透過位址/資料多工匯流排傳送的一頁面的資料寫入至記憶體陣列中與 位址資訊ADD相符的記憶位置,並根據頁面計數值PCNT,將輸入/輸出單元910透過位址/資料多工匯流排傳送的至少一頁面的資料連續寫入至記憶體陣列。在每一該至少一頁面的讀出或寫入中,其字元讀出或寫入順序係根據該至少一順序參數其中一順序參數,其中在每一該至少一頁面開始被讀出或寫入前至少一個時脈週期時,進階存取控制邏輯940致能鎖存致能訊號LE#以使記憶體裝置根據時脈訊號CLK之觸發擷取上述順序參數。 In the control of the advanced read operation and the advanced write operation, the advanced access signal ADAC includes a page count value PCNT, a mode parameter OPT, and at least one sequence parameter WRAP. The advanced access control logic 940 enables the latch enable signal LE# during the first enable period, so that the memory device retrieves the address information ADD according to the first trigger of the clock signal CLK during the first enablement period, and The page count value PCNT is retrieved according to the second trigger of the clock signal CLK during the first enable period. When the address information ADD is captured, if the memory controller 900 is unable to write the enable signal WE#, the memory device is caused to perform an advanced read operation, and if the memory controller 900 is enabled to write The enable signal WE# causes the memory device to perform an advanced write operation. In the advanced read operation, the memory device reads the data of a page from the memory location in the memory array corresponding to the address information ADD according to the address information ADD, and according to the page count value PCNT, and then from the memory array. Read at least one page of data continuously. The memory controller 900 enables the output enable signal OE# to cause the memory device to output the page and the data of the at least one page to the input/output unit 910 through the address/data multiplex bus. In the advanced write operation, the memory device writes the data of the page transmitted by the input/output unit 910 through the address/data multiplex bus to the memory array according to the address information ADD. The address information ADD matches the memory location, and according to the page count value PCNT, the data of the at least one page transmitted by the input/output unit 910 through the address/data multiplex bus is continuously written to the memory array. In each read or write of the at least one page, the character read or write sequence is based on one of the sequence parameters of the at least one sequence parameter, wherein each of the at least one page begins to be read or written. When at least one clock cycle is entered, the advanced access control logic 940 enables the latch enable signal LE# to cause the memory device to retrieve the sequence parameters according to the trigger of the clock signal CLK.

另外,在一開始被讀出或寫入前至少一個時脈週期時,進階存取控制邏輯940於第二致能期間致能鎖存致能訊號LE#,使記憶體裝置在第二致能期間根據時脈訊號CLK之觸發擷取模式參數OPT。若模式參數OPT為第一值,則該至少一頁面的位址為連續接續於該頁面之後。若模式參數OPT為第二值,則每一該至少一頁面的位址係根據記憶體裝置所擷取的位址訊號R_ADD[20:0]。在每一該至少一頁面被讀出或寫入前至少一個時脈週期時,進階存取控制邏輯940於第三致能期間致能鎖存致能訊號LE#,以使記憶體裝置在第三致能期間根據時脈訊號CLK之觸發擷取輸出單元920透過位址匯流排所傳送的位址訊號R_ADD[20:0],以決定每一該至少一頁面的位址。若該模式參數為第三值,則在進階讀出操作或進階寫入操作完成之前,控制邏輯810暫停記憶體核心的更新操作。若該模式參數為第四值,則在記憶體核心的更新操作完成之前,控制邏輯810暫停記憶體核心的進階讀出操作或進階寫入操作。 In addition, the advanced access control logic 940 enables the latch enable signal LE# during the second enable period to enable the memory device to be in the second direction at least one clock cycle before being read or written. The mode parameter OPT is captured according to the trigger of the clock signal CLK during the energy period. If the mode parameter OPT is the first value, the address of the at least one page is consecutively subsequent to the page. If the mode parameter OPT is the second value, the address of each of the at least one page is based on the address signal R_ADD[20:0] captured by the memory device. At least one clock cycle before each of the at least one page is read or written, the advanced access control logic 940 enables the latch enable signal LE# during the third enable period to cause the memory device to The third enable period is based on the trigger of the clock signal CLK to capture the address signal R_ADD[20:0] transmitted by the output unit 920 through the address bus to determine the address of each of the at least one page. If the mode parameter is a third value, the control logic 810 suspends the update operation of the memory core before the advanced read operation or the advanced write operation is completed. If the mode parameter is the fourth value, the control logic 810 suspends the advanced read operation or the advanced write operation of the memory core before the update operation of the memory core is completed.

如上所述,連續頁面讀出操作為進階讀出操作中 模式參數為第一值的特例,且連續頁面寫入操作為進階寫入操作中模式參數為第一值的特例,因此不再複述記憶體控制器900對於連續頁面讀出操作和連續頁面寫入操作的控制。 As described above, the continuous page read operation is an advanced read operation. The mode parameter is a special case of the first value, and the continuous page write operation is a special case in which the mode parameter is the first value in the advanced write operation, so the memory controller 900 is not repeated for the continuous page read operation and the continuous page write. Control of the operation.

綜上所述,本發明之PSRAM透過位址/資料多工匯流排接收位址資訊之低位元位址訊號並透過位址匯流排接收位址資訊之高位元位址訊號,並更進一步透過位址匯流排的閒置期間接收進階存取訊號,以根據位址資訊以及進階存取訊號進行進階存取操作,藉此連續存取資料,提昇資料存取速率,並具有更多元的存取模式。 In summary, the PSRAM of the present invention receives the low-order address signal of the address information through the address/data multiplex bus and receives the high-order address signal of the address information through the address bus, and further passes the bit. The access bus receives the advanced access signal during the idle period to perform advanced access operations according to the address information and the advanced access signal, thereby continuously accessing the data, increasing the data access rate, and having more elements. Access mode.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何本領域具有通常技術知識者,在不違背本發明精神和範圍的情況下,可做些許變動與替代,因此本發明之保護範圍當應視隨後所附之申請專利範圍所界定者為準。 While the invention has been described above in terms of a preferred embodiment, it is not intended to limit the invention, and the invention may be modified and substituted without departing from the spirit and scope of the invention. The scope of the invention should be determined by the scope of the appended claims.

A[20:16]‧‧‧位址匯流排訊號 A[20:16]‧‧‧ address bus signal

A/DQ[15:0]‧‧‧位址/資料多工匯流排訊號 A/DQ[15:0]‧‧‧ Address/data multiplex bus signal

ADD‧‧‧位址資訊 ADD‧‧‧ address information

CE#‧‧‧晶片致能訊號 CE#‧‧‧chip enable signal

D[0]、D[1]、D[2]、D[3]‧‧‧字元資料 D[0], D[1], D[2], D[3]‧‧‧ character data

LB#/UB#‧‧‧低位元組致能訊號/高位元組致能訊號 LB#/UB#‧‧‧Low-level group enable signal/high-order group enable signal

LE#‧‧‧鎖存致能訊號 LE#‧‧‧Latch enable signal

OE#‧‧‧輸出致能訊號 OE#‧‧‧ output enable signal

WCNT‧‧‧字元計數值 WCNT‧‧‧ character count

WE#‧‧‧寫入致能訊號 WE#‧‧‧Write enable signal

Claims (21)

一種記憶體存取方法,適用於耦接至一位址/資料多工匯流排與一位址匯流排的一記憶體裝置,該記憶體裝置包括一記憶體陣列,其中該記憶體存取方法包括:透過該位址/資料多工匯流排接收一位址資訊之低位元位址訊號並透過該位址匯流排接收該位址資訊之高位元位址訊號;透過該位址匯流排接收一進階存取訊號;以及根據該位址資訊以及該進階存取訊號,對該記憶體陣列進行一存取操作以存取資料,並透過該位址/資料多工匯流排接收/傳送該資料。 A memory access method is applicable to a memory device coupled to an address/data multiplex bus and an address bus, the memory device including a memory array, wherein the memory access method The method comprises: receiving, by the address/data multiplex bus, a low bit address signal of the address information and receiving the high bit address signal of the address information through the address bus; receiving the bus through the address bus Advanced access signal; and performing an access operation on the memory array to access data according to the address information and the advanced access signal, and receiving/transmitting the data through the address/data multiplex bus data. 如申請專利範圍第1項所述之記憶體存取方法,其中該進階存取訊號包括一字元計數值,該記憶體存取方法更包括:接收一鎖存致能訊號以及一寫入致能訊號;在該鎖存致能訊號之第一致能期間擷取該位址資訊之後,若該寫入致能訊號不被致能,則根據該位址資訊從該記憶體陣列讀出一字元資料,於該鎖存致能訊號之第二致能期間擷取該字元計數值,根據該字元計數值從該記憶體陣列連續讀出接續於該字元資料之後的至少一字元資料,並透過該位址/資料多工匯流排連續輸出該字元資料以及該至少一字元資料;若該寫入致能訊號被致能,則根據該位址資訊,將該位址/資料多工匯流排所傳送的一字元資料寫入至該記憶體陣列,於該鎖存致能訊號之第二致能期間擷取該字元計數 值,根據該字元計數值,將該位址/資料多工匯流排所傳送的至少一字元資料接續於該字元資料之後連續寫入至該記憶體陣列;其中該至少一字元資料的數目等於該字元計數值。 The memory access method of claim 1, wherein the advanced access signal comprises a character count value, and the memory access method further comprises: receiving a latch enable signal and a write Enabling a signal; after the address information is retrieved during the first enablement of the latch enable signal, if the write enable signal is not enabled, reading from the memory array according to the address information a character data, the character count value is captured during a second enable period of the latch enable signal, and at least one subsequent to the character data is continuously read from the memory array according to the character count value Character data, and continuously outputting the character data and the at least one character data through the address/data multiplex bus; if the write enable signal is enabled, the bit is based on the address information One character data transmitted from the address/data multiplex bus is written to the memory array, and the character count is retrieved during the second enablement of the latch enable signal a value, according to the character count value, the at least one character data transmitted by the address/data multiplex bus is successively written to the memory array after the character data; wherein the at least one character data The number is equal to the character count value. 如申請專利範圍第1項所述之記憶體存取方法,其中該進階存取訊號包括一頁面計數值,該記憶體存取方法更包括:接收一時脈訊號、一鎖存致能訊號以及一寫入致能訊號;在該鎖存致能訊號之第一致能期間,根據該時脈訊號之第一觸發擷取該位址資訊;在該第一致能期間,根據該時脈訊號之第二觸發擷取該頁面計數值;若該位址資訊被擷取時該寫入致能訊號不被致能,則根據該位址資訊,從該記憶體陣列讀出一頁面的資料,並根據該頁面計數值,從該記憶體陣列連續讀出至少-頁面的資料,再透過該位址/資料多工匯流排連續輸出該頁面以及該至少-頁面的資料;以及若該位址資訊被擷取時該寫入致能訊號被致能,則根據該位址資訊,將該位址/資料多工匯流排所傳送的一頁面的資料寫入至該記憶體陣列,並根據該頁面計數值,將該位址/資料多工匯流排所傳送的至少-頁面的資料連續寫入至該記憶體陣列;其中該至少一頁面的數目等於該頁面計數值。 The memory access method of claim 1, wherein the advanced access signal comprises a page count value, and the memory access method further comprises: receiving a clock signal, a latch enable signal, and a write enable signal; during the first enable of the latch enable signal, the address information is retrieved according to the first trigger of the clock signal; during the first enablement, according to the clock signal The second trigger captures the page count value; if the write enable signal is not enabled when the address information is captured, reading a page of the data from the memory array according to the address information, And continuously reading at least -page data from the memory array according to the page count value, and continuously outputting the page and the at least-page data through the address/data multiplex bus; and if the address information When the write enable signal is enabled, the data of a page transmitted by the address/data multiplex bus is written to the memory array according to the address information, and according to the page Count value, the address / data multiplex convergence At least transmitted - data is continuously written into the page memory array; wherein the at least one page number is equal to the page count value. 如申請專利範圍第3項所述之記憶體存取方法,其中該進階存取訊號包括一頁面計數值以及至少一順序參數,其中在每 一該至少一頁面的讀出或寫入中,其字元讀出或寫入順序係根據每一該至少一頁面開始被讀出或寫入前至少一個時脈週期時,於該鎖存致能訊號之致能期間根據該時脈訊號之觸發所擷取的該至少一順序參數其中一順序參數。 The memory access method of claim 3, wherein the advanced access signal comprises a page count value and at least one sequence parameter, wherein each In the reading or writing of the at least one page, the character reading or writing sequence is caused by the latching according to each of the at least one page beginning to be read or written at least one clock cycle. One of the sequence parameters of the at least one sequence parameter retrieved according to the trigger of the clock signal during the enable of the signal. 如申請專利範圍第4項所述之記憶體存取方法,其中該至少一頁面的位址為連續接續於該頁面之後。 The memory access method of claim 4, wherein the address of the at least one page is consecutive after the page. 如申請專利範圍第4項所述之記憶體存取方法,其中該記憶體裝置具有更新功能,該進階存取訊號更包括一模式參數,該記憶體存取方法更包括:在該至少-頁面開始被讀出或寫入前至少一個時脈週期時,於該鎖存致能訊號之第二致能期間,根據該時脈訊號之觸發擷取該模式參數;若該模式參數為一第一值,則該至少一頁面的位址為連續接續於該頁面之後;若該模式參數為一第二值,則每一該至少-頁面的位址為每一該至少-頁面被讀出或寫入前至少一個時脈週期時,於該鎖存致能訊號之第三致能期間,根據該時脈訊號之觸發從該位址匯流排所擷取的目標位址;若該模式參數為一第三值,則在該存取操作完成之前暫停執行更新操作;以及若該模式參數為一第四值,則在更新操作完成之前暫停執行該存取操作。 The memory access method of claim 4, wherein the memory device has an update function, the advanced access signal further includes a mode parameter, and the memory access method further comprises: at least - The mode parameter is captured according to the trigger of the clock signal during the second enablement of the latch enable signal during the second enable period of the latch enable signal; if the mode parameter is a a value, the address of the at least one page is consecutive after the page; if the mode parameter is a second value, each of the at least - page addresses are read out for each of the at least - pages or During at least one clock cycle before writing, during the third enablement of the latch enable signal, the target address retrieved from the address bus according to the trigger of the clock signal; if the mode parameter is A third value suspends the performing the update operation before the access operation is completed; and if the mode parameter is a fourth value, the access operation is suspended until the update operation is completed. 如申請專利範圍第1項所述之記憶體存取方法,其中該記憶體裝置為一偽靜態隨機存取記憶體裝置。 The memory access method of claim 1, wherein the memory device is a pseudo-static random access memory device. 一種記憶體存取控制方法,用於控制耦接至一位址/資料多工匯流排與一位址匯流排的一記憶體裝置的存取操作,該記憶體裝置包括一記憶體陣列,其中該記憶體存取控制方法包括:透過該位址/資料多工匯流排傳送一位址資訊之低位元位址訊號並透過該位址匯流排傳送該位址資訊之高位元位址訊號至該記憶體裝置;透過該位址匯流排傳送一進階存取訊號至該記憶體裝置;以及控制該記憶體裝置,使該記憶體裝置根據該位址資訊以及該進階存取訊號進行一存取操作以存取資料,並藉由該位址/資料多工匯流排從該記憶體裝置接收該資料或傳送該資料至該記憶體裝置。 A memory access control method for controlling an access operation of a memory device coupled to an address/data multiplex bus and an address bus, the memory device including a memory array, wherein The memory access control method includes: transmitting a low bit address signal of the address information through the address/data multiplex bus and transmitting the high bit address signal of the address information through the address bus to the address a memory device that transmits an advanced access signal to the memory device through the address bus; and controls the memory device to cause the memory device to save according to the address information and the advanced access signal The operation is performed to access the data, and the data is received from the memory device or transmitted to the memory device by the address/data multiplex bus. 如申請專利範圍第8項所述之記憶體存取控制方法,其中該進階存取訊號包括一字元計數值,該等控制訊號包括一鎖存致能訊號以及一寫入致能訊號,該記憶體存取控制方法更包括:於一第一致能期間致能該鎖存致能訊號以控制該記憶體裝置在該第一致能期間擷取該位址資訊之後:若不致能該寫入致能訊號,則控制該記憶體裝置根據該位址資訊從該記憶體陣列讀出一字元資料,並於一第二致能期間致能該鎖存致能訊號以控制該記憶體裝置在該第二致能期間擷取該字元計數值,使該記憶體裝置根據該字元計數值從該記憶體陣列連續讀出接續於該字元資料之後的至 少一字元資料,再控制該記憶體裝置透過該位址/資料多工匯流排連續輸出該字元資料以及該至少一字元資料;若致能該寫入致能訊號,則控制該記憶體裝置根據該位址資訊將該位址/資料多工匯流排所傳輸的一字元資料寫入至該記憶體陣列,並於一第二致能期間致能該鎖存致能訊號以控制該記憶體裝置擷取該字元計數值,使該記憶體裝置根據該字元計數值將該位址/資料多工匯流排所傳輸的至少一字元資料接續於該字元資料之後連續寫入至該記憶體陣列;其中該等字元資料的數目等於該字元計數值。 The memory access control method of claim 8, wherein the advanced access signal comprises a character count value, and the control signals comprise a latch enable signal and a write enable signal. The memory access control method further includes: enabling the latch enable signal during a first enable period to control the memory device to capture the address information during the first enablement: if not Writing a enable signal controls the memory device to read a character data from the memory array according to the address information, and enable the latch enable signal to control the memory during a second enable period The device captures the character count value during the second enabling period, so that the memory device continuously reads from the memory array according to the character count value to continue after the character data Controlling the memory device to continuously output the character data and the at least one character data through the address/data multiplex bus; and if the write enable signal is enabled, controlling the memory The body device writes a character data transmitted by the address/data multiplex bus to the memory array according to the address information, and enables the latch enable signal to control during a second enable period. The memory device captures the character count value, so that the memory device continuously writes at least one character data transmitted by the address/data multiplex bus according to the character count value after the character data is connected to the character data. The memory array is entered; wherein the number of the character data is equal to the character count value. 如申請專利範圍第8項所述之記憶體存取控制方法,其中該進階存取訊號包括一頁面計數值,該等控制訊號包括一時脈訊號、一鎖存致能訊號以及一寫入致能訊號,該記憶體存取控制方法更包括:於一第一致能期間致能該鎖存致能訊號,以控制該記憶體裝置在該第一致能期間根據該時脈訊號之第一觸發擷取該位址資訊,並在該第一致能期間根據該時脈訊號之第二觸發擷取該頁面計數值;若該位址資訊被擷取時不致能該寫入致能訊號,則使該記憶體裝置根據該位址資訊,從該記憶體陣列讀出一頁面的資料,並根據該頁面計數值,從該記憶體陣列連續讀出至少一頁面的資料,再使該記憶體裝置透過該位址/資料多工匯流排連續輸出該頁面以及該至少一頁面的資料;以及若該位址資訊被擷取時致能該寫入致能訊號,則使該記憶 體裝置根據該位址資訊,將該位址/資料多工匯流排所傳送的一頁面的資料寫入至該記憶體陣列,並根據該頁面計數值,將該位址/資料多工匯流排所傳送的至少一頁面的資料連續寫入至該記憶體陣列;其中該至少一頁面的數目等於該頁面計數值。 The memory access control method of claim 8, wherein the advanced access signal comprises a page count value, the control signals including a clock signal, a latch enable signal, and a write The memory access control method further includes: enabling the latch enable signal during a first enable period to control the memory device to be first according to the clock signal during the first enablement period Triggering the address information, and extracting the page count value according to the second trigger of the clock signal during the first enabling period; if the address information is captured, the writing enable signal is not enabled. And causing the memory device to read data of a page from the memory array according to the address information, and continuously reading data of at least one page from the memory array according to the page count value, and then causing the memory The device continuously outputs the page and the data of the at least one page through the address/data multiplex bus; and enables the write enable signal if the address information is captured The body device writes the data of a page transmitted by the address/data multiplex bus to the memory array according to the address information, and according to the page count value, the address/data multiplex bus The transmitted data of at least one page is continuously written to the memory array; wherein the number of the at least one page is equal to the page count value. 如申請專利範圍第10項所述之記憶體存取控制方法,其中該進階存取訊號更包括至少一順序參數,其中在每一該至少一頁面的讀出或寫入中,其字元讀出或寫入順序係根據每一該至少一頁面開始被讀出或寫入前至少一個時脈週期時,致能該鎖存致能訊號以使該記憶體裝置根據該時脈訊號之觸發所擷取的該至少一順序參數其中一順序參數 The memory access control method of claim 10, wherein the advanced access signal further comprises at least one sequence parameter, wherein the character is read or written in each of the at least one page. The read or write sequence enables the latch enable signal to cause the memory device to trigger according to the clock signal according to at least one clock cycle before each of the at least one page is read or written. One of the sequence parameters of the at least one sequence parameter retrieved 如申請專利範圍第11項所述之記憶體存取控制方法,其中該至少一頁面的位址為連續接續於該頁面之後。 The memory access control method of claim 11, wherein the address of the at least one page is consecutive after the page. 如申請專利範圍第11項所述之記憶體存取控制方法,其中該記憶體裝置具有更新功能,該進階存取訊號更包括一模式參數,該記憶體存取控制方法更包括:在該至少一頁面開始被讀出或寫入前至少一個時脈週期時,於一第二致能期間致能該鎖存致能訊號,使該記憶體裝置在該第二致能期間根據該時脈訊號之觸發擷取該模式參數;若該模式參數為一第一值,則該至少一頁面的位址為連續接續於該頁面之後;若該模式參數為一第二值,則每一該至少一頁面的位址為每一該至少一被讀出或寫入前至少一個時脈週期時,於一 第三致能期間致能該鎖存致能訊號,使該記憶體裝置在該第三致能期間根據該時脈訊號之觸發所擷取的藉由該位址匯流排所傳送的目標位址;若該模式參數為一第三值,則在該記憶體裝置完成該存取操作之前控制該記憶體裝置暫停更新操作;以及若該模式參數為一第四值,則在該記憶體裝置的更新操作完成之前控制該記憶體裝置暫停該存取操作。 The memory access control method of claim 11, wherein the memory device has an update function, the advanced access signal further includes a mode parameter, and the memory access control method further includes: When at least one page begins to be read or written for at least one clock cycle, the latch enable signal is enabled during a second enable period, so that the memory device is in accordance with the clock during the second enablement period The triggering of the signal captures the mode parameter; if the mode parameter is a first value, the address of the at least one page is consecutive after the page; if the mode parameter is a second value, each of the at least The address of a page is at least one clock cycle before each of the at least one read or write, The latch enable signal is enabled during the third enable period to enable the memory device to capture the target address transmitted by the address bus according to the trigger of the clock signal during the third enable period If the mode parameter is a third value, controlling the memory device to suspend the update operation before the memory device completes the access operation; and if the mode parameter is a fourth value, then the memory device is The memory device is controlled to suspend the access operation before the update operation is completed. 如申請專利範圍第8項所述之記憶體記憶體存取控制方法,其中該記憶體裝置為一偽靜態隨機存取記憶體裝置。 The memory memory access control method of claim 8, wherein the memory device is a pseudo static random access memory device. 一種記憶體控制器,接收一存取指令,並根據該存取指令產生複數個控制訊號至耦接至一位址/資料多工匯流排與一位址匯流排的一記憶體裝置,以控制該記憶體裝置的存取操作,該記憶體裝置包括一記憶體陣列,其中該記憶體控制器包括:一輸入/輸出單元,耦接至該位址/資料多工匯流排,將從該存取指令擷取出的一位址資訊的低位元位址訊號透過該位址/資料多工匯流排傳送至該記憶體裝置,並透過該位址/資料多工匯流排接收/傳送資料;一輸出單元,耦接至該位址匯流排,將該位址資訊之高位元位址訊號以及一進階存取訊號透過該位址匯流排傳送至該記憶體裝置;以及一存取控制邏輯,耦接至該輸入/輸出單元以及該輸入單元,根據該存取指令控制該輸入/輸出單元以及該輸入單元,並控制該等控制訊號之一鎖存致能訊號,使該記憶體 裝置根據該位址資訊以及該進階存取訊號進行一存取操作以存取資料。 A memory controller receives an access command and generates a plurality of control signals according to the access command to a memory device coupled to the address/data multiplex bus and the address bus to control The memory device includes an array of memory, wherein the memory controller includes: an input/output unit coupled to the address/data multiplex bus, from which the memory device is to be stored The low-order address signal of the address information extracted by the instruction is transmitted to the memory device through the address/data multiplex bus, and the data is received/transmitted through the address/data multiplex bus; an output The unit is coupled to the address bus, and transmits the high bit address signal and the advanced access signal of the address information to the memory device through the address bus; and an access control logic coupled Connecting to the input/output unit and the input unit, controlling the input/output unit and the input unit according to the access command, and controlling one of the control signals to latch the enable signal to enable the memory The device performs an access operation according to the address information and the advanced access signal to access the data. 如申請專利範圍第15項所述之記憶體控制器,其中該進階存取訊號包括一字元計數值,該等控制訊號更包括一寫入致能訊號,其中在該存取控制邏輯於一第一致能期間致能該鎖存致能訊號,以控制該記憶體裝置在該第一致能期間擷取該位址資訊之後:若該記憶體控制器不致能該寫入致能訊號,則控制該記憶體裝置根據該位址資訊從該記憶體陣列讀出一字元資料,該存取控制邏輯於一第二致能期間致能該鎖存致能訊號,以控制該記憶體裝置擷取該字元計數值,使該記憶體裝置根據該字元計數值從該記憶體陣列連續讀出接續於該字元資料之後的至少一字元資料,且該輸入/輸出單元透過該位址/資料多工匯流排連續接收該字元資料以及該至少一字元資料;若該記憶體控制器致能該寫入致能訊號,則控制該記憶體裝置根據該位址資訊,將該輸入/輸出單元透過該位址/資料多工匯流排傳送至該記憶體裝置的一字元資料寫入至該記憶體陣列,該存取控制邏輯於一第二致能期間致能該鎖存致能訊號,以控制該記憶體裝置擷取該字元計數值,使該記憶體裝置根據該字元計數值,將該輸入/輸出單元透過該位址/資料多工匯流排傳送至該記憶體裝置的至少一字元資料接續於該字元資料之後連續寫入至該記憶體陣列;其中該等字元資料的數目等於該字元計數值。 The memory controller of claim 15, wherein the advanced access signal comprises a character count value, and the control signals further comprise a write enable signal, wherein the access control logic Enabling the latch enable signal during a first enable period to control the memory device to capture the address information during the first enablement: if the memory controller does not enable the write enable signal Controlling the memory device to read a character data from the memory array according to the address information, the access control logic enabling the latch enable signal during a second enable period to control the memory The device captures the character count value, so that the memory device continuously reads at least one character data subsequent to the character data from the memory array according to the character count value, and the input/output unit transmits the The address/data multiplex bus continuously receives the character data and the at least one character data; if the memory controller enables the write enable signal, controlling the memory device according to the address information The input/output unit is transparent Writing a character data of the address/data multiplex bus to the memory device to the memory array, the access control logic enabling the latch enable signal during a second enable period to Controlling the memory device to capture the character count value, and causing the memory device to transmit the input/output unit to the at least one of the memory device through the address/data multiplex bus according to the character count value The character data is successively written to the memory array after the character data; wherein the number of the character data is equal to the character count value. 如申請專利範圍第15項所述之記憶體控制器,其中該進階存取訊號包括一頁面計數值,該等控制訊號更包括一時脈訊號以及一寫入致能訊號,其中該存取控制邏輯於一第一致能期間致能該鎖存致能訊號,以控制該記憶體裝置在該第一致能期間根據該時脈訊號之第一觸發擷取該位址資訊,並在該第一致能期間根據該時脈訊號之第二觸發擷取該頁面計數值,其中:若該位址資訊被擷取時該記憶體控制器不致能該寫入致能訊號,則使該記憶體裝置根據該位址資訊,從該記憶體陣列讀出一頁面的資料,並根據該頁面計數值,從該記憶體陣列連續讀出至少一頁面的資料,再使該記憶體裝置透過該位址/資料多工匯流排連續輸出該頁面以及該至少一頁面的資料至該輸入/輸出單元;若該位址資訊被擷取時該記憶體控制器致能該寫入致能訊號,則使該記憶體裝置根據該位址資訊,將該位址/資料多工匯流排所傳輸的一頁面的資料寫入至該記憶體陣列,並根據該頁面計數值,將該位址/資料多工匯流排所傳送的至少一頁面的資料連續寫入至該記憶體陣列;其中該至少一頁面的數目等於該頁面計數值。 The memory controller of claim 15, wherein the advanced access signal comprises a page count value, and the control signals further comprise a clock signal and a write enable signal, wherein the access control The logic enables the latch enable signal during a first enable period to control the memory device to retrieve the address information according to the first trigger of the clock signal during the first enablement period, and The page count value is captured according to the second trigger of the clock signal during the coincidence period, wherein: if the memory controller does not enable the write enable signal when the address information is captured, the memory is enabled The device reads data of a page from the memory array according to the address information, and continuously reads data of at least one page from the memory array according to the page count value, and then causes the memory device to transmit the address through the address / data multiplex bus continuously outputs the page and the data of the at least one page to the input/output unit; if the memory controller enables the write enable signal when the address information is captured, Memory device based The address information is written to the memory array of the page transmitted by the address/data multiplex bus, and the address/data multiplex bus is transmitted according to the page count value. At least one page of data is continuously written to the memory array; wherein the number of the at least one page is equal to the page count value. 如申請專利範圍第17項所述之記憶體控制器,其中該進階存取訊號更包括至少一順序參數,其中在每一該至少一頁面的讀出或寫入中,其字元讀出或寫入順序係根據每一該至少一頁面開始被讀出或寫入前至少一個時脈週期時,該存取控制邏輯致能該鎖存致能訊號以使該記憶體裝置根據該時脈 訊號之觸發所擷取的該至少一順序參數其中一順序參數。 The memory controller of claim 17, wherein the advanced access signal further comprises at least one sequence parameter, wherein in each read or write of the at least one page, the character readout Or the write sequence is based on the at least one clock cycle before each of the at least one page is read or written, the access control logic enables the latch enable signal to cause the memory device to follow the clock One of the sequence parameters of the at least one sequence parameter retrieved by the triggering of the signal. 如申請專利範圍第18項所述之記憶體控制器,其中該至少一頁面的位址為連續接續於該頁面之後。 The memory controller of claim 18, wherein the address of the at least one page is consecutive after the page. 如申請專利範圍第18項所述之記憶體控制器,其中該記憶體裝置具有更新功能,該進階存取訊號更包括一模式參數,其中在該至少一頁面開始被讀出或寫入前至少一個時脈週期時,該存取控制邏輯於一第二致能期間致能該鎖存致能訊號,使該記憶體裝置在該第二致能期間根據該時脈訊號之觸發擷取該模式參數;若該模式參數為一第一值,則該至少一頁面的位址為連續接續於該頁面之後;若該模式參數為一第二值,則每一該至少一頁面的位址為每一該至少一被讀出前至少一個時脈週期時,該存取控制邏輯於一第三致能期間致能該鎖存致能訊號以使該記憶體裝置根據該時脈訊號之觸發所擷取的藉由該位址匯流排所傳送的目標位址;若該模式參數為一第三值,則在該記憶體裝置完成該存取操作之前,該記憶體控制器控制該記憶體裝置暫停更新操作;以及若該模式參數為一第四值,則在該記憶體裝置的更新操作完成之前,該記憶體控制器控制該記憶體裝置暫停該存取操作。 The memory controller of claim 18, wherein the memory device has an update function, the advanced access signal further includes a mode parameter, wherein before the at least one page begins to be read or written The at least one clock cycle, the access control logic enables the latch enable signal during a second enable period, so that the memory device captures the trigger according to the clock signal during the second enablement period a mode parameter; if the mode parameter is a first value, the address of the at least one page is consecutively connected to the page; if the mode parameter is a second value, the address of each of the at least one page is The access control logic enables the latch enable signal during a third enable period to enable the memory device to trigger according to the clock signal during each of the at least one clock cycle before the readout. Taking the target address transmitted by the address bus; if the mode parameter is a third value, the memory controller controls the memory device to be suspended before the memory device completes the access operation Update operation; The fourth mode is a parameter value, the memory device before updating the operation is completed, the memory controller controls the memory device to suspend the access operation. 如申請專利範圍第15項所述之記憶體控制器,其中該記憶體裝置為一偽靜態隨機存取記憶體裝置。 The memory controller of claim 15, wherein the memory device is a pseudo-static random access memory device.
TW102109806A 2013-03-20 2013-03-20 Methods for accessing memory and controlling access of memory, memory device and memory controller TWI533135B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW102109806A TWI533135B (en) 2013-03-20 2013-03-20 Methods for accessing memory and controlling access of memory, memory device and memory controller
CN201310220521.3A CN104064213B (en) 2013-03-20 2013-06-05 Memory access method, memory access control method and memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102109806A TWI533135B (en) 2013-03-20 2013-03-20 Methods for accessing memory and controlling access of memory, memory device and memory controller

Publications (2)

Publication Number Publication Date
TW201437812A true TW201437812A (en) 2014-10-01
TWI533135B TWI533135B (en) 2016-05-11

Family

ID=51551887

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102109806A TWI533135B (en) 2013-03-20 2013-03-20 Methods for accessing memory and controlling access of memory, memory device and memory controller

Country Status (2)

Country Link
CN (1) CN104064213B (en)
TW (1) TWI533135B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI608349B (en) * 2016-07-13 2017-12-11 Toshiba Memory Corp Memory device
US10860250B2 (en) 2016-07-13 2020-12-08 Toshiba Memory Corporation Memory device
TWI715928B (en) * 2016-07-13 2021-01-11 日商東芝記憶體股份有限公司 Memory device
TWI782378B (en) * 2016-07-13 2022-11-01 日商鎧俠股份有限公司 memory device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10566040B2 (en) * 2016-07-29 2020-02-18 Micron Technology, Inc. Variable page size architecture

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5903496A (en) * 1997-06-25 1999-05-11 Intel Corporation Synchronous page-mode non-volatile memory with burst order circuitry
US7774661B2 (en) * 2007-03-29 2010-08-10 Montage Technology Group Limited Register read mechanism
US8570790B2 (en) * 2011-01-13 2013-10-29 Cypress Semiconductor Corporation Memory devices and methods for high random transaction rate
US8649210B2 (en) * 2011-09-06 2014-02-11 Mediatek Inc. DDR PSRAM and data writing and reading methods thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI608349B (en) * 2016-07-13 2017-12-11 Toshiba Memory Corp Memory device
US10860250B2 (en) 2016-07-13 2020-12-08 Toshiba Memory Corporation Memory device
TWI715928B (en) * 2016-07-13 2021-01-11 日商東芝記憶體股份有限公司 Memory device
TWI782378B (en) * 2016-07-13 2022-11-01 日商鎧俠股份有限公司 memory device
US11507316B2 (en) 2016-07-13 2022-11-22 Kioxia Corporation Memory device

Also Published As

Publication number Publication date
CN104064213B (en) 2017-06-16
TWI533135B (en) 2016-05-11
CN104064213A (en) 2014-09-24

Similar Documents

Publication Publication Date Title
TW518501B (en) Microprocessing device having programmable wait states
CN102981776B (en) DDR PSRAM, controller and access method for DDR PSRAM and operating method thereof, and data writing and reading methods thereof
US7349285B2 (en) Dual port memory unit using a single port memory core
US8427892B2 (en) Write strobe generation for a memory interface controller
US6067632A (en) Clock-synchronized memory device and the scheduler thereof
TWI533135B (en) Methods for accessing memory and controlling access of memory, memory device and memory controller
CN103559146B (en) A kind of method improving NAND flash controller read or write speed
US10665286B2 (en) Pseudo static random access memory and control method thereof
KR20050096177A (en) Detection circuit for mixed asynchronous and synchronous memory operation
US8468281B2 (en) Apparatus to improve bandwidth for circuits having multiple memory controllers
US20130201775A1 (en) Single-strobe operation of memory devices
US20130290646A1 (en) Fifo buffer system providing same clock cycle response to pop commands
JPH01125795A (en) Virtual type static semiconductor memory device
JPH0845277A (en) Semiconductor memory
CN113519025A (en) Enhanced data clocking in memory
EP1406265B1 (en) Memory access collision avoidance scheme
US11829640B2 (en) Asynchronous arbitration across clock domains for register writes in an integrated circuit chip
KR20170126270A (en) Data output circuit and semiconductor memory device including the same
US7743184B2 (en) Coherent access register data transfer device and methods thereof
US7664908B2 (en) Semiconductor memory device and operating method of the same
JP4827399B2 (en) Semiconductor memory device
KR100816631B1 (en) Semiconductor memory device
US20020136079A1 (en) Semiconductor memory device and information processing system
KR20040101329A (en) Asynchronous interface circuit and method for a pseudo-static memory device
CN112100098B (en) DDR control system and DDR memory system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees