十位计数器 verilog程序
modulecount10(cin,clk,cout,qout);
inputcin,clk;
output[3:0]qout;
outputcout;
reg[3:0]qout;
always@(posedgeclk)
begin
if(cin)
begin
if(qout[3:0]==9)qout[3:0]=0;
elseqout[3:0]=qout[3:0]+1;
end
end
assigncout=((qout[3:0]==9)&cin)?1:0;
endmodule
文件列表
count10.rar
(预估有个50文件)
count10
count10.fit.rpt
128KB
count10.tan.rpt
20KB
count10.qsf
2KB
count10.fit.summary
478B
count10.qws
622B
count10.sim.rpt
21KB
count10.map.rpt
10KB
count10.pin
56KB
db
暂无评论