WO2005101219A1 - メモリコントローラ及び半導体装置 - Google Patents
メモリコントローラ及び半導体装置 Download PDFInfo
- Publication number
- WO2005101219A1 WO2005101219A1 PCT/JP2005/006655 JP2005006655W WO2005101219A1 WO 2005101219 A1 WO2005101219 A1 WO 2005101219A1 JP 2005006655 W JP2005006655 W JP 2005006655W WO 2005101219 A1 WO2005101219 A1 WO 2005101219A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- memory
- access
- section
- memory device
- sdram
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1684—Details of memory controller using multiple buses
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1694—Configuration of memory controller to different memory types
Definitions
- the present invention relates to both a memory device that accesses by designating a row address and a column address typified by SDRAM, and a memory device that accesses by designating only a row address typified by SRAM.
- the present invention relates to a memory controller accessible to a device and a semiconductor device integrated with the memory controller.
- a memory controller of a memory device that specifies a row address and a column address typified by an SDRAM
- a memory controller of a memory device that specifies only a row address typified by an SRAM are known as respective memory devices. Due to the difference in the access interface, a method in which the semiconductor device is provided as a separate bus has been considered.
- FIG. 1 shows an example in which an SRAM 1122, a NOR flash memory 1123, and an SDRAM 1124 are connected to a memory controller 1120.
- Address bus 1102 clock signal (CLK) line 1103, write enable signal (WE) line 1104, read enable signal (RE) line 1105, byte enable signal (BE) line 1106, data bus 1107, SRAM 1122 and NOR type
- CLK clock signal
- WE write enable signal
- RE read enable signal
- BE byte enable signal
- the flash memory 1123 is connected as a common external terminal.
- an address bus 1111 a clock signal (CLK) line 1113, a clock enable signal (C13 ⁇ 4 :) line 1114, a write enable signal (WE) line 1115, a read enable signal (RE) line 1116, a bank
- the select signal (BA) line 1117, byte enable signal (BE) line 1118, and data bus 1121 are connected only to the SDRAM 1124.
- Chip select signal (CS) lines 1101, 1108, and 1112 are connected to the SRAM 1122, the NOR flash memory 1123, and the SDRAM 1124, respectively.
- the SDRAM 1124 and the SRAM 1122 or the NOR flash memory 1123 have a mechanism that allows simultaneous access to any of them! /
- Patent Document 1 JP-A-2003-131940
- An object of the present invention is to control a memory device capable of transferring data by designating a row address and a memory device capable of data transfer by designating a row address and a column address.
- An object of the present invention is to provide a memory controller and a semiconductor device capable of improving the use efficiency of a data bus while suppressing an increase in the number of terminals.
- the memory controller controls a first memory device that can transfer data by specifying a single address, and a second memory device that can transfer data by specifying a row address and a column address.
- the configuration was such that the data bus was shared in a time-sharing manner, and other control lines were connected independently to each memory device.
- the first memory device capable of transferring data by designating a single address and the second memory device capable of transferring data by designating a row address and a column address are controlled.
- a memory controller capable of improving the use efficiency of the data bus while suppressing an increase in the number of terminals of the semiconductor device, and a semiconductor device including such a memory controller.
- FIG. 1 is a diagram showing a connection example of a conventional memory controller
- FIG. 2 is a diagram showing a connection example of a memory controller according to one embodiment of the present invention.
- FIG. 3 Configuration diagram of the memory controller shown in FIG.
- FIG. 4 Data configuration diagram of access requests stored in the FIFO shown in FIG.
- FIG. 5 Timing chart when the access requests shown in FIG. 6 are executed without prioritizing
- FIG. 6 is a diagram showing an example of an access request stored in a FIFO
- FIG. 7 Timing chart when the access requests shown in FIG. 6 are ranked
- FIG. 2 shows a connection example of a memory controller 121 according to the present embodiment, an SRAM 122 as a memory device, a NOR flash memory 123, and an SDRAM 124.
- An SRAM 122 and a NOR flash memory 123 are connected to the memory controller 121 as a memory device that can transfer data by specifying a row address, and a memory device that can transfer data by specifying a row address and a column address. Is connected to the SDRAM 124.
- the memory controller 121 is a memory interface (terminal portion) in an LSI as a semiconductor device, and functions to control read / write to a memory device in response to a memory access request from the LSI.
- the CPU, DSP, DMA, accelerator, etc. issue an access request to the memory controller 121 due to the configuration of the LSI.
- the memory controller 121 reads data from the SRAM 122, the NOR flash memory 123, and the SDRAM 124.
- the Z write is performed via the common data bus 107.
- the As the bus width of the data bus 107 a larger bus width is selected from the bus width used in the SRAM 122 and the NOR flash memory 123 and the bus width used in the SDRAM 124.
- a 32-bit data bus is separately provided from the memory controller 121 to each of the memory devices (122, 124).
- the number of 32 terminals can be reduced compared to the case of connection.
- the SRAM 122 and the NOR flash memory 123 share the address bus 102 and control lines (103, 104, 105, 106) for control signals excluding the chip select signal.
- Control lines (112 to 118) are connected independently! That is, address buses 102 and 111, synchronous clock signal (CLK) lines 103 and 118, write enable signal (WE) lines 104 and 115, read enable signal (RE) lines 105 and 116, byte enable signal (BE ) Lines 106 and 118 are connected to the respective memory devices, one set each, and chip select signal (CS) lines 101, 108, 112 are connected for each memory device.
- a bank select signal (BA) line 117 is connected to the SDRAM 124, and a data bus 107 is connected as a shared signal for each memory device.
- a data access to the SRAM 122 or the NOR flash memory 123 and a data access to the SDRAM 124 are performed on the data bus 107 in a time division manner.
- the memory controller 121 includes a FIFO memory 201, a memory control signal generation device 202, a next access control device 203, and an SDRAM access section determination device 204.
- the FIFO memory 201 is a buffer that manages the order of memory access requests given from the LSI.
- FIG. 4 illustrates the specific contents of the memory access request.
- the memory device includes an access length 301 to the memory device, read / write polarity information 302, address information 303, and access destination information 304 indicating the CS space of the memory device to be accessed. Yes.
- the FIFO memory 201 notifies the memory access request stored at the head to the memory control signal generation device 202 via the path 215.
- the memory control signal generation device 202 generates a control signal (other than a data bus signal) for accessing various memory devices according to the content of the memory access request.
- the memory control signal generation device 202 notifies the SDRAM access state determination device 204 of the access state of the SDRAM using the path 216.
- the access status of the SDRAM 124 includes information on the operation status of the SDRAM 124 such as precharge, self-refresh, and power down mode. Such access status information is notified to the SDRAM access section determination device 204 via the path 216.
- the access destination information 304, address information 303, and read / write polarity information of the access request stored in the FIFO memory 201 are transmitted to the SDRAM access section determination device 204 via the path 211.
- the SDRAM access section determination device 204 determines from the access destination information 304 that SDRAM access is continuous! /, And that the address information 303 requests continuous access to the same bank. 302 makes it possible to observe the transition of the access from the read access to the write access. Then, the SDRAM access section determination device 204 detects a data bus idle section in the case where the SDRAM access occurs continuously based on the information obtained through the paths 211 and 216, and uses the path 212 to Notify the access control device 203.
- the next access control device 203 compares the notified data bus idle period with the threshold value (the number of clocks) stored in the register 205.
- the threshold value stored in the register 205 is desirably the number of clocks corresponding to the minimum access length for the SRAM 122 or the NOR flash memory 123.
- the information is transmitted to the next access control device 203 via the route 217.
- the number of clocks (the number of cycles) for determining whether or not the access to the SRAM 122 or the NOR flash memory 123 can be performed is stored.
- the order of the access requests accumulated in the FIFO memory 201 may be controlled. Specifically, the data bus idle section that occurs when SDRAM accesses occur consecutively is processed by the subsequent access request processing. If it can be filled, an access request for the subsequent SRAM 122 or NOR flash memory 123 is moved up to the top. The order of the access request of the FIFO 201 is transmitted to the next access control device 203 via the path 213, and the control of the access request is transmitted to the FIFO 201 via the path 214.
- the time chart shown in FIG. 5 shows the use status of the data bus 107 when the access requests are accumulated in the FIFO memory 201 in the order shown in FIG. ing. Particularly, a case where different row addresses are successively accessed in the same bank will be exemplified. Such a case is one of typical examples in which a data bus idle section occurs.
- the memory controller 121 selects the SDRAM 124 by the chip select signal (CS) line 112 and uses the data bus 107 to access the SDRAM 124 It can be so. Then, a row address is issued by the SDRAM command Activate, and after a predetermined time elapses, a column address is issued by the SDRAM command read (A). After a lapse of a predetermined time from the issuance of the column address, the head (AO) of the read data read from the target bank (for example, bank A) is output on the data bus 107. The remaining three bursts of read data (A1 to A3) are output on the data bus 107 continuously from the first read data (AO).
- CS chip select signal
- the time required from the issuance of a row address to the issuance of a column address and the time required to issue a column address and the time required for the head data to appear on the data node 107 are fixed according to the system design. Value.
- the SDRAM 124 specifies an address by a combination of a row address and a column address. It takes one clock each to issue a row address and a column address. Therefore, when newly accessing the SDRAM 124, the total time of the above-mentioned fixed value and the time required for address issuance is the data bus idle section. As shown in FIG. 5, the first data bus idle period occurs before the first read data AO of the SDRAM 124 is output to the data bus 107. The data read from the target bank into the buffer is returned to the original position by the SDRAM command, precharge.
- FIG. 5 shows a case where access requests for accessing different row addresses in the same bank A of the SDRAM 124 are continuous. That is, in the access order shown in FIG. 6, the second access request is an access request that accesses the same bank A as the first access request and a different row address.
- the SDRAM 124 cannot issue an Activate to select a different row address in the same bank unless the SDRAM 124 is precharged and capable. Therefore, the memory control signal generation device 202 issues a precharge command to perform precharge, and selects a row address in synchronization with the clock at the next timing when the last read data (A3) is output to the data bus 107. Issue Activate.
- a row address is issued by Activate, a column address is issued by read (B), and then read data (B 0 to B 3) is placed on the data bus 107. Output continuously.
- the third access request which is an access request to the SRAM 122, comes to the top of the SFIFO memory 201.
- the memory controller 121 activates the chip select signal (CS) line 101 for the SRAM 122 in synchronization with the next clock, and also writes the SRAM command “write” (C).
- CS chip select signal
- C SRAM command “write”
- the address specification at the time of access needs to specify only a single address, and there is no space unlike the address specification for the SDRAM 124.
- the write data C is output onto the data bus 107 simultaneously with the write request, and the data C is written into the SRAM 122.
- an access request to the SRAM 122 comes to the head of the FIFO memory 201. Then, after the execution of the third access request is completed In synchronization with this clock, a read address by read D is issued, and read data D is read from the read address of the SRAM 122 and output on the data bus 107.
- the data bus idle section that occurs when accessing the SDRAM 124 is determined, and the time width for interrupting the subsequent access request to the SRAM 122 or the NOR flash memory 123 is determined in the data bus idle section. If so, the order of the access requests in the FIFO memory 201 is manipulated to execute the access request to the subsequent SRAM 122 or NOR type flash memory 123 first.
- FIG. 7 is a time chart when the order of access requests in the FIFO memory 201 is manipulated.
- the order of the access requests initially stored in the FIFO memory 201 is as shown in FIG.
- the SDRAM access section determination device 204 fetches the access request data stored in the FIFO memory 201 and detects a data bus idle section at the time of accessing the SDRAM 124 from the access request to the SDRAM 124. Further, the memory control signal generation device 202 manages and controls each operation timing of the precharge, the self refresh, and the power down mode in the SD RAM 124. If there is no subsequent SDRAM access, a section occurs in which the precharge is issued and the power bus 107 is not used. Also, when returning from the self-refresh or power-down mode, a section in which the data bus 107 is not used occurs. In this way, an event in which an interval in which the data bus 107 is not used may occur is notified to the SDRAM access interval determination device 204 as an SDRAM access status.
- the SDRAM access section determination device 204 detects the data bus idle section during the SDRAM access shown in FIG. 5 from the access request information of the FIFO memory 201 shown in FIG. Then, the detected data bus idle section information is notified to the next access control device 203. . In addition, the SDRAM access section determination device 204 determines whether or not there is a section in which the data bus 107 is not used during the access period of the SDRAM 124 based on the SDRAM access status received from the memory control signal generation device 202. If an unused section, that is, a data bus idle section occurs, the access control device 203 is notified of the next time.
- the next access control device 203 compares the threshold value previously stored in the register 205 with the data bus idle period notified from the SDRAM access period determination device 204.
- each of the first data bus idle section and the second data bus idle section is larger than the threshold. That is, the third access request (write C) in FIG. 6 can be executed earlier in the first data bus idle section shown by the left arrow in FIG. 7, and the second access request shown by the right arrow in FIG. In the data bus idle period, the fourth access request (read D) in FIG. 6 can be executed earlier.
- next access control device 203 moves the third access request (write C) in FIG. 6 to the top of the FIFO memory 201 and transfers the fourth access request (read D) in FIG. Go to the third position immediately after the request (lead A).
- the order operation is performed so that the data bus idle section generated by the preceding SD RAM access request is filled with the subsequent SRAM access request or NOR type flash memory access request.
- the efficiency of use of a data bus is increased. Performance can be maintained, and an increase in the number of terminals can be suppressed.
- each memory controller has a data bus. May be shared in a time-sharing manner. In this case, memory accesses are executed in cooperation with each other so that accesses between memory controllers do not conflict with each other.
- the order of the access requests stored in the FIFO in the controller may be operated in accordance with the algorithm described above.
- one or more memory controllers capable of controlling a memory device capable of transferring data by designating a single address on such a semiconductor device are provided, and each controller operates in a cooperative manner. You can.
- the present invention relates to controlling a memory device capable of transferring data by designating a row address and a memory device capable of transferring data by designating a row address and a column address. It is possible to increase the efficiency of using the data bus while suppressing an increase in the number of terminals, and it is applicable to a memory controller and a semiconductor device.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Dram (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004-117918 | 2004-04-13 | ||
| JP2004117918A JP2005301739A (ja) | 2004-04-13 | 2004-04-13 | メモリコントローラ及び半導体装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2005101219A1 true WO2005101219A1 (ja) | 2005-10-27 |
Family
ID=35150178
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2005/006655 Ceased WO2005101219A1 (ja) | 2004-04-13 | 2005-04-05 | メモリコントローラ及び半導体装置 |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP2005301739A (ja) |
| WO (1) | WO2005101219A1 (ja) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106126472A (zh) * | 2016-06-20 | 2016-11-16 | 中国航天科技集团公司第九研究院第七七研究所 | 一种实现静态与动态存储控制器访问无缝切换的控制结构 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4930825B2 (ja) * | 2006-02-06 | 2012-05-16 | カシオ計算機株式会社 | 撮像装置及びデータ転送装置 |
| JP5414350B2 (ja) * | 2009-05-08 | 2014-02-12 | キヤノン株式会社 | メモリ制御回路、及び、その制御方法 |
| US9176908B2 (en) | 2010-02-23 | 2015-11-03 | Rambus Inc. | Time multiplexing at different rates to access different memory types |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6240565A (ja) * | 1985-08-15 | 1987-02-21 | Hitachi Ltd | メモリ制御方式 |
| JPH03218552A (ja) * | 1989-08-08 | 1991-09-26 | Seiko Epson Corp | メモリ制御回路および情報処理装置 |
| JPH0877098A (ja) * | 1994-08-31 | 1996-03-22 | Motorola Inc | 制御されたバーストメモリアクセスを備えたデータプロセッサおよびその方法 |
| JP2002259322A (ja) * | 2001-02-27 | 2002-09-13 | Fujitsu Ltd | メモリシステム |
-
2004
- 2004-04-13 JP JP2004117918A patent/JP2005301739A/ja active Pending
-
2005
- 2005-04-05 WO PCT/JP2005/006655 patent/WO2005101219A1/ja not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6240565A (ja) * | 1985-08-15 | 1987-02-21 | Hitachi Ltd | メモリ制御方式 |
| JPH03218552A (ja) * | 1989-08-08 | 1991-09-26 | Seiko Epson Corp | メモリ制御回路および情報処理装置 |
| JPH0877098A (ja) * | 1994-08-31 | 1996-03-22 | Motorola Inc | 制御されたバーストメモリアクセスを備えたデータプロセッサおよびその方法 |
| JP2002259322A (ja) * | 2001-02-27 | 2002-09-13 | Fujitsu Ltd | メモリシステム |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106126472A (zh) * | 2016-06-20 | 2016-11-16 | 中国航天科技集团公司第九研究院第七七研究所 | 一种实现静态与动态存储控制器访问无缝切换的控制结构 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005301739A (ja) | 2005-10-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100724557B1 (ko) | 아웃 오브 오더 dram 시퀀서 | |
| EP1488323B1 (en) | Memory system with burst length shorter than prefetch length | |
| EP1646925B1 (en) | Apparatus and method for direct memory access in a hub-based memory system | |
| JP5426036B2 (ja) | 複数のプロセッサのメモリ共有化のためのメモリアクセス装置、及びそのアクセス方法 | |
| CN108139994B (zh) | 内存访问方法及内存控制器 | |
| US20050268060A1 (en) | Method and system for terminating write commands in a hub-based memory system | |
| KR20050005553A (ko) | 내부 캐쉬 및/또는 메모리 액세스 예측을 지닌 메모리 허브 | |
| US8707002B2 (en) | Control apparatus | |
| US6549991B1 (en) | Pipelined SDRAM memory controller to optimize bus utilization | |
| KR100609623B1 (ko) | 내부 메모리 디바이스간의 직접적 데이터 이동이 가능한 복합 메모리 칩 및 데이터 이동방법 | |
| EP4246337B1 (en) | Electronic system and method for controlling burst length to access memory device of electronic system | |
| US7913013B2 (en) | Semiconductor integrated circuit | |
| JP2008009817A (ja) | 半導体装置及びデータ転送方法 | |
| WO2005101219A1 (ja) | メモリコントローラ及び半導体装置 | |
| KR101022473B1 (ko) | 다층 버스 시스템에서의 메모리 뱅크 인터리빙 방법 및장치 | |
| KR100332188B1 (ko) | 커맨드 적재 고대역폭 메모리와 그 메모리 내에서 커맨드를 적재하고 보류중인 동작을 자체 실행하는 방법 | |
| JP4707351B2 (ja) | マルチバンクメモリのスケジューリング方法 | |
| JP2007102646A (ja) | コンテキスト切替え装置 | |
| JP4642531B2 (ja) | データ要求のアービトレーション | |
| US7536519B2 (en) | Memory access control apparatus and method for accomodating effects of signal delays caused by load | |
| JP5130754B2 (ja) | 半導体集積回路及びメモリシステム | |
| JP2002207541A (ja) | マイクロコンピュータ及びデータ処理装置 | |
| JP2000227895A (ja) | 画像データ転送装置および画像データ転送方法 | |
| WO2006132006A1 (ja) | メモリ制御装置及びメモリ制御方法 | |
| US20070073961A1 (en) | Memory controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
| AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWW | Wipo information: withdrawn in national office |
Country of ref document: DE |
|
| 122 | Ep: pct application non-entry in european phase |