source: branches/fault_tolerance/modules/sdmmc/caba/metadata/sdmmc.sd @ 724

Last change on this file since 724 was 724, checked in by cfuguet, 10 years ago

branches/fault_tolerance:

  • Recreating fault_tolerance branch with all new modifications from trunk.
  • Introducing distributed boot rom in the tsar_generic_iob platform
File size: 707 bytes
Line 
1
2# -*- python -*-
3
4Module('caba:sdmmc',
5        classname = 'soclib::caba::SdMMC',
6
7        header_files = [
8            '../source/include/sdmmc.h', 
9        ],
10
11        implementation_files = [
12            '../source/src/sdmmc.cpp',
13        ],
14
15        ports = [
16                    Port('caba:bit_in', 'p_spi_clk'),
17                    Port('caba:bit_in', 'p_spi_ss'),
18                    Port('caba:bit_in', 'p_spi_mosi'),
19                    Port('caba:bit_out', 'p_spi_miso'),
20                    Port('caba:bit_in',   'p_resetn', auto = 'resetn'),
21                    Port('caba:clock_in', 'p_clk', auto = 'clock'), 
22                ],
23
24        uses = [
25                    Uses('caba:base_module'),
26                ],
27
28        instance_parameters = [
29                parameter.String('filename'),
30                parameter.Int('latency'),
31        ],
32
33)
Note: See TracBrowser for help on using the repository browser.