I have been thinking of embarking on my first FPGA project and plan to use ice40lp as this is small and cheap and comes in FQFP
I have 4 inputs that come from a 5V device under test (an old arcade game PCB), each of these inputs is at TTL levels. Ideally I would not influence the DUT too much. I would like to be able to sense positive and negative transitions on the input lines at speeds up to 8MHz.
For each input I need to have an equivalent input at the FPGA which shows if the input is TTL hi or TTL lo and it would be nice if it could also sense if the level was neither, i.e. in the ambiguous part between hi and lo.
I thought about using comparators which would require eight (4x2)... If the comparator has a 3.3V power supply does that mean I should not put 5V into its inputs?
Should I use a resistor divider on the inputs?
Or should I have the comparator running at 5V and voltage translate the results instead?
Any pointers would be appreciated, especially to a device that could help.
Thanks in advance