I have a verilog file mux.v and testbench muxTB.v.
used ifdef caeses for behavioural model
ifdef struct for structural model
I have executed these files using the commands
iverilog mux.v muxTB.v -D cases
vvp a.out
gtkwave T.vcd
How can i write a shell script to see the output and whats the syntax for using mux.v and muxTB.v files in script??script should show output wen i give 'run mux cases'.$1 =mux and $2 =cases.