is_source_file_current

Audits the source file and determines whether or not the file is out of date / imported into the workspace. Returns '0' if file_name is out of date or has not been imported into the workspace, and returns '1' if file_name is current.

This command ignores the Audit settings in your ADB file.

 

is_source_file_current (filename)

Arguments

filename is the path to the source file

Supported Families

All

Exceptions

Example

The following code determines whether or not the file has been imported into the workspace.

 

is_source_file_current (./hdl/adder.vhd)

See Also

are_all_source_files_curent

get_out_of_date_files