Changes between Initial Version and Version 1 of Component/VciI2c Interface


Ignore:
Timestamp:
Feb 25, 2010, 4:31:24 PM (14 years ago)
Author:
alassir@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Component/VciI2c Interface

    v1 v1  
     1[wiki:Component SocLib Components General Index]
     2
     3= VciI2cInterface =
     4
     5== 1) Functional Description ==
     6This VCI target is an I2C controller. This hardware component saves in its FIFO all requests then handles them to be transmitted via I2C bus successively. The slave’s address is defined by a base address (I2C controller address on VCI bus) and a size (number of slaves). The I2C controller send an interruption to the processor to inform that data collected from I2C bus is ready. The segments allocated to a given instance of this component are defined in the [wiki:Component/MappingTable Mapping Table].
     7
     8== 2) Component definition & usage ==
     9
     10source:trunk/soclib/soclib/module/internal_component/vci_i2c/caba/metadata/vci_i2c.sd
     11
     12See [wiki:SoclibCc/VciParameters SoclibCc/VciParameters]
     13{{{
     14Uses( 'vci_i2c', **vci_parameters )
     15}}}
     16
     17== 3) CABA Implementation ==
     18 
     19=== CABA sources ===
     20
     21 * interface : [[BR]]
     22   source:trunk/soclib/soclib/module/internal_component/vci_i2c/caba/source/include/vci_i2c_interface.h
     23   source:trunk/soclib/soclib/module/internal_component/vci_i2c/caba/source/include/i2c_control.h
     24   source:trunk/soclib/soclib/module/internal_component/vci_i2c/caba/source/include/i2c_genrator.h
     25   source:trunk/soclib/soclib/module/internal_component/vci_i2c/caba/source/include/i2c_lib.h
     26
     27 * implementation : [[BR]]
     28   source:trunk/soclib/soclib/module/internal_component/vci_i2c/caba/source/include/vci_i2c_interface.cpp
     29   source:trunk/soclib/soclib/module/internal_component/vci_i2c/caba/source/include/i2c_control.cpp
     30   source:trunk/soclib/soclib/module/internal_component/vci_i2c/caba/source/include/i2c_genrator.cpp
     31
     32
     33=== CABA Constructor parameters ===
     34
     35 * VciI2cInterface
     36{{{
     37VciI2cInterface(
     38        sc_module_name insname,                 // Component Name
     39        const soclib::common::IntTab & index,   // Target Index
     40        const soclib::common::MappingTable &mt, // Mapping Table
     41        int PW);                                // Pulse’s Width (SCL)
     42}}}
     43
     44== CABA Ports ==
     45
     46 * sc_in<bool>  '''p_resetn''' : System reset
     47 * sc_in<bool>  '''p_clk'''    : System clock
     48 * sc_out<bool> '''p_irq'''    : Interrupts port
     49 * sc_out<bool> '''p_full'''   : FIFO is full
     50
     51 * sc_in<bool>  '''p_sdai'''   : Serial Data in
     52 * sc_in<bool>  '''p_scli'''   : Serial Clock in
     53 * sc_out<bool> '''p_sdao'''   : Serial Data out
     54 * sc_out<bool> '''p_sclo'''   : Serial Clock out
     55
     56 * soclib::caba::!VciTarget<vci_param> '''p_vci''' : The VCI port
     57
     58= 4) TLM-T Implementation =
     59  The TLM-T implementation is not available.