- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Usage.h
r88 r113 2 2 #define morpheo_behavioural_Usage_h 3 3 4 #include "Common/include/Environment.h" 4 5 #include <stdint.h> 5 6 … … 7 8 namespace behavioural { 8 9 9 typedef uint 8_t Tusage_t;10 typedef uint16_t Tusage_t; 10 11 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_HEADER 0x80 19 //#define USE_ 0x80 12 # define USE_SYSTEMC 0x003 13 # define USE_SYSTEMC_INTERFACE 0x001 14 # define USE_SYSTEMC_BODY 0x002 15 # define USE_VHDL 0x004 16 # define USE_VHDL_TESTBENCH 0x008 17 # define USE_VHDL_TESTBENCH_ASSERT 0x010 18 # define USE_POSITION 0x020 19 # define USE_STATISTICS 0x040 20 //#define USE_INFORMATION 0x080 21 # define USE_HEADER 0x100 22 # define USE_COSIMULATION 0x200 23 //#define USE_ 0x400 20 24 21 25 # define USE_NONE 0x00 22 //#define USE_ALL 0xff23 26 # define USE_ALL usage_all() 24 27 25 28 #ifdef MODELSIM_COSIMULATION 29 Tusage_t usage_cosimulation(Tusage_t usage); 30 #endif 26 31 Tusage_t usage_set (Tusage_t usage, Tusage_t flag); 27 32 Tusage_t usage_unset (Tusage_t usage, Tusage_t flag); 28 33 bool usage_is_set (Tusage_t usage, Tusage_t flag); 29 voidusage_environment (Tusage_t usage);34 Tusage_t usage_environment (Tusage_t usage); 30 35 Tusage_t usage_all (void); 31 36
Note: See TracChangeset
for help on using the changeset viewer.