source: trunk/modules/vci_tty_tsar/caba/metadata/vci_tty_tsar.sd @ 1064

Last change on this file since 1064 was 1054, checked in by alain, 7 years ago

Introduce the "vci_tty_tsar" component, that has two maskable interrups
(TX_IRQ and RX_IRQ) per channel.

File size: 1.1 KB
Line 
1
2# -*- python -*-
3
4
5Module('caba:vci_tty_tsar',
6    classname = 'soclib::caba::VciTtyTsar',
7
8    tmpl_parameters = [
9            parameter.Module('vci_param',  default = 'caba:vci_param'),
10        ],
11           
12    header_files = [
13        '../source/include/vci_tty_tsar.h',
14    ],
15   
16    interface_files = [
17        '../../include/soclib/tty.h'
18    ],
19
20    implementation_files = [
21        '../source/src/vci_tty_tsar.cpp',
22    ],
23
24    ports = [
25            Port('caba:vci_target', 'p_vci'),
26            Port('caba:bit_in',     'p_resetn', auto = 'resetn'),
27            Port('caba:bit_out',    'p_tx_irq', parameter.Reference('names', 'len')),
28            Port('caba:bit_out',    'p_rx_irq', parameter.Reference('names', 'len')),
29            Port('caba:clock_in',   'p_clk', auto = 'clock'),
30        ],
31
32    uses = [
33            Uses('caba:base_module'),
34            Uses('common:process_wrapper'),
35            Uses('common:tty_wrapper') ,
36            Uses('caba:vci_target_fsm', default_target = 'true', support_llsc = 'false'),
37        ],
38
39        instance_parameters = [
40                parameter.IntTab('ident'),
41        parameter.Module('mt', typename = 'common:mapping_table'),
42        parameter.StringArray('names'),
43        ],
44)
Note: See TracBrowser for help on using the repository browser.