首页 新闻 会员 周边

大神们,帮忙看一下错在哪了,为什么月份显示出来不会变化呢?

0
[待解决问题]

process(co5)
Begin
if (co5'event and co5='1') then
if (yue1="1001" )then yue1<="0000";yue2<='1';
if (yue2='1' and yue1="0010")then yue2<='0';yue1<="0001";co6<='1';
else yue1<=yue1+1;co6<='0';
end if;
end if;
end if;
end process;

process(yue1,yue2)
begin
if yue1="0000" then
month1<="00110000";
elsif yue1="0001" then
month1<="00110001";
elsif yue1="0010" then
month1<="00110010";
elsif yue1="0011" then
month1<="00110011";
elsif yue1="0100" then
month1<="00110100";
elsif yue1="0101" then
month1<="00110101";
elsif yue1="0110" then
month1<="00110110";
elsif yue1="0111" then
month1<="00110111";
elsif yue1="1000" then
month1<="00111000";
elsif yue1="1001" then
month1<="00111001";
Else month1<="ZZZZZZZZ";
end if;
if yue2='0' then
month2<="00110000";
elsif yue2='1' then
month2<="00110001";
Else month2<="ZZZZZZZZ";
end if;
end process;
为什么月份显示出来不会变化呢

winner12的主页 winner12 | 初学一级 | 园豆:138
提问于:2018-12-13 20:40
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册