Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

examples/complex: do not use variable

  • Loading branch information...
commit 6420b5690859d727cf008aae9b6c75df0f126a66 1 parent 71b89e4
Sébastien Bourdeauducq sbourdeauducq authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/basic/complex.py
4 examples/basic/complex.py
View
@@ -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)
]
Please sign in to comment.
Something went wrong with that request. Please try again.