update LiteScope

This commit is contained in:
Florent Kermarrec 2015-02-18 16:51:35 +01:00
parent e17791a85b
commit e6f1bdb152
2 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@ busword = 32
debug_wb = False debug_wb = False
if use_uart: if use_uart:
from litescope.host.driver import LiteScopeUART2WBDriver from litescope.host.driver.uart import LiteScopeUARTDriver
wb = LiteScopeUART2WBDriver(2, 921600, csr_csv_file, busword, debug_wb) wb = LiteScopeUART2WBDriver(2, 921600, csr_csv_file, busword, debug_wb)
if use_eth: if use_eth:
from litescope.host.driver import LiteScopeEtherboneDriver from litescope.host.driver.etherbone import LiteScopeEtherboneDriver
wb = LiteScopeEtherboneDriver("192.168.1.40", 20000, csr_csv_file, debug_wb) wb = LiteScopeEtherboneDriver("192.168.1.40", 20000, csr_csv_file, debug_wb)

View File

@ -1,7 +1,7 @@
from config import * from config import *
import time import time
from litescope.host.driver import LiteScopeLADriver from litescope.host.driver.la import LiteScopeLADriver
la = LiteScopeLADriver(wb.regs, "la", debug=True) la = LiteScopeLADriver(wb.regs, "la", debug=True)
wb.open() wb.open()