soc/tools: syntax fix on comm_pcie, import in __init__.py

This commit is contained in:
Florent Kermarrec 2017-06-22 11:29:57 +02:00
parent c82c1d103f
commit 41a91829eb
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
from litex.soc.tools.remote.comm_uart import CommUART from litex.soc.tools.remote.comm_uart import CommUART
from litex.soc.tools.remote.comm_udp import CommUDP
from litex.soc.tools.remote.comm_pcie import CommPCIe
from litex.soc.tools.remote.litex_server import RemoteServer from litex.soc.tools.remote.litex_server import RemoteServer
from litex.soc.tools.remote.litex_client import RemoteClient from litex.soc.tools.remote.litex_client import RemoteClient

View File

@ -1,7 +1,7 @@
import mmap import mmap
class CommPCIeLinux: class CommPCIe:
def __init__(self, bar, bar_size, debug=False): def __init__(self, bar, bar_size, debug=False):
self.bar = bar self.bar = bar
self.bar_size = bar_size self.bar_size = bar_size