mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 13:34:28 +00:00
35 lines
766 B
Makefile
Executable File
35 lines
766 B
Makefile
Executable File
#
|
|
# Makefile for synthesis
|
|
#
|
|
NAME := synth
|
|
|
|
VARIANT := 18T_ms
|
|
|
|
default:
|
|
@echo "Basic synthesis procedure for OSU/HMC/UNLV:"
|
|
@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 hdl/*
|
|
rm -f default.svf
|
|
rm -f command.log
|
|
rm -f filenames*.log
|
|
|
|
|
|
|