Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (15 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/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/src/Ifetch_unit_Glue.cpp

    r85 r88  
    3838    log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin");
    3939
     40#if DEBUG_Ifetch_unit_Glue == true
     41    log_printf(INFO,Ifetch_unit_Glue,FUNCTION,_("<%s> Parameters"),_name.c_str());
     42
     43    std::cout << *param << std::endl;
     44#endif   
     45
    4046    log_printf(INFO,Ifetch_unit_Glue,FUNCTION,"Allocation");
    4147
     
    4753
    4854#ifdef STATISTICS
    49     if (_usage & USE_STATISTICS)
     55    if (usage_is_set(_usage,USE_STATISTICS))
    5056      {
    5157        log_printf(INFO,Ifetch_unit_Glue,FUNCTION,"Allocation of statistics");
     
    5662
    5763#ifdef VHDL
    58     if (_usage & USE_VHDL)
     64    if (usage_is_set(_usage,USE_VHDL))
    5965      {
    6066        // generate the vhdl
     
    6672
    6773#ifdef SYSTEMC
    68     PORT_WRITE(out_ICACHE_REQ_TYPE,ICACHE_TYPE_LOAD);
     74    if (usage_is_set(_usage,USE_SYSTEMC))
     75      {
     76        // Write constant
     77        PORT_WRITE(out_ICACHE_REQ_TYPE,ICACHE_TYPE_LOAD);
    6978
    70     if (_usage & USE_SYSTEMC)
    71       {
    7279# if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    7380        log_printf(INFO,Ifetch_unit_Glue,FUNCTION,"Method - transition");
     
    140147
    141148#ifdef STATISTICS
    142     if (_usage & USE_STATISTICS)
     149    if (usage_is_set(_usage,USE_STATISTICS)) 
    143150      {
    144151        statistics_deallocation();
Note: See TracChangeset for help on using the changeset viewer.