> i want to capture 2 mbps serial data stream through my ethernet card.
> I want to use FPGA to convert the received serial data into ethernet
> format and dump it onto the ethernet interface. Then i can use some
> port sniffer to capture that data.
> i just have the vague idea. kidly someone tell me, how much is this
You have to buffer enough to make an ethernet packet, and then start
generating it. If you have a 20 MHz clock around it shouldn't be too hard
to implement a state machine to do it. If your FPGA has a RAM that could
be used to buffer the data. A ROM (initialized RAM) state machine would
probably be easiest.
The description of an ethernet frame isn't hard to find, and once you find
it to generate the state machine. You don't say if you want to encapsulate
your data in a higher level protocol, though even that shouldn't be hard to