projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a92e34
)
test: bit reverse
author
Sebastien Bourdeauducq
<sb@m-labs.hk>
Thu, 17 Sep 2015 06:38:55 +0000
(14:38 +0800)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Thu, 17 Sep 2015 06:38:55 +0000
(14:38 +0800)
migen/test/test_constant.py
patch
|
blob
|
history
diff --git
a/migen/test/test_constant.py
b/migen/test/test_constant.py
index 8ad637fc7f9225c13e9c091f0ef7f68401673050..040e19009f13a0ca8ed1ed0efedb2e8b85137b30 100644
(file)
--- a/
migen/test/test_constant.py
+++ b/
migen/test/test_constant.py
@@
-14,6
+14,7
@@
class ConstantCase(SimCase, unittest.TestCase):
(Signal(3), Constant(-1, 7), 7),
(Signal(3), Constant(0b10101)[:3], 0b101),
(Signal(3), Constant(0b10101)[1:4], 0b10),
+ (Signal(4), Constant(0b1100)[::-1], 0b0011),
]
self.comb += [a.eq(b) for a, b, c in self.sigs]