Untitled

Pasted by zyp on Mon Jul 10 21:23:56 2023 UTC as Python
        self.fastnet.signals.foo = foo = sig.Group(
            a = sig.OutU32(),
            b = sig.OutU32(),
            x = sig.InU32(),
            y = sig.InS32(),
        )

        self.comb += [
            foo.x.value.eq(foo.a.value + foo.b.value),   
            foo.y.value.eq(foo.a.value - foo.b.value),   
        ]