03-24-2015 05:23 AM
Hello guys,
I want to enable a trigger signal when the input at the Trigger block goes high.I have attached the block diagram.The idea is to enable a trigger when the sine wave output goes positive.But the trigger block doesn't give high output.Please help..Thanks..
03-24-2015 10:07 AM
Why not just use the Greater Than 0? function?
03-25-2015 10:19 PM
Thanks for the reply crossrulz and congrats..
If i use a greater than condition,when the sine wave goes positive ,it would give true value.But when the sine wave again becomes negative,the if condition gives a false.My requirement is when the sine wave goes positive,i should able to generate a square wave continously regardless of the sine wave condition.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?