Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
# ------------------------------------------------
# Test required commands are available
# ------------------------------------------------
for CMD in vlog $CC whoami; do
type $CMD &> /dev/null
if [ $? != "0" ]; then
echo "Error: The command '$CMD' is required and is not in your path"
exit 1
fi
done
# ------------------------------------------------
# Cambridge Local stuff
# ------------------------------------------------
# VCS library issue?
if [ "$DOMAIN" = "$LOCAL" ]; then
syslib="/usr/groups/ecad2003/lib/ctype-info.a"
fi
# ------------------------------------------------
# Look for .f file (with or without .f extension)
# ------------------------------------------------
if [ "$MOD" = "--help" ]; then
echo ""
echo "Usage: vt simfiles.f"
echo ""
echo "Specify a file containing a list of your SystemVerilog design files and a testbench"
echo ""
exit 1
fi
if [ "$MOD" = "" ]; then
echo "Error: You need to specify a .f file"
exit 1
fi
if [ -f $MOD.f ]; then
MOD=$MOD.f
else
if [ -f $MOD ]; then
MOD=$MOD
else
MOD=${MOD%.*}
echo "File '$MOD.f' does not exist"
exit 1
fi
fi
# -ntb_opts check : report error when there is an out-of-bound array access
# -xzcheck nofalseneg : check no conditional expression is X or Z
# +vcs+boundscheck : reading/writing undeclared bit is an error
# +v2k \
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.