modified makefile

This commit is contained in:
Shreya Sanghai 2022-03-03 00:22:14 +00:00
parent 483aad2a05
commit a68c1c8cb1
2 changed files with 8 additions and 2 deletions

View File

@ -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;)

2
synthDC/extractSummary.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/python3
# Shreya Sanghai (ssanghai@hmc.edu) 2/28/2022
import glob
import re
import csv