错误指向的代码: SCsleA <=Udcs when (pwrctl(0) = '1' and spictl <= "11 ") else 'Z' ; 原因是"11 "中后面的双引号没有紧挨着11,改为 "11" 即可。