Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_allocation.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_allocation.cpp
r82 r88 1 #ifdef SYSTEMC2 1 /* 3 2 * $Id$ 4 3 * 5 * [ 4 * [ Description ] 6 5 * 7 6 */ … … 29 28 _interfaces = entity->set_interfaces(); 30 29 31 // ~~~~~[ 30 // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 31 { 33 32 Interface * interface = _interfaces->set_interface("" … … 43 42 } 44 43 45 // ~~~~~[ 44 // ~~~~~[ Interface : "counter" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 45 { 47 46 in_COUNTER_DATA = new SC_IN (Tdata_t) * [_param._nb_port]; … … 64 63 } 65 64 } 65 66 66 #ifdef POSITION 67 _component->generate_file(); 67 if (usage_is_set(_usage,USE_POSITION)) 68 _component->generate_file(); 68 69 #endif 69 70 70 // ~~~~~[ 71 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 72 log_printf(FUNC,Counter,"allocation","End"); 72 73 }; … … 77 78 }; // end namespace behavioural 78 79 }; // end namespace morpheo 79 #endif
Note: See TracChangeset
for help on using the changeset viewer.