Error (10663): Verilog HDL Port Connection error at led_demo.v(6): output or inout port "led" must be connected to a structural net expression

时间:2015-11-26 23:26:23   收藏:0   阅读:2808

 

错误现象:

 

技术分享

 

原因:

连接模块端口的中间变量使用wire类型,而不应该是reg类型。

 

修改:

技术分享

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!