1 | |
---|
2 | # -*- python -*- |
---|
3 | |
---|
4 | __id__ = "$Id: vci_mem_cache_v2s.sd 20 2010-04-14 03:27:59Z nipo $" |
---|
5 | __version__ = "$Revision: 20 $" |
---|
6 | |
---|
7 | Module('caba:vci_mem_cache_v2s', |
---|
8 | classname = 'soclib::caba::VciMemCacheV2S', |
---|
9 | tmpl_parameters = [parameter.Module('vci_param', default = 'caba:vci_param'),], |
---|
10 | header_files = ['../source/include/vci_mem_cache_v2s.h', |
---|
11 | '../source/include/xram_transaction_v2.h', |
---|
12 | '../source/include/mem_cache_directory_v2.h', |
---|
13 | '../source/include/atomic_tab_v2.h', |
---|
14 | '../source/include/update_tab_v2.h',], |
---|
15 | implementation_files = ['../source/src/vci_mem_cache_v2s.cpp',], |
---|
16 | uses = [Uses('caba:base_module'), |
---|
17 | Uses('common:loader'), |
---|
18 | Uses('common:mapping_table'), |
---|
19 | Uses('caba:generic_fifo'), |
---|
20 | ], |
---|
21 | ports = [Port('caba:vci_target', 'p_vci_tgt'), |
---|
22 | Port('caba:vci_target','p_vci_tgt_cleanup'), |
---|
23 | Port('caba:vci_initiator','p_vci_ini'), |
---|
24 | Port('caba:vci_initiator','p_vci_ixr'), |
---|
25 | Port('caba:bit_in', 'p_resetn', auto = 'resetn'), |
---|
26 | Port('caba:clock_in', 'p_clk', auto = 'clock'),], |
---|
27 | instance_parameters = [ |
---|
28 | parameter.Module('mtp', 'common:mapping_table'), |
---|
29 | parameter.Module('mtc', 'common:mapping_table'), |
---|
30 | parameter.Module('mtx', 'common:mapping_table'), |
---|
31 | parameter.IntTab('vci_ixr_index'), |
---|
32 | parameter.IntTab('vci_ini_index'), |
---|
33 | parameter.IntTab('vci_tgt_index'), |
---|
34 | parameter.IntTab('vci_tgt_index_cleanup'), |
---|
35 | parameter.Int('nways'), |
---|
36 | parameter.Int('nsets'), |
---|
37 | parameter.Int('nwords'), |
---|
38 | ], |
---|
39 | extensions = [ |
---|
40 | 'dsx:get_ident=' |
---|
41 | 'vci_ini_index:p_vci_ini:mtc,' |
---|
42 | 'vci_tgt_index_cleanup:p_vci_tgt_cleanup:mtc,' |
---|
43 | 'vci_tgt_index:p_vci_tgt:mtp,' |
---|
44 | 'vci_ixr_index:p_vci_ixr:mtx', |
---|
45 | 'dsx:addressable=vci_tgt_index,vci_tgt_index_cleanup', |
---|
46 | ], |
---|
47 | ) |
---|