
DeScrambler |
ptolemy.actor.lib.comm.DeScrambler |
Descramble the input bit sequence using a feedback shift register.
The taps of the feedback shift register are given by the <i>polynomial</i>
parameter. The initial state of the shift register is given by the
<i>initialState</i> parameter. This is a self-synchronizing descrambler that
will exactly reverse the operation of the Scrambler if the polynomials
are the same. The low-order bit of the polynomial should always be set.
For more information, see the documentation for the Scrambler actor
and Lee and Messerschmitt, Digital Communication, Second Edition,
Kluwer Academic Publishers, 1994, pp. 595-603.
<p>
Author(s): Edward A. Lee and Ye Zhou
Version:$Id: DeScrambler.doc.html,v 1.1 2006/02/22 18:40:26 mangal Exp $
Pt.Proposed Rating:Red (eal)
Pt.Accepted Rating:Red (cxh)
polynomial
Integer defining a polynomial with binary coefficients.
The coefficients indicate the presence (1) or absence (0)
of a tap in a feedback shift register. This parameter should
contain a positive integer with the lower-order bit being 1.
Its default value is the integer 0440001.
initialState
Integer defining the initial state of the shift register.
The n-th bit of the integer indicates the value of the
n-th register. This parameter should be a non-negative
integer. Its default value is the integer 1.