Changeset 437
- Timestamp:
- Jul 12, 2013, 12:49:42 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/metadata/tsar_xbar_cluster.sd
r428 r437 2 2 # -*- python -*- 3 3 4 Module('caba:tsar_xbar_cluster', 4 Module('caba:tsar_xbar_cluster', 5 5 classname = 'soclib::caba::TsarXbarCluster', 6 tmpl_parameters = [ 7 parameter.Int('dspin_cmd_width'), 8 parameter.Int('dspin_rsp_width'), 9 parameter.Module('vci_param_int', default = 'caba:vci_param', 10 cell_size = parameter.Reference('vci_data_width_int')), 11 parameter.Module('vci_param_ext', default = 'caba:vci_param', 12 cell_size = parameter.Reference('vci_data_width_ext')), 13 ], 6 14 7 tmpl_parameters = [ 8 parameter.Int('dspin_cmd_width'), 9 parameter.Int('dspin_rsp_width'), 10 parameter.Module('vci_param_int'), 11 parameter.Module('vci_param_ext', 12 cell_size = parameter.Reference('cell_size_ext') 13 ), 14 ], 15 header_files = [ '../source/include/tsar_xbar_cluster.h', 16 ], 15 17 16 header_files = [ '../source/include/tsar_xbar_cluster.h', ], 18 implementation_files = [ '../source/src/tsar_xbar_cluster.cpp', 19 ], 17 20 18 implementation_files = [ '../source/src/tsar_xbar_cluster.cpp', ], 21 uses = [ 22 Uses('caba:base_module'), 23 Uses('common:mapping_table'), 24 Uses('common:iss2'), 25 26 Uses('caba:vci_cc_vcache_wrapper', 27 cell_size = parameter.Reference('vci_data_width_int'), 28 dspin_in_width = parameter.Reference('dspin_cmd_width'), 29 dspin_out_width = parameter.Reference('dspin_rsp_width'), 30 iss_t = 'common:gdb_iss', 31 gdb_iss_t = 'common:mips32el'), 19 32 20 uses = [ 21 Uses('caba:base_module'), 22 Uses('common:mapping_table'), 23 Uses('common:iss2'), 33 Uses('caba:vci_mem_cache', 34 memc_cell_size_int = parameter.Reference('vci_data_width_int'), 35 memc_cell_size_ext = parameter.Reference('vci_data_width_ext'), 36 dspin_in_width = parameter.Reference('dspin_rsp_width'), 37 dspin_out_width = parameter.Reference('dspin_cmd_width')), 24 38 25 Uses('caba:vci_cc_vcache_wrapper', 26 vci_param = parameter.Reference('vci_param_int'), 27 dspin_in_width = parameter.Reference('dspin_cmd_width'), 28 dspin_out_width = parameter.Reference('dspin_rsp_width'), 29 iss_t = 'common:gdb_iss', 30 gdb_iss_t = 'common:mips32el' 31 ), 32 Uses('caba:vci_simple_ram', 33 vci_param = parameter.Reference('vci_param_int') 34 ), 35 Uses('caba:vci_simple_ram', 36 vci_param = parameter.Reference('vci_param_ext'), 37 cell_size = parameter.Reference('cell_size_ext'), 38 ), 39 Uses('caba:vci_simple_rom', 40 cell_size = parameter.Reference('vci_data_width_int')), 41 42 Uses('caba:vci_simple_ram', 43 cell_size = parameter.Reference('vci_data_width_ext')), 44 39 45 Uses('caba:vci_xicu', 40 vci_param = parameter.Reference('vci_param_int')41 ), 42 Uses('caba:dspin_local_crossbar', 43 flit_width = parameter.Reference('dspin_cmd_width')44 ), 45 Uses('caba:dspin_local_crossbar', 46 flit_width = parameter.Reference('dspin_rsp_width')47 ), 48 Uses('caba:virtual_dspin_router', 49 flit_width = parameter.Reference('dspin_cmd_width')50 ), 51 Uses('caba:virtual_dspin_router', 52 flit_width = parameter.Reference('dspin_rsp_width')53 ),46 cell_size = parameter.Reference('vci_data_width_int')), 47 48 Uses('caba:dspin_local_crossbar', 49 flit_width = parameter.Reference('dspin_cmd_width')), 50 51 Uses('caba:dspin_local_crossbar', 52 flit_width = parameter.Reference('dspin_rsp_width')), 53 54 Uses('caba:virtual_dspin_router', 55 flit_width = parameter.Reference('dspin_cmd_width')), 56 57 Uses('caba:virtual_dspin_router', 58 flit_width = parameter.Reference('dspin_rsp_width')), 59 54 60 Uses('caba:vci_multi_tty', 55 vci_param = parameter.Reference('vci_param_int')56 ), 61 cell_size = parameter.Reference('vci_data_width_int')), 62 57 63 Uses('caba:vci_framebuffer', 58 vci_param = parameter.Reference('vci_param_int')59 ), 64 cell_size = parameter.Reference('vci_data_width_int')), 65 60 66 Uses('caba:vci_multi_nic', 61 vci_param = parameter.Reference('vci_param_int')62 ), 63 64 vci_param = parameter.Reference('vci_param_int')65 ), 66 67 vci_param = parameter.Reference('vci_param_int')68 ), 67 cell_size = parameter.Reference('vci_data_width_int')), 68 69 Uses('caba:vci_block_device_tsar', 70 cell_size = parameter.Reference('vci_data_width_int')), 71 72 Uses('caba:vci_multi_dma', 73 cell_size = parameter.Reference('vci_data_width_int')), 74 69 75 Uses('caba:vci_dspin_target_wrapper', 70 vci_param = parameter.Reference('vci_param_int')71 ), 76 cell_size = parameter.Reference('vci_data_width_int')), 77 72 78 Uses('caba:vci_dspin_initiator_wrapper', 73 vci_param = parameter.Reference('vci_param_int') 74 ), 75 Uses('caba:vci_mem_cache', 76 dspin_in_width = parameter.Reference('dspin_rsp_width'), 77 dspin_out_width = parameter.Reference('dspin_cmd_width'), 78 memc_cell_size_int = parameter.Reference('cell_size'), 79 memc_cell_size_ext = parameter.Reference('cell_size_ext') 80 ), 79 cell_size = parameter.Reference('vci_data_width_int')), 81 80 82 83 81 Uses('common:elf_file_loader'), 82 ], 84 83 85 ports = [ 86 Port('caba:bit_in', 'p_resetn', auto = 'resetn'), 87 Port('caba:clock_in', 'p_clk', auto = 'clock'), 88 89 Port('caba:dspin_output', 'p_cmd_out', [2, 4], 90 dspin_data_size = parameter.Reference('dspin_cmd_width') 91 ), 92 Port('caba:dspin_input', 'p_cmd_in', [2, 4], 93 dspin_data_size = parameter.Reference('dspin_cmd_width') 94 ), 95 Port('caba:dspin_output', 'p_rsp_out', [2, 4], 96 dspin_data_size = parameter.Reference('dspin_rsp_width') 97 ), 98 Port('caba:dspin_input', 'p_rsp_in', [2, 4], 99 dspin_data_size = parameter.Reference('dspin_rsp_width') 100 ), 101 ], 84 ports = [ 85 Port('caba:bit_in', 'p_resetn', auto = 'resetn'), 86 Port('caba:clock_in', 'p_clk', auto = 'clock'), 87 Port('caba:dspin_output', 'p_cmd_out', [2, 4], 88 dspin_data_size = parameter.Reference('dspin_cmd_width')), 89 Port('caba:dspin_input', 'p_cmd_in', [2, 4], 90 dspin_data_size = parameter.Reference('dspin_cmd_width')), 91 Port('caba:dspin_output', 'p_rsp_out', [2, 4], 92 dspin_data_size = parameter.Reference('dspin_rsp_width')), 93 Port('caba:dspin_input', 'p_rsp_in', [2, 4], 94 dspin_data_size = parameter.Reference('dspin_rsp_width')), 95 ], 102 96 ) 103 97 98
Note: See TracChangeset
for help on using the changeset viewer.