Implement IP to Ethernet stream transformer using fixed destination MAC address
Closed this issue · 2 comments
rowanG077 commented
Feature description
A transformer is needed to build an EthernetHeader
given an IPAddress
. In this issue the IP to MAC translation can be done with a fixed hardcoded MAC address.
Expected behaviour
EthernetHeader
is build from an IPAddress
.
Expected steps
The circuit is expected to have type
toEthernet
:: HiddenClockResetEnable dom
=> Circuit (PacketStream dom n IPAddress) (PacketStream dom n EthernetHeader)
t-wallet commented
I don't think this is blocked by the IP packetizer, you just need the definition of IPAddress for this trivial component.
rowanG077 commented
Correct. I have updated the description