1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#! /bin/sh . ../../testenv.sh if c_compiler_is_available; then if [ -z "$CC" ]; then CC="gcc" fi $CC -c -fPIC getrand.c $CC -o getrand.so --shared getrand.o analyze tb.vhdl elab_simulate tb rm -f getrand.o getrand.so fi clean echo "Test successful"