tweaks to run synth without error

This commit is contained in:
Madeleine Masser-Frye 2022-07-08 22:52:10 +00:00
parent a84aa36530
commit 8dbb45519e
2 changed files with 7 additions and 10 deletions

View File

@ -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), 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;) # @$(foreach kval, $(k), make synth DESIGN=wallypipelinedcore CONFIG=rv64gc_bpred_$(kval) TECH=sky90 FREQ=500 MAXCORES=4 --jobs;)
copy: copy:
# remove old config files
rm -rf $(CONFIGDIR)/*_*
@$(foreach dir, $(DIRS), rm -rf $(CONFIGDIR)/$(dir)_orig;) @$(foreach dir, $(DIRS), rm -rf $(CONFIGDIR)/$(dir)_orig;)
@$(foreach dir, $(DIRS), cp -r $(CONFIGDIR)/$(dir) $(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;) @$(foreach dir, $(DIRS), sed -i 's/WAYSIZEINBYTES.*/WAYSIZEINBYTES 512/g' $(CONFIGDIR)/$(dir)_orig/wally-config.vh;)
@ -63,8 +66,6 @@ copy:
configs: $(DIRS) configs: $(DIRS)
$(DIRS): $(DIRS):
# remove old config files
rm -rf $(CONFIGDIR)/*_*
# turn off FPU # turn off FPU
rm -rf $(CONFIGDIR)/$@_FPUoff rm -rf $(CONFIGDIR)/$@_FPUoff
@ -120,7 +121,3 @@ clean:
fresh: clean copy configs fresh: clean copy configs
@echo "synth directory cleaned and fresh config files written" @echo "synth directory cleaned and fresh config files written"

View File

@ -183,9 +183,9 @@ set_fix_multiple_port_nets -all -buffer_constants
# group_path -name INPUTS -from [all_inputs] # group_path -name INPUTS -from [all_inputs]
# group_path -name COMBO -from [all_inputs] -to [all_outputs] # group_path -name COMBO -from [all_inputs] -to [all_outputs]
Save Unmapped Design # Save Unmapped Design
set filename [format "%s%s%s%s" $outputDir "/unmapped/" $my_toplevel ".ddc"] # set filename [format "%s%s%s%s" $outputDir "/unmapped/" $my_toplevel ".ddc"]
write_file -format ddc -hierarchy -o $filename # write_file -format ddc -hierarchy -o $filename
# Compile statements # Compile statements
if { $maxopt == 1 } { if { $maxopt == 1 } {