malt-wr
constype.h File Reference
#include <math.h>
Include dependency graph for constype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PARAMETERS
 
struct  XY_PARAMETERS
 
struct  PULSE_DESC
 
struct  EDGE_DESC
 
struct  LOGIC
 
struct  async_checkpoint
 
struct  SIGNALS
 
struct  HOLDSETUP
 
union  MIN_MAX_AVR
 
struct  DELAYS_DESC
 
struct  INPUTS_DESC
 
struct  MARGIN
 
struct  PARAMETER_SET_STRUCT
 
struct  TIME_PARAM_STRUCT
 
struct  SYNC_TIME_DELAY_STRUCT
 
struct  ASYNC_TIME_DELAY_STRUCT
 

Macros

#define NAME_LENGTH   40
 
#define LINE_LENGTH   100
 
#define LONG_LINE_LENGTH   512
 
#define M_SET   0x0001
 
#define JM_SET   0x0002
 
#define H_SET   0x0004
 
#define JH_SET   0x0008
 
#define S_SET   0x0010
 
#define JS_SET   0x0020
 
#define R_SET   0x4000
 
#define JR_SET   0x8000
 
#define J_SET   (JM_SET | JH_SET | JS_SET | JR_SET)
 
#define Q_SET   0x0040
 
#define V_SET   0x0080
 
#define P_SET   0x0100
 
#define C_SET   0x0400
 
#define B_SET   0x0800
 
#define TWO_SET   0x1000
 
#define ID_SET   0x00010000
 
#define IH_SET   0x00020000
 
#define IS_SET   0x00040000
 
#define W_SET   0x00080000
 
#define BATCH_SET   0x00080000
 
#define I_SET   (ID_SET | IH_SET | IS_SET)
 
#define LATCH_SET   0x00100000
 
#define COLLECT_PHASE   0
 
#define COLLECT_VOLTAGE   1
 
#define COLLECT_BY_PHASE   0
 
#define COLLECT_BY_VOLTAGE   1
 
#define COLLECT_EDGES   2
 
#define STEP_FORWARD   5
 
#define RISING_EDGE   0
 
#define FALLING_EDGE   1
 
#define MIN(x, y)   (((x)<(y))?(x):(y))
 
#define MAX(x, y)   (((x)<(y))?(y):(x))
 
#define HS_PROGRAM   0
 
#define INIT_PROGRAM   1
 
#define MARG_PROGRAM   2
 
#define OPT_PROGRAM   3
 
#define REGULAR_CHECKPOINT   0
 
#define INIT_CHECKPOINT   1
 
#define ADD_DELTA   'A'
 
#define MUL_BY_FACTOR   'M'
 
#define RANDOM_UNIFORM   'R'
 
#define RANDOM_NORMAL   'N'
 

Typedefs

typedef float TIME
 
typedef float PHASE
 
typedef float VOLTAGE
 
typedef struct PULSE_DESC PULSE
 
typedef struct EDGE_DESC EDGE
 
typedef struct async_checkpoint ASYNC_CHECK
 
typedef struct DELAYS_DESC DELAYS
 
typedef struct INPUTS_DESC INPUTS
 
typedef struct PARAMETER_SET_STRUCT PARAMETER_SET
 
typedef struct TIME_PARAM_STRUCT TIME_PARAM
 
typedef struct SYNC_TIME_DELAY_STRUCT SYNC_TIME_DELAY
 
typedef struct ASYNC_TIME_DELAY_STRUCT ASYNC_TIME_DELAY
 

Variables

PARAMETERS param
 

Macro Definition Documentation

#define ADD_DELTA   'A'

Definition at line 558 of file constype.h.

#define B_SET   0x0800

Definition at line 26 of file constype.h.

#define BATCH_SET   0x00080000

Definition at line 35 of file constype.h.

#define C_SET   0x0400

Definition at line 25 of file constype.h.

#define COLLECT_BY_PHASE   0

Definition at line 44 of file constype.h.

#define COLLECT_BY_VOLTAGE   1

Definition at line 45 of file constype.h.

#define COLLECT_EDGES   2

Definition at line 46 of file constype.h.

#define COLLECT_PHASE   0

Definition at line 41 of file constype.h.

#define COLLECT_VOLTAGE   1

Definition at line 42 of file constype.h.

#define FALLING_EDGE   1

Definition at line 51 of file constype.h.

#define H_SET   0x0004

Definition at line 12 of file constype.h.

#define HS_PROGRAM   0

Definition at line 243 of file constype.h.

#define I_SET   (ID_SET | IH_SET | IS_SET)

Definition at line 36 of file constype.h.

#define ID_SET   0x00010000

Definition at line 29 of file constype.h.

#define IH_SET   0x00020000

Definition at line 30 of file constype.h.

#define INIT_CHECKPOINT   1

Definition at line 360 of file constype.h.

#define INIT_PROGRAM   1

Definition at line 244 of file constype.h.

#define IS_SET   0x00040000

Definition at line 31 of file constype.h.

#define J_SET   (JM_SET | JH_SET | JS_SET | JR_SET)

Definition at line 18 of file constype.h.

#define JH_SET   0x0008

Definition at line 13 of file constype.h.

#define JM_SET   0x0002

Definition at line 11 of file constype.h.

#define JR_SET   0x8000

Definition at line 17 of file constype.h.

#define JS_SET   0x0020

Definition at line 15 of file constype.h.

#define LATCH_SET   0x00100000

Definition at line 38 of file constype.h.

#define LINE_LENGTH   100

Definition at line 4 of file constype.h.

#define LONG_LINE_LENGTH   512

Definition at line 5 of file constype.h.

#define M_SET   0x0001

Definition at line 10 of file constype.h.

#define MARG_PROGRAM   2

Definition at line 245 of file constype.h.

#define MAX (   x,
 
)    (((x)<(y))?(y):(x))

Definition at line 59 of file constype.h.

#define MIN (   x,
 
)    (((x)<(y))?(x):(y))

Definition at line 58 of file constype.h.

#define MUL_BY_FACTOR   'M'

Definition at line 559 of file constype.h.

#define NAME_LENGTH   40

Definition at line 3 of file constype.h.

#define OPT_PROGRAM   3

Definition at line 246 of file constype.h.

#define P_SET   0x0100

Definition at line 23 of file constype.h.

#define Q_SET   0x0040

Definition at line 20 of file constype.h.

#define R_SET   0x4000

Definition at line 16 of file constype.h.

#define RANDOM_NORMAL   'N'

Definition at line 561 of file constype.h.

#define RANDOM_UNIFORM   'R'

Definition at line 560 of file constype.h.

#define REGULAR_CHECKPOINT   0

Definition at line 359 of file constype.h.

#define RISING_EDGE   0

Definition at line 50 of file constype.h.

#define S_SET   0x0010

Definition at line 14 of file constype.h.

#define STEP_FORWARD   5

Definition at line 48 of file constype.h.

#define TWO_SET   0x1000

Definition at line 27 of file constype.h.

#define V_SET   0x0080

Definition at line 21 of file constype.h.

#define W_SET   0x00080000

Definition at line 33 of file constype.h.

Typedef Documentation

typedef struct async_checkpoint ASYNC_CHECK

Definition at line 355 of file constype.h.

Definition at line 583 of file constype.h.

typedef struct DELAYS_DESC DELAYS

Definition at line 509 of file constype.h.

typedef struct EDGE_DESC EDGE

Definition at line 323 of file constype.h.

typedef struct INPUTS_DESC INPUTS

Definition at line 519 of file constype.h.

Definition at line 540 of file constype.h.

typedef float PHASE

Definition at line 55 of file constype.h.

typedef struct PULSE_DESC PULSE

Definition at line 302 of file constype.h.

Definition at line 571 of file constype.h.

typedef float TIME

Definition at line 54 of file constype.h.

typedef struct TIME_PARAM_STRUCT TIME_PARAM

Definition at line 555 of file constype.h.

typedef float VOLTAGE

Definition at line 56 of file constype.h.

Variable Documentation

PARAMETERS param

Definition at line 10 of file init.c.