Integrating VHDL tools

In most cases, the best approach to integrate VHDL tools is to use "OS-level interception" to capture the dependencies (through the wrapper vrt) and then use the exclude.tcl file to exclude files that are not interesting (like the *.mra file, or local caches).

To encapsulate VHDL tools, you may want to look at the VHDL preprocessor utility vhdlpp which parses a VHDL file and determines which design units are described in the file and which design units are referenced by the file.