Changeset 378 for trunk/platforms
- Timestamp:
- Apr 18, 2013, 3:33:14 PM (12 years ago)
- Location:
- trunk/platforms/tsar_generic_xbar
- Files:
-
- 4 deleted
- 4 edited
- 5 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_xbar/Makefile
r344 r378 1 2 1 simul.x: top.cpp top.desc 3 2 soclib-cc -P -p top.desc -I. -o simul.x … … 6 5 soclib-cc -x -p top.desc -I. 7 6 rm -rf *.o *.x tty* 8 -
trunk/platforms/tsar_generic_xbar/soclib.conf
r351 r378 1 1 config.default.toolchain.set("cflags", config.default.toolchain.cflags + ['-DI_WANT_ILLEGAL_VCI']) 2 2 3 #config.addDescPath("/path/to/tsar/trunk/lib/") 4 #config.addDescPath("/path/to/tsar/trunk/modules/") 5 #config.addDescPath("/path/to/tsar/branches/v5/modules/") 6 #config.addDescPath("/path/to/tsar/branches/v5/communication/") 3 config.addDescPath("/dsk/l1/misc/joannou/tsar/trunk/") -
trunk/platforms/tsar_generic_xbar/top.cpp
r370 r378 84 84 #include "gdbserver.h" 85 85 #include "mapping_table.h" 86 #include "tsar v5_cluster_mmu.h"86 #include "tsar_xbar_cluster.h" 87 87 #include "alloc_elems.h" 88 88 … … 538 538 //////////////////////////// 539 539 540 Tsar V5ClusterMmu<vci_param, proc_iss, cmd_width, rsp_width>* clusters[CLUSTER_X][CLUSTER_Y];540 TsarXbarCluster<vci_param, proc_iss, cmd_width, rsp_width>* clusters[CLUSTER_X][CLUSTER_Y]; 541 541 542 542 #if USE_OPENMP … … 556 556 std::ostringstream sc; 557 557 sc << "cluster_" << x << "_" << y; 558 clusters[x][y] = new Tsar V5ClusterMmu<vci_param, proc_iss, cmd_width, rsp_width>558 clusters[x][y] = new TsarXbarCluster<vci_param, proc_iss, cmd_width, rsp_width> 559 559 ( 560 560 sc.str().c_str(), -
trunk/platforms/tsar_generic_xbar/top.desc
r344 r378 4 4 todo = Platform('caba', 'top.cpp', 5 5 uses = [ 6 Uses('caba:tsar v5_cluster_mmu',6 Uses('caba:tsar_xbar_cluster', 7 7 iss_t = 'common:gdb_iss', 8 8 gdb_iss_t = 'common:mips32el', 9 9 cmd_width = 40, 10 10 rsp_width = 33), 11 Uses('common:elf_file_loader'),11 Uses('common:elf_file_loader'), 12 12 Uses('common:plain_file_loader'), 13 13 ], -
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.