Thank you for your quick response...
@pillemann
I am sorry to dont metioned it.... I want to do the modes in hardware.
@dsl
I think it is not the best solution because i read old threads and it said that it is not good....for me i dont know maybe i have to try it
@nicolas
I dont have much experience in sopc but as i understand that i have to make slave register and the "waitrequest" will control the sleep and wake up operations... but i think in one point i have to control it with software or??
Actually i need to implement a block and connect it to the processor. this block will be responsible of putting the prosessor in different modes. Then the input data will come from software. Any ideas?