diff --git a/verilog b/verilog new file mode 100755 index 0000000..d689d15 --- /dev/null +++ b/verilog @@ -0,0 +1,14 @@ +if test $# -eq 0; then + echo "Usage: verilog [OPTIONS]... FILE [DUMPFILE]" + echo "-h: Display this help" +elif test $1 == "-h"; then + echo "Usage: verilog [OPTIONS]... FILE [DUMPFILE]" + echo "-h: Display this help" +elif test $# -eq 2; then + iverilog $1 + vvp a.out + gtkwave $2 +else + iverilog $1 + vvp a.out +fi