yosys4gal/testcases/and_gate_reg.v

11 lines
116 B
Coq
Raw Normal View History

2024-05-04 21:33:07 +00:00
module and_gate (clk, A, B, Y);
input A, B;
output Y;
always @(posedge clk) begin
Y <= A && B;
end
endmodule