mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Updated synthesis to look at fma16.v, other scripts to use fma16.v instead of fma16.sv
This commit is contained in:
		
							parent
							
								
									c4f2c6b110
								
							
						
					
					
						commit
						03fa9084bc
					
				@ -8,7 +8,7 @@ onbreak {resume}
 | 
				
			|||||||
# create library
 | 
					# create library
 | 
				
			||||||
vlib worklib
 | 
					vlib worklib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
vlog -lint -work worklib fma16.sv testbench.v
 | 
					vlog -lint -work worklib fma16.v testbench.v
 | 
				
			||||||
vopt +acc worklib.testbench_fma16 -work worklib -o testbenchopt
 | 
					vopt +acc worklib.testbench_fma16 -work worklib -o testbenchopt
 | 
				
			||||||
vsim -lib worklib testbenchopt
 | 
					vsim -lib worklib testbenchopt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -5,4 +5,4 @@ export PATH=$PATH:/usr/local/bin/
 | 
				
			|||||||
verilator=`which verilator`
 | 
					verilator=`which verilator`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
basepath=$(dirname $0)/..
 | 
					basepath=$(dirname $0)/..
 | 
				
			||||||
$verilator --lint-only --top-module fma16 fma16.sv
 | 
					$verilator --lint-only --top-module fma16 fma16.v
 | 
				
			||||||
 | 
				
			|||||||
@ -28,6 +28,9 @@ eval file copy -force [glob ${hdl_src}/../config/shared/*.vh] {hdl/}
 | 
				
			|||||||
eval file copy -force [glob ${hdl_src}/*/*.sv] {hdl/}
 | 
					eval file copy -force [glob ${hdl_src}/*/*.sv] {hdl/}
 | 
				
			||||||
eval file copy -force [glob ${hdl_src}/*/flop/*.sv] {hdl/}
 | 
					eval file copy -force [glob ${hdl_src}/*/flop/*.sv] {hdl/}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Only for FMA class project; comment out when done
 | 
				
			||||||
 | 
					eval file copy -force [glob ${hdl_src}/fma/fma16.v] {hdl/}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Enables name mapping
 | 
					# Enables name mapping
 | 
				
			||||||
if { $saifpower == 1 } {
 | 
					if { $saifpower == 1 } {
 | 
				
			||||||
    saif_map -start
 | 
					    saif_map -start
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user