Description
This Tcl command deletes files in your Libero SoC project.
delete_files -file {value} [-from_disk {TRUE | FALSE}]
Arguments
Parameter | Type | Description |
---|
file | string | Specifies the file you wish to delete from the project. This parameter is required for this Tcl command. It does not delete the file from the disk. |
from_disk | boolean | Specifies if the file will be deleted from disk or not. The default value is 'False'. This parameter is optional. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Parameter 'file' has illegal value. |
None | Required parameter 'file' is missing. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'delete_files [-file "file"]+ [-from_disk "TRUE | FALSE"]'. |
Supported Families
Supported Families |
---|
PolarFire® |
PolarFire SoC |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
Delete the files file1.vhd and file2.vhd from the project.
delete_files -file {./project/hdl/file1.vhd} -from_disk {TRUE}