Libraries
»
capricious
(0.2.2)
»
Index (S)
»
Capricious
»
SixteenBitShifter
Module: Capricious::SixteenBitShifter
Defined in:
lib/capricious/lfsr.rb
Constant Summary
collapse
MASK =
0xffff
SIZE =
16
BITS =
[
16
,
14
,
13
,
11
]
BITSELECT =
BITS
.
map
{
|
bit
|
"
@reg[
#{
SIZE
-
bit
}
]
"
}
.
join
(
"
^
"
)