Changes between Version 15 and Version 16 of Component/Vci Multi Ram
- Timestamp:
- Feb 23, 2009, 11:34:44 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Vci Multi Ram
v15 v16 13 13 14 14 A !MultiRam will initialize its segments from a binary if an 15 [wiki:Component/ ElfLoader ElfLoader] is attached to it.15 [wiki:Component/Loader Loader] is attached to it. 16 16 17 17 == 2) Component definition & usage == … … 44 44 You may load a binary file, by creating a loader: 45 45 {{{ 46 soclib::common:: ElfLoader loader( "a.out" );46 soclib::common::Loader loader( "a.out" ); 47 47 VciRam( 48 48 sc_module_name name, // Instance name 49 49 const soclib::common::IntTab &index, // Target index 50 50 const soclib::common::MappingTable &mt, // Mapping Table 51 soclib::common:: ElfLoader &loader); // Loader51 soclib::common::Loader &loader); // Loader 52 52 }}} 53 53 On reset, any loadable segment in ELF file will be reloaded … … 73 73 const soclib::common::IntTab &index, // Target index 74 74 const soclib::common::MappingTable &mt, // Mapping Table 75 soclib::common:: ElfLoader &loader); // Loader75 soclib::common::Loader &loader); // Loader 76 76 }}} 77 77