Skip to content

Commit

Permalink
examples/complex: do not use variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Jun 30, 2013
1 parent 71b89e4 commit 6420b56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/basic/complex.py
Expand Up @@ -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)
]
Expand Down

0 comments on commit 6420b56

Please sign in to comment.