/*.......1.........2.........3.........4.........5.........6.........7.........8
================================================================================
Public Domain

Georgia Tech Research Corporation
Atlanta, Georgia 30332


AUTHORS

    12 Apr 1991     Jeffrey P. Murray


SUMMARY

    This file contains the interface specification file for the
    analog triangle (controlled trianglewave oscillator) code model.

===============================================================================*/

NAME_TABLE:


C_Function_Name:       cm_triangle
Spice_Model_Name:      triangle
Description:           "controlled triangle wave oscillator"


PORT_TABLE:

Port_Name:          cntl_in               out
Description:        "input"               "output"
Direction:          in                    out
Default_Type:       v                     v
Allowed_Types:      [v,vd,i,id,vnam]      [v,vd,i,id]
Vector:             no                    no
Vector_Bounds:      -                     -
Null_Allowed:       no                    no

PARAMETER_TABLE:

Parameter_Name:     cntl_array            freq_array
Description:        "control in array"    "frequency array"
Data_Type:          real                  real
Default_Value:      [0.0 1.0]             [1.0e3 2.0e3]
Limits:             -                     [0 -]
Vector:             yes                   yes
Vector_Bounds:      [2 -]                 [2 -]
Null_Allowed:       yes                    yes


PARAMETER_TABLE:

Parameter_Name:     out_low                out_high
Description:        "output low value"     "output high value"
Data_Type:          real                   real
Default_Value:      -1.0                   1.0
Limits:             -                      -
Vector:              no                     no
Vector_Bounds:       -                      -
Null_Allowed:       yes                    yes

PARAMETER_TABLE:

Parameter_Name:     duty_cycle
Description:        "rise time duty cycle"
Data_Type:          real
Default_Value:      0.5
Limits:             [1e-6 .999999]
Vector:              no
Vector_Bounds:       -
Null_Allowed:       yes


STATIC_VAR_TABLE:

Static_Var_Name:    tran_init
Description:        "tran initialisation"
Data_Type:          boolean
