mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Per config coverage initially working with RV32M in rv32gc config
This commit is contained in:
		
							parent
							
								
									92c305ca3b
								
							
						
					
					
						commit
						de26b7b6a7
					
				@ -5,5 +5,7 @@
 | 
				
			|||||||
// This file is needed in the config subdirectory for each config supporting coverage.
 | 
					// This file is needed in the config subdirectory for each config supporting coverage.
 | 
				
			||||||
// It defines which extensions are enabled for that config.
 | 
					// It defines which extensions are enabled for that config.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
`define COVER_BASE_RV32I
 | 
					`define COVER_RV32I
 | 
				
			||||||
 | 
					`define COVER_RV32M
 | 
				
			||||||
`include "coverage/RV32I_coverage.svh"
 | 
					`include "coverage/RV32I_coverage.svh"
 | 
				
			||||||
 | 
					`include "coverage/RV32M_coverage.svh"
 | 
				
			||||||
 | 
				
			|||||||
@ -141,15 +141,10 @@ if {[lcheck lst "--fcov"]} {
 | 
				
			|||||||
    set FCvlog "+define+INCLUDE_TRACE2COV \
 | 
					    set FCvlog "+define+INCLUDE_TRACE2COV \
 | 
				
			||||||
                +define+IDV_INCLUDE_TRACE2COV \
 | 
					                +define+IDV_INCLUDE_TRACE2COV \
 | 
				
			||||||
                +define+COVER_BASE_RV32I \
 | 
					                +define+COVER_BASE_RV32I \
 | 
				
			||||||
                +define+COVER_LEVEL_DV_PR_EXT \
 | 
					 | 
				
			||||||
                +incdir+$env(WALLY)/addins/riscvISACOV/source \
 | 
					                +incdir+$env(WALLY)/addins/riscvISACOV/source \
 | 
				
			||||||
		"
 | 
							"
 | 
				
			||||||
#                +incdir+$env(WALLY)/addins/cvw-arch-verif/fcov/rv32 \
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    set FCvopt "+TRACE2COV_ENABLE=1 +IDV_TRACE2COV=1"
 | 
					    set FCvopt "+TRACE2COV_ENABLE=1 +IDV_TRACE2COV=1"
 | 
				
			||||||
    # Uncomment various cover statements below to control which extensions get functional coverage
 | 
					
 | 
				
			||||||
    lappend FCdefineCOVER_EXTS "+define+COVER_RV32I"
 | 
					 | 
				
			||||||
    lappend FCdefineCOVER_EXTS "+define+COVER_RV32M"
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# if --lockstep or --fcov found set flag and remove from list
 | 
					# if --lockstep or --fcov found set flag and remove from list
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user