Menu

#9 nested filelist files w/ programmable switch

closed
nobody
5
2007-10-01
2007-03-13
Jason Jones
No

Allow a nesting of command files where the top command file can reference other command files and so forth.

Also, make the name of the switch programmable for the nested command files to aid in porting code to icarus.

So, for example, if the top level command file was mycommand.vf and it contained:

top.v
-f top.vf
-f dut.vf
-f global.vf

then the need is to configure icarus to know the -f switch is for other filelist files and recursively fetch them.

then icarus would be called like this:

iverilog -c mycommand.vf -(whatever you choose) f

I'm just lookin for a solution here to help porting existing code.

Discussion

  • Stephen Williams

    Logged In: YES
    user_id=97566
    Originator: NO

    Better might be for Icarus Verilog to just pick and support a few common flags. The -f flag is an obvious choice. If the documentation for your other tools shows what flags it uses, then attach that information to this request.

     
  • Stephen Williams

    • labels: --> Command lines/command file features
     
  • Cary R.

    Cary R. - 2007-10-01

    Logged In: YES
    user_id=1651735
    Originator: NO

    The attached patch adds this functionality and also enhances command file error messages. Per Steve's comments both the -c and the -f flag are supported, but arbitrary flag selection is not.
    File Added: 0001-Command-files-can-nest-f-is-an-alias-for-c-and-be.patch

     
  • Cary R.

    Cary R. - 2007-10-01
    • milestone: --> devel_(Next_Release)
    • status: open --> closed
     
  • Cary R.

    Cary R. - 2007-10-01

    Logged In: YES
    user_id=1651735
    Originator: NO

    I forgot to say this is for the development version.

     

Log in to post a comment.

MongoDB Logo MongoDB