- Timestamp:
- Apr 15, 2008, 8:40:01 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/Makefile
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/Makefile.defs
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/Makefile.deps
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/Makefile
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/configuration.cfg
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/include/test.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/src/main.cpp
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/src/test.cpp
-
Property
svn:keywords
set to
Id
r76 r81 7 7 */ 8 8 9 #define NB_ITERATION 1 10 #define CYCLE_MAX (128*NB_ITERATION) 11 9 12 #include "Behavioural/@DIRECTORY/SelfTest/include/test.h" 10 13 #include "Common/include/Test.h" 11 14 #include "Behavioural/include/Allocation.h" 12 13 #define NB_ITERATION 114 #define CYCLE_MAX (128*NB_ITERATION)15 16 #define LABEL(str...) \17 { \18 msg (_("{%d} "),static_cast<uint32_t>(sc_simulation_time())); \19 msg (str); \20 msg (_("\n")); \21 } while(0)22 23 #define SC_START(cycle_offset) \24 do \25 { \26 /*cout << "SC_START (begin)" << endl;*/ \27 \28 uint32_t cycle_current = static_cast<uint32_t>(sc_simulation_time()); \29 if (cycle_offset != 0) \30 { \31 cout << "##########[ cycle "<< cycle_current+cycle_offset << " ]" << endl; \32 } \33 \34 if (cycle_current > CYCLE_MAX) \35 { \36 TEST_KO("Maximal cycles Reached"); \37 } \38 \39 sc_start(cycle_offset); \40 \41 /*cout << "SC_START (end )" << endl;*/ \42 } while(0)43 15 44 16 void test (string name, … … 51 23 #endif 52 24 53 @COMPONENT * _@COMPONENT = new @COMPONENT (name.c_str(), 25 Tusage_t _usage = USE_ALL; 26 27 // _usage = usage_unset(_usage,USE_SYSTEMC ); 28 // _usage = usage_unset(_usage,USE_VHDL ); 29 // _usage = usage_unset(_usage,USE_VHDL_TESTBENCH ); 30 // _usage = usage_unset(_usage,USE_VHDL_TESTBENCH_ASSERT); 31 // _usage = usage_unset(_usage,USE_POSITION ); 32 // _usage = usage_unset(_usage,USE_STATISTICS ); 33 // _usage = usage_unset(_usage,USE_INFORMATION ); 34 35 @COMPONENT * _@COMPONENT = new @COMPONENT 36 (name.c_str(), 54 37 #ifdef STATISTICS 55 38 _parameters_statistics, 56 39 #endif 57 _param); 40 _param, 41 _usage); 58 42 59 43 #ifdef SYSTEMC 44 if (usage_is_set(_usage,USE_SYSTEMC)) 45 { 60 46 /********************************************************************* 61 47 * Déclarations des signaux … … 119 105 delete in_CLOCK; 120 106 delete in_NRESET; 107 } 121 108 #endif 122 109 -
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/Makefile
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/New_Component.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/sty/header.sty
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/tex/01_introduction.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/tex/02_features.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/tex/03_description.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/tex/04_pinout.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/tex/05_parameters.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/tex/06_performance.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/tex/07_details.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/tex/08_history.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/doc/tex/root.tex
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/include/New_Component.h
-
Property
svn:keywords
set to
Id
r78 r81 80 80 #endif 81 81 Parameters * param, 82 morpheo::behavioural::Tusage_t usage =USE_ALL82 morpheo::behavioural::Tusage_t usage 83 83 ); 84 84 public : ~@COMPONENT (void); -
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/include/Parameters.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component.cpp
-
Property
svn:keywords
set to
Id
r78 r81 33 33 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 34 34 35 usage_environment(_usage); 36 35 37 log_printf(INFO,@COMPONENT,FUNCTION,"Allocation"); 36 38 … … 42 44 43 45 #ifdef STATISTICS 44 if ( _usage & USE_STATISTICS)46 if (usage_is_set(_usage,USE_STATISTICS)) 45 47 { 46 48 log_printf(INFO,@COMPONENT,FUNCTION,"Allocation of statistics"); … … 51 53 52 54 #ifdef VHDL 53 if ( _usage & USE_VHDL)55 if (usage_is_set(_usage,USE_VHDL)) 54 56 { 55 57 // generate the vhdl … … 61 63 62 64 #ifdef SYSTEMC 63 if ( _usage & USE_SYSTEMC)65 if (usage_is_set(_usage,USE_SYSTEMC)) 64 66 { 65 67 log_printf(INFO,@COMPONENT,FUNCTION,"Method - transition"); … … 85 87 86 88 #ifdef STATISTICS 87 if ( _usage & USE_STATISTICS)89 if (usage_is_set(_usage,USE_STATISTICS)) 88 90 { 89 91 statistics_deallocation(); -
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_allocation.cpp
-
Property
svn:keywords
set to
Id
r78 r81 61 61 62 62 #ifdef POSITION 63 _component->generate_file(); 63 if (usage_is_set(_usage,USE_POSITION)) 64 _component->generate_file(); 64 65 #endif 65 66 -
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_deallocation.cpp
-
Property
svn:keywords
set to
Id
r76 r81 7 7 8 8 #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" 9 #include "Behavioural/include/Allocation.h" 9 10 10 11 namespace morpheo { … … 18 19 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 19 20 20 if ( _usage & USE_SYSTEMC)21 if (usage_is_set(_usage,USE_SYSTEMC)) 21 22 { 22 23 delete in_CLOCK ; -
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_end_cycle.cpp
-
Property
svn:keywords
set to
Id
r76 r81 20 20 21 21 #ifdef STATISTICS 22 _stat->end_cycle(); 22 if (usage_is_set(_usage,USE_STATISTICS)) 23 _stat->end_cycle(); 23 24 #endif 24 25 … … 26 27 // Evaluation before read the ouput signal 27 28 // sc_start(0); 28 _interfaces->testbench(); 29 if (usage_is_set(_usage,USE_VHDL_TESTBENCH)) 30 _interfaces->testbench(); 29 31 #endif 30 32 -
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_statistics_allocation.cpp
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_statistics_deallocation.cpp
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_transition.cpp
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_vhdl.cpp
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/Parameters.cpp
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/Parameters_msg_error.cpp
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/Parameters_print.cpp
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
Note: See TracChangeset
for help on using the changeset viewer.