Ignore:
Timestamp:
Apr 18, 2013, 3:33:14 PM (11 years ago)
Author:
joannou
Message:

Introducing tsar_generic_xbar platform

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  
    22# -*- python -*-
    33
    4 Module('caba:tsarv5_cluster_mmu',
    5         classname = 'soclib::caba::TsarV5ClusterMmu',
     4Module('caba:tsar_xbar_cluster',
     5        classname = 'soclib::caba::TsarXbarCluster',
    66        tmpl_parameters = [
    77                parameter.Module('vci_param', default = 'caba:vci_param'),
     
    1010                parameter.Int('rsp_width'),
    1111                ],
    12         header_files = [ '../source/include/tsarv5_cluster_mmu.h', ],
    13         implementation_files = [ '../source/src/tsarv5_cluster_mmu.cpp', ],
     12        header_files = [ '../source/include/tsar_xbar_cluster.h', ],
     13        implementation_files = [ '../source/src/tsar_xbar_cluster.cpp', ],
    1414        uses = [
    1515                Uses('caba:base_module'),
     
    3636        Uses('caba:virtual_dspin_router',
    3737                     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')),
    4438                Uses('caba:vci_multi_tty'),
    4539                Uses('caba:vci_framebuffer'),
    4640                Uses('caba:vci_multi_nic'),
    47                 Uses('caba:vci_block_device_tsar_v4'),
     41                Uses('caba:vci_block_device_tsar'),
    4842                Uses('caba:vci_multi_dma'),
    4943                Uses('common:elf_file_loader'),
  • trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/include/tsar_xbar_cluster.h

    r371 r378  
    11//////////////////////////////////////////////////////////////////////////////
    2 // File: tsarv5_cluster_mmu.h
     2// File: tsar_xbar_cluster_mmu.h
    33// Author: Alain Greiner
    44// Copyright: UPMC/LIP6
     
    77//////////////////////////////////////////////////////////////////////////////
    88
    9 #ifndef SOCLIB_CABA_TSAR_CLUSTER_V5_MMU_H
    10 #define SOCLIB_CABA_TSAR_CLUSTER_V5_MMU_H
     9#ifndef SOCLIB_CABA_TSAR_XBAR_CLUSTER_H
     10#define SOCLIB_CABA_TSAR_XBAR_CLUSTER_H
    1111
    1212#include <systemc>
     
    2828#include "vci_multi_tty.h"
    2929#include "vci_multi_nic.h"
    30 #include "vci_block_device_tsar_v4.h"
     30#include "vci_block_device_tsar.h"
    3131#include "vci_framebuffer.h"
    3232#include "vci_multi_dma.h"
     
    3838///////////////////////////////////////////////////////////////////////////
    3939template<typename vci_param, typename iss_t, int cmd_width, int rsp_width>
    40 class TsarV5ClusterMmu
     40class TsarXbarCluster
    4141///////////////////////////////////////////////////////////////////////////
    4242    : public soclib::caba::BaseModule
     
    150150    VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>*       wt_mnic;
    151151
    152     VciBlockDeviceTsarV4<vci_param>*                            bdev;
     152    VciBlockDeviceTsar<vci_param>*                              bdev;
    153153    VciDspinInitiatorWrapper<vci_param,cmd_width,rsp_width>*    wi_bdev;
    154154    VciDspinTargetWrapper<vci_param,cmd_width,rsp_width>*       wt_bdev;
     
    162162    VirtualDspinRouter<rsp_width>*                              router_rsp;
    163163
    164         TsarV5ClusterMmu(sc_module_name                     insname,
     164        TsarXbarCluster( sc_module_name                     insname,
    165165                     size_t                             nb_procs,      // number of processors
    166166                     size_t                             nb_ttys,       // number of TTY terminals
     
    204204                     bool                               proc_debug_ok);
    205205
    206         ~TsarV5ClusterMmu();
     206        ~TsarXbarCluster();
    207207};
    208208}}
  • trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/src/tsar_xbar_cluster.cpp

    r371 r378  
    11//////////////////////////////////////////////////////////////////////////////
    2 // File: tsarv5_cluster_mmu.c
     2// File: tsar_xbar_cluster.cpp
    33// Author: Alain Greiner
    44// Copyright: UPMC/LIP6
     
    2424//////////////////////////////////////////////////////////////////////////////////
    2525
    26 #include "../include/tsarv5_cluster_mmu.h"
     26#include "../include/tsar_xbar_cluster.h"
    2727
    2828namespace soclib {
     
    3333//////////////////////////////////////////////////////////////////////////
    3434template<typename vci_param, typename iss_t, int cmd_width, int rsp_width>
    35 TsarV5ClusterMmu<vci_param, iss_t, cmd_width, rsp_width>::TsarV5ClusterMmu(
     35TsarXbarCluster<vci_param, iss_t, cmd_width, rsp_width>::TsarXbarCluster(
    3636         sc_module_name                     insname,
    3737         size_t                             nb_procs,
     
    343343        std::cout << "  - building bdev" << std::endl;
    344344
    345         bdev = new VciBlockDeviceTsarV4<vci_param>(
     345        bdev = new VciBlockDeviceTsar<vci_param>(
    346346                        "bdev",
    347347                        mtd,
     
    712712///////////////////////////////////////////////////////////////////////////
    713713template<typename vci_param, typename iss_t, int cmd_width, int rsp_width>
    714 TsarV5ClusterMmu<vci_param, iss_t, cmd_width, rsp_width>::~TsarV5ClusterMmu() {}
     714TsarXbarCluster<vci_param, iss_t, cmd_width, rsp_width>::~TsarXbarCluster() {}
    715715
    716716}
Note: See TracChangeset for help on using the changeset viewer.