[2] | 1 | |
---|
| 2 | # -*- python -*- |
---|
| 3 | |
---|
| 4 | __id__ = "$Id: vci_mem_cache_v4.sd 291 2013-01-28 12:59:32Z joannou $" |
---|
| 5 | __version__ = "$Revision: 291 $" |
---|
| 6 | |
---|
| 7 | Module('caba:vci_mem_cache_v4', |
---|
[273] | 8 | classname = 'soclib::caba::VciMemCacheV4', |
---|
| 9 | |
---|
| 10 | tmpl_parameters = [ parameter.Module('vci_param', default = 'caba:vci_param') ], |
---|
| 11 | |
---|
| 12 | header_files = [ |
---|
| 13 | '../source/include/vci_mem_cache_v4.h', |
---|
| 14 | '../source/include/xram_transaction_v4.h', |
---|
| 15 | '../source/include/mem_cache_directory_v4.h', |
---|
| 16 | '../source/include/update_tab_v4.h' |
---|
| 17 | ], |
---|
| 18 | |
---|
| 19 | implementation_files = [ '../source/src/vci_mem_cache_v4.cpp' ], |
---|
| 20 | |
---|
| 21 | uses = [ |
---|
| 22 | Uses('caba:base_module'), |
---|
| 23 | Uses('common:loader'), |
---|
| 24 | Uses('common:mapping_table'), |
---|
| 25 | Uses('caba:generic_fifo'), |
---|
[291] | 26 | Uses('caba:generic_llsc_global_table'), |
---|
[273] | 27 | ], |
---|
| 28 | |
---|
| 29 | ports = [ |
---|
| 30 | Port( 'caba:vci_target' , 'p_vci_tgt' ), |
---|
| 31 | Port( 'caba:vci_target' , 'p_vci_tgt_cleanup' ), |
---|
| 32 | Port( 'caba:vci_initiator', 'p_vci_ini' ), |
---|
| 33 | Port( 'caba:vci_initiator', 'p_vci_ixr' ), |
---|
| 34 | Port( 'caba:bit_in' , 'p_resetn' , auto = 'resetn' ), |
---|
| 35 | Port( 'caba:clock_in' , 'p_clk' , auto = 'clock' ), |
---|
| 36 | ], |
---|
| 37 | |
---|
| 38 | instance_parameters = [ |
---|
| 39 | parameter.Module( 'mtp', 'common:mapping_table' ), |
---|
| 40 | parameter.Module( 'mtc', 'common:mapping_table' ), |
---|
| 41 | parameter.Module( 'mtx', 'common:mapping_table' ), |
---|
| 42 | parameter.IntTab( 'vci_ixr_index' ), |
---|
| 43 | parameter.IntTab( 'vci_ini_index' ), |
---|
| 44 | parameter.IntTab( 'vci_tgt_index' ), |
---|
| 45 | parameter.IntTab( 'vci_tgt_index_cleanup '), |
---|
| 46 | parameter.Int ( 'nways' ), |
---|
| 47 | parameter.Int ( 'nsets' ), |
---|
| 48 | parameter.Int ( 'nwords' ), |
---|
| 49 | parameter.Int ( 'heap_size' ), |
---|
| 50 | ], |
---|
| 51 | |
---|
| 52 | extensions = [ |
---|
| 53 | 'dsx:get_ident=' |
---|
| 54 | 'vci_ini_index:p_vci_ini:mtc,' |
---|
| 55 | 'vci_tgt_index_cleanup:p_vci_tgt_cleanup:mtc,' |
---|
| 56 | 'vci_tgt_index:p_vci_tgt:mtp,' |
---|
| 57 | 'vci_ixr_index:p_vci_ixr:mtx', |
---|
| 58 | 'dsx:addressable=vci_tgt_index,vci_tgt_index_cleanup', |
---|
| 59 | ], |
---|
[2] | 60 | ) |
---|