Libraries
»
capricious
(0.1.0)
»
Index (S)
»
Capricious
»
SixtyFourBitShifter
Module: Capricious::SixtyFourBitShifter
Defined in:
lib/capricious/lfsr.rb
Constant Summary
collapse
MASK =
0xffffffffffffffff
SIZE =
64
BITS =
BITS = [64,63,61,60]
[
64
,
4
,
3
,
1
]
BITSELECT =
BITS
.
map
{
|
bit
|
"
@reg[
#{
SIZE
-
bit
}
]
"
}
.
join
(
"
^
"
)