otis
Member level 3
I have a state machine with few states. In one state the state machine sends signal to oscillator(or to analog block of the chip) to stop the clock.(for power saving)
After that the clock goes off(Oscillator will be stopped). it is valid for the whole digital block
Now there is no clock in digital domain. Then the state machine waits for external interrupt.
when there is a interrupt the state machine inform the analog blaock to start the clock. when clock received it should continue to the next state.
From my understanding it is not possible for the state machine to detect the external interrupt because there is no clock present.
So I guess I need some other simple external state machine or a combinational circuit to detect the interrupt and send signal to analog block. once clock restored then the state machine should start continue as usual.
could any one could give me an idea how to code this (syntheziable)? example code? concept?
Any input is highly appreciated.
Thanks in advance.
After that the clock goes off(Oscillator will be stopped). it is valid for the whole digital block
Now there is no clock in digital domain. Then the state machine waits for external interrupt.
when there is a interrupt the state machine inform the analog blaock to start the clock. when clock received it should continue to the next state.
From my understanding it is not possible for the state machine to detect the external interrupt because there is no clock present.
So I guess I need some other simple external state machine or a combinational circuit to detect the interrupt and send signal to analog block. once clock restored then the state machine should start continue as usual.
could any one could give me an idea how to code this (syntheziable)? example code? concept?
Any input is highly appreciated.
Thanks in advance.