projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
611c250
)
(no commit message)
author
lkcl
<lkcl@web>
Sun, 26 Sep 2021 14:54:47 +0000
(15:54 +0100)
committer
IkiWiki
<ikiwiki.info>
Sun, 26 Sep 2021 14:54:47 +0000
(15:54 +0100)
3d_gpu/architecture/dynamic_simd.mdwn
patch
|
blob
|
history
diff --git
a/3d_gpu/architecture/dynamic_simd.mdwn
b/3d_gpu/architecture/dynamic_simd.mdwn
index 1fd1013b940cc07484a1f54f416191b3b017188b..4517674a0a9ff89306533eae73d994a9f9dc8b87 100644
(file)
--- 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)
+