yosys/techlibs/common/dff2ff.v

17 lines
299 B
Coq
Raw Normal View History

2017-05-31 04:45:58 -05:00
(* techmap_celltype = "$dff" *)
module dff2ff (CLK, D, Q);
parameter WIDTH = 1;
parameter CLK_POLARITY = 1;
input CLK;
(* force_downto *)
2017-05-31 04:45:58 -05:00
input [WIDTH-1:0] D;
(* force_downto *)
2017-05-31 04:45:58 -05:00
output reg [WIDTH-1:0] Q;
wire [1023:0] _TECHMAP_DO_ = "proc;;";
always @($global_clock)
Q <= D;
endmodule