projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a2a2cd
)
gen_lut to return correctly sized LUT mask
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 16 Jul 2019 19:45:29 +0000
(12:45 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 16 Jul 2019 19:45:29 +0000
(12:45 -0700)
techlibs/common/cmp2lut.v
patch
|
blob
|
history
diff --git
a/techlibs/common/cmp2lut.v
b/techlibs/common/cmp2lut.v
index 8aa1eb957592c2c071f5e1cced4bd7a6a313103d..0d0757767c5b0570f94ded85d209fe10d068b8ca 100644
(file)
--- a/
techlibs/common/cmp2lut.v
+++ b/
techlibs/common/cmp2lut.v
@@
-27,7
+27,7
@@
parameter _TECHMAP_CONSTVAL_A_ = 0;
parameter _TECHMAP_CONSTMSK_B_ = 0;
parameter _TECHMAP_CONSTVAL_B_ = 0;
-function automatic
integer
gen_lut;
+function automatic
[(1 << `LUT_WIDTH)-1:0]
gen_lut;
input integer width;
input integer operation;
input integer swap;