mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2025-05-06 14:43:11 +00:00
11 lines
116 B
Verilog
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
|