examples/complex: do not use variable
This commit is contained in:
parent
71b89e4c46
commit
6420b56908
|
@ -7,11 +7,11 @@ class Example(Module):
|
|||
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)
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue