Automatic Library Synchronization

Automatic library synchronization after model export in Twin Builder is enabled by default in the Twin Builder Options dialog box, allowing library models dependent on exported models to be synchronized.

The following example illustrates this process. In this example, assume there is a VHDL-AMS model library named sync_demo.asmd containing several models including:

  1. With a project open, the thermal model is opened for editing in the VHDL-AMS model editor and terminal m is changed to m1.
  2. Update Project is performed on the thermal model in the model editor.
  3. The thermal model is exported from the project to the sync_demo library using Export to Library.

Automatic synchronization occurs on the fuse model - and on any other models (in any of the libraries) that may depend upon the thermal model. During this process, the fuse model is recompiled. However, compilation will fail in this instance due to the terminal name mismatch (m vs. m1). Error messages are displayed in the Message Manager pane giving the line numbers in the fuse model where the errors occurred.

  1. Open the fuse model in the VHDL-AMS model editor, make the needed corrections (change m to m1), and perform Update Project on the fuse model to complete the process.