然后,俺就用以下的程序写的。。。但输出的是XXXX
555~ 怎么回事呀。。
architecture cn_test_behav of cn_test is
begin
process(a,b)
variable x:bit :='0' ;
begin if a='0' and b='0' then --是这有问题吗??
if x='0' then
con1a<='1';
elsif x='1' then
con1a<='0';
end if;
X:=not x;
end if;
end process;
end cn_test_behav;