how to get array of values as plusargs in systemverilog?

Viewed 5705

How to get the array of values as arguments in systemverilog, my requirement is I need get an array of commands of undefined size from the command line ,and how to get these arguments to an array/Queue

Eg:

+CMDS=READ,WRITE,READ_N_WRITE : It should be taken to an array ?

2 Answers
Related