29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Peripheral and Interface Components<br />

• CADIMemGetBlocks()<br />

• CADIMemGetOverlays()<br />

• CADIGetParameters()<br />

• CADIGetParameterInfo()<br />

• CADIXfaceGetFeatures()<br />

The following debug read access functions have the same semantics as in CADI, but the values<br />

returned by these read access functions may differ from the values returned by the<br />

corresponding CADI functions because some of the accessed resources values might change<br />

over time during the execution of an instruction. The values of resources that are modified by<br />

the current instruction are UNKNOWN, except the PC which always reflects the address of the<br />

last instruction that was issued. Reading and writing registers and memory while the simulation<br />

is running is generally only useful for syncLevel >= SL_SYNC_STATE. For SL_OFF, all registers<br />

and all memory locations are always UNKNOWN while the simulation is running.<br />

• CADIRegRead()<br />

• CADIMemRead()<br />

• CADIGetParameterValues()<br />

• CADIGetInstructionCount()<br />

• CADIGetPC()<br />

• CADIGetDisassembler()<br />

The following write access functions always provide write access to the register in the<br />

Simulation register group. They also might provide limited write access semantics to certain<br />

resources. A SCADI implementation might choose not to support any write access to core<br />

registers and memory:<br />

• CADIRegWrite()<br />

• CADIMemWrite()<br />

• CADISetParameters()<br />

The breakpoint functions have nearly all the same semantics as in the CADI interface, except<br />

that changes to breakpoints only become effective at the next Stop event checkpoint defined by<br />

the current syncLevel. Changes might also only become visible in CADIBptRead() and<br />

CADIBptGetList() at this next synchronization point.<br />

• CADIBptGetList()<br />

• CADIBptRead()<br />

• CADIBptSet()<br />

• CADIBptClear()<br />

• CADIBptConfigure()<br />

Execution control is limited to stopping the simulation. The simulation stops at the next<br />

synchronization point as defined by the current syncLevel:<br />

• CADIExecStop()<br />

All other functions are not supported, and return CADI_STATUS_CmdNotSupported.<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 5-170<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!