From 8dbb45519ed562d65cd3603709b48a84468d6e37 Mon Sep 17 00:00:00 2001 From: Madeleine Masser-Frye <51804758+mmasserfrye@users.noreply.github.com> Date: Fri, 8 Jul 2022 22:52:10 +0000 Subject: [PATCH] tweaks to run synth without error --- synthDC/Makefile | 11 ++++------- synthDC/scripts/synth.tcl | 6 +++--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/synthDC/Makefile b/synthDC/Makefile index 205659dc..4b5898e0 100755 --- a/synthDC/Makefile +++ b/synthDC/Makefile @@ -52,6 +52,9 @@ DIRS = $(DIRS32) $(DIRS64) # @$(foreach kval, $(k), sed -i 's/BPRED_SIZE.*/BPRED_SIZE $(kval)/g' $(CONFIGDIR)/rv64gc_bpred_$(kval)/wally-config.vh;) # @$(foreach kval, $(k), make synth DESIGN=wallypipelinedcore CONFIG=rv64gc_bpred_$(kval) TECH=sky90 FREQ=500 MAXCORES=4 --jobs;) copy: + # remove old config files + rm -rf $(CONFIGDIR)/*_* + @$(foreach dir, $(DIRS), rm -rf $(CONFIGDIR)/$(dir)_orig;) @$(foreach dir, $(DIRS), cp -r $(CONFIGDIR)/$(dir) $(CONFIGDIR)/$(dir)_orig;) @$(foreach dir, $(DIRS), sed -i 's/WAYSIZEINBYTES.*/WAYSIZEINBYTES 512/g' $(CONFIGDIR)/$(dir)_orig/wally-config.vh;) @@ -63,9 +66,7 @@ copy: configs: $(DIRS) $(DIRS): - # remove old config files - rm -rf $(CONFIGDIR)/*_* - + # turn off FPU rm -rf $(CONFIGDIR)/$@_FPUoff cp -r $(CONFIGDIR)/$@_orig $(CONFIGDIR)/$@_FPUoff @@ -120,7 +121,3 @@ clean: fresh: clean copy configs @echo "synth directory cleaned and fresh config files written" - - - - diff --git a/synthDC/scripts/synth.tcl b/synthDC/scripts/synth.tcl index 2cea1241..40bab736 100755 --- a/synthDC/scripts/synth.tcl +++ b/synthDC/scripts/synth.tcl @@ -183,9 +183,9 @@ set_fix_multiple_port_nets -all -buffer_constants # group_path -name INPUTS -from [all_inputs] # group_path -name COMBO -from [all_inputs] -to [all_outputs] -Save Unmapped Design -set filename [format "%s%s%s%s" $outputDir "/unmapped/" $my_toplevel ".ddc"] -write_file -format ddc -hierarchy -o $filename +# Save Unmapped Design +# set filename [format "%s%s%s%s" $outputDir "/unmapped/" $my_toplevel ".ddc"] +# write_file -format ddc -hierarchy -o $filename # Compile statements if { $maxopt == 1 } {