Verilog 与门

module and_gate(c,a,b);

input a,b;
output c;

assign c = a & b;

endmodule

module always_block_example;
reg clk;

initial
begin
clk = 0;
end

always
 #10 clk = ~clk;
endmodule
posted @ 2022-08-19 22:44  luoganttcc  阅读(14)  评论(0)    收藏  举报