aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/quicklogic/abc9_unmap.v
blob: 1681e01bb1690bb879dcfc0aa91833c3cfed0cb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module $__PP3_DFFEPC_SYNCONLY (
  output Q,
  input D,
  input CLK,
  input EN,
);

// For some reason ABC9 adds init attributes to wires even though they were removed before mapping.
// As a workaround, remove any init attributes that get reintroduced.
wire _TECHMAP_REMOVEINIT_Q_ = 1;

dffepc _TECHMAP_REPLACE_ (.Q(Q), .D(D), .CLK(CLK), .EN(EN), .PRE(1'b0), .CLR(1'b0));

endmodule