From: lkcl Date: Sun, 26 Sep 2021 14:54:47 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~3816 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c83f8ca36e29a7966b7a5a8cf354d9891ecab57;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd.mdwn b/3d_gpu/architecture/dynamic_simd.mdwn index 1fd1013b9..4517674a0 100644 --- a/3d_gpu/architecture/dynamic_simd.mdwn +++ b/3d_gpu/architecture/dynamic_simd.mdwn @@ -100,5 +100,11 @@ Therefore, a Parallel Switch statement is as simple as taking the relevant colum b = PartitionedSignal(mask, 4) # likewise c = PartitionedSignal(mask, 32) d = PartitionedSignal(mask, 32) - + o = PartitionedSignal(mask, 32) + + with m.If(a): + comb += o.eq(c) + with m.Elif(b): + comb += o eq(d) +