CN202995712U - Configuration information cache management system based on preliminary decoding analysis - Google Patents
Configuration information cache management system based on preliminary decoding analysis Download PDFInfo
- Publication number
- CN202995712U CN202995712U CN2012206900626U CN201220690062U CN202995712U CN 202995712 U CN202995712 U CN 202995712U CN 2012206900626 U CN2012206900626 U CN 2012206900626U CN 201220690062 U CN201220690062 U CN 201220690062U CN 202995712 U CN202995712 U CN 202995712U
- Authority
- CN
- China
- Prior art keywords
- configuration information
- storage unit
- module
- fifo
- management system
- 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.)
- Withdrawn - After Issue
Links
Images
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The utility model discloses a configuration information cache management system based on preliminary decoding analysis. The configuration information cache management system comprises a streaming media processor module, a configuration information pre-fetching FIFO module, a configuration information storage unit and a cache controller module. The configuration information cache management system improves dynamic reconfiguration efficiency of a large-scale coarse-grained reconfigurable system.
Description
Technical field
The utility model belongs to the imbedded reconfigurable design field, be specifically related to a kind of based on the configuration information cache management system of Decoding Analysis in advance, more specifically relate to a kind of in the reconfigurable system of media processing based on the configuration information cache management system of Decoding Analysis in advance.
Background technology
As a kind of with general processor (GPP, General Purpose Processors) dirigibility and special IC (ASIC, Application Specific Integrated Circuit) the counting system structure that high efficiency combines, the restructural computing architecture had obtained to pay close attention to more and more widely in the last few years aspect Embedded System Design, and its main application comprises multimedia processing, mobile communication, digital signal processing, data encrypting and deciphering etc.Granularity refers to the data bit width of the basic processing unit that comprises in reconfigurable system, and it has determined the data-handling capacity of reconfigurable system.Generally granularity is no more than the fine granularity that is called of 4, greater than the coarseness that is called of 4.According to the difference of calculating granularity, reconfigurable system can be divided into fine granularity reconfigurable system and coarseness reconfigurable system.Because being is configured computing unit from the computing level, the coarseness reconfigurable system is compared with the fine granularity reconfigurable system, can significantly reduce the expense of system reconfiguration.
Along with performance requirement and the computation complexity of media application are more and more higher, the computational resource of coarseness reconstruction structure also is multiplied, and some frameworks have used a plurality of reconfigurable arrays to complete these application.Yet when computational resource increased, the required configuration information amount of restructuring procedure also further increased thereupon, causes the reconstruct expense of system further to increase, and has a strong impact on the overall performance of system.In the design of coarseness reconfigurable system, the structure of configuration information buffer memory and management method are gordian techniquies wherein, have determined the efficient of system's dynamic restructuring.And mostly the configuration information buffer memory management method in traditional coarseness reconfigurable system is the instruction buffer management method with reference to the general processor system, do not consider reconfigurable system hardware configuration and the concrete characteristics of using algorithm, make the limited configuration information transmittability of system and powerful arithmetic capability not mate, can't satisfy the high performance demands of using the algorithm harshness.
The utility model content
The utility model purpose: for the problem and shortage that above-mentioned prior art exists, the purpose of this utility model is to provide a kind of based on the configuration information cache management system of Decoding Analysis in advance, to improve the dynamic restructuring efficient of extensive coarseness reconfigurable system.
Technical scheme: for realizing above-mentioned utility model purpose, the first technical scheme that the utility model adopts is a kind of based on the configuration information cache management system of Decoding Analysis in advance, comprise Streaming Media processor module, configuration information look ahead FIFO (First Input First Output, First Input First Output) module, configuration information storage unit and cache controller module;
Described Streaming Media processor module: be used for to resolve the macro block of the code stream of obtaining from external memory storage, generate configuration information index corresponding to required subtask when processing this macro block, and this configuration information index is outputed to the configuration information fifo module of looking ahead; Described configuration information index comprises the configuration information externally address in storer (being called for short " configuration information address ") and use the reconfigurable arrays numbering (being called for short " target reconfigurable arrays numbering ") of this configuration information;
The described configuration information fifo module of looking ahead: be used for storing successively the configuration information index that described Streaming Media processor module generates, for the replacement of the configuration information in the configuration information storage unit provides foundation;
Described configuration information storage unit: be used for the configuration information that buffer memory is got from external memory storage;
Described cache controller module: take out a configuration information index for the fifo module of looking ahead from configuration information, according to the configuration information address in storer externally, judge whether required configuration information is present in described configuration information storage unit, if required configuration information exists in the configuration information storage unit, the cache controller module directly reads this configuration information; If required configuration information does not exist in the configuration information storage unit, the cache controller module is obtained required configuration information from external memory storage, and then it is buffered in the configuration information storage unit, at last required configuration information is sent to corresponding reconfigurable arrays.
Preferably, the described configuration information fifo module of looking ahead comprises N cell fifo, and each cell fifo store configuration information is the address in storer and use the reconfigurable arrays numbering of this configuration information externally.
Preferably, described configuration information storage unit comprises M storage block, and each storage block store configuration information is address, configuration information content and the configuration information priority in storer (being called for short " priority ") externally.
The second technical scheme that the utility model adopts be a kind of utilization as mentioned above based on the management method of the configuration information cache management system of Decoding Analysis in advance, comprise the steps:
(1) generate the configuration information index: the Streaming Media processor is by resolving in advance the macro block from the code stream that external memory storage is obtained, configuration information index corresponding to required subtask when generate processing this macro block, and this configuration information index is outputed to the configuration information fifo module of looking ahead; Described configuration information index comprises the configuration information externally address in storer and use the reconfigurable arrays numbering of this configuration information;
(2) search for, read and replace configuration information: the cache controller module is taken out a configuration information index from configuration information is looked ahead fifo module, according to the configuration information address in storer externally, the required configuration information of search in the configuration information storage unit, if required configuration information exists in the configuration information storage unit, the cache controller module directly reads this configuration information; If required configuration information does not exist in the configuration information storage unit, obtain required configuration information from external memory storage, and then it is buffered in the configuration information storage unit, and the configuration information in the configuration information storage unit is replaced;
(3) send configuration information: described cache controller module sends to corresponding reconfigurable arrays successively with the configuration information that reads.
Preferably, described configuration information in the configuration information storage unit is replaced with: replace the minimum cover configuration information of configuration information storage unit medium priority with required configuration information.Preferred, the priority of described configuration information is the externally number of times that occurs in configuration information is looked ahead fifo module of the address in storer of current time configuration information.Preferred, described priority is upgraded before configuration information replaces it.
Preferably, the described configuration information fifo module of looking ahead comprises N cell fifo, and each cell fifo store configuration information is the address in storer and use the reconfigurable arrays numbering of this configuration information externally.
Preferably, described configuration information storage unit comprises M storage block, and each storage block store configuration information is address, configuration information content and the configuration information priority in storer externally.
Preferably, also comprise step (4): repeating step (1) is to step (3), until all configuration informations all are sent, completes the reconstruct of its function.
Beneficial effect: the utility model is by providing in the reconfigurable system of media processing based on the configuration information cache management system of Decoding Analysis in advance, reduce the access times to external memory storage when reading configuration information, thereby reduce the transmission time of configuration information.And provide corresponding configuration information buffer memory management method, use the replacement policy of Priority-based, adopt three grades of flowing water patterns, changed the way to manage of allocating cache in traditional coarseness reconfigurable system, thereby improved the dynamic restructuring efficient of extensive coarseness reconfigurable system.
Description of drawings
Fig. 1 be the utility model embodiment described in the reconfigurable system of media processing based on the structural representation of the configuration information buffer memory of Decoding Analysis in advance;
Fig. 2 be shown in Figure 1 in the reconfigurable system of media processing based on the look ahead storage format schematic diagram of configuration information index in fifo module of configuration information in the configuration information buffer memory of Decoding Analysis in advance;
Fig. 3 be shown in Figure 1 in the reconfigurable system of media processing the storage format schematic diagram based on the configuration information in configuration information storage unit in the configuration information buffer memory of Decoding Analysis in advance;
Fig. 4 be the utility model embodiment described in the reconfigurable system of media processing based on the process flow diagram of the configuration information buffer memory management method of Decoding Analysis in advance;
Fig. 5 be the utility model embodiment described in the reconfigurable system of media processing based on the application connection layout of the configuration information buffer memory of Decoding Analysis in advance.
Embodiment
Below in conjunction with the drawings and specific embodiments, further illustrate the utility model, should understand these embodiment only is used for explanation the utility model and is not used in restriction scope of the present utility model, after having read the utility model, those skilled in the art all fall within the application's claims limited range to the modification of the various equivalent form of values of the present utility model.
As shown in Figure 1, in the reconfigurable system of media processing based on the configuration information buffer memory of Decoding Analysis in advance, comprise the Streaming Media processor module: be used for to resolve the macro block of the code stream of obtaining from external memory storage, generate configuration information index corresponding to required subtask when processing this macro block; The configuration information fifo module of looking ahead: be used for the configuration information index that stored stream media processor module successively generates; Configuration information storage unit: be used for the configuration information that buffer memory is got from external memory storage; Cache controller module: be used for retrieval and replace the configuration information of configuration information storage unit, and required configuration information is sent to some in 8 reconfigurable arrays.
As shown in Figures 2 and 3, the configuration information fifo module of looking ahead comprises N cell fifo, configuration information index of each cell fifo storage, and each configuration information index is comprised of configuration information address and target reconfigurable arrays numbering two parts.The configuration information storage unit comprises M storage block, and each storage block is comprised of configuration information address, configuration information content and configuration information priority three parts.Wherein, configuration information priority is the number of times that the address of a certain cover configuration information of current time occurs in configuration information is looked ahead fifo module, i.e. the number of times that in a period of time in the future, this configuration information can be used.The value of N, M can arrange voluntarily according to actual conditions such as total tricks of the number of reconfigurable arrays, configuration information and sizes, but different values can produce different impacts to the efficient of configuration information transmission.
As shown in Figure 4, the management method of configuration information buffer memory, comprise and generate the configuration information index: described Streaming Media processor is by resolving in advance macro block, generate configuration information index corresponding to required subtask when processing this macro block, comprise the configuration information externally address in storer and use the reconfigurable arrays numbering of this configuration information, deposit in configuration information and look ahead in fifo module; Search for, read and replace configuration information: described cache controller takes out a configuration information index from configuration information is looked ahead fifo module, according to the configuration information address, the required configuration information of search in the configuration information storage unit, if required configuration information exists in the configuration information storage unit, cache controller directly reads this cover configuration information; If do not exist, obtain required configuration information from external memory storage, and then it is buffered in the configuration information storage unit, and replace the minimum cover configuration information of configuration information storage unit medium priority; Send configuration information: described cache controller sends to corresponding reconfigurable arrays successively with the configuration information that reads, and completes the reconstruct of its function.
The drive manner of three phases is pipeline system, thereby takes full advantage of the resource of configuration information buffer memory, has improved the dynamic restructuring efficient of extensive coarseness reconfigurable system.
As shown in Figure 5, H.264 the high-definition digital video of agreement decoding (H.264 1080p@30fpsHiP@Level4) adopted that the utility model proposes in the reconfigurable system of media processing based on configuration information buffer structure and the management method of Decoding Analysis in advance, can realize the H.264 high definition video decoding requirement of 1080p@30fpsHiP@Level4.The structure of this system comprises: as ARM7TDMI processor, configuration information buffer memory, reconfigurable arrays (RCA), ahb bus, the DDR SDRAM of primary controller.The ARM7TDMI processor of the advantages such as that selection has is small-sized, quick, low energy consumption, compiler are supported is used for the scheduling of control system operation as master cpu; The configuration information buffer memory is connected with external memory storage by the ahb bus of 32bit, and external memory storage is selected the most frequently used embedded external memory storage DDR SDRAM, supports the data access bit wide of 64bit, has good cost performance and energy loss-rate; RCA has 8, and each RCA all contains 8 * 8 PE.For this verification system, the address width of corresponding every cover configuration information is 14bit, and size is 1KByte.The configuration information fifo module of looking ahead comprises 128 cell fifos (being that N gets 128), and in each cell fifo, the width of target reconfigurable arrays numbering is 3bit, and span is 0~7, identifies successively RCA0~RCA7.The configuration information storage unit comprises 32 storage blocks (being that M gets 32), and in each storage block, the width of configuration information priority is 7bit.The bit wide of the configuration information transmission interface between configuration information buffer memory and RCA is 512bit.
Experiment as a comparison, be provided with a contrast verification system, be to have removed in the configuration information buffer memory configuration information fifo module of looking ahead with the difference of above-mentioned verification system, the replacement policy of configuration information storage unit adopts LRU (least recently used) strategy commonly used in traditional design, and the size of configuration information storage unit is identical with structure.Experimental result shows, employing the utility model proposes in the reconfigurable system of media processing based on configuration information buffer structure and the management method of Decoding Analysis in advance, the mean hit rate comparison of configuration information buffer memory improves 4.5 percentage points than verification system, and the clock periodicity of configuration information transmission reduces more than 50%.
Wherein reconfigurable arrays (ReConfigurable Array) is called for short RCA; Basic processing unit (Processing Element) is called for short PE.
Claims (3)
1. one kind based on the configuration information cache management system of Decoding Analysis in advance, it is characterized in that: comprise Streaming Media processor module, configuration information look ahead fifo module, configuration information storage unit and cache controller module;
Described Streaming Media processor module: be used for to resolve the macro block of the code stream of obtaining from external memory storage, generate configuration information index corresponding to required subtask when processing this macro block, and this configuration information index is outputed to the configuration information fifo module of looking ahead; Described configuration information index comprises the configuration information externally address in storer and use the reconfigurable arrays numbering of this configuration information;
The described configuration information fifo module of looking ahead: be used for storing successively the configuration information index that described Streaming Media processor module generates, for the replacement of the configuration information in the configuration information storage unit provides foundation;
Described configuration information storage unit: be used for the configuration information that buffer memory is got from external memory storage;
Described cache controller module: take out a configuration information index for the fifo module of looking ahead from configuration information, according to the configuration information address in storer externally, judge whether required configuration information is present in described configuration information storage unit, if required configuration information exists in the configuration information storage unit, the cache controller module directly reads this configuration information; If required configuration information does not exist in the configuration information storage unit, the cache controller module is obtained required configuration information from external memory storage, and then it is buffered in the configuration information storage unit, at last required configuration information is sent to corresponding reconfigurable arrays.
2. according to claim 1 based on the configuration information cache management system of Decoding Analysis in advance, it is characterized in that: the described configuration information fifo module of looking ahead, comprise N cell fifo, each cell fifo store configuration information is the address in storer and use the reconfigurable arrays numbering of this configuration information externally.
3. according to claim 1 based on the configuration information cache management system of Decoding Analysis in advance, it is characterized in that: described configuration information storage unit, comprise M storage block, each storage block store configuration information is address, configuration information content and the configuration information priority in storer externally.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012206900626U CN202995712U (en) | 2012-12-13 | 2012-12-13 | Configuration information cache management system based on preliminary decoding analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012206900626U CN202995712U (en) | 2012-12-13 | 2012-12-13 | Configuration information cache management system based on preliminary decoding analysis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202995712U true CN202995712U (en) | 2013-06-12 |
Family
ID=48566864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012206900626U Withdrawn - After Issue CN202995712U (en) | 2012-12-13 | 2012-12-13 | Configuration information cache management system based on preliminary decoding analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202995712U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968390A (en) * | 2012-12-13 | 2013-03-13 | 东南大学 | Configuration information cache management method and system based on decoding analysis in advance |
CN104461919A (en) * | 2014-12-08 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Electronic device, configuration file storage method and configuration information reading method |
-
2012
- 2012-12-13 CN CN2012206900626U patent/CN202995712U/en not_active Withdrawn - After Issue
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968390A (en) * | 2012-12-13 | 2013-03-13 | 东南大学 | Configuration information cache management method and system based on decoding analysis in advance |
WO2014090067A1 (en) * | 2012-12-13 | 2014-06-19 | 东南大学 | Pre-decoding analysis-based configuration information cache management method and system |
CN102968390B (en) * | 2012-12-13 | 2015-02-18 | 东南大学 | Configuration information cache management method and system based on decoding analysis in advance |
US9632937B2 (en) | 2012-12-13 | 2017-04-25 | Southeast University | Pre-decoding analysis based configuration information cache management method and system |
CN104461919A (en) * | 2014-12-08 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Electronic device, configuration file storage method and configuration information reading method |
CN104461919B (en) * | 2014-12-08 | 2018-02-13 | 上海斐讯数据通信技术有限公司 | Electronic installation, configuration file storage method and configuration information read method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102968390B (en) | Configuration information cache management method and system based on decoding analysis in advance | |
US9734056B2 (en) | Cache structure and management method for use in implementing reconfigurable system configuration information storage | |
CN102279753B (en) | Method for configuring and managing reconfigurable system and configuration management unit for reconfigurable system | |
CN102279818B (en) | Vector data access and storage control method supporting limited sharing and vector memory | |
CN103927270A (en) | Shared data caching device for a plurality of coarse-grained dynamic reconfigurable arrays and control method | |
CN104112053A (en) | Design method of reconfigurable architecture platform oriented image processing | |
CN101083643A (en) | Low memory spending hybrid base FFT processor and its method | |
CN103778086B (en) | Coarse-grained dynamic reconfigurable system based multi-mode data access device and method | |
CN105335331A (en) | SHA256 realizing method and system based on large-scale coarse-grain reconfigurable processor | |
CN103914404A (en) | Configuration information cache device in coarseness reconfigurable system and compression method | |
CN104125458A (en) | Lossless stored data compression method and device | |
CN109451317A (en) | A kind of image compression system and method based on FPGA | |
CN111783933A (en) | Hardware circuit design and method for data loading device combining main memory and accelerating deep convolution neural network calculation | |
CN103488585B (en) | For realizing the controller of configuration information buffer update in reconfigurable system | |
CN103514140B (en) | For realizing the reconfigurable controller of configuration information multi-emitting in reconfigurable system | |
CN202995712U (en) | Configuration information cache management system based on preliminary decoding analysis | |
CN103761072A (en) | Coarse granularity reconfigurable hierarchical array register file structure | |
CN112463739A (en) | Data processing method and system based on ocean mode ROMS | |
CN103455367A (en) | Management unit and management method for realizing multi-task scheduling in reconfigurable system | |
CN202995701U (en) | Data information cache management system based on preliminary decoding analysis | |
CN113222129A (en) | Convolution operation processing unit and system based on multi-level cache cyclic utilization | |
CN103034455B (en) | Based on data message buffer memory management method and the system of Decoding Analysis in advance | |
CN202183093U (en) | Configuration management unit for reconfigurable system | |
CN102201817B (en) | Low-power-consumption LDPC (low density parity check) decoder based on optimization of folding structure of memorizer | |
CN110225353A (en) | A kind of picture decoding method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20130612 Effective date of abandoning: 20150218 |
|
RGAV | Abandon patent right to avoid regrant |