mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Modified testbench so it instantiates the function logger if DEBUG is greater than 0 rather than just 1.
This commit is contained in:
		
							parent
							
								
									10b08f8039
								
							
						
					
					
						commit
						4bd5d334df
					
				@ -601,7 +601,7 @@ module testbench;
 | 
			
		||||
    loggers (clk, reset, DCacheFlushStart, DCacheFlushDone, memfilename, TEST);
 | 
			
		||||
 | 
			
		||||
  // track the current function or global label
 | 
			
		||||
  if (DEBUG == 1 | ((PrintHPMCounters | BPRED_LOGGER) & P.ZICNTR_SUPPORTED)) begin : FunctionName
 | 
			
		||||
  if (DEBUG > 0 | ((PrintHPMCounters | BPRED_LOGGER) & P.ZICNTR_SUPPORTED)) begin : FunctionName
 | 
			
		||||
    FunctionName #(P) FunctionName(.reset(reset_ext | TestBenchReset),
 | 
			
		||||
			      .clk(clk), .ProgramAddrMapFile(ProgramAddrMapFile), .ProgramLabelMapFile(ProgramLabelMapFile));
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user