The invention relates to a sequence detection technique in the field of digital signal processing, in particular to a continuous parallel sequence detection method. The invention sets a multi-level register set to temporarily store data after the data sending end. Use the final register set every bit as each data testing group is the most high, to form a plurality of groups of the same data width and the target sequence detection group. Then compare each data check group with the target sequence. If the same, it means that the detection is successful; if not the same, the new data is used to detect again. The technology of the invention does not need to do series and parallel data conversion operations, especially for parallel sequence width less than the target bit sequence, with high detection efficiency, the operation speed of low requirement for the platform. It can directly realize the specific sequence detection of parallel data.
【技术实现步骤摘要】
一种连续并行序列检测方法
本专利技术涉及数字信号处理领域的序列检测技术,尤其涉及一种连续并行序列检测方法。
技术介绍
数据包在不同设备之间传输时,为了实现数据同步并保证数据的准确性,通常会加入数据包头序列,在接收端检测包头序列并根据此序列进行数据同步。现有技术通常是每次检测一个bit的数据并通过状态机的跳转来实现序列检测,如果是并行序列则还要在检测前加入并-串转换操作。这种序列检测法效率低且对操作平台的运行速度要求高。另外有针对目标序列位宽小于等于数据并行度的并行序列检测方法,此方法有较大的局限性,且不适用于目标序列位宽大于数据并行度的情况。
技术实现思路
针对上述存在问题或不足,本专利技术提供了一种连续并行序列检测方法,特别针对于目标序列位宽大于数据并行度的情况,具有检测效率高,对操作平台速度要求低的优点。该连续并行序列检测方法具体步骤如下:步骤1、待检测的ibit并行数据经过移位寄存填满寄存器组,其中最早输出的数据存储在第1级寄存器组中。当形成第i数据检测组时,为了保证寄存器组中的数据能够完整的组成位宽为a的数据检测组,需要对寄存器组的级数做一定的限制。排除末级寄 ...
【技术保护点】
一种连续并行序列检测方法,具体步骤如下:步骤1、待检测的i bit并行数据经过移位寄存填满寄存器组,其中最早输出的数据存储在第1级寄存器组中,每一级寄存器组的位宽为i,总的寄存器组个数即移位寄存的次数为:
【技术特征摘要】
1.一种连续并行序列检测方法,具体步骤如下:步骤1、待检测的ibit并行数据经过移位寄存填满寄存器组,其中最早输出的数据存储在第1级寄存器组中,每一级寄存器组的位宽为i,总的寄存器组个数即移位寄存的次数为:其中符号为向上取整符号,a为保存在本地的目标序列的位宽,a>i;所述寄存器组以移位寄存器的方式工作,其位宽与与数据发送端的并行度相等,靠近数据发送端的寄存器组为高级寄存器组,远离数据发送端的寄存器组为低级寄存器组,寄存器组暂存发送端数据,以提供数据检测组;步骤2、以第1级寄存器组的第i-1位为第一数据检测组的最高位,并按照从高位到低位的顺序拼接寄存器组数据,使数据检测组位宽等于a,形成第一数据检测组;以第1级寄存器组的第i-2位为第二数据检测组的最高位,并按...
【专利技术属性】
技术研发人员:宁宁,王建东,王岑,
申请(专利权)人:电子科技大学,
类型:发明
国别省市:四川,51
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。