mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			527 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			527 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
# Run TestFloat simulation
 | 
						|
 | 
						|
# cvtint - test integer conversion unit (fcvtint)
 | 
						|
# cvtfp  - test floating-point conversion unit (fcvtfp)
 | 
						|
# cmp    - test comparison unit's LT, LE, EQ opperations (fcmp)
 | 
						|
# add    - test addition
 | 
						|
# fma    - test fma
 | 
						|
# mul    - test mult with fma
 | 
						|
# sub    - test subtraction
 | 
						|
# div    - test division
 | 
						|
# sqrt   - test square root
 | 
						|
# all    - test everything
 | 
						|
 | 
						|
#vsim -c -do "do testfloat.do fdqh_ieee_rv64gc $1"
 | 
						|
wsim fdqh_ieee_rv64gc $1 --tb testbench_fp
 | 
						|
#wsim fdqh_ieee_rv64gc $1 --tb testbench_fp --gui
 | 
						|
 |