From a68c1c8cb195d3042a2b52fb218c8deb24b6bc98 Mon Sep 17 00:00:00 2001 From: Shreya Sanghai Date: Thu, 3 Mar 2022 00:22:14 +0000 Subject: [PATCH] modified makefile --- synthDC/Makefile | 8 ++++++-- synthDC/extractSummary.py | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) mode change 100644 => 100755 synthDC/extractSummary.py diff --git a/synthDC/Makefile b/synthDC/Makefile index b359046e..9f380584 100755 --- a/synthDC/Makefile +++ b/synthDC/Makefile @@ -1,6 +1,6 @@ # # Makefile for synthesis -# +# Shreya Sanghai (ssanghai@hmc.edu) 2/28/2022 NAME := synth # defaults @@ -26,6 +26,7 @@ CONFIGFILES ?= $(shell find $(CONFIGDIR) -name rv*_*) CONFIGFILESTRIM = $(notdir $(CONFIGFILES)) print: echo $(CONFIGFILESTRIM) + echo $(DIRS) default: @echo "Basic synthesis procedure for Wally:" @@ -38,10 +39,13 @@ rv%.log: rv% echo $< -DIRS = rv32e rv32gc rv64ic rv64gc rv32ic +DIRS = rv64gc #rv32e rv32gc rv64ic rv64gc rv32ic # DELDIRS = rv32e rv32gc rv64ic rv64gc rv32ic # CONFIGSUBDIRS = _FPUoff _noMulDiv _noVirtMem _PMP0 _PMP16 _orig +copy: + @$(foreach dir, $(DIRS), rm -rf $(CONFIGDIR)/$(dir)_orig;) + @$(foreach dir, $(DIRS), cp -r $(CONFIGDIR)/$(dir) $(CONFIGDIR)/$(dir)_orig;) del: @$(foreach dir, $(DIRS), rm -rf $(CONFIGDIR)/$(dir)_orig;) diff --git a/synthDC/extractSummary.py b/synthDC/extractSummary.py old mode 100644 new mode 100755 index e9fa6977..8462a245 --- a/synthDC/extractSummary.py +++ b/synthDC/extractSummary.py @@ -1,3 +1,5 @@ +#!/usr/bin/python3 +# Shreya Sanghai (ssanghai@hmc.edu) 2/28/2022 import glob import re import csv