Note: For legacy data format (2022 R2.4 and older) please visit following link:
Photonic Model: wg_parameterized
Information on QA tests and QA types: Introduction to Quality Assurance (QA) tests
Instructions on running QA tests: Running QA tests in CML Compiler
QA tests
QA script | QA type | FOMs | Comments |
---|---|---|---|
wg_parameterized_randomized_neff_ng_D_loss_group_delay_qa.lsf |
Behavior |
neff, ng, D, loss, group_delay |
|
wg_parameterized_single_neff_ng_D_loss_group_delay_qa.lsf
|
Behavior |
neff, ng, D, loss, group_delay |
|
Regression |
statistical |
statistical compact model |
QA Variables
These variables are defined as below in a struct named "QA" in the source data file:
[[snippet||12014063100051]]
Statistical QA Variables
(statistical compact models only)
These variables are defined as below in a struct named "QA" in the "statistical" struct in the source data file:
[[snippet||12018325855635]]
QA scripts
wg_parameterized_randomized_neff_ng_D_loss_group_delay_qa.lsf
wg_parameterized_single_neff_ng_D_loss_group_delay_qa.lsf
This script sets up the following test-bench. The ONA is set to do analysis in "scattering data" mode for frequency domain simulations and "impulse response" for time domain simulations.
The "randomized" script finds random values for all parameters in the range provided by user in the "parameters" in the random_test struct in the QA section and populate elements in the test-bench with these values and simulation will run. This process will be repeated for "Nr" number of times.
The "single" script reads the user provided "parameters" in the single_test struct in the QA section and populate elements in the test-bench with these values.
The script reads the results of the ONA in "scattering data" and "impulse response" mode from the test-bench to find the group delay calculate in frequency domain and time domain respectively. These two value then are compared and made sure the difference is within the tolerance value.
The script also reads the result of the ONA in "scattering data" mode from the test-bench and extracts the mode data; effective index, group index, dispersion and loss. These values will be compared to source data and made sure the difference is within the tolerance.
QA type | FOMs | QA variables |
---|---|---|
Behavior test |
|
relative_tolerances:
|
wg_parameterized_statistical_qa.lsf
In this test three frequency domain test-benches, as described above, are set up for waveguide parameters set to their default, minimum and maximum value. Monte Carlo analysis is performed and results are compared to data saved in "<element_name>_stat_refdata.mat".
This test is a regression test. If this is the first time running QA, the "reference_data_available" in source data should be set to "false", so the Monte Carlo results from first run will be saved in the element folder as in "<element_name>_stat_refdata.mat". For consecutive runs, "reference_data_available" should be set to true, and results will be compared to these statistical data and make sure the difference is within the tolerance value.
QA type | FOMs | QA variables |
---|---|---|
Regression test |
|
statistical:
|