Altera_Forum
Honored Contributor
17 years agoSine wave to Digital clock..
I know this might be a strange question coz sine wave can be used as a clock, but I really wanna know the best to cut my sine wave from both sides to produce a digital clock.
I tried using verilog "assign x=(y==1) ? 1:0;" y is the sine wave and x is my clock output, but the compiler is clever enough to actually wire both x and y, even if i use synthesis keep. Is there a better way to perform such a task using an fpga?