qq_31156045 2016-09-08 08:33 采纳率: 0%
浏览 1380
已结题

ISE编程遇到一些问题,新手求问

提示错误ERROR:HDLParsers:164 - "G:/040141/a/top.vhd" Line 610. parse error, unexpected IF, expecting PROCESS
代码如下:

 process(clk3,timer,reset,change)
begin
if reset='1' then
dis2<="0001";
dis3<="0000"; ----------dis2,dis3 表示1 分钟


elsif rising_edge(clk3) then
if timer='1' then

if ifstart='1' then

if dis0="0000" and dis1="0000" then

if dis2="0000" then
dis2<="1001";
if dis3="0000" then
dis3<="0101";
else
dis3<=dis1-'1';
end if;

else
dis2<=dis2-'1';
end if;

end if;

end if;


 -------自定义的倒计时时间
elsif change='1' and rising_edge(clk3) then

if dis2="1001" then
dis2<="0000";

if dis3="0101" then
dis3<="0000";
else
dis3<=dis3+1;
end if ;

else
dis2<=dis2+1;
end if;

end if;

end if;

end if;
end if;
end process;

  • 写回答

1条回答

报告相同问题?

悬赏问题

  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码