大家看看这段ABEL程序!!
我刚接触GAL时序逻辑 用的是GAL16V8D 有一问题啊 下面这段程序
module count16
title 'count16 2006'
count16 device 'P16R4'
c,cd pin 1,2;
q3,q2,q1,q0 pin 17,16,15,14 istype 'reg';
count=[q3,q2,q1,q0];
EQUATIONS
count.CLK=c;
count.AR=cd;
when (count==15) then count:=0;
else count:=(count.FB+1);
end
出现错误警告
5007 寄存器未复位
5087 pin中只能有一个反馈映射到XXX.FB文件中
错误怎样产生的!! 怎样解决啊!!
另外17,16,15,14脚应该有输出吧!
还有 P16R4 能不能换成 P16V4R 有什么区别?
发表时间:2006年12月27日15:08:32