source: trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Usage.h @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 983 bytes
Line 
1#ifndef morpheo_behavioural_Usage_h
2#define morpheo_behavioural_Usage_h
3
4#include <stdint.h>
5
6namespace morpheo {
7namespace behavioural {
8
9  typedef uint8_t Tusage_t;
10
11#  define USE_SYSTEMC               0x01
12#  define USE_VHDL                  0x02
13#  define USE_VHDL_TESTBENCH        0x04
14#  define USE_VHDL_TESTBENCH_ASSERT 0x08
15#  define USE_POSITION              0x10
16#  define USE_STATISTICS            0x20
17#  define USE_INFORMATION           0x40
18//#define USE_                      0x80
19
20#  define USE_NONE                  0x00
21//#define USE_ALL                   0xff
22#  define USE_ALL                   usage_all()
23
24
25  Tusage_t usage_set         (Tusage_t usage, Tusage_t flag);
26  Tusage_t usage_unset       (Tusage_t usage, Tusage_t flag);
27  bool     usage_is_set      (Tusage_t usage, Tusage_t flag);
28  void     usage_environment (Tusage_t usage);
29  Tusage_t usage_all         (void);
30
31}; // end namespace behavioural
32}; // end namespace morpheo             
33
34#endif
35
Note: See TracBrowser for help on using the repository browser.