从cl_hello_world创建AFI,axi_register_slice.v文件不存在。

0

【以下的问题经过翻译处理】 我正在按照 https://github.com/aws/aws-fpga/blob/master/hdk/README.md 的向导创建一个来自 hello_world CL 示例的 AFI。在执行 ./aws_build_dcp_from_cl.sh -notify -foreground 后,我收到如下错误:

Phase 1 Generate And Synthesize Debug Cores  
  
INFO: \[IP_Flow 19-3806] Processing IP xilinx.com:ip:xsdbm:3.0 for cell xsdbm_CV.  
**ERROR**: \[Vivado 12-172]  **File or Directory '/home/centos/aws-fpga/hdk/common/shel                           l_v04261818/design/ip/axi_register_slice/sim/axi_register_slice.v' does not exist**                           t  
ERROR: \[IP_Flow 19-3805] Failed to generate and synthesize debug IPs.  
ERROR: \[Common 17-39] 'send_msg_id' failed due to earlier errors.  
Phase 1 Generate And Synthesize Debug Cores | Checksum: 273edc26d  
  
Time (s): cpu = 00:00:43 ; elapsed = 00:01:22 . Memory (MB): peak = 5774.426 ; gain = 3.996 ; free physical = 113112 ; free virtual = 135161  
INFO: \[Common 17-83] Releasing license: Implementation  
9 Infos, 2 Warnings, 0 Critical Warnings, and 3 Errors encountered.  
opt_design failed  

是否有其他直接创建 AFI 的方法?

我已经运行了 hdk_setup 并且已经通过了。

HDK 版本:1.4.19

FPGA Dev AMI:1.6.1

profile picture
专家
已提问 5 个月前11 查看次数
1 回答
0

【以下的回答经过翻译处理】 我使用AMI 1.6.1和hdk版本1.4.15a在F1.2x实例上验证了流程。请查看以下步骤/说明,看看你是否能够成功重新创建流程。

  1. 在带有1.6.1AMI的F1.2x实例上,在一个干净的目录中(例如“new_dir”)开始。

  2. 在目录内,使用以下命令对1.4.15a进行git克隆:

    git clone https://github.com/aws/aws-fpga

    cd aws-fpga

    git checkout <tag>,即git checkout v1.4.15a

  3. cd到aws-fpga。

  4. 根据建议更新supported_vivado_versions.txt文件。

  5. 按照https://github.com/aws/aws-fpga/blob/master/hdk/README.md中的说明进行操作。

    运行source hdk_setup.sh

    cd $HDK_DIR/cl/examples/cl_hello_world

    export CL_DIR=$(pwd)

    ./aws_build_dcp_from_cl.sh

    生成tar文件后,为dcp和logs创建桶并复制文件。

    创建FPGA映像,等到状态可用。

    现在从aws-fpga dir运行source sdk_setup.sh并清除FPGA并加载映像。

    cd $CL_DIR/software/runtime/

    make all

    sudo ./test_hello_world

你提到的1.4.15a中的错误似乎是克隆repo时出了问题。

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则