MyFPGA Forum

标题: 【FAQ】编译工程提示Port doesn't exist in macrofunction "DE0 NANO inst" [打印本页]

作者: Mandy01    时间: 2020-6-22 10:50
标题: 【FAQ】编译工程提示Port doesn't exist in macrofunction "DE0 NANO inst"
本帖最后由 Mandy01 于 2020-6-22 10:52 编辑

Q: 按Myfirst Niosii QSYS文档操作创建Quartus工程后,编译提示以下错误:
Error:12002 Port "clk_50" doesn't exist in macrofunction "DE0_NANO_inst"
Error:12002 Port "out_port_from_the_pio_led" doesn't exist in macrofunction "DE0_NANO_inst"
Error:12002 Port "reset_n" doesn't exist in macrofunction "DE0_NANO_inst"

而直接编译DE0_NANO CD中的myfirst_niosii DEMO没有出错。

A: 根据错误提示,对比DEMO中的DE0_NANO_QSYS.v代码和QSYS中generate生成的DE0_NANO_QSYS.v代码:

将myfirst_noisii.v中的 “clk_50” 改为 “clk_clk”,“out_port_from_the_pio_led” 改为 “pio_led_external_connection_export”,“reset_n” 改为 “reset_reset_n”,保存后再编译没有出错。




欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3