This module implements the MII management interface ("MDIO"), and translates frames into classic wishbone reads/writes. We use a "state_counter" to keep track of how many additional bits we expect to recieve before continuing on to the next field in the frame. We require a preamble because it prevents ambiguity, and omitting it doesn't seem to be very popular (seeing as it was removed for c45). Generally, even if we find an error in the frame, we still procede through the states as usual. This prevents any spurious reads/writes caused by misinterpreting an unaligned data stream. Signed-off-by: Sean Anderson <seanga2@gmail.com> |
||
---|---|---|
rtl | ||
tb | ||
.gitignore | ||
4b5b.gtkw | ||
Makefile |