文库 计算机 电子信息工程

十分频计数模块-575字.pdf

2022及前全 PDF   10页   下载0   2026-01-15   浏览5   收藏0   点赞0   评分-   5433字   20.00
十分频计数模块-575字.pdf 第1页
十分频计数模块-575字.pdf 第2页
十分频计数模块-575字.pdf 第3页
十分频计数模块-575字.pdf 第4页
十分频计数模块-575字.pdf 第5页
十分频计数模块-575字.pdf 第6页
十分频计数模块-575字.pdf 第7页
十分频计数模块-575字.pdf 第8页
十分频计数模块-575字.pdf 第9页
十分频计数模块-575字.pdf 第10页
3 process(clkus1) variable pwmgate:integer:=1; variable pwmcount:integer:=0; variable pwmcount_1:integer:=0; variable count:integer:=0; variable light:integer:=0; begin if clkus1'event and clkus1='1' then if light=0 then if count=0 then count:=1; pwmcount_1:=pwmcount_1+1; else count:=0; end if; if pwmcount_1=pwmgate then pwmout1<='1'; end if; if pwmcount_1=99 then pwmgate:=pwmgate+1
十分频计数模块-575字.pdf