mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
update LiteScope
This commit is contained in:
parent
e17791a85b
commit
e6f1bdb152
2 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@ busword = 32
|
|||
debug_wb = False
|
||||
|
||||
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)
|
||||
|
||||
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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from config import *
|
||||
import time
|
||||
|
||||
from litescope.host.driver import LiteScopeLADriver
|
||||
from litescope.host.driver.la import LiteScopeLADriver
|
||||
la = LiteScopeLADriver(wb.regs, "la", debug=True)
|
||||
|
||||
wb.open()
|
||||
|
|
Loading…
Reference in a new issue