I am new to FPGA and I am trying to send a CLOCK signal as an output of a GPIO pin of an Altera Cyclone IV E. I first made a program:
module CLOCK_out (input CLOCK_50, output CLOCK_pin);
assign CLOCK_pin = CLOCK_50;
endmodule
It just sends out the default 50 MHz clock signal of the DE0-Nano Board to a GPIO pin. This is a success. However, when I viewed the signal with an oscilloscope, what I have is a 50MHz sine wave (see attached picture). I feel like I produced the wrong signal because I am expecting a square wave instead . I don't know where I am wrong. I am using 3.3V LVTTL standard for the IO. Is there something wrong with what I have done or is the output really a sine wave after all?
I need help. Thanks in Advance