Changes between Version 2 and Version 3 of Component/Vci Simple Ram


Ignore:
Timestamp:
Oct 3, 2009, 2:32:47 PM (15 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Component/Vci Simple Ram

    v2 v3  
    55== 1) Functional Description ==
    66
    7 This VCI target is an embedded SRAM controller. It is actually a simplified version of the !VciRam component,
    8 and provide the same services : it handles one or several
     7This VCI target is an embedded SRAM controller. It is actually a simplified version of the !VciRam component, and provide the same services : it handles one or several
    98independent memory segments. Each segment is defined by a base address and a size (number of bytes).
    109Both the base and the size parameters must be multiple of 4.
    11 The segments allocated to a given instance of this component must be defined in the [wiki:Component/MappingTable Mapping Table].
     10The segments allocated to a given instance of this component must be defined in the [wiki:Component/MappingTable Mapping Table]. The segments are implemented as dynamically allocated arrays in the constructor.
    1211
    13 Each segment is implemented as a dynamically allocated array in the constructor.
     12This component supports an - optionnal - latency parameter, defining the RAM access latency.
     13A zero value for this parameter corresponfd to a bsic one cycle latency.
    1414
    1515As the !VciRam component, the !VciSimpleRam component initializes its segments from a ELF binary if a
     
    3939     sc_module_name name,                     // Instance name
    4040     const soclib::common::IntTab &index,     //  Target index
    41      const soclib::common::MappingTable &mt)  // Mapping Table
     41     const soclib::common::MappingTable &mt,  // Mapping Table
     42     const uint32_t latency);                 // Latency (Optionnal argument)
    4243}}}
    4344
     
    5051     const soclib::common::IntTab &index,     //  Target index
    5152     const soclib::common::MappingTable &mt,  // Mapping Table
    52      soclib::common::Loader &loader); // Loader
     53     soclib::common::Loader &loader,          // Loader
     54     const uint32_t latency);                 // Latency (Optionnal argument)
    5355}}}
    54 On reset, any loadable segment in ELF file will be reloaded
    55 .
     56On reset, any loadable segment in ELF file will be reloaded.
     57
    5658=== CABA Ports ===
    5759