| |||
| Home > RVISS Basics > Default memory model | |||
The RVISS default memory model, flatmem, is a model of a zero-wait state memory system. The simulated memory size is not fixed. Host memory is allocated in chunks of 64KB each time a new region of memory is accessed. The memory size is limited by the host computer, but in theory all 4GB of the address space is available. The default memory model does not generate aborts.
If you do not specify a mapfile, RVISS uses the default memory model. The default memory model is not visible in RealView Debugger.
If you specify a mapfile, the mapfile does not replace the default memory model, but sits between the memory model and the core, and inserts events, for example wait states and aborts. The memory map defined in the map file is visible in the Mapfile tab of the RealView Debugger Registers pane.
The default memory model routes memory accesses to memory-mapped peripheral models as appropriate. Routing is based on configuration details you provide in the file:
install_directory\RVARMulator\ARMulator\...\...\platform\peripherals.ami
or in another .ami file.