@IRStuff thanks a lot mate shall post it there right away
@JG2828 I have read that document, it’s just that since it’s FPGA not many sources are available online or not even a sample so I’m kinda stuck with this
My problem with the request was it was too vague. We have to assume you are using a development environment of some form and will be writing the code... FPGA code is typically written in VHDL, not C (converters DO exist, but they're horrible and not purpose-suited). There's also the question of the PHY (and other hardware) between the FPGA and computer... you can't just connect pins to ports. There's the general lack of understanding of the protocol being used. Is lwIP use being attempted on the computer or the FPGA (neither is likely to work well... I've used lwIP before and it's for embedded processors).
WHAT are you trying to do, HOW are you trying to do it, and what steps have you taken so far to get there?
If one had an FPGA sized large enough to accept a micro core, then it would make little sense to not put the Ether stack elsewhere on the chip. It's like buying a four-car garage so you have a place to put your Yugo. Either way, both involve HDL to create...