Skip to content
Browse files

examples/complex: do not use variable

  • Loading branch information...
1 parent 71b89e4 commit 6420b5690859d727cf008aae9b6c75df0f126a66 @sbourdeauducq sbourdeauducq committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/basic/complex.py
View
4 examples/basic/complex.py
@@ -7,11 +7,11 @@ def __init__(self):
w = Complex(32, 42)
A = SignalC(16)
B = SignalC(16)
- Bw = SignalC(16, variable=True)
+ Bw = SignalC(16)
C = SignalC(16)
D = SignalC(16)
+ self.comb += Bw.eq(B*w)
self.sync += [
- Bw.eq(B*w),
C.eq(A + Bw),
D.eq(A - Bw)
]

0 comments on commit 6420b56

Please sign in to comment.
Something went wrong with that request. Please try again.