Photonic Model: scripted_element
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 |
---|---|---|---|
scripted_element_setup_script_qa.lsf | Runs the script | None | |
scripted_element_custom_qa.lsf | User-defined custom script (optional) | Custom | This must be located in the element folder "source/<element name>/" |
QA scripts
scripted_element_setup_script_qa.lsf
This script adds the scripted element to the schematic and runs. If there is any error running the setup script, the test will fail.
scripted_element_custom_qa.lsf
This script can be optionally included in the "source//" folder. It can be used to:
- Create test benches and run simulations
- Open, modify and run existing test benches saved in INTERCONNECT project files.
- Analyze results
- Load measurement data and compare to simulation results
- Report errors
Note: When calling other files from this script, it is recommended to identify the file path in full, or with respect to the source folder directory, which is stored in the variable "source_directory" as a string. |