aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/common/abc9_map.v
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-05-13 21:56:06 -0700
committerEddie Hung <eddie@fpgeh.com>2020-05-14 10:33:57 -0700
commit97a0a0431489568300b40c1d376af7b5d8cb7027 (patch)
treec811858ea5d04fb6ae6dccecbed28dab4d81254e /techlibs/common/abc9_map.v
parente79127fcebf9c5aed47f6f56fcfc8a4c4f98705c (diff)
downloadyosys-97a0a0431489568300b40c1d376af7b5d8cb7027.tar.gz
yosys-97a0a0431489568300b40c1d376af7b5d8cb7027.tar.bz2
yosys-97a0a0431489568300b40c1d376af7b5d8cb7027.zip
abc9_ops/xaiger: further reducing Module::derive() calls by ...
replacing _all_ (* abc9_box *) instantiations with their derived types
Diffstat (limited to 'techlibs/common/abc9_map.v')
-rw-r--r--techlibs/common/abc9_map.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/techlibs/common/abc9_map.v b/techlibs/common/abc9_map.v
index 57b3831d8..182915842 100644
--- a/techlibs/common/abc9_map.v
+++ b/techlibs/common/abc9_map.v
@@ -3,10 +3,10 @@
module $_DFF_x_(input C, D, output Q);
parameter [0:0] _TECHMAP_WIREINIT_Q_ = 1'bx;
parameter _TECHMAP_CELLTYPE_ = "";
- wire D_;
+ (* init=_TECHMAP_WIREINIT_Q_ *) wire D_;
generate if (_TECHMAP_CELLTYPE_ == "$_DFF_N_") begin
if (_TECHMAP_WIREINIT_Q_ === 1'b0) begin
- $__DFF_N__$abc9_flop #(.INIT(_TECHMAP_WIREINIT_Q_)) _TECHMAP_REPLACE_ (.C(C), .D(D), .Q(Q), .n1(D_));
+ $__DFF_N__$abc9_flop _TECHMAP_REPLACE_ (.C(C), .D(D), .Q(Q), .n1(D_));
$_DFF_N_ ff (.C(C), .D(D_), .Q(Q));
end
else
@@ -14,7 +14,7 @@ module $_DFF_x_(input C, D, output Q);
end
else if (_TECHMAP_CELLTYPE_ == "$_DFF_P_") begin
if (_TECHMAP_WIREINIT_Q_ === 1'b0) begin
- $__DFF_P__$abc9_flop #(.INIT(_TECHMAP_WIREINIT_Q_)) _TECHMAP_REPLACE_ (.C(C), .D(D), .Q(Q), .n1(D_));
+ $__DFF_P__$abc9_flop _TECHMAP_REPLACE_ (.C(C), .D(D), .Q(Q), .n1(D_));
$_DFF_P_ ff (.C(C), .D(D_), .Q(Q));
end
else