zoukankan      html  css  js  c++  java
  • Error: One or more components could not be located (altera_nios2). Check Global User Libraries under Tools>Options...

    转载:http://blog.ftliang.com/post/416/

    Error: One or more components could not be located (altera_nios2). Check Global User Libraries under Tools->Options... in Quartus II.
    今天我在7.1下也有这个问题,找到了如下的回复,问题实际上因为SOPC_BUILDER_PATH这个环境变量没有设置或者被清除过,所以在记在系统的环境设置里面添加个变量就行了,注意文件路径。
    引用
    Hi Quan,

    I would check your environment settings to make sure everything installed correctly.

    Type "set" at a DOS prompt or go into the control panel to look at your environment settings.

    After you do an install make sure the following are set (assuming default install locations):

    QUARTUS_ROOTDIR=c:\altera\71\quartus

    SOPC_BUILDER_PATH=C:\altera\71\nios2eds+C:\altera\71\ip\ddr_ddr2_sdram\lib\sopc_builder+C:\altera\71\ip\pci_compiler\lib\sopc_builder+C:\altera\71\ip\nios2_ip+C:\altera\71\ip\sopc_builder_ip

    SOPC_KIT_NIOS2=C:\altera\71\nios2eds

    Also before you re-generate and compile the small design for the Cyclone 2C35, I recommend to copy the design from the 7.1 examples directory into a working or test directory location before doing anything like generation or compilation. This will keep the examples in an original state for later reference.

    When you copy the design you can then re-generate the SOPC builder design files in SOPC Builder, then go to Quartus II to do a compilation of the newly generated HDL files for synthesis into a .sof file.

    If your installation is anything different than above, post your environment settings here for us to take a a look.

    Also could you show more of your error log output, it is not easy to figure out what is happening if we don't know where the error occurred during the generation process in SOPC Builder. SOPC Builder generates log files i.e. small_2c35_log.txt and sopc_builder_log.txt
    Those files might be helpful in narrowing down where the problem is.

    Also does SOPC Builder display all your components in the components list on the left side of SOPC builder (like Nios II, DMA, on-chip memory and other components)? If not I suspect it has something to do with the environment set up or perhaps a permission issue to the tools.

    Also you may want to look at this Altera solution on switching between versions. It has a simple script that lets you switch between different versions of the tools installed.
    http://www.altera.com/support/kdb/solution...082007_165.html

    I hope this helps. Let us know what happens.

    Regards,
    ATJ
  • 相关阅读:
    图论算法之查找强分支
    图论算法之拓扑排序的简单代码
    图论算法之最短路径
    由函数符号找不到联想到的动态链接过程
    linux下cp覆盖原so文件时引起的段错误原因确定
    java 中能否使用 动态加载的类(Class.forName) 来做类型转换?
    为什么java不支持多重继承?
    static inner class 什么时候被加载
    thinking in java 读书笔记 --- overriding private method
    java List排序方法 Comparator和Comparable
  • 原文地址:https://www.cnblogs.com/xinjie/p/1531256.html
Copyright © 2011-2022 走看看