1 | |
---|
2 | # -*- python -*- |
---|
3 | |
---|
4 | __id__ = "$Id: vci_block_device_tsar.sd 2 2010-03-26 18:02:36Z nipo $" |
---|
5 | __version__ = "$Revision: 2 $" |
---|
6 | |
---|
7 | Module('caba:vci_block_device_tsar', |
---|
8 | classname = 'soclib::caba::VciBlockDeviceTsar', |
---|
9 | tmpl_parameters = [ |
---|
10 | parameter.Module('vci_param', default = 'caba:vci_param'), |
---|
11 | ], |
---|
12 | header_files = ['../source/include/vci_block_device_tsar.h', |
---|
13 | ], |
---|
14 | interface_files = [ |
---|
15 | '../../include/soclib/block_device_tsar.h' |
---|
16 | ], |
---|
17 | implementation_files = ['../source/src/vci_block_device_tsar.cpp',], |
---|
18 | ports = [ |
---|
19 | Port('caba:vci_target', 'p_vci_target'), |
---|
20 | Port('caba:vci_initiator', 'p_vci_initiator'), |
---|
21 | Port('caba:bit_out', 'p_irq'), |
---|
22 | Port('caba:bit_in', 'p_resetn', auto = 'resetn'), |
---|
23 | Port('caba:clock_in', 'p_clk', auto = 'clock'), |
---|
24 | ], |
---|
25 | uses = [ |
---|
26 | Uses('caba:base_module'), |
---|
27 | Uses('caba:vci_target_fsm', default_target = 'true', support_llsc = 'false'), |
---|
28 | Uses('caba:vci_initiator_simple_read_req'), |
---|
29 | Uses('caba:vci_initiator_simple_write_req'), |
---|
30 | Uses('caba:vci_initiator_fsm'), |
---|
31 | ], |
---|
32 | instance_parameters = [ |
---|
33 | parameter.Module('mt', typename = 'common:mapping_table', auto = 'env:mapping_table'), |
---|
34 | parameter.IntTab('srcid'), |
---|
35 | parameter.IntTab('tgtid'), |
---|
36 | parameter.String('filename'), |
---|
37 | ], |
---|
38 | extensions = [ |
---|
39 | 'dsx:addressable=tgtid', |
---|
40 | 'dsx:max_segments=1', |
---|
41 | 'dsx:get_ident=tgtid:p_vci_target,srcid:p_vci_initiator', |
---|
42 | ], |
---|
43 | ) |
---|