OpenCores
URL https://opencores.org/ocsvn/mips_enhanced/mips_enhanced/trunk

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [lib/] [gaisler/] [spacewire/] [spacewire.in.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
#ifndef CONFIG_SPW_ENABLE
2
#define CONFIG_SPW_ENABLE 0
3
#endif
4
 
5
#ifndef CONFIG_SPW_NUM
6
#define CONFIG_SPW_NUM 1
7
#endif
8
 
9
#if defined CONFIG_SPW_AHBFIFO4
10
#define CONFIG_SPW_AHBFIFO 4
11
#elif defined CONFIG_SPW_AHBFIFO8
12
#define CONFIG_SPW_AHBFIFO 8
13
#elif defined CONFIG_SPW_AHBFIFO16
14
#define CONFIG_SPW_AHBFIFO 16
15
#elif defined CONFIG_SPW_AHBFIFO32
16
#define CONFIG_SPW_AHBFIFO 32
17
#elif defined CONFIG_SPW_AHBFIFO64
18
#define CONFIG_SPW_AHBFIFO 64
19
#else
20
#define CONFIG_SPW_AHBFIFO 4
21
#endif
22
 
23
#if defined CONFIG_SPW_RXFIFO16
24
#define CONFIG_SPW_RXFIFO 16
25
#elif defined CONFIG_SPW_RXFIFO32
26
#define CONFIG_SPW_RXFIFO 32
27
#elif defined CONFIG_SPW_RXFIFO64
28
#define CONFIG_SPW_RXFIFO 64
29
#else
30
#define CONFIG_SPW_RXFIFO 16
31
#endif
32
 
33
#ifndef CONFIG_SPW_RMAP
34
#define CONFIG_SPW_RMAP 0
35
#endif
36
 
37
#if defined CONFIG_SPW_RMAPBUF2
38
#define CONFIG_SPW_RMAPBUF 2
39
#elif defined CONFIG_SPW_RMAPBUF4
40
#define CONFIG_SPW_RMAPBUF 4
41
#elif defined CONFIG_SPW_RMAPBUF6
42
#define CONFIG_SPW_RMAPBUF 6
43
#elif defined CONFIG_SPW_RMAPBUF8
44
#define CONFIG_SPW_RMAPBUF 8
45
#else
46
#define CONFIG_SPW_RMAPBUF 4
47
#endif
48
 
49
#ifndef CONFIG_SPW_RMAPCRC
50
#define CONFIG_SPW_RMAPCRC 0
51
#endif
52
 
53
#ifndef CONFIG_SPW_NETLIST
54
#define CONFIG_SPW_NETLIST 0
55
#endif
56
 
57
#ifndef CONFIG_SPW_FT
58
#define CONFIG_SPW_FT 0
59
#endif
60
 
61
#if defined CONFIG_SPW_GRSPW1
62
#define CONFIG_SPW_GRSPW 1
63
#else
64
#define CONFIG_SPW_GRSPW 2
65
#endif
66
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.