计数计时器的VHDL设计.pptVIP

  • 29
  • 0
  • 约9.54千字
  • 约 31页
  • 2017-02-26 发布于广东
  • 举报
process(clk_in)--上升沿 begin if(rising_edge(clk_in))then if(cnt16) then cnt1=cnt1+1; else cnt1=0; end if; if(cnt13) then clk1=1; else clk1=0; end if; end if; end process; process(clk_in)--下降沿 begin if(falling_edge(clk_in))then if(cnt26) then cnt2=cnt2+1; else cnt2=0; end if; if(cnt23) then clk2=1; else clk2=0; end if;

文档评论(0)

1亿VIP精品文档

相关文档