1 | |
---|
2 | # -*- python -*- |
---|
3 | |
---|
4 | Module('caba:vci_ethernet_tsar', |
---|
5 | classname = 'soclib::caba::VciEthernet', |
---|
6 | tmpl_parameters = [ |
---|
7 | parameter.Module('vci_param', default = 'caba:vci_param'), |
---|
8 | ], |
---|
9 | header_files = ['../source/include/vci_ethernet.h', |
---|
10 | ], |
---|
11 | interface_files = [ |
---|
12 | '../../include/soclib/ethernet.h' |
---|
13 | ], |
---|
14 | implementation_files = ['../source/src/vci_ethernet.cpp',], |
---|
15 | ports = [ |
---|
16 | Port('caba:vci_target', 'p_vci_target'), |
---|
17 | Port('caba:vci_initiator', 'p_vci_initiator'), |
---|
18 | Port('caba:bit_out', 'p_irq'), |
---|
19 | Port('caba:bit_in', 'p_resetn', auto = 'resetn'), |
---|
20 | Port('caba:clock_in', 'p_clk', auto = 'clock'), |
---|
21 | ], |
---|
22 | uses = [ |
---|
23 | Uses('caba:base_module'), |
---|
24 | Uses('caba:vci_target_fsm', default_target = 'true', support_llsc = 'false'), |
---|
25 | Uses('caba:vci_initiator_simple_read_req'), |
---|
26 | Uses('caba:vci_initiator_simple_write_req'), |
---|
27 | Uses('caba:vci_initiator_fsm'), |
---|
28 | ], |
---|
29 | instance_parameters = [ |
---|
30 | parameter.Module('mt', typename = 'common:mapping_table'), |
---|
31 | parameter.IntTab('srcid'), |
---|
32 | parameter.IntTab('tgtid'), |
---|
33 | parameter.String('filename'), |
---|
34 | ], |
---|
35 | ) |
---|