I have the following setwatches:
Agsi.SetWatchOnMemory(addr, addr, check_data_write, AGSIWRITE); Agsi.SetWatchOnMemory(addr, addr, check_data_read, AGSIREAD);
void check_data_read() { // return some data to the micro // by calling AgsiWriteMemory() } void check_data_write() { // check what micro wrote // by calling AgsiReadMemory() }
actually, i did it already. but i was wondering if there is another way, like calling some other function for memory access. anyway, thx