7 Appendix B: Running the Tcl Script

Tcl scripts are provided in PolarFire SoC Video Kit Reference Design.

To run Tcl, follow these steps:

  1. Launch the Libero software
  2. Select Project > Execute Script....
  3. Click Browse and select MPFS_VIDEO_KIT_REFERENCE_DESIGN.tcl from the downloaded TCL_Scripts directory.
  4. Add any required arguments (for example, HSS_UPDATE PROGRAM)
  5. Click Run.

After successful execution of the Tcl script, the Libero project is created within the top directory.

Important: The H.264 Encoder Encrypted IP is Licensed. If the license is not available, the Tcl generates the design with an Evaluation license which expires after an hour’s use on the hardware. So, the streaming stops after an hour.

For more information about Tcl scripts, see readme.md.

See Tcl Commands Reference Guide for more information about Tcl commands. Contact Technical Support for any queries about running the Tcl script.