|
module blocking(
clk, //时钟输入信号
rst, //复位信号,用于给寄存器赋初值,低电平有效
out1,
out2
);
input clk;
input rst;
output out1;
output out2;
wire clk;
wire rst;
reg out1;
reg out2;
always @(posedge clk or negedge rst)
begin
if(!rst) //异步复位
begin
out1<=1; //为输出信号赋初值
out2<=0;
end //时钟上升沿到来
else
begin
out1<=out2; //多条非阻塞赋值同时完成
out2<=out1;
end
end
endmodule
Warning: Found pins functioning as undefined clocks and/or memory enables
Info: Assuming node "clk" is an undefined clock
请问各位大侠,这个是什么意思啊?多谢帮忙。 |
|