Ignore:
Timestamp:
Jun 6, 2013, 9:44:33 PM (12 years ago)
Author:
alain
Message:

Updating the tsar_generic_sbar platform to comply with the new DSPIN format (explicit EOP).

Location:
trunk/platforms/tsar_generic_xbar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_xbar/top.cpp

    r402 r404  
    118118///////////////////////////////////////////////////////////
    119119
    120 #define dspin_cmd_width      40
    121 #define dspin_rsp_width      33
     120#define dspin_cmd_width      39
     121#define dspin_rsp_width      32
    122122
    123123///////////////////////////////////////////////////////////
     
    772772            std::ostringstream m2p_signame;
    773773            m2p_signame << "[SIG]PROC_" << x << "_" << y << "_" << l << " M2P" ;
     774            std::ostringstream cmd_signame;
     775            cmd_signame << "[SIG]PROC_" << x << "_" << y << "_" << l << " CMD" ;
     776            std::ostringstream rsp_signame;
     777            rsp_signame << "[SIG]PROC_" << x << "_" << y << "_" << l << " RSP" ;
    774778
    775779            clusters[x][y]->proc[l]->print_trace();
     780            clusters[x][y]->wi_proc[l]->print_trace();
    776781            clusters[x][y]->signal_vci_ini_proc[l].print_trace(vci_signame.str());
    777782            clusters[x][y]->signal_dspin_p2m_proc[l].print_trace(p2m_signame.str());
    778783            clusters[x][y]->signal_dspin_m2p_proc[l].print_trace(m2p_signame.str());
     784            clusters[x][y]->signal_dspin_cmd_proc_i[l].print_trace(cmd_signame.str());
     785            clusters[x][y]->signal_dspin_rsp_proc_i[l].print_trace(rsp_signame.str());
     786
     787            clusters[x][y]->xbar_rsp_d->print_trace();
     788            clusters[x][y]->xbar_cmd_d->print_trace();
     789            clusters[x][y]->signal_dspin_cmd_l2g_d.print_trace("[SIG]L2G CMD");
     790            clusters[x][y]->signal_dspin_cmd_g2l_d.print_trace("[SIG]G2L CMD");
     791            clusters[x][y]->signal_dspin_rsp_l2g_d.print_trace("[SIG]L2G RSP");
     792            clusters[x][y]->signal_dspin_rsp_g2l_d.print_trace("[SIG]G2L RSP");
    779793        }
     794
    780795        // trace memc[debug_memc_id]
    781796        if ( debug_memc_id < (CLUSTER_X * CLUSTER_Y) )
     
    792807            std::ostringstream sp2m;
    793808            sp2m << "[SIG]MEMC_" << x << "_" << y << " P2M" ;
     809            std::ostringstream cmd_signame;
     810            cmd_signame << "[SIG]MEMC_" << x << "_" << y <<  " CMD" ;
     811            std::ostringstream rsp_signame;
     812            rsp_signame << "[SIG]MEMC_" << x << "_" << y <<  " RSP" ;
    794813
    795814            clusters[x][y]->memc->print_trace();
    796             clusters[x][y]->xram->print_trace();
     815            clusters[x][y]->wt_memc->print_trace();
    797816            clusters[x][y]->signal_vci_tgt_memc.print_trace(smemc.str());
    798817            clusters[x][y]->signal_vci_xram.print_trace(sxram.str());
    799818            clusters[x][y]->signal_dspin_p2m_memc.print_trace(sp2m.str());
    800819            clusters[x][y]->signal_dspin_m2p_memc.print_trace(sm2p.str());
     820            clusters[x][y]->signal_dspin_cmd_memc_t.print_trace(cmd_signame.str());
     821            clusters[x][y]->signal_dspin_rsp_memc_t.print_trace(rsp_signame.str());
    801822        }
    802823       
    803824        // trace replicated peripherals
    804         clusters[1][1]->mdma->print_trace();
    805         clusters[1][1]->signal_vci_tgt_mdma.print_trace("[SIG]MDMA_TGT_1_1");
    806         clusters[1][1]->signal_vci_ini_mdma.print_trace("[SIG]MDMA_INI_1_1");
     825//        clusters[1][1]->mdma->print_trace();
     826//        clusters[1][1]->signal_vci_tgt_mdma.print_trace("[SIG]MDMA_TGT_1_1");
     827//        clusters[1][1]->signal_vci_ini_mdma.print_trace("[SIG]MDMA_INI_1_1");
    807828       
    808829
     
    811832        size_t io_y   = cluster_io_id % CLUSTER_Y;
    812833       
    813 //        clusters[io_x][io_y]->brom->print_trace();
    814 //        clusters[io_x][io_y]->signal_vci_tgt_brom.print_trace("/SIG/BROM");
    815 //        clusters[io_x][io_y]->signal_vci_tgt_mtty.print_trace("VCI signal TTY");
    816 
    817         clusters[io_x][io_y]->bdev->print_trace();
    818         clusters[io_x][io_y]->signal_vci_tgt_bdev.print_trace("[SIG]BDEV_TGT");
    819         clusters[io_x][io_y]->signal_vci_ini_bdev.print_trace("[SIG]BDEV_INI");
     834        clusters[io_x][io_y]->brom->print_trace();
     835        clusters[io_x][io_y]->wt_brom->print_trace();
     836        clusters[io_x][io_y]->signal_vci_tgt_brom.print_trace("[SIG]BROM");
     837        clusters[io_x][io_y]->signal_dspin_cmd_brom_t.print_trace("[SIG]BROM CMD");
     838        clusters[io_x][io_y]->signal_dspin_rsp_brom_t.print_trace("[SIG]BROM RSP");
     839
     840//        clusters[io_x][io_y]->bdev->print_trace();
     841//        clusters[io_x][io_y]->signal_vci_tgt_bdev.print_trace("[SIG]BDEV_TGT");
     842//        clusters[io_x][io_y]->signal_vci_ini_bdev.print_trace("[SIG]BDEV_INI");
    820843      }
    821844
  • trunk/platforms/tsar_generic_xbar/top.desc

    r396 r404  
    2727
    2828# DSPIN network parameters values
    29 dspin_cmd_flit_size     = 40
    30 dspin_rsp_flit_size     = 33
     29dspin_cmd_flit_size     = 39
     30dspin_rsp_flit_size     = 32
    3131
    3232todo = Platform('caba', 'top.cpp',
Note: See TracChangeset for help on using the changeset viewer.