CN104050104B - Data alignment method - Google Patents
Data alignment method Download PDFInfo
- Publication number
- CN104050104B CN104050104B CN201410274518.4A CN201410274518A CN104050104B CN 104050104 B CN104050104 B CN 104050104B CN 201410274518 A CN201410274518 A CN 201410274518A CN 104050104 B CN104050104 B CN 104050104B
- Authority
- CN
- China
- Prior art keywords
- data
- selector
- block
- alignment method
- fragment
- 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.)
- Expired - Fee Related
Links
Abstract
The invention belongs to the field of digital signal processing and particularly relates to a data alignment method which is used for processing multiple paths of parallel signals and has low hardware complexity. The data alignment method includes the following steps of determining the number and type parameters of data selectors, caching input data, extracting data slots for reorganization, determining magnitude of each reorganized data block and carrying out interblock arrangement on the data blocks. By means of the data alignment method, hardware resource consumption for alignment of the multiple paths of parallel data can be effectively reduced, and at the same time, complexity of locating and wiring is lowered.
Description
Technical field
The invention belongs to digital processing field, more particularly to it is a kind of for multi-path parallel signal process, low hardware
The data alignment method of complexity.
Background technology
The situation of data dislocation can be faced in digital signal processing, for example:In the base band line number of high-speed radiocommunication
It is in word signal processing, unpredictable due to receiving end data initial time position, cause to receive initial data in multiple and line number
Do not know according to the position in passage;As sending and receiving end crystal oscillator frequency is inconsistent, sample-timing error is caused to be accumulated, receiving data
Timing position will gradually slide in multidiameter delay data channel.And the signal processing module of rear end, such as channel equalization, decoding
Need to obtain the multidiameter delay data of timing position fixation etc. module, so needing to carry out at alignment of data multidiameter delay data
Reason.
In the process of m roads parallel digital signal, serial data consists of one group with continuous m symbol, continuous in time
Data set constitutes m channel parallel data streams, as shown in figure 1, Fig. 1 (a) is two adjacent groups m channel parallel data under normal circumstances;Fig. 1
B there is misalignment for data in (), compare normal condition, and data have been misplaced x character position successively, now need to carry out data
Alignment, specific to for T2 groups be exactly according to data misplace number x, by alignment of data operation so that data are normal again
The D [m+1] of situation, D [m+2] ..., D [2m].
Existing alignment of data scheme is, according to different dislocation values, to select 1 data selector directly from adjacent using m roads 2m
The output of m circuit-switched datas is selected in two groups of m channel parallel datas.Obviously, when m values are larger, m roads 2m selects the realization of 1 selector consume
Substantial amounts of hardware resource and cause placement-and-routing to complicate, or even be difficult to, have a strong impact on systematic function.
The content of the invention
It is an object of the invention to provide a kind of for multi-path parallel signal process, low hardware complexity alignment of data
Method.
The purpose of the present invention is achieved by the steps of:
S1, number n and the n that according to m channel parallel datas and actual hardware platform situation, determine data selector
The type parameter n1 of data selector, n2, n3 ..., nn, wherein, n >=2, m=2a, the natural number that a is not zero;
S2, according to S1 the type parameter n1 of n data selector, n2, n3 ..., nn constitutes n DBMSs and selects
The data selector of device, i.e., first selects 1 for n1, and second data selector selects 1 for n2, and the 3rd data selector is selected for n3
1 ... ..., nth data selector selects 1 for nn, wherein, n1 × n2 × n3 × ... × nn=m;
S3, the m channel parallel datas to being input into carry out two-level cache;
S4, according to data dislocation value, choose 1 data slot respectively from per grade of caching in two-level cache described in S3, totally 2
Data slot, 2 data fragment assemblies restructuring obtain recombination data block, wherein, data dislocation value is obtained according to actual measurement;
S5, according to the value of m and n1 determines S4 recombination data block piecemeal size;
S6, data dislocation value and piecemeal size described in S5 according to S4 carry out piecemeal and block to recombination data block described in S4
Interior alignment, obtains block data;
S7, according to S4 data dislocation value and n size, by block data described in S6 carry out between block sort, export number
According to.
Further, the type parameter of data selector described in S2 is selected according to actual hardware condition, is empirical value.
The invention has the beneficial effects as follows:
The present invention provides a kind of for multi-path parallel signal process, low hardware complexity data alignment method, can have
Effect reduces the hardware resource consumption of multidiameter delay alignment of data, while reducing the complexity of placement-and-routing.
Description of the drawings
Fig. 1 is the m channel parallel data schematic diagrams of normal condition and misalignment.
Fig. 2 is alignment of data scenario-frame block diagram of the present invention.
Fig. 3 is (2nd) step operation chart of example in specific embodiment.
Fig. 4 is (3rd) step operation chart of example in specific embodiment.
Fig. 5 is (4th) step operation chart of example in specific embodiment.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment is further detailed to the present invention.
This example assumes there are m channel parallel datas, m=16, and data dislocation value x is 7, and data selector series n is 2, and n1
=n2=4.
7 character positions as shown in figure 3,16 channel parallel datas have misplaced, this example will carry out data pair to T2 groups data
Together, will data shift 7 character positions successively so that the T2 groups data after alignment again for normal condition { D [1], D
[2], D [3] ..., D [15], D [16], concrete operation step is as follows:
(1) 16 channel parallel data of T2 groups and the T2 groups adjacent 16 channel parallel data of T1 groups is carried out with data register
Two-level cache;
(2) select 1 selector that 2 data slots, the first half of the fragment 1 for T2 group data are selected from data cached with 2
The m-x=9 data divided, x=7 data of the fragment 2 for the latter half of T1 group data.Again the two data slots are spliced
16 circuit-switched data of new one group is reassembled as, A groups are denoted as.As shown in figure 3, A=D [8], D [9] ... D [16], D [1], D
[2]……D[7]}.As can be seen that only 7 data { D [1], D [2] ... D [7] } last in A need to be moved integrally D [8]
Results needed is obtained before:{D[1]、D[2]、D[3]、……、D[15]、D[16]}.
(3) select 1 selector to carry out aliging in piecemeal and block by A groups data with 4, be as a result denoted as B.As shown in figure 4, first by
M and n1 can obtain piecemeal sizeDefinition block E={ D [1], D [2], D [3], D [4] }, F={ D [5], D [6], D
[7], D [8] }, G={ D [9], D [10], D [11], D [12] }, H={ D [13], D [14], D [15], D [16] }.It is wrong according to data
Place value x, defines positive integer y=xmod4, and wherein mod represents modulus computing.In this example, y=7mod4=3.Then with A
In nethermost y=3 data and A, uppermost 4-y=1 data are spliced into one piece, obtain block F.Finally, its remainder of A
According to blocking G, H and E successively from top to bottom.Then B={ F, G, H, E }.
(4) it is last, as shown in figure 5, C is as a result denoted as according to carrying out sorting between block 4 block numbers of B, then C={ E, F, G, H }=
D [1], D [2], D [3] ..., D [15], D [16] be final alignment data.
Claims (2)
1. a kind of data alignment method, it is characterised in that comprise the steps:
S1, according to m channel parallel datas and actual hardware platform situation, determine number n and the n data of data selector
The type parameter n1 of selector, n2, n3 ..., nn, wherein, n >=2, m=2a, the natural number that a is not zero;
S2, according to S1 the type parameter n1 of n data selector, n2, n3 ..., nn constitute n DBMS selectores,
I.e. first data selector selects 1 for n1, and second data selector selects 1 for n2, and the 3rd data selector is selected for n3
1 ... ..., nth data selector selects 1 for nn, wherein, n1 × n2 × n3 × ... × nn=m;
S3, the m channel parallel datas to being input into carry out two-level cache;
S4, according to data dislocation value, selected with 2 and in two-level cache described in 1 selector S3, select 2 data slots, fragment 1 be T2
M-x=9 data of the top half of group data, x=7 data of the fragment 2 for the latter half of T1 group data;Again by this
Two data fragment assemblies are reassembled as 16 circuit-switched data of new one group, wherein, data dislocation value is obtained according to actual measurement;
S5, according to the value of m and n1 determines S4 recombination data block piecemeal size, i.e.,
S6, that data dislocation value and piecemeal size described in S5 according to S4 is carried out to recombination data block described in S4 is right in piecemeal and block
Together, obtain block data;
S7, according to S4 data dislocation value and n size, by block data described in S6 carry out between block sort, output data.
2. a kind of data alignment method according to claim 1, it is characterised in that:The type ginseng of data selector described in S2
Several factually border hardware conditions are selected, and are empirical values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410274518.4A CN104050104B (en) | 2014-06-19 | 2014-06-19 | Data alignment method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410274518.4A CN104050104B (en) | 2014-06-19 | 2014-06-19 | Data alignment method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104050104A CN104050104A (en) | 2014-09-17 |
CN104050104B true CN104050104B (en) | 2017-04-12 |
Family
ID=51502983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410274518.4A Expired - Fee Related CN104050104B (en) | 2014-06-19 | 2014-06-19 | Data alignment method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104050104B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108399111B (en) * | 2018-03-01 | 2022-04-26 | 深圳市辰卓电子有限公司 | Data acquisition error correction method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6105119A (en) * | 1997-04-04 | 2000-08-15 | Texas Instruments Incorporated | Data transfer circuitry, DSP wrapper circuitry and improved processor devices, methods and systems |
EP1130868A2 (en) * | 2000-02-29 | 2001-09-05 | Virata Limited | Coprocessor for use in DMT modems |
CN101022283A (en) * | 2007-03-15 | 2007-08-22 | 中兴通讯股份有限公司 | Bit scramble parallel processing method and device |
CN103370930A (en) * | 2011-02-18 | 2013-10-23 | 索尼公司 | Image capturing device, image capturing element, method for controlling image capturing, and program |
CN103475616A (en) * | 2013-08-26 | 2013-12-25 | 北京握奇数据系统有限公司 | Method and system for parallel frame synchronization detection |
-
2014
- 2014-06-19 CN CN201410274518.4A patent/CN104050104B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6105119A (en) * | 1997-04-04 | 2000-08-15 | Texas Instruments Incorporated | Data transfer circuitry, DSP wrapper circuitry and improved processor devices, methods and systems |
EP1130868A2 (en) * | 2000-02-29 | 2001-09-05 | Virata Limited | Coprocessor for use in DMT modems |
CN101022283A (en) * | 2007-03-15 | 2007-08-22 | 中兴通讯股份有限公司 | Bit scramble parallel processing method and device |
CN103370930A (en) * | 2011-02-18 | 2013-10-23 | 索尼公司 | Image capturing device, image capturing element, method for controlling image capturing, and program |
CN103475616A (en) * | 2013-08-26 | 2013-12-25 | 北京握奇数据系统有限公司 | Method and system for parallel frame synchronization detection |
Also Published As
Publication number | Publication date |
---|---|
CN104050104A (en) | 2014-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9014251B2 (en) | Rank-order equalization | |
CN100568745C (en) | Interleaver in the communication system and deinterleaving method | |
CN107103144A (en) | The wiring delay deviation quick calibration method of arbitration type PUF based on FPGA | |
WO2022077645A1 (en) | Cnf generation method and system for equivalence checking | |
CN101042685B (en) | Embedded system and control method thereof | |
CN106877885A (en) | A kind of method and system of utilization Ba Hataqieya parametric configuration polarization codes | |
CN104050104B (en) | Data alignment method | |
CN112507644A (en) | Optimized SM4 algorithm linear layer circuit | |
CN104572872B (en) | A kind of data deduplication method of partition based on extreme value | |
CN107908884B (en) | Interactive ECO method for improving time sequence by adjusting clock tree branches | |
CN102982205A (en) | Fixed polarity conversion method for design of digital circuit | |
CN109687877B (en) | Method and device for reducing cascade stage number of multistage cyclic shift network | |
CN106201945A (en) | Bit width conversion device | |
CN105701294B (en) | Realize the method and system of chip complex engineering modification | |
CN106771965A (en) | The measuring circuit and measuring method of d type flip flop retention time | |
CN109800511B (en) | Correction method and system for maintaining time violation for finding optimal common point | |
CN106771990A (en) | The measuring circuit and measuring method of d type flip flop setup time | |
CN101472184B (en) | LDPC forward error correction decoder and method for reducing power consumption | |
CN103744827A (en) | Serial data frame matching method for improving chip logical time sequence | |
CN105515761B (en) | A kind of circuit of high-speed multi-mode time cyclic shift | |
CN100356793C (en) | High-speed changeable long code parallel decoder | |
CN102637059A (en) | Time deviation processing device and processing method thereof | |
CN110531956A (en) | Portable real random number generator and its method based on correlation sampling self-timing ring | |
US7667494B2 (en) | Methods and apparatus for fast unbalanced pipeline architecture | |
CN102594371A (en) | Method and device for interleaving processing of Turbo coding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170412 Termination date: 20200619 |