Ignore:
Timestamp:
Apr 4, 2013, 2:36:54 PM (11 years ago)
Author:
joannou
Message:

Got rid of intermediate v5 version. _dspin_coherence versions changed to main version for v5. Changed components names and platforms to fit the new names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/platforms/tsarv5_generic_mmu/tsarv5_cluster_mmu/caba/source/src/tsarv5_cluster_mmu.cpp

    r345 r351  
    126126        swip << "wi_proc_" << x_id << "_" << y_id;
    127127        wi_proc[p] = new VciDspinInitiatorWrapper<vci_param,cmd_width,rsp_width>(
    128                      swip.str().c_str() );
     128                     swip.str().c_str(),
     129                     x_width + y_width );
    129130    }
    130131
     
    152153    swtm << "wt_memc_" << x_id << "_" << y_id;
    153154    wt_memc = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>(
    154                      swtm.str().c_str() );
     155                     swtm.str().c_str(),
     156                     x_width + y_width );
    155157
    156158    /////////////////////////////////////////////////////////////////////////////
     
    169171    swtx << "wt_xram_" << x_id << "_" << y_id;
    170172    wt_xram = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>(
    171                      swtx.str().c_str() );
     173                     swtx.str().c_str(),
     174                     x_width + y_width );
    172175
    173176    /////////////////////////////////////////////////////////////////////////////
     
    188191    swtu << "wt_xicu_" << x_id << "_" << y_id;
    189192    wt_xicu = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>(
    190                      swtu.str().c_str() );
     193                     swtu.str().c_str(),
     194                     x_width + y_width );
    191195
    192196    /////////////////////////////////////////////////////////////////////////////
     
    206210    swta << "wt_mdma_" << x_id << "_" << y_id;
    207211    wt_mdma = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>(
    208                      swtu.str().c_str() );
     212                     swtu.str().c_str(),
     213                     x_width + y_width );
    209214
    210215    std::ostringstream swia;
    211216    swia << "wi_mdma_" << x_id << "_" << y_id;
    212217    wi_mdma = new VciDspinInitiatorWrapper<vci_param,cmd_width,rsp_width>(
    213                      swtu.str().c_str() );
     218                     swtu.str().c_str(),
     219                     x_width + y_width );
    214220
    215221    /////////////////////////////////////////////////////////////////////////////
     
    319325                        loader);
    320326
    321         wt_brom = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_brom");
     327        wt_brom = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_brom",
     328                     x_width + y_width );
    322329
    323330        /////////////////////////////////////////////
     
    330337                        xfb, yfb);
    331338
    332         wt_fbuf = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_fbuf");
     339        wt_fbuf = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_fbuf",
     340                     x_width + y_width );
    333341
    334342        /////////////////////////////////////////////
     
    344352                        64);            // burst size
    345353
    346         wt_bdev = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_bdev");
    347         wi_bdev = new VciDspinInitiatorWrapper<vci_param,cmd_width,rsp_width>("wi_bdev");
     354        wt_bdev = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_bdev",
     355                     x_width + y_width );
     356        wi_bdev = new VciDspinInitiatorWrapper<vci_param,cmd_width,rsp_width>("wi_bdev",
     357                     x_width + y_width );
    348358
    349359        /////////////////////////////////////////////
     
    360370                        0 );           // mac_2 address
    361371
    362         wt_mnic = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_mnic");
     372        wt_mnic = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_mnic",
     373                     x_width + y_width );
    363374
    364375        /////////////////////////////////////////////
     
    378389                        vect_names);
    379390
    380         wt_mtty = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_mtty");
     391        wt_mtty = new VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>("wt_mtty",
     392                     x_width + y_width );
    381393
    382394    }
Note: See TracChangeset for help on using the changeset viewer.