From c6e270ee74d721049dd3d852e13706822e4b9e98 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Tue, 14 Apr 2020 08:08:05 -0700 Subject: [PATCH] ecp5: leave comment behind that LSRMUX is unreliable https://github.com/YosysHQ/yosys/pull/1925#discussion_r408200521 --- techlibs/ecp5/cells_map.v | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/techlibs/ecp5/cells_map.v b/techlibs/ecp5/cells_map.v index f8df08eab..c1ef4a646 100644 --- a/techlibs/ecp5/cells_map.v +++ b/techlibs/ecp5/cells_map.v @@ -48,7 +48,7 @@ module \$_DFF_xxx_ (input D, C, R, output Q); localparam CLKMUX = "INV"; else localparam CLKMUX = "CLK"; - // TODO: Why not use LSRMUX param? + // LSRMUX is unreliable, thus don't use it if (_TECHMAP_CELLTYPE_[2*8+:8] == "N") wire LSR_ = !R; else @@ -77,7 +77,7 @@ module \$__DFFS_xxx_ (input D, C, R, output Q); localparam CLKMUX = "INV"; else localparam CLKMUX = "CLK"; - // TODO: Why not use LSRMUX param? + // LSRMUX is unreliable, thus don't use it if (_TECHMAP_CELLTYPE_[2*8+:8] == "N") wire LSR_ = !R; else @@ -112,7 +112,7 @@ module \$__DFFE_xxx_ (input D, C, E, R, output Q); localparam CLKMUX = "INV"; else localparam CLKMUX = "CLK"; - // TODO: Why not use LSRMUX param? + // LSRMUX is unreliable, thus don't use it if (_TECHMAP_CELLTYPE_[2*8+:8] == "N") wire LSR_ = !R; else @@ -143,7 +143,7 @@ module \$__DFFSE_xxx_ (input D, C, E, R, output Q); localparam CLKMUX = "INV"; else localparam CLKMUX = "CLK"; - // TODO: Why not use LSRMUX param? + // LSRMUX is unreliable, thus don't use it if (_TECHMAP_CELLTYPE_[2*8+:8] == "N") wire LSR_ = !R; else @@ -183,7 +183,7 @@ module \$_DLATCH_x_ (input E, input D, output Q); parameter _TECHMAP_CELLTYPE_ = ""; wire _TECHMAP_REMOVEINIT_Q_ = 1'b1; generate - // TODO: Why not use LSRMUX param? + // LSRMUX is unreliable, thus don't use it if (_TECHMAP_CELLTYPE_[1*8+:8] == "N") wire LSR_ = !E; else