在使用 Lattice Diamond 编译代码时,能够编译通过,但是打开 pin分布图时会提示Based on the current IO attributes settings, port cannot be assigned to pin ##
有两种情况:
1.bank电压不匹配,lpf文件中这个BANK的电压与spreatsheet中该BANK的电压不匹配导致
2.分配管脚的信号没有使用,且信号类型是input,输入型信号相当于悬空,软件认为有隐患,将信号注释掉或者改为output类型即可