liteeth: fix import (from liteeth --> from misoclib.liteeth)

This commit is contained in:
Florent Kermarrec 2015-02-26 09:41:47 +01:00
parent 60effe1d95
commit 00862a383c
55 changed files with 184 additions and 186 deletions

View File

@ -1,10 +1,10 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.mac import LiteEthMAC
from liteeth.core.arp import LiteEthARP
from liteeth.core.ip import LiteEthIP
from liteeth.core.udp import LiteEthUDP
from liteeth.core.icmp import LiteEthICMP
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.mac import LiteEthMAC
from misoclib.liteeth.core.arp import LiteEthARP
from misoclib.liteeth.core.ip import LiteEthIP
from misoclib.liteeth.core.udp import LiteEthUDP
from misoclib.liteeth.core.icmp import LiteEthICMP
class LiteEthIPCore(Module, AutoCSR):
def __init__(self, phy, mac_address, ip_address, clk_freq):

View File

@ -1,7 +1,7 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.generic.depacketizer import LiteEthDepacketizer
from liteeth.generic.packetizer import LiteEthPacketizer
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.generic.depacketizer import LiteEthDepacketizer
from misoclib.liteeth.generic.packetizer import LiteEthPacketizer
_arp_table_layout = [
("reply", 1),

View File

@ -1,11 +1,11 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.generic.arbiter import Arbiter
from liteeth.generic.dispatcher import Dispatcher
from liteeth.core.etherbone.packet import *
from liteeth.core.etherbone.probe import *
from liteeth.core.etherbone.record import *
from liteeth.core.etherbone.wishbone import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.generic.arbiter import Arbiter
from misoclib.liteeth.generic.dispatcher import Dispatcher
from misoclib.liteeth.core.etherbone.packet import *
from misoclib.liteeth.core.etherbone.probe import *
from misoclib.liteeth.core.etherbone.record import *
from misoclib.liteeth.core.etherbone.wishbone import *
class LiteEthEtherbone(Module):
def __init__(self, udp, udp_port):

View File

@ -1,7 +1,7 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.generic.depacketizer import LiteEthDepacketizer
from liteeth.generic.packetizer import LiteEthPacketizer
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.generic.depacketizer import LiteEthDepacketizer
from misoclib.liteeth.generic.packetizer import LiteEthPacketizer
class LiteEthEtherbonePacketPacketizer(LiteEthPacketizer):
def __init__(self):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthEtherboneProbe(Module):
def __init__(self):

View File

@ -1,7 +1,7 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.generic.depacketizer import LiteEthDepacketizer
from liteeth.generic.packetizer import LiteEthPacketizer
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.generic.depacketizer import LiteEthDepacketizer
from misoclib.liteeth.generic.packetizer import LiteEthPacketizer
class LiteEthEtherboneRecordPacketizer(LiteEthPacketizer):
def __init__(self):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from migen.bus import wishbone
class LiteEthEtherboneWishboneMaster(Module):

View File

@ -1,7 +1,7 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.generic.depacketizer import LiteEthDepacketizer
from liteeth.generic.packetizer import LiteEthPacketizer
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.generic.depacketizer import LiteEthDepacketizer
from misoclib.liteeth.generic.packetizer import LiteEthPacketizer
class LiteEthICMPPacketizer(LiteEthPacketizer):
def __init__(self):

View File

@ -1,9 +1,9 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.core.ip.checksum import *
from liteeth.core.ip.crossbar import *
from liteeth.generic.depacketizer import LiteEthDepacketizer
from liteeth.generic.packetizer import LiteEthPacketizer
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.core.ip.checksum import *
from misoclib.liteeth.core.ip.crossbar import *
from misoclib.liteeth.generic.depacketizer import LiteEthDepacketizer
from misoclib.liteeth.generic.packetizer import LiteEthPacketizer
class LiteEthIPV4Packetizer(LiteEthPacketizer):
def __init__(self):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthIPV4Checksum(Module):
def __init__(self, words_per_clock_cycle=1, skip_checksum=False):

View File

@ -1,6 +1,6 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.generic.crossbar import LiteEthCrossbar
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.generic.crossbar import LiteEthCrossbar
class LiteEthIPV4MasterPort:
def __init__(self, dw):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthTTYTX(Module):
def __init__(self, ip_address, udp_port, fifo_depth=None):

View File

@ -1,8 +1,8 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.core.udp.crossbar import *
from liteeth.generic.depacketizer import LiteEthDepacketizer
from liteeth.generic.packetizer import LiteEthPacketizer
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.core.udp.crossbar import *
from misoclib.liteeth.generic.depacketizer import LiteEthDepacketizer
from misoclib.liteeth.generic.packetizer import LiteEthPacketizer
class LiteEthUDPPacketizer(LiteEthPacketizer):
def __init__(self):

View File

@ -1,7 +1,7 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from liteeth.generic.crossbar import LiteEthCrossbar
from misoclib.liteeth.generic.crossbar import LiteEthCrossbar
class LiteEthUDPMasterPort:
def __init__(self, dw):

View File

@ -10,7 +10,7 @@ from migen.bank.description import CSRStatus
from mibuild import tools
from mibuild.xilinx_common import *
from liteeth.common import *
from misoclib.liteeth.common import *
def get_csr_csv(regions):
r = ""

View File

@ -14,10 +14,10 @@ from litescope.bridge.uart2wb import LiteScopeUART2WB
from litescope.frontend.la import LiteScopeLA
from litescope.core.port import LiteScopeTerm
from liteeth.common import *
from liteeth.generic import *
from liteeth.phy.gmii import LiteEthPHYGMII
from liteeth.core import LiteEthUDPIPCore
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.phy.gmii import LiteEthPHYGMII
from misoclib.liteeth.core import LiteEthUDPIPCore
class _CRG(Module):
def __init__(self, platform):

View File

@ -2,11 +2,11 @@ from litescope.common import *
from litescope.frontend.la import LiteScopeLA
from litescope.core.port import LiteScopeTerm
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from targets.base import BaseSoC
from liteeth.core.etherbone import LiteEthEtherbone
from misoclib.liteeth.core.etherbone import LiteEthEtherbone
class EtherboneSoC(BaseSoC):
default_platform = "kc705"

View File

@ -2,11 +2,11 @@ from litescope.common import *
from litescope.frontend.la import LiteScopeLA
from litescope.core.port import LiteScopeTerm
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from targets.base import BaseSoC
from liteeth.core.tty import LiteEthTTY
from misoclib.liteeth.core.tty import LiteEthTTY
class TTYSoC(BaseSoC):
default_platform = "kc705"

View File

@ -2,8 +2,8 @@ from litescope.common import *
from litescope.frontend.la import LiteScopeLA
from litescope.core.port import LiteScopeTerm
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from targets.base import BaseSoC

View File

@ -1,5 +1,5 @@
import socket, time
from liteeth.test.model.etherbone import *
from misoclib.liteeth.test.model.etherbone import *
SRAM_BASE = 0x02000000

View File

@ -1,4 +1,4 @@
from liteeth.common import *
from misoclib.liteeth.common import *
# Generic classes
class Port:

View File

@ -1,9 +1,9 @@
from collections import OrderedDict
from liteeth.common import *
from liteeth.generic import *
from liteeth.generic.arbiter import Arbiter
from liteeth.generic.dispatcher import Dispatcher
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.generic.arbiter import Arbiter
from misoclib.liteeth.generic.dispatcher import Dispatcher
class LiteEthCrossbar(Module):
def __init__(self, master_port, dispatch_param):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
def _decode_header(h_dict, h_signal, obj):
r = []

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
def _encode_header(h_dict, h_signal, obj):
r = []

View File

@ -1,8 +1,8 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.mac.common import *
from liteeth.mac.core import LiteEthMACCore
from liteeth.mac.frontend.wishbone import LiteEthMACWishboneInterface
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.mac.common import *
from misoclib.liteeth.mac.core import LiteEthMACCore
from misoclib.liteeth.mac.frontend.wishbone import LiteEthMACWishboneInterface
class LiteEthMAC(Module, AutoCSR):
def __init__(self, phy, dw, interface="crossbar", endianness="big",

View File

@ -1,8 +1,8 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.generic.depacketizer import LiteEthDepacketizer
from liteeth.generic.packetizer import LiteEthPacketizer
from liteeth.generic.crossbar import LiteEthCrossbar
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.generic.depacketizer import LiteEthDepacketizer
from misoclib.liteeth.generic.packetizer import LiteEthPacketizer
from misoclib.liteeth.generic.crossbar import LiteEthCrossbar
class LiteEthMACDepacketizer(LiteEthDepacketizer):
def __init__(self):

View File

@ -1,6 +1,6 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.mac.core import gap, preamble, crc, padding, last_be
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.mac.core import gap, preamble, crc, padding, last_be
class LiteEthMACCore(Module, AutoCSR):
def __init__(self, phy, dw, endianness="big", with_hw_preamble_crc=True):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthMACCRCEngine(Module):
"""Cyclic Redundancy Check Engine

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthMACGap(Module):
def __init__(self, dw, ack_on_gap=False):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthMACTXLastBE(Module):
def __init__(self, dw):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthMACPaddingInserter(Module):
def __init__(self, dw, packet_min_length):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthMACPreambleInserter(Module):
def __init__(self, dw):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from migen.bank.description import *
from migen.bank.eventmanager import *

View File

@ -1,6 +1,6 @@
from liteeth.common import *
from liteeth.generic import *
from liteeth.mac.frontend import sram
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
from misoclib.liteeth.mac.frontend import sram
from migen.bus import wishbone
from migen.fhdl.simplify import FullMemoryWE

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthPHYGMIITX(Module):
def __init__(self, pads):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthPHYLoopbackCRG(Module, AutoCSR):
def __init__(self):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthPHYMIITX(Module):
def __init__(self, pads):

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.generic import *
from misoclib.liteeth.common import *
from misoclib.liteeth.generic import *
class LiteEthPHYSimCRG(Module, AutoCSR):
def __init__(self):

View File

@ -3,12 +3,12 @@ from migen.bus import wishbone
from migen.bus.transactions import *
from migen.sim.generic import run_simulation
from liteeth.common import *
from liteeth.mac import LiteEthMAC
from liteeth.core.arp import LiteEthARP
from misoclib.liteeth.common import *
from misoclib.liteeth.mac import LiteEthMAC
from misoclib.liteeth.core.arp import LiteEthARP
from liteeth.test.common import *
from liteeth.test.model import phy, mac, arp
from misoclib.liteeth.test.common import *
from misoclib.liteeth.test.model import phy, mac, arp
ip_address = 0x12345678
mac_address = 0x12345678abcd

View File

@ -4,7 +4,7 @@ from migen.fhdl.std import *
from migen.flow.actor import Sink, Source
from migen.genlib.record import *
from liteeth.common import *
from misoclib.liteeth.common import *
def print_with_prefix(s, prefix=""):
if not isinstance(s, str):

View File

@ -3,12 +3,12 @@ from migen.bus import wishbone
from migen.bus.transactions import *
from migen.sim.generic import run_simulation
from liteeth.common import *
from liteeth.core import LiteEthUDPIPCore
from liteeth.core.etherbone import LiteEthEtherbone
from misoclib.liteeth.common import *
from misoclib.liteeth.core import LiteEthUDPIPCore
from misoclib.liteeth.core.etherbone import LiteEthEtherbone
from liteeth.test.common import *
from liteeth.test.model import phy, mac, arp, ip, udp, etherbone
from misoclib.liteeth.test.common import *
from misoclib.liteeth.test.model import phy, mac, arp, ip, udp, etherbone
ip_address = 0x12345678
mac_address = 0x12345678abcd

View File

@ -3,15 +3,15 @@ from migen.bus import wishbone
from migen.bus.transactions import *
from migen.sim.generic import run_simulation
from liteeth.common import *
from liteeth.core import LiteEthIPCore
from misoclib.liteeth.common import *
from misoclib.liteeth.core import LiteEthIPCore
from liteeth.test.common import *
from liteeth.test.model.dumps import *
from liteeth.test.model.mac import *
from liteeth.test.model.ip import *
from liteeth.test.model.icmp import *
from liteeth.test.model import phy, mac, arp, ip, icmp
from misoclib.liteeth.test.common import *
from misoclib.liteeth.test.model.dumps import *
from misoclib.liteeth.test.model.mac import *
from misoclib.liteeth.test.model.ip import *
from misoclib.liteeth.test.model.icmp import *
from misoclib.liteeth.test.model import phy, mac, arp, ip, icmp
ip_address = 0x12345678
mac_address = 0x12345678abcd

View File

@ -3,11 +3,11 @@ from migen.bus import wishbone
from migen.bus.transactions import *
from migen.sim.generic import run_simulation
from liteeth.common import *
from liteeth.core import LiteEthIPCore
from misoclib.liteeth.common import *
from misoclib.liteeth.core import LiteEthIPCore
from liteeth.test.common import *
from liteeth.test.model import phy, mac, arp, ip
from misoclib.liteeth.test.common import *
from misoclib.liteeth.test.model import phy, mac, arp, ip
ip_address = 0x12345678
mac_address = 0x12345678abcd

View File

@ -3,11 +3,11 @@ from migen.bus import wishbone
from migen.bus.transactions import *
from migen.sim.generic import run_simulation
from liteeth.common import *
from liteeth.mac.core import LiteEthMACCore
from misoclib.liteeth.common import *
from misoclib.liteeth.mac.core import LiteEthMACCore
from liteeth.test.common import *
from liteeth.test.model import phy, mac
from misoclib.liteeth.test.common import *
from misoclib.liteeth.test.model import phy, mac
class TB(Module):
def __init__(self):

View File

@ -3,11 +3,11 @@ from migen.bus import wishbone
from migen.bus.transactions import *
from migen.sim.generic import run_simulation
from liteeth.common import *
from liteeth.mac import LiteEthMAC
from misoclib.liteeth.common import *
from misoclib.liteeth.mac import LiteEthMAC
from liteeth.test.common import *
from liteeth.test.model import phy, mac
from misoclib.liteeth.test.common import *
from misoclib.liteeth.test.model import phy, mac
class WishboneMaster:
def __init__(self, obj):

View File

@ -1,9 +1,9 @@
import math
from liteeth.common import *
from liteeth.test.common import *
from misoclib.liteeth.common import *
from misoclib.liteeth.test.common import *
from liteeth.test.model import mac
from misoclib.liteeth.test.model import mac
def print_arp(s):
print_with_prefix(s, "[ARP]")
@ -118,8 +118,8 @@ class ARP(Module):
request.target_ip = ip_address
if __name__ == "__main__":
from liteeth.test.model.dumps import *
from liteeth.test.model.mac import *
from misoclib.liteeth.test.model.dumps import *
from misoclib.liteeth.test.model.mac import *
errors = 0
# ARP request
packet = MACPacket(arp_request)

View File

@ -1,9 +1,9 @@
import math, copy
from liteeth.common import *
from liteeth.test.common import *
from misoclib.liteeth.common import *
from misoclib.liteeth.test.common import *
from liteeth.test.model import udp
from misoclib.liteeth.test.model import udp
def print_etherbone(s):
print_with_prefix(s, "[ETHERBONE]")

View File

@ -1,9 +1,9 @@
import math
from liteeth.common import *
from liteeth.test.common import *
from misoclib.liteeth.common import *
from misoclib.liteeth.test.common import *
from liteeth.test.model import ip
from misoclib.liteeth.test.model import ip
def print_icmp(s):
print_with_prefix(s, "[ICMP]")
@ -79,9 +79,9 @@ class ICMP(Module):
pass
if __name__ == "__main__":
from liteeth.test.model.dumps import *
from liteeth.test.model.mac import *
from liteeth.test.model.ip import *
from misoclib.liteeth.test.model.dumps import *
from misoclib.liteeth.test.model.mac import *
from misoclib.liteeth.test.model.ip import *
errors = 0
# ICMP packet
packet = MACPacket(ping_request)

View File

@ -1,9 +1,9 @@
import math
from liteeth.common import *
from liteeth.test.common import *
from misoclib.liteeth.common import *
from misoclib.liteeth.test.common import *
from liteeth.test.model import mac
from misoclib.liteeth.test.model import mac
def print_ip(s):
print_with_prefix(s, "[IP]")
@ -124,8 +124,8 @@ class IP(Module):
self.icmp_callback(packet)
if __name__ == "__main__":
from liteeth.test.model.dumps import *
from liteeth.test.model.mac import *
from misoclib.liteeth.test.model.dumps import *
from misoclib.liteeth.test.model.mac import *
errors = 0
# UDP packet
packet = MACPacket(udp)

View File

@ -1,7 +1,7 @@
import math, binascii
from liteeth.common import *
from liteeth.test.common import *
from misoclib.liteeth.common import *
from misoclib.liteeth.test.common import *
def print_mac(s):
print_with_prefix(s, "[MAC]")
@ -127,7 +127,7 @@ class MAC(Module):
raise ValueError # XXX handle this properly
if __name__ == "__main__":
from liteeth.test.model.dumps import *
from misoclib.liteeth.test.model.dumps import *
errors = 0
packet = MACPacket(arp_request)
packet.decode_remove_header()

View File

@ -1,5 +1,5 @@
from liteeth.common import *
from liteeth.test.common import *
from misoclib.liteeth.common import *
from misoclib.liteeth.test.common import *
def print_phy(s):
print_with_prefix(s, "[PHY]")

View File

@ -1,9 +1,9 @@
import math
from liteeth.common import *
from liteeth.test.common import *
from misoclib.liteeth.common import *
from misoclib.liteeth.test.common import *
from liteeth.test.model import ip
from misoclib.liteeth.test.model import ip
def print_udp(s):
print_with_prefix(s, "[UDP]")
@ -90,9 +90,9 @@ class UDP(Module):
self.etherbone_callback(packet)
if __name__ == "__main__":
from liteeth.test.model.dumps import *
from liteeth.test.model.mac import *
from liteeth.test.model.ip import *
from misoclib.liteeth.test.model.dumps import *
from misoclib.liteeth.test.model.mac import *
from misoclib.liteeth.test.model.ip import *
errors = 0
# UDP packet
packet = MACPacket(udp)

View File

@ -3,11 +3,11 @@ from migen.bus import wishbone
from migen.bus.transactions import *
from migen.sim.generic import run_simulation
from liteeth.common import *
from liteeth.core import LiteEthUDPIPCore
from misoclib.liteeth.common import *
from misoclib.liteeth.core import LiteEthUDPIPCore
from liteeth.test.common import *
from liteeth.test.model import phy, mac, arp, ip, udp
from misoclib.liteeth.test.common import *
from misoclib.liteeth.test.model import phy, mac, arp, ip, udp
ip_address = 0x12345678
mac_address = 0x12345678abcd

View File

@ -5,9 +5,8 @@ from misoclib import sdram, spiflash
from misoclib.sdram.phy import k7ddrphy
from misoclib.gensoc import SDRAMSoC
from extcores import *
from liteeth.phy.gmii import LiteEthPHYGMII
from liteeth.mac import LiteEthMAC
from misoclib.liteeth.phy.gmii import LiteEthPHYGMII
from misoclib.liteeth.mac import LiteEthMAC
class _CRG(Module):
def __init__(self, platform):

View File

@ -8,9 +8,8 @@ from misoclib import sdram, mxcrg, norflash16, framebuffer, gpio
from misoclib.sdram.phy import s6ddrphy
from misoclib.gensoc import SDRAMSoC
from extcores import *
from liteeth.phy.mii import LiteEthPHYMII
from liteeth.mac import LiteEthMAC
from misoclib.liteeth.phy.mii import LiteEthPHYMII
from misoclib.liteeth.mac import LiteEthMAC
class _MXClockPads:
def __init__(self, platform):