Add missed file inertial.h.

This commit is contained in:
Giles Atkinson 2023-03-13 13:57:16 +00:00 committed by Holger Vogt
parent 4623a04615
commit 240a2b9406
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
/* Definitions for inertial transport for XSPICE digital models. */
/* Determine whether inertial transport should be used. */
/* Values for control variable, "digital_delay_type". */
#define DEFAULT_TRANSPORT 0
#define DEFAULT_INERTIAL 1
#define OVERRIDE_TRANSPORT 2
#define OVERRIDE_INERTIAL 3
enum param_vals {Off, On, Not_set};
Mif_Boolean_t cm_is_inertial(enum param_vals param);
/* Extra state data for inertial delays, one structure per output. */
struct idata {
double when;
Digital_State_t prev;
};