mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Update fcov incdirs for wally.do
This commit is contained in:
		
							parent
							
								
									33904cffe2
								
							
						
					
					
						commit
						9c19321bdb
					
				@ -104,7 +104,10 @@ if {[lcheck lst "--ccov"]} {
 | 
				
			|||||||
# if --fcov found set flag and remove from list
 | 
					# if --fcov found set flag and remove from list
 | 
				
			||||||
if {[lcheck lst "--fcov"]} {
 | 
					if {[lcheck lst "--fcov"]} {
 | 
				
			||||||
    set FunctCoverage 1
 | 
					    set FunctCoverage 1
 | 
				
			||||||
    set FCvlog "+incdir+$env(WALLY)/addins/cvw-arch-verif/riscvISACOV/source"
 | 
					    set FCvlog "+incdir+$env(WALLY)/addins/cvw-arch-verif/riscvISACOV/source \
 | 
				
			||||||
 | 
					                +incdir+${FCRVVI}/rv32 +incdir+${FCRVVI}/rv64 \
 | 
				
			||||||
 | 
					                +incdir+${FCRVVI}/priv +incdir+${FCRVVI}/rv64_priv +incdir+${FCRVVI}/rv32_priv \
 | 
				
			||||||
 | 
					                +incdir+${FCRVVI}/common +incdir+${FCRVVI}"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# if --lockstep or --fcov found set flag and remove from list
 | 
					# if --lockstep or --fcov found set flag and remove from list
 | 
				
			||||||
@ -159,7 +162,7 @@ if {$DEBUG > 0} {
 | 
				
			|||||||
# suppress spurious warnngs about
 | 
					# suppress spurious warnngs about
 | 
				
			||||||
# "Extra checking for conflicts with always_comb done at vopt time"
 | 
					# "Extra checking for conflicts with always_comb done at vopt time"
 | 
				
			||||||
# because vsim will run vopt
 | 
					# because vsim will run vopt
 | 
				
			||||||
set INC_DIRS "+incdir+${CONFIG}/${CFG} +incdir+${CONFIG}/deriv/${CFG} +incdir+${CONFIG}/shared +incdir+${FCRVVI} +incdir+${FCRVVI}/rv32 +incdir+${FCRVVI}/rv64 +incdir+${FCRVVI}/rv64_priv +incdir+${FCRVVI}/priv +incdir+${FCRVVI}/rv32_priv +incdir+${FCRVVI}/common +incdir+${FCRVVI}"
 | 
					set INC_DIRS "+incdir+${CONFIG}/${CFG} +incdir+${CONFIG}/deriv/${CFG} +incdir+${CONFIG}/shared"
 | 
				
			||||||
set SOURCES "${SRC}/cvw.sv ${TB}/${TESTBENCH}.sv ${TB}/common/*.sv ${SRC}/*/*.sv ${SRC}/*/*/*.sv ${WALLY}/addins/verilog-ethernet/*/*.sv ${WALLY}/addins/verilog-ethernet/*/*/*/*.sv"
 | 
					set SOURCES "${SRC}/cvw.sv ${TB}/${TESTBENCH}.sv ${TB}/common/*.sv ${SRC}/*/*.sv ${SRC}/*/*/*.sv ${WALLY}/addins/verilog-ethernet/*/*.sv ${WALLY}/addins/verilog-ethernet/*/*/*/*.sv"
 | 
				
			||||||
vlog -permissive -lint -work ${WKDIR} {*}${INC_DIRS} {*}${DefineArgs} {*}${FCvlog} {*}${lockstepvlog} {*}${SOURCES} -suppress 2282,2583,7053,7063,2596,13286
 | 
					vlog -permissive -lint -work ${WKDIR} {*}${INC_DIRS} {*}${DefineArgs} {*}${FCvlog} {*}${lockstepvlog} {*}${SOURCES} -suppress 2282,2583,7053,7063,2596,13286
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user