lin-win-share/DA4008_V1.3/syn/Makefile

42 lines
1.7 KiB
Makefile

####################################################################################################
VPATH := ./make
#DesignCompiler := /home/user0/EDA_Tools/Synopsys/syn_vK-2015.06-SP5-6/bin/dc_shell-t
#DesignCompiler := /home/user0/EDA_Tools/Synopsys/syn_vL-2016.03-SP5-7/bin/dc_shell-t
#DesignCompiler := /opt/synopsys/syn/O-2018.06-SP1/bin/dc_shell-t
DesignCompiler := /opt/synopsys/syn/L-2016.03-SP1/bin/dc_shell-t
####################################################################################################
top_design := da4008_chip_top
### Synthesis ######################################################################################
BIT := -64bit
Physical := -topographical_mode
DCScripts := set svars(dir,scripts) ./scripts
####################################################################################################
setup:
@/bin/rm -rf $(VPATH) alib-52 command.log filenames.log
@/bin/mkdir -p $(VPATH)
@/bin/touch $(VPATH)/$@
####################################################################################################
dc: setup
VPATH=$(VPATH); export VPATH; ${DesignCompiler} ${BIT} -x "${DCScripts}" -f ./scripts/run_dc.tcl
post: setup
VPATH=$(VPATH); export VPATH; ${DesignCompiler} ${BIT} -x "${DCScripts}" -f ./scripts/run_post.tcl
dc_shell:setup
VPATH=$(VPATH); export VPATH; ${DesignCompiler} ${BIT} -x "${DCScripts}"
pt_shell:setup
VPATH=$(VPATH); export VPATH; pt_shell -x "${DCScripts}"
dcg:setup
VPATH=$(VPATH); export VPATH; ${DesignCompiler} ${BIT} ${Physical} -x "${DCScripts}"
####################################################################################################
clean:
@rm -rf alib-52
@rm -rf $(VPATH)
@rm -rf current run_1231 work