EDA程序出错,求助!
PROCESS(CLK)BEGINIFCLKEVENTANDCLK=’1’THENCASECOUNTISWHEN"101"=>COUNT<="000";CHOOSEOUT...
PROCESS (CLK) BEGIN
IF CLK EVENT AND CLK = ’1’ THEN
CASE COUNT IS
WHEN" 101" = >COUNT < = " 000" ;
CHOOSEOUT < = S1; LT < = " 111110" ;
WHEN" 000" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S2; LT < = " 111101" ;
WHEN" 001" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S3; LT < = " 111011" ;
WHEN" 010" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S4; LT < = " 110111" ;
WHEN" 011" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S5; LT < = " 101111" ;
WHEN" 100" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S6; LT < = " 011111" ;
WHEN OTHERS = >LT < = " 111111" ;
END CASE;
END IF;
END PROCESS; 展开
IF CLK EVENT AND CLK = ’1’ THEN
CASE COUNT IS
WHEN" 101" = >COUNT < = " 000" ;
CHOOSEOUT < = S1; LT < = " 111110" ;
WHEN" 000" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S2; LT < = " 111101" ;
WHEN" 001" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S3; LT < = " 111011" ;
WHEN" 010" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S4; LT < = " 110111" ;
WHEN" 011" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S5; LT < = " 101111" ;
WHEN" 100" = >COUNT < =COUNT + ’1’;
CHOOSEOUT < = S6; LT < = " 011111" ;
WHEN OTHERS = >LT < = " 111111" ;
END CASE;
END IF;
END PROCESS; 展开
1个回答
展开全部
应该是clk'event
追问
不行呀,说的错误在第一段!Error (10500): VHDL syntax error at Vhdl1.vhd(1) near text "PROCESS"; expecting "entity", or "architecture", or "use", or "library", or "package", or "configuration"
追答
那你把第一段也贴上来看看
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
易捷测试
2024-10-23 广告
2024-10-23 广告
load pull的简单原理是使用一个叫tuner的东西,可理论模拟任意阻抗的负载,(你可以把tuner想像成一个一段并联传输线和一段串联传输线的组合器件,而传输线的长度和阻抗都是可调的,那么通过调节即可遍历smith原图的任意位置)实际测...
点击进入详情页
本回答由易捷测试提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询