Changeset 75 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_allocation.cpp
- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_allocation.cpp
r42 r75 17 17 void Victim_Pseudo_LRU::allocation (void) 18 18 { 19 #ifdef POSITION20 19 _component = new Component (); 21 20 22 Entity * entity = _component->set_entity (_name , 23 "Select_Priority_Fixed", 24 COMBINATORY ); 21 Entity * entity = _component->set_entity (_name 22 ,"Select_Priority_Fixed" 23 #ifdef POSITION 24 ,COMBINATORY 25 #endif 26 ); 25 27 26 28 _interfaces = entity->set_interfaces(); 27 #else28 _interfaces = new Interfaces();29 #endif30 29 31 30 // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 31 { 33 Interface_fifo * interface = _interfaces->set_interface("", IN ,WEST, "Generalist interface"); 32 Interface_fifo * interface = _interfaces->set_interface("" 33 #ifdef POSITION 34 , IN ,WEST, "Generalist interface" 35 #endif 36 ); 34 37 35 38 in_CLOCK = interface->set_signal_clk ("clock" ,1); … … 47 50 for (uint32_t i=0; i<_param._nb_access; i++) 48 51 { 49 Interface_fifo * interface = _interfaces->set_interface("access_"+toString(i), IN ,WEST, "Access"); 52 Interface_fifo * interface = _interfaces->set_interface("access_"+toString(i) 53 #ifdef POSITION 54 , IN ,WEST, "Access" 55 #endif 56 ); 50 57 51 58 in_ACCESS_VAL [i] = interface->set_signal_valack_in ("val" , VAL); … … 69 76 for (uint32_t i=0; i<_param._nb_update; i++) 70 77 { 71 Interface_fifo * interface = _interfaces->set_interface("update_"+toString(i), IN ,EAST, "Update"); 78 Interface_fifo * interface = _interfaces->set_interface("update_"+toString(i) 79 #ifdef POSITION 80 , IN ,EAST, "Update" 81 #endif 82 ); 72 83 73 84 in_UPDATE_VAL [i] = interface->set_signal_valack_in ("val" , VAL);
Note: See TracChangeset
for help on using the changeset viewer.