[2] | 1 | |
---|
| 2 | # -*- python -*- |
---|
| 3 | |
---|
| 4 | __id__ = "$Id: vci_mem_cache_v1.sd 26 2010-04-20 17:33:49Z guthmull $" |
---|
| 5 | __version__ = "$Revision: 26 $" |
---|
| 6 | |
---|
| 7 | Module('caba:vci_mem_cache_v1', |
---|
| 8 | classname = 'soclib::caba::VciMemCacheV1', |
---|
| 9 | tmpl_parameters = [parameter.Module('vci_param', default = 'caba:vci_param'),], |
---|
| 10 | header_files = ['../source/include/vci_mem_cache_v1.h', |
---|
| 11 | '../source/include/xram_transaction_v1.h', |
---|
| 12 | '../source/include/mem_cache_directory_v1.h', |
---|
| 13 | '../source/include/atomic_tab_v1.h', |
---|
| 14 | '../source/include/update_tab_v1.h',], |
---|
| 15 | implementation_files = ['../source/src/vci_mem_cache_v1.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 = [ |
---|
[26] | 28 | parameter.Module('mtp'), |
---|
| 29 | parameter.Module('mtc'), |
---|
| 30 | parameter.Module('mtx'), |
---|
[2] | 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 | ], |
---|
[20] | 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', |
---|
[26] | 45 | 'dsx:addressable=vci_tgt_index,vci_tgt_index_cleanup', |
---|
[20] | 46 | ], |
---|
[2] | 47 | ) |
---|