source: branches/with_autoconf/src/data_field.h @ 8

Last change on this file since 8 was 8, checked in by nipo, 16 years ago

Checkin autotools magic

File size: 1011 bytes
Line 
1/*------------------------------------------------------------\
2|                                                             |
3| Tool    :                  systemcass                       |
4|                                                             |
5| File    :                 data_field.h                      |
6|                                                             |
7| Author  :                 Buchmann Richard                  |
8|                                                             |
9| Date    :                   03_05_2006                      |
10|                                                             |
11\------------------------------------------------------------*/
12#ifndef __DATA_FIELD_H__
13#define __DATA_FIELD_H__
14
15template<int      WIDTH,
16         int      PADDING,
17         typename data_type>
18struct val_field {
19  data_type valW:WIDTH;
20};
21
22template<int      WIDTH,
23         typename data_type>
24struct val_field<WIDTH,0,data_type> {
25  data_type valW:WIDTH;
26};
27
28#endif
29
Note: See TracBrowser for help on using the repository browser.