芯路恒电子技术论坛

 找回密码
 立即注册
热搜: 合集
查看: 18776|回复: 2

12002 Port "byteenable2" does not exist in macrofunction "...

[复制链接]
  • TA的每日心情
    慵懒
    2021-2-24 10:16
  • 422

    主题

    780

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    15846
    QQ
    发表于 2018-6-21 14:50:36 | 显示全部楼层 |阅读模式
    在NIOS 中使用双口RAM报错12002 Port "byteenable2" does not exist in macrofunction "xxx"。
    这是Quartus 13.0软件的bug。在altera官方网站上有解决指导方案。官网的说明路径就不贴了,过两个月altera域名就无法访问了,整合到Intel中了。直接把官网的原文发出来。


    Type: Answers
    Area: Tools



    Last Modified: October 21, 2013
    Version Found: v13.0
    Version Fixed: v13.0 Service Pack 1

    Error (12002): Port "byteenable2" does not exist in macrofunction "onchip_memory<instance>"Description
    Due to a problem in the Quartus® II software version 13.0, the dual port RAM (on-chip memory) component in Qsys incorrectly adds the signal byteenable2on slave s2 when the data width is set as 8 bits.

    Workaround/Fix

    To work around this problem, perform the following steps:
    • Open the file altera_avalon_onchip_memory<instance>_hw.tcl in a text editor and comment line 671.
      #add_interface_port s2 byteenable2 byteenable Input
    • Add the following lines under line 671:
      if { > 1} {
          add_interface_port s2 byteenable2 byteenable Input
      }
    • Refresh and regenerate the system
    This problem is fixed beginning with the Quartus II software version 13.0 SP1.

    意思很简单,学fpga的应该都能看得懂这个。不懂的请热心二楼来翻译吧。

    直接改文件就行了,如果不会改,直接下载附件提供的文件,替换下你软件中对应文件即可。比如我的电脑是D:\altera\13.0\ip\altera\sopc_builder_ip\altera_avalon_onchip_memory2



    altera_avalon_onchip_memory2_hw.tcl (38.57 KB, 下载次数: 595)









    回复

    使用道具 举报

  • TA的每日心情
    开心
    2022-6-29 15:57
  • 13

    主题

    246

    帖子

    3625

    积分

    超级版主

    Rank: 8Rank: 8

    积分
    3625
    发表于 2018-6-21 19:25:46 | 显示全部楼层
    好文章,赞一个!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    慵懒
    2020-9-11 12:56
  • 0

    主题

    1

    帖子

    478

    积分

    中级会员

    Rank: 4

    积分
    478
    发表于 2020-2-7 19:11:58 | 显示全部楼层
    类型:答案
    区域:工具



    上次修改时间:2013年10月21日
    版实测值:V13.0
    版固定:V13.0服务包1个

    错误(12002):端口“byteenable2”在宏观功能不存在“onchip_memory <实例>”描述
    由于Quartus®II软件13.0中的问题,当数据宽度设置为8位时,Qsys中的双端口RAM(片上存储器)组件错误地将信号byableable2添加到从属s2上。

    解决方法/修复

    要变通解决此问题,请执行以下步骤:
    1.在文本编辑器和注释行671中打开文件altera_avalon_onchip_memory <instance> _hw.tcl
        #add_interface_port s2 byteenable2 byteenable输入
    2.在第671行下面添加以下行:
    如果{> 1} {
        add_interface_port s2 byteenable2 byteenable输入
    }
    3.刷新并重新生成系统
    从Quartus II软件13.0 SP1开始修复此问题。
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|小黑屋|Archiver|芯路恒电子技术论坛 |鄂ICP备2021003648号

    GMT+8, 2024-4-18 10:01 , Processed in 0.116150 second(s), 36 queries .

    Powered by Discuz! X3.4

    © 2001-2017 Comsenz Inc. Template By 【未来科技】【 www.wekei.cn 】

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