Ignore:
Timestamp:
Apr 17, 2009, 12:35:37 AM (15 years ago)
Author:
rosiere
Message:

1) Fix bug with previous commit
2) Add test libc
3) Change Dhrystone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/src/Write_queue_allocation.cpp

    r113 r114  
    141141
    142142    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    143     _param_queue = new morpheo::behavioural::generic::queue::Parameters
    144       (_param->_size_queue,
    145        _param->_size_internal_queue,
    146        _param->_nb_bypass_write,
    147        false,
    148        false
    149        );
    150 
    151     std::string queue_name = _name + "_queue";
    152     _component_queue = new morpheo::behavioural::generic::queue::Queue
    153       (queue_name.c_str()
     143#ifdef VHDL
     144     if (usage_is_set(_usage,USE_VHDL))
     145       {
     146         _param_queue = new morpheo::behavioural::generic::queue::Parameters
     147           (_param->_size_queue,
     148            _param->_size_internal_queue,
     149            _param->_nb_bypass_write,
     150            false,
     151            false
     152            );
     153         
     154         std::string queue_name = _name + "_queue";
     155         _component_queue = new morpheo::behavioural::generic::queue::Queue
     156           (queue_name.c_str()
    154157#ifdef STATISTICS
    155        ,NULL
     158            ,NULL
    156159#endif
    157        ,_param_queue
    158        ,USE_VHDL);
    159    
    160     _component->set_component(_component_queue->_component
     160            ,_param_queue
     161            ,USE_VHDL);
     162         
     163         _component->set_component(_component_queue->_component
    161164#ifdef POSITION
    162                               , 50, 50, 50, 50
     165                                   , 50, 50, 50, 50
    163166#endif
    164                               , INSTANCE_LIBRARY
    165                               );
     167                                   , INSTANCE_LIBRARY
     168                                   );
     169       }
     170#endif
    166171
    167172#ifdef POSITION
Note: See TracChangeset for help on using the changeset viewer.