litex/lib/sata/phy/k7sataphy/std.py

9 lines
151 B
Python
Raw Normal View History

from migen.fhdl.std import *
from migen.genlib.record import *
2014-09-23 18:01:01 -04:00
ALIGN_VAL = 0x7B4A4ABC
SYNC_VAL = 0xB5B5957C
def ones(width):
return 2**width-1