Port Definitions
| Variable | Type | Description |
|---|---|---|
| ports | Cell |
A cell array containing structs which have information about each port. Every struct must contain the following fields:
|
| opt_1_RELAY | number |
The indices of the cells in the 'ports' cell array, that corresponds to the first and second optical ports (on the first bus). |
| opt_2_RELAY | number |
Photonic Model
| Variable | Type | Description |
|---|---|---|
|
photonic_model |
string |
String containing the name of the photonic model used for this template. Please visit here for a list of all available photonic models. |
Cosmetic Variables
| Variable | Type | Description |
|---|---|---|
| description | String | A string containing a brief description of the model, which will be displayed to the end user. |
| prefix | String | A string containing the prefix of the model, which will be used within interconnect to provide incrementing element names for each successive element that is added to the simulation layout. |
| notes | Cell |
A cell array which provides model notes that will be displayed to the end user. Each element of the cell is a struct with the fields:
|
Modeling Variables
| Variable | Type | Description |
|---|---|---|
| fir_taps | Number |
Number of taps for the FIR filter. Larger number allows to resolve frequency dependence better but increases time delay. Suggestions:
|