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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [boards/] [actel/] [ordb1a3pe1500/] [backend/] [par/] [bin/] [Makefile] - Diff between revs 408 and 439

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

Rev 408 Rev 439
Line 51... Line 51...
# TCL script names
# TCL script names
TCL_SCRIPT_START=start.tcl
TCL_SCRIPT_START=start.tcl
TCL_SCRIPT_COMPILE=compile.tcl
TCL_SCRIPT_COMPILE=compile.tcl
TCL_SCRIPT_PAR=par.tcl
TCL_SCRIPT_PAR=par.tcl
TCL_SCRIPT_CREATE_COMPILE_PAR=create-compile-par.tcl
TCL_SCRIPT_CREATE_COMPILE_PAR=create-compile-par.tcl
 
TCL_SCRIPT_CREATE_COMPILE_PAR_BITGEN=create-compile-par-bitgen.tcl
TCL_SCRIPT_REPORT=report.tcl
TCL_SCRIPT_REPORT=report.tcl
TCL_SCRIPT_BITGEN=bitgen.tcl
TCL_SCRIPT_BITGEN=bitgen.tcl
# Generate these every time
# Generate these every time
.PHONY: $(TCL_SCRIPT_START) $(TCL_SCRIPT_COMPILE) $(TCL_SCRIPT_PAR) $(TCL_SCRIPT_BITGEN)
.PHONY: $(TCL_SCRIPT_START) $(TCL_SCRIPT_COMPILE) $(TCL_SCRIPT_PAR) $(TCL_SCRIPT_BITGEN)
 
 
Line 118... Line 119...
endif
endif
 
 
TIME_CMD=time -p
TIME_CMD=time -p
 
 
# Rule for everything from, potentially, synthesis up to PAR
# Rule for everything from, potentially, synthesis up to PAR
all: print-config print-defines create-compile-par
all: print-config print-defines create-compile-par-bitgen
 
 
# Not possible to do programming file generation under Linux
# Not possible to do programming file generation under Linux
# not with the free  tools
# not with the free  tools
bitgen: $(TCL_SCRIPT_BITGEN)
bitgen: $(TCL_SCRIPT_BITGEN)
        $(TIME_CMD) $(VENDOR_TCL_SHELL) $<
        $(TIME_CMD) $(VENDOR_TCL_SHELL) $<
 
 
# Leave this with no pre-reqs so we can call it seperately
# Leave this with no pre-reqs so we can call it seperately
create-compile-par: sdc-file pdc-file $(PROJ_EDF_FILE) $(TCL_SCRIPT_CREATE_COMPILE_PAR)
create-compile-par: sdc-file pdc-file $(PROJ_EDF_FILE) $(TCL_SCRIPT_CREATE_COMPILE_PAR)
        $(TIME_CMD) $(VENDOR_TCL_SHELL) $(TCL_SCRIPT_CREATE_COMPILE_PAR)
        $(TIME_CMD) $(VENDOR_TCL_SHELL) $(TCL_SCRIPT_CREATE_COMPILE_PAR)
 
 
 
create-compile-par-bitgen: sdc-file pdc-file $(PROJ_EDF_FILE) $(TCL_SCRIPT_CREATE_COMPILE_PAR_BITGEN)
 
        $(TIME_CMD) $(VENDOR_TCL_SHELL) $(TCL_SCRIPT_CREATE_COMPILE_PAR_BITGEN)
 
 
par: $(TCL_SCRIPT_PAR)
par: $(TCL_SCRIPT_PAR)
        $(TIME_CMD) $(VENDOR_TCL_SHELL) $<
        $(TIME_CMD) $(VENDOR_TCL_SHELL) $<
 
 
compile: $(TCL_SCRIPT_COMPILE)
compile: $(TCL_SCRIPT_COMPILE)
        $(TIME_CMD) $(VENDOR_TCL_SHELL) $<
        $(TIME_CMD) $(VENDOR_TCL_SHELL) $<
Line 221... Line 225...
        TCL_FILE=$@ $(MAKE) dump-actel-compile-project-tcl
        TCL_FILE=$@ $(MAKE) dump-actel-compile-project-tcl
        TCL_FILE=$@ $(MAKE) dump-actel-par-project-tcl
        TCL_FILE=$@ $(MAKE) dump-actel-par-project-tcl
        $(Q)echo "\"">> $@
        $(Q)echo "\"">> $@
        $(Q)echo >> $@
        $(Q)echo >> $@
 
 
 
# Do project creation, compile and PAR in one single run of the tool
 
$(TCL_SCRIPT_CREATE_COMPILE_PAR_BITGEN):
 
        TCL_FILE=$@ $(MAKE) tcl-common
 
        $(Q)echo "run_designer \"Create compile and PAR and generate programming file\" \" " >> $@
 
        TCL_FILE=$@ $(MAKE) dump-actel-create-project-tcl
 
        TCL_FILE=$@ $(MAKE) dump-actel-compile-project-tcl
 
        TCL_FILE=$@ $(MAKE) dump-actel-par-project-tcl
 
        TCL_FILE=$@ $(MAKE) dump-actel-bitgen-project-tcl
 
        $(Q)echo "\"">> $@
 
        $(Q)echo >> $@
 
 
# The different texts that we dump out for the different sets of command files
# The different texts that we dump out for the different sets of command files
 
 
# This is the common header, setting variables in the TCL file
# This is the common header, setting variables in the TCL file
tcl-common:
tcl-common:
        $(Q)rm -f $(TCL_FILE);
        $(Q)rm -f $(TCL_FILE);

powered by: WebSVN 2.1.0

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