display.h
847 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
45
46
47
/*
* display.h - display texture output.
*
*/
#ifndef DISPLAY_INCLUDE
#define DISPLAY_INCLUDE
#define DISP_ADDR_DELAY 25
#include "ints.h"
typedef struct {
/* required */
char *label;
int gclk_old;
int argc;
char **argv;
/* input signals */
int gclk;
int bl_r; /* from blender */
int bl_g; /* from blender */
int bl_b; /* from blender */
int bl_a; /* from blender */
int clr_we; /* from blender */
int st_span; /* from edge walker */
int ms_addr; /* from edge walker */
int wr_fb; /* write frame buffer, from driver */
int left;
/* output signals */
int exit;
/* internal registers */
int adrs_d1;
int addr[DISP_ADDR_DELAY];
} display_t;
void display(display_t **pp0, display_t **pp1);
void display_init(display_t *p0, display_t *p1);
#endif /* DISPLAY_INCLUDE */