From 2bf03c6ae0c4f03a4661c5878335b3115b57500c Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Tue, 21 Jan 2020 09:14:03 -0800 Subject: Cleanup +/cmp2lut.v --- techlibs/common/cmp2lut.v | 8 -------- 1 file changed, 8 deletions(-) (limited to 'techlibs/common') diff --git a/techlibs/common/cmp2lut.v b/techlibs/common/cmp2lut.v index 2f1bfd901..8ecd356cc 100644 --- a/techlibs/common/cmp2lut.v +++ b/techlibs/common/cmp2lut.v @@ -57,10 +57,6 @@ 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); gen_lut = gen_lut | (o_bit << n); end end @@ -75,10 +71,6 @@ 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 (A_WIDTH > `LUT_WIDTH || B_WIDTH > `LUT_WIDTH || Y_WIDTH != 1) wire _TECHMAP_FAIL_ = 1; -- cgit v1.2.3