aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/common
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-17 10:21:22 -0800
committerEddie Hung <eddie@fpgeh.com>2020-04-03 14:28:04 -0700
commitfffe42d4c1dbfdf976ecb84e16a759552c8e2dd0 (patch)
treee91197d02aeb8a16c157b7f280950e2517816453 /techlibs/common
parent37f42fe102e329793b884a47321423062eedfce7 (diff)
downloadyosys-fffe42d4c1dbfdf976ecb84e16a759552c8e2dd0.tar.gz
yosys-fffe42d4c1dbfdf976ecb84e16a759552c8e2dd0.tar.bz2
yosys-fffe42d4c1dbfdf976ecb84e16a759552c8e2dd0.zip
cmp2lut: comment out unused since 362f4f9
Diffstat (limited to 'techlibs/common')
-rw-r--r--techlibs/common/cmp2lut.v16
1 files changed, 8 insertions, 8 deletions
diff --git a/techlibs/common/cmp2lut.v b/techlibs/common/cmp2lut.v
index 1c8192b85..2f1bfd901 100644
--- a/techlibs/common/cmp2lut.v
+++ b/techlibs/common/cmp2lut.v
@@ -57,10 +57,10 @@ function automatic [(1 << `LUT_WIDTH)-1:0] gen_lut;
o_bit = (lhs > rhs);
if (operation == 3)
o_bit = (lhs >= rhs);
- if (operation == 4)
- o_bit = (lhs == rhs);
- if (operation == 5)
- o_bit = (lhs != rhs);
+// if (operation == 4)
+// o_bit = (lhs == rhs);
+// if (operation == 5)
+// o_bit = (lhs != rhs);
gen_lut = gen_lut | (o_bit << n);
end
end
@@ -75,10 +75,10 @@ generate
localparam operation = 2;
if (_TECHMAP_CELLTYPE_ == "$ge")
localparam operation = 3;
- if (_TECHMAP_CELLTYPE_ == "$eq")
- localparam operation = 4;
- if (_TECHMAP_CELLTYPE_ == "$ne")
- localparam operation = 5;
+// if (_TECHMAP_CELLTYPE_ == "$eq")
+// localparam operation = 4;
+// if (_TECHMAP_CELLTYPE_ == "$ne")
+// localparam operation = 5;
if (A_WIDTH > `LUT_WIDTH || B_WIDTH > `LUT_WIDTH || Y_WIDTH != 1)
wire _TECHMAP_FAIL_ = 1;