source: trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Environment.h @ 83

Last change on this file since 83 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: 978 bytes
Line 
1#ifndef morpheo_behavioural_Environment_h
2#define morpheo_behavioural_Environment_h
3
4#if (defined(STATISTICS) and not defined(SYSTEMC))
5#  error "To have the statistics, you must set flags SYSTEMC"
6#endif
7
8#if (defined(INFORMATION) and not defined(STATISTICS))
9#  error "To have the information, you must set flags STATISTICS"
10#endif
11
12#if (defined(VHDL_TESTBENCH) and not defined(SYSTEMC))
13#  error "To have the vhdl's test bench, you must set flags SYSTEMC"
14#endif
15
16#if (defined(VHDL_TESTBENCH) and not defined(VHDL))
17#  error "To have the vhdl's test bench, you must set flags VHDL"
18#endif
19
20#if (defined(VHDL_TESTBENCH_ASSERT) and not defined(VHDL_TESTBENCH))
21#  error "To have an assert in vhdl's test bench, you must set flags VHDL_TESTBENCH"
22#endif
23
24#if (defined(VHDL_TESTBENCH) and defined(SYSTEMC))
25#  define SYSTEMC_VHDL_COMPATIBILITY
26#endif
27
28#if (defined(DEBUG))
29#  define DEBUG_TEST
30#endif
31
32// Environment variable
33#define MORPHEO_HOME          "MORPHEO_HOME"
34
35#endif
Note: See TracBrowser for help on using the repository browser.