Changeset 752 for trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster
- Timestamp:
- Jul 18, 2014, 11:38:54 AM (10 years ago)
- Location:
- trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/include/tsar_xbar_cluster.h
r706 r752 211 211 212 212 ~TsarXbarCluster(); 213 void trace(sc_trace_file * tf, const std::string & name); 213 214 214 215 }; -
trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/src/tsar_xbar_cluster.cpp
r706 r752 669 669 670 670 671 template<size_t dspin_cmd_width, 672 size_t dspin_rsp_width, 673 typename vci_param_int, 674 typename vci_param_ext> 675 void TsarXbarCluster<dspin_cmd_width, 676 dspin_rsp_width, 677 vci_param_int, 678 vci_param_ext>::trace(sc_core::sc_trace_file * tf, const std::string & name) { 679 680 #define __trace(x) sc_core::sc_trace(tf, x, name + "_" + #x) 681 __trace(signal_vci_l2g_d); 682 __trace(signal_vci_g2l_d); 683 __trace(signal_vci_tgt_memc); 684 __trace(signal_vci_tgt_xicu); 685 __trace(signal_vci_tgt_mdma); 686 __trace(signal_vci_ini_mdma); 687 688 for (size_t p = 0; p < n_procs; p++) { 689 std::ostringstream signame; 690 signame << "vci_ini_proc_" << p; 691 sc_core::sc_trace(tf, signal_vci_ini_proc[p], signame.str()); 692 } 693 __trace(signal_vci_tgt_mtty); 694 __trace(signal_vci_tgt_brom); 695 __trace(signal_vci_tgt_bdev); 696 __trace(signal_vci_tgt_fbuf); 697 __trace(signal_vci_tgt_simh); 698 __trace(signal_vci_ini_bdev); 699 __trace(signal_vci_tgt_memc); 700 __trace(signal_vci_xram); 701 #undef trace 702 703 } 704 705 706 707 671 708 }} 672 709 … … 680 717 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 681 718 682 683
Note: See TracChangeset
for help on using the changeset viewer.