Changeset 378 for trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster
- Timestamp:
- Apr 18, 2013, 3:33:14 PM (12 years ago)
- Location:
- trunk/platforms/tsar_generic_xbar
- Files:
-
- 3 deleted
- 5 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/metadata/tsar_xbar_cluster.sd
r371 r378 2 2 # -*- python -*- 3 3 4 Module('caba:tsar v5_cluster_mmu',5 classname = 'soclib::caba::Tsar V5ClusterMmu',4 Module('caba:tsar_xbar_cluster', 5 classname = 'soclib::caba::TsarXbarCluster', 6 6 tmpl_parameters = [ 7 7 parameter.Module('vci_param', default = 'caba:vci_param'), … … 10 10 parameter.Int('rsp_width'), 11 11 ], 12 header_files = [ '../source/include/tsar v5_cluster_mmu.h', ],13 implementation_files = [ '../source/src/tsar v5_cluster_mmu.cpp', ],12 header_files = [ '../source/include/tsar_xbar_cluster.h', ], 13 implementation_files = [ '../source/src/tsar_xbar_cluster.cpp', ], 14 14 uses = [ 15 15 Uses('caba:base_module'), … … 36 36 Uses('caba:virtual_dspin_router', 37 37 flit_width = parameter.Reference('rsp_width')), 38 Uses('caba:vci_vdspin_target_wrapper',39 dspin_cmd_width = parameter.Reference('cmd_width'),40 dspin_rsp_width = parameter.Reference('rsp_width')),41 Uses('caba:vci_vdspin_initiator_wrapper',42 dspin_cmd_width = parameter.Reference('cmd_width'),43 dspin_rsp_width = parameter.Reference('rsp_width')),44 38 Uses('caba:vci_multi_tty'), 45 39 Uses('caba:vci_framebuffer'), 46 40 Uses('caba:vci_multi_nic'), 47 Uses('caba:vci_block_device_tsar _v4'),41 Uses('caba:vci_block_device_tsar'), 48 42 Uses('caba:vci_multi_dma'), 49 43 Uses('common:elf_file_loader'), -
trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/include/tsar_xbar_cluster.h
r371 r378 1 1 ////////////////////////////////////////////////////////////////////////////// 2 // File: tsar v5_cluster_mmu.h2 // File: tsar_xbar_cluster_mmu.h 3 3 // Author: Alain Greiner 4 4 // Copyright: UPMC/LIP6 … … 7 7 ////////////////////////////////////////////////////////////////////////////// 8 8 9 #ifndef SOCLIB_CABA_TSAR_ CLUSTER_V5_MMU_H10 #define SOCLIB_CABA_TSAR_ CLUSTER_V5_MMU_H9 #ifndef SOCLIB_CABA_TSAR_XBAR_CLUSTER_H 10 #define SOCLIB_CABA_TSAR_XBAR_CLUSTER_H 11 11 12 12 #include <systemc> … … 28 28 #include "vci_multi_tty.h" 29 29 #include "vci_multi_nic.h" 30 #include "vci_block_device_tsar _v4.h"30 #include "vci_block_device_tsar.h" 31 31 #include "vci_framebuffer.h" 32 32 #include "vci_multi_dma.h" … … 38 38 /////////////////////////////////////////////////////////////////////////// 39 39 template<typename vci_param, typename iss_t, int cmd_width, int rsp_width> 40 class Tsar V5ClusterMmu40 class TsarXbarCluster 41 41 /////////////////////////////////////////////////////////////////////////// 42 42 : public soclib::caba::BaseModule … … 150 150 VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>* wt_mnic; 151 151 152 VciBlockDeviceTsar V4<vci_param>*bdev;152 VciBlockDeviceTsar<vci_param>* bdev; 153 153 VciDspinInitiatorWrapper<vci_param,cmd_width,rsp_width>* wi_bdev; 154 154 VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>* wt_bdev; … … 162 162 VirtualDspinRouter<rsp_width>* router_rsp; 163 163 164 Tsar V5ClusterMmu(sc_module_name insname,164 TsarXbarCluster( sc_module_name insname, 165 165 size_t nb_procs, // number of processors 166 166 size_t nb_ttys, // number of TTY terminals … … 204 204 bool proc_debug_ok); 205 205 206 ~Tsar V5ClusterMmu();206 ~TsarXbarCluster(); 207 207 }; 208 208 }} -
trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/src/tsar_xbar_cluster.cpp
r371 r378 1 1 ////////////////////////////////////////////////////////////////////////////// 2 // File: tsar v5_cluster_mmu.c2 // File: tsar_xbar_cluster.cpp 3 3 // Author: Alain Greiner 4 4 // Copyright: UPMC/LIP6 … … 24 24 ////////////////////////////////////////////////////////////////////////////////// 25 25 26 #include "../include/tsar v5_cluster_mmu.h"26 #include "../include/tsar_xbar_cluster.h" 27 27 28 28 namespace soclib { … … 33 33 ////////////////////////////////////////////////////////////////////////// 34 34 template<typename vci_param, typename iss_t, int cmd_width, int rsp_width> 35 Tsar V5ClusterMmu<vci_param, iss_t, cmd_width, rsp_width>::TsarV5ClusterMmu(35 TsarXbarCluster<vci_param, iss_t, cmd_width, rsp_width>::TsarXbarCluster( 36 36 sc_module_name insname, 37 37 size_t nb_procs, … … 343 343 std::cout << " - building bdev" << std::endl; 344 344 345 bdev = new VciBlockDeviceTsar V4<vci_param>(345 bdev = new VciBlockDeviceTsar<vci_param>( 346 346 "bdev", 347 347 mtd, … … 712 712 /////////////////////////////////////////////////////////////////////////// 713 713 template<typename vci_param, typename iss_t, int cmd_width, int rsp_width> 714 Tsar V5ClusterMmu<vci_param, iss_t, cmd_width, rsp_width>::~TsarV5ClusterMmu() {}714 TsarXbarCluster<vci_param, iss_t, cmd_width, rsp_width>::~TsarXbarCluster() {} 715 715 716 716 }
Note: See TracChangeset
for help on using the changeset viewer.