标签:
module register8(ena,clk,data,rst,out);
input ena,clk,rst;
input[7:0] data;
output[7:0] out;
reg[7:0] out;
always@(posedge clk)
begin
if(!rst)
out<=0;
else if(ena)
out<=data;
else ;
end
endmodule
made by qidaiYMM, yout comment is appreciated.
email:1519882610@qq.com
标签:
原文地址:http://www.cnblogs.com/qidaiymm/p/4889154.html