blob: 87acded21d2f103906f1023b7be37d4ed622d866 [file] [log] [blame]
#
# Oklahoma State University
# Makefile for synthesis
#
NAME := synth
VARIANT:=18T_ms
default:
@echo "Basic synthesis procedure for AFRL/OSU:"
@echo " adapt Makefile to your liking..."
@echo
synth:
@sed -i 's/18T_ms/${VARIANT}/g' scripts/synth.tcl
@sed -i 's/18T_ms/${VARIANT}/g' .synopsys_dc.setup
@echo "DC Synthesis"
@mkdir -p reports
@mkdir -p mapped
dc_shell-xg-t -64bit -f scripts/$(NAME).tcl | tee $(NAME).out
@cp mapped/*.sdc ../../outputs/
@cp mapped/*.vh ../../outputs/
@sed -i 's/${VARIANT}/18T_ms/g' scripts/synth.tcl
@sed -i 's/${VARIANT}/18T_ms/g' .synopsys_dc.setup
clean:
rm -rf alib-52 WORK mapped unmapped reports analyzed $(NAME).out
mkdir mapped unmapped reports
rm -f default.svf
rm -f command.log
rm -f filenames*.log