To be clear:
1. I have PHY layer chip which provide MII interface signals.
2. It is possible to get UDP/IP stack from opencores.org (
https://opencores.org/project,udp_ip_stack) - it uses AXI interface to lower layer.
3. To connect 1. and 2. I could take
a) Xilinx Tri-Mode Ethernet Media Access Controller, but it is licensed -> $$$,
b) controller, which the link I've posted (
https://opencores.org/project,ethernet_tri_mode), but it is in Verilog and I don't understand Verilog
I wanted to write it myself, because of 3a and 3b. It shouldn't be hard, but I don't understand one thing described in my initial post. How to get DATA_BYTE_LAST flag in parallel with that last data byte? This signal is required for AXI.
From MII I have information about data valid - RXDV and this is 'high' to the end of data frame and then go to 'low', so I can tell that DATA_BYTE_LAST was in previous clock cycle but not during the last data byte transmission -> in other words I can set flag that data frame is finished just after last byte of data frame.