[880] | 1 | |
---|
| 2 | # -*- python -*- |
---|
| 3 | |
---|
| 4 | __id__ = "$Id$" |
---|
| 5 | __version__ = "$Revision$" |
---|
| 6 | |
---|
[881] | 7 | Module('caba:reconf:vci_xicu', |
---|
[880] | 8 | classname = 'soclib::caba::VciXicu', |
---|
| 9 | tmpl_parameters = [ |
---|
| 10 | parameter.Module('vci_param', default = 'caba:vci_param'), |
---|
| 11 | ], |
---|
| 12 | header_files = ['../source/include/vci_xicu.h', |
---|
| 13 | ], |
---|
| 14 | interface_files = [ |
---|
| 15 | '../../include/soclib/xicu.h', |
---|
| 16 | ], |
---|
| 17 | implementation_files = ['../source/src/vci_xicu.cpp',], |
---|
| 18 | ports = [ |
---|
| 19 | Port('caba:clock_in', 'p_clk', auto = 'clock'), |
---|
| 20 | Port('caba:bit_in', 'p_resetn', auto = 'resetn'), |
---|
| 21 | Port('caba:vci_target', 'p_vci'), |
---|
| 22 | Port('caba:bit_in', 'p_hwi', parameter.Reference('hwi_count')), |
---|
| 23 | Port('caba:bit_out', 'p_irq', parameter.Reference('irq_count')), |
---|
| 24 | ], |
---|
| 25 | uses = [ |
---|
| 26 | Uses('caba:base_module'), |
---|
| 27 | Uses('caba:vci_target_fsm', default_target = 'true', support_llsc = 'false'), |
---|
| 28 | ], |
---|
| 29 | instance_parameters = [ |
---|
| 30 | parameter.Module('mt', 'common:mapping_table'), |
---|
| 31 | parameter.IntTab('index'), |
---|
| 32 | parameter.Int('pti_count'), |
---|
| 33 | parameter.Int('hwi_count'), |
---|
| 34 | parameter.Int('wti_count'), |
---|
| 35 | parameter.Int('irq_count'), |
---|
| 36 | ], |
---|
| 37 | extensions = [ |
---|
| 38 | 'dsx:addressable=index', |
---|
| 39 | 'dsx:max_segments=1', |
---|
| 40 | 'dsx:get_ident=index:p_vci:mt', |
---|
| 41 | 'dsx:device=xicu', |
---|
| 42 | ], |
---|
| 43 | ) |
---|