csclk.h
816 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
48
/*
* csclk.h: header file for Comand Shuffle Unit that runs off of clk
* (non-gated clock).
*
*
*/
#ifndef CSCLK_MODULE_INCLD
#define CSCLK_MODULE_INCLD
#include "ints.h"
/*
* Comand Shuffle Unit Registers
*/
typedef struct
{
/* required by C-sim */
char *label;
char **argv;
int argc;
int clk_old;
/* I n p u t S i g n a l s */
int clk;
int64 xbus_cs_data; /* [63:0], input data bus */
int xbus_cs_valid;
int reset_l;
int pre_req_dma;
/* O u t p u t S i g n a l s */
int wr_adrs; /* number of words in fifo */
int cs_xbus_req; /* request DMA signal */
} csclk_t;
/*
* Function Prototypes
*/
void csclk(csclk_t **pp0, csclk_t **pp1);
void csclk_init(csclk_t *p0, csclk_t *p1);
#endif /* CSCLK_MODULE_INCLD */