⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 FEC Optimized viterbi code
💻
字号:
COPYRIGHTThis package is copyright 2006 by Phil Karn, KA9Q. It may be usedunder the terms of the GNU Lesser General Public License (LGPL). Seethe file "lesser.txt" in this package for license details.INTRODUCTIONThis package provides a set of functions that implement severalpopular forward error correction (FEC) algorithms and several low-level routinesuseful in modems implemented with digital signal processing (DSP).The following routines are provided:1. Viterbi decoders for the following convolutional codes:r=1/2 k=7 ("Voyager" code, now a widely used industry standard)r=1/2 k=9 (Used on the IS-95 CDMA forward link)r=1/6 k=15 ("Cassini" code, used by several NASA/JPL deep space missions)2. Reed-Solomon encoders and decoders for any user-specified code.3. Optimized encoder and decoder for the CCSDS-standard (255,223)Reed-Solomon code, with and without the CCSDS-standard "dual basis"symbol representation.4. Compute dot product between a 16-bit buffer and a set of 16-bitcoefficients. This is the basic DSP primitive for digital filteringand correlation.4. Compute sum of squares of a buffer of 16-bit signed integers. This isuseful in DSP for finding the total energy in a signal.5. Find peak value in a buffer of 16-bit signed integers, useful forscaling a signal to prevent overflow.SIMD SUPPORTThis package automatically makes use of various SIMD (SingleInstruction stream, Multiple Data stream) instruction sets, whenavailable: MMX, SSE and SSE2 on the IA-32 (Intel) architecture, andAltivec on the PowerPC G4 and G5 used by Power Macintoshes."Altivec" is a Motorola trademark; Apple calls it "Velocity Engine",and IBM calls it "VMX". Altivec is roughly comparable to SSE2 on theIA-32.Many of the SIMD versions run more than an order ofmagnitude faster than their portable C versions. The available SIMDinstruction sets, if any, are determined at run time and the properversion of each routine is automatically selected. If no SIMDinstructions are available, the portable C version is invoked bydefault. On targets other than IA-32 and PPC, only the portable Cversion is built.The SIMD-assisted versions generally produce the same results as the Cversions, with a few minor exceptions. The Viterbi decoders in C havea very slightly greater Eb/No performance due to their use of 32-bitpath metrics. On the other hand, the SIMD versions use the"saturating" arithmetic available in these instructions to avoid theinteger wraparounds that can occur in C when argument ranges are notproperly constrained. This applies primarily to the "dotprod" (dotproduct) function.The MMX (MultiMedia eXtensions) instruction set was introduced onlater Pentium CPUs; it is also implemented on the Pentium II and mostAMD CPUs starting with the K6. SSE (SIMD Streaming Extensions) wasintroduced in the Pentium III; AMD calls it "3D Now! Professional".Intel introduced SSE2 on the Pentium 4, and it has been picked up bylater AMD CPUs. SSE support implies MMX support, while SSE2 supportimplies both SSE and MMX support.The latest IA-32 SIMD instruction set, SSE3 (also known as "PrescottNew Instructions") was introduced in early 2004 with the latest("Prescott") revision of the Pentium 4. Relatively little wasintroduced with SSE3, and this library currently makes no use of it.See the various manual pages for details on how to use the libraryroutines.Copyright 2006, Phil Karn, KA9Qkarn@ka9q.nethttp://www.ka9q.net/This software may be used under the terms of the GNU Lesser GeneralPublic License (LGPL); see the file lesser.txt for details.Revision history:Version 1.0 released 29 May 2001Version 2.0 released 3 Dec 2001:Restructured to add support for shared libraries.Version 2.0.1 released 8 Dec 2001:Includes autoconf/configure scriptVersion 2.0.2 released 4 Feb 2002:Add SIMD version override optionsTest for lack of SSE2 mnemonic support in 'as'Build only selected versionVersion 2.0.3 released 6 Feb 2002:Fix to parityb function in parity.hfeclib version 1.0 released November 2003Merged SIMD-Viterbi, RS and DSP librariesChanged SIMD Viterbi decoder to detect SSE2/SSE/MMX at runtime rather than build timefeclib version 2.0 (unreleased) Mar 2004General speedups and cleanupsSwitch from 4 to 8-bit input symbols on all Viterbi decodersSupport for Altivec on PowerPCSupport for k=15 r=1/6 Cassini/Mars Pathfinder/Mars Exploration Rover/STEREO codeChanged license to GNU Lesser General Public License (LGPL)feclib version 2.1 June 5 2006Added error checking, fixed alignment bug in SSE2 versions of Viterbi decoders causing segfaultsfeclib version 2.1.1 June 6 2006Fix test/benchmark time measurement on Linux

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -