1

I want to use a shell script to compile my Libero projects. How can this be achieved? If anyone has done it, please let me know. The documentation from Libero is not very helpful at all.

gyuunyuu
  • 1,933
  • 7
  • 31
  • 1
    +1 for the bad documentation – the busybee Aug 18 '20 at 06:21
  • 1
    Closest I've got was from the GUI there's a File/Run TCL script, or Project/Run TCL Script dialog which lets you select and run ... a TCL script. That can be cobbled together from the TCL commands embedded in console output and/or log files. Details swapped out of my memory and on another computer, sorry. –  Aug 18 '20 at 12:42
  • Yes I am aware of that tcl script which it generates, but how to run it from command line it is not clear. – gyuunyuu Aug 18 '20 at 20:35
  • The documentation and forums offer little help with this mess of Libero tools. I am surprised they are even in business for so long as they are. – gyuunyuu Aug 18 '20 at 20:36
  • Do you have a Tcl distribution installed? There's probably one with Libero or you can install something lice ActiveTcl. You can either run the tcl shell direct (by running tclsh) and use the "source" command or, if you installed ActiveTcl, from the command line type "tclsh .tcl" – Vance Aug 19 '20 at 11:08
  • ok once I have tcl interpret up and running what comes next? when it comes to Quartus, we have separate executeables for synthesis, fitter and generating programming files and the actual programmer that can all be run from the command line. – gyuunyuu Sep 25 '20 at 00:33
  • I completely agree with everyone about. The tools and documentation of Libero are a mess. – abunickabhi Oct 21 '21 at 12:26

1 Answers1

-1

Sorry, this is a bit late but according to their documentation section 1.12, you run:

libero SCRIPT:myscript.tcl "SCRIPT_ARGS:one two three"

The SCRIPT and SCRIPT_ARGS are case insensitive.

Rami
  • 1