Hello guys,
My application is to start generating square wave when sine wave goes positive.After that regardless of the sinewave,the square wave generator must work continoulsy.However,i did this part using an SR latch and a switch.I have attached the block diagram.But the problem now is,when the square wave starts to give output,the sine wave appears like a stepped function.I have attached that picture as well.Cant,both the generators simultaneously generate waveforms?Is there some changes i have to do with FPGA Clock?