Ignore:
Timestamp:
Jul 8, 2009, 8:40:08 PM (15 years ago)
Author:
rosiere
Message:

1) add constant method
2) test with systemc 2.2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic.cpp

    r123 r131  
    5656    if (usage_is_set(_usage,USE_SYSTEMC))
    5757      {
     58
     59# ifdef SYSTEMCASS_SPECIFIC
     60        constant();
     61#else
     62        SC_METHOD (constant);
     63//      dont_initialize ();
     64#endif
     65
    5866        SC_METHOD (transition);
    5967        dont_initialize ();
    6068        sensitive << (*(in_CLOCK)).pos();
    61        
     69
    6270        SC_METHOD (genMealy_read);
    6371        dont_initialize ();
     
    93101          }
    94102# endif   
    95        
    96         for (uint32_t i=0; i<_param->_nb_port_read       ; i++)
    97           PORT_WRITE(out_READ_ACK        [i], 1);
    98         for (uint32_t i=0; i<_param->_nb_port_write      ; i++)
    99           PORT_WRITE(out_WRITE_ACK       [i], 1);
    100         for (uint32_t i=0; i<_param->_nb_port_read_write ; i++)
    101           PORT_WRITE(out_READ_WRITE_ACK  [i], 1);
    102103      }
    103104#endif
Note: See TracChangeset for help on using the changeset viewer.