example_designs/test: cleanup and simplify
This commit is contained in:
parent
2233bc290e
commit
e92f0b7ea2
|
@ -1,5 +1,8 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from litex.soc.tools.remote import RemoteClient
|
||||
from litescope.software.driver.analyzer import LiteScopeAnalyzerDriver
|
||||
|
||||
from litescope import LiteScopeAnalyzerDriver
|
||||
|
||||
wb = RemoteClient()
|
||||
wb.open()
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from litex.soc.tools.remote import RemoteClient
|
||||
|
||||
wb = RemoteClient()
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
import time
|
||||
from litex.soc.tools.remote import RemoteClient
|
||||
from litescope.software.driver.io import LiteScopeIODriver
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import time
|
||||
|
||||
from litex.soc.tools.remote import RemoteClient
|
||||
|
||||
from litescope import LiteScopeIODriver
|
||||
|
||||
wb = RemoteClient()
|
||||
wb.open()
|
||||
|
||||
# # #
|
||||
|
||||
def led_anim0(inout):
|
||||
for i in range(10):
|
||||
|
@ -25,11 +33,6 @@ def led_anim1(inout):
|
|||
time.sleep(i*i*0.0020)
|
||||
led_data = (led_data >> 1)
|
||||
|
||||
wb = RemoteClient()
|
||||
wb.open()
|
||||
|
||||
# # #
|
||||
|
||||
io = LiteScopeIODriver(wb.regs, "io")
|
||||
|
||||
led_anim0(io)
|
||||
|
|
Loading…
Reference in New Issue