- Timestamp:
- Apr 17, 2013, 5:26:45 PM (12 years ago)
- Location:
- branches/v5/platforms/tsarv5_generic_mmu
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v5/platforms/tsarv5_generic_mmu/top.cpp
r351 r370 134 134 //////////////////////i///////////////////////////////////// 135 135 136 #include " hard_config.h"136 #include "giet_vm/hard_config.h" 137 137 138 138 //////////////////////////////////////////////////////////// … … 173 173 #define MAX_FROZEN_CYCLES 10000 174 174 175 #define TRACE_MEMC_ID 1000000176 #define TRACE_PROC_ID 1000000175 #define TRACE_MEMC_ID 0 176 #define TRACE_PROC_ID 0 177 177 178 178 ///////////////////////////////////////////////////////// … … 569 569 x_width, 570 570 y_width, 571 4, // l_id width,571 srcid_width - x_width - y_width, // l_id width, 572 572 MEMC_TGTID, 573 573 XICU_TGTID, … … 731 731 std::cout << "****************** cycle " << std::dec << n ; 732 732 std::cout << " ************************************************" << std::endl; 733 733 /* 734 clusters[0][0]->proc[0]->print_trace(); 735 clusters[0][0]->signal_vci_ini_proc[0].print_trace("DIRECT proc_0_0_0 vci_ini"); 736 clusters[0][0]->signal_dspin_cmd_proc_i[0].print_trace("DIRECT cmd_out_proc_0_0_0"); 737 clusters[0][0]->signal_dspin_rsp_proc_i[0].print_trace("DIRECT rsp_in_proc_0_0_0"); 738 clusters[0][0]->signal_dspin_p2m_proc[0].print_trace("COHERENCE p2m_proc_0_0_0"); 739 clusters[0][0]->signal_dspin_m2p_proc[0].print_trace("COHERENCE m2p_proc_0_0_0"); 740 clusters[0][0]->memc->print_trace(); 741 clusters[0][0]->signal_vci_tgt_memc.print_trace("DIRECT memc_0_0_vci_tgt"); 742 clusters[0][0]->signal_dspin_cmd_memc_t.print_trace("DIRECT cmd_memc_0_0"); 743 clusters[0][0]->signal_dspin_rsp_memc_t.print_trace("DIRECT rsp_memc_0_0"); 744 clusters[0][0]->signal_dspin_p2m_memc.print_trace("COHERENCE p2m_memc_0_0"); 745 clusters[0][0]->signal_dspin_m2p_memc.print_trace("COHERENCE m2p_memc_0_0"); 746 clusters[0][0]->signal_vci_tgt_brom.print_trace("DIRECT brom vci_tgt_0_0"); 747 clusters[0][0]->signal_dspin_cmd_brom_t.print_trace("DIRECT cmd_in_brom_0_0"); 748 clusters[0][0]->signal_dspin_rsp_brom_t.print_trace("DIRECT rsp_out_brom_0_0"); 749 750 clusters[0][1]->proc[0]->print_trace(); 751 clusters[0][1]->signal_vci_ini_proc[0].print_trace("DIRECT proc_0_1_0 vci_ini"); 752 clusters[0][1]->signal_dspin_cmd_proc_i[0].print_trace("DIRECT cmd_out_proc_0_1_0"); 753 clusters[0][1]->signal_dspin_rsp_proc_i[0].print_trace("DIRECT rsp_in_proc_0_1_0"); 754 clusters[0][1]->signal_dspin_p2m_proc[0].print_trace("COHERENCE p2m_proc_0_1_0"); 755 clusters[0][1]->signal_dspin_m2p_proc[0].print_trace("COHERENCE m2p_proc_0_1_0"); 756 clusters[0][1]->memc->print_trace(); 757 clusters[0][1]->signal_vci_tgt_memc.print_trace("DIRECT memc_0_1_vci_tgt"); 758 clusters[0][1]->signal_dspin_cmd_memc_t.print_trace("DIRECT cmd_memc_0_1"); 759 clusters[0][1]->signal_dspin_rsp_memc_t.print_trace("DIRECT rsp_memc_0_1"); 760 clusters[0][1]->signal_dspin_p2m_memc.print_trace("COHERENCE p2m_memc_0_1"); 761 clusters[0][1]->signal_dspin_m2p_memc.print_trace("COHERENCE m2p_memc_0_1"); 762 clusters[0][1]->signal_vci_tgt_brom.print_trace("DIRECT brom vci_tgt_0_1"); 763 clusters[0][1]->signal_dspin_cmd_brom_t.print_trace("DIRECT cmd_in_brom_0_1"); 764 clusters[0][1]->signal_dspin_rsp_brom_t.print_trace("DIRECT rsp_out_brom_0_1"); 765 766 clusters[1][0]->proc[0]->print_trace(); 767 clusters[1][0]->signal_vci_ini_proc[0].print_trace("DIRECT proc_1_0_0 vci_ini"); 768 clusters[1][0]->signal_dspin_cmd_proc_i[0].print_trace("DIRECT cmd_out_proc_1_0_0"); 769 clusters[1][0]->signal_dspin_rsp_proc_i[0].print_trace("DIRECT rsp_in_proc_1_0_0"); 770 clusters[1][0]->signal_dspin_p2m_proc[0].print_trace("COHERENCE p2m_proc_1_0_0"); 771 clusters[1][0]->signal_dspin_m2p_proc[0].print_trace("COHERENCE m2p_proc_1_0_0"); 772 clusters[1][0]->memc->print_trace(); 773 clusters[1][0]->signal_vci_tgt_memc.print_trace("DIRECT memc_1_0_vci_tgt"); 774 clusters[1][0]->signal_dspin_cmd_memc_t.print_trace("DIRECT cmd_memc_1_0"); 775 clusters[1][0]->signal_dspin_rsp_memc_t.print_trace("DIRECT rsp_memc_1_0"); 776 clusters[1][0]->signal_dspin_p2m_memc.print_trace("COHERENCE p2m_memc_1_0"); 777 clusters[1][0]->signal_dspin_m2p_memc.print_trace("COHERENCE m2p_memc_1_0"); 778 clusters[1][0]->signal_vci_tgt_brom.print_trace("DIRECT brom vci_tgt_1_0"); 779 clusters[1][0]->signal_dspin_cmd_brom_t.print_trace("DIRECT cmd_in_brom_1_0"); 780 clusters[1][0]->signal_dspin_rsp_brom_t.print_trace("DIRECT rsp_out_brom_1_0"); 781 782 clusters[1][1]->proc[0]->print_trace(); 783 clusters[1][1]->signal_vci_ini_proc[0].print_trace("DIRECT proc_1_1_0 vci_ini"); 784 clusters[1][1]->signal_dspin_cmd_proc_i[0].print_trace("DIRECT cmd_out_proc_1_1_0"); 785 clusters[1][1]->signal_dspin_rsp_proc_i[0].print_trace("DIRECT rsp_in_proc_1_1_0"); 786 clusters[1][1]->signal_dspin_p2m_proc[0].print_trace("COHERENCE p2m_proc_1_1_0"); 787 clusters[1][1]->signal_dspin_m2p_proc[0].print_trace("COHERENCE m2p_proc_1_1_0"); 788 clusters[1][1]->memc->print_trace(); 789 clusters[1][1]->signal_vci_tgt_memc.print_trace("DIRECT memc_1_1_vci_tgt"); 790 clusters[1][1]->signal_dspin_cmd_memc_t.print_trace("DIRECT cmd_memc_1_1"); 791 clusters[1][1]->signal_dspin_rsp_memc_t.print_trace("DIRECT rsp_memc_1_1"); 792 clusters[1][1]->signal_dspin_p2m_memc.print_trace("COHERENCE p2m_memc_1_1"); 793 clusters[1][1]->signal_dspin_m2p_memc.print_trace("COHERENCE m2p_memc_1_1"); 794 clusters[1][1]->signal_vci_tgt_brom.print_trace("DIRECT brom vci_tgt_1_1"); 795 clusters[1][1]->signal_dspin_cmd_brom_t.print_trace("DIRECT cmd_in_brom_1_1"); 796 clusters[1][1]->signal_dspin_rsp_brom_t.print_trace("DIRECT rsp_out_brom_1_1"); 797 */ 798 /* 734 799 // trace proc[debug_proc_id] 735 800 if ( debug_proc_id < (CLUSTER_X * CLUSTER_Y * NB_PROCS_MAX) ) … … 751 816 clusters[memc_x][memc_y]->signal_vci_tgt_memc.print_trace("memc"); 752 817 } 753 818 */ 754 819 // clusters[0][0]->signal_vci_tgt_xicu.print_trace("xicu_0_0"); 755 820 // clusters[0][1]->signal_vci_tgt_xicu.print_trace("xicu_0_1"); -
branches/v5/platforms/tsarv5_generic_mmu/tsarv5_cluster_mmu/caba/source/src/tsarv5_cluster_mmu.cpp
r363 r370 124 124 125 125 std::ostringstream swip; 126 swip << "wi_proc_" << x_id << "_" << y_id ;126 swip << "wi_proc_" << x_id << "_" << y_id << p; 127 127 wi_proc[p] = new VciDspinInitiatorWrapper<vci_param,cmd_width,rsp_width>( 128 128 swip.str().c_str(), … … 284 284 mtd, // mapping table 285 285 x_id, y_id, // cluster coordinates 286 x_width, y_width, l_width,286 x_width, y_width, 0, // l_width unused on the network going from proc to memc (only X and Y identifie the cluster) 287 287 nb_procs, // number of local sources 288 288 1, // number of local dests
Note: See TracChangeset
for help on using the changeset viewer.