Forum Discussion
Altera_Forum
Honored Contributor
21 years agoCan be try "Data Triggers"? ( n2cpu_nii5v1.pdf file, page 4-5).
" This refers to the ability to trigger on arbitrary conditions on the instruction and data bus during execution. You can set a trigger to activate based on address value, data value, or read or write cycle. Triggers are more versatile than simple breakpoints. You can use a trigger like a breakpoint to halt the processor on specific events or conditions. Furthermore, you can use a trigger to activate other events, such as starting execution trace, or sending a trigger signal to an external logic analyzer. Two data triggers can be combined to form a trigger that activates on a range of data or addresses. " It may catch some data bus conditions as "write" for example. For example Stack size = 1024, SP base = 0 and data trigger set to 512. When core try write to address 512 the data trigger set event.