Sebastien Bourdeauducq
808cf06add
fhdl: replace flen with len
2015-09-26 18:45:10 +08:00
Sebastien Bourdeauducq
049a8f082a
test/size: do not test removed functions
2015-09-17 17:23:19 +08:00
Sebastien Bourdeauducq
336728413a
simplify imports, migen.fhdl.std -> migen
2015-09-12 19:34:07 +08:00
Florent Kermarrec
1051878f4c
global: pep8 (E302)
2015-04-13 20:45:35 +02:00
Florent Kermarrec
17e5249be0
global: pep8 (replace tabs with spaces)
2015-04-13 20:07:07 +02:00
Sebastien Bourdeauducq
ccc9a0d334
test/test_size: fix slice comparison
2014-11-03 12:08:43 +08:00
Robert Jordens
86ba9c8bbc
migen.fhdl.size: verify fslice for negative values
2013-12-03 21:39:37 +01:00
Robert Jordens
fe67210d77
migen.fhdl.size: add fiter(), fslice(), and freversed()
...
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 ;)
2013-12-03 21:36:33 +01:00