[Libre-soc-bugs] [Bug 50] nmigen pinmux
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Thu Nov 18 22:59:28 GMT 2021
https://bugs.libre-soc.org/show_bug.cgi?id=50
--- Comment #37 from andrey at technepisteme.xyz ---
I've been having issues with getting the tests from
soc/debug/test/test_jtag_tap_srv.py working.
My current task is to get the tests to run without significant modifications.
Unfortunately it required adding a lot of misc. files (at least while I
test)...
https://git.libre-soc.org/?p=pinmux.git;a=tree;f=src/spec;h=88f78079f80826573ddebbebe7fabaf5137b8425;hb=d6f4066d9aef1f84f1a1e0b885739e57b2e17710
"test_jtag_tap_srv.py" requires the following files:
from soc/debug/test/:
-dmi_sim
-jtagremote
from soc/debug/:
-dmi.py
-jtag.py
-jtagutils.py
I copied those files into pinmux repo (for now), however I'm getting stumped on
a dependency from "dmi.py":
-from soc.config.state import CoreState
Checking out state.py file, I see a nice wildcard import (hahaha):
from openpower.state import *
Further two files I copied from openpower-isa.git/src/openpower/:
-state.py
-sv/svstate.py
The python script test_jtag_tap_srv.py gets further, but I now get an
AttributeError in regards to VCDWriter (from nmigen):
Traceback (most recent call last):
File "test_jtag_tap_srv.py", line 264, in <module>
with sim.write_vcd("dmi2jtag_test_srv.vcd"):
File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/rohdo/work/nmigen/nmigen/sim/pysim.py", line 330, in write_vcd
vcd_file=vcd_file, gtkw_file=gtkw_file, traces=traces)
File "/home/rohdo/work/nmigen/nmigen/sim/pysim.py", line 110, in __init__
self.vcd_writer.register_alias(
AttributeError: 'VCDWriter' object has no attribute 'register_alias'
Can you run this file on your end Luke?
I'm wondering if I borked my nmigen, or if it's something else.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list