From: Sebastien Bourdeauducq Date: Sun, 30 Jun 2013 17:27:01 +0000 (+0200) Subject: examples/complex: do not use variable X-Git-Tag: 24jan2021_ls180~2099^2~540 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6420b5690859d727cf008aae9b6c75df0f126a66;p=litex.git examples/complex: do not use variable --- diff --git a/examples/basic/complex.py b/examples/basic/complex.py index f5777103..0837365d 100644 --- a/examples/basic/complex.py +++ b/examples/basic/complex.py @@ -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) ]