[source]

Component comm_scramble

GENBITSclkstd_logicsetstd_logicdin[GEN ' length - 2 downto 0]std_logic_vectorstepstd_logicmaskstd_logic_vector[BITS - 1 downto 0]

Block Diagram of comm_scramble

Computes XOR masks for stream scrambling from an LFSR generator.

Generics

Name

Type

Initial Value

Description

GEN

bit_vector

Generator Polynomial (little endian)

BITS

positive

Width of Mask Bits to be computed in parallel

Ports

Name

Direction

Type

Description

clk

in

std_logic

Clock

set

in

std_logic

Set LFSR to provided Value

din

in

std_logic_vector

step

in

std_logic

Compute a Mask Output

mask

out

std_logic_vector