21.3.91 set_root

Description

This Tcl command sets the module you specify as the root. Project has one top module that is the root of the design hierarchy for the implementation.

set_root -module "module name"

Arguments

ParameterTypeDescription
set_rootstringSpecifies the name the module you want to set as root.

Error Codes

Error CodeDescription
NoneCannot find module named "module_name".

None

Parameter 'param_name' is not defined. Valid command formatting is 'set_root -module "module" '.

Supported Families

Supported Families
PolarFire®
RTG4
SmartFusion® 2
IGLOO® 2

Example

Set the module mux8 as root of your design hierarchy.

set_root mux8