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

Last change on this file since 113 was 113, checked in by rosiere, 15 years ago

1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#ifndef morpheo_behavioural_Usage_h
2#define morpheo_behavioural_Usage_h
3
4#include "Common/include/Environment.h"
5#include <stdint.h>
6
7namespace morpheo {
8namespace behavioural {
9
10  typedef uint16_t Tusage_t;
11
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
24
25#  define USE_NONE                  0x00
26#  define USE_ALL                   usage_all()
27
28#ifdef MODELSIM_COSIMULATION
29  Tusage_t usage_cosimulation(Tusage_t usage);
30#endif
31  Tusage_t usage_set         (Tusage_t usage, Tusage_t flag);
32  Tusage_t usage_unset       (Tusage_t usage, Tusage_t flag);
33  bool     usage_is_set      (Tusage_t usage, Tusage_t flag);
34  Tusage_t usage_environment (Tusage_t usage);
35  Tusage_t usage_all         (void);
36
37}; // end namespace behavioural
38}; // end namespace morpheo             
39
40#endif
41
Note: See TracBrowser for help on using the repository browser.