Forum Discussion

dsula1's avatar
dsula1
Icon for New Contributor rankNew Contributor
1 year ago

questa: how to add command line option to modelsim.ini

Hi,

For vlog compiler there's -svinputport command line options to select certain behavior. The default is -svinputport=relaxed.

I would like to change the default to -svinputport=net.

Is it possible to add this command line to the modelsim.ini file to change the default behavior? I wasn't able to find anything in the documentation.

Thank you

dsula

2 Replies

  • ShengN_altera's avatar
    ShengN_altera
    Icon for Super Contributor rankSuper Contributor

    Hi dsula,

    Try to add svinputport = net under [vlog] in modelsim.ini. Let me know if this helps?

    Thanks,

    Regards,

    Sheng

  • dsula1's avatar
    dsula1
    Icon for New Contributor rankNew Contributor

    Unfortunately adding svinputport = net doesn't work. Thank you very much for your reply.

    I scoured the documentation. It doesn't seem possible. I guess I have to add it to the command line scripts.