Changes between Version 2 and Version 3 of Component/Vci Simple Ram
- Timestamp:
- Oct 3, 2009, 2:32:47 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Vci Simple Ram
v2 v3 5 5 == 1) Functional Description == 6 6 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 7 This 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 9 8 independent memory segments. Each segment is defined by a base address and a size (number of bytes). 10 9 Both 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]. 10 The 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. 12 11 13 Each segment is implemented as a dynamically allocated array in the constructor. 12 This component supports an - optionnal - latency parameter, defining the RAM access latency. 13 A zero value for this parameter corresponfd to a bsic one cycle latency. 14 14 15 15 As the !VciRam component, the !VciSimpleRam component initializes its segments from a ELF binary if a … … 39 39 sc_module_name name, // Instance name 40 40 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) 42 43 }}} 43 44 … … 50 51 const soclib::common::IntTab &index, // Target index 51 52 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) 53 55 }}} 54 On reset, any loadable segment in ELF file will be reloaded 55 . 56 On reset, any loadable segment in ELF file will be reloaded. 57 56 58 === CABA Ports === 57 59