cmp2lut: comment out unused since 362f4f9
authorEddie Hung <eddie@fpgeh.com>
Fri, 17 Jan 2020 18:21:22 +0000 (10:21 -0800)
committerEddie Hung <eddie@fpgeh.com>
Fri, 3 Apr 2020 21:28:04 +0000 (14:28 -0700)
techlibs/common/cmp2lut.v

index 1c8192b85f7cb374b963c1bebc3b2590431923e5..2f1bfd901b3af076503f8eeb1169f96bae8d7fe8 100644 (file)
@@ -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;