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条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题
  • ¥20 yolov5自定义Prune报错,如何解决?