- Timestamp:
- Jan 30, 2008, 5:24:14 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component
- Files:
-
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/Makefile.deps
r71 r74 14 14 endif 15 15 16 #-----[ Directory ]---------------------------------------- 17 18 @COMPONENT_DIR = $(DIR_MORPHEO)/Behavioural/@DIRECTORY 19 16 20 #-----[ Library ]------------------------------------------ 17 21 @COMPONENT_LIBRARY = -l@COMPONENT \ 18 22 $(Behavioural_LIBRARY) 19 23 20 @COMPONENT_DIR_LIBRARY = -L$( DIR_MORPHEO)/Behavioural/@DIRECTORY/lib \24 @COMPONENT_DIR_LIBRARY = -L$(@COMPONENT_DIR)/lib \ 21 25 $(Behavioural_DIR_LIBRARY) 22 26 … … 27 31 #-----[ Rules ]-------------------------------------------- 28 32 29 .NOTPARALLEL : @COMPONENT_library @COMPONENT_library_clean33 #.NOTPARALLEL : @COMPONENT_library @COMPONENT_library_clean 30 34 31 35 @COMPONENT_library : $(@COMPONENT_DEPENDENCIES) 32 36 @\ 33 $(MAKE) --directory=$( DIR_MORPHEO)/Behavioural/@DIRECTORY--makefile=Makefile;37 $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile; 34 38 35 39 @COMPONENT_library_clean : $(@COMPONENT_CLEAN) 36 40 @\ 37 $(MAKE) --directory=$( DIR_MORPHEO)/Behavioural/@DIRECTORY--makefile=Makefile clean;41 $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile clean; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h
r71 r74 45 45 46 46 #ifdef STATISTICS 47 p rivate: Stat * _stat;47 public : Stat * _stat; 48 48 #endif 49 49 … … 84 84 public : ~@COMPONENT (void); 85 85 86 private : void allocation (void); 87 private : void deallocation (void); 86 private : void allocation ( 87 #ifdef STATISTICS 88 morpheo::behavioural::Parameters_Statistics * param_statistics 89 #else 90 void 91 #endif 92 ); 93 private : void deallocation (void); 88 94 89 95 #ifdef SYSTEMC 90 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH) 91 public : void transition (void); 92 //#endif 96 public : void transition (void); 97 //public : void genMoore (void); 93 98 #endif 94 99 #ifdef STATISTICS 95 100 public : void statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics); 96 public : std::string statistics_print (uint32_t depth);97 101 #endif 98 102 99 103 #if VHDL 100 public : void vhdl (void);101 private : void vhdl_declaration (Vhdl * & vhdl);102 private : void vhdl_body (Vhdl * & vhdl);104 public : void vhdl (void); 105 private : void vhdl_declaration (Vhdl * & vhdl); 106 private : void vhdl_body (Vhdl * & vhdl); 103 107 #endif 104 108 105 109 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 106 private : void end_cycle (void);110 private : void end_cycle (void); 107 111 #endif 108 112 }; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component.cpp
r71 r74 34 34 35 35 log_printf(INFO,@COMPONENT,FUNCTION,"Allocation"); 36 allocation (); 36 37 allocation ( 38 #ifdef STATISTICS 39 param_statistics 40 #endif 41 ); 37 42 38 43 #ifdef STATISTICS -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_allocation.cpp
r73 r74 16 16 #undef FUNCTION 17 17 #define FUNCTION "@COMPONENT::allocation" 18 void @COMPONENT::allocation (void) 18 void @COMPONENT::allocation ( 19 #ifdef STATISTICS 20 morpheo::behavioural::Parameters_Statistics * param_statistics 21 #else 22 void 23 #endif 24 ) 19 25 { 20 26 string rename; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_transition.cpp
r73 r74 1 1 #ifdef SYSTEMC 2 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH)3 2 /* 4 3 * $Id$ … … 31 30 }; // end namespace morpheo 32 31 #endif 33 //#endif
Note: See TracChangeset
for help on using the changeset viewer.