mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
fe67210d77
do not overload __len__, __iter__, __reversed__ as not all valid expressions (ints and bools) have them. furthermore len([]) is and should be different from flen([]) (the later raises an error). keep __getitem__ as an exception that proves the rule ;)
5 lines
302 B
Python
5 lines
302 B
Python
from migen.fhdl.structure import *
|
|
from migen.fhdl.module import Module
|
|
from migen.fhdl.specials import TSTriple, Instance, Memory
|
|
from migen.fhdl.size import log2_int, bits_for, flen, fiter, fslice, freversed
|
|
from migen.fhdl.decorators import DecorateModule, InsertCE, InsertReset, RenameClockDomains
|