aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/run-test.sh
blob: 5292d161556509c91149ba26c3cece72ac0d5046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

set -e

echo "Running syntax check on arch sim models"
for arch in ../../techlibs/*; do
	find $arch -name cells_sim.v | while read path; do
		echo -n "Test $path ->"
		iverilog -t null -I$arch $path
		echo " ok"
	done
done

for path in "../../techlibs/common/simcells.v"  "../../techlibs/common/simlib.v"; do
	echo -n "Test $path ->"
	iverilog -t null $path
	echo " ok"
done