mirror of
https://github.com/enjoy-digital/liteeth.git
synced 2025-01-03 03:43:37 -05:00
64b85e621e
Artix7/Ultrascale 1000BaseX is reused from MiSoC/LiteEthMini, specify it.
27 lines
No EOL
570 B
Python
27 lines
No EOL
570 B
Python
#!/usr/bin/env python3
|
|
|
|
#
|
|
# This file is part of LiteEth.
|
|
#
|
|
# Copyright (c) 2015-2018 Florent Kermarrec <florent@enjoy-digital.fr>
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
from litex import RemoteClient
|
|
|
|
wb = RemoteClient()
|
|
wb.open()
|
|
|
|
# # #
|
|
|
|
from litescope.software.driver.analyzer import LiteScopeAnalyzerDriver
|
|
analyzer = LiteScopeAnalyzerDriver(wb.regs, "analyzer", debug=True)
|
|
analyzer.configure_trigger(cond={})
|
|
analyzer.configure_subsampler(1)
|
|
analyzer.run(offset=128, length=256)
|
|
analyzer.wait_done()
|
|
analyzer.upload()
|
|
analyzer.save("dump.vcd")
|
|
|
|
# # #
|
|
|
|
wb.close() |