diff --git a/migen/genlib/misc.py b/migen/genlib/misc.py index 1130829ce..97d0be0e0 100644 --- a/migen/genlib/misc.py +++ b/migen/genlib/misc.py @@ -1,12 +1,6 @@ from migen.fhdl.std import * -from migen.fhdl.tools import value_bits_sign from migen.fhdl.structure import _Operator -def bitreverse(s): - length, signed = value_bits_sign(s) - l = [s[i] for i in reversed(range(length))] - return Cat(*l) - def optree(op, operands, lb=None, ub=None, default=None): if lb is None: lb = 0