I know how to generate it with verilog-XL simulator. But I want to use script but not GUI to do this. I hate click click and click again.
Can you help me?
The way to do this (from batch) is to create a run directory once (with the GUI), and then you'll have a run directory containing the si.env file (and .vlogifrc file). You can then do:
si -batch -command netlist runDir
from the UNIX prompt.