集成电路技术分享

 找回密码
 我要注册

QQ登录

只需一步,快速开始

搜索
查看: 3684|回复: 2

请教个问题 关于Warning: Output pins are stuck at VCC or GND

[复制链接]
hero238 发表于 2013-4-4 20:20:54 | 显示全部楼层 |阅读模式
总出现警告:Warning: Output pins are stuck at VCC or GND                          
Warning (13410): Pin "L" is stuck at GND
程序如下
//test button and led
module button(E,L,clk);  //capital
output L;
input E,clk;
reg sig=1'd0,count=11'd0,LED=1'd0;  

always@ (negedge E)
sig <= 1'd1;

always@ (posedge clk) begin
if (sig == 1'd1)
        if (count == 11'd1999) begin
        sig <= 1'd0;
        count <= 11'd0;
        LED <= 1'd1;
        end
        else count <= count + 1'd1;
end  
assign L = LED;
endmodule

显示警告:Warning: Output pins are stuck at VCC or GND
        Warning (13410): Pin "L" is stuck at GND
      Warning: Design contains 2 input pin(s) that do not drive logic
        Warning (15610): No output dependent on input pin "E"
        Warning (15610): No output dependent on input pin "clk"
Warning: Following 1 pins have nothing, GND, or VCC driving datain port -- changes to this connectivity may change fitting results
        Info: Pin L has GND driving its datain port
 楼主| hero238 发表于 2013-4-5 13:18:48 | 显示全部楼层
额,显示有人回复,怎么看不到呢
您需要登录后才可以回帖 登录 | 我要注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|小黑屋|手机版|Archiver|fpga论坛|fpga设计论坛 ( 京ICP备20003123号-1 )

GMT+8, 2024-12-24 00:28 , Processed in 0.057292 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表