in reply to want to ignore pattern under{} in split command

As toolic has remarked, it looks like you want to write a Verilog parser for yourself rather than use an established module (employment insurance?). If so, the recent saga of herman4016 may be helpful. Also, typing 'Verilog' into Super Search may help.


Give a man a fish:  <%-(-(-(-<

Replies are listed 'Best First'.
Re^2: want to ignore pattern under{} in split command
by jag194u (Initiate) on May 28, 2015 at 03:51 UTC
    Thanks toolic ...it worked for me.

      You're very welcome — it was good for me, too. But I am not toolic.


      Give a man a fish:  <%-(-(-(-<

        HI Toolic,

        similar to {*} can be treated as {} in the earlier solution by you

        if i have
        write_x($psprintf("mod.ins[%d].ins[%d].val",1,2),{24'h0,4'h2,variable1 +,variable2},status,"s +tring");

        any inputs how to make the split command to read the below into single word..i have tried few ways but in vain.

        $psprintf("mod.ins[%d].ins[%d].val",1,2)