• AVR Freaks

[Libero SoC] Relative File Paths

Author
jeff99
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2020/03/23 08:08:46
  • Location: 0
  • Status: offline
2020/03/23 13:47:19 (permalink)
0

[Libero SoC] Relative File Paths

Does Microsemi Libero SoC have a setting to use relative file paths for linked files? If not, are there workarounds? I would really like to avoid building a custom build chain at this stage of the game.
 
If there is an option in the GUI, I haven't found it even after a lot of looking. And I've already tried manually editing the project file's contents to relative naming, which only works until Libero wants to write back to the file, at which time all of my relative paths get corrected to absolute paths again.
 
Am currently using Libero SoC v11.9 SP4. And I've used Xilinx's tools on and off for several years and now need to learn Microsemi's tools, but I haven't figured this one out.
 
Thanks for your help.
#1

2 Replies Related Threads

    nivinpauly
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2020/03/23 05:33:38
    • Location: 0
    • Status: offline
    Re: [Libero SoC] Relative File Paths 2020/03/26 11:06:54 (permalink)
    0
    You can use a TCL file and execute it to link files with the relative path. I am attaching a sample script file. Let me know if this works for you. To run the script, go to Project -> Execute Script.
    #2
    nivinpauly
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2020/03/23 05:33:38
    • Location: 0
    • Status: offline
    Re: [Libero SoC] Relative File Paths 2020/03/26 11:18:58 (permalink)
    0
    The script attached in my previous post works on 12.x versions. For 11.9 sp4, I am attaching a new script. 
    #3
    Jump to:
    © 2020 APG vNext Commercial Version 4.5