📄 generated_app.mk
字号:
# generated_app.mk## Machine generated for a CPU named "cpu" as defined in:# E:\12\educationdesign\nios32.ptf## Generated: 2006-06-02 11:43:31.375# 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:/12/educationdesign# the simulation directory is a subdirectory of the PTF directorySIMDIR = $(QUARTUS_PROJECT_DIR)/nios32_sim# macros defined by/for ext_flashEXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX = $(EXT_FLASH_FLASHTARGET_TMP1:0=)EXT_FLASH_FLASHTARGET_TMP1 = $(ALT_SIM_OPTIMIZE:1=RUN_ON_HDL_SIMULATOR_ONLY_)BOOT_COPIER = boot_loader_cfi.srecCPU_CLASS = altera_nios2CPU_RESET_ADDRESS = 0x0all: delete_placeholder_warning hex sim flashfilesdelete_placeholder_warning: do_delete_placeholder_warning.PHONY: delete_placeholder_warninghex: $(QUARTUS_PROJECT_DIR)/boot_rom.hex.PHONY: hexsim: $(SIMDIR)/dummy_file.PHONY: simflashfiles: $(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash.PHONY: flashfilesprogram: ext_flash_program_configuration.PHONY: programprogramflash: ext_flash_programflash.PHONY: programflashprogramflashnoelfdependency: ext_flash_programflashnoelf.PHONY: programflashnoelfdependencyverifysysid: dummy_verifysysid_file.PHONY: verifysysiddo_delete_placeholder_warning: rm -f $(SIMDIR)/contents_file_warning.txt.PHONY: do_delete_placeholder_warning$(QUARTUS_PROJECT_DIR)/boot_rom.hex: $(ELF) @echo Post-processing to create $(notdir $@) elf2hex $(ELF) 0x00221000 0x2217FF --width=32 $(QUARTUS_PROJECT_DIR)/boot_rom.hex --create-lanes=0$(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$(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash: $(ELF) @echo Post-processing to create $(notdir $@) elf2flash --input=$(ELF) --flash=main_flash --boot=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir $(CPU_CLASS))/$(BOOT_COPIER) --outfile=$(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash --sim_optimize=$(ALT_SIM_OPTIMIZE) --base=0x0 --end=0x1FFFFF --reset=$(CPU_RESET_ADDRESS)ext_flash_program_configuration: sof2flash --flash=main_flash --offset=0x00000000 --output=program.flash $(SOF) nios2-flash-programmer --input=program.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir UP3_Board)/system/UP3_Board.sof --device=1 $(JTAG_CABLE) --base=0x00200000.PHONY: ext_flash_program_configurationext_flash_programflash: $(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash nios2-flash-programmer --input=$(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir UP3_Board)/system/UP3_Board.sof --device=1 $(JTAG_CABLE) --base=0x00200000.PHONY: ext_flash_programflashext_flash_programflashnoelf: nios2-flash-programmer --input=$(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash --sof=$(shell $(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir UP3_Board)/system/UP3_Board.sof --device=1 $(JTAG_CABLE) --base=0x00200000.PHONY: ext_flash_programflashnoelfdummy_verifysysid_file: nios2-download $(JTAG_CABLE) --sidp=0x00220068 --id=2658071710 --timestamp=1148037945.PHONY: dummy_verifysysid_filegenerated_app_clean: $(RM) $(QUARTUS_PROJECT_DIR)/boot_rom.hex $(RM) $(SIMDIR)/dummy_file $(RM) $(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash.PHONY: generated_app_clean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -