OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [fpga/] [bin/] [Makefile] - Diff between revs 15 and 19

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 15 Rev 19
Line 77... Line 77...
 
 
# Select either the A23 or A25 core
# Select either the A23 or A25 core
ifdef A25
ifdef A25
    AMBER_CORE = AMBER_A25_CORE
    AMBER_CORE = AMBER_A25_CORE
else
else
    AMBER_CORE =
    AMBER_CORE = AMBER_A23_CORE
endif
endif
 
 
 
 
## FPGA type
## FPGA type
ifdef VIRTEX6
ifdef VIRTEX6
Line 268... Line 268...
# ----------------------------------------------------
# ----------------------------------------------------
 
 
# Note -iobuf YES is needed for the top-level verilog
# Note -iobuf YES is needed for the top-level verilog
# module synthesis
# module synthesis
 
 
$(WORK_FOLDER)/$(RTL_TOP).ngc : $(WORK_FOLDER)/run_id.txt $(XST_PROJ_FILE)
$(WORK_FOLDER)/$(RTL_TOP).ngc : $(WORK_FOLDER)/run_id.txt write_config $(XST_PROJ_FILE)
        export XST_DESIGN=$(RTL_TOP)
        export XST_DESIGN=$(RTL_TOP)
        export XST_OFN=$(RTL_TOP)
        export XST_OFN=$(RTL_TOP)
        rm -Rf $(WORK_FOLDER)/$(RTL_TOP)xst $(WORK_FOLDER)/_ngo
        rm -Rf $(WORK_FOLDER)/$(RTL_TOP)xst $(WORK_FOLDER)/_ngo
        mkdir -p $(WORK_FOLDER)/$(RTL_TOP)xst/tmp $(WORK_FOLDER)/_ngo
        mkdir -p $(WORK_FOLDER)/$(RTL_TOP)xst/tmp $(WORK_FOLDER)/_ngo
        echo "work"                                         > $(WORK_FOLDER)/$(RTL_TOP).lso
        echo "work"                                         > $(WORK_FOLDER)/$(RTL_TOP).lso
Line 300... Line 300...
        test -e $(BITFILE_FOLDER) || mkdir $(BITFILE_FOLDER)
        test -e $(BITFILE_FOLDER) || mkdir $(BITFILE_FOLDER)
        echo 0 > $(WORK_FOLDER)/seed.txt
        echo 0 > $(WORK_FOLDER)/seed.txt
        date +%Y%m%d%H%M%S > $(WORK_FOLDER)/run_id.txt
        date +%Y%m%d%H%M%S > $(WORK_FOLDER)/run_id.txt
        $(BIN_FOLDER)/set_fpga_version.sh $(WORK_FOLDER)/run_id.txt
        $(BIN_FOLDER)/set_fpga_version.sh $(WORK_FOLDER)/run_id.txt
        $(MAKE) -C ../../../sw/boot-loader
        $(MAKE) -C ../../../sw/boot-loader
 
 
 
 
 
# ----------------------------------------------------
 
# Store the build configuration to a log file
 
# ----------------------------------------------------
 
write_config :
 
        @echo "work: $(WORK_FOLDER)" > $(LOG_FOLDER)/$(RTL_TOP).cfg.$(RUN_ID).txt
 
        @echo "$(XST_DEFINES)" >> $(LOG_FOLDER)/$(RTL_TOP).cfg.$(RUN_ID).txt

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.