Changeset 152 for trunk


Ignore:
Timestamp:
May 5, 2011, 6:10:14 PM (14 years ago)
Author:
kane
Message:

Re add vci_cc_xcache_wrapper_v4 "multi-cache" edition and (1) fix error (2) add direction MWBUF_VHDL_TESTBENCH to generate a testbench for the multi_write_buffer VHDL model.

Location:
trunk
Files:
9 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/caba-ring-ccxcachev4_memcachev4-mips32el/platform_desc

    r137 r152  
    55todo = Platform('caba', 'top.cpp',
    66        uses = [
    7         Uses('caba:vci_cc_xcache_wrapper_v4', iss_t = 'common:gdb_iss', gdb_iss_t = 'common:mips32el'),
     7        Uses('caba:vci_cc_xcache_wrapper_v4_cmp', iss_t = 'common:gdb_iss', gdb_iss_t = 'common:mips32el'),
    88        Uses('caba:vci_simple_ram'),
    99        Uses('caba:vci_simhelper'),
  • trunk/platforms/caba-ring-ccxcachev4_memcachev4-mips32el/top.cpp

    r143 r152  
    1616#include "vci_simple_ring_fast.h"
    1717#include "vci_mem_cache_v4.h"
    18 #include "vci_cc_xcache_wrapper_v4.h"
     18#include "vci_cc_xcache_wrapper_v4_cmp.h"
    1919#include "alloc_elems.h"
    2020
     
    279279        soclib::common::GdbServer<soclib::common::Mips32ElIss>::set_loader(loader);
    280280
    281         soclib::caba::VciCcXCacheWrapperV4<vci_param, proc_iss > * proc [nb_proc];
     281        soclib::caba::VciCcXCacheWrapperV4_CMP<vci_param, proc_iss > * proc [nb_proc];
    282282        for (uint32_t i=0; i<nb_proc; ++i)
    283283          {
     
    287287            str << "proc_" << num_cpu;
    288288
    289             proc[i] = new soclib::caba::VciCcXCacheWrapperV4<vci_param, proc_iss > (str.str().c_str(), num_cpu, maptabp, maptabc, IntTab(i),IntTab(i),IntTab(i)
     289            proc[i] = new soclib::caba::VciCcXCacheWrapperV4_CMP<vci_param, proc_iss > (str.str().c_str(), num_cpu, maptabp, maptabc, IntTab(i),IntTab(i),IntTab(i)
    290290#if USE_OLD_XCACHE
    291291                                                                                    ,iways, isets, iwords
Note: See TracChangeset for help on using the changeset viewer.