 HW Directory Structure

The HW directory is organized as shown below:

     HW
     |
     |----src
     |     |---hdl
     |     |---1_create_design.tcl
     |     |---4_implement_design.tcl
     | 
     |
     |----script.tcl
     |----TCL_Script_readme.txt


HW Script Folders
 
HW\src folder contains the following folders:
* hdl: contains HDL files, if applicable.

TCL Files

HW\src includes the following TCL files:
* 1_create_design.tcl: executes all the required core configuration TCLs with necessary user HDL files from src folder to create the design.
* 4_implement_design.tcl: runs synthesis, place & route.
* script.tcl: this is the top-level script, which creates the Libero_Project directory, sets device, project name, and other tool profiles. It invokes all the above TCLs which are required to complete the Libero Design flow.

Running the TCL

The TCL scripts are validated for Libero v2024.2, follow:
1. Launch the Libero software
2. Select Project > Execute Script.... 
3. Click Browse and select script.tcl from the downloaded TCL_Scripts directory.
4. Click Run.
After successful execution of TCL script, Libero project is created within TCL_Scripts directory.

Updating TCL for New Libero Version
 
If there are any mismatches in execution, check the following:
 For Libero related errors, check Libero release notes for changes related to the design components/tools or changes to TCL commands.


Refer to Libero  SoC TCL Command Reference Guide for more details on TCL commands. Contact Techsupport if you run into any TCL related queries.
