aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/common
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-04-21 17:54:24 -0700
committerEddie Hung <eddie@fpgeh.com>2020-05-14 10:33:57 -0700
commit57c478c537ef23c05ca34ecdf4c4334fd82c104e (patch)
tree00f097644b89f1bc7ea4a9c83857d3a22dad9efd /techlibs/common
parent2946bb60e95408be1ffc5b667b6c84160f7f41e6 (diff)
downloadyosys-57c478c537ef23c05ca34ecdf4c4334fd82c104e.tar.gz
yosys-57c478c537ef23c05ca34ecdf4c4334fd82c104e.tar.bz2
yosys-57c478c537ef23c05ca34ecdf4c4334fd82c104e.zip
abc9: only do +/abc9_map if `DFF
Diffstat (limited to 'techlibs/common')
-rw-r--r--techlibs/common/abc9_map.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/techlibs/common/abc9_map.v b/techlibs/common/abc9_map.v
index 5f1822485..57b3831d8 100644
--- a/techlibs/common/abc9_map.v
+++ b/techlibs/common/abc9_map.v
@@ -1,3 +1,4 @@
+`ifdef DFF
(* techmap_celltype = "$_DFF_N_ $_DFF_P_" *)
module $_DFF_x_(input C, D, output Q);
parameter [0:0] _TECHMAP_WIREINIT_Q_ = 1'bx;
@@ -23,3 +24,4 @@ module $_DFF_x_(input C, D, output Q);
$error("Unrecognised _TECHMAP_CELLTYPE_");
endgenerate
endmodule
+`endif