VerilogAE helpers

As mentioned multiple times in this documentation DMT relies on VerilogAE to access information and equations in Verilog-AMS models. This module here collects the necessary helper functions to do this properly:

Helpers to integrate VerilogAE into DMT

DMT.external.verilogae.get_dmt_model(vae_module, model_type, version)[source]

Retrieving a DMT fitting model for XSteps from a VAE compiled VA-Code.

This function also adds the needed attributes.

Parameters:
vae_modulemodule

VAE compiled and installed VA-Code

model_type{‘HICUM_L0’, ‘HICUM_L2’}

Currently supporting only the two HICUM levels

versionfloat

Version of the compiled va-code

Returns:
modelmodule

The VAE module with added attributes

DMT.external.verilogae.get_param_list(meq_function, all_parameters=False, info=None)[source]

Returns a list with the McParameter names for the given callable in correct order, assuming that only the top-most function is not from VerilogAE

Parameters:
meq_functionfunction

Function of the model equation which shall be used.

all_parameters{False, True}, optional

If True, the independent_vars are ignored and the full parameter list is returned.

Returns:
paramslist

List of parameters for this function