- Timestamp:
- Dec 4, 2007, 2:31:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Synthesis
r53 r62 22 22 $(patsubst $(DIR_CFG_USER)/%.cfg,$(DIR_LOG)/%.fpga.log,$(wildcard $(DIR_CFG_USER)/*.cfg)) 23 23 #-----[ Rules ]-------------------------------------------- 24 .PRECIOUS : $(DIR_LOG)/%.vhdl.log $(DIR_LOG)/%. vhdl_sim.log24 .PRECIOUS : $(DIR_LOG)/%.vhdl.log $(DIR_LOG)/%.sim.log 25 25 26 26 vhdl : execute $(DIR_WORK) … … 36 36 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi; 37 37 38 vhdl_sim: vhdl38 sim : vhdl 39 39 @\ 40 40 declare -a vhdl_files=($$($(LS) $(DIR_VHDL)/*_Testbench.vhdl)); \ 41 declare -a log_files=($${vhdl_files[*]/%.vhdl/. vhdl_sim.log}); \41 declare -a log_files=($${vhdl_files[*]/%.vhdl/.sim.log}); \ 42 42 if $(TEST) $${#log_files[*]} -ne 0; then $(MAKE) $${log_files[*]/#$(DIR_VHDL)/$(DIR_LOG)}; fi; 43 43 44 fpga : vhdl_sim44 fpga : sim 45 45 @\ 46 46 $(ECHO) -e "" > $(FPGA_CFG_FILE_LOCAL); \ … … 54 54 $(ECHO) -e "" >> $(FPGA_CFG_FILE_LOCAL); \ 55 55 done; \ 56 ($(XILINX_ENV); $(CD) $(FPGA_CFG_FILE_GLOBAL_DIR); ./$(FPGA_CFG_FILE_GLOBAL)); \56 ($(XILINX_ENV); $(CD) $(FPGA_CFG_FILE_GLOBAL_DIR); $(FPGA_CFG_FILE_GLOBAL)); \ 57 57 $(MAKE) $(FPGA_LOG_FILES); 58 58 … … 67 67 $(MODELTECH_VLIB) $@; 68 68 69 $(DIR_LOG)/%. vhdl_sim.log: $(DIR_VHDL)/%.vhdl $(DIR_LOG)/%.vhdl.log69 $(DIR_LOG)/%.sim.log : $(DIR_VHDL)/%.vhdl $(DIR_LOG)/%.vhdl.log 70 70 @\ 71 71 $(ECHO) "VHDL's Simulation : $*"; \ … … 92 92 $(ECHO) "";\ 93 93 $(ECHO) " * vhdl : compile all vhdl's file";\ 94 $(ECHO) " * vhdl_sim: simulate all testbench's file";\94 $(ECHO) " * sim : simulate all testbench's file";\ 95 95 $(ECHO) " * fpga : synthetis with fpga's tools";\ 96 96 $(ECHO) "";
Note: See TracChangeset
for help on using the changeset viewer.