Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

relative path in a do file

hello

i am a beginner in modelsim

i want to use relative path in do file but it doesn't work

my os is windows xp

my relative path is :

vcom -work Work_Project ../../SRC/A_Interface.vhd

error:

Failed to open design unit file "../../SRC/A_Interface.vhd" in read mode.

how can i do this?

thanks alot.

11 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    when checked the Modelsim reference manual,

    i found the following commands for the question i posted

    config list -strobeperiod {100 ns} -strobestart {0 ns} -usestrobe 1

    add list -notrigger clk -window mylist a b c d

    write list mylist.save;

    I will check if this can solve my issue ,Thanks

    --- Quote End ---

    Dear all

    With above commands i am able to create the list file

    But problem came when trying to generate multiple list files

    I am able to create two list files but the data will only be updated in only one list file

    The window generated with view list -new highlighted below

    The commands i used are as follows :

    config list -strobeperiod {100 ns} -strobestart {0 ns} -usestrobe 1

    set wind1 [view list -title wind1]

    add list -notrigger -label a -window $wind1 simulationpath

    set wind2 [view list -new -title wind2]

    add list -notrigger -label b -window $wind2 simulation path

    run 50 us

    write list -window $wind1 wind1.list

    write list -window $wind2 wind2.list

    Please let me know the reason behind why only one list file is updated

    Thanks in advance for all your support