📄 generated_app.mk
字号:
# generated_app.mk## Machine generated for a CPU named "cpu_0" as defined in:# E:\DE2\DE2_demonstrations\DE2_SD_Card_Audio\nios_0.ptf## Generated: 2007-04-13 22:12:59.843# DO NOT MODIFY THIS FILE## Changing this file will have subtle consequences# which will almost certainly lead to a nonfunctioning# system. If you do modify this file, be aware that your# changes will be overwritten and lost when this file# is generated again.## DO NOT MODIFY THIS FILE# assuming the Quartus project directory is the same as the PTF directoryQUARTUS_PROJECT_DIR = E:/DE2/DE2_demonstrations/DE2_SD_Card_Audio# the simulation directory is a subdirectory of the PTF directorySIMDIR = $(QUARTUS_PROJECT_DIR)/nios_0_sim# macros defined by/for cfi_flash_0 & epcs_controllerCFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX = $(CFI_FLASH_0_FLASHTARGET_TMP1:0=)CFI_FLASH_0_FLASHTARGET_TMP1 = $(ALT_SIM_OPTIMIZE:1=RUN_ON_HDL_SIMULATOR_ONLY_)BOOT_COPIER = boot_loader_cfi.srecCPU_CLASS = altera_nios2CPU_RESET_ADDRESS = 0x900800EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_ALT_SIM_PREFIX = $(EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_TMP1:0=)EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_TMP1 = $(ALT_SIM_OPTIMIZE:1=RUN_ON_HDL_SIMULATOR_ONLY_)EPCS_RELOCATE = $(EPCS_RELOCATE_TMP:1=--relocate)EPCS_RELOCATE_TMP = $(BOOTS_FROM_EPCS:0=)BOOTS_FROM_EPCS = 1BOOT_COPIER_EPCS = boot_loader_epcs.srecall: delete_placeholder_warning sim flashfilesdelete_placeholder_warning: do_delete_placeholder_warning.PHONY: delete_placeholder_warningsim: $(SIMDIR)/dummy_file.PHONY: simflashfiles: $(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash $(EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_ALT_SIM_PREFIX)epcs_controller_boot_rom.flash.PHONY: flashfilesprogramflash: cfi_flash_0_programflash epcs_controller_boot_rom_programflash.PHONY: programflashprogramflashnoelfdependency: cfi_flash_0_programflashnoelf epcs_controller_boot_rom_programflashnoelf.PHONY: programflashnoelfdependencyUser: cfi_flash_0_User_configuration.PHONY: Userverifysysid: dummy_verifysysid_file.PHONY: verifysysidDefault: epcs_controller_boot_rom_Default_configuration.PHONY: Defaultdo_delete_placeholder_warning: rm -f $(SIMDIR)/contents_file_warning.txt.PHONY: do_delete_placeholder_warning$(SIMDIR)/dummy_file: $(ELF) if [ ! -d $(SIMDIR) ]; then mkdir $(SIMDIR) ; fi @echo Hardware simulation is not enabled for the target SOPC Builder system. Skipping creation of hardware simulation model contents and simulation symbol files. \(Note: This does not affect the instruction set simulator.\) touch $(SIMDIR)/dummy_file$(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash: $(ELF) @echo Post-processing to create $(notdir $@) elf2flash --input=$(ELF) --flash=U59 --boot=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir $(CPU_CLASS))/$(BOOT_COPIER) --outfile=$(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash --sim_optimize=$(ALT_SIM_OPTIMIZE) --base=0x800000 --end=0x8FFFFF --reset=$(CPU_RESET_ADDRESS)$(EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_ALT_SIM_PREFIX)epcs_controller_boot_rom.flash: $(ELF) @if [ $(BOOTS_FROM_EPCS) -eq 1 ]; then echo Post-processing to create $(notdir $@) ; elf2flash --input=$(ELF) --flash=U5 --boot=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir $(CPU_CLASS))/$(BOOT_COPIER_EPCS) --outfile=$(EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_ALT_SIM_PREFIX)epcs_controller_boot_rom.flash --sim_optimize=$(ALT_SIM_OPTIMIZE) --epcs --base=0x0 --end=0x7FFFFFFF ; ficfi_flash_0_programflash: $(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash nios2-flash-programmer --input=$(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir UP4)/system/UP4.sof --device=1 $(JTAG_CABLE) --base=0x01000000.PHONY: cfi_flash_0_programflashepcs_controller_boot_rom_programflash: $(EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_ALT_SIM_PREFIX)epcs_controller_boot_rom.flash @if [ $(BOOTS_FROM_EPCS) -eq 1 ]; then nios2-flash-programmer --input=$(EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_ALT_SIM_PREFIX)epcs_controller_boot_rom.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir UP4)/system/UP4.sof --device=1 $(JTAG_CABLE) --epcs ; fi.PHONY: epcs_controller_boot_rom_programflashcfi_flash_0_programflashnoelf: nios2-flash-programmer --input=$(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir UP4)/system/UP4.sof --device=1 $(JTAG_CABLE) --base=0x01000000.PHONY: cfi_flash_0_programflashnoelfepcs_controller_boot_rom_programflashnoelf: @if [ $(BOOTS_FROM_EPCS) -eq 1 ]; then nios2-flash-programmer --input=$(EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_ALT_SIM_PREFIX)epcs_controller_boot_rom.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir UP4)/system/UP4.sof --device=1 $(JTAG_CABLE) --epcs ; fi.PHONY: epcs_controller_boot_rom_programflashnoelfcfi_flash_0_User_configuration: sof2flash --flash=U59 --offset=0x00000000 --output=User.flash $(SOF) nios2-flash-programmer --input=User.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir UP4)/system/UP4.sof --device=1 $(JTAG_CABLE) --base=0x01000000.PHONY: cfi_flash_0_User_configurationdummy_verifysysid_file: nios2-download $(JTAG_CABLE) --sidp=0x00900020 --id=3956160735 --timestamp=1126699666.PHONY: dummy_verifysysid_fileepcs_controller_boot_rom_Default_configuration: sof2flash --flash=U5 --offset=0x00000000 --output=Default.flash $(SOF) --epcs nios2-flash-programmer --input=Default.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir UP4)/system/UP4.sof --device=1 $(JTAG_CABLE) --epcs $(EPCS_RELOCATE).PHONY: epcs_controller_boot_rom_Default_configurationgenerated_app_clean: $(RM) $(SIMDIR)/dummy_file $(RM) $(CFI_FLASH_0_FLASHTARGET_ALT_SIM_PREFIX)cfi_flash_0.flash $(RM) $(EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_ALT_SIM_PREFIX)epcs_controller_boot_rom.flash.PHONY: generated_app_clean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -