Last change
on this file since 88 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
1.0 KB
|
Rev | Line | |
---|
[57] | 1 | #ifndef morpheo_behavioural_Usage_h |
---|
| 2 | #define morpheo_behavioural_Usage_h |
---|
| 3 | |
---|
[81] | 4 | #include <stdint.h> |
---|
| 5 | |
---|
[57] | 6 | namespace morpheo { |
---|
| 7 | namespace behavioural { |
---|
| 8 | |
---|
| 9 | typedef uint8_t Tusage_t; |
---|
| 10 | |
---|
[81] | 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 |
---|
[88] | 18 | # define USE_HEADER 0x80 |
---|
[81] | 19 | //#define USE_ 0x80 |
---|
[57] | 20 | |
---|
[81] | 21 | # define USE_NONE 0x00 |
---|
| 22 | //#define USE_ALL 0xff |
---|
| 23 | # define USE_ALL usage_all() |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | Tusage_t usage_set (Tusage_t usage, Tusage_t flag); |
---|
| 27 | Tusage_t usage_unset (Tusage_t usage, Tusage_t flag); |
---|
| 28 | bool usage_is_set (Tusage_t usage, Tusage_t flag); |
---|
| 29 | void usage_environment (Tusage_t usage); |
---|
| 30 | Tusage_t usage_all (void); |
---|
| 31 | |
---|
[57] | 32 | }; // end namespace behavioural |
---|
| 33 | }; // end namespace morpheo |
---|
| 34 | |
---|
| 35 | #endif |
---|
| 36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.