Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Parameters.cpp

    r81 r88  
    5555  };
    5656
     57#undef  FUNCTION
     58#define FUNCTION "Sort::copy"
     59  void Parameters::copy (void)
     60  {
     61    log_printf(FUNC,Sort,FUNCTION,"Begin");
     62    log_printf(FUNC,Sort,FUNCTION,"End");
     63  };
     64
    5765}; // end namespace sort
    5866}; // end namespace generic
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort.cpp

    r81 r88  
    3535    log_printf(FUNC,Sort,FUNCTION,"Begin");
    3636
     37#if DEBUG_Sort == true
     38    log_printf(INFO,Sort,FUNCTION,_("<%s> Parameters"),_name.c_str());
     39
     40    std::cout << *param << std::endl;
     41#endif   
     42
    3743    log_printf(INFO,Sort,FUNCTION,"Allocation");
    3844
     
    4450
    4551#ifdef STATISTICS
    46     if (_usage & USE_STATISTICS)
     52    if (usage_is_set(_usage,USE_STATISTICS))
    4753      {
    4854        log_printf(INFO,Sort,FUNCTION,"Allocation of statistics");
     
    5359
    5460#ifdef VHDL
    55     if (_usage & USE_VHDL)
     61    if (usage_is_set(_usage,USE_VHDL))
    5662      {
    5763        // generate the vhdl
     
    6369
    6470#ifdef SYSTEMC
    65     if (_usage & USE_SYSTEMC)
     71    if (usage_is_set(_usage,USE_SYSTEMC))
    6672      {
    6773        log_printf(INFO,Sort,FUNCTION,"Method - transition");
     
    117123
    118124#ifdef STATISTICS
    119     if (_usage & USE_STATISTICS)
     125    if (usage_is_set(_usage,USE_STATISTICS))
    120126      {
    121127        statistics_deallocation();
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_allocation.cpp

    r81 r88  
    1313namespace generic {
    1414namespace sort {
    15 
    16 
    1715
    1816#undef  FUNCTION
     
    7573
    7674#ifdef POSITION
    77     _component->generate_file();
     75    if (usage_is_set(_usage,USE_POSTION))
     76      _component->generate_file();
    7877#endif
    7978
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_deallocation.cpp

    r81 r88  
    2020    log_printf(FUNC,Sort,FUNCTION,"Begin");
    2121
    22     if (_usage & USE_SYSTEMC)
     22    if (usage_is_set(_usage,USE_SYSTEMC))
    2323      {
    2424        delete     in_CLOCK ;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_end_cycle.cpp

    r81 r88  
    2222
    2323#ifdef STATISTICS
    24     _stat->end_cycle();
     24    if (usage_is_set(_usage,USE_STATISTICS))
     25      _stat->end_cycle();
    2526#endif   
    2627
     
    2829    // Evaluation before read the ouput signal
    2930//  sc_start(0);
    30     _interfaces->testbench();
     31    if (usage_is_set(_usage,USE_VHDL_TESTBENCH))
     32      _interfaces->testbench();
    3133#endif
    3234
Note: See TracChangeset for help on using the changeset viewer.