关于GAL16V8的烧写工作

[复制链接]
4667|3
 楼主| fenglingchen 发表于 2010-5-18 14:17 | 显示全部楼层 |阅读模式
/****************************************************************/

/*
* Inputs:  define inputs to build simple gates from
*/

Pin 3 =  a;
Pin 2 =  b;

/*
* Outputs:  define outputs as active HI levels
*
*/

Pin 12 = inva;
Pin 13 = invb;
Pin 14 = and;
Pin 15 = nand;
Pin 16 = or;
Pin 17 = nor;
Pin 18 = xor;
Pin 19 = xnor;

/*
* Logic:  examples of simple gates expressed in CUPL
*/

inva = !a;              /* inverters */
invb = !b;
and  = a & b;           /* and gate */
nand = !(a & b);        /* nand gate */
or   = a # b;           /* or gate */
nor  = !(a # b);        /* nor gate */
xor  = a $ b;           /* exclusive or gate */
xnor = !(a $ b);        /* exclusive nor gate */
这是ATMEL的软件WINCUPL下的一个示例,编译和软件仿真都正常,可是用wellon的烧写器烧写芯片后,工作却不正常,如2pin,3pin都是低电平时,12pin,13pin也是低电平,请各位高手指点,错误出在哪里,不胜感谢!!!
 楼主| fenglingchen 发表于 2010-5-19 11:34 | 显示全部楼层
有人指导一下没有啊?
在*.JED文件中,0代表熔断,1代表不变,对不对?
guolh 发表于 2010-5-20 08:45 | 显示全部楼层
很早以前用过FM做GAL,也做过手工反编译,忘的差不多了
BitFu 发表于 2010-5-20 08:47 | 显示全部楼层
用ABEL4试一下咯!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

0

主题

4

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部