mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	sim-buildroot-batch now runs wally-pipelined-batch
with option buildroot buildroot-no-trace to boot linux from step 0
This commit is contained in:
		
							parent
							
								
									5dfff900b1
								
							
						
					
					
						commit
						261248538c
					
				@ -32,5 +32,5 @@ echo "CHECKPOINT   = ${CHECKPOINT}"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# *** change config from buildroot to rv64gc
 | 
					# *** change config from buildroot to rv64gc
 | 
				
			||||||
vsim -c <<!
 | 
					vsim -c <<!
 | 
				
			||||||
do wally-pipelined-batch.do buildroot buildroot $RISCV $INSTR_LIMIT $INSTR_WAVEON $CHECKPOINT
 | 
					do wally-pipelined-batch.do buildroot buildroot-no-trace $RISCV $INSTR_LIMIT $INSTR_WAVEON $CHECKPOINT
 | 
				
			||||||
!
 | 
					!
 | 
				
			||||||
 | 
				
			|||||||
@ -41,6 +41,20 @@ if {$2 eq "buildroot" || $2 eq "buildroot-checkpoint"} {
 | 
				
			|||||||
    run -all
 | 
					    run -all
 | 
				
			||||||
    run -all
 | 
					    run -all
 | 
				
			||||||
    exec ./slack-notifier/slack-notifier.py
 | 
					    exec ./slack-notifier/slack-notifier.py
 | 
				
			||||||
 | 
					} elseif {$2 eq "buildroot-no-trace"} {
 | 
				
			||||||
 | 
					    vlog -lint -work work_${1}_${2} +incdir+../config/$1 +incdir+../config/shared ../testbench/testbench-linux.sv ../testbench/common/*.sv ../src/*/*.sv ../src/*/*/*.sv -suppress 2583
 | 
				
			||||||
 | 
					    # start and run simulation
 | 
				
			||||||
 | 
					    vopt +acc work_${1}_${2}.testbench -work work_${1}_${2} -G RISCV_DIR=$3 -G INSTR_LIMIT=$4 -G INSTR_WAVEON=$5 -G CHECKPOINT=$6 -G NO_SPOOFING=1 -o testbenchopt 
 | 
				
			||||||
 | 
					    vsim -lib work_${1}_${2} testbenchopt -suppress 8852,12070,3084,3829  -fatal 7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    #-- Run the Simulation
 | 
				
			||||||
 | 
					    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
 | 
				
			||||||
 | 
					    echo "Don't forget to change DEBUG_LEVEL = 0."
 | 
				
			||||||
 | 
					    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
 | 
				
			||||||
 | 
					    run -all
 | 
				
			||||||
 | 
					    run -all
 | 
				
			||||||
 | 
					    exec ./slack-notifier/slack-notifier.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
} else {
 | 
					} else {
 | 
				
			||||||
    vlog -lint -work wkdir/work_${1}_${2} +incdir+../config/$1 +incdir+../config/shared ../testbench/testbench.sv ../testbench/common/*.sv   ../src/*/*.sv ../src/*/*/*.sv -suppress 2583 -suppress 7063
 | 
					    vlog -lint -work wkdir/work_${1}_${2} +incdir+../config/$1 +incdir+../config/shared ../testbench/testbench.sv ../testbench/common/*.sv   ../src/*/*.sv ../src/*/*/*.sv -suppress 2583 -suppress 7063
 | 
				
			||||||
    # start and run simulation
 | 
					    # start and run simulation
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user