Get the current fileset (any type) or set the current fileset (applicable to simulation filesets only)
Syntax
current_fileset [‑constrset] [‑simset] [‑quiet] [‑verbose] [<fileset>...]
Returns
current fileset (the current srcset by default)
Usage
Name | Description |
---|---|
[-constrset]
|
Get the current constraints fileset |
[-simset]
|
Get the current active simulation fileset |
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
[<fileset>]
|
Specify the simulation fileset to set as current (active); optional |
Categories
Description
Get the active source, constraint, or simulation fileset within the current project.
When used without any options, current_fileset sets and returns the sources_1 set as the active fileset.
set_property CONSTRSET
to define the active constraint set on a synthesis or implementation run.Arguments
-constrset
- (Optional) Return the currently active constraint set.
-simset
- (Optional) Return or set the currently active simulation fileset.
-quiet
- (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
-verbose
- (Optional) Temporarily override any message limits and return all messages from this command.
set_msg_config
command.<fileset> - (Optional) The name of the simulation fileset to make active. This argument sets the active simulation fileset in projects with multiple filesets. When <fileset> is not specified, the sources_1 fileset is returned as the active fileset.
Examples
current_fileset -constrset
current_fileset -simset sim_2