mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	tweaks to run synth without error
This commit is contained in:
		
							parent
							
								
									a84aa36530
								
							
						
					
					
						commit
						8dbb45519e
					
				@ -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,8 +66,6 @@ copy:
 | 
			
		||||
 | 
			
		||||
configs: $(DIRS)
 | 
			
		||||
$(DIRS):
 | 
			
		||||
	# remove old config files
 | 
			
		||||
	rm -rf $(CONFIGDIR)/*_*
 | 
			
		||||
	
 | 
			
		||||
	# turn off FPU 
 | 
			
		||||
	rm -rf $(CONFIGDIR)/$@_FPUoff
 | 
			
		||||
@ -120,7 +121,3 @@ clean:
 | 
			
		||||
 | 
			
		||||
fresh: clean copy configs
 | 
			
		||||
	@echo "synth directory cleaned and fresh config files written"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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 } {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user