projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e69093c
)
(no commit message)
author
lkcl
<lkcl@web>
Thu, 5 May 2022 06:07:34 +0000
(07:07 +0100)
committer
IkiWiki
<ikiwiki.info>
Thu, 5 May 2022 06:07:34 +0000
(07:07 +0100)
openpower/sv/vector_ops.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/vector_ops.mdwn
b/openpower/sv/vector_ops.mdwn
index 1a69d92070cc2980debbb5d6aa30e5ee0487c546..c2855da78c5c61cf010546b145aa9f0363b8237e 100644
(file)
--- a/
openpower/sv/vector_ops.mdwn
+++ b/
openpower/sv/vector_ops.mdwn
@@
-268,6
+268,22
@@
used not just for carry lookahead, also a special type of predication mask opera
`((P|G)+G)^P`
* <https://en.m.wikipedia.org/wiki/Carry-lookahead_adder>
+From QLSKY.png:
+
+```
+ x0 = nand(CIn, P0)
+ C0 = nand(x0, ~G0)
+
+ x1 = nand(CIn, P0, P1)
+ y1 = nand(G0, P1)
+ C1 = nand(x1, y1, ~G1)
+
+ x2 = nand(CIn, P0, P1, P2)
+ y1 = nand(G0, P1)
+ C1 = nand(x1, y1, ~G1)
+
+```
+
```
P = (A | B) & Ci
G = (A & B)