> 英语 >
VHDL 语言中 将CLK 频率 改变 语句怎么写process(Clk) begin if(Clk'event and Clk='1') then current_stat
人气:132 ℃ 时间:2020-06-04 03:16:34
解答
CLK频率改变可以用计数器实现,如下current_sta就是五位的计数器,计数到“11111”就是进行64分频,clk_s就是你需要的频率,其值=CLK/64
process(Clk)
begin if(Clk'event and Clk='1') then
if current_sta="11111" then
clk_s
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版