07-02-2019 09:53 AM
Hi All,
How to rename a Simulation Set? I'm using Vivado 2018.3
Thank you!
07-02-2019 12:39 PM
Not sure that you can but you can
# understand your current filesets
get_filesets
# create a new fileset, copying the properties from the old fileset if you want to create_fileset -simset -clone_properties sim_1 better_simset_name
# then move the files (Getting all files from that old set you want to "rename") move_files -fileset better_simset_name [get_files -fileset sim_1]
# finally delete the old set delete_fileset sim_1
That is essentially renaming your simset - note I haven't validated that. use help in the tcl console.
Best,
Jerry
07-02-2019 12:39 PM
Not sure that you can but you can
# understand your current filesets
get_filesets
# create a new fileset, copying the properties from the old fileset if you want to create_fileset -simset -clone_properties sim_1 better_simset_name
# then move the files (Getting all files from that old set you want to "rename") move_files -fileset better_simset_name [get_files -fileset sim_1]
# finally delete the old set delete_fileset sim_1
That is essentially renaming your simset - note I haven't validated that. use help in the tcl console.
Best,
Jerry
07-02-2019 02:52 PM
Great! But how to do so using GUI ?
07-02-2019 08:22 PM
Hi @ldm.eth ,
From gui you can do it by right click on Simulation Sources in Source window-> selecting Edit Simulation Sets:
Thanks,
Raj
07-03-2019 03:10 AM
Yes, but this way I'll create a new Simulation Set (will also need to add files for simulation there). But how to rename a Simulation Set, which already exists (using GUI)?
07-03-2019 06:22 AM
Sorry, this should be doable in the GUI, I was just providing a method (IMO more elegant and faster) to do so through the console.
This way you could also write these into a TCL function that you could use to always "rename" sim_1 into something more useful.
Best,
Jerry