#!/bin/csh -f

echo "Building ALU Testbench Stub"
$IVI_HOME/bin/iverilog -o alu_tb_stub.vvp alu.v alu_tb_stub.v 

if ($status) then
   echo "ERROR"
   exit(1)
else
   echo "    OK"
endif

echo "Building ALU Verilog Testbench"
$IVI_HOME/bin/iverilog -o alu_tb_vlog.vvp alu.v alu_tb_vlog.v 

if ($status) then
   echo "ERROR"
   exit(1)
else
   echo "    OK"
endif


echo "Done"
echo " "


