WO2003032169A1 - Processeur de donnees - Google Patents
Processeur de donnees Download PDFInfo
- Publication number
- WO2003032169A1 WO2003032169A1 PCT/JP2002/002699 JP0202699W WO03032169A1 WO 2003032169 A1 WO2003032169 A1 WO 2003032169A1 JP 0202699 W JP0202699 W JP 0202699W WO 03032169 A1 WO03032169 A1 WO 03032169A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- cache
- external memory
- cpu
- buffer
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0877—Cache access modes
- G06F12/0879—Burst mode
Definitions
- the present invention relates to a data processing device that processes communication data using a CPU (Central Processing Unit), and in particular, a data processing device configured using an application-specific integrated circuit, so-called ASIC (Application Specific Integrated Circuit).
- ASIC Application Specific Integrated Circuit
- the present invention relates to a technology that is effective when applied to a device that processes communication data while accessing an external memory such as an SDRAM (Synchronous DRAM).
- a data processing device such as a data communication terminal or a communication control device handles communication data transmitted and received serially in a time-series manner.
- Processing is performed by temporarily storing the data in an external memory such as a DRAM.
- an external memory such as a DRAM.
- a so-called cache system cache memory system
- cache memory system is known as a means for reading data stored in the external memory into the CPU at high speed and with high efficiency.
- FIG. 3 shows a configuration example of a data processing device using a conventional cache system.
- the main part of the device shown in the figure is configured using ASIC20.
- AS I C20 there are provided a clock generator 11 and an SDRAM 31.
- the clock generator 11 generates a synchronous clock ⁇ X for the system.
- the SDRAM 31 temporarily stores communication data processed by the CPU 21.
- a cache system 60 is incorporated together with a CPU 21, a decoder / controller 22, an SDRAM controller 23, and the like.
- the cache system 60 includes a cache memory 60 and a cache controller 62.
- the cache system 60 is interposed between the SDRAM 31 and the CPU bus 24, and temporarily stores memory data, which is frequently read and accessed by the CPU 21, in the cache memory 61 in the ASIC. By reducing the access frequency to 1, the average memory access time by the CPU 21 can be reduced.
- FIG. 4 is a flowchart showing the operation of reading the communication data by the cache system described above. Shown as a yart.
- the target data (the data addressed by the CPU 21 read access) is stored in the cache memory 61.
- a cache search is performed to check whether or not exists (S21, S22). If the target data exists in the cache search, that is, if the search hits, the target data is read from the cache memory 61 (S23). Then, only when the cache search does not hit, the target data is read out by accessing the external SDRAM 31 (S24). This series of cache processing is repeated one byte or one word at a time, and the necessary data is read (S25).
- the frequency of access to the external SDRAM 31 can be reduced accordingly, so that the average memory access time by the CPU 21 can be reduced. Can be.
- data stored in the SDRAM 31 which is an external memory is read out while performing a cache process for each byte or each word.
- serial communication data continuously transmitted and received in chronological order is often stored in an external memory such as the SDRAM 31 and processed in a continuous state in the transmission and reception order.
- communication data is often processed as one continuous data block.
- bucket communication which is the main method of digital communication
- a block of continuous data of 256 bits (32 bytes or 16 words) or more, the so-called packet is the smallest unit of communication transmission. .
- the cache processing of reading such continuous data while checking the presence or absence of a search hit for each byte or one word can be expected to reduce the average access time by reducing the frequency of access to the external memory.
- the inventor has clarified that processing of communication data is not always efficient. That is, in the above-described conventional device, the series of processes (S21 to S25) shown in FIG. 4 must be repeated for each byte or word, and it is not always necessary to process continuous data such as packets. Not efficient.
- the cache system 60 can achieve its effect only when the search hit rate is high. Therefore, it is necessary to configure the search hit rate to be high. However, for that purpose, a high-speed cache memory 61 as large as possible is required. This is because the search hit rate increases as the amount of cache data stored in the cache memory 61 increases.
- the present invention has been made in view of the above background, and a main object of the present invention is to read, from an external memory such as an SDRAM, continuous data such as communication data and process the CPU to an ASIC or the like. It is an object of the present invention to provide a technology that can be implemented more efficiently than a device using a conventional cache system with a small-scale hardware configuration that can be easily incorporated.
- Means according to the present invention is a data processing device for processing communication data while accessing an external memory with a CPU, and is characterized by the following (1) to (3).
- a data buffer is provided between the external memory and the CPU to hold data for a plurality of CPU memory accesses.
- the pseudo cache system performs the above operation in a state in which the cache target data is continuous in addition to the non-hit cache target data.
- the data stored in the external memory is also configured to be transferred from the external memory to the data buffer as pseudo cache data.
- the operation of reading continuous data such as communication data from external memory such as SDRAM and causing the CPU to process the data can be easily incorporated into an ASIC or the like.
- a small-scale hardware configuration that can be used, it can be performed more efficiently than a device using a conventional cache system.
- a data buffer for holding data in bucket units in parallel is provided between the external memory and the CPU, and the data buffer is simulated as a cache memory.
- a cache system may be constructed, and data may be transferred from the external memory to the data buffer in units of the bucket when cache search by the pseudo cache system is not hit.
- the data buffer need only have a parallel bit width corresponding to the data length of one bucket.
- the CPU and the pseudo-cache system can be incorporated into the same ASIC.
- the data transfer between the data buffer and the external memory is performed via a wide-bit data bus having the same bit width as the parallel bit width of the above-described data buffer.
- a wide-bit data bus having the same bit width as the parallel bit width of the above-described data buffer.
- a bus controller for mediating data exchange between the two is provided to reduce the bus width of the external memory.
- the data transfer between the external memory and the data buffer can be sped up without restriction.
- the bus controller can also be incorporated in the ASIC.
- SDRAM can be used as the external memory.
- FIG. 1 is a block diagram showing an embodiment of a data processing device according to the present invention.
- FIG. 2 is a flowchart showing the configuration and operation of the data processing device according to the present invention.
- FIG. 3 is a block diagram showing a configuration example of a conventional data processing device.
- FIG. 4 is a flowchart showing the configuration and operation of a conventional data processing device.
- FIG. 1 shows an embodiment of a data processing device according to the present invention.
- the device shown in the figure constitutes a communication data processing device such as a data communication terminal or a communication control device.
- the main part is constructed using ASIC 20.
- An external generator 11 and SDRAM 31 are provided outside the ASIC 20.
- the clock generator 11 generates a synchronous clock ⁇ X for the system.
- the SDRAM 31 serves as an external memory for temporarily storing communication data processed by the CPU 21.
- Communication data is usually input and output in the order of communication transmission (or transmission and reception). Therefore, input / output of communication data to / from the SDRAM 31 is often performed in the order of the communication transmission. For example, in the case of bucket communication data, the order of transmission and reception between buckets and the order of data in the bucket are stored in the SDRAM 31 in a saved state.
- a pseudo cache system 50 having a function of a wide bit buffer is incorporated together with the CPU 21, the decoder / controller 22, the SDRAM controller 23, and the like.
- the pseudo cache system 50 is composed of an R / W (read / write) data buffer 51, a wide bit 'data bus 52, a wide bit ⁇ bus controller 53, a buffer controller 54, and the like. .
- the pseudo cache system 50 is interposed between the SDRAM 31 and the CPU bus 24, as if it were a cache system, and mediates data exchange between the two (31, 24).
- the RZW data buffer 51 is composed of parallel registers and the like, and has a parallel bit width equivalent to the data length of one packet, for example, 256 bits (32 bytes or 16 words). It has a bit width.
- One data input / output port of this R / W data buffer 51 is connected to the CPU bus 24, and the other input / output port is a wide bit with the same parallel bit width as the above bit width (256 bits).
- G Connect to data bus 52. That is, one data input / output port of the R / W data buffer 51 has the same bit width (for example, 16 bits or 32 bits) as the CPU bus 24, and the other data input / output port has one packet. It has a bit width of 256 g (256 bits).
- the wide-bit data bus 52 is connected via a wide-bit bus controller 53 to the SDRAM bus 32 having a bit width corresponding to the data width of the SDRAM 31.
- Wide bit ⁇ The bus controller 53 intervenes between the wide-bit data bus 52 and the SD RAM bus 32 to convert the bit width, and to convert the data between the two (52 and 32). Mediate exchanges.
- the buffer controller 54 controls the pseudo bit access of the wide bit data held in the R / W data buffer 51 from the CPU 21 side. That is, the R / W data buffer 51 corresponds to the cache memory in the conventional cache system, and the buffer controller 54 stores the target data (data addressed by the read access of the CPU 21) in the buffer 51. Each is configured to correspond to a cache controller that checks whether it exists.
- the buffer 51 stores the data of the wide bit, but the storage capacity is much smaller than the cache memory in the conventional cache system, and it can hold one packet or at most several packets of data.
- the function of the buffer controller 54 which searches whether or not the target data exists in the buffer 51, is significantly simplified in terms of hardware as compared with the cache controller in the conventional cache system. Has been
- FIG. 2 is a flowchart illustrating the operation of reading the communication data by the pseudo cache system 50 described above.
- the CPU 21 reads and accesses the communication data stored in the external SDRAM 31, first, a pseudo cache search for checking whether the target data exists in the buffer 51 is performed. Perform (S11, S12).
- the target data (cache target data) exists in the pseudo cache search, that is, if the pseudo search is hit, the target data is read from the buffer 51 (S14).
- the pseudo cache search does not hit, the external SDRAM 31 is accessed and the target data is read therefrom (S13).
- the data read from the SDRAM 31 includes not only the target data but also data following the target data. In other words, if the data to be cached is not in the buffer 51, the cache data and the wide-bit (256-bit) data including the data stored continuously in the cache data are included. Continuous data is read from SDRAM31.
- the continuous read data of the wide bits is transferred to the buffer 51 at a high speed via the wide bit data bus 52 (S13). Then, from the wide bit data transferred to the buffer 51, target data (Data to be cached) is read by the CPU 21 via the CPU bus 24 (S14). In this way, when the CPU 21 performs read access, data (cache target data) specified by the access is read from the R / W data buffer 51 as a pseudo cache.
- the communication data is normally stored in the SDRAM 31 in the communication transmission order (or the transmission and reception order).
- the order of transmission and reception between packets and the order of data in the packet are stored in the SDRAM 31 in a saved state. Therefore, in the above pseudo cache system 50, if the pseudo cache search does not hit, in addition to the cache target data that did not hit, data that is continuous with the cache target data in the communication transmission order is also included. Then, the data is transferred as pseudo cache data from the SD RAM 31 to the data buffer 51.
- a high search hit rate (pseudo search hit rate) can be obtained despite the fact that the hardware scale is significantly smaller than the formal cache system.
- the frequency of access to the SDRAM 31 can be reliably reduced, and the average memory access time by the CPU 21 can be reliably reduced.
- the data processing device of the present invention has a small-scale pseudo-cache system configured using the R / W data buffer 51 having a storage capacity of one packet or at most several buckets.
- the operation of reading data having continuity such as communication data from the SDRAM 31 and causing the CPU 21 to process the data is described below. It can be performed much more efficiently than devices using conventional cache systems.
- the present invention has been described with reference to the typical embodiments. However, the present invention can have various aspects other than those described above.
- the present invention is also applicable to processing of continuous data other than communication data.
- the operation of reading continuous data such as communication data from an external memory such as an SDRAM and causing the CPU to process the data has a small-scale hardware configuration that can be easily incorporated into an AS IC or the like. This can be performed more efficiently than a device using a conventional cache system.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Description
Claims
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001-304110 | 2001-09-28 | ||
JP2001304110A JP2003108438A (ja) | 2001-09-28 | 2001-09-28 | データ処理装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2003032169A1 true WO2003032169A1 (fr) | 2003-04-17 |
Family
ID=19124082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2002/002699 WO2003032169A1 (fr) | 2001-09-28 | 2002-03-20 | Processeur de donnees |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2003108438A (ja) |
WO (1) | WO2003032169A1 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9959919B2 (en) | 2015-03-20 | 2018-05-01 | Kabushiki Kaisha Toshiba | Memory system including non-volatile memory of which access speed is electrically controlled |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9281036B2 (en) * | 2013-01-08 | 2016-03-08 | Qualcomm Incorporated | Memory device having an adaptable number of open rows |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09179779A (ja) * | 1995-06-02 | 1997-07-11 | Sun Microsyst Inc | コンピュータシステムおよびデータ転送方法 |
JP2000341328A (ja) * | 1999-05-27 | 2000-12-08 | Fujitsu Ltd | データ中継装置 |
JP2001175534A (ja) * | 1999-12-17 | 2001-06-29 | Sanyo Electric Co Ltd | メモリ制御回路 |
-
2001
- 2001-09-28 JP JP2001304110A patent/JP2003108438A/ja active Pending
-
2002
- 2002-03-20 WO PCT/JP2002/002699 patent/WO2003032169A1/ja active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09179779A (ja) * | 1995-06-02 | 1997-07-11 | Sun Microsyst Inc | コンピュータシステムおよびデータ転送方法 |
JP2000341328A (ja) * | 1999-05-27 | 2000-12-08 | Fujitsu Ltd | データ中継装置 |
JP2001175534A (ja) * | 1999-12-17 | 2001-06-29 | Sanyo Electric Co Ltd | メモリ制御回路 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9959919B2 (en) | 2015-03-20 | 2018-05-01 | Kabushiki Kaisha Toshiba | Memory system including non-volatile memory of which access speed is electrically controlled |
Also Published As
Publication number | Publication date |
---|---|
JP2003108438A (ja) | 2003-04-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5902834B2 (ja) | 暗示的なメモリの登録のための明示的なフロー制御 | |
US7315550B2 (en) | Method and apparatus for shared buffer packet switching | |
TWI391819B (zh) | 用於在匯流排上傳送記憶體預取命令之方法及系統 | |
US7782863B2 (en) | Method and apparatus for data transfer | |
US7571297B2 (en) | Data invalid signal for non-deterministic latency in a memory system | |
KR101121592B1 (ko) | 버스트 판독기록 동작을 구비한 처리 장치 | |
US9304939B2 (en) | Method and multi-core communication processor for replacing data in system cache | |
WO2012009873A1 (zh) | 一种搜索处理装置及网络系统 | |
CN117093881A (zh) | 一种数据压缩方法、装置及电子设备和存储介质 | |
WO2003003228A1 (en) | Memory control for multiple read requests | |
WO2003032169A1 (fr) | Processeur de donnees | |
CN101777037A (zh) | 一种查找引擎实时系统内数据传输的方法和系统 | |
JP2002084311A (ja) | パケット転送処理装置 | |
US7424653B2 (en) | System and method for error capture and logging in computer systems | |
US20220318166A1 (en) | Serial communication method and system for memory access | |
US20230066736A1 (en) | On-demand packetization for a chip-to-chip interface | |
US20040236982A1 (en) | System and method for in-order queue draining | |
CN113422792B (zh) | 数据传输方法、装置、电子设备及计算机存储介质 | |
JP3096576B2 (ja) | メモリ制御回路とその回路を内蔵した集積回路素子 | |
CN111541823B (zh) | 一种调制解调器以及通信装置 | |
US7350053B1 (en) | Software accessible fast VA to PA translation | |
JP4502796B2 (ja) | ストリームパケット受信装置 | |
EP1668525B1 (en) | Data transfer management method, software and system | |
US20100131679A1 (en) | Apparatus for performing a downlink or uplink processing in a wireless communication system to maintain the efficiency of system bandwidth, and associated methods | |
KR100198789B1 (ko) | 수신 연결망 인터페이스의 구조 |
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 BY BZ CA CH CN CO CR CU CZ DE DM DZ EC EE ES FI GB GD GE GH HR HU ID IL IN IS KE KG KP KR KZ LK LR LS LT LU LV MA MD MG MK MW MX MZ NO NZ OM PH PL PT RO SD SE SG SI SK SL TJ TM TN TR TT UA UG US UZ VN YU ZA ZM |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): GH GM KE LS MW MZ SD SL SZ UG ZM ZW AM AZ BY KG KZ RU TJ TM AT BE CH CY DE DK FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 69(1) EPC - NON-FILING OF TRANSLATION AND WRITTEN REQUESTFOR EXAMINATION - NON-PAYMENT OF THE NATIO |
|
122 | Ep: pct application non-entry in european phase |