yosys4gal/testcases/and_gate_reg.v
2024-05-04 16:33:07 -05:00

11 lines
116 B
Verilog

module and_gate (clk, A, B, Y);
input A, B;
output Y;
always @(posedge clk) begin
Y <= A && B;
end
endmodule