driver.h
668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
*
*
*
*
*/
#ifndef DRIVER_INCLUDE
#define DRIVER_INCLUDE
typedef struct {
/* required */
char *label;
int gclk_old;
int argc;
char **argv;
/* input */
int gclk;
/* output */
int ew_cv_data; /* [12:0] */
int x_major; /* [11:0] */
int cycle_type; /* lsb of cycle type */
int ew_cv_newspan; /* [13:0] */
int left; /* left major flag */
int reset;
/* valids */
int dv;
int dv_d1;
int ew_cv_data_d1;
} driver_t;
/*
* Prototypes
*/
void driver(driver_t **pp0, driver_t **pp1);
void driver_init(driver_t *p0, driver_t *p1);
#endif /* DRIVER_INCLUDE */