mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main
This commit is contained in:
		
						commit
						0f10d577d2
					
				@ -1,9 +1,11 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
# check for warnings in Verilog code
 | 
					# check for warnings in Verilog code
 | 
				
			||||||
# The verilator lint tool is faster and better than Modelsim so it is best to run this first.
 | 
					# The verilator lint tool is faster and better than Modelsim so it is best to run this first.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					basepath=$(dirname $0)
 | 
				
			||||||
for config in rv64ic rv32ic; do
 | 
					for config in rv64ic rv32ic; do
 | 
				
			||||||
    echo "$config linting..."
 | 
					    echo "$config linting..."
 | 
				
			||||||
    if !(verilator --lint-only "$@" --top-module wallypipelinedsoc "-Iconfig/$config" src/*/*.sv); then
 | 
					    if !(verilator --lint-only "$@" --top-module wallypipelinedsoc "-I$basepath/config/$config" $basepath/src/*/*.sv); then
 | 
				
			||||||
        echo "Exiting after $config lint due to errors or warnings"
 | 
					        echo "Exiting after $config lint due to errors or warnings"
 | 
				
			||||||
        exit 1
 | 
					        exit 1
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 | 
				
			|||||||
@ -36,6 +36,11 @@ configs = [
 | 
				
			|||||||
        cmd="vsim > {} -c <<!\ndo wally-pipelined-batch.do ../config/rv64ic rv64ic\n!",
 | 
					        cmd="vsim > {} -c <<!\ndo wally-pipelined-batch.do ../config/rv64ic rv64ic\n!",
 | 
				
			||||||
        grepstr="All tests ran without failures"
 | 
					        grepstr="All tests ran without failures"
 | 
				
			||||||
    ),
 | 
					    ),
 | 
				
			||||||
 | 
					    Config(
 | 
				
			||||||
 | 
					        name="lints",
 | 
				
			||||||
 | 
					        cmd="../lint-wally > {}",
 | 
				
			||||||
 | 
					        grepstr="All lints run with no errors or warnings"
 | 
				
			||||||
 | 
					    ),
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import multiprocessing, os
 | 
					import multiprocessing, os
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user