Quartus II中一个VHDL程序,改来改去一只显示三个错误,比较急,求大神解决
显示错误行为signalstate:lift_state;运行时错误代码Error(10500):VHDLsyntaxerroratdianti4.vhd(30)near...
显示错误行为
signal state:lift_state;
运行时错误代码
Error (10500): VHDL syntax error at dianti4.vhd(30) near text "signal"; expecting "(", or "access", or "array", or "file", or "range", or "record"
Error: Quartus II Analysis & Synthesis was unsuccessful. 1 error, 0 warnings
Error: Peak virtual memory: 230 megabytes
Error: Processing ended: Fri Nov 22 13:27:08 2013
Error: Elapsed time: 00:00:01
Error: Total CPU time (on all processors): 00:00:01
Error: Quartus II Full Compilation was unsuccessful. 3 errors, 0 warnings
全程序超出字数了
求大神指导具体怎么改 展开
signal state:lift_state;
运行时错误代码
Error (10500): VHDL syntax error at dianti4.vhd(30) near text "signal"; expecting "(", or "access", or "array", or "file", or "range", or "record"
Error: Quartus II Analysis & Synthesis was unsuccessful. 1 error, 0 warnings
Error: Peak virtual memory: 230 megabytes
Error: Processing ended: Fri Nov 22 13:27:08 2013
Error: Elapsed time: 00:00:01
Error: Total CPU time (on all processors): 00:00:01
Error: Quartus II Full Compilation was unsuccessful. 3 errors, 0 warnings
全程序超出字数了
求大神指导具体怎么改 展开
1个回答
展开全部
signal state:lift_state;这一行看似无问题。你可以注意一下这一行的上面一行是否有错误,或者将这一行的前后数行上传上来供大家分析。
追问
(stop_on_1,door_open,door_close,door_wait1,door_wait2,door_wait3,door_wait4,up,down,stop);
signal state:lift_state;
signal clr_up:std_logic;
追答
好像第一行的括号中只列出了一些名称,而且不完整。如果是信号的话,应当有信号的类型呀。
问题基本上出在这个地方,与signal state:lift_state;无关。你还是将signal state:lift_state;前面的描述多上传几行吧。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询