As a best practice, the following resources are recommended in the top-level Tcl
folder for building a Libero SoC project.
parameters.tcl: This Tcl file
contains project variables as shown in the following
snippet.
set prj_family "PolarFire";
set prj_die "MPF100T";
set prj_package "FCG484";
set prj_speed "-1";
set prj_root "top";
Tip: Libero SoC tools
profile can also be configured in
parameters.tcl.
src: This folder contains all the
required HDL, constraints, memory configuration, and
stimulus source files required for a project.
design.tcl: This Tcl file imports
all the HDL, constraints, memory configuration, and stimulus
sources files. The following snippet shows a sample
design.tcl.