File: run_rand.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 (41 lines) | stat: -rw-r--r-- 1,059 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
36
37
38
39
40
41
echo > stats.out

ghdl -a pck_myhdl_07.vhd
vcom  pck_myhdl_07.vhd


echo >> stat.out
echo random_generator >> stats.out
echo ======= >> stats.out


echo pypy >> stats.out
echo ---- >> stats.out
/usr/bin/time -o stats.out -a -p pypy test_random_generator.py > random_pypy.out
echo >> stat.out

echo icarus >> stats.out
echo ------ >> stats.out
iverilog test_random_generator.v
/usr/bin/time -o stats.out -a -p vvp a.out test_random_generator > random_vvp.out
echo >> stat.out

echo ghdl >> stats.out
echo ---- >> stats.out
ghdl -a test_random_generator.vhd 
ghdl -e test_random_generator
/usr/bin/time -o stats.out -a -p ghdl -r test_random_generator > random_ghdl.out
echo >> stat.out

echo vlog >> stats.out
echo ---- >> stats.out
vlog test_random_generator.v 
/usr/bin/time -o stats.out -a -p vsim -c -do run.do test_random_generator > random_vlog.out
echo >> stat.out

echo vcom >> stats.out
echo ---- >> stats.out
vcom test_random_generator.vhd
/usr/bin/time -o stats.out -a -p vsim -c -do run.do test_random_generator > random_vcom.out
echo >> stat.out