ethernet/tb
Sean Anderson f1b345299e Add mdio module
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>
2022-08-27 15:59:29 -04:00
..
__init__.py Make testbenches a module 2022-08-21 12:36:28 -04:00
descramble.py Add (de)scrambling support 2022-08-27 13:06:38 -04:00
mdio.py Add mdio module 2022-08-27 15:59:29 -04:00
nrzi_decode.py Add NRZI support 2022-08-24 12:29:09 -04:00
nrzi_encode.py Add NRZI support 2022-08-24 12:29:09 -04:00
pcs.py tb: Refactor out ClockEnable 2022-08-27 13:09:30 -04:00
pmd.py tb: Move print_list_at/compare_lists to util 2022-08-24 12:16:43 -04:00
scramble.py Add (de)scrambling support 2022-08-27 13:06:38 -04:00
util.py tb: Refactor out ClockEnable 2022-08-27 13:09:30 -04:00