projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9c53c0
)
(no commit message)
author
lkcl
<lkcl@web>
Fri, 22 Oct 2021 15:20:12 +0000
(16:20 +0100)
committer
IkiWiki
<ikiwiki.info>
Fri, 22 Oct 2021 15:20:12 +0000
(16:20 +0100)
3d_gpu/architecture/dynamic_simd/simdscope.mdwn
patch
|
blob
|
history
diff --git
a/3d_gpu/architecture/dynamic_simd/simdscope.mdwn
b/3d_gpu/architecture/dynamic_simd/simdscope.mdwn
index f1b3c9639615ec0dd170707105cd6caddca35552..a81358c6928bd71f1d1de69d2185640d937b4e07 100644
(file)
--- a/
3d_gpu/architecture/dynamic_simd/simdscope.mdwn
+++ b/
3d_gpu/architecture/dynamic_simd/simdscope.mdwn
@@
-27,7
+27,8
@@
SimdScope is used as follows:
a = s.Signal(64)
b = s.Signal(32)
- m.d.comb += b.eq(a[:32])
+ with m.If(a > Const(2)):
+ m.d.comb += b.eq(a[:32])
Note that the scalar parameter is selected from a runtime/compiletime
configuration parameter which can alter the context between scalar and