• 艾米电子论坛提供的EP2C8_NIOS工程文件的使用


    帖子链接:http://www.amy-studio.com/bbs/thread-598-1-1.html

    首先按照要求解压缩,把ip核放在了指定位置,未动quartus的工程,直接在nios中打开目录下的nios工程编译有误,提示如下:
    make -s all includes
    make: *** No rule to make target `C:/altera/81/nios2eds/bin/eclipse/EP2C8.ptf', needed by `/cygdrive/c/altera/81/nios2eds/bin/eclipse/nios2-ide-workspace-8.1/EP2C8_test_syslib/Debug/system_description/../obj/generated_app.mk-t'.  Stop.
    Build completed in 11.532 seconds



    以为需要先编译,所以quartus的工程包括sopc编译过有警告但未提示错误
    nios中打开目录下的nios工程编译有误,错误提示如下


    **** Build of configuration Debug for project EP2C8_test ****
    make -s all includes
    Creating generated_app.mk...
    make[1]: *** No rule to make target `/cygdrive/d/altera/81/ip/altera/nios2_ip/altera_nios2/HAL/src/crt0.S', needed by `crt0.o'.  Stop.
    make: *** [system_project] Error 2
    Build completed in 46.828 seconds

    实在没办法在nios中重新建立了工程,把程序代码拷贝过去ok了。

    如果说是我重新编译quartus的工程的原因,那么我开始没动quartus的工程,直接在nios中打开目录下的nios工程编译有误。

    终于解决了
    下载的网上那个EP2C8_NIOS工程,解压缩后重新编译了SOPC和QUARTUS工程,直接编译原来里面带的那个NIOS工程提示错误,仔细观察错误信息缺少D盘的一些文件,并找到文件看了下(图中标示了)。
    经过看错误提示:确定这个文件最开始创建时所使用的QUARTUS,NIOS肯定装在了D盘上。
    解决方法
    把C:\altera\81下的ip和nios2eds文件夹拷贝到D:\altera\81下的ip和nios2eds文件(D盘这个目录要自己建)。这样编译应该就没问题了。也附图了。
    这也是在不新建工程的情况下编译旧工程的没办法的办法。

    注意如果解压缩后不重新编译SOPC和QUARTUS工程,会出现下面错误提示。
    **** Build of configuration Debug for project EP2C8_test ****
    make -s all includes
    rm: cannot remove `G:/EP2C8_NIOS/EP2C8_sim/contents_file_warning.txt': No medium found
    make: *** [do_delete_placeholder_warning] Error 1
    Build completed in 25.453 seconds
    error:
    error2.JPG
    OK:

    ok.JPG

  • 相关阅读:
    AVFrame 解析
    Mat与图像的基本概念
    linux基本操作
    Makefile 使用
    MySQL的安装与配置——详细过程
    k8s imagePullPolicy拉取策略
    K8S拉取Django项目创建pod
    Harbor单点仓库部署
    Django项目构建发布Harbor仓库
    K8S集群部署-二进制部署
  • 原文地址:https://www.cnblogs.com/xinjie/p/1545037.html
Copyright © 2020-2023  润新知