Fix incorrect $__ABC9_ASYNC[01] box
authorEddie Hung <eddie@fpgeh.com>
Tue, 31 Dec 2019 19:13:50 +0000 (11:13 -0800)
committerEddie Hung <eddie@fpgeh.com>
Tue, 31 Dec 2019 19:13:50 +0000 (11:13 -0800)
techlibs/xilinx/abc9_map.v

index 2cabe57d776937756789a88da0725ab19ccc51bb..a3f9e311e37f0a34b61de2475769646af9335d0b 100644 (file)
@@ -186,7 +186,7 @@ module FDCE (output Q, input C, CE, D, CLR);
                                             //     $__ABC9_ASYNC1 below
     );
     // Since this is an async flop, async behaviour is dealt with here
-    $__ABC9_ASYNC0 abc_async (.A($abc9_currQ), .S(CLR ^ IS_CLR_INVERTED), .Y(QQ));
+    $__ABC9_ASYNC1 abc_async (.A($abc9_currQ), .S(CLR ^ IS_CLR_INVERTED), .Y(QQ));
   end
   else begin
     assign Q = QQ;
@@ -204,7 +204,7 @@ module FDCE (output Q, input C, CE, D, CLR);
                                            //     $__ABC9_ASYNC0 below
     );
     // Since this is an async flop, async behaviour is dealt with here
-    $__ABC9_ASYNC1 abc_async (.A($abc9_currQ), .S(CLR ^ IS_CLR_INVERTED), .Y(QQ));
+    $__ABC9_ASYNC0 abc_async (.A($abc9_currQ), .S(CLR ^ IS_CLR_INVERTED), .Y(QQ));
   end endgenerate
   $__ABC9_FF_ abc_dff (.D($Q), .Q($abc9_currQ));