求助:用FPGA产生脉冲波形的方法
5楼
这个思路是正确的。
你是初学VHDL吗?如果时间不紧的话,还是先学学语法,再写吧
我用Verilog的,VHDL已经很久没写,都忘了。
6楼
为什么还在用MAX+PLUS 2呢?Altera都放弃对MAX+PLUS 2的支持了
换 Quartus II吧
换 Quartus II吧
10楼
signal cnt:integer range 0 to 255:=0;
process(clk,rst_n)
begin
if clk'event and clk='1' then
cnt<=cnt+1;
if cnt>=0 and cnt<=127 then
pwm<='1';
else
pwm<='0';
end if;
end if;
end process;
process(clk,rst_n)
begin
if clk'event and clk='1' then
cnt<=cnt+1;
if cnt>=0 and cnt<=127 then
pwm<='1';
else
pwm<='0';
end if;
end if;
end process;
回复
我要赚赏金打赏帖 |
|
|---|---|
| 一种有效完成脚本程序测试的方法被打赏¥28元 | |
| WorkBuddy搭配SolidCraft给开发板做两件式外壳被打赏¥33元 | |
| 开箱一块k230被打赏¥33元 | |
| 【瑞萨RA8D1测评】RA8D1+lwIP网络验证与TCPOTA的实验记录被打赏¥33元 | |
| 28BYJ-48机械臂实现人脸跟随被打赏¥24元 | |
| 基于RK3506B的片温识读功能的实现被打赏¥25元 | |
| 【瑞萨RA8D1测评】基于FreeRTOS的lvgl移植教程被打赏¥29元 | |
| 电子价签墨水屏开发被打赏¥35元 | |
| 【Ozone】RTT 打印终端使用被打赏¥29元 | |
| BMS保护板绝缘检测功能-不平衡电桥技术绝缘电阻检测设计与实现被打赏¥34元 | |
还有我在用MAX+PLUS 2进行程序仿真的时候怎么老是出现下面提示,我简直没办法 。
我要赚赏金
