My situation is as following:
Have to use Virtex E to drive a sensor with 5V TTL logic.
I used NC7ST04 inverter as a level shifter. https://obrazki.elektroda.pl/66_1226541807.jpg
Inside FPGA I wrote code as:
Code:
Signal_out <= not ( signal );
Based on above way, after two inverting the signal is going to be changed to 5V TTL with the same rising and falling edges as inside LVTTL logic.
But the problem is the signal output from FPGA is totally wrong, the voltage is inverted but with a -3.3V offset as in the figure 2th.
Pretty odd indeed.
How about checking your .ucf file if the output has been properly defined with a suitable standard ?
or perhaps you simply mixed up your scope leads ?