source: branches/reconfiguration/modules/vci_mem_cache/caba/test/memcache_cc_test/top.desc @ 872

Last change on this file since 872 was 872, checked in by cfuguet, 9 years ago

reconf: adding test platform for the vci_mem_cache test mechanisms

  • The goal is to test the recently introduced test mechanisms of the coherence network in the VciMemCache?.
File size: 1.4 KB
RevLine 
[872]1# -*- python -*-
2
3# VCI parameters
4vci_cell_size_int   = 4
5vci_cell_size_ext   = 8
6
7vci_plen_size       = 8
8vci_addr_size       = 40
9vci_rerror_size     = 1
10vci_clen_size       = 1
11vci_rflag_size      = 1
12vci_srcid_size      = 14
13vci_pktid_size      = 4
14vci_trdid_size      = 4
15vci_wrplen_size     = 1
16
17# internal DSPIN network parameters
18int_dspin_cmd_flit_size = 39
19int_dspin_rsp_flit_size = 32
20
21# external DSPIN network parameters
22ram_dspin_cmd_flit_size = 64
23ram_dspin_rsp_flit_size = 64
24
25todo = Platform(
26    'caba', 'top.cpp',
27    uses = [
28        Uses('caba:reconf:vci_mem_cache',
29             memc_cell_size_int=vci_cell_size_int,
30             memc_cell_size_ext=vci_cell_size_ext,
31             memc_dspin_in_width=int_dspin_rsp_flit_size,
32             memc_dspin_out_width=int_dspin_cmd_flit_size),
33
34        Uses('caba:reconf:dspin_memcache_cc_test',
35             M2P_WIDTH=int_dspin_cmd_flit_size,
36             P2M_WIDTH=int_dspin_rsp_flit_size)
37    ],
38
39    # default VCI parameters (global variables)
40    cell_size   = vci_cell_size_int,
41    plen_size   = vci_plen_size,
42    addr_size   = vci_addr_size,
43    rerror_size = vci_rerror_size,
44    clen_size   = vci_clen_size,
45    rflag_size  = vci_rflag_size,
46    srcid_size  = vci_srcid_size,
47    pktid_size  = vci_pktid_size,
48    trdid_size  = vci_trdid_size,
49    wrplen_size = vci_wrplen_size)
50
Note: See TracBrowser for help on using the repository browser.