I am testing my Microsemi FPGA with a NI myDAQ and am getting some strange waveforms. All that I am doing is inputting a 3Vpp square wave at 10kHz and expecting the same output since my code is just setting the output to the input (shown below). I've also included a picture of my input waveform before it is connected to the myDAQ and what it looks like after the myDAQ is connected.
module test( in_1, clk, out_1 );
input in_1, clk;
output out_1;
reg out_1;
//<statements>
always @(posedge clk)
begin
out_1 <= in_1;
end
endmodule
Here is the input waveform when the myDAQ is not connected:
Here is the waveform when the myDAQ is connected. The top wave (green) is the input while the bottom wave (blue) is the output. Why is the input voltage dropping by almost 1V when the myDAQ is connected and why is the output wave dropping even lower than that? The original signal was 3Vpp so shouldn't the output be the same?
I know I should be using a real function generator with a real oscilloscope instead of a myDAQ, but I am not allowed in my lab right now because of the pandemic.