首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

求助高手!c2h问题

求助高手!c2h问题

Progress: Removing stale modules from the system...
Progress: Adding C2H accelerator component "accelerator_hello_world_0_c2h_ChangeOrder" to the SOPC Builder system E:/863/trace.ptf.
Error:
# 2007.10.14 23.53.44 (*) mk_custom_sdk starting
          Error: Generator program
# 2007.10.14 23.53.44 (*) Reading project E:/863/trace.ptf.
                 for module 'accelerator_hello_world_0_c2h_ChangeOrder' did NOT run successfully.
# 2007.10.14 23.53.45 (*) Finding all CPUs
# 2007.10.14 23.53.45 (*) Finding all available components
# 2007.10.14 23.53.45 (*) Reading E:/863/.sopc_builder/install.ptf
generator cmd was 'c:/altera/71/quartus/bin/perl/bin/perl -Ic:/altera/71/quartus/sopc_builder/bin -Ic:/altera/71/quartus/sopc_builder/bin/europa -Ic:/altera/71/quartus/sopc_builder/bin/perl_lib -I/cygdrive/c/altera/71/quartus/sopc_builder/bin/perl_lib:/cygdrive/c/altera/71/quartus/sopc_builder/bin/europa:/cygdrive/c/altera/71/quartus/sopc_builder/bin::/cygdrive/c/altera/71/quartus/sopc_builder/bin:/cygdrive/c/altera/71/quartus/sopc_builder/bin/europa:/cygdrive/c/altera/71/quartus/sopc_builder/bin/perl_lib -I. -Ie:/nios/71/nios2eds/components/altera_avalon_c_hardware_accelerator -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_onchip_memory2 -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_onchip_memory -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_mutex -Ie:/nios/71/nios2eds/components/altera_plugs_library -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_cf -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_user_defined_interface -IC:/altera/71/ip/nios2_ip/altera_nios_dev_board_stratix_2s60_rohs -Id:/altera/70/University_Program/components/altera_up_avalon_audio -IC:/altera/71/ip/nios2_ip/altera_nios_custom_instr_bitswap -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_cfi_flash -Id:/altera/70/University_Program/components/altera_up_avalon_de_boards -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_pll -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_sgdma -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_epcs_flash_controller -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_adapter_upstream_pipeline -IC:/altera/71/ip/nios2_ip/altera_nios_dev_kit_stratix_edition_sram -Id:/altera/70/University_Program/components/altera_up_avalon_sram -IC:/altera/71/ip/pci_express_compiler/lib/sopc_builder/altera_avalon_pcie_compiler -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_lan91c111 -IC:/altera/71/ip/nios2_ip/altera_nios_dev_kit_stratix_edition_sram2 -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_adapter_downstream_pipeline -Id:/altera/70/University_Program/components/altera_up_avalon_DE2_pio -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_uart -IC:/altera/71/ip/ddr2_high_perf/lib/sopc_builder/ddr2_high_perf -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_adapter_waitrequest_pipeline -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_adapter_slave_y -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_asmi -IC:/altera/71/ip/nios2_ip/altera_nios_custom_instr_endian_converter -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_jtag_uart -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_adapter_master_y -IC:/altera/71/ip/nios2_ip/altera_nios_dev_board_cyclone_1c20 -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_tri_state_bridge -Id:/altera/70/University_Program/components/altera_up_avalon_to_external_bus_bridge -Ic:/altera/71/quartus/sopc_builder/components/no_legacy_module -Ic:/altera/71/quartus/sopc_builder/components/amd_avalon_am29lv128m_flash -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_cy7c1380_ssram -Ie:/nios/71/nios2eds/components/altera_avalon_c_hardware_accelerator -Id:/altera/70/University_Program/components/altera_up_avalon_ps2 -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_cs8900 -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_timer -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_dma -IC:/altera/71/ip/nios2_ip/altera_nios_dev_board_stratix_1s10 -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_pio -IC:/altera/71/ip/nios2_ip/altera_nios_custom_instruction -IC:/altera/71/ip/nios2_ip/altera_nios_custom_instr_interrupt_vector -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_burst_adapter -IC:/altera/71/ip/pci_express_compiler/lib/sopc_builder/altera_avalon_pcie_compiler_adapter -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_spi -IC:/altera/71/ip/pci_compiler/lib/sopc_builder/altera_avalon_pci_compiler -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_pipeline_bridge -Ic:/altera/71/quartus/sopc_builder/components/altera_sopc_builder -Id:/altera/70/University_Program/components/altera_up_avalon_rs232 -Id:/altera/70/University_Program/components/altera_up_avalon_vga -IC:/altera/71/ip/nios2_ip/altera_nios_custom_instr_floating_point -Id:/altera/70/University_Program/components/altera_up_avalon_sdram -Id:/altera/70/ip/nios2_ip/altera_nios_eval_board_cyclone_1c12 -IC:/altera/71/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet -IC:/altera/71/ip/nios2_ip/altera_nios_dev_board_stratix_1s40 -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_new_sdram_controller -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_clock_adapter -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_mailbox -IC:/altera/71/ip/pci_compiler/lib/sopc_builder/altera_avalon_pci_compiler_adapter -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_lcd_16207 -Ic:/altera/71/quartus/sopc_builder/components/amd_avalon_am29lv065d_flash -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_endian_adapter -Id:/altera/70/University_Program/components/altera_up_external_bus_to_avalon_bridge -IC:/altera/71/ip/nios2_ip/altera_nios_dev_board_stratix_1s10_es -IC:/altera/71/ip/nios2_ip/altera_nios_dev_board_cyclone_2c35 -IC:/altera/71/ip/nios2_ip/altera_nios2 -IC:/altera/71/ip/ddr_ddr2_sdram/lib/sopc_builder/ddr_sdram_component -Id:/altera/70/University_Program/components/altera_up_avalon_audio_and_video_config -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_performance_counter -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_sysid -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_fifo -IC:/altera/71/ip/ddr_high_perf/lib/sopc_builder/ddr_high_perf -Id:/altera/70/University_Program/components/altera_up_avalon_character_lcd -IC:/altera/71/ip/nios2_ip/altera_nios_dev_board_stratix_2s60_es -IC:/altera/71/ip/ddr_ddr2_sdram/lib/sopc_builder/ddr2_sdram_component -IC:/altera/71/ip/nios2_ip/altera_nios_multiply -Ic:/altera/71/quartus/sopc_builder/components/altera_avalon_clock_crossing -IC:/altera/71/ip/nios2_ip/altera_nios_dev_board_stratix_2s60 e:/nios/71/nios2eds/components/altera_avalon_c_hardware_accelerator/object_scheduler.pl --system_name=trace --target_module_name=accelerator_hello_world_0_c2h_ChangeOrder --system_directory=E:/863 --sopc_directory=c:/altera/71/quartus/sopc_builder --sopc_lib_path=C:\altera\71\ip\pci_express_compiler\lib\sopc_builder+C:\altera\71\ip\ddr2_high_perf\lib\sopc_builder+C:\altera\71\ip\ddr_high_perf\lib\sopc_builder+C:\altera\71\ip\sopc_builder_ip+C:\altera\71\ip\nios2_ip+C:\altera\71\ip\triple_speed_ethernet\lib\sopc_builder+C:\altera\71\ip\pci_compiler\lib\sopc_builder+C:\altera\71\ip\ddr_ddr2_sdram\lib\sopc_builder+d:\altera\70\ip\sopc_builder_ip+d:\altera\70\ip\nios2_ip+d:\altera\70\ip\pci_compiler\lib\sopc_builder+d:\altera\70\ip\ddr_ddr2_sdram\lib\sopc_builder+d:\altera\70\University_Program\components+e:\nios\71\nios2eds++c:/altera/71/quartus/sopc_builder/components --generate=1 --verbose=0 --software_only=0 --module_lib_dir=e:/nios/71/nios2eds/components/altera_avalon_c_hardware_accelerator --sopc_quartus_dir=c:/altera/71/quartus --projectname=detect'
# 2007.10.14 23.53.45 (*) Found 81 components

# 2007.10.14 23.53.46 (*) Finding all peripherals
mv: cannot stat `E:/863/trace.ptf_c2h': No such file or directory
# 2007.10.14 23.53.46 (*) Finding software components

# 2007.10.14 23.53.46 (*) (Legacy SDK Generation Skipped)
Error: Accelerator component generation failed.
# 2007.10.14 23.53.46 (*) (All TCL Script Generation Skipped)
# 2007.10.14 23.53.46 (*) (No Libraries Built)
# 2007.10.14 23.53.46 (*) (Contents Generation Skipped)
# 2007.10.14 23.53.46 (*) mk_custom_sdk finishing
# 2007.10.14 23.53.46 (*) Starting generation for system: trace.
.
# 2007.10.14 23.53.47 (*) Running Generator Program for accelerator_hello_world_0_c2h_ChangeOrder
../hello_world.c:70: PARSE ERROR, ../hello_world.c line 70 column 10

ERROR:
C2H:0: C2H ERROR: "e:/nios/71/nios2eds/components/altera_avalon_c_hardware_accelerator/lex_and_yacc/c2h_cparse.exe" "e:/863/hello_world_0/Debug/obj/hello_world.c2h_pre"
(256)?()
 at file: , line:

Accelerator module generation failed.


make: *** [c2h_hdl-t] Error 254
Build completed in 60.406 seconds

[此贴子已经被作者于2007-10-15 9:31:37编辑过]

这个玩意还没有用过啊,论坛上有大虾知道的告诉一声吧。

在交流中前进,共同实现nios的应用。
遇到同样的问题,请各位大侠指点!
不太懂,可以研究
返回列表