global: keep up to date with LiteX (update stream_packet import to packet)

Retro-compatibily was ensure by LiteX but update it.
This commit is contained in:
Florent Kermarrec 2019-11-21 10:02:15 +01:00
parent 5bf218a00b
commit 6b0a9251c0
8 changed files with 8 additions and 8 deletions

View File

@ -11,7 +11,7 @@ from litex.soc.interconnect import stream
from litex.soc.interconnect.stream import EndpointDescription
from litex.soc.interconnect.csr import *
from litex.soc.interconnect.stream_packet import Header, HeaderField
from litex.soc.interconnect.packet import Header, HeaderField
class Port:

View File

@ -5,7 +5,7 @@ from liteeth.common import *
from migen.genlib.misc import WaitTimer
from litex.soc.interconnect.stream_packet import Depacketizer, Packetizer
from litex.soc.interconnect.packet import Depacketizer, Packetizer
_arp_table_layout = [

View File

@ -3,7 +3,7 @@
from liteeth.common import *
from litex.soc.interconnect.stream_packet import Depacketizer, Packetizer
from litex.soc.interconnect.packet import Depacketizer, Packetizer
# icmp tx

View File

@ -4,7 +4,7 @@
from liteeth.common import *
from liteeth.crossbar import LiteEthCrossbar
from litex.soc.interconnect.stream_packet import Depacketizer, Packetizer
from litex.soc.interconnect.packet import Depacketizer, Packetizer
# ip crossbar

View File

@ -5,7 +5,7 @@ from liteeth.common import *
from liteeth.crossbar import LiteEthCrossbar
from litex.soc.interconnect import stream
from litex.soc.interconnect.stream_packet import Depacketizer, Packetizer
from litex.soc.interconnect.packet import Depacketizer, Packetizer
# udp crossbar

View File

@ -5,7 +5,7 @@ from collections import OrderedDict
from liteeth.common import *
from litex.soc.interconnect.stream_packet import Arbiter, Dispatcher
from litex.soc.interconnect.packet import Arbiter, Dispatcher
class LiteEthCrossbar(Module):

View File

@ -15,7 +15,7 @@ and introduces some limitations:
from liteeth.common import *
from litex.soc.interconnect import wishbone
from litex.soc.interconnect.stream_packet import *
from litex.soc.interconnect.packet import *
# etherbone packet

View File

@ -4,7 +4,7 @@
from liteeth.common import *
from liteeth.crossbar import LiteEthCrossbar
from litex.soc.interconnect.stream_packet import Depacketizer, Packetizer
from litex.soc.interconnect.packet import Depacketizer, Packetizer
class LiteEthMACDepacketizer(Depacketizer):