mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-22 18:52:23 +00:00
11 lines
116 B
Coq
11 lines
116 B
Coq
|
module and_gate (clk, A, B, Y);
|
||
|
|
||
|
input A, B;
|
||
|
output Y;
|
||
|
|
||
|
always @(posedge clk) begin
|
||
|
Y <= A && B;
|
||
|
end
|
||
|
|
||
|
endmodule
|