Removed fan-outs from the following always-disabled I/O buffers? 如何解决?

[复制链接]
3245|4
 楼主| zhpg009 发表于 2012-12-30 10:56 | 显示全部楼层 |阅读模式
如题,

Warning (13027): Removed fan-outs from the following always-disabled I/O buffers
        Warning (13028): Removed fan-out from the always-disabled I/O buffer "dataout[0]" to the node "dataout[0]"
        Warning (13028): Removed fan-out from the always-disabled I/O buffer "dataout[1]" to the node "dataout[1]"
        Warning (13028): Removed fan-out from the always-disabled I/O buffer "dataout[2]" to the node "dataout[2]"
        Warning (13028): Removed fan-out from the always-disabled I/O buffer "dataout[3]" to the node "dataout[3]"
        Warning (13028): Removed fan-out from the always-disabled I/O buffer "dataout[4]" to the node "dataout[4]"
        Warning (13028): Removed fan-out from the always-disabled I/O buffer "dataout[5]" to the node "dataout[5]"
        Warning (13028): Removed fan-out from the always-disabled I/O buffer "dataout[6]" to the node "dataout[6]"
        Warning (13028): Removed fan-out from the always-disabled I/O buffer "dataout[7]" to the node "dataout[7]"

求高手解决
 楼主| zhpg009 发表于 2012-12-30 11:01 | 显示全部楼层
代码如下
module ram( dataout, addr, wr, rd, cs, datain );
        output[7:0] dataout;
        input[4:0] addr;
        input[7:0] datain;
        input cs, wr, rd;
       
        reg[7:0] datastore[31:0];
        reg[7:0] dataout;
       
        //write data
        always @ ( wr, cs, addr, datastore, datain )
        begin
                if( cs == 0 )
                        begin
                                if( wr )
                                        begin
                                                datastore[addr] = datain;
                                        end
                                else
                                        begin
                                                dataout = 8'bz;
                                        end
                        end
        end
       
        //read data
        always @ ( rd, cs, addr, datastore )
        begin
                if( cs == 0 )
                        begin
                                if( rd )
                                        begin
                                                dataout = datastore[addr];
                                        end
                                else
                                        begin
                                                dataout = 8'bz;
                                        end
                        end
        end
       
endmodule       
GoldSunMonkey 发表于 2012-12-30 22:33 | 显示全部楼层
这个警告没什么问题吧
GoldSunMonkey 发表于 2013-1-3 22:59 | 显示全部楼层
回话呢?
xjsxjtu 发表于 2013-1-13 22:19 | 显示全部楼层
会话呢?哈哈,猴哥,盯着呢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:进取

16

主题

139

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部