Bridge++  Ver. 2.0.2
define_vlen.h
Go to the documentation of this file.
1 
16 #ifndef QXS_DEFINE_VLEN_INCLUDED
17 #define QXS_DEFINE_VLEN_INCLUDED
18 
19 #define VLEND_QXS 8
20 #define VLENS_QXS 16
21 
22 
23 #define VLENXD 4
24 #define VLENYD 2
25 
26 #define VLENXS 4
27 #define VLENYS 4
28 
29 #ifdef QWS_H
30 // check if consistent with qws.h
31 #if (VLENS != VLENS_QXS)
32 #error bad VLENS
33 #endif
34 #if (VLEND != VLEND_QXS)
35 #error bad VLEND
36 #endif
37 #undef VLENS
38 #undef VLEND
39 #endif
40 
41 #define VLENS VLENS_QXS
42 #define VLEND VLEND_QXS
43 
44 #if (VLEND != VLENXD * VLENYD)
45 #error bad VLENXD * VLENYD
46 #endif
47 
48 #if (VLENS != VLENXS * VLENYS)
49 #error bad VLENXD * VLENYD
50 #endif
51 
52 #endif