mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-28 17:43:09 -04:00
modified makefile
This commit is contained in:
parent
483aad2a05
commit
a68c1c8cb1
2 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# Makefile for synthesis
|
# Makefile for synthesis
|
||||||
#
|
# Shreya Sanghai (ssanghai@hmc.edu) 2/28/2022
|
||||||
NAME := synth
|
NAME := synth
|
||||||
|
|
||||||
# defaults
|
# defaults
|
||||||
|
@ -26,6 +26,7 @@ CONFIGFILES ?= $(shell find $(CONFIGDIR) -name rv*_*)
|
||||||
CONFIGFILESTRIM = $(notdir $(CONFIGFILES))
|
CONFIGFILESTRIM = $(notdir $(CONFIGFILES))
|
||||||
print:
|
print:
|
||||||
echo $(CONFIGFILESTRIM)
|
echo $(CONFIGFILESTRIM)
|
||||||
|
echo $(DIRS)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@echo "Basic synthesis procedure for Wally:"
|
@echo "Basic synthesis procedure for Wally:"
|
||||||
|
@ -38,10 +39,13 @@ rv%.log: rv%
|
||||||
echo $<
|
echo $<
|
||||||
|
|
||||||
|
|
||||||
DIRS = rv32e rv32gc rv64ic rv64gc rv32ic
|
DIRS = rv64gc #rv32e rv32gc rv64ic rv64gc rv32ic
|
||||||
# DELDIRS = rv32e rv32gc rv64ic rv64gc rv32ic
|
# DELDIRS = rv32e rv32gc rv64ic rv64gc rv32ic
|
||||||
# CONFIGSUBDIRS = _FPUoff _noMulDiv _noVirtMem _PMP0 _PMP16 _orig
|
# 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:
|
del:
|
||||||
@$(foreach dir, $(DIRS), rm -rf $(CONFIGDIR)/$(dir)_orig;)
|
@$(foreach dir, $(DIRS), rm -rf $(CONFIGDIR)/$(dir)_orig;)
|
||||||
|
|
2
synthDC/extractSummary.py
Normal file → Executable file
2
synthDC/extractSummary.py
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
# Shreya Sanghai (ssanghai@hmc.edu) 2/28/2022
|
||||||
import glob
|
import glob
|
||||||
import re
|
import re
|
||||||
import csv
|
import csv
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue