21.3.92 set_root
(Ask a Question)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
| Parameter | Type | Description | 
|---|---|---|
| set_root | string | Specifies the name the module you want to set as root. | 
Error Codes
| Error Code | Description | 
|---|---|
| None | Cannot 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