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

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed.cpp

    r81 r88  
    22 * $Id$
    33 *
    4  * [ Description ]
     4 * [ Description ]
    55 *
    66 */
     
    3333    log_printf(FUNC,Select_Priority_Fixed,"Select_Priority_Fixed","Begin");
    3434
     35#if DEBUG_Select_Priority_Fixed == true
     36    log_printf(INFO,Select_Priority_Fixed,FUNCTION,_("<%s> Parameters"),_name.c_str());
     37
     38    std::cout << *param << std::endl;
     39#endif   
     40
    3541    log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Allocation");
    3642    allocation ();
    3743
    3844#ifdef STATISTICS
    39     if (_usage & USE_STATISTICS)
     45    if (usage_is_set(_usage,USE_STATISTICS))
    4046      {
    4147        log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Allocation of statistics");
     
    4652
    4753#ifdef VHDL
    48     // generate the vhdl
    49     log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Generate the vhdl");
    50 
    51     vhdl();
     54    if (usage_is_set(_usage,USE_VHDL)
     55      {
     56        // generate the vhdl
     57        log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Generate the vhdl");
     58       
     59        vhdl();
     60      }
    5261#endif
    5362
    5463#ifdef SYSTEMC
    55     if (_usage & USE_SYSTEMC)
    56       {
     64      if (usage_is_set(_usage,USE_SYSTEMC))
     65        {
    5766#  if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    5867        log_printf(INFO,Select_Priority_Fixed,"Select_Priority_Fixed","Method - transition");
     
    96105
    97106#ifdef STATISTICS
    98     if (_usage & USE_STATISTICS)
     107    if (usage_is_set(_usage,USE_STATISTICS))
    99108      {
    100109        log_printf(INFO,Select_Priority_Fixed,"~Select_Priority_Fixed","Generate Statistics file");
     
    104113#endif
    105114
    106 #ifdef SYSTEMC
    107115    log_printf(INFO,Select_Priority_Fixed,"~Select_Priority_Fixed","Deallocation");
    108 
    109116    deallocation ();
    110 #endif
    111117
    112118    log_printf(FUNC,Select_Priority_Fixed,"~Select_Priority_Fixed","End");
Note: See TracChangeset for help on using the changeset viewer.