File: cvcrun.sh

package info (click to toggle)
myhdl 0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,728 kB
  • sloc: python: 25,033; ansic: 2,203; makefile: 243; sh: 206
file content (35 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash

echo > cvcstats.dat

python convert.py

tests="
timer
lfsr24
randgen
longdiv
findmax
"

for test in $tests
do

echo Test: $test >> cvcstats.dat
echo ===== >> cvcstats.dat

echo cvc compiled >> cvcstats.dat
echo ------------ >> cvcstats.dat
cvc -O +2state test_$test.v
/usr/bin/time -o cvcstats.dat -a -p ./cvcsim > ${test}_cvcexe.out
echo >> cvcstats.dat

echo cvc interpreted >> cvcstats.dat
echo --------------- >> cvcstats.dat
/usr/bin/time -o cvcstats.dat -a -p cvc +interp test_$test.v > ${test}_cvcinterp.out
echo >> cvcstats.dat

done