projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d14849
)
Do not map $eq and $ne in cmp2lut, only proper arithmetic cmp
author
Clifford Wolf
<clifford@clifford.at>
Mon, 11 Nov 2019 14:07:29 +0000
(15:07 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Mon, 11 Nov 2019 14:07:29 +0000
(15:07 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
techlibs/common/cmp2lut.v
patch
|
blob
|
history
diff --git
a/techlibs/common/cmp2lut.v
b/techlibs/common/cmp2lut.v
index 0d0757767c5b0570f94ded85d209fe10d068b8ca..1c8192b85f7cb374b963c1bebc3b2590431923e5 100644
(file)
--- a/
techlibs/common/cmp2lut.v
+++ b/
techlibs/common/cmp2lut.v
@@
-7,7
+7,7
@@
// with n <= k inputs should be techmapped in this way, because this shortens the critical path
// from n to 1 by avoiding carry chains.
-(* techmap_celltype = "$
eq $ne $
lt $le $gt $ge" *)
+(* techmap_celltype = "$lt $le $gt $ge" *)
module _90_lut_cmp_ (A, B, Y);
parameter A_SIGNED = 0;