2015-02-25 20:30:24 -08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Running $CI_TARGET tests"
|
|
|
|
|
|
|
|
if [ "$CI_TARGET" == "core" ]; then
|
|
|
|
make -C myhdl/test/core
|
2015-03-03 21:39:14 +01:00
|
|
|
make -C myhdl/test/core2
|
2015-02-25 20:30:24 -08:00
|
|
|
elif [ "$CI_TARGET" == "icarus" ]; then
|
2015-02-26 19:14:59 +08:00
|
|
|
echo "======================================================================="
|
|
|
|
echo "=========== A. Test Converted Verilog Code ========="
|
|
|
|
echo "======================================================================="
|
2015-02-25 20:30:24 -08:00
|
|
|
make -C "myhdl/test/conversion/general" icarus
|
2015-02-26 19:14:59 +08:00
|
|
|
|
|
|
|
echo "======================================================================="
|
|
|
|
echo "=========== B. Test Co-Simulation with Converted Verilog Code ========="
|
|
|
|
echo "======================================================================="
|
|
|
|
make -C cosimulation/icarus
|
|
|
|
make -C myhdl/test/conversion/toVerilog
|
2015-02-25 20:30:24 -08:00
|
|
|
fi
|