今天写了一个pwm的外设,调试都成功了,添加到sopc builder 后,再生成系统时出现了错误
不知道什么原因,求助
ERROR:
C:/altera/nios/ceshi/pwm/pwm/cb_generator.pl 1157 CALLED (main)
C:/altera/nios/ceshi/pwm/pwm/cb_generator.pl 1150 CALLED (generator_end)
C:/altera/nios/ceshi/pwm/pwm/cb_generator.pl 778 CALLED (_generator_make_module_wrapper)
C:/altera/nios/ceshi/pwm/pwm/cb_generator.pl 488 CALLED (e_module::add_contents)
C:/altera/quartus51/sopc_builder/bin/europa/e_module.pm 466 CALLED (e_instance::project)
C:/altera/quartus51/sopc_builder/bin/europa/e_instance.pm 1137 CALLED (e_instance::set_module_project)
C:/altera/quartus51/sopc_builder/bin/europa/e_instance.pm 1158 CALLED (e_module::project)
C:/altera/quartus51/sopc_builder/bin/europa/e_module.pm 181 CALLED (e_module::_project)
C:/altera/quartus51/sopc_builder/bin/europa/e_module.pm 156 CALLED (e_project::add_module) WHERE
'e_project=HASH(0x423b600), two modules have the same name (pwm)' OCCURRED on C:/altera/quartus51/sopc_builder/bin/europa/e_project.pm 741
Error: Generator program
for module 'pwm' did NOT run successfully.
generator cmd was 'c:/altera/quartus51//bin/perl561/bin/perl -IC:/altera/quartus51/sopc_builder/bin -IC:/altera/quartus51/sopc_builder/bin/europa -IC:/altera/quartus51/sopc_builder/bin/perl_lib -I. -IC:/altera/nios/ceshi/pwm/pwm -Ic:/altera/kits/nios2_51/components/altera_nios_dev_board_stratix_1s10_es -Ic:/altera/kits/nios2_51/components/altera_nios_dev_board_stratix_2s60_es -IC:/altera/quartus51/sopc_builder/components/altera_avalon_adapter_slave_y -Ic:/altera/kits/nios2_51/components/altera_nios_custom_instr_endian_converter -IC:/MegaCore/ddr_ddr2_sdram-v3.2.0/lib/sopc_builder/ddr2_sdram_component -Ic:/altera/kits/nios2_51/components/amd_avalon_am29lv128m_flash -Ic:/altera/kits/nios2_51/components/amd_avalon_am29lv065d_flash -Ic:/altera/kits/nios2_51/components/altera_nios_dev_kit_stratix_edition_sram -IC:/altera/quartus51/sopc_builder/components/altera_sopc_builder -IC:/altera/quartus51/sopc_builder/components/altera_avalon_adapter_upstream_pipeline -Ic:/altera/kits/nios2_51/components/altera_nios_dev_board_stratix_1s40 -Ic:/altera/kits/nios2_51/components/altera_nios2 -Ic:/altera/kits/nios2_51/components/altera_nios_dev_board_cyclone_2c35 -IC:/altera/quartus51/sopc_builder/components/altera_avalon_clock_adapter -IC:/altera/quartus51/sopc_builder/components/altera_avalon_spi -IC:/altera/quartus51/sopc_builder/components/altera_avalon_adapter_master_y -Ic:/altera/kits/nios2_51/components/altera_nios_dev_board_stratix_2s60 -Ic:/altera/kits/nios2_51/components/altera_avalon_cfi_flash -IC:/altera/quartus51/sopc_builder/components/altera_avalon_dma -IC:/altera/nios/ceshi/pwm/pwm -IC:/altera/quartus51/sopc_builder/components/altera_avalon_mailbox -IC:/altera/quartus51/sopc_builder/components/altera_avalon_tri_state_bridge -Ic:/altera/kits/nios2_51/components/altera_nios_eval_board_cyclone_1c12 -Ic:/altera/kits/nios2_51/components/altera_avalon_lan91c111 -Ic:/altera/kits/nios2_51/components/altera_avalon_lcd_16207 -Ic:/altera/kits/nios2_51/components/altera_nios_dev_kit_stratix_edition_sram2 -IC:/altera/quartus51/sopc_builder/components/altera_avalon_adapter_downstream_pipeline -Ic:/altera/kits/nios2_51/components/altera_avalon_cf -Ic:/altera/kits/nios2_51/components/altera_nios_multiply -IC:/altera/quartus51/sopc_builder/components/altera_avalon_burst_adapter -Ic:/altera/kits/nios2_51/components/altera_nios_dev_board_cyclone_1c20 -IC:/altera/quartus51/sopc_builder/components/altera_avalon_pll -IC:/altera/quartus51/sopc_builder/components/altera_avalon_user_defined_interface -Ic:/altera/kits/nios2_51/components/altera_plugs_library -IC:/altera/quartus51/sopc_builder/components/altera_avalon_adapter_waitrequest_pipeline -IC:/altera/quartus51/sopc_builder/components/altera_avalon_endian_adapter -Ic:/altera/kits/nios2_51/components/altera_avalon_cs8900 -Ic:/altera/kits/nios2_51/components/altera_avalon_cy7c1380_ssram -Ic:/altera/kits/nios2_51/components/altera_nios_dev_board_stratix_1s10 -IC:/altera/quartus51/sopc_builder/components/altera_avalon_jtag_uart -IC:/altera/quartus51/sopc_builder/components/altera_avalon_asmi -IC:/altera/quartus51/sopc_builder/components/altera_avalon_onchip_memory -IC:/altera/quartus51/sopc_builder/components/altera_avalon_onchip_memory2 -IC:/altera/quartus51/sopc_builder/components/altera_avalon_timer -Ic:/altera/kits/nios2_51/components/altera_avalon_new_sdram_controller -Ic:/altera/kits/nios2_51/components/altera_nios_custom_instr_bitswap -IC:/MegaCore/ddr_ddr2_sdram-v3.2.0/lib/sopc_builder/ddr_sdram_component -Ic:/altera/kits/nios2_51/components/altera_avalon_performance_counter -Ic:/altera/kits/nios2_51/components/altera_avalon_epcs_flash_controller -IC:/altera/quartus51/sopc_builder/components/altera_avalon_sysid -IC:/altera/quartus51/sopc_builder/components/altera_avalon_mutex -IC:/altera/quartus51/sopc_builder/components/altera_avalon_uart -Ic:/megacore/pci_compiler-v4.0.0/lib/sopc_builder/altera_avalon_pci_compiler -Ic:/altera/kits/nios2_51/components/altera_nios_custom_instruction -Ic:/altera/kits/nios2_51/components/altera_user_board_setup -IC:/altera/quartus51/sopc_builder/components/altera_avalon_pio C:/altera/nios/ceshi/pwm/pwm/cb_generator.pl --system_name=niosII --target_module_name=pwm --system_directory=C:/altera/nios/ceshi/pwm --sopc_directory=C:/altera/quartus51/sopc_builder --sopc_lib_path=C:/altera/nios/ceshi/pwm+c:/altera/kits/nios2_51/components+c:/megacore/pci_compiler-v4.0.0/lib/sopc_builder+C:/MegaCore/ddr_ddr2_sdram-v3.2.0/lib/sopc_builder+C:/altera/quartus51/sopc_builder/components+c:/altera/kits/nios2_51/components --generate=1 --verbose=0 --software_only=0 --module_lib_dir=C:/altera/nios/ceshi/pwm/pwm --sopc_quartus_dir=c:/altera/quartus51/ --projectname=DE2Project '
Error in processing. System NOT successfully generated.
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |