Last change
on this file since 1038 was
878,
checked in by cfuguet, 10 years ago
|
reconf: introduce the vci_tsar_config component
- This component provides for now the functionality to reconfigure the
dspin_router. It has a p_blackhole_pos port which should be bound to
port of the same name in the dspin_router.
|
File size:
943 bytes
|
Rev | Line | |
---|
[878] | 1 | |
---|
| 2 | # -*- python -*- |
---|
| 3 | |
---|
| 4 | Module('caba:reconf:vci_tsar_config', |
---|
| 5 | classname = 'soclib::caba::VciTsarConfig', |
---|
| 6 | |
---|
| 7 | tmpl_parameters = [ |
---|
| 8 | parameter.Module('vci_param', default = 'caba:vci_param'), |
---|
| 9 | ], |
---|
| 10 | |
---|
| 11 | header_files = [ |
---|
| 12 | '../source/include/vci_tsar_config.h', |
---|
| 13 | ], |
---|
| 14 | |
---|
| 15 | interface_files = [ |
---|
| 16 | '../../include/soclib/tsar_config.h' |
---|
| 17 | ], |
---|
| 18 | |
---|
| 19 | implementation_files = [ |
---|
| 20 | '../source/src/vci_tsar_config.cpp', |
---|
| 21 | ], |
---|
| 22 | |
---|
| 23 | ports = [ |
---|
| 24 | Port('caba:bit_in', 'p_resetn', auto = 'resetn'), |
---|
| 25 | Port('caba:clock_in', 'p_clk', auto = 'clock'), |
---|
| 26 | Port('caba:word_in', 'p_blackhole_pos', word_t = int), |
---|
| 27 | Port('caba:vci_target', 'p_vci') |
---|
| 28 | ], |
---|
| 29 | |
---|
| 30 | uses = [ |
---|
| 31 | Uses('caba:base_module'), |
---|
| 32 | Uses('common:mapping_table') |
---|
| 33 | ], |
---|
| 34 | |
---|
| 35 | instance_parameters = [ |
---|
| 36 | parameter.IntTab('index'), |
---|
| 37 | parameter.Module('mt', typename = 'common:mapping_table'), |
---|
| 38 | ], |
---|
| 39 | ) |
---|
| 40 | |
---|
| 41 | # vim: ts=4 : sts=4 : sw=4 : et |
---|
Note: See
TracBrowser
for help on using the repository browser.