yosys4gal/extractions/ndff.v

29 lines
356 B
Coq
Raw Normal View History

2024-03-18 05:06:49 +00:00
module NDFF_P (
input C, D,
output Q
);
wire Y;
$_NOT_ not_inst (.A(D), .Y(Y));
DFF_P dff_inst (.D(Y), .C(C), .Q(Q));
endmodule
/*module GAL_MACROCELL #(
parameter ACTIVE_HIGH = 0,
parameter REGISTERED = 0,
)(
input clk,
input data,
input in,
output out,
);
$_NOT_ not_inst (.A(D), .Y(Y));
DFF_P dff_inst (.D(Y), .C(C), .Q(Q));
endmodule*/