Note: You are now visiting legacy data format page (2022 R2.4 and older). For current data format page (2023 R1.1 onwards) please visit following link:
Photonic Model: sparsweep_pcell
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 |
---|---|---|---|
sparsweep_pcell_passivity_reciprocity_time_domain_qa
|
Self-consistency test/ Behavior |
passivity, reciprocity, time_domain |
|
sparsweep_pcell_regression_qa |
Regression |
regression |
|
sparsweep_pcell_statistical_qa.lsf |
Regression |
statistical |
statistical compact model |
QA Variables
[[snippet||7206702503443]]
Statistical QA Variables
(statistical compact models only)
[[snippet||7206915108115]]
QA scripts
sparsweep_pcell_passivity_reciprocity_time_domain_qa
sparsweep_pcell_regression_qa
This script generates random values for the parameter set and assign it to the element. It then sets up the the test-bench and extracts the S matrix. For the number of ports the sparameter element has, a test-bench will be set up where the the ONA feeds one port and probes the other ones. Here you can see the MMI set-up as an example.
This is done in frequency domain and time domain and results are compared to makes sure it within the tolerance, S_time_tolerance. Also reciprocity and passivity are tested to be within the defined tolerance, reciprocity_tolerance and passivity_tolerance .
The "regression" script also includes a regression test for the absolute and complex values of the S matrix. If reference data is not available or needs to be renewed, "reference_data_available" should be set to false so the S matrix extracted from QA saves as reference data. For consecutive runs, "reference_data_available" should be set to true, and results will be compared to these data and make sure the difference is within the tolerance value.
QA type | FOMs | QA variables |
---|---|---|
|
|
|
sparsweep_pcell_statistical_qa.lsf.lsf
In this test, a testbench is setup in which the ONA feeds the input port of the compact model which is defined in "stat_qa_input_port" and probes the output port defined in "stat_qa_output_port" and Monte Carlo analysis is performed. See test-bench below as an example. Data is then extracted and compared to data saved in stat_refdata.
This test is a regression test. If this is the first time running QA, the "stat_reference_data_available" in source data should be set to "false", so the Monte Carlo results from the first run will be saved in the element folder. For consecutive runs, "stat_reference_data_available" should be set to true, and results will be compared to these data and make sure the difference is within the tolerance value
QA type | FOMs | QA variables |
---|---|---|
|
|
enable_stat_qa stat_reference_data_available N_trials stat_qa_input_port stat_qa_output_port stat_qa_wavelength stat_transmission_tolerance |