Ignore:
Timestamp:
Jul 11, 2009, 6:39:35 PM (15 years ago)
Author:
rosiere
Message:

1) add constant method - compatibility with SystemC
2) add Script to test sensitive list
3) fix bug in sensitive list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/Environment/src/Environment_transition.cpp

    r128 r132  
    2525          for (int32_t j=param->icache_dedicated_nb_port [i]-1; j>=0; j--)
    2626            {
    27               _cout(ENVIRONMENT, "  * ICACHE_RSP [%d][%d]\n",i,j);
     27              _cout(ENVIRONMENT, "  * ICACHE_RSP [%d][%d] (%d - %d)\n",i,j,icache_rsp_val [i][j],ICACHE_RSP_ACK [i][j]->read());
    2828
    2929              if (icache_rsp_val [i][j] and ICACHE_RSP_ACK [i][j]->read())
    3030                {
    31                   _cout(ENVIRONMENT, "  * ICACHE_RSP [%d][%d] : Transaction accepted\n",i,j);
     31//                   _cout(ENVIRONMENT, "  * ICACHE_RSP [%d][%d] : Transaction accepted\n",i,j);
    3232                 
    3333                  uint32_t num = icache_rsp_num [i][j];
     
    4343          for (int32_t j=param->dcache_dedicated_nb_port [i]-1; j>=0; j--)
    4444            {
    45               _cout(ENVIRONMENT, "  * DCACHE_RSP [%d][%d]\n",i,j);
     45              _cout(ENVIRONMENT, "  * DCACHE_RSP [%d][%d] (%d - %d)\n",i,j,dcache_rsp_val [i][j],DCACHE_RSP_ACK [i][j]->read());
     46
    4647              if (dcache_rsp_val [i][j] and DCACHE_RSP_ACK [i][j]->read())
    4748                {
    48                   _cout(ENVIRONMENT, "  * DCACHE_RSP [%d][%d] : Transaction accepted\n",i,j);
     49//                   _cout(ENVIRONMENT, "  * DCACHE_RSP [%d][%d] : Transaction accepted\n",i,j);
    4950                 
    5051                  uint32_t num = dcache_rsp_num [i][j];
Note: See TracChangeset for help on using the changeset viewer.