请懂GAL22V10B-25LP器件编程的大侠帮忙看一眼,ABEL语言。
一个快20年的器件了,现在需要生成熔丝文件,好不容易搞定了ABEL4,遇到编译问题,还请懂GAL22V10B-25LP器件编程的大侠帮忙看一眼。目前程序前两步编译链接都没问题。但是在生成熔丝文件的时候报告Fatal Error 5046: Invalid pin number assigned to signal S8错误。半月了,一点进展没有,还请各路神仙赐教。
下面是程序:
MODULE P22V10
title 'frequency divider'
U1 DEVICE 'P22V10';
"Inputs
CLK pin 1;
"Internal
S8,S7,S6,S5,S4,S3,S2,S1,S0 pin istype 'reg';
"Outputs
DP pin 23 istype 'reg';
"Constants
H,L,C,Z,X=1,0,.C.,.Z.,.X.;
Counter=[S8..S0];
EQUATIONS
DP:=S8;
Counter.clk=CLK;
when(Counter==511)then Counter:=57
else Counter:=Counter+1;
END P22V10;
下面是编译结果(报错信息在最后一行):
AHDL2PLA ABEL-HDL Processor
ABEL 4.00 Copyright 1990 Data I/O Corp. All Rights Reserved
Module: 'P22V10'
Processing equations.......
Creating sum-of-products on-set matrix.....
Creating ABEL-PLA file p22v10.tt1...
AHDL2PLA complete - 0 errors, 0 warnings. Time: -12562 seconds
PLAOPT ABEL PLA Optimizer
ABEL 4.00 Copyright 1990 Data I/O Corp. All Rights Reserved
Input file: 'C:\Abel4w\abel4\P22V10.tt1'.
Choose ByPin Reduction
Reducing for ON-SETs...
Reducing for OFF-SETs...
Merging results in 'C:\Abel4w\abel4\P22V10.tt2'.
PLAOPT complete. Time: 0 seconds
FUSEASM Fusemap Assembler
ABEL 4.00 Copyright 1990 Data I/O Corp. All Rights Reserved
Input file: 'P22V10.tt2'
Device: 'P22V10'
Choosing best polarities...
Fatal Error 5046: Invalid pin number assigned to signal S8
实在是搞不定了,请大侠看看怎么改改。报错:Fatal Error 5046: Invalid pin number assigned to signal S8
|